[MPlayer-users] mplayer quit unexpectedly

0 views
Skip to first unread message

Zongyao Qu

unread,
Feb 13, 2012, 5:03:23 AM2/13/12
to mplaye...@mplayerhq.hu
mplayer: the latest version,
ffmpeg: the latest version.
OS: Mac OS X 10.7

make distclean & build.

issue is that,
for some certain mkv files, when I press the direction
arrow keys to forward/backward, mplayer will quit
unexpectedly,
not every time, but 8 out of 10 times.

But for some files, it plays smoothly.

I will paste the log below,

Sorry currently I don't know how much more I
could offer my help.
if any further info or test required, please tell me.


QZY:mplayer NILTSH$ ./mplayer -cache 10000 -v
/Volumes/Work/Downloads/Puss.In.Boots.2011.720p.BluRay.x264.DTS-HDChina/
Puss.In.Boots.2011.720p.BluRay.x264.DTS-HDChina.mkv
MPlayer UNKNOWN-4.2.1 (C) 2000-2012 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'
Reading optional codecs config file /Users/NILTSH/.mplayer/codecs.conf:
No such file or directory
Reading optional codecs config file /usr/local/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') -> '/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 --enable-decoder=vda
--extra-cflags=-mmacosx-version-min=10.6
--extra-ldflags=-mmacosx-version-min=10.6 -framework CoreFoundation
-framework VideoDecodeAcceleration -framework QuartzCore
CommandLine: '-cache' '10000' '-v'
'/Volumes/Work/Downloads/Puss.In.Boots.2011.720p.BluRay.x264.DTS-HDChina
/Puss.In.Boots.2011.720p.BluRay.x264.DTS-HDChina.mkv'
Using Darwin accurate timing
get_path('input.conf') -> '/Users/NILTSH/.mplayer/input.conf'
Reading optional input config file /Users/NILTSH/.mplayer/input.conf: No
such file or directory
Reading optional input config file /usr/local/etc/mplayer/input.conf: No
such file or directory
Falling back on default (hardcoded) input config
get_path('Puss.In.Boots.2011.720p.BluRay.x264.DTS-HDChina.mkv.conf') ->
'/Users/NILTSH/.mplayer/Puss.In.Boots.2011.720p.BluRay.x264.DTS-HDChina.
mkv.conf'

Playing
/Volumes/Work/Downloads/Puss.In.Boots.2011.720p.BluRay.x264.DTS-HDChina/
Puss.In.Boots.2011.720p.BluRay.x264.DTS-HDChina.mkv.
get_path('sub/') -> '/Users/NILTSH/.mplayer/sub/'
[file] File size is 4152360843 bytes
STREAM: [file]
/Volumes/Work/Downloads/Puss.In.Boots.2011.720p.BluRay.x264.DTS-HDChina/
Puss.In.Boots.2011.720p.BluRay.x264.DTS-HDChina.mkv
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
Cache fill: 0.00% (0 bytes)

