[gst-devel] Converting AYUV to YUV - gst-launch pipeline?

Matt Veenstra matt at tribalmedia.com
Sat Aug 22 04:41:48 CEST 2009


Hi,

I am relatively new to gstreamer but I am quite familiar with
DirectShow and QuickTime.  I am trying to diagnose a bug in our
gstreamer app we have built and it is related color space conversions
going wrong.  My first thought was to profile this in gst-launch.

I create my AYUV data with this and it works well.

gst-launch filesrc location="$perf" ! decodebin name=nDecode nDecode.
! ffmpegcolorspace !
'video/x-raw-yuv,format=(fourcc)AYUV,width=640,height=480' ! filesink
location="$perf".ayuv

My problem is then creating a pipeline to take that output and convert
it back to yuv to pass to ffmpeg and other standard tools.  I have
tried many many attempts.  Here is the basic pipeline I have been
trying.

gst-launch filesrc location="$perf".ayuv !
'video/x-raw-yuv,format=(fourcc)AYUV,width=640,height=480' !
ffmpegcolorspace ! 'video/x-raw-yuv,width=640,height=480' ! filesink
location="$perf".yuv

Thanks for any ideas and pointers.  I tried to mimic some of the ideas
on the videomixer documentation.
http://gstreamer.freedesktop.org/data/doc/gstreamer/head/gst-plugins-good-plugins/html/gst-plugins-good-plugins-videomixer.html

Thx,
Matt




More information about the gstreamer-devel mailing list