On Oct 12, 2011 3:58 AM, "김희숙" <[email protected]> wrote: > > Hello, > > > > I'm wondering how to increase frame rate in FFMpeg. > > I added some trace in vfwcap.c and I calculated frame rate. > > I found out vfwcap driver can capture 15 frame per second but ffmpeg sends 30@fps if I set up -r 30 option. > > > > How can control frame rate in FFMpeg?
There are two sides of it: you should initialize the format and codec contexts according to the desired frame rate, and in your encode loop you should give each raw frame two times. > I'll appriciate any feedback. > > > > Best Regards, > > HSK > > > _______________________________________________ > Libav-user mailing list > [email protected] > http://ffmpeg.org/mailman/listinfo/libav-user >
_______________________________________________ Libav-user mailing list [email protected] http://ffmpeg.org/mailman/listinfo/libav-user
