[FFmpeg-user] Is decoding Apple Component Video YUV422 possible with FFmpeg?

Werner Robitza werner.robitza at gmail.com
Mon Dec 12 16:33:16 CET 2011


>From a DNxHD encoded file, I used MPEG Streamclip
<http://www.squared5.com/>to generate a file with an AVI container and
the
*Apple Component Video YUV422 codec*.

Opening the result file with ffprobe or ffmpeg shows "yuv2" as the video
codec.

*Input #0, avi, from '01-sami-ep01-var01-de.avi':*
*  Duration: 00:03:09.20, start: 0.000000, bitrate: 830983 kb/s*
*    Stream #0.0: Video: yuv2 / 0x32767579, 1920x1080, 25 tbr, 25 tbn, 25
tbc*
*    Stream #0.1: Audio: pcm_s16le, 48000 Hz, 2 channels, s16, 1536 kb/s*
*Unsupported codec with id 0 for input stream 0*

However, trying to decode the file into any other format throws the error,
e.g. by just calling *ffmpeg -i input.avi output.mp4*

*[buffer @ 0x100d01380] Invalid pixel format string '-1'*
*Error opening filters!*

Is the Apple Component Video YUV422 entirely unsupported by FFmpeg? I even
tried with the yuyv422 pixel format, but it produces the same error.
The resulting AVI video plays fine with QuickTime, so it's not an error in
encoding.

Best regards,
Werner

-------

My ffmpeg and libav versions are as follows:

*FFmpeg version git-N-28603-g2fd41c9, Copyright (c) 2000-2011 the FFmpeg
developers*
*  built on Mar 24 2011 14:33:08 with gcc 4.2.1 (Apple Inc. build 5666)
(dot 3)*
*  configuration: *
*  libavutil    50. 40. 0 / 50. 40. 0*
*  libavcodec   52.114. 0 / 52.114. 0*
*  libavformat  52.103. 0 / 52.103. 0*
*  libavdevice  52.  3. 0 / 52.  3. 0*
*  libavfilter   1. 76. 0 /  1. 76. 0*
*  libswscale    0. 12. 0 /  0. 12. 0*


More information about the ffmpeg-user mailing list