gstreamer pipline produces slow motioned (low FPS) video

classic Classic list List threaded Threaded
1 message Options
KFL
Reply | Threaded
Open this post in threaded view
|

gstreamer pipline produces slow motioned (low FPS) video

KFL
I want to connect to a HTTP MJPEG live stream and dump it locally as a video file. So I did:

$ gst-launch -vvv souphttpsrc location=http://bikersschool.dyndns.org/video.cgi?resolution=vga is-live=true do-timestamp=true ! multipartdemux ! jpegdec ! videorate ! video/x-raw-yuv, framerate=60/1 ! theoraenc ! oggmux ! filesink location="hi.ogg"

However, when playing the hi.ogg, the video is slow-motioned.

Here's a sample video that it produced: https://docs.google.com/open?id=0B20iI-kTnlagdUQ4dkVYeFdKTjA