[FFmpeg-devel] [libav-devel] [PATCH] movie source add repeat count parameter
William Yu
genwillyu at gmail.com
Thu Mar 1 14:20:15 CET 2012
在 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.
> _______________________________________________
> libav-devel mailing list
> libav-devel at libav.org
> https://lists.libav.org/mailman/listinfo/libav-devel
-------------- next part --------------
A non-text attachment was scrubbed...
Name: 0001-libavfilter-movie-source-add-loop-count-parameter.patch
Type: text/x-patch
Size: 2858 bytes
Desc: not available
URL: <http://ffmpeg.org/pipermail/ffmpeg-devel/attachments/20120301/421c7956/attachment.bin>
More information about the ffmpeg-devel
mailing list