#10843(ffmpeg:new): A -shortest-video option that acts just like -shortest but ignores audio
#10843: A -shortest-video option that acts just like -shortest but ignores audio -------------------------------------+------------------------------------- Reporter: Florian | Type: | enhancement Status: new | Priority: minor Component: ffmpeg | Version: Keywords: shortest, | unspecified duration, -t | Blocked By: Blocking: | Reproduced by developer: 0 Analyzed by developer: 0 | -------------------------------------+------------------------------------- Anyone who exported a final project with video+audio ready to then encode with ffmpeg, they don't want the audio to extend the last frame of video. Yet they cannot use **-shortest** because this would make the audio trim the video if shorter. A good solution to that problem would be a **-shortest-video** option which would act exactly like **-shortest** but would only look at the video inputs. Also, this is probalby extremely simple to implement since you already have -shortest Thanks! -- Ticket URL: <https://trac.ffmpeg.org/ticket/10843> FFmpeg <https://ffmpeg.org> FFmpeg issue tracker
#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
#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 Gyan): Share the full command where you would like to implement this. -- Ticket URL: <https://trac.ffmpeg.org/ticket/10843#comment:2> FFmpeg <https://ffmpeg.org> FFmpeg issue tracker
participants (1)
-
FFmpeg