[FFmpeg-user] Has -t format changed?

Bouke (VideoToolShed) bouke at videotoolshed.com
Sun Apr 12 12:45:53 CEST 2015

---- Original Message ----- 
From: "Sub Phil" <phil4000n at gmail.com>
To: "FFmpeg user questions" <ffmpeg-user at ffmpeg.org>
Sent: Sunday, April 12, 2015 12:04 PM
Subject: Re: [FFmpeg-user] Has -t format changed?

> 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????

Well, I need it to have two output streams with different durations.
One to get the end user to start working on a transcode ASAP, the other one 
as full output that hopefully is done before the end user is finished with 
the short version.

Have not yet got it to work (see my question from 2 days ago), but for this 
weird case, it makes 'some' sense if it's put in the right place i could 


> 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
> _______________________________________________
> ffmpeg-user mailing list
> ffmpeg-user at ffmpeg.org
> http://ffmpeg.org/mailman/listinfo/ffmpeg-user

This email has been checked for viruses by Avast antivirus software.

More information about the ffmpeg-user mailing list