Playbin2 to force ximagesink and color conversion

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

Playbin2 to force ximagesink and color conversion

fabioestevam
Hi,

The following pipeline works fine on my system:

gst-launch-0.10 -v filesrc location=file.mp4 ! decodebin ! ffmpegcolorspace ! ximagesink

On a C application I would like to use playbin2 and force ffmpegcolorspace and ximagesink in the pipeline.

Is this possible? If so, does anyone have any example?

Thanks,

Fabio Estevam


     

------------------------------------------------------------------------------
Come build with us! The BlackBerry® Developer Conference in SF, CA
is the only developer event you need to attend this year. Jumpstart your
developing skills, take BlackBerry mobile applications to market and stay
ahead of the curve. Join us from November 9-12, 2009. Register now!
http://p.sf.net/sfu/devconf
_______________________________________________
gstreamer-devel mailing list
[hidden email]
https://lists.sourceforge.net/lists/listinfo/gstreamer-devel
Reply | Threaded
Open this post in threaded view
|

Re: Playbin2 to force ximagesink and color conversion

michael smith-6-3
On Wed, Sep 23, 2009 at 3:41 PM, Fabio Estevam <[hidden email]> wrote:
> Hi,
>
> The following pipeline works fine on my system:
>
> gst-launch-0.10 -v filesrc location=file.mp4 ! decodebin ! ffmpegcolorspace ! ximagesink
>
> On a C application I would like to use playbin2 and force ffmpegcolorspace and ximagesink in the pipeline.
>
> Is this possible? If so, does anyone have any example?

playbin2 will always use ffmpegcolorspace, no need to do anything
special. If you want to force usage of a particular sink, you can
create the sink you want, then set it as the video-sink property on
playbin2.

Mike

------------------------------------------------------------------------------
Come build with us! The BlackBerry&reg; Developer Conference in SF, CA
is the only developer event you need to attend this year. Jumpstart your
developing skills, take BlackBerry mobile applications to market and stay
ahead of the curve. Join us from November 9&#45;12, 2009. Register now&#33;
http://p.sf.net/sfu/devconf
_______________________________________________
gstreamer-devel mailing list
[hidden email]
https://lists.sourceforge.net/lists/listinfo/gstreamer-devel