Thumbnails for MP4 files don't get generated if the video stream is secondary #239

Closed
opened 2021-08-04 02:59:32 +00:00 by ChristopherCormier · 0 comments

I recently noticed that certain MP4 files uploaded to my board were failing to render a thumbnail, while others were fine. After extensive testing, I found that this issue was happening on files where, as shown by ffprobe, stream 0 is the audio track and stream 1 is the video track. This is a "possible but unusual" combination, per the FFmpeg wiki. The files otherwise play completely fine, the only issue is with thumbnail generation.

Strangely enough, if I manually run the FFmpeg command that TinyIB uses to generate thumbnails, it still works fine. I'm not sure what I'm missing, but I suspect that TinyIB is assuming somewhere that the first stream of a clip will always be video.

If necessary, here's an affected clip the issue can be reproduced with: https://files.catbox.moe/xzttrp.mp4

I recently noticed that certain MP4 files uploaded to my board were failing to render a thumbnail, while others were fine. After extensive testing, I found that this issue was happening on files where, as shown by `ffprobe`, stream 0 is the audio track and stream 1 is the video track. This is a "possible but unusual" combination, per the FFmpeg wiki. The files otherwise play completely fine, the only issue is with thumbnail generation. Strangely enough, if I manually run the FFmpeg command that TinyIB uses to generate thumbnails, it still works fine. I'm not sure what I'm missing, but I suspect that TinyIB is assuming somewhere that the first stream of a clip will always be video. If necessary, here's an affected clip the issue can be reproduced with: https://files.catbox.moe/xzttrp.mp4
tslocum added the
bug
label 2021-08-05 15:45:08 +00:00
Sign in to join this conversation.
No Milestone
No Assignees
1 Participants
Notifications
Due Date
The due date is invalid or out of range. Please use the format 'yyyy-mm-dd'.

No due date set.

Dependencies

No dependencies set.

Reference: tslocum/tinyib#239
No description provided.