[MPlayer-users] latest version of mplayer, sync of A/V are broken

Zongyao Qu zongyao.qu at gmail.com
Thu Nov 17 16:41:01 CET 2011


I am not sure it is a mplayer issue or ffmpeg one.

Everything is OK when I update the source code in Sept, 28th.
and yesterday, I updated once to make the latest binary, 
I found the video is always late for about 0.3s than audio.

OS: Mac OS X 10.7.2
CPU: i7 8 cores
so I don't think is a performance issue.

the log seams to be ok, 
and the A-V seams to be always near 0.0 but video is just out of sync.

QZY:mplayer NILTSH$ ./mplayer -demuxer lavf -lavdopts threads=8 
-cache 10000 -channels 2 -v /Volumes/Work/Downloads/HORRIBLE\ 
BOSSES\ 2011\ UNCUT\ HD\ 720p\ BRRip\ 5.1AAC\ x264-ILPruny/Horrible\
 Bosses\ 2011\ HD\ 720p.mp4
 
MPlayer UNKNOWN-4.2.1 (C) 2000-2011 MPlayer Team
CPU vendor name: GenuineIntel  max cpuid level: 13
CPU: Intel(R) Core(TM) i7-2720QM CPU @ 2.20GHz (Family: 6, Model: 42, 
Stepping: 7)
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 SSSE3: 1
Compiled for x86 CPU with extensions: MMX MMX2 SSE SSE2 SSSE3 CMOV
get_path('codecs.conf') -> '/Users/NILTSH/.mplayer/codecs.conf'
Using built-in default codecs.conf.
init_freetype
Using MMX (with tiny bit MMX2) Optimized OnScreenDisplay
get_path('fonts') -> '/Users/NILTSH/.mplayer/fonts'
Configuration: --codecsdir=codecs --disable-mencoder --disable-gui 
--disable-apple-remote --disable-unrarexec --disable-pnm --disable-tga 
--disable-md5sum --disable-quartz --disable-openal 
--disable-tremor-internal --disable-jpeg --disable-png 
--disable-yuv4mpeg --disable-faac --disable-faad --disable-tv 
--disable-libdca --disable-liba52 --disable-libvorbis --disable-theora 
--disable-qtx --disable-gl --disable-matrixview --disable-x11
 --disable-xv --extra-cflags=-mmacosx-version-min=10.6 
--extra-ldflags=-mmacosx-version-min=10.6
CommandLine: '-demuxer' 'lavf' '-lavdopts' 'threads=8' '-cache' '10000'
 '-channels' '2' '-v' 
'/Volumes/Work/Downloads/HORRIBLE BOSSES 2011 UNCUT HD 
720p BRRip 5.1AACx264ILPruny/Horrible Bosses 2011 HD 720p.mp4'
Using Darwin accurate timing
get_path('input.conf') -> '/Users/NILTSH/.mplayer/input.conf'
Falling back on default (hardcoded) input config
get_path('Horrible Bosses 2011 HD 720p.mp4.conf') -> 
'/Users/NILTSH/.mplayer/Horrible Bosses 2011 HD 720p.mp4.conf'

Playing /Volumes/Work/Downloads/HORRIBLE BOSSES 2011 
UNCUT HD 720p BRRip 5.1AAC x264-ILPruny/Horrible Bosses 2011 
HD 720p.mp4.
get_path('sub/') -> '/Users/NILTSH/.mplayer/sub/'
[file] File size is 1496308813 bytes
STREAM: [file] /Volumes/Work/Downloads/HORRIBLE BOSSES 2011 
UNCUT HD 720p BRRip 5.1AAC x264-ILPruny/Horrible Bosses 2011 
HD 720p.mp4
STREAM: Description: File
STREAM: Author: Albeu
STREAM: Comment: based on the code from ??? (probably Arpi)
CACHE_PRE_INIT: 0 [0] 0  pre:2048000  eof:0  


LAVF_check: QuickTime/MPEG-4/Motion JPEG 2000 format
libavformat file format detected.
[mov,mp4,m4a,3gp,3g2,mj2 @ 0x1008a65d0]ISO: File Type Major 
Brand: isom
[h264 @ 0x1008b0b00]err{or,}_recognition separate: 1; 1
[h264 @ 0x1008b0b00]err{or,}_recognition combined: 1; 1
[aac @ 0x1008b0b00]err{or,}_recognition separate: 1; 1
[aac @ 0x1008b0b00]err{or,}_recognition combined: 1; 1
[aac @ 0x1008b0b00]Unsupported bit depth: 0
[h264 @ 0x1008b0b00]no picture
[h264 @ 0x1008b0b00]no picture
[mov,mp4,m4a,3gp,3g2,mj2 @ 0x1008a65d0]All info found
==> Found video stream: 0
======= VIDEO Format ======
  biSize 80
  biWidth 1280
  biHeight 536
  biPlanes 0
  biBitCount 24
  biCompression 875967048='H264'
  biSizeImage 2058240
