[MPlayer-users] vo issue with 422 h264

Andy Furniss adf.lists at gmail.com
Thu Jan 23 18:50:47 CET 2014


While testing something I made an h264 422 vid with ffmpeg/libx264.

On playback I notice that the vo is saying YV12, testing with an old 
mplayer this does not happen and the vo gets fed 422.

full -v outputs below current then old, the relevant parts -

Current -

VDec: vo config request - 1920 x 1080 (preferred colorspace: Planar 422P)
Trying filter chain: vo
VDec: using Planar YV12 as output csp (no 0)
Movie-Aspect is 1.78:1 - prescaling to correct movie aspect.
VO Config (1920x1080->1920x1080,flags=0,'MPlayer',0x32315659)
VO: [gl] 1920x1080 => 1920x1080 Planar YV12

Old -

VDec: vo config request - 1920 x 1080 (preferred colorspace: Planar 422P)
Trying filter chain: vo
VDec: using Planar 422P as output csp (no 5)
Movie-Aspect is 1.78:1 - prescaling to correct movie aspect.
VO Config (1920x1080->1920x1080,flags=0,'MPlayer',0x50323234)
VO: [gl] 1920x1080 => 1920x1080 Planar 422P



MPlayer SVN-r36619-4.6.3 (C) 2000-2014 MPlayer Team
CPU vendor name: AuthenticAMD  max cpuid level: 5
CPU: AMD Phenom(tm) II X4 965 Processor (Family: 16, Model: 4, Stepping: 3)
extended cpuid-level: 27
extended cache-info: 33587520
Detected cache-line size is 64 bytes
CPUflags:  MMX: 1 MMX2: 1 3DNow: 1 3DNowExt: 1 SSE: 1 SSE2: 1 SSE3: 1 
SSSE3: 0 SSE4: 0 SSE4.2: 0 AVX: 0
Compiled for x86 CPU with extensions: MMX MMX2 3DNow 3DNowExt SSE SSE2 
SSE3 CMOV
get_path('codecs.conf') -> '/home/andy/.mplayer/codecs.conf'
Reading optional codecs config file /home/andy/.mplayer/codecs.conf: No 
such file or directory
Reading optional codecs config file /usr/etc/mplayer/codecs.conf: No 
such file or directory
Using built-in default codecs.conf.
init_freetype
Using MMX (with tiny bit MMX2) Optimized OnScreenDisplay
get_path('fonts') -> '/home/andy/.mplayer/fonts'
Configuration: --prefix=/usr --enable-xvmc
CommandLine: '-ao' 'alsa,jack' '-mixer-channel' 'Master' '-v' '-vo' 'gl' 
'newmobcal1080-w3fdif-x264.mkv'
Using nanosleep() timing
get_path('input.conf') -> '/home/andy/.mplayer/input.conf'
Reading optional input config file /home/andy/.mplayer/input.conf: No 
such file or directory
Reading optional input config file /usr/etc/mplayer/input.conf: No such 
file or directory
Falling back on default (hardcoded) input config
get_path('newmobcal1080-w3fdif-x264.mkv.conf') -> 
'/home/andy/.mplayer/newmobcal1080-w3fdif-x264.mkv.conf'

Playing newmobcal1080-w3fdif-x264.mkv.
get_path('sub/') -> '/home/andy/.mplayer/sub/'
[file] File size is 27348069 bytes
STREAM: [file] newmobcal1080-w3fdif-x264.mkv
STREAM: Description: File
STREAM: Author: Albeu
STREAM: Comment: based on the code from ??? (probably Arpi)
libavformat version 55.24.100 (internal)
Configuration: --enable-gpl --enable-postproc
LAVF_check: Matroska / WebM
libavformat file format detected.
st:0 removing common factor 1000000 from timebase
[matroska,webm @ 0x7f9134c38020]Before avformat_find_stream_info() pos: 
574 bytes read:32768 seeks:0
[h264 @ 0x7f9134c46320]no picture
[matroska,webm @ 0x7f9134c38020]All info found
[matroska,webm @ 0x7f9134c38020]After avformat_find_stream_info() pos: 
623961 bytes read:623961 seeks:0 frames:4
==> Found video stream: 0
======= VIDEO Format ======
   biSize 84
   biWidth 1920
   biHeight 1080
   biPlanes 1
   biBitCount 0
   biCompression 875967048='H264'
   biSizeImage 0
