[MPlayer-users] Mplayer crashes when trying to play hd content on osx
Lauri Hahne
lauri.hahne at gmail.com
Sat Aug 22 10:30:04 CEST 2009
Hi,
I'm having problems trying to play hd videos on osx 10.5.8. Mplayer
appears to crash when opening a window for video. This happens
irrespective of whether I use gcc-4.0 or gcc-4.2 and is easily
reproducible by downloading any 1080p Apple trailer from
hd-trailers.net.
-Lauri
Ps. I tried to post this earlier but it apparently got stuck in
moderation queue or something.
(gdb) run -v ~/Desktop/sherlockholmes-tlr1_h1080p.mov
Starting program: /Users/lhahne/Deve/mplayer2/mplayer -v
~/Desktop/sherlockholmes-tlr1_h1080p.mov
Reading symbols for shared libraries
++++++++++++++++++++++++++++++++............................................................................
done
MPlayer SVN-r29543-4.2.1 (C) 2000-2009 MPlayer Team
CPU vendor name: GenuineIntel max cpuid level: 13
CPU: Intel(R) Core(TM)2 Duo CPU P7350 @ 2.00GHz (Family: 6,
Model: 23, Stepping: 10)
extended cpuid-level: 8
extended cache-info: 201351232
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/lhahne/.mplayer/codecs.conf'
Reading /Users/lhahne/.mplayer/codecs.conf: Can't open
'/Users/lhahne/.mplayer/codecs.conf': No such file or directory
Reading /usr/local/etc/mplayer/codecs.conf: Can't open
'/usr/local/etc/mplayer/codecs.conf': No such file or directory
Using built-in default codecs.conf.
Configuration: --cc=gcc-4.2 --enable-debug=3
CommandLine: '-v' '/Users/lhahne/Desktop/sherlockholmes-tlr1_h1080p.mov'
init_freetype
Using MMX (with tiny bit MMX2) Optimized OnScreenDisplay
get_path('fonts') -> '/Users/lhahne/.mplayer/fonts'
Using Darwin accurate timing
get_path('input.conf') -> '/Users/lhahne/.mplayer/input.conf'
Can't open input config file /Users/lhahne/.mplayer/input.conf: No
such file or directory
Can't open input config file /usr/local/etc/mplayer/input.conf: No
such file or directory
Falling back on default (hardcoded) input config
Reading symbols for shared libraries . done
get_path('sherlockholmes-tlr1_h1080p.mov.conf') ->
'/Users/lhahne/.mplayer/sherlockholmes-tlr1_h1080p.mov.conf'
Playing /Users/lhahne/Desktop/sherlockholmes-tlr1_h1080p.mov.
get_path('sub/') -> '/Users/lhahne/.mplayer/sub/'
[file] File size is 163862493 bytes
STREAM: [file] /Users/lhahne/Desktop/sherlockholmes-tlr1_h1080p.mov
STREAM: Description: File
STREAM: Author: Albeu
STREAM: Comment: based on the code from ??? (probably Arpi)
LAVF_check: QuickTime/MPEG-4/Motion JPEG 2000 format
libavformat file format detected.
==> Found video stream: 0
[lavf] Video stream found, -vid 0
======= VIDEO Format ======
biSize 77
biWidth 1920
biHeight 1080
biPlanes 0
biBitCount 24
biCompression 828601953='avc1'
biSizeImage 6220800
Unknown extra header dump: [1] [4d] [40] [28] [ff] [1] [0] [16] [27]
[4d] [40] [28] [a9] [18] [f] [0] [44] [fc] [b8] [3] [50] [10] [10]
[1b] [6c] [2b] [5e] [f7] [c0] [40] [1] [0] [4] [28] [de] [9] [c8]
===========================
==> Found audio stream: 1
[lavf] Audio stream found, -aid 1
======= WAVE Format =======
Format Tag: 255 (0xFF)
Channels: 2
Samplerate: 44100
avg byte/sec: 0
Block align: 1
bits/sample: 16
cbSize: 2
Unknown extra header dump: [12] [10]
==========================================================================
LAVF: 1 audio and 1 video streams found
LAVF: build 3417600
VIDEO: [avc1] 1920x1080 24bpp 23.976 fps 0.0 kbps ( 0.0 kbyte/s)
[V] filefmt:44 fourcc:0x31637661 size:1920x1080 fps:23.976 ftime:=0.0417
Clip info:
comment: Encoded and delivered by apple.com/trailers/
comment-eng: Encoded and delivered by apple.com/trailers/
copyright: © 2009 Warner Bros. Pictures. All Rights Reserved
copyright-eng: © 2009 Warner Bros. Pictures. All Rights Reserved
title: Sherlock Holmes
title-eng: Sherlock Holmes
get_path('sub/') -> '/Users/lhahne/.mplayer/sub/'
Reading symbols for shared libraries . done
Reading symbols for shared libraries . done
Reading symbols for shared libraries . done
Reading symbols for shared libraries . done
Reading symbols for shared libraries . done
Reading symbols for shared libraries . done
==========================================================================
Opening video decoder: [ffmpeg] FFmpeg's libavcodec codec family
INFO: libavcodec init OK!
Selected video codec: [ffh264] vfm: ffmpeg (FFmpeg H.264)
==========================================================================
==========================================================================
Opening audio decoder: [faad] AAC (MPEG2/4 Advanced Audio Coding)
dec_audio: Allocating 4608 bytes for input buffer.
dec_audio: Allocating 49152 + 65536 = 114688 bytes for output buffer.
FAAD: Decoder init done (0Bytes)!
FAAD: Negotiated samplerate: 44100Hz channels: 2
FAAD: compressed input bitrate missing, assuming 128kbit/s!
AUDIO: 44100 Hz, 2 ch, s16le, 128.0 kbit/9.07% (ratio: 16000->176400)
Selected audio codec: [faad] afm: faad (FAAD AAC (MPEG-2/MPEG-4 Audio))
==========================================================================
Building audio filter chain for 44100Hz/2ch/s16le -> 0Hz/0ch/??...
[libaf] Adding filter dummy
[dummy] Was reinitialized: 44100Hz/2ch/s16le
[dummy] Was reinitialized: 44100Hz/2ch/s16le
Trying every known audio driver...
AO: [coreaudio] init([44100Hz][2ch][s16le][0])
AO: [coreaudio] source: 44100.0Hz 16bit [lpcm][12][4][1][4][2] int LE S packed
Reading symbols for shared libraries . done
Reading symbols for shared libraries . done
Reading symbols for shared libraries . done
Reading symbols for shared libraries . done
Reading symbols for shared libraries . done
AO: [coreaudio] using 44 chunks of 4096 bytes (buffer len 180224 bytes)
AO: [coreaudio] 44100Hz 2ch s16le (2 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 44100Hz/2ch/s16le -> 44100Hz/2ch/s16le...
[dummy] Was reinitialized: 44100Hz/2ch/s16le
[dummy] Was reinitialized: 44100Hz/2ch/s16le
Starting playback...
Increasing filtered audio buffer size from 0 to 65536
[ffmpeg] aspect_ratio: 0.000000
VDec: vo config request - 1920 x 1080 (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 undefined - no prescaling applied.
VO Config (1920x1080->1920x1080,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 @ 0x721da0]BICUBIC scaler, from yuv420p to yuyv422 using MMX2
[swscaler @ 0x721da0]using 4-tap MMX scaler for horizontal luminance scaling
[swscaler @ 0x721da0]using 4-tap MMX scaler for horizontal chrominance scaling
[swscaler @ 0x721da0]using n-tap MMX scaler for vertical scaling (BGR)
[swscaler @ 0x721da0]1920x1080 -> 1920x1080
[swscaler @ 0x721da0]lum srcW=1920 srcH=1080 dstW=1920 dstH=1080
xInc=65536 yInc=65536
[swscaler @ 0x721da0]chr srcW=960 srcH=540 dstW=960 dstH=1080
xInc=65536 yInc=32768
REQ: flags=0x37 req=0x0
VO: [corevideo] 1920x1080 => 1920x1080 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!
[ASPECT] Warning: No suitable new res found!
Reading symbols for shared libraries . done
Reading symbols for shared libraries . done
Program received signal EXC_BAD_ACCESS, Could not access memory.
Reason: KERN_PROTECTION_FAILURE at address: 0x00000000
0x00000000 in ?? ()
(gdb) bt
#0 0x00000000 in ?? ()
#1 0x0001d3f6 in -[MPlayerOpenGLView prepareOpenGL] (self=0x13391d0,
_cmd=0x93cb6590) at libvo/vo_corevideo.m:712
#2 0x913c67e1 in -[NSOpenGLContext makeCurrentContext] ()
#3 0x913c656e in -[NSOpenGLContext setView:] ()
#4 0x9149179a in -[NSOpenGLView lockFocusIfCanDraw] ()
#5 0x9120c27d in -[NSView lockFocus] ()
#6 0x91210617 in -[NSView _recursiveDisplayAllDirtyWithLockFocus:visRect:] ()
#7 0x91210a86 in -[NSView _recursiveDisplayAllDirtyWithLockFocus:visRect:] ()
#8 0x9120f045 in -[NSView
_recursiveDisplayRectIfNeededIgnoringOpacity:isVisibleRect:rectIsVisibleRectForView:topView:]
()
#9 0x9120e987 in -[NSThemeFrame
_recursiveDisplayRectIfNeededIgnoringOpacity:isVisibleRect:rectIsVisibleRectForView:topView:]
()
#10 0x9120b4ab in -[NSView
_displayRectIgnoringOpacity:isVisibleRect:rectIsVisibleRectForView:]
()
#11 0x9114be7b in -[NSView displayIfNeeded] ()
#12 0x911fe5bd in -[NSWindow _setFrameCommon:display:stashSize:] ()
#13 0x911fddc6 in -[NSWindow setFrame:display:] ()
#14 0x912e8fc2 in -[NSWindow setContentSize:] ()
#15 0x0001df86 in -[MPlayerOpenGLView config] (self=0x13391d0,
_cmd=0x55d23a) at libvo/vo_corevideo.m:472
#16 0x0001c6b7 in config (width=1920, height=1080, d_width=1920,
d_height=1080, flags=0, title=0x57454c "MPlayer", format=844715353) at
libvo/vo_corevideo.m:176
#17 0x00017e5a in config_video_out (vo=0x685b20, width=1920,
height=1080, d_width=1920, d_height=1080, flags=0, title=0x57454c
"MPlayer", format=844715353) at libvo/video_out.c:352
#18 0x000a4e50 in config (vf=0x13a23d0, width=1920, height=1080,
d_width=1920, d_height=1080, flags=0, outfmt=844715353) at
libmpcodecs/vf_vo.c:67
#19 0x00076813 in vf_config_wrapper (vf=0x13a23d0, width=1920,
height=1080, d_width=1920, d_height=1080, flags=0, outfmt=844715353)
at libmpcodecs/vf.c:645
#20 0x0009dbad in config (vf=0x131c440, width=1920, height=1080,
d_width=1920, d_height=1080, flags=0, outfmt=842094169) at
libmpcodecs/vf_scale.c:309
#21 0x00076813 in vf_config_wrapper (vf=0x131c440, width=1920,
height=1080, d_width=1920, d_height=1080, flags=0, outfmt=842094169)
at libmpcodecs/vf.c:645
#22 0x00074a0b in mpcodecs_config_vo (sh=0x1324c90, w=1920, h=1080,
preferred_outfmt=842094169) at libmpcodecs/vd.c:306
#23 0x00174c80 in init_vo (sh=0x1324c90, pix_fmt=PIX_FMT_YUV420P) at
libmpcodecs/vd_ffmpeg.c:521
#24 0x00175049 in decode (sh=0x1324c90, data=0x2238000, len=96150,
flags=0) at libmpcodecs/vd_ffmpeg.c:867
#25 0x0006aee1 in decode_video (sh_video=0x1324c90, start=0x2238000
"", in_size=96150, drop_frame=0, pts=0) at libmpcodecs/dec_video.c:365
#26 0x0000f1c4 in generate_video_frame [inlined] () at mplayer.c:1742
#27 0x0000f1c4 in update_video [inlined] () at mplayer.c:2287
#28 0x0000f1c4 in main (argc=3, argv=0xbffff860) at mplayer.c:3680
(gdb) disass $pc-32 $pc+32
Dump of assembler code from 0xffffffe0 to 0x20:
End of assembler dump.
(gdb) info all-registers
eax 0xe8afa0 15249312
ecx 0x0 0
edx 0xe767a5 15165349
ebx 0x13391d0 20156880
esp 0xbfffd68c 0xbfffd68c
ebp 0xbfffd6a8 0xbfffd6a8
esi 0x13a1150 20582736
edi 0x13a1150 20582736
eip 0x0 0
eflags 0x210286 2163334
cs 0x17 23
ss 0x1f 31
ds 0x1f 31
es 0x1f 31
fs 0x0 0
gs 0x37 55
st0 -nan(0x8080808080808080) (raw 0xffff8080808080808080)
st1 -nan(0x8080808080808080) (raw 0xffff8080808080808080)
st2 -nan(0x04a4a4a4a) (raw 0xffff000000004a4a4a4a)
st3 -nan(0x04a4a4a4a) (raw 0xffff000000004a4a4a4a)
st4 1 (raw 0x3fff8000000000000000)
st5 1 (raw 0x3fff8000000000000000)
st6 1080 (raw 0x40098700000000000000)
st7 1920 (raw 0x4009f000000000000000)
fctrl 0x37f 895
fstat 0x20 32
ftag 0xffff 65535
fiseg 0x17 23
fioff 0x965fd154 -1772105388
foseg 0x1f 31
fooff 0xbfffd40c -1073753076
fop 0x15d 349
xmm0 {
v4_float = {0, 0, 0, 1130},
v2_double = {0, 5.6822867789607704e-315},
v16_int8 = '\0' <repeats 12 times>, "D@",
v8_int16 = {0, 0, 0, 0, 0, 0, 17549, 16384},
v4_int32 = {0, 0, 0, 1150107648},
v2_int64 = {0, 1150107648},
uint128 = 18169721706774528
} (raw 0x00408d44000000000000000000000000)
xmm1 {
v4_float = {0, 0, 0, 1130},
v2_double = {0, 5.6822867789607704e-315},
v16_int8 = '\0' <repeats 12 times>, "D@",
v8_int16 = {0, 0, 0, 0, 0, 0, 17549, 16384},
v4_int32 = {0, 0, 0, 1150107648},
v2_int64 = {0, 1150107648},
uint128 = 18169721706774528
} (raw 0x00408d44000000000000000000000000)
xmm2 {
v4_float = {0, 0, 0, -50},
v2_double = {0, 1.6104062295448118e-314},
v16_int8 = '\0' <repeats 12 times>, "ÂH\000",
v8_int16 = {0, 0, 0, 0, 0, 0, -15800, 0},
v4_int32 = {0, 0, 0, -1035468800},
v2_int64 = {0, 3259498496},
uint128 = 79998060855296
} (raw 0x000048c2000000000000000000000000)
xmm3 {
v4_float = {0, 0, 0, 1945},
v2_double = {0, 5.7152729729922321e-315},
v16_int8 = '\0' <repeats 12 times>, "Dó ",
v8_int16 = {0, 0, 0, 0, 0, 0, 17651, 8192},
v4_int32 = {0, 0, 0, 1156784128},
v2_int64 = {0, 1156784128},
uint128 = 9274672638066688
} (raw 0x0020f344000000000000000000000000)
xmm4 {
v4_float = {0, 0, 0, -25},
v2_double = {0, 1.6062617065155827e-314},
v16_int8 = '\0' <repeats 12 times>, "ÁÈ\000",
v8_int16 = {0, 0, 0, 0, 0, 0, -15928, 0},
v4_int32 = {0, 0, 0, -1043857408},
v2_int64 = {0, 3251109888},
uint128 = 220731254243328
} (raw 0x0000c8c1000000000000000000000000)
xmm5 {
v4_float = {0, 0, 0, -540},
v2_double = {0, 1.6248796810609476e-314},
v16_int8 = '\0' <repeats 12 times>, "Ä\a\000",
v8_int16 = {0, 0, 0, 0, 0, 0, -15353, 0},
v4_int32 = {0, 0, 0, -1006174208},
v2_int64 = {0, 3288793088},
uint128 = 8538394984448
} (raw 0x000007c4000000000000000000000000)
xmm6 {
v4_float = {0, 0, 0, 540},
v2_double = {0, 5.6388178557831142e-315},
v16_int8 = '\0' <repeats 12 times>, "D\a\000",
v8_int16 = {0, 0, 0, 0, 0, 0, 17415, 0},
v4_int32 = {0, 0, 0, 1141309440},
v2_int64 = {0, 1141309440},
uint128 = 7988639170560
} (raw 0x00000744000000000000000000000000)
xmm7 {
v4_float = {0, 0, 0, 0},
v2_double = {0, 0},
v16_int8 = '\0' <repeats 15 times>,
v8_int16 = {0, 0, 0, 0, 0, 0, 0, 0},
v4_int32 = {0, 0, 0, 0},
v2_int64 = {0, 0},
uint128 = 0
} (raw 0x00000000000000000000000000000000)
mxcsr 0x1fa2 8098
mm0 {
uint64 = -9187201950435737472,
v2_int32 = {-2139062144, -2139062144},
v4_int16 = {-32640, -32640, -32640, -32640},
v8_int8 = ""
} (raw 0x8080808080808080)
mm1 {
uint64 = -9187201950435737472,
v2_int32 = {-2139062144, -2139062144},
v4_int16 = {-32640, -32640, -32640, -32640},
v8_int8 = ""
} (raw 0x8080808080808080)
mm2 {
uint64 = 1246382666,
v2_int32 = {1246382666, 0},
v4_int16 = {19018, 19018, 0, 0},
v8_int8 = "JJJJ\000\000\000"
} (raw 0x000000004a4a4a4a)
mm3 {
uint64 = 1246382666,
v2_int32 = {1246382666, 0},
v4_int16 = {19018, 19018, 0, 0},
v8_int8 = "JJJJ\000\000\000"
} (raw 0x000000004a4a4a4a)
mm4 {
uint64 = -9223372036854775808,
v2_int32 = {0, -2147483648},
v4_int16 = {0, 0, 0, -32768},
v8_int8 = "\000\000\000\000\000\000\000"
} (raw 0x8000000000000000)
mm5 {
uint64 = -9223372036854775808,
v2_int32 = {0, -2147483648},
v4_int16 = {0, 0, 0, -32768},
v8_int8 = "\000\000\000\000\000\000\000"
} (raw 0x8000000000000000)
mm6 {
uint64 = -8718968878589280256,
v2_int32 = {0, -2030043136},
v4_int16 = {0, 0, 0, -30976},
v8_int8 = "\000\000\000\000\000\000\000"
} (raw 0x8700000000000000)
mm7 {
uint64 = -1152921504606846976,
v2_int32 = {0, -268435456},
v4_int16 = {0, 0, 0, -4096},
v8_int8 = "\000\000\000\000\000\000\000ð"
} (raw 0xf000000000000000)
(gdb)
More information about the MPlayer-users
mailing list