[FFmpeg-devel] [libav-devel] [PATCH] movie source add repeat count parameter

William Yu genwillyu at gmail.com
Thu Mar 15 07:40:46 CET 2012


在 2012年3月1日 下午9:20,William Yu <genwillyu at gmail.com> 写道:
> 在 2012年2月29日 下午8:19,Stefano Sabatini <stefasab at gmail.com> 写道:
>> On date Tuesday 2012-02-28 19:02:35 +0800, William Yu encoded:
>>> I think movie source can add a repeat count for read source several times.
>>> When repeat count is zero, then repeat again and again.
>>> repeat count parameter has an alias "rc"
> ...
>>
>> Also I see a synch problem here, when you repeat the source, the
>> timestamp is reset to the original time, while we should probably have a
>> timestamp_offset and add that to the movie timestamp in the subsequent
>> plays, so that we have a monotonically increasing timestamp sequence.
>
> I think movie source should keep original time, let next filter to determine
> how to use these frame. if next filter need monotonically increasing timestamp,
> it can insert setpts filter or other filters to fix timestamp. In the
> movie source,
> when rewind,   we are difficult to determine first frame's timestamp.
>
> others are updated. Please check again.
>>
>> Also did you test with image files?
>>
>> Thanks.
>> _______________________________________________

This patch has other problems? Or It is unuseful? I think when you want to apply
animation logo to whole movie, you need this patch.


More information about the ffmpeg-devel mailing list