Unknown extra header dump: [1] [7a] [0] [2a] [ff] [e1] [0] [1b] [67] 
[7a] [0] [2a] [bc] [d9] [40] [78] [2] [27] [e2] [70] [11] [0] [0] [3] 
[0] [1] [0] [0] [3] [0] [78] [f] [18] [31] [96] [1] [0] [6] [68] [eb] 
[e1] [b2] [c8] [b0]
===========================
[lavf] stream 0: video (h264), -vid 0
LAVF: 0 audio and 1 video streams found
LAVF: build 3610724
VIDEO:  [H264]  1920x1080  0bpp  60.000 fps    0.0 kbps ( 0.0 kbyte/s)
[V] filefmt:44  fourcc:0x34363248  size:1920x1080  fps:60.000  ftime:=0.0167
Clip info:
  ENCODER: Lavf55.22.100
Load subtitles in ./
get_path('sub/') -> '/home/andy/.mplayer/sub/'
Could not find a UTF-8 locale, some keys will not be handled.
X11 opening display: :0.0
vo: X11 color mask:  FFFFFF  (R:FF0000 G:FF00 B:FF)
vo: X11 running at 1920x1080 with depth 24 and 32 bpp (":0.0" => local 
display)
[x11] Detected wm supports NetWM.
[x11] Detected wm supports FULLSCREEN state.
[x11] Detected wm supports BELOW state.
[x11] Detected wm supports ABOVE state.
[x11] Current fstype setting honours FULLSCREEN ABOVE BELOW X atoms
[gl] GLX chose visual with ID 0x145
[gl] Running on OpenGL 'Gallium 0.4 on AMD RV770' by 'X.Org', version 
'3.0 Mesa 10.1.0-devel (git-fb6d979)'
[gl] Settings after autodetection: ati-hack = 0, force-pbo = 0, 
rectangle = 0, yuv = 4, ycbcr = 0
[gl] using extended formats. Use -vo gl:nomanyfmts if playback fails.
[gl] Using 0 as slice height (0 means image height).
==========================================================================
Opening video decoder: [ffmpeg] FFmpeg's libavcodec codec family
libavcodec version 55.48.101 (internal)
Configuration: --enable-gpl --enable-postproc
INFO: libavcodec init OK!
Selected video codec: [ffh264] vfm: ffmpeg (FFmpeg H.264)
==========================================================================
Audio: no sound
Freeing 0 unused audio chunks.
Starting playback...
[h264 @ 0x7f9134c46320]no picture
[h264 @ 0x7f9134c46320]no picture
[ffmpeg] aspect_ratio: 1.777778
VDec: vo config request - 1920 x 1080 (preferred colorspace: Planar 422P)
Trying filter chain: vo
VDec: using Planar YV12 as output csp (no 0)
Movie-Aspect is 1.78:1 - prescaling to correct movie aspect.
VO Config (1920x1080->1920x1080,flags=0,'MPlayer',0x32315659)
VO: [gl] 1920x1080 => 1920x1080 Planar YV12
VO: Description: OpenGL
VO: Author: Reimar Doeffinger <Reimar.Doeffinger at gmx.de>
[gl] GLX chose visual with ID 0x145
[gl] Running on OpenGL 'Gallium 0.4 on AMD RV770' by 'X.Org', version 
'3.0 Mesa 10.1.0-devel (git-fb6d979)'
[gl] Settings after autodetection: ati-hack = 0, force-pbo = 0, 
rectangle = 0, yuv = 4, ycbcr = 0
[gl] Creating 2048x2048 texture...
[gl] Resize: 1920x1080
*** [vo] Exporting mp_image_t, 1920x1080x12bpp YUV planar, 3110400 bytes
Unicode font: 255 glyphs.
Unicode font: 255 glyphs.
V:   1.0   0/  0 170% 84%  0.0% 0 0
Uninit video: ffmpeg
Drawn 58 frames, 0 using DR, DR refused 0
vo: uninit ...

