Video Rate problem

Marco Ballesio gibrovacco at gmail.com
Fri Sep 9 07:10:33 PDT 2011


Hi,

On Thu, Sep 8, 2011 at 11:17 PM, Garth Tissington <gtissington at gmail.com> wrote:
> My Pipe line is
> [src] ! { 800x600x30fps }  ! timeoverlay !
>               ffmpegcolorspace ! output-selector !
>               jpegenc ! avimux ! filesink
> g_object_set (G_OBJECT (sink), "sync", FALSE, "async", FALSE, NULL);

I'd try without this at first. Are there any reasons for this to be here?

Regards

> 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
>
> _______________________________________________
> gstreamer-devel mailing list
> gstreamer-devel at lists.freedesktop.org
> http://lists.freedesktop.org/mailman/listinfo/gstreamer-devel
>
>


More information about the gstreamer-devel mailing list