Video Rate problem

Garth Tissington gtissington at gmail.com
Thu Sep 8 14:17:06 PDT 2011


My Pipe line is

[src] ! { 800x600x30fps }  ! timeoverlay !
              ffmpegcolorspace ! output-selector !
              jpegenc ! avimux ! filesink

g_object_set (G_OBJECT (sink), "sync", FALSE, "async", FALSE, NULL);
g_object_set (G_OBJECT (src), "do-timestamp", TRUE, NULL);

---

I have this code to select which source I use
         if( TRUE )
     src = gst_element_factory_make ("v4l2src", "src");
          else
             src = gst_element_factory_make ("videotestsrc", "src");


videotestsource works perfectly.  Playback with movieplayer is in real time.

v4l2testsrc save to the file sink just fine.  Out put says it is 30fps.


PROBLEM: the file saved by v4l2src pipe played back with movieplayer (or
MPLAYER) is almost double speed.. takes about 6 seconds to play a 10 second
clip.

Any Ideas what I am missing?

Thanks

Garth




Garth Tissington
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.freedesktop.org/archives/gstreamer-devel/attachments/20110908/247dc063/attachment.htm>


More information about the gstreamer-devel mailing list