#10843: A -shortest-video option that acts just like -shortest but ignores audio -------------------------------------+------------------------------------- Reporter: Florian | Owner: (none) Type: enhancement | Status: new Priority: minor | Component: ffmpeg Version: unspecified | Resolution: Keywords: shortest, | Blocked By: duration, -t | Blocking: | Reproduced by developer: 0 Analyzed by developer: 0 | -------------------------------------+------------------------------------- Comment (by aarubui):
If there is only one video stream, the **-frames** option is sufficient. If the video is the first output stream, it would be **-frames:0 ''framecount''**. You don't even need to work out the exact number of frames in the video. Any number bigger than that will work so just put a really big number like **-frames:0 99999999**. -- Ticket URL: <https://trac.ffmpeg.org/ticket/10843#comment:1> FFmpeg <https://ffmpeg.org> FFmpeg issue tracker
_______________________________________________ FFmpeg-trac mailing list FFmpeg-trac@avcodec.org https://ffmpeg.org/mailman/listinfo/ffmpeg-trac To unsubscribe, visit link above, or email ffmpeg-trac-requ...@ffmpeg.org with subject "unsubscribe".