[MPlayer-users] Bug? AVS source not reporting YUY2 file correctly?

Nicolas Hesler nicolas.hesler at sheridanc.on.ca
Mon Jun 16 14:31:28 CEST 2008


When supplying a YUY2 source (ffhuffyuv file) served from an AVISynth 
script, mplayer reports/detects that the file is RAW YV12 instead of 
YUY2.  ffmpeg reports correctly for both the original video as source 
and the avs script.  Mplayer (last example) reports the avs script as 
RAW YV12.
*
*Is this a bug or am I reading this wrong?
*
ffmpeg -i yuy2.avi*

FFmpeg version Sherpya-r13537, Copyright (c) 2000-2008 Fabrice Bellard, 
et al.
  libavutil version: 49.6.0
  libavcodec version: 51.57.0
  libavformat version: 52.14.0
  libavdevice version: 52.0.0
  libavfilter version: 0.0.0
  built on May 29 2008 21:35:56, gcc: 4.2.3
Input #0, avi, from 'yuy2.avi':
  Duration: 00:00:05.00, start: 0.000000, bitrate: 50040 kb/s
*    Stream #0.0: Video: huffyuv, yuv422p, 720x480, 24.00 tb(r)*


*ffmpeg -i test2.avs*

FFmpeg version Sherpya-r13537, Copyright (c) 2000-2008 Fabrice Bellard, 
et al.
  libavutil version: 49.6.0
  libavcodec version: 51.57.0
  libavformat version: 52.14.0
  libavdevice version: 52.0.0
  libavfilter version: 0.0.0
  built on May 29 2008 21:35:56, gcc: 4.2.3
Input #0, avs, from 'test2.avs':
  Duration: 00:00:05.00, start: 0.000000, bitrate: 0 kb/s
*    Stream #0.0: Video: rawvideo, yuyv422, 720x480, 132710 kb/s, 24.00 
tb(r)*



*mplayer yuy2.avi

*MPlayer Sherpya-SVN-r26924-4.2.3 (C) 2000-2008 MPlayer Team
CPU: Intel(R) Xeon(TM) CPU 3.73GHz (Family: 15, Model: 6, Stepping: 4)
CPUflags:  MMX: 1 MMX2: 1 3DNow: 0 3DNow2: 0 SSE: 1 SSE2: 1
Compiled with runtime CPU detection.

Playing yuy2.avi.
AVI file format detected.
[aviheader] Video stream found, -vid 0
AVI: No audio stream found -> no sound.
VIDEO:  [HFYU]  720x480  16bpp  24.000 fps  50029.1 kbps (6107.1 kbyte/s)
Clip info:
 Software: MEncoder Sherpya-SVN-r26924-4.2.3
==========================================================================
Opening video decoder: [ffmpeg] FFmpeg's libavcodec codec family
Selected video codec: [ffhuffyuv] vfm: ffmpeg (FFmpeg HuffYUV)
==========================================================================
Audio: no sound
Starting playback...
VDec: vo config request - 720 x 480 (preferred colorspace: Planar 422P)
Could not find matching colorspace - retrying with -vf scale...
Opening video filter: [scale]
*VDec: using Planar 422P as output csp (no 1)*


*mplayer test2.avs

*MPlayer Sherpya-SVN-r26924-4.2.3 (C) 2000-2008 MPlayer Team
CPU: Intel(R) Xeon(TM) CPU 3.73GHz (Family: 15, Model: 6, Stepping: 4)
CPUflags:  MMX: 1 MMX2: 1 3DNow: 0 3DNow2: 0 SSE: 1 SSE2: 1
Compiled with runtime CPU detection.

Playing test2.avs.
AVS file format detected.
VIDEO:  [YV12]  720x480  12bpp  24.000 fps    0.0 kbps ( 0.0 kbyte/s)
==========================================================================
Opening video decoder: [raw] RAW Uncompressed Video
VDec: vo config request - 720 x 480 (preferred colorspace: Planar YV12)
*VDec: using Planar YV12 as output csp (no 0)*
Movie-Aspect is undefined - no prescaling applied.
VO: [directx] 720x480 => 720x480 Planar YV12
Selected video codec: [rawyv12] vfm: raw (RAW YV12)
==========================================================================
Audio: no sound
Starting playback...





More information about the MPlayer-users mailing list