Thumbnails for MP4 files don't get generated if the video stream is secondary #239
Labels
No Label
bug
duplicate
enhancement
help wanted
invalid
question
wontfix
No Milestone
No Assignees
1 Participants
Notifications
Due Date
No due date set.
Dependencies
No dependencies set.
Reference: tslocum/tinyib#239
Loading…
Reference in New Issue
There is no content yet.
Delete Branch "%!s(<nil>)"
Deleting a branch is permanent. Although the deleted branch may exist for a short time before cleaning up, in most cases it CANNOT be undone. Continue?
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