[FFmpeg-trac] #1350(undetermined:new): support yvyu in avi

FFmpeg trac at avcodec.org
Fri May 25 00:25:11 CEST 2012


#1350: support yvyu in avi
-------------------------------------+-------------------------------------
               Reporter:  ami_stuff  |                  Owner:
                   Type:  defect     |                 Status:  new
               Priority:  normal     |              Component:
                Version:             |  undetermined
  unspecified                        |               Keywords:
             Blocked By:             |               Blocking:
Reproduced by developer:  0          |  Analyzed by developer:  0
-------------------------------------+-------------------------------------
 attached file decodes correctly with

 libavcodec/raw.c:
 {{{
     { PIX_FMT_UYVY422, MKTAG('c', 'y', 'u', 'v') }, /* CYUV is also
 Creative YUV */
 +    { PIX_FMT_YUYV422, MKTAG('Y', 'V', 'Y', 'U') },
     { PIX_FMT_UYYVYY411, MKTAG('Y', '4', '1', '1') },
 }}}


 libavformat/riff.c:
 {{{
     { CODEC_ID_RAWVIDEO,     MKTAG('a', 'u', 'v', '2') },
 +    { CODEC_ID_RAWVIDEO,     MKTAG('Y', 'V', 'Y', 'U') },
     { CODEC_ID_FRWU,         MKTAG('F', 'R', 'W', 'U') },
 }}}

 but requires swap of uv (-vf swapuv)

 {{{
 C:\>ffmpeg -i yvyu.avi
 ffmpeg version N-40958-gea5dab5 Copyright (c) 2000-2012 the FFmpeg
 developers
   built on May 23 2012 02:37:05 with gcc 4.5.0 20100414 (Fedora MinGW
 4.5.0-1.fc
 14)
   configuration: --prefix=/var/www/users/research/ffmpeg/snapshots/build
 --arch=
 x86 --target-os=mingw32 --cross-prefix=i686-pc-mingw32- --cc='ccache i686
 -pc-min
 gw32-gcc' --enable-w32threads --enable-memalign-hack --enable-runtime-
 cpudetect
 --enable-cross-compile --enable-static --disable-shared --extra-
 libs='-lws2_32 -
 lwinmm' --extra-cflags='--static
 -I/var/www/users/research/ffmpeg/snapshots/buil
 d/include' --extra-ldflags='-static
 -L/var/www/users/research/ffmpeg/snapshots/b
 uild/lib' --enable-bzlib --enable-zlib --enable-gpl --enable-version3
 --enable-n
 onfree --enable-libx264 --enable-libspeex --enable-libtheora --enable-
 libvorbis
 --enable-libfaac --enable-libxvid --enable-libopencore-amrnb --enable-
 libopencor
 e-amrwb --enable-libmp3lame --enable-libvpx --disable-decoder=libvpx
   libavutil      51. 53.100 / 51. 53.100
   libavcodec     54. 23.100 / 54. 23.100
   libavformat    54.  6.100 / 54.  6.100
   libavdevice    53.  4.100 / 53.  4.100
   libavfilter     2. 76.100 /  2. 76.100
   libswscale      2.  1.100 /  2.  1.100
   libswresample   0. 15.100 /  0. 15.100
   libpostproc    52.  0.100 / 52.  0.100
 [avi @ 0x1ddc5e0] Could not find codec parameters (Video: none (YVYU /
 0x5559565
 9), 192x128)
 yvyu.avi: could not find codec parameters
 }}}

-- 
Ticket URL: <https://ffmpeg.org/trac/ffmpeg/ticket/1350>
FFmpeg <http://ffmpeg.org>
FFmpeg issue tracker


More information about the FFmpeg-trac mailing list