[MPlayer-users] mplayer crash extracting audio from rawdv file
Steven M. Schultz
sms at 2BSD.COM
Sat Dec 28 09:18:16 CET 2002
Greetings -
I can extract the audio from a .mpg file using the command:
mplayer -v -vc dummy -vo null -ao pcm -aofile foo.wav capture005.mpg
but when using a raw dv file (!form2 avi) with:
mplayer -v -vc dummy -vo null -ao pcm -aofile foo.wav capture005.dv
I get a MPlayer crashed message. Everything starts out fine, the
"AO: Description: RAW PCM/WAVE file writer audio output" indicates
that things are well under way and then the crash:
MPlayer CVS-021223-21:53-2.95.3 (C) 2000-2002 Arpad Gereoffy (see DOCS)
CPU: Intel Celeron 2/Pentium III Coppermine,Geyserville (Family: 6, Stepping: 1)
CPUflags: MMX: 1 MMX2: 1 3DNow: 0 3DNow2: 0 SSE: 0 SSE2: 0
Compiled for x86 CPU with extensions: MMX MMX2
Reading config file /usr/local/etc/mplayer/mplayer.conf: No such file or directory
Reading config file /users/sms/.mplayer/config
Reading /users/sms/.mplayer/codecs.conf: can't open '/users/sms/.mplayer/codecs.conf': No such file or directory
Reading /usr/local/etc/mplayer/codecs.conf: 49 audio & 125 video codecs
CommandLine: '-v' '-vc' 'dummy' '-vo' 'null' '-ao' 'pcm' '-aofile' 'foo.wav' 'capture005.dv'
get_path('font/font.desc') -> '/users/sms/.mplayer/font/font.desc'
font: can't open file: /users/sms/.mplayer/font/font.desc
Font /usr/local/share/mplayer/font/font.desc loaded successfully! (206 chars)
Using MMX (with tiny bit MMX2) Optimized OnScreenDisplay
Using usleep() timing
get_path('input.conf') -> '/users/sms/.mplayer/input.conf'
Parsing input config file /users/sms/.mplayer/input.conf
Input config file /users/sms/.mplayer/input.conf parsed : 50 binds
Playing capture005.dv
Not an URL!
File size is 161280000 bytes
Checking for YUV4MPEG2
DEMUXER: freeing demuxer at 0x8450000
ASF_check: not ASF guid!
DEMUXER: freeing demuxer at 0x8450000
Checking for NuppelVideo
DEMUXER: freeing demuxer at 0x8450000
Checking for MOV
DEMUXER: freeing demuxer at 0x8450000
Checking for VIVO
header block 1 size: 7
DEMUXER: freeing demuxer at 0x8450000
Checking for REAL
DEMUXER: freeing demuxer at 0x8450000
DEMUXER: freeing demuxer at 0x8450000
DEMUXER: freeing demuxer at 0x8450000
DEMUXER: freeing demuxer at 0x8450000
DEMUXER: freeing demuxer at 0x8450000
Checking for SMJPEG
DEMUXER: freeing demuxer at 0x8450000
DEMUXER: freeing demuxer at 0x8451000
Checking for PVA
DEMUXER: freeing demuxer at 0x8451000
sync_mpeg_ps: seems to be MP3 stream...
MPEG Stream reached EOF
ds_fill_buffer: EOF reached (stream: video)
MPEG packet stats: p100: 0 p101: 0 PES: 2 MP3: 101
Not MPEG System Stream format... (maybe Transport Stream?)
DEMUXER: freeing demuxer at 0x8451000
Checking for DV
Detected RAWDV file format!
demux_open_rawdv() end_pos 161280000
==> Found video stream: 0
demux_open_rawdv() frame_size: 120000 w: 720 h: 480 dif_seq: 10 system: 1
demux_open_rawdv() seek to 0, size: 120000, dv_dec->frame_size: 120000
==> Found audio stream: 0
demux_open_rawdv() chan: 2 samplerate: 48000
[V] filefmt:22 fourcc:0x44535644 size:720x480 fps:29.97 ftime:=0.0334
get_path('sub/') -> '/users/sms/.mplayer/sub/'
==========================================================================
Opening audio decoder: [libdv] Raw DV Audio Decoder
dec_audio: Allocating 15552 + 65536 = 81088 bytes for output buffer
AUDIO: 48000 Hz, 2 ch, 16 bit (0x10), ratio: 3596399->192000 (28771.2 kbit)
Selected audio codec: [libdv] afm:libdv (raw DV audio decoder (libdv))
==========================================================================
==========================================================================
Forced video codec: dummy
get_path('codecs.conf') -> '/users/sms/.mplayer/codecs.conf'
*** Try to upgrade /users/sms/.mplayer/codecs.conf from etc/codecs.conf
*** If it still does not work, read DOCS/codecs.html!
Can't find codec matching selected -vo and video format 0x44535644!
==========================================================================
PCM: File: foo.wav (WAVE)
PCM: Samplerate: 48000Hz Channels: Stereo Format Signed 16-bit (Little-Endian)
PCM: Info: fastest dumping is achieved with -vc null -vo null
PCM: Info: to write WAVE files use -waveheader (default); for RAW PCM -nowaveheader.
AO: [pcm] 48000Hz 2ch Signed 16-bit (Little-Endian)
AO: Description: RAW PCM/WAVE file writer audio output
AO: Author: Atmosfear
Building audio filter chain for 48000Hz/2ch/16bit -> 48000Hz/2ch/16bit...
Adding filter dummy
[dummy] Was reinitialized, rate=48000Hz, nch = 2, format = 0x00000001 and bps = 2
[dummy] Was reinitialized, rate=48000Hz, nch = 2, format = 0x00000001 and bps = 2
Video: no video!!!
Freeing 0 unused video chunks
Start playing...
MPlayer interrupted by signal 11 in module: decode_audio
- MPlayer crashed by bad usage of CPU/FPU/RAM. Recompile MPlayer with --enable-debug and make a 'gdb' backtrace and disassembly. For details, see DOCS/bugreports.html section 5.b.
- MPlayer crashed. This shouldn't happen. It can be a bug in the MPlayer code _or_ in your drivers _or_ in your gcc version. If you think it's MPlayer's fault, please read DOCS/bugreports.html and follow instructions there. We can't and won't help unless you provide these informations when reporting a possible bug.
Uninit audio filters...
uninit audio: libdv
DEMUXER: freeing demuxer at 0x8451000
DEMUXER: freeing sh_audio at 0x849c300
DEMUXER: freeing sh_video at 0x849c200
vo: x11 uninit called but X11 not inited..
What did I do wrong _this time_ :)
Cheers,
Steven Schultz
sms at 2bsd.com
More information about the MPlayer-users
mailing list