[MPlayer-users] mplayer ( and transcode ) can't detect sound in a VOB file
Daniel Kasak
ayahuasca at internode.on.net
Sat Sep 6 00:02:39 CEST 2003
Hi all.
I have a couple of vob files ( 8 Mile ) taking up a LOT of room on my
hard disk :)
I'd like to encode them so I can burn the movie onto CD and free some
space, but mplayer, mencoder and transcode all have problems with the
audio of the 3rd and 4th VOB file - ie they can't play it at all.
Transcode gives some cryptic error about there being no audio track.
However xine plays all of the VOB files with no issues. When I
right-click the video window in xine and ask for details of the current
stream, I'm told the audio is:
Codec: A/52 5.1
Channels: 2
Bitrate: 384000
Bits: 16
Samplerate: 48000
Below is the output of mplayer -v -vo xv -ao alsa9 VTS_01_3.VOB.
Areas of note are:
- audio detected as 'AC3: 2.0 (stereo) 11025 Hz 144.0 kbit/s'
- 'a52: CRC check failed!' // 'a52: error at resampling' errors
scattered around the place
Does anyone know what's up, or how I might go about extracting the audio
into a more mencoder-friendly format so I can encode it?
Thanks!
Dan
--
MPlayer 1.0pre1-3.3.1 (C) 2000-2003 MPlayer Team
CPU: Advanced Micro Devices Athlon 4 PM Palomino/Athlon MP
Multiprocessor/Athlon XP eXtreme Performance (Family: 6, Stepping: 2)
Detected cache-line size is 64 bytes
SSE supported but disabled
CPUflags: MMX: 1 MMX2: 1 3DNow: 1 3DNow2: 1 SSE: 0 SSE2: 0
Compiled for x86 CPU with extensions: MMX MMX2 3DNow 3DNowEx
Reading config file /usr/share/mplayer/mplayer.conf
Reading config file /root/.mplayer/config
Reading /root/.mplayer/codecs.conf: Can't open
'/root/.mplayer/codecs.conf': No such file or directory
Reading /usr/share/mplayer/codecs.conf: 60 audio & 156 video codecs
CommandLine: '-v' 'VTS_01_3.VOB'
get_path('font/font.desc') -> '/root/.mplayer/font/font.desc'
font: can't open file: /root/.mplayer/font/font.desc
font: can't open file: /usr/share/mplayer/font/font.desc
init_freetype
Using MMX (with tiny bit MMX2) Optimized OnScreenDisplay
Using Linux hardware RTC timing (1024Hz).
get_path('input.conf') -> '/root/.mplayer/input.conf'
Can't open input config file /root/.mplayer/input.conf: No such file or
directory
Parsing input config file /usr/share/mplayer/input.conf
Input config file /usr/share/mplayer/input.conf parsed: 52 binds
get_path('VTS_01_3.VOB.conf') -> '/root/.mplayer/VTS_01_3.VOB.conf'
Playing VTS_01_3.VOB
[file] File size is 1073395712 bytes
STREAM: [file] VTS_01_3.VOB
STREAM: Description: File
STREAM: Author: Albeu
STREAM: Comment: based on the code from ??? (probably Arpi)
CACHE_PRE_INIT: 0 [0] 0 pre:0 eof:131072
Cache fill: 1.56% (131072 bytes) Checking for YUV4MPEG2
DEMUXER: freeing demuxer at 0x8589c40
ASF_check: not ASF guid!
DEMUXER: freeing demuxer at 0x8589c40
Checking for NuppelVideo
DEMUXER: freeing demuxer at 0x8589c40
Checking for REAL
DEMUXER: freeing demuxer at 0x8589c40
Checking for SMJPEG
DEMUXER: freeing demuxer at 0x8589c40
DEMUXER: freeing demuxer at 0x858a4a8
Searching demuxer type for filename VTS_01_3.VOB ext: .VOB
Trying demuxer 2 based on filename extension
system stream synced at 0xD (0)!
==> Found video stream: 0
MPEG-PS file format detected.
==> Found audio stream: 137
Searching for sequence header... OK!
VIDEO: MPEG2 720x576 (aspect 3) 25.000 fps 9800.0 kbps (1225.0 kbyte/s)
[V] filefmt:2 fourcc:0x10000002 size:720x576 fps:25.00 ftime:=0.0400
get_path('sub/') -> '/root/.mplayer/sub/'
get_path('default.sub') -> '/root/.mplayer/default.sub'
==========================================================================
Opening audio decoder: [liba52] AC3 decoding with liba52
dec_audio: Allocating 3840 bytes for input buffer
dec_audio: Allocating 6144 + 65536 = 71680 bytes for output buffer
Using 3DNowEx optimized IMDCT transform
==> Found audio stream: 128
==> Found subtitle: 0
==> Found subtitle: 1
==> Found subtitle: 2
==> Found subtitle: 3
==> Found subtitle: 4
==> Found subtitle: 5
==> Found subtitle: 6
==> Found subtitle: 7
a52: CRC check failed!
AC3: 2.0 (stereo) 11025 Hz 144.0 kbit/s
A52 flags before a52_frame: 0x2A
A52 flags after a52_frame: 0x2
Using MMX optimized resampler
AUDIO: 11025 Hz, 2 ch, 16 bit (0x10), ratio: 18000->44100 (144.0 kbit)
Selected audio codec: [a52] afm:liba52 (AC3-liba52)
==========================================================================
X11 opening display: :0.0
vo: X11 color mask: FFFFFF (R:FF0000 G:FF00 B:FF)
vo: X11 running at 1024x768 with depth 24 and 32 bpp (":0.0" => local
display)
[x11] Detected wm supports layers.
[x11] Using workaround for Metacity bugs.
[x11] Detected wm supports NetWM.
[x11] Detected wm supports FULLSCREEN state.
[x11] Detected wm supports ABOVE state.
[x11] Detected wm supports BELOW state.
[x11] Current fstype setting honours FULLSCREEN ABOVE BELOW X atoms
Disabling DPMS
DPMSDisable stat: 1
==========================================================================
Opening video decoder: [mpegpes] MPEG 1/2 Video passthrough
VDec: vo config request - 720 x 576 (preferred csp: Mpeg PES)
Trying filter chain: vo
Could not find matching colorspace - retrying with -vop scale...
Opening video filter: [scale]
SwScale params: -1 x -1 (-1=no scaling)
Trying filter chain: scale vo
The selected video_out device is incompatible with this codec.
VDecoder init failed :(
Opening video decoder: [libmpeg2] MPEG 1/2 Video decoder libmpeg2-v0.3.1
Selected video codec: [mpeg12] vfm:libmpeg2 (MPEG 1 or 2 (libmpeg2))
==========================================================================
Checking audio filter chain for 11025Hz/2ch/16bit -> 11025Hz/2ch/16bit...
[libaf] Adding filter dummy
[dummy] Was reinitialized, rate=11025Hz, nch = 2, format = 0x00000001
and bps = 2
AF_pre: af format: 2 bps, 2 ch, 11025 hz, little endian signed int
AF_pre: 11025Hz 2ch Signed 16-bit (Little-Endian)
alsa-init: requested format: 11025 Hz, 2 channels, Signed 16-bit
(Little-Endian)
alsa-init: compiled for ALSA-0.9.6
alsa-init: got device=0, subdevice=0
alsa-init: 1 soundcard found, using: hw:0,0
alsa-init: pcm opend in block-mode
alsa-init: chunksize set to 1024
alsa-init: current val=16, fragcount=16
alsa-init: got buffersize=65536
alsa9: 11025 Hz/2 channels/4 bpf/65536 bytes buffer/Signed 16 bit Little
Endian
AO: [alsa9] 11025Hz 2ch Signed 16-bit (Little-Endian) (2 bps)
AO: Description: ALSA-0.9.x audio output
AO: Author: Alex Beregszaszi, Joy Winter <joy at pingfm.org>
AO: Comment: under developement
Building audio filter chain for 11025Hz/2ch/16bit -> 11025Hz/2ch/16bit...
[dummy] Was reinitialized, rate=11025Hz, nch = 2, format = 0x00000001
and bps = 2
[dummy] Was reinitialized, rate=11025Hz, nch = 2, format = 0x00000001
and bps = 2
Starting playback...
alsa-space: free space = 65536, status=143296536, prepared --
a52: error at resampling
VDec: vo config request - 720 x 576 (preferred csp: Planar YV12)
Trying filter chain: vo
VDec: using Planar YV12 as output csp (no 0)
Movie-Aspect is 1.78:1 - prescaling to correct movie aspect.
VO Config (720x576->1024x576,flags=5,'MPlayer',0x32315659)
VO: [xv] 720x576 => 1024x576 Planar YV12 [fs] [zoom]
VO: Description: X11/Xv
VO: Author: Gerd Knorr <kraxel at goldbach.in-berlin.de> and others
Xvideo image format: 0x32595559 (YUY2) packed
Xvideo image format: 0x59565955 (UYVY) packed
Xvideo image format: 0x32315659 (YV12) planar
Xvideo image format: 0x30323449 (I420) planar
[x11] NET style stay on top (layer 1). Using state _NET_WM_STATE_ABOVE.
using Xvideo port 69 for hw scaling
[xv-fs] dx: 0 dy: 96 dw: 1024 dh: 576
[xv] dx: 0 dy: 96 dw: 1024 dh: 576
*** [vo] Allocating mp_image_t, 720x576x12bpp YUV planar, 622080 bytes
[xv] dx: 0 dy: 0 dw: 1024 dh: 768
[xv-fs] dx: 0 dy: 96 dw: 1024 dh: 576
alsa-space: free space = 65536, status=140150112, prepared --0.0% 0 0 54%
a52: CRC check failed!
a52: error at resampling
*** [vo] Allocating (slices) mp_image_t, 720x576x12bpp YUV planar,
622080 bytes
get_path('subfont.ttf') -> '/root/.mplayer/subfont.ttf'
Unicode font: 1185 glyphs.
alsa-space: free space = 65536, status=144312288, prepared --0.0% 0 0 47%
a52: CRC check failed!
a52: error at resampling
alsa-space: free space = 65536, status=140212928, prepared --0.0% 0 0 41%
a52: CRC check failed!
a52: error at resampling
alsa-space: free space = 65536, status=146379472, prepared --0.0% 0 0 27%
Too many video packets in the buffer: (4096 in 8261791 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.
ds_fill_buffer: EOF reached (stream: audio)
alsa-space: free space = 65536, status=148857064, prepared --0.0% 0 0 40%
*** [vo] Allocating mp_image_t, 720x576x12bpp YUV planar, 622080 bytes
alsa-space: free space = 65536, status=140268344, prepared --.0% 0 0 40%
alsa-space: free space = 65536, status=140268344, prepared --.0% 0 0 40%
alsa-space: free space = 65536, status=140268344, prepared --.0% 0 0 40%
alsa-space: free space = 65536, status=140268344, prepared --.0% 0 0 40%
alsa-space: free space = 65536, status=140268344, prepared --.0% 0 0 40%
alsa-space: free space = 65536, status=140268344, prepared --.0% 0 0 40%
alsa-space: free space = 65536, status=140268344, prepared --.0% 0 0 40%
alsa-space: free space = 65536, status=140268344, prepared --.0% 0 0 40%
alsa-space: free space = 65536, status=140268344, prepared --.0% 0 0 40%
alsa-space: free space = 65536, status=140268344, prepared --.0% 0 0 40%
Uninit audio filters...12.095 ct: 0.052 14/ 14 29% 8% 14.6% 0 0 40%
[libaf] Removing filter dummy
uninit audio: liba52
uninit video: libmpeg2
DEMUXER: freeing demuxer at 0x858a4a8
DEMUXER: freeing sh_video at 0x8586ac8
DEMUXER: freeing sh_audio at 0x858f4c0
DEMUXER: freeing sh_audio at 0x8586cd8
Successfully enabled DPMS
alsa-uninit: pcm closed
vo: uninit ...
Exiting... (Quit)
More information about the MPlayer-users
mailing list