[FFmpeg-user] Recording a video when framerate is unknown before recording starts
Andrey Utkin
andrey.krieger.utkin at gmail.com
Fri Feb 24 13:19:42 CET 2012
2012/2/24 John Dexter <jdxsolutions at gmail.com>:
> Does that mean videos can also have variable framerate? I always (I
> don't know why) assumed framerate was a property of the video itself.
Yes, but it is common only for certain formats (i know only FLV).
For your case, i assume constant framerate is the way to go.
> When you say "set the timestamp to it, by yourself" can you point me
> which struct/field/function I use for this? Is it something to do with
> AVFrame, or maybe we're looking at pts/dts on AVPacket?
Both :)
--
Andrey Utkin
More information about the ffmpeg-user
mailing list