[MPlayer-users] Can't extract audio from a VOB file
Noah Spurrier
noah at noah.org
Tue Jul 11 23:08:15 CEST 2006
Hello,
I'm trying to extract the audio track from a VOB file using the following
command:
mplayer LSE0NNW11-1.vob -vc null -vo null -aid 128 -ao pcm -noframedrop
I end up with an audiodump.wav file that is only 3 seconds long.
This command works on all of the other VOB files I have tried so far,
so there must be something odd about this file.
The video plays and sounds fine when I watch it with mplayer.
If I actually PLAY the video and save the audio while it's playing then
I am able to extract it successfully, but then I have to wait through
the entire movie:
mplayer LSE0NNW11-1.vob -aid 128 -ao pcm -noframedrop
When trying to extract the audio I periodically I will get the following two
warning messages --
1. this one:
demux_mpg: 24000/1001fps progressive NTSC content detected, switching
framerate.
2. and this one:
For AVI files, try to force non-interleaved mode with the -ni option.
a52: CRC check failed!
a52: error at resampling
Too many video packets in the buffer: (4096 in 8143544 bytes).
Maybe you are playing a non-interleaved stream/file or the codec failed?
For AVI files, try to force non-interleaved mode with the -ni option.
Are these clues or false leads?
Yours,
Noah
P.S. Here is the header output when I start trying to extract the audio:
MPlayer 1.0pre8-4.0.2 (C) 2000-2006 MPlayer Team
CPU: mobile AMD Athlon(tm) XP-M 1400+ (Family: 6, Model: 8, Stepping: 0)
CPUflags: MMX: 1 MMX2: 1 3DNow: 1 3DNow2: 1 SSE: 1 SSE2: 0
Compiled for x86 CPU with extensions: MMX MMX2 3DNow 3DNowEx SSE
Linux RTC init error in ioctl (rtc_irqp_set 1024): Permission denied
Try adding "echo 1024 > /proc/sys/dev/rtc/max-user-freq" to your system
startup scripts.
Playing LSE0NNW11-1.vob.
MPEG-PS file format detected.
VIDEO: MPEG2 720x480 (aspect 3) 29.970 fps 8000.0 kbps (1000.0 kbyte/s)
==========================================================================
Opening audio decoder: [liba52] AC3 decoding with liba52
Using SSE optimized IMDCT transform
AC3: 5.1 (3f+2r+lfe) 48000 Hz 448.0 kbit/s
Using MMX optimized resampler
AUDIO: 48000 Hz, 2 ch, s16le, 448.0 kbit/29.17% (ratio: 56000->192000)
Selected audio codec: [a52] afm: liba52 (AC3-liba52)
==========================================================================
==========================================================================
Forced video codec: null
Opening video decoder: [null] Null video decoder
VDec: vo config request - 720 x 480 (preferred colorspace: BGR 24-bit)
VDec: using Planar YV12 as output csp (no 0)
Movie-Aspect is undefined - no prescaling applied.
VO: [null] 720x480 => 720x480 Planar YV12
Selected video codec: [null] vfm: null (NULL codec (no decoding!))
==========================================================================
[AO PCM] File: audiodump.wav (WAVE)
PCM: Samplerate: 48000Hz 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] 48000Hz 2ch s16le (2 bytes per sample)
Starting playback...
For AVI files, try to force non-interleaved mode with the -ni option.
a52: CRC check failed!
a52: error at resampling
Too many video packets in the buffer: (4096 in 8143544 bytes).
Maybe you are playing a non-interleaved stream/file or the codec failed?
For AVI files, try to force non-interleaved mode with the -ni option.
demux_mpg: 24000/1001fps progressive NTSC content detected, switching
framerate.
More information about the MPlayer-users
mailing list