[gst-devel] Converting AYUV to YUV - gst-launch pipeline?
Matt Veenstra
matt at tribalmedia.com
Sat Aug 22 21:54:27 CEST 2009
On Sat, Aug 22, 2009 at 11:57 AM, David Schleef<ds at entropywave.com> wrote:
> On Sat, Aug 22, 2009 at 09:25:26AM -0700, Matt Veenstra wrote:
>>
>> The supported formats of rawparse/videoparse are
>> GST_VIDEO_PARSE_FORMAT_I420,
>> GST_VIDEO_PARSE_FORMAT_YV12,
>> GST_VIDEO_PARSE_FORMAT_YUY2,
>> GST_VIDEO_PARSE_FORMAT_UYVY,
>> GST_VIDEO_PARSE_FORMAT_v210,
>> GST_VIDEO_PARSE_FORMAT_RGB = 10,
>> GST_VIDEO_PARSE_FORMAT_GRAY
>
> The -bad prerelease implements AYUV.
Available on the git repository then?
>
>
>> This fails...where gstreamer converts first to AYUV then to I420. The
>> file size is proper. But the outputted data cannot be converted as
>> the single pass can do. Is there something I am missing in the
>> pipeline?
>> ________________
>> gst-launch filesrc location="$perf" ! decodebin name=nDecode nDecode.
>> ! ffmpegcolorspace name=nColor1 ! \
>> 'video/x-raw-yuv,format=(fourcc)AYUV,width=640,height=480' !
>> ffmpegcolorspace name=nColor2 ! \
>> 'video/x-raw-yuv,format=(fourcc)I420,width=640,height=480' ! filesink
>> location="$perf".yuv.ffmpegcolor
>>
>> ffmpeg -r 15.0 -s 640x480 -i "$perf".yuv.ffmpegcolor ...
>
> How exactly does it "fail"? It seems to work here.
>
It failed with ffmpeg reporting wrong format. The problem is in my
extension! I left it ".ffmpegcolor" and ffmpeg is using the extension
to determine the raw format. When I changed this to .yuv all worked.
Sorry for the noise.
Thx,
Matt
More information about the gstreamer-devel
mailing list