[MPlayer-users] Problem with avc1 mp4

Ron Johnson ron.l.johnson at cox.net
Tue May 15 14:45:51 CEST 2012


On 05/15/2012 06:57 AM, Ingo Brückl wrote:
> I have problems playing avc1 encoded mp4 files (like the short sample
> http://www.html5tutorial.info/media/html5iscool.mp4).
>
> When calling MPlayer without any options, I get tons of "Too many buffered
> pts" until the playback finally starts, but: no video, only audio.
>
> With -demuxer mov, playback starts immediately, but again: no video, only
> audio.
>
> What might be the problem? There is no problem with mp4 normally.
>

FF12 from Ubuntu 12.04 does not play that video (and other MP4s, I've 
found), but FWIW, the Precise mplayer and libs play it seemingly perfectly.

-- 
"There is usually only a limited amount of damage that can be
done by dull or stupid people. For creating a truly monumental
disaster, you need people with high IQs."
Thomas Sowell
-------------- next part --------------
$ mplayer -v http://www.html5tutorial.info/media/html5iscool.mp4
MPlayer SVN-r34707-4.6 (C) 2000-2012 MPlayer Team
CPU vendor name: AuthenticAMD  max cpuid level: 5
CPU: AMD Athlon(tm) II X4 640 Processor (Family: 16, Model: 5, 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 SSSE3: 0
Compiled with runtime CPU detection.
get_path('codecs.conf') -> '/home/ron/.mplayer/codecs.conf'
Reading optional codecs config file /home/ron/.mplayer/codecs.conf: No such file or directory
Reading optional codecs config file /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/ron/.mplayer/fonts'
Configuration: --prefix=/usr --confdir=/etc/mplayer --enable-xvmc --enable-menu --enable-radio --enable-radio-capture --disable-arts --language=all --enable-runtime-cpudetection --enable-debug --enable-mga --enable-3dfx --enable-tdfxfb --disable-gui
CommandLine: '-v' 'http://www.html5tutorial.info/media/html5iscool.mp4'
Using nanosleep() timing
get_path('input.conf') -> '/home/ron/.mplayer/input.conf'
Parsing input config file /home/ron/.mplayer/input.conf
Input config file /home/ron/.mplayer/input.conf parsed: 6 binds
get_path('html5iscool.mp4.conf') -> '/home/ron/.mplayer/html5iscool.mp4.conf'

Playing http://www.html5tutorial.info/media/html5iscool.mp4.
get_path('sub/') -> '/home/ron/.mplayer/sub/'
Filename for url is now http://www.html5tutorial.info/media/html5iscool.mp4
Filename for url is now http://www.html5tutorial.info/media/html5iscool.mp4
STREAM_HTTP(1), URL: http://www.html5tutorial.info/media/html5iscool.mp4
Resolving www.html5tutorial.info for AF_INET6...

Couldn't resolve name for AF_INET6: www.html5tutorial.info
Resolving www.html5tutorial.info for AF_INET...
Connecting to server www.html5tutorial.info[213.175.222.9]: 80...

--- HTTP DEBUG HEADER --- START ---
protocol:           [HTTP/1.1]
http minor version: [1]
uri:                [(null)]
method:             [(null)]
status code:        [200]
reason phrase:      [OK]
body size:          [1840]
Fields:
 0 - Date: Tue, 15 May 2012 12:42:43 GMT
 1 - Server: Apache
 2 - Last-Modified: Wed, 28 Dec 2011 13:15:55 GMT
 3 - Accept-Ranges: bytes
 4 - Content-Length: 193185
 5 - Connection: close
 6 - Content-Type: video/mp4
--- HTTP DEBUG HEADER --- END ---
Content-Length: [193185]
Content-Type: [video/mp4]
Cache size set to 320 KBytes
STREAM: [null] http://www.html5tutorial.info/media/html5iscool.mp4
STREAM: Description: http streaming
STREAM: Author: Bertrand, Albeau, Reimar Doeffinger, Arpi?
STREAM: Comment: plain http
CACHE_PRE_INIT: 0 [0] 0  pre:65536  eof:0  
Cache fill:  6.12% (20064 bytes)   

libavformat version 54.0.0 (internal)
Configuration: --enable-gpl --enable-postproc
LAVF_check: QuickTime/MPEG-4/Motion JPEG 2000 format
libavformat file format detected.
[mov,mp4,m4a,3gp,3g2,mj2 @ 0xcac860]ISO: File Type Major Brand: mp42
[mov,mp4,m4a,3gp,3g2,mj2 @ 0xcac860]All info found
==> Found audio stream: 0
======= WAVE Format =======
Format Tag: 20557 (0x504D)
Channels: 1
Samplerate: 44100
avg byte/sec: 6318
Block align: 1
bits/sample: 16
cbSize: 2
Unknown extra header dump: [12] [8] 
==========================================================================
[lavf] stream 0: audio (aac), -aid 0, -alang und
==> Found video stream: 1
======= VIDEO Format ======
  biSize 76
  biWidth 320
  biHeight 240
  biPlanes 0
  biBitCount 24
  biCompression 875967048='H264'
  biSizeImage 230400
Unknown extra header dump: [1] [42] [c0] [d] [fd] [e1] [0] [15] [67] [42] [c0] [d] [bb] [40] [a0] [fd] [80] [88] [0] [0] [1f] [40] [0] [6] [73] [10] [78] [a1] [55] [1] [0] [4] [68] [ce] [32] [c8] 
===========================
[lavf] stream 1: video (h264), -vid 0
LAVF: 1 audio and 1 video streams found
LAVF: build 3538944
VIDEO:  [H264]  320x240  24bpp  26.417 fps  295.3 kbps (36.1 kbyte/s)
[V] filefmt:44  fourcc:0x34363248  size:320x240  fps:26.417  ftime:=0.0379
Clip info:
 major_brand: mp42
 minor_version: 0
 compatible_brands: isomavc1mp42
 creation_time: 2010-12-16 04:16:56
get_path('sub/') -> '/home/ron/.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 ABOVE state.
[x11] Detected wm supports BELOW state.
[x11] Current fstype setting honours FULLSCREEN ABOVE BELOW X atoms
Disabling DPMS
DPMSDisable stat: 1
==========================================================================
Forced video codec: ffmpeg12vdpau
Forced video codec: ffwmv3vdpau
Forced video codec: ffvc1vdpau
Forced video codec: ffh264vdpau
Opening video decoder: [ffmpeg] FFmpeg's libavcodec codec family
libavcodec version 54.0.0 (internal)
Configuration: --enable-gpl --enable-postproc
INFO: libavcodec init OK!
Selected video codec: [ffh264vdpau] vfm: ffmpeg (FFmpeg H.264 (VDPAU))
==========================================================================
==========================================================================
Opening audio decoder: [ffmpeg] FFmpeg/libavcodec audio decoders
dec_audio: Allocating 192000 + 131072 = 323072 bytes for output buffer.
FFmpeg's libavcodec audio codec
INFO: libavcodec "aac" init OK!
AUDIO: 44100 Hz, 1 ch, s16le, 50.5 kbit/7.16% (ratio: 6318->88200)
Selected audio codec: [ffaac] afm: ffmpeg (FFmpeg AAC (MPEG-2/MPEG-4 Audio))
==========================================================================
Building audio filter chain for 44100Hz/1ch/s16le -> 0Hz/0ch/??...
[libaf] Adding filter volume 
Trying preferred audio driver 'pulse', options '[none]'
AO: [pulse] 44100Hz 1ch s16le (2 bytes per sample)
AO: Description: PulseAudio audio output
AO: Author: Lennart Poettering
Building audio filter chain for 44100Hz/1ch/s16le -> 44100Hz/1ch/s16le...
Starting playback...
Increasing filtered audio buffer size from 0 to 23072
[VD_FFMPEG] Trying pixfmt=0.
[ffmpeg] aspect_ratio: 1.333333
VDec: vo config request - 320 x 240 (preferred colorspace: H.264 VDPAU acceleration)
Trying filter chain: vo
[vdpau] Creating H264 hardware decoder for 2 reference frames.
VDec: using H.264 VDPAU acceleration as output csp (no 0)
Movie-Aspect is 1.33:1 - prescaling to correct movie aspect.
VO Config (320x240->320x240,flags=0,'MPlayer',0x1DC80003)
VO: [vdpau] 320x240 => 320x240 H.264 VDPAU acceleration 
VO: Description: VDPAU with X11
VO: Author: Rajib Mahapatra <rmahapatra at nvidia.com> and others
[vdpau] Creating H264 hardware decoder for 2 reference frames.
[vdpau] Creating H264 hardware decoder for 2 reference frames.
[vdpau] Updating CSC matrix for BT.601
[VD_FFMPEG] XVMC-accelerated MPEG-2.
*** [vo] Direct Rendering (slices) mp_image_t, 320x242x0bpp RGB packed, 0 bytes
Unicode font: 5193 glyphs.
Unicode font: 5193 glyphs.
A:   0.1 V:   0.0 A-V:  0.111 ct:  0.000   0/  0 ??% ??% ??,?% 0 0 27% 
*** [vo] Direct Rendering (slices) mp_image_t, 320x242x0bpp RGB packed, 0 bytes
A:   0.1 V:   0.0 A-V:  0.074 ct:  0.004   0/  0 ??% ??% ??,?% 0 0 27% 
*** [vo] Direct Rendering (slices) mp_image_t, 320x242x0bpp RGB packed, 0 bytes
A:   4.1 V:   4.1 A-V:  0.001 ct:  0.038   0/  0  2%  1%  0.3% 0 0 0% 
ds_fill_buffer: EOF reached (stream: audio)  
ds_fill_buffer: EOF reached (stream: audio)  
A:   4.1 V:   4.1 A-V:  0.002 ct:  0.038   0/  0  2%  1%  0.3% 0 0 0% 
ds_fill_buffer: EOF reached (stream: audio)  
A:   4.1 V:   4.1 A-V:  0.003 ct:  0.039   0/  0  2%  1%  0.3% 0 0 0% 
ds_fill_buffer: EOF reached (stream: audio)  
A:   4.2 V:   4.2 A-V:  0.004 ct:  0.039   0/  0  2%  0%  0.3% 0 0 0% 
ds_fill_buffer: EOF reached (stream: audio)  
A:   4.2 V:   4.2 A-V:  0.005 ct:  0.040   0/  0  2%  0%  0.3% 0 0 0% 
ds_fill_buffer: EOF reached (stream: audio)  
A:   4.2 V:   4.2 A-V:  0.006 ct:  0.040   0/  0  2%  0%  0.3% 0 0 0% 
ds_fill_buffer: EOF reached (stream: audio)  
A:   4.3 V:   4.3 A-V:  0.007 ct:  0.041   0/  0  2%  0%  0.3% 0 0 0% 
ds_fill_buffer: EOF reached (stream: audio)  
A:   4.3 V:   4.3 A-V: -0.001 ct:  0.041   0/  0  2%  0%  0.3% 0 0 0% 
ds_fill_buffer: EOF reached (stream: audio)  
A:   4.3 V:   4.4 A-V: -0.039 ct:  0.037   0/  0  2%  0%  0.3% 0 0 0% 
ds_fill_buffer: EOF reached (stream: audio)  
ds_fill_buffer: EOF reached (stream: video)  
A:   4.3 V:   4.4 A-V: -0.039 ct:  0.033   0/  0  2%  0%  0.3% 0 0 0% 
EOF code: 1  

Uninit audio filters...
[libaf] Removing filter volume 
Uninit audio: ffmpeg
Uninit video: ffmpeg
Successfully enabled DPMS
vo: uninit ...

Exiting... (End of file)



More information about the MPlayer-users mailing list