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

David Schleef ds at entropywave.com
Sat Aug 22 06:42:34 CEST 2009


On Fri, Aug 21, 2009 at 07:41:48PM -0700, Matt Veenstra wrote:
> 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

You're looking for something like:

  gst-launch filesrc location=ack.ayuv ! videoparse width=640 \
    height=240 format=ayuv ! ...

Also, you'll need to set a format after ffmpegcolorspace, otherwise
it will continue to use AYUV.  You're probably looking for
format=\(fourcc\)"I420", btw.



dave...





More information about the gstreamer-devel mailing list