You are not logged in.

#1 2013-06-05 10:31:15

axelectrik
Member
Registered: 2012-01-25
Posts: 126

[SOLVED] Can't play H.264 (720P) on Mplayer

The title says it all.
This is the output of mplayer (using umplayer/smplayer)

/usr/bin/mplayer2 -noquiet -v -nofs -nomouseinput -vc coreserve, -lavdopts skiploopfilter=all -sub-fuzziness 1 -identify -slave -vo gl:yuv=2:force-pbo -ao alsa -nokeepaspect -framedrop -dr -double -input nodefault-bindings:conf=/dev/null -nostop-xscreensaver -wid 35651627 -monitorpixelaspect 1 -noass -subfont-autoscale 3 -subfont-text-scale 2.5 -subcp enca:es:ISO-8859-9 -subpos 100 -volume 16 -cache 2048 -osdlevel 0 -idx -vf-add yadif=1 -vf-add pp -autoq 6 -vf-add screenshot -noslices -channels 2 -af scaletempo -softvol -softvol-max 110 -aspect 4:3  /files/Video/Movies/Mean.Girls.2004.BluRay.720p.H264.mp4 

MPlayer SVN-r36285-4.8.0 (C) 2000-2013 MPlayer Team
CPU vendor name: GenuineIntel  max cpuid level: 13
CPU: Intel(R) Core(TM) i5-3570K CPU @ 3.40GHz (Family: 6, Model: 58, Stepping: 9)
extended cpuid-level: 8
extended cache-info: 16801856
Detected cache-line size is 64 bytes
CPUflags:  MMX: 1 MMX2: 1 3DNow: 0 3DNowExt: 0 SSE: 1 SSE2: 1 SSE3: 1 SSSE3: 1 SSE4: 1 SSE4.2: 1 AVX: 1
Compiled with runtime CPU detection.
get_path('codecs.conf') -> '/home/axelectrik/.mplayer/codecs.conf'
Reading optional codecs config file /home/axelectrik/.mplayer/codecs.conf: No such file or directory
Reading optional codecs config file /etc/mplayer/codecs.conf: 205 audio & 424 video codecs
init_freetype
Using MMX (with tiny bit MMX2) Optimized OnScreenDisplay
get_path('fonts') -> '/home/axelectrik/.mplayer/fonts'
Configuration: --prefix=/usr --enable-runtime-cpudetection --disable-gui --disable-arts --disable-liblzo --disable-speex --disable-openal --disable-libdv --disable-musepack --disable-esd --disable-mga --disable-ass-internal --disable-cdparanoia --enable-xvmc --enable-radio --enable-radio-capture --language=all --confdir=/etc/mplayer
CommandLine: '-noquiet' '-v' '-nofs' '-nomouseinput' '-vc' 'coreserve,' '-lavdopts' 'skiploopfilter=all' '-sub-fuzziness' '1' '-identify' '-slave' '-vo' 'gl:yuv=2:force-pbo' '-ao' 'alsa' '-nokeepaspect' '-framedrop' '-dr' '-double' '-input' 'nodefault-bindings:conf=/dev/null' '-nostop-xscreensaver' '-wid' '35651627' '-monitorpixelaspect' '1' '-noass' '-subfont-autoscale' '3' '-subfont-text-scale' '2.5' '-subcp' 'enca:es:ISO-8859-9' '-subpos' '100' '-volume' '16' '-cache' '2048' '-osdlevel' '0' '-idx' '-vf-add' 'yadif=1' '-vf-add' 'pp' '-autoq' '6' '-vf-add' 'screenshot' '-noslices' '-channels' '2' '-af' 'scaletempo' '-softvol' '-softvol-max' '110' '-aspect' '4:3' '' '/files/Video/Movies/Mean.Girls.2004.BluRay.720p.H264.mp4'
Using nanosleep() timing
Terminal type `unknown' is not defined.
Parsing input config file /dev/null
Input config file /dev/null parsed: 0 binds
Setting up LIRC support...
mplayer: could not connect to socket
mplayer: No such file or directory
Failed to open LIRC support. You will not be able to use your remote control.
get_path('.conf') -> '/home/axelectrik/.mplayer/.conf'
Playing .
get_path('sub/') -> '/home/axelectrik/.mplayer/sub/'
File not found: ''
Failed to open .
get_path('Mean.Girls.2004.BluRay.720p.H264.mp4.conf') -> '/home/axelectrik/.mplayer/Mean.Girls.2004.BluRay.720p.H264.mp4.conf'
Playing /files/Video/Movies/Mean.Girls.2004.BluRay.720p.H264.mp4.
get_path('sub/') -> '/home/axelectrik/.mplayer/sub/'
[file] File size is 875863037 bytes
STREAM: [file] /files/Video/Movies/Mean.Girls.2004.BluRay.720p.H264.mp4
STREAM: Description: File
STREAM: Author: Albeu
STREAM: Comment: based on the code from ??? (probably Arpi)
CACHE_PRE_INIT: 0 [0] 0  pre:419430  eof:0  
Cache fill:  0.00% (0 bytes)   
libavformat version 55.7.100 (internal)
Configuration: --enable-gpl --enable-postproc
LAVF_check: QuickTime / MOV
libavformat file format detected.
[mov,mp4,m4a,3gp,3g2,mj2 @ 0x7f4745215900]ISO: File Type Major Brand: M4A 
[mov,mp4,m4a,3gp,3g2,mj2 @ 0x7f4745215900]File position before avformat_find_stream_info() is 875863037
[h264 @ 0x7f4745223040]no picture 
[mov,mp4,m4a,3gp,3g2,mj2 @ 0x7f4745215900]All info found
[mov,mp4,m4a,3gp,3g2,mj2 @ 0x7f4745215900]File position after avformat_find_stream_info() is 2773137
==> Found audio stream: 0
ID_AUDIO_ID=0
======= WAVE Format =======
Format Tag: 20557 (0x504D)
Channels: 2
Samplerate: 48000
avg byte/sec: 8069
Block align: 1
bits/sample: 16
cbSize: 5
Unknown extra header dump: [11] [90] [56] [e5] [0] 
==========================================================================
[lavf] stream 0: audio (aac), -aid 0, -alang und
==> Found video stream: 1
ID_VIDEO_ID=0
======= VIDEO Format ======
  biSize 201
  biWidth 1280
  biHeight 720
  biPlanes 1
  biBitCount 24
  biCompression 875967048='H264'
  biSizeImage 2764800
Unknown extra header dump: [1] [64] [0] [29] [fe] [e1] [0] [18] [67] [64] [0] [29] [ac] [d9] [80] [50] [5] [bb] [1] [10] [0] [19] [74] [f0] [4] [c4] [b4] [8] [f1] [83] [19] [a0] [1] [0] [7e] [68] [e9] [7b] [cf] [8] [47] [10] [a3] [84] [44] [85] [6] [d] [5] [10] [61] [8] [8] [82] [2] [14] [28] [14] [85] [41] [50] [50] [2a] [4] [68] [8] [4] [41] [a2] [88] [51] [6] [9c] [20] [63] [85] [21] [a8] [50] [90] [c0] [81] [23] [6] [46] [82] [40] [a0] [54] [16] [41] [63] [15] [31] [48] [4e] [29] [a6] [85] [15] [59] [11] [51] [a] [c8] [63] [cd] [3c] [c9] [90] [c7] [2a] [21] [84] [44] [9c] [40] [c1] [2] [46] [84] [2] [10] [88] [50] [60] [d0] [c4] [3d] [88] [91] [a4] [ad] [24] [da] [4a] [da] [49] [36] [c8] [91] [25] [6c] [84] [21] [a] [52] [98] [84] [94] [a6] [21] [a] [51] [6] [9c] [60] [81] [21] [8] [4b] 
===========================
[lavf] stream 1: video (h264), -vid 0
LAVF: 1 audio and 1 video streams found
LAVF: build 3606372
VIDEO:  [H264]  1280x720  24bpp  23.976 fps  1175.4 kbps (143.5 kbyte/s)
[V] filefmt:44  fourcc:0x34363248  size:1280x720  fps:23.976  ftime:=0.0417
Clip info:
 major_brand: M4A 
ID_CLIP_INFO_NAME0=major_brand
ID_CLIP_INFO_VALUE0=M4A 
 minor_version: 0
ID_CLIP_INFO_NAME1=minor_version
ID_CLIP_INFO_VALUE1=0
 compatible_brands: isomavc1M4A mp42
ID_CLIP_INFO_NAME2=compatible_brands
ID_CLIP_INFO_VALUE2=isomavc1M4A mp42
 creation_time: 2012-04-17 19:31:49
ID_CLIP_INFO_NAME3=creation_time
ID_CLIP_INFO_VALUE3=2012-04-17 19:31:49
ID_CLIP_INFO_N=4
Load subtitles in /files/Video/Movies/
get_path('sub/') -> '/home/axelectrik/.mplayer/sub/'
[file] File size is 127642 bytes
STREAM: [file] /files/Video/Movies/Mean.Girls.2004.BluRay.720p.H264.eng.srt
STREAM: Description: File
STREAM: Author: Albeu
STREAM: Comment: based on the code from ??? (probably Arpi)
SUB: Detected subtitle file format: subviewer
ENCA supported languages: be bg cs et hr hu lt lv pl ru sk sl uk zh __ 
ENCA detection failed: fallback to ISO-8859-9
SUB: opened iconv descriptor.
SUB: closed iconv descriptor.
SUB: Read 1642 subtitles, 0 bad line(s).
ID_FILE_SUB_ID=0
ID_FILE_SUB_FILENAME=/files/Video/Movies/Mean.Girls.2004.BluRay.720p.H264.eng.srt
SUB: Added subtitle file (1): /files/Video/Movies/Mean.Girls.2004.BluRay.720p.H264.eng.srt
ID_FILENAME=/files/Video/Movies/Mean.Girls.2004.BluRay.720p.H264.mp4
ID_DEMUXER=lavfpref
ID_VIDEO_FORMAT=H264
ID_VIDEO_BITRATE=1175392
ID_VIDEO_WIDTH=1280
ID_VIDEO_HEIGHT=720
ID_VIDEO_FPS=23.976
ID_VIDEO_ASPECT=1.7778
ID_START_TIME=0.08
ID_LENGTH=5633.11
ID_SEEKABLE=1
ID_CHAPTERS=0
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 1366x768 with depth 24 and 32 bpp (":0.0" => local display)
[x11] Current fstype setting doesn't honour any X atoms
[gl] using extended formats. Use -vo gl:nomanyfmts if playback fails.
[gl] Using 0 as slice height (0 means image height).
Opening video filter: [screenshot]
Opening video filter: [pp]
[screenshot] query(Planar YV12) -> 3
pp: de
pp: de::de
pp: hb::hb
pp: option: a
pp: vb::vb
pp: option: a
pp: dr::dr
pp: option: a
pp: lumMode=0, chromMode=0
pp: de
pp: de::de
pp: hb::hb
pp: option: a
pp: vb::vb
pp: option: a
pp: dr::dr
pp: option: a
pp: lumMode=2, chromMode=0
pp: de
pp: de::de
pp: hb::hb
pp: option: a
pp: vb::vb
pp: option: a
pp: dr::dr
pp: option: a
pp: lumMode=3, chromMode=0
pp: de
pp: de::de
pp: hb::hb
pp: option: a
pp: vb::vb
pp: option: a
pp: dr::dr
pp: option: a
pp: lumMode=3, chromMode=2
pp: de
pp: de::de
pp: hb::hb
pp: option: a
pp: vb::vb
pp: option: a
pp: dr::dr
pp: option: a
pp: lumMode=3, chromMode=3
pp: de
pp: de::de
pp: hb::hb
pp: option: a
pp: vb::vb
pp: option: a
pp: dr::dr
pp: option: a
pp: lumMode=7, chromMode=3
pp: de
pp: de::de
pp: hb::hb
pp: option: a
pp: vb::vb
pp: option: a
pp: dr::dr
pp: option: a
pp: lumMode=7, chromMode=7
Opening video filter: [yadif=1]
Opening video filter: [hqdn3d]
Opening video filter: [pp=de]
[hqdn3d] query(Planar YV12) -> 3
pp: de
pp: de::de
pp: hb::hb
pp: option: a
pp: vb::vb
pp: option: a
pp: dr::dr
pp: option: a
pp: lumMode=0, chromMode=0
pp: de
pp: de::de
pp: hb::hb
pp: option: a
pp: vb::vb
pp: option: a
pp: dr::dr
pp: option: a
pp: lumMode=2, chromMode=0
pp: de
pp: de::de
pp: hb::hb
pp: option: a
pp: vb::vb
pp: option: a
pp: dr::dr
pp: option: a
pp: lumMode=3, chromMode=0
pp: de
pp: de::de
pp: hb::hb
pp: option: a
pp: vb::vb
pp: option: a
pp: dr::dr
pp: option: a
pp: lumMode=3, chromMode=2
pp: de
pp: de::de
pp: hb::hb
pp: option: a
pp: vb::vb
pp: option: a
pp: dr::dr
pp: option: a
pp: lumMode=3, chromMode=3
pp: de
pp: de::de
pp: hb::hb
pp: option: a
pp: vb::vb
pp: option: a
pp: dr::dr
pp: option: a
pp: lumMode=7, chromMode=3
pp: de
pp: de::de
pp: hb::hb
pp: option: a
pp: vb::vb
pp: option: a
pp: dr::dr
pp: option: a
pp: lumMode=7, chromMode=7
==========================================================================
Forced video codec: coreserve
Opening video decoder: [ffmpeg] FFmpeg's libavcodec codec family
libavcodec version 55.12.100 (internal)
Configuration: --enable-gpl --enable-postproc
INFO: libavcodec init OK!
Selected video codec: [ffh264] vfm: ffmpeg (FFmpeg H.264)
==========================================================================
ID_VIDEO_CODEC=ffh264
[PP] Using external postprocessing filter, max q = 6.
AutoQ: setting quality to 6.
Audio: no sound
Freeing 0 unused audio chunks.
Starting playback...
[ffmpeg] aspect_ratio: 0.000000
[ffmpeg] aspect_ratio: 0.000000
[h264 @ 0x7f4745223040]no picture 
ds_fill_buffer: EOF reached (stream: video)  
[ffmpeg] aspect_ratio: 1.777778
VDec: vo config request - 1280 x 720 (preferred colorspace: Planar YV12)
[PP] Using external postprocessing filter, max q = 6.
Trying filter chain: pp hqdn3d yadif pp screenshot vo
VDec: using Planar YV12 as output csp (no 0)
Movie-Aspect is 1.33:1 - prescaling to correct movie aspect.
ID_VIDEO_ASPECT=1.3333
VO Config (1280x720->1280x960,flags=4,'MPlayer',0x32315659)
REQ: flags=0x6CB7  req=0x0  
REQ: flags=0x6CB7  req=0x0  
REQ: flags=0x6CB7  req=0x0  
REQ: flags=0x64B7  req=0x0  
SwScaler: reducing / aligning filtersize 1 -> 4
SwScaler: reducing / aligning filtersize 1 -> 4
SwScaler: reducing / aligning filtersize 5 -> 4
SwScaler: reducing / aligning filtersize 5 -> 4
[swscaler @ 0x7f4745232a00]BICUBIC scaler, from yuv420p to rgb24 using MMXEXT
[swscaler @ 0x7f4745232a00]1280x720 -> 1280x960
[swscaler @ 0x7f4745232a00]lum srcW=1280 srcH=720 dstW=1280 dstH=960 xInc=65536 yInc=49152
[swscaler @ 0x7f4745232a00]chr srcW=640 srcH=360 dstW=640 dstH=960 xInc=65536 yInc=24576
REQ: flags=0x64B7  req=0x0  
VO: [gl] 1280x720 => 1280x960 Planar YV12  [zoom]
VO: Description: OpenGL
VO: Author: Reimar Doeffinger <Reimar.Doeffinger@gmx.de>
[gl] GLX chose visual with ID 0x97
X11 error: BadMatch (invalid parameter attributes)
Type: 0, display: 0x7f4746d59fa0, resourceid: 5000001, serial: 2f
Error code: 8, request code: 2, minor code: 0
[gl] Settings after autodetection: ati-hack = 0, force-pbo = 1, rectangle = 0, yuv = 2, ycbcr = 0
[gl] Creating 2048x1024 texture...
[gl] Resize: 1078x606
*** [pp] Exporting mp_image_t, 1280x720x12bpp YUV planar, 1382400 bytes
*** [hqdn3d] Allocating mp_image_t, 1280x720x12bpp YUV planar, 1382400 bytes
[postproc @ 0x7f4745210ae0]using npp filters 0x7/0x7
*** [yadif] Allocating mp_image_t, 1280x720x12bpp YUV planar, 1382400 bytes
ds_fill_buffer: EOF reached (stream: video)  
ds_fill_buffer: EOF reached (stream: video)  
ds_fill_buffer: EOF reached (stream: video)  
ds_fill_buffer: EOF reached (stream: video)  
ds_fill_buffer: EOF reached (stream: video)  
ds_fill_buffer: EOF reached (stream: video)  
ds_fill_buffer: EOF reached (stream: video)  
ds_fill_buffer: EOF reached (stream: video)  
EOF code: 1  
Uninit video: ffmpeg
Drawn 0 frames, 0 using DR, DR refused 0
vo: uninit ...
Exiting... (End of file)
ID_EXIT=EOF

It works fine with VLC using the codec avc1 , so the fix might be to use coreavc codec with mplayer, unfortunately mplayer-coreavc-svn from AUR does not compile :S

Thank you

Last edited by axelectrik (2013-06-09 22:00:22)

Offline

#2 2013-06-05 10:41:57

karol
Archivist
Registered: 2009-05-06
Posts: 25,440

Re: [SOLVED] Can't play H.264 (720P) on Mplayer

I have no idea what seems to be the problem, I just wanted to say that mplayer and mplayer2 are different programs (mplayer2 is a fork, so they share some code), they may behave differently.

Offline

#3 2013-06-05 11:31:47

axelectrik
Member
Registered: 2012-01-25
Posts: 126

Re: [SOLVED] Can't play H.264 (720P) on Mplayer

It actually worked!
Can't see what was the problem with mplayer but now it plays perfectly
Thank you! wink

Offline

#4 2013-06-05 11:33:50

opt1mus
Member
From: UK
Registered: 2011-12-31
Posts: 212
Website

Re: [SOLVED] Can't play H.264 (720P) on Mplayer

s/mplayer/mplayer2/g

There, just reiterating the point karol made.

Offline

Board footer

Powered by FluxBB