Using GstAppSink

classic Classic list List threaded Threaded
3 messages Options
Reply | Threaded
Open this post in threaded view
|

Using GstAppSink

Julien PUYDT
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...

Snark on #ekiga

-------------------------------------------------------------------------
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
[hidden email]
https://lists.sourceforge.net/lists/listinfo/gstreamer-devel
Reply | Threaded
Open this post in threaded view
|

Re: Using GstAppSink

Julien PUYDT
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...

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
[hidden email]
https://lists.sourceforge.net/lists/listinfo/gstreamer-devel
Reply | Threaded
Open this post in threaded view
|

Re: Using GstAppSink

Stefan Sauer
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
> [hidden email]
> https://lists.sourceforge.net/lists/listinfo/gstreamer-devel
>  


-------------------------------------------------------------------------
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
[hidden email]
https://lists.sourceforge.net/lists/listinfo/gstreamer-devel