[Ffmpeg-devel] VFR support
Emiliano Parasassi
millallo
Wed Oct 19 18:00:40 CEST 2005
Hi,
I'm trying to make a Variable FrameRate video mpeg4/mp4 from
my network camera which releases frames from 1 to 10 fps...
Unfortunately, when I play video with MPlayer or VLC the fps is
fixed to 10 and the result output is played fast... :(
These are main steps i made:
...
fAVCodecContext->time_base = (AVRational){1, 10}
...
fAVFrame->pts = ...
avcodec_encode_video(...)
avpkt.pts = av_rescale_q(...)
av_write_frame(...)
The question is:
Which are the main steps to do for having a VFR videoclip in ffmpeg?
Thanks a lot
Emiliano
More information about the ffmpeg-devel
mailing list