[FFmpeg-devel] [PATCH] doc/examples/filtering_video: fix frame rate

Piotr Fusik piotr at fusik.info
Fri Dec 5 15:52:23 CET 2014


Hello,

I'm new to ffmpeg. I've started learning it by playing with the 
filtering_video example.

I've noticed that for some mp4 files it plays with an incorrect frame rate:
for some files it's twice too fast and for other files the delays are 
completely skipped
because the calculated delay values are too large.
I can provide sample movies if needed.

I managed to correct the frame rate by setting time_base the way
the other example, filtering_audio, does it. Please review my patch.

Thank you,
Piotr
-------------- next part --------------
A non-text attachment was scrubbed...
Name: 0001-doc-examples-filtering_video-fix-frame-rate.patch
Type: application/octet-stream
Size: 1442 bytes
Desc: not available
URL: <https://ffmpeg.org/pipermail/ffmpeg-devel/attachments/20141205/b4c672f8/attachment.obj>


More information about the ffmpeg-devel mailing list