[FFmpeg-trac] #10843(ffmpeg:new): A -shortest-video option that acts just like -shortest but ignores audio
FFmpeg
trac at avcodec.org
Sat Feb 3 21:41:40 EET 2024
#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
More information about the FFmpeg-trac
mailing list