libavformat version 54.0.100 (internal)
Configuration: --enable-gpl --enable-postproc
LAVF_check: Matroska/WebM file format
libavformat file format detected.
st:0 removing common factor 1000000 from timebase
st:1 removing common factor 1000000 from timebase
st:2 removing common factor 1000000 from timebase
st:3 removing common factor 1000000 from timebase
[h264 @ 0x1009239a0]no picture
[dca @ 0x1009239a0]Stream with high frequencies VQ coding
[h264 @ 0x1009239a0]no picture
[matroska,webm @ 0x100919c40]All info found
rfps: 23.750000 0.011872
rfps: 23.750000 0.011872
rfps: 23.833333 0.004757
rfps: 23.916667 0.000861
rfps: 24.000000 0.000184
rfps: 24.083333 0.002727
rfps: 24.166667 0.008490
rfps: 24.166667 0.008490
rfps: 24.250000 0.017472
rfps: 24.250000 0.017472
rfps: 47.666667 0.019027
rfps: 47.750000 0.009625
rfps: 47.833333 0.003443
rfps: 47.916667 0.000480
rfps: 48.000000 0.000737
rfps: 48.083333 0.004213
rfps: 48.166667 0.010909
rfps: 23.976024 0.000049
==> Found video stream: 0
======= VIDEO Format ======
biSize 81
biWidth 1280
biHeight 544
biPlanes 0
biBitCount 0
biCompression 875967048='H264'
biSizeImage 0
Unknown extra header dump: [1] [64] [0] [29] [ff] [e1] [0] [18] [67]
[64] [0] [29] [ac] [52] [d] [1] [40] [11] [68] [40] [0] [0] [fa] [40]
[0] [2e] [e0] [23] [c6] [c] [63] [60] [1] [0] [6] [68] [e8] [ce] [cb]
[22] [c0]
===========================
[lavf] stream 0: video (h264), -vid 0
==> Found audio stream: 1
======= WAVE Format =======
Format Tag: 8193 (0x2001)
Channels: 6
Samplerate: 48000
avg byte/sec: 192000
Block align: 1
bits/sample: 0
cbSize: 0
=================================================================
=======
==
[lavf] stream 1: audio (dca), -aid 0, -alang eng
[lavf] stream 2: subtitle (pgssub), -sid 0, -slang eng
[lavf] stream 3: subtitle (pgssub), -sid 1, -slang eng
LAVF: 1 audio and 1 video streams found
LAVF: build 3539044
VIDEO: [H264] 1280x544 0bpp 23.976 fps 0.0 kbps ( 0.0 kbyte/s)
[V] filefmt:44 fourcc:0x34363248 size:1280x544 fps:23.976
ftime:=0.0417
Load subtitles in
/Volumes/Work/Downloads/Puss.In.Boots.2011.720p.BluRay.x264.DTS-HDChina/
get_path('sub/') -> '/Users/NILTSH/.mplayer/sub/'
=================================================================
=======
==
Opening video decoder: [ffmpeg] FFmpeg's libavcodec codec family
libavcodec version 54.1.100 (internal)
Configuration: --enable-gpl --enable-postproc
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
INFO: libavcodec "dca" init OK!
[dca @ 0x1009239a0]Stream with high frequencies VQ coding
AUDIO: 48000 Hz, 2 ch, s16le, 1536.0 kbit/100.00% (ratio:
192000->192000)
Selected audio codec: [ffdca] afm: ffmpeg (FFmpeg DTS)
=================================================================
=======
==
Building audio filter chain for 48000Hz/2ch/s16le -> 0Hz/0ch/??...
[libaf] Adding filter dummy
[dummy] Was reinitialized: 48000Hz/2ch/s16le
[dummy] Was reinitialized: 48000Hz/2ch/s16le
Trying every known audio driver...
AO: [coreaudio] init([48000Hz][2ch][s16le][0])
AO: [coreaudio] got audio output device ID: 34 Name: Built-in Output
AO: [coreaudio] source: 48000.0Hz 16bit [lpcm][12][4][1][4][2] int LE S
packed
AO: [coreaudio] using 375 chunks of 512 bytes (buffer len 192000
bytes)
AO: [coreaudio] 48000Hz 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 48000Hz/2ch/s16le ->
48000Hz/2ch/s16le...
[dummy] Was reinitialized: 48000Hz/2ch/s16le
[dummy] Was reinitialized: 48000Hz/2ch/s16le
Starting playback...
Increasing filtered audio buffer size from 0 to 131072
Unsupported PixelFormat 61
Unsupported PixelFormat 53
Unsupported PixelFormat 81
[h264 @ 0x1009239a0]no picture
[h264 @ 0x1009239a0]no picture
[ffmpeg] aspect_ratio: 0.000000
VDec: vo config request - 1280 x 544 (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.35:1 - prescaling to correct movie aspect.
VO Config (1280x544->1280x544,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 @ 0x1009256d0]BICUBIC scaler, from yuv420p to yuyv422 using
MMX2
[swscaler @ 0x1009256d0]1280x544 -> 1280x544
[swscaler @ 0x1009256d0]lum srcW=1280 srcH=544 dstW=1280 dstH=544
xInc=65536 yInc=65536
[swscaler @ 0x1009256d0]chr srcW=640 srcH=272 dstW=640 dstH=544
xInc=65536 yInc=32768
REQ: flags=0x37 req=0x0
VO: [corevideo] 1280x544 => 1280x544 Packed YUY2
VO: Description: Mac OS X Core Video
VO: Author: Nicolas Plourde <nicolas...@gmail.com>
[ASPECT] Warning: No suitable new res found!
*** [scale] Exporting mp_image_t, 1280x544x12bpp YUV planar, 1044480
bytes
*** [vo] Allocating mp_image_t, 1280x544x16bpp YUV packed, 1392640 bytes
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: 3.8 V: 3.8 A-V: -0.003 ct: 0.039 0/ 0 24% 7% 1.7% 1 0 64%

------------------This is what happened when I pressed arrow key
cache_stream_seek: WARNING! Can't seek to 0xF793900A !
[h264 @ 0x1009239a0]no picture
[h264 @ 0x1009239a0]no picture
A: 24.1 V: 24.1 A-V: 0.003 ct: 0.039 0/ 0 25% 8% 2.5% 0 0 50%
[matroska,webm @ 0x100919c40]Read error at pos. 46143858 (0x2c01972)
[matroska,webm @ 0x100919c40]Read error at pos. 46143859 (0x2c01973)
ds_fill_buffer: EOF reached (stream: audio)
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)
ds_fill_buffer: EOF reached (stream: video)
A: 25.1 V: 0.0 A-V: 25.088 ct: 0.100 0/ 0 ??% ??% ??,?% 0 0 40%
EOF code: 1