Exiting... (Quit)
ph4[mobcal-1080i30]$
ph4[mobcal-1080i30]$
ph4[mobcal-1080i30]$
ph4[mobcal-1080i30]$ mplayer  -v -vo gl newmobcal1080-w3fdif-x264.mkv
MPlayer SVN-r35635-4.6.3 (C) 2000-2012 MPlayer Team
CPU vendor name: AuthenticAMD  max cpuid level: 5
CPU: AMD Phenom(tm) II X4 965 Processor (Family: 16, Model: 4, Stepping: 3)
extended cpuid-level: 27
extended cache-info: 33587520
Detected cache-line size is 64 bytes
CPUflags:  MMX: 1 MMX2: 1 3DNow: 1 3DNowExt: 1 SSE: 1 SSE2: 1 SSE3: 1 
SSSE3: 0 SSE4: 0 SSE4.2: 0 AVX: 0
Compiled for x86 CPU with extensions: MMX MMX2 3DNow 3DNowExt SSE SSE2 
SSE3 CMOV
get_path('codecs.conf') -> '/home/andy/.mplayer/codecs.conf'
Reading optional codecs config file /home/andy/.mplayer/codecs.conf: No 
such file or directory
Reading optional codecs config file /usr/etc/mplayer/codecs.conf: No 
such file or directory
Using built-in default codecs.conf.
init_freetype
Using MMX (with tiny bit MMX2) Optimized OnScreenDisplay
get_path('fonts') -> '/home/andy/.mplayer/fonts'
Configuration: --prefix=/usr --enable-xvmc
CommandLine: '-v' '-vo' 'gl' 'newmobcal1080-w3fdif-x264.mkv'
Using nanosleep() timing
get_path('input.conf') -> '/home/andy/.mplayer/input.conf'
Reading optional input config file /home/andy/.mplayer/input.conf: No 
such file or directory
Reading optional input config file /usr/etc/mplayer/input.conf: No such 
file or directory
Falling back on default (hardcoded) input config
get_path('newmobcal1080-w3fdif-x264.mkv.conf') -> 
'/home/andy/.mplayer/newmobcal1080-w3fdif-x264.mkv.conf'

Playing newmobcal1080-w3fdif-x264.mkv.
get_path('sub/') -> '/home/andy/.mplayer/sub/'
[file] File size is 27348069 bytes
STREAM: [file] newmobcal1080-w3fdif-x264.mkv
STREAM: Description: File
STREAM: Author: Albeu
STREAM: Comment: based on the code from ??? (probably Arpi)
libavformat version 54.48.100 (internal)
Configuration: --enable-gpl --enable-postproc
LAVF_check: Matroska / WebM
libavformat file format detected.
st:0 removing common factor 1000000 from timebase
[matroska,webm @ 0xe395a0]File position before 
avformat_find_stream_info() is 574
[h264 @ 0xec2fa0]no picture
[matroska,webm @ 0xe395a0]All info found
[matroska,webm @ 0xe395a0]File position after 
avformat_find_stream_info() is 504100
==> Found video stream: 0
======= VIDEO Format ======
   biSize 84
   biWidth 1920
   biHeight 1080
   biPlanes 1
   biBitCount 0
   biCompression 875967048='H264'
   biSizeImage 0
