[FFmpeg-user] Has -t format changed?

Sub Phil phil4000n at gmail.com
Sun Apr 12 12:04:44 CEST 2015


In wich case one would want to have output limit, but unlimited input, viz
why reading the all stream if it is to stop it's output????

2015-04-12 11:56 GMT+02:00 Moritz Barsnick <barsnick at gmx.net>:

> On Sun, Apr 12, 2015 at 00:28:07 +0000, Carl Eugen Hoyos wrote:
> > > Move -t behind -i, since -t always was an output
> > > option, this mostly worked by chance.
> >
> > Reading some old mails, this is apparently wrong,
> > -t may have been an input option in the past.
>
> Actually, according to the documentation, it is supposed to be an input
> output. It doesn't sound like chance at all:
>
> ‘-t duration (input/output)’
>
>     When used as an input option (before -i), limit the duration of
>     data read from the input file.
>
>     When used as an output option (before an output filename), stop
>     writing the output after its duration reaches duration.
>
> The documentation was changed in this commit from April 2014:
>
> https://github.com/FFmpeg/FFmpeg/commit/5b1a56b34b3f0fa542a25f0e04879fba260a9372
>
> Moritz
> _______________________________________________
> ffmpeg-user mailing list
> ffmpeg-user at ffmpeg.org
> http://ffmpeg.org/mailman/listinfo/ffmpeg-user
>


More information about the ffmpeg-user mailing list