Uninit audio filters...
[libaf] Removing filter dummy
Uninit audio: ffmpeg
Uninit video: ffmpeg

Exiting... (End of file)


_______________________________________________
MPlayer-users mailing list
MPlaye...@mplayerhq.hu
https://lists.mplayerhq.hu/mailman/listinfo/mplayer-users

Roger Pack

unread,
Feb 14, 2012, 11:04:16 AM2/14/12
to MPlayer usage questions, feature requests, bug reports
does it segfault if run within gdb?

Reimar Döffinger

unread,
Feb 14, 2012, 2:37:33 PM2/14/12
to MPlayer usage questions, feature requests, bug reports
On Mon, Feb 13, 2012 at 10:03:23AM +0000, Zongyao Qu wrote:
> MPlayer UNKNOWN-4.2.1 (C) 2000-2012 MPlayer Team

Hm, not so very useful version information.

> ------------------This is what happened when I pressed arrow key
> cache_stream_seek: WARNING! Can't seek to 0xF793900A !
> [h264 @ 0x1009239a0]no picture
> [h264 @ 0x1009239a0]no picture
> A: 24.1 V: 24.1 A-V: 0.003 ct: 0.039 0/ 0 25% 8% 2.5% 0 0 50%
> [matroska,webm @ 0x100919c40]Read error at pos. 46143858 (0x2c01972)
> [matroska,webm @ 0x100919c40]Read error at pos. 46143859 (0x2c01973)
> ds_fill_buffer: EOF reached (stream: audio)

That just means it reached the end of the file during the seek,
thus it exits.
I made a few improvements to Matroska seeking in FFmpeg not
long ago, you can try if updating helps...

Zongyao Qu

unread,
Feb 14, 2012, 11:08:46 PM2/14/12
to mplaye...@mplayerhq.hu
> > MPlayer UNKNOWN-4.2.1 (C) 2000-2012 MPlayer Team
>
> Hm, not so very useful version information.

I was using clang,
export CC="clang"
before I did anything.

> I made a few improvements to Matroska seeking in FFmpeg not
> long ago, you can try if updating helps...

although it is a clang but I think, the latest ffmpeg just crash this
compiler. I will post the crash log below.

and I found if I revert the commit,
00ab9cdae1a96dfea33cd505076a83823f390aa4
jpeglsdec: Prevent out of array write.

clang did not crash anymore.

but when linking, this error
--------
Undefined symbols for architecture x86_64:
"_ff_librtmp_protocol", referenced from:
_av_register_all in libavformat.a(allformats.o)
ld: symbol(s) not found for architecture x86_64
--------
occurs.

then I tried to use gcc as the compiler.
export CC="gcc-4.2 -m64"
the same link error occurs.


Appe. the crash log of clang.