Unknown extra header dump: [1] [7a] [0] [2a] [ff] [e1] [0] [1b] [67] 
[7a] [0] [2a] [bc] [d9] [40] [78] [2] [27] [e2] [70] [11] [0] [0] [3] 
[0] [1] [0] [0] [3] [0] [78] [f] [18] [31] [96] [1] [0] [6] [68] [eb] 
[e1] [b2] [c8] [b0]
===========================
[lavf] stream 0: video (h264), -vid 0
LAVF: 0 audio and 1 video streams found
LAVF: build 3551332
VIDEO:  [H264]  1920x1080  0bpp  60.000 fps    0.0 kbps ( 0.0 kbyte/s)
[V] filefmt:44  fourcc:0x34363248  size:1920x1080  fps:60.000  ftime:=0.0167
Clip info:
  ENCODER: Lavf55.22.100
Load subtitles in ./
get_path('sub/') -> '/home/andy/.mplayer/sub/'
X11 opening display: :0.0
vo: X11 color mask:  FFFFFF  (R:FF0000 G:FF00 B:FF)
vo: X11 running at 1920x1080 with depth 24 and 32 bpp (":0.0" => local 
display)
[x11] Detected wm supports NetWM.
[x11] Detected wm supports FULLSCREEN state.
[x11] Detected wm supports BELOW state.
[x11] Detected wm supports ABOVE state.
[x11] Current fstype setting honours FULLSCREEN ABOVE BELOW X atoms
[gl] GLX chose visual with ID 0x145
[gl] Running on OpenGL 'Gallium 0.4 on AMD RV770' by 'X.Org', version 
'3.0 Mesa 10.1.0-devel (git-fb6d979)'
[gl] Settings after autodetection: ati-hack = 0, force-pbo = 0, 
rectangle = 0, yuv = 2, ycbcr = 0
[gl] using extended formats. Use -vo gl:nomanyfmts if playback fails.
[gl] Using 0 as slice height (0 means image height).
==========================================================================
Opening video decoder: [ffmpeg] FFmpeg's libavcodec codec family
libavcodec version 54.79.101 (internal)
Configuration: --enable-gpl --enable-postproc
INFO: libavcodec init OK!
Selected video codec: [ffh264] vfm: ffmpeg (FFmpeg H.264)
==========================================================================
Audio: no sound
Freeing 0 unused audio chunks.
Starting playback...
[h264 @ 0xec2fa0]no picture
[h264 @ 0xec2fa0]no picture
[ffmpeg] aspect_ratio: 1.777778
VDec: vo config request - 1920 x 1080 (preferred colorspace: Planar 422P)
Trying filter chain: vo
VDec: using Planar 422P as output csp (no 5)
Movie-Aspect is 1.78:1 - prescaling to correct movie aspect.
VO Config (1920x1080->1920x1080,flags=0,'MPlayer',0x50323234)
VO: [gl] 1920x1080 => 1920x1080 Planar 422P
VO: Description: OpenGL
VO: Author: Reimar Doeffinger <Reimar.Doeffinger at gmx.de>
[gl] GLX chose visual with ID 0x145
[gl] Running on OpenGL 'Gallium 0.4 on AMD RV770' by 'X.Org', version 
'3.0 Mesa 10.1.0-devel (git-fb6d979)'
[gl] Settings after autodetection: ati-hack = 0, force-pbo = 0, 
rectangle = 0, yuv = 2, ycbcr = 0
[gl] Creating 2048x2048 texture...
[gl] Resize: 320x200
[ASPECT] Warning: No suitable new res found!
[ASPECT] Warning: No suitable new res found!
*** [vo] Exporting mp_image_t, 1920x1080x16bpp YUV planar, 4147200 bytes
Unicode font: 255 glyphs.
Unicode font: 255 glyphs.
[gl] Resize: 1920x1080
V:   0.0   0/  0 ??% ??% ??,?% 0 0
Unicode font: 255 glyphs.
Unicode font: 255 glyphs.
V:   0.1   0/  0 ??% ??% ??,?% 0 0
*** [vo] Allocating mp_image_t, 1920x1090x16bpp YUV planar, 4185600 bytes
V:   1.4   0/  0 162% 91%  0.0% 0 0
Uninit video: ffmpeg
Drawn 80 frames, 0 using DR, DR refused 0
vo: uninit ...

Exiting... (Quit


More information about the MPlayer-users mailing list