[MPlayer-users] Crash when dumping pcm with -ss (start position)

Sebastian Kemper sebastian_ml at gmx.net
Tue Sep 25 15:01:56 CEST 2007


Hello all,

I was trying to extract a little snippet of audio from a movie when
mplayer crashed. I tried some more sources and so far I haven't found an
avi file that doesn't crash mplayer when supplying a start position on
the command line - e.g. -ss 5:00

OTOH when trying to extract a snippet from a DVD mplayer doesn't crash.
Also when dumping the whole audio stream from _whatever_ source it
doesn't.

This is mplayer SVN on Gentoo x86. The crash happens with mplayer CFLAGS
as well as with my own less aggressive CFLAGS. It also happens with the
current Gentoo mplayer version 1.0_rc1_p20070824.

After a crash the audiodump.wav is 44 Bytes of size if that matters.
I'm going to attach the verbose capture of the mplayer console output to
this mail.

If there's any interest I can try to add a gdb backtrace/whatever, but
I haven't got this gdb stuff figured out because the guide at
http://www.mplayerhq.hu/DOCS/HTML/en/bugreports_what.html#bugreports_core
doesn't (yet) work for me.

Regards
Sebastian
-------------- next part --------------
MPlayer dev-SVN-r24603-4.1.2 (C) 2000-2007 MPlayer Team
CPU: AMD Sempron(tm)   2400+ (Family: 6, Model: 8, Stepping: 1)
CPUflags:  MMX: 1 MMX2: 1 3DNow: 1 3DNow2: 1 SSE: 1 SSE2: 0
Kompiliert f?r x86 CPU mit folgenden Erweiterungen: MMX MMX2 3DNow 3DNowEx SSE
get_path('codecs.conf') -> '/home/sk/.mplayer/codecs.conf'
Lese /home/sk/.mplayer/codecs.conf: Kann '/home/sk/.mplayer/codecs.conf' nicht ?ffnen: No such file or directory
Lese /usr/share/mplayer/codecs.conf: Kann '/usr/share/mplayer/codecs.conf' nicht ?ffnen: No such file or directory
Benutze eingebaute Standardwerte f?r codecs.conf.
Configuration: --cc=i686-pc-linux-gnu-gcc --host-cc=i686-pc-linux-gnu-gcc --libdir=/usr/lib --prefix=/usr --confdir=/usr/share/mplayer --datadir=/usr/share/mplayer --disable-menu --disable-cdparanoia --disable-faac --disable-gui --disable-xinerama --disable-vm --disable-xvmc --disable-cddb --disable-libvorbis --disable-libcdio --disable-smb --disable-x264 --disable-libdv --disable-faad-internal --disable-libdca --disable-arts --disable-sdl --disable-enca --disable-tv --disable-ftp --disable-win32dll --disable-dga1 --disable-dga2 --disable-real --disable-network --disable-live --disable-mad --disable-dvdnav --disable-libamr_nb --disable-libamr_wb --disable-png --disable-inet6 --disable-joystick --disable-rtc --disable-gif --disable-jpeg --disable-ladspa --disable-liblzo --disable-musepack --disable-faad-external --disable-theora --disable-3dfx --disable-dvbhead --disable-aa --disable-directfb --disable-fbdev --disable-xvid --disable-mencoder --disable-tga --disable-xf86keysym --disable-gl --disable-pnm --disable-ossaudio --disable-bitmap-font --disable-ass --disable-tremor-internal --disable-md5sum --disable-unrarlib --disable-qtx --disable-vidix-internal --disable-xanim --disable-fribidi --disable-encoder=MP3LAME_ENCODER
Kommandozeile: '-ss' '5:00' '-endpos' '60' '-vc' 'dummy' '-vo' 'null' '-ao' 'pcm' '-v' 'test.avi'
init_freetype
Using MMX (with tiny bit MMX2) Optimized OnScreenDisplay
Using nanosleep() timing
get_path('input.conf') -> '/home/sk/.mplayer/input.conf'
Parsing input config file /home/sk/.mplayer/input.conf
Input config file /home/sk/.mplayer/input.conf parsed: 63 binds
Initialisiere LIRC-Unterst?tzung...
get_path('test.avi.conf') -> '/home/sk/.mplayer/test.avi.conf'

Spiele test.avi.
get_path('sub/') -> '/home/sk/.mplayer/sub/'
[file] File size is 367994880 bytes
STREAM: [file] test.avi
STREAM: Description: File
STREAM: Author: Albeu
STREAM: Comment: based on the code from ??? (probably Arpi)
LAVF_check: avi format
AVI-Dateiformat erkannt!
list_end=0x22D6
======= AVI Header =======
us/frame: 41708  (fps=23.976)
max bytes/sec: 0
padding: 0
MainAVIHeader.dwFlags: (272) HAS_INDEX IS_INTERLEAVED
frames  total: 64420   initial: 0
streams: 2
Suggested BufferSize: 0
Size:  608 x 336
==========================
list_end=0x1138
==> Videostream gefunden: 0
[aviheader] Videostream gefunden, -vid 0
====== STREAM Header =====
Type: vids   FCC: xvid (64697678)
Flags: 0
Priority: 0   Language: 0
InitialFrames: 0
Rate: 2997/125 = 23.976
Start: 0   Len: 64420
Suggested BufferSize: 70377
Quality 10000
Sample size: 0
==========================
'bih' gefunden, 108 Byte von 40.
======= VIDEO Format ======
  biSize 40
  biWidth 608
  biHeight 336
  biPlanes 1
  biBitCount 24
  biCompression 1145656920='XVID'
  biSizeImage 612864
