[FFmpeg-devel] [PATCH] ffmpeg: compute filtered frame pts after filling frame from buffer

Matthieu Bouron matthieu.bouron at gmail.com
Mon May 14 15:32:03 CEST 2012


Hi,

This patch move the filter frame pts computation after filling frame from
buffer in poll_filters function.
This fixes some weird behaviour with overlay filter; got some constant
frame duplication in do_video_out since the frame pts are wrong:
  ffmpeg -i input -vf "movie=input[v1];[in][v2]overlay" output

Anyway no problem using the split filter with same input,
  ffmpeg -i input -vf "[in]split[v1][v2];[v1][v2]overlay" output

Regards,
Matthieu
-------------- next part --------------
A non-text attachment was scrubbed...
Name: 0001-ffmpeg-compute-filtered-frame-pts-after-filling-fram.patch
Type: text/x-diff
Size: 1297 bytes
Desc: not available
URL: <http://ffmpeg.org/pipermail/ffmpeg-devel/attachments/20120514/c7ffa375/attachment.bin>


More information about the ffmpeg-devel mailing list