CC libavcodec/jpeglsdec.o
0 clang 0x000000010df0a312 _ZL15PrintStackTracePv + 34
1 clang 0x000000010df0a7e9 _ZL13SignalHandleri + 633
2 libsystem_c.dylib 0x00007fff908bbcfa _sigtramp + 26
3 libsystem_c.dylib 0x0000000000000003 _sigtramp + 18446603338091086627
4 clang 0x000000010dd9a6ab
llvm::LiveRangeEdit::eliminateDeadDefs(llvm::SmallVectorImpl<llvm::
MachineInstr*>&, llvm::LiveIntervals&, llvm::VirtRegMap&,
llvm::TargetInstrInfo const&) + 2155
5 clang 0x000000010d56a967 (anonymous
namespace)::InlineSpiller::spill(llvm::LiveRangeEdit&) + 11799
6 clang 0x000000010d3c4a94 (anonymous
namespace)::RAGreedy::selectOrSplit(llvm::LiveInterval&,
llvm::SmallVectorImpl<llvm::LiveInterval*>&) + 628
7 clang 0x000000010d353652
llvm::RegAllocBase::allocatePhysRegs() + 402
8 clang 0x000000010d352868 (anonymous
namespace)::RAGreedy::runOnMachineFunction(llvm::MachineFunction&) +
1144
9 clang 0x000000010d26adae
llvm::MachineFunctionPass::runOnFunction(llvm::Function&) + 110
10 clang 0x000000010d25b655
llvm::FPPassManager::runOnFunction(llvm::Function&) + 325
11 clang 0x000000010d26019b
llvm::FPPassManager::runOnModule(llvm::Module&) + 139
12 clang 0x000000010d25bdd4
llvm::MPPassManager::runOnModule(llvm::Module&) + 276
13 clang 0x000000010d25b958
llvm::PassManagerImpl::run(llvm::Module&) + 280
14 clang 0x000000010d25b83d
llvm::PassManager::run(llvm::Module&) + 13
15 clang 0x000000010d72a62d
clang::EmitBackendOutput(clang::Diagnostic&, clang::CodeGenOptions
const&, clang::TargetOptions const&, llvm::Module*,
clang::BackendAction, llvm::raw_ostream*) + 4381
16 clang 0x000000010d2431f6
clang::BackendConsumer::HandleTranslationUnit(clang::ASTContext&) + 246
17 clang 0x000000010d16b076 clang::ParseAST(clang::Sema&,
bool) + 422
18 clang 0x000000010d169aaf
clang::CodeGenAction::ExecuteAction() + 671
19 clang 0x000000010d15589b
clang::CompilerInstance::ExecuteAction(clang::FrontendAction&) + 875
20 clang 0x000000010d153918
clang::ExecuteCompilerInvocation(clang::CompilerInstance*) + 2696
21 clang 0x000000010d148115 cc1_main(char const**, char
const**, char const*, void*) + 5333
22 clang 0x000000010d12b27b main + 667
23 clang 0x000000010d12afd4 start + 52
Stack dump:
0. Program arguments: /usr/bin/clang -cc1 -triple
x86_64-apple-macosx10.6.0 -emit-obj -disable-free -disable-llvm-verifier
-main-file-name jpeglsdec.c -pic-level 1 -mdisable-fp-elim
-relaxed-aliasing -masm-verbose -munwind-tables -target-cpu core2
-target-linker-version 127.2 -coverage-file libavcodec/jpeglsdec.o
-resource-dir /usr/bin/../lib/clang/3.0 -dependency-file
libavcodec/jpeglsdec.d -MT libavcodec/jpeglsdec.o -sys-header-deps -MP
-D HAVE_AV_CONFIG_H -D _ISOC99_SOURCE -D _BSD_SOURCE -D
_LARGEFILE_SOURCE -D _FILE_OFFSET_BITS=64 -D _LARGEFILE64_SOURCE -D PIC
-I . -I ./ -I libdvdread4 -I . -I ffmpeg -I /usr/X11/include -I
/usr/local/include/freetype2 -I /usr/local/include -O3 -ferror-limit 19
-fmessage-length 100 -stack-protector 1 -fblocks
-fdiagnostics-show-option -fcolor-diagnostics -o libavcodec/jpeglsdec.o
-x c libavcodec/jpeglsdec.c
1. <eof> parser at end of file
2. Code generation
3. Running pass 'Function Pass Manager' on module
'libavcodec/jpeglsdec.c'.
4. Running pass 'Greedy Register Allocator' on function
'@ls_decode_line'
clang: error: unable to execute command: Segmentation fault: 11
clang: error: clang frontend command failed due to signal 2 (use -v to
see invocation)
make[1]: *** [libavcodec/jpeglsdec.o] Error 254

Roger Pack

unread,
Feb 15, 2012, 12:17:23 PM2/15/12
to MPlayer usage questions, feature requests, bug reports
> but when linking, this error
> --------
> Undefined symbols for architecture x86_64:
>  "_ff_librtmp_protocol", referenced from:
>      _av_register_all in libavformat.a(allformats.o)
> ld: symbol(s) not found for architecture x86_64
> --------
> occurs.

Maybe recompile from scratch so that it'll get a fresh ffmpeg install?

Zongyao Qu

unread,
Feb 15, 2012, 9:33:41 PM2/15/12
to mplaye...@mplayerhq.hu
> Maybe recompile from scratch so that it'll get a fresh ffmpeg install?
>
I am using make distclean, every time. so I think this is not the case.

Roger Pack

unread,
Feb 16, 2012, 10:48:35 AM2/16/12
to MPlayer usage questions, feature requests, bug reports
Not distclean, I mean from scratch, so it'll redownload ffmpeg for you
(or does distclean delete the ffmpeg folder? if so then it's good
enough).
Reply all
Reply to author
Forward
0 new messages