[FFmpeg-devel] [PATCH 2/3] concatdec: add force_duration option

Andrey Utkin andrey.krieger.utkin at gmail.com
Mon Jun 23 17:12:54 CEST 2014


2014-06-23 18:11 GMT+03:00 Andrey Utkin <andrey.krieger.utkin at gmail.com>:
> 2014-06-23 18:06 GMT+03:00 Nicolas George <george at nsup.org>:
>> Le quintidi 5 messidor, an CCXXII, Andrey Utkin a écrit :
>>> file color=color=white,drawtext=text=TEST:fontsize=50:fontfile=/usr/share/fonts/corefonts/verdana.ttf:fontcolor_expr=random
>>
>> file color=color=white:d=42:12
>>
>> should do the work. Or maybe I am missing something.
>
> In this case, it is right. However, "movie" source doesn't have
> duration option, and if set with loop=1, it will produce frames
> forever. So to stop it, we would need to overlay it over something
> having finite duration, e.g. "color" source, because "overlay" filter
> has policy to return EOF when some input indicates EOF.

So adding such "trunkate_at_duration" option in vsrc_movie would give
same possibility as what i have implemented here.

-- 
Andrey Utkin


More information about the ffmpeg-devel mailing list