[gst-devel] how to control fps?

Daniel Díaz mrchapp at gmail.com
Mon May 28 17:27:45 CEST 2007


Hello, jp_liu!


On 5/28/07, jp_liu <jp_liu at astrocom.cn> wrote:
> Hello, gstreamer-devel
> We write a mediaplayer based gstreamer. when play a media file, video always
> faster than audio.
> I know I should control fps for video, But how to do it? Can anybody give me
> some guide? Thanks.

Do you have timestamps on your buffers? GStreamer should take care of the rest.

Also, try `gst-launch -v` to make sure the framerate is what you
expect in your elements -- We've seen some MP4 files marked (and
linked) as 30000/1001 whereas its video stream is actualy 15/1.

Greetings!

Daniel Díaz
yosoy at danieldiaz.org




More information about the gstreamer-devel mailing list