[gst-devel] Playbin2 to force ximagesink and color conversion

Michael Smith msmith at xiph.org
Thu Sep 24 00:45:19 CEST 2009


On Wed, Sep 23, 2009 at 3:41 PM, Fabio Estevam <fabioestevam at yahoo.com> 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




More information about the gstreamer-devel mailing list