===========================
Erstelle Keyframe-Tabelle f?r MPEG4-Video neu.
list_end=0x21CA
==> Audiostream gefunden: 1
[aviheader] Audiostream gefunden, -aid 1
====== STREAM Header =====
Type: auds   FCC:  (0)
Flags: 0
Priority: 0   Language: 0
InitialFrames: 1
Rate: 48000/1152 = 41.667
Start: 0   Len: 111951
Suggested BufferSize: 960
Quality -1
Sample size: 0
==========================
'wf' gefunden, 30 Bytes von 18.
======= WAVE Format =======
Format Tag: 85 (0x55)
Channels: 2
Samplerate: 48000
avg byte/sec: 20060
Block align: 1152
bits/sample: 0
cbSize: 12
mp3.wID=1
mp3.fdwFlags=0x2
mp3.nBlockSize=481
mp3.nFramesPerBlock=1
mp3.nCodecDelay=0
==========================================================================
list_end=0x22D6
AVI: dmlh gefunden (size=248) (total_frames=64420).
list_end=0x22FA
hdr=Software  size=15
Software  : Nandub v1.0rc2
list_end=0x15C41606
Film von 0x280C - 0x15C41606 gefunden.
Lese INDEX-Block, 176371 Bl?cke f?r 64420 Frames (fpos=365172238).
AVI index offset: 0x2808 (movi=0x280C idx0=0x4 idx1=0x6C)
Auto-selected AVI audio ID = 1
Auto-selected AVI video ID = 0
AVI: Searching for audio stream (id:1)
AVI video size=309814146 (64420) audio size=53904912 (111951)
VIDEO:  [XVID]  608x336  24bpp  23.976 fps  922.5 kbps (112.6 kbyte/s)
[V] filefmt:3  fourcc:0x44495658  size:608x336  fps:23.98  ftime:=0.0417
Clip-Info:
 Software: Nandub v1.0rc2
get_path('sub/') -> '/home/sk/.mplayer/sub/'
==========================================================================
Erzwungener Videocodec: dummy
Kann keinen Codec finden, der zu gew?hlter Option -vo und Videoformat 0x44495658 passt!
Lies DOCS/HTML/de/codecs.html!
==========================================================================
==========================================================================
?ffne Audiodecoder: [mp3lib] MPEG layer-2, layer-3
dec_audio: Reserviere 4608 + 65536 = 70144 Bytes f?r den Ausgabepuffer.
mp3lib: using 3DNow!Ex optimized decore!
MP3lib: init layer2&3 finished, tables done

MPEG 1.0, Layer III, 48000 Hz 32 kbit Joint-Stereo, BPF: 96
Channels: 2, copyright: No, original: Yes, CRC: No, emphasis: 0
AUDIO: 48000 Hz, 2 ch, s16le, 32.0 kbit/2.08% (ratio: 4000->192000)
Ausgew?hlter Audiocodec: [mp3] afm: mp3lib (mp3lib MPEG layer-2, layer-3)
==========================================================================
Baue Tonfilterkette von 48000Hz/2ch/s16le nach 0Hz/0ch/?? auf...
[libaf] Adding filter dummy 
[dummy] Was reinitialized: 48000Hz/2ch/s16le
[dummy] Was reinitialized: 48000Hz/2ch/s16le
[AO PCM] Datei: audiodump.wav (WAVE)
PCM: Samplerate: 48000Hz Kan?le: Stereo Format s16le
[AO PCM] Info: Das Anlegen von Dump-Dateien wird am Schnellsten mit
         -vc dummy -vo null -ao pcm:fast erreicht.
[AO PCM] Info: Um WAVE-Dateien zu schreiben, benutze
         -ao pcm:waveheader (Standard).
AO: [pcm] 48000Hz 2ch s16le (2 bytes per sample)
AO: Description: RAW PCM/WAVE file writer audio output
AO: Author: Atmosfear
Baue Tonfilterkette von 48000Hz/2ch/s16le nach 48000Hz/2ch/s16le auf...
[dummy] Was reinitialized: 48000Hz/2ch/s16le
[dummy] Was reinitialized: 48000Hz/2ch/s16le
Video: kein Video
Freeing 0 unused video chunks.
Starte Wiedergabe...


MPlayer wurde durch Signal 11 im Modul seek unterbrochen.
- MPlayer st?rzte wegen falscher Benutzung der CPU/FPU/des RAMs ab.
  Kompiliere MPlayer erneut mit --enable-debug und erstelle mit 'gdb'
  einen Backtrace und eine Disassemblierung. Details dazu findest du
  in DOCS/HTML/de/bugreports_what.html#bugreports_crash.
- MPlayer ist abgest?rzt. Das sollte nicht passieren.
  Es kann sich um einen Fehler im MPlayer-Code _oder_ in deinen Treibern
  _oder_ in deinem gcc handeln. Wenn du meinst, es sei MPlayers Fehler, dann
  lies DOCS/HTML/de/bugreports.html und folge den dortigen Anweisungen.
  Wir k?nnen und werden dir nicht helfen, wenn du nicht alle dort aufgef?hrten
  Informationen zur Verf?gung stellst.
Uninit audio filters...
[libaf] Removing filter dummy 
Deinitialisiere Audio: mp3lib
vo: x11 uninit called but X11 not inited..


More information about the MPlayer-users mailing list