[gst-devel] Using GstAppSink
Stefan Kost
ensonic at hora-obscura.de
Wed Sep 24 13:54:58 CEST 2008
Julien Puydt schrieb:
> Julien Puydt a écrit :
>
>> Hi,
>>
>> I'm trying to use GstAppSink in my ekiga code -- however I don't know
>> exactly how to make those pipelines work :
>>
>> gst-launch videotestsrc ! appsink max_buffers=2 drop=true
>> caps=video/x-raw-yuv,format=\(fourcc\)I420,width=320,height=240,framerate=30
>> name=ekiga_sink
>>
>> gst-launch v4lsrc ! appsink max_buffers=2 drop=true
>> caps=video/x-raw-yuv,format=\(fourcc\)I420,width=320,height=240,framerate=30
>> name=ekiga_sink
>>
>> I'm pretty sure I lack some magic in-between my source and my sink...
>>
>
> It seems the "framerate=30" is the problem...
>
yep, its a fraction and should be given as:
caps=...,framerate='(fraction)'30/1
Stefan
> Snark on #gstreamer
>
> -------------------------------------------------------------------------
> This SF.Net email is sponsored by the Moblin Your Move Developer's challenge
> Build the coolest Linux based applications with Moblin SDK & win great prizes
> Grand prize is a trip for two to an Open Source event anywhere in the world
> http://moblin-contest.org/redirect.php?banner_id=100&url=/
> _______________________________________________
> gstreamer-devel mailing list
> gstreamer-devel at lists.sourceforge.net
> https://lists.sourceforge.net/lists/listinfo/gstreamer-devel
>
More information about the gstreamer-devel
mailing list