[MPlayer-users] How to extract a .WAV file from part of a dump file, Not Yet.

Martin McCormick martin at dc.cis.okstate.edu
Thu Jun 7 18:55:21 CEST 2007


I am really starting to feel dense. I have installed subversion
which works like a charm and then I got the mplayer sources
which built mplayer, also just fine and I am, in fact, listening
to an Internet radio station as I write this message so
things are not too dead in the water. I am still, however,
ending up with a very short .wav file that contains only the
first chunk of decoded audio and none of the segment I was
after.

-rw-r--r--  1 martin martin 65580 Jun  7 11:34 ./pgmaudio/output.wav

The file is exactly this length no matter what I put as the
endpos value. The command is as follows:

mplayer -vc null -vo null -ao pcm:file=output.wav -ss 8:54:15 -endpos 180 str
eam.dump

This goes 8 hours, 54 minutes and 15 seconds in to the dump file and
retrieves 180 seconds or 3 minutes which should be in the
output.wav file.

Here is the mplayer version message I get now on startup:

MPlayer dev-SVN-r23492-3.3.5 (C) 2000-2007 MPlayer Team
CPU: Intel Pentium III Katmai/Pentium III Xeon Tanner (Family: 6, Model: 7, Stepping: 3)
CPUflags:  MMX: 1 MMX2: 1 3DNow: 0 3DNow2: 0 SSE: 1 SSE2: 0
Compiled for x86 CPU with extensions: MMX MMX2 SSE

Playing stream.dump.
ASF file format detected.
[asfheader] Audio stream found, -aid 1
Clip info:
 name: KOSU HD-2
 author: Oklahoma Public Radio
 copyright: 2007 KOSU
 comments: NPR News & Classical Music
==========================================================================
Opening audio decoder: [ffmpeg] FFmpeg/libavcodec audio decoders
AUDIO: 44100 Hz, 2 ch, s16le, 64.0 kbit/4.54% (ratio: 8003->176400)
Selected audio codec: [ffwmav2] afm: ffmpeg (DivX audio v2 (FFmpeg))
==========================================================================
[AO PCM] File: output.wav (WAVE)
PCM: Samplerate: 44100Hz Channels: Stereo Format s16le
[AO PCM] Info: Faster dumping is achieved with -vc null -vo null -ao pcm:fast
[AO PCM] Info: To write WAVE files use -ao pcm:waveheader (default).
AO: [pcm] 44100Hz 2ch s16le (2 bytes per sample)
Video: no video
Starting playback...
A:477807.8 (132:43:27.7) of 2133437440.0 (-24.-8) ??,?% $<50>

Exiting... (End of file)

That's it. So close, but no joy.



More information about the MPlayer-users mailing list