Unknown extra header dump: [1] [64] [0] [1f] [ff] [e1] [0] [19] [67]
 [64] [0] [1f] [ac] 
[c8] [50] [14] [1] [17] [e5] [c0] [44] [0] [0] [f] [a4] [0] [2] [ee] [2] [3c]
 [60] [c6] [68] 
[1] [0] [4] [68] [e9] [7b] [cb] 
===========================
[lavf] stream 0: video (h264), -vid 0
==> Found audio stream: 1
======= WAVE Format =======
Format Tag: 20557 (0x504D)
Channels: 6
Samplerate: 48000
avg byte/sec: 27467
Block align: 1
bits/sample: 16
cbSize: 5
Unknown extra header dump: [11] [b0] [56] [e5] [0] 
=========
[lavf] stream 1: audio (aac), -aid 0, -alang und
LAVF: 1 audio and 1 video streams found
LAVF: build 3478528
VIDEO:  [H264]  1280x536  24bpp  23.976 fps  1665.3 kbps (203.3 kbyte/s)
[V] filefmt:35  fourcc:0x34363248  size:1280x536  fps:23.976  ftime:=0.0417
Clip info:
 major_brand: isom
 minor_version: 1
 compatible_brands: isomavc1
 creation_time: 2011-10-04 13:48:30
 encoder: Yamb 2.1.0.0 [http://yamb.unite-video.com]
Load subtitles in /Volumes/Work/Downloads/HORRIBLE BOSSES 2011 UNCUT
 HD 720p BRRip 5.1AAC x264-ILPruny/
get_path('sub/') -> '/Users/NILTSH/.mplayer/sub/'
Cache not responding! [performance issue]
Opening video decoder: [ffmpeg] FFmpeg's libavcodec codec family
[h264 @ 0x1008b0b00]err{or,}_recognition separate: 2; 1
[h264 @ 0x1008b0b00]err{or,}_recognition combined: 2; 3
INFO: libavcodec init OK!
Selected video codec: [ffh264] vfm: ffmpeg (FFmpeg H.264)
Opening audio decoder: [ffmpeg] FFmpeg/libavcodec audio decoders
dec_audio: Allocating 192000 + 131072 = 323072 bytes for output buffer.
FFmpeg's libavcodec audio codec
[aac @ 0x1008b0b00]err{or,}_recognition separate: 1; 1
[aac @ 0x1008b0b00]err{or,}_recognition combined: 1; 1
[aac @ 0x1008b0b00]Unsupported bit depth: 0
INFO: libavcodec "aac" init OK!
AUDIO: 48000 Hz, 6 ch, s16le, 219.7 kbit/4.77% (ratio: 27467->576000)
Selected audio codec: [ffaac] afm: ffmpeg (FFmpeg AAC
 (MPEG-2/MPEG-4 Audio))
Building audio filter chain for 48000Hz/6ch/s16le -> 0Hz/0ch/??...
[libaf] Adding filter pan 
[pan] Pan level from channel 0 to channel 0 = 0.400000
[pan] Pan level from channel 0 to channel 1 = 0.000000
[pan] Pan level from channel 1 to channel 0 = 0.000000
[pan] Pan level from channel 1 to channel 1 = 0.400000
[pan] Pan level from channel 2 to channel 0 = 0.200000
[pan] Pan level from channel 2 to channel 1 = 0.000000
[pan] Pan level from channel 3 to channel 0 = 0.000000
[pan] Pan level from channel 3 to channel 1 = 0.200000
[pan] Pan level from channel 4 to channel 0 = 0.300000
[pan] Pan level from channel 4 to channel 1 = 0.300000
[pan] Pan level from channel 5 to channel 0 = 0.100000
[pan] Pan level from channel 5 to channel 1 = 0.100000
[libaf] Adding filter format 
[format] Changing sample format from little-endian 16-bit signed int to 
little-endian 32-bit float
[format] Accelerated little-endian 16-bit signed int to little-endian 
32-bit float conversion
[format] Changing sample format from little-endian 16-bit signed int to
 little-endian 32-bit float
[format] Accelerated little-endian 16-bit signed int to little-endian
 32-bit float conversion
Trying every known audio driver...
AO: [coreaudio] init([48000Hz][2ch][floatle][0])
AO: [coreaudio] got audio output device ID: 34 Name: Built-in Output
AO: [coreaudio] source: 48000.0Hz 32bit [lpcm][9][8][1][8][2] float LE U 
packed
AO: [coreaudio] using   750 chunks of 512 bytes (buffer len 384000 bytes)
AO: [coreaudio] 48000Hz 2ch floatle (4 bytes per sample)
AO: Description: Darwin/Mac OS X native audio output
AO: Author: Timothy J. Wood & Dan Christiansen & Chris Roccati
Building audio filter chain for 48000Hz/6ch/s16le -> 48000Hz/2ch/floatle...
[format] Changing sample format from little-endian 16-bit signed int to 
little-endian 32-bit float
[format] Accelerated little-endian 16-bit signed int to little-endian 32-bit
 float conversion
[format] Changing sample format from little-endian 16-bit signed int to
 little-endian 32-bit float
[format] Accelerated little-endian 16-bit signed int to little-endian 32-bit
 float conversion
Starting playback...
[libaf] Reallocating memory in module format, old len = 0, new len = 261901
[libaf] Reallocating memory in module pan, old len = 0, new len = 87321
Increasing filtered audio buffer size from 0 to 87296
Increasing filtered audio buffer size from 87296 to 135168
Unsupported PixelFormat 61
Unsupported PixelFormat 53
Unsupported PixelFormat 81
[h264 @ 0x1008b0b00]no picture
[h264 @ 0x1008b0b00]no picture
[ffmpeg] aspect_ratio: 2.388060
VDec: vo config request - 1280 x 536 (preferred colorspace: Planar YV12)
Trying filter chain: vo
Could not find matching colorspace - retrying with -vf scale...
Opening video filter: [scale]
SwScale params: -1 x -1 (-1=no scaling)
Trying filter chain: scale vo
VDec: using Planar YV12 as output csp (no 0)
Movie-Aspect is 2.39:1 - prescaling to correct movie aspect.
VO Config (1280x536->1280x536,flags=0,'MPlayer',0x32315659)
SwScaler: reducing / aligning filtersize 1 -> 4
SwScaler: reducing / aligning filtersize 1 -> 4
SwScaler: reducing / aligning filtersize 1 -> 1
SwScaler: reducing / aligning filtersize 5 -> 4
[swscaler @ 0x1008a3420]BICUBIC scaler, from yuv420p to yuyv422 using 
MMX2
[swscaler @ 0x1008a3420]1280x536 -> 1280x536
[swscaler @ 0x1008a3420]lum srcW=1280 srcH=536 dstW=1280 dstH=536 
xInc=65536 yInc=65536
[swscaler @ 0x1008a3420]chr srcW=640 srcH=268 dstW=640 dstH=536 
xInc=65536 yInc=32768
REQ: flags=0x37  req=0x0  
VO: [corevideo] 1280x536 => 1280x536 Packed YUY2 
VO: Description: Mac OS X Core Video
VO: Author: Nicolas Plourde <nicolas.plourde at gmail.com>
[ASPECT] Warning: No suitable new res found!
*** [scale] Exporting mp_image_t, 1280x536x12bpp YUV planar, 1029120 bytes
*** [vo] Allocating mp_image_t, 1280x536x16bpp YUV packed, 1372160 bytes
[swscaler @ 0x1008a3420]Warning: data is not aligned! This can lead to a 
speedloss
Fontconfig failed to select a font. Trying without fontconfig...
get_path('subfont.ttf') -> '/Users/NILTSH/.mplayer/subfont.ttf'
New_Face failed. Maybe the font path is wrong.
Please supply the text font file (~/.mplayer/subfont.ttf).
subtitle font: load_sub_face failed.
Fontconfig failed to select a font. Trying without fontconfig...
get_path('subfont.ttf') -> '/Users/NILTSH/.mplayer/subfont.ttf'
New_Face failed. Maybe the font path is wrong.
Please supply the text font file (~/.mplayer/subfont.ttf).
subtitle font: load_sub_face failed.
A:   4.2 V:   4.2 A-V: -0.003 ct: -0.041   0/  0  2%  5%  0.5% 1 0 94% 
[h264 @ 0x1008b0b00]no picture
[h264 @ 0x1008b0b00]no picture
A:  68.0 V:  68.0 A-V:  0.002 ct: -0.030   0/  0  1%  4%  6.2% 0 0 50% 
[h264 @ 0x1008b0b00]no picture
[h264 @ 0x1008b0b00]no picture
A: 193.4 V: 193.4 A-V: -0.005 ct: -0.019   0/  0  0%  5%  0.6% 0 0 50% 



More information about the MPlayer-users mailing list