[MPlayer-users] dumping ac3 audio doesnt work.

mdew mdew at mdew.dyndns.org
Mon Jun 9 12:59:17 CEST 2003


The Source File Details..
(Plays fine, Sound'n'all)

MPlayer 0.90-3.2.3 (C) 2000-2003 Arpad Gereoffy (see DOCS)

CPU: Intel Celeron 2/Pentium III Coppermine,Geyserville (Family: 6,
Stepping: 3)
Detected cache-line size is 32 bytes
CPUflags:  MMX: 1 MMX2: 1 3DNow: 0 3DNow2: 0 SSE: 1 SSE2: 0
Compiled for Debian
Reading config file /etc/mplayer/mplayer.conf
Reading config file /root/.mplayer/config
Reading /root/.mplayer/codecs.conf: 57 audio & 145 video codecs
CommandLine: '-v' 'metallica_dirty_pal.avi'
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
Failed to open /dev/rtc: No such device (mplayer should be setuid root
or /dev/rtc should be readable by the user.)
Using usleep() timing
get_path('input.conf') -> '/root/.mplayer/input.conf'
Parsing input config file /root/.mplayer/input.conf
Unknown key 'MOUSE_BTN'
Parsing input config file /etc/mplayer/input.conf
Input config file /etc/mplayer/input.conf parsed : 52 binds
Opening joystick device /dev/input/js0
Setting up LIRC support...
mplayer: could not connect to socket
mplayer: No such file or directory
Failed to open LIRC support.
You will not be able to use your remote control.
get_path('metallica_dirty_pal.avi.conf') ->
'/root/.mplayer/metallica_dirty_pal.avi.conf'

Playing metallica_dirty_pal.avi
Not an URL!
File size is 233082890 bytes
CACHE_PRE_INIT: 0 [0] 0  pre:0  eof:0
Cache fill:  0.00% (0 bytes)    AVI file format detected.
list_end=0x13A
======= AVI Header =======
us/frame: 40000  (fps=25.000)
max bytes/sec: 0
padding: 0
MainAVIHeader.dwFlags: (2320) HAS_INDEX IS_INTERLEAVED TRUST_CKTYPE
frames  total: 21585   initial: 0
streams: 2
Suggested BufferSize: 0
Size:  480 x 364
list_end=0xD4
==> Found video stream: 0
======= STREAM Header =======
Type: vids   FCC:  (0)
Flags: 0
Priority: 0   Language: 0
InitialFrames: 0
Rate: 250000/10000 = 25.000
Start: 0   Len: 21585
Suggested BufferSize: 38687
Quality 0
Sample size: 0
found 'bih', 40 bytes of 40
======= VIDEO Format ======
  biSize 40
  biWidth 480
  biHeight 364
  biPlanes 1
  biBitCount 24
  biCompression 1482049860='DIVX'
  biSizeImage 524160
===========================
Regenerating keyframe table for DIVX 4 video
list_end=0x13A
==> Found audio stream: 1
======= STREAM Header =======
Type: auds   FCC:  (0)
Flags: 0
Priority: 0   Language: 0
InitialFrames: 0
Rate: 28000/1 = 28000.000
Start: 0   Len: 24174080
Suggested BufferSize: 14000
Quality 0
Sample size: 1
found 'wf', 18 bytes of 18
======= WAVE Format =======
Format Tag: 8192 (0x2000)
Channels: 2
Samplerate: 48000
avg byte/sec: 28000
Block align: 1
bits/sample: 16
cbSize: 0
list_end=0x166
hdr=Software  size=24
Software  : MEncoder 0.90-3.2.3
Broken chunk?  chunksize=1682  (id=JUNK)
list_end=0xDDEDF02
Found movie at 0x80C - 0xDDEDF02
Reading INDEX block, 23312 chunks for 21585 frames (fpos=0xddedf0a)
AVI index offset: 0x808 (movi=0x80C idx0=0x4 idx1=0x36BC)
Auto-selected AVI audio ID = 1
Auto-selected AVI video ID = 0
Forced NON-INTERLEAVED AVI file format.
AVI: Searching for audio stream (id:1)
XXX initial  v_pts=0.000  a_pos=0 (0.000)
AVI video size=208336383 (21585) audio size=24174080 (24174080)
VIDEO:  [DIVX]  480x364  24bpp  25.00 fps  1930.4 kbps (235.6 kbyte/s)
[V] filefmt:3  fourcc:0x58564944  size:480x364  fps:25.00  ftime:=0.0400
Clip info:
 Software: MEncoder 0.90-3.2.3
get_path('sub/') -> '/root/.mplayer/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 SSE optimized IMDCT transform
AC3: 2.0 (stereo)  48000 Hz  224.0 kbit/s
A52 flags before a52_frame: 0x2A
A52 flags after a52_frame: 0x2
Using MMX optimized resampler
AUDIO: 48000 Hz, 2 ch, 16 bit (0x10), ratio: 28000->192000 (224.0 kbit)
Selected audio codec: [a52] afm:liba52 (AC3-liba52)
==========================================================================
X11 opening display: :0.0
vo: X11 color mask:  FFFF  (R:F800 G:7E0 B:1F)
vo: X11 running at 1024x768 with depth 16 and 16 bpp (":0.0" => local
display)
[x11] Detected wm supports NetWM.
[x11] Detected wm supports STAYS_ON_TOP state.
==========================================================================
Opening video decoder: [ffmpeg] FFmpeg's libavcodec codec family
INFO: libavcodec init OK!
Selected video codec: [ffodivx] vfm:ffmpeg (FFmpeg MPEG-4)
==========================================================================
Checking audio filter chain for 48000Hz/2ch/16bit ->
48000Hz/2ch/16bit...
[libaf] Adding filter dummy
[dummy] Was reinitialized, rate=48000Hz, nch = 2, format = 0x00000001
and bps = 2
AF_pre: af format: 2 bps, 2 ch, 48000 hz, little endian signed int
AF_pre: 48000Hz 2ch Signed 16-bit (Little-Endian)
ao2: 48000 Hz  2 chans  Signed 16-bit (Little-Endian)
audio_setup: using '/dev/dsp' dsp device
audio_setup: sample format: Signed 16-bit (Little-Endian) (requested:
Signed 16-bit (Little-Endian))
audio_setup: using 2 channels (requested: 2)
audio_setup: using 48000 Hz samplerate (requested: 48000)
audio_setup: frags:   8/8  (8192 bytes/frag)  free:  65536
AO: [oss] 48000Hz 2ch Signed 16-bit (Little-Endian) (2 bps)
AO: Description: OSS/ioctl audio output
AO: Author: A'rpi
Building audio filter chain for 48000Hz/2ch/16bit ->
48000Hz/2ch/16bit...
[dummy] Was reinitialized, rate=48000Hz, nch = 2, format = 0x00000001
and bps = 2
[dummy] Was reinitialized, rate=48000Hz, nch = 2, format = 0x00000001
and bps = 2
Starting playback...
This file was encoded with libavcodec build 4655
[ffmpeg] aspect_ratio: 1.318681
VDec: vo config request - 480 x 364 (preferred csp: Planar YV12)
Trying filter chain: vo
VDec: using Planar YV12 as output csp (no 0)
Movie-Aspect is 1.32:1 - prescaling to correct movie aspect.
VO Config (480x364->480x364,flags=0,'MPlayer',0x32315659)
VO: [xv] 480x364 => 480x364 Planar YV12
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: 0x32315659 (YV12) planar
Xvideo image format: 0x59565955 (UYVY) packed
Xvideo image format: 0x30323449 (I420) planar
using Xvideo port 76 for hw scaling
[xv] dx: 0 dy: 0 dw: 480 dh: 364
*** [vo] Allocating (slices) mp_image_t, 480x368x12bpp YUV planar,
264960 bytes
get_path('subfont.ttf') -> '/root/.mplayer/subfont.ttf'
Unicode font: 679 glyphs.
[xv] dx: 0 dy: 0 dw: 480 dh: 364
*** [vo] Allocating (slices) mp_image_t, 480x368x12bpp YUV planar,
264960 bytes
Uninit audio filters...-0.008 ct:  0.003  156/156  29%  9%  1.7% 8 0
95%%
[libaf] Removing filter dummy
uninit audio: liba52
uninit video: ffmpeg
DEMUXER: freeing demuxer at 0x856ca00
vo: uninit ...

Exiting... (Quit)

*** Ok, lets dump the ac3 audio...


mdew:/home/samba/public# mplayer -v -dumpaudio metallica_dirty_pal.avi
Using GNU internationalization
Original domain: messages
Original dirname: /usr/share/locale
Current domain: mplayer
Current dirname: /usr/share/locale


MPlayer 0.90-3.2.3 (C) 2000-2003 Arpad Gereoffy (see DOCS)

CPU: Intel Celeron 2/Pentium III Coppermine,Geyserville (Family: 6,
Stepping: 3)
Detected cache-line size is 32 bytes
CPUflags:  MMX: 1 MMX2: 1 3DNow: 0 3DNow2: 0 SSE: 1 SSE2: 0
Compiled for Debian
Reading config file /etc/mplayer/mplayer.conf
Reading config file /root/.mplayer/config
Reading /root/.mplayer/codecs.conf: 57 audio & 145 video codecs
CommandLine: '-v' '-dumpaudio' 'metallica_dirty_pal.avi'
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
Failed to open /dev/rtc: No such device (mplayer should be setuid root
or /dev/rtc should be readable by the user.)
Using usleep() timing
get_path('input.conf') -> '/root/.mplayer/input.conf'
Parsing input config file /root/.mplayer/input.conf
Unknown key 'MOUSE_BTN'
Parsing input config file /etc/mplayer/input.conf
Input config file /etc/mplayer/input.conf parsed : 52 binds
Opening joystick device /dev/input/js0
Setting up LIRC support...
mplayer: could not connect to socket
mplayer: No such file or directory
Failed to open LIRC support.
You will not be able to use your remote control.
get_path('metallica_dirty_pal.avi.conf') ->
'/root/.mplayer/metallica_dirty_pal.avi.conf'

Playing metallica_dirty_pal.avi
Not an URL!
File size is 233082890 bytes
CACHE_PRE_INIT: 0 [0] 0  pre:0  eof:0
Cache fill: 18.27% (2768896 bytes)    AVI file format detected.
list_end=0x13A
======= AVI Header =======
us/frame: 40000  (fps=25.000)
max bytes/sec: 0
padding: 0
MainAVIHeader.dwFlags: (2320) HAS_INDEX IS_INTERLEAVED TRUST_CKTYPE
frames  total: 21585   initial: 0
streams: 2
Suggested BufferSize: 0
Size:  480 x 364
list_end=0xD4
==> Found video stream: 0
======= STREAM Header =======
Type: vids   FCC:  (0)
Flags: 0
Priority: 0   Language: 0
InitialFrames: 0
Rate: 250000/10000 = 25.000
Start: 0   Len: 21585
Suggested BufferSize: 38687
Quality 0
Sample size: 0
found 'bih', 40 bytes of 40
======= VIDEO Format ======
  biSize 40
  biWidth 480
  biHeight 364
  biPlanes 1
  biBitCount 24
  biCompression 1482049860='DIVX'
  biSizeImage 524160
===========================
Regenerating keyframe table for DIVX 4 video
list_end=0x13A
==> Found audio stream: 1
======= STREAM Header =======
Type: auds   FCC:  (0)
Flags: 0
Priority: 0   Language: 0
InitialFrames: 0
Rate: 28000/1 = 28000.000
Start: 0   Len: 24174080
Suggested BufferSize: 14000
Quality 0
Sample size: 1
found 'wf', 18 bytes of 18
======= WAVE Format =======
Format Tag: 8192 (0x2000)
Channels: 2
Samplerate: 48000
avg byte/sec: 28000
Block align: 1
bits/sample: 16
cbSize: 0
list_end=0x166
hdr=Software  size=24
Software  : MEncoder 0.90-3.2.3
Broken chunk?  chunksize=1682  (id=JUNK)
list_end=0xDDEDF02
Found movie at 0x80C - 0xDDEDF02
Reading INDEX block, 23312 chunks for 21585 frames (fpos=0xddedf0a)
AVI index offset: 0x808 (movi=0x80C idx0=0x4 idx1=0x36BC)
Auto-selected AVI audio ID = 1
Auto-selected AVI video ID = 0
Forced NON-INTERLEAVED AVI file format.
AVI: Searching for audio stream (id:1)
XXX initial  v_pts=0.000  a_pos=0 (0.000)
AVI video size=208336383 (21585) audio size=24174080 (24174080)
VIDEO:  [DIVX]  480x364  24bpp  25.00 fps  1930.4 kbps (235.6 kbyte/s)
ds_fill_buffer: EOF reached (stream: audio)
Core dumped ;)
DEMUXER: freeing demuxer at 0x856ca00
vo: x11 uninit called but X11 not inited..

Exiting... (End of file)

mdew:/home/samba/public# ls -al stream.dump
-rw-r--r--    1 root     root     24174080 Jun  9 22:52 stream.dump

*** And now play the ac3 audio..

mdew:/home/samba/public# mplayer -v stream.dump
Using GNU internationalization
Original domain: messages
Original dirname: /usr/share/locale
Current domain: mplayer
Current dirname: /usr/share/locale

MPlayer 0.90-3.2.3 (C) 2000-2003 Arpad Gereoffy (see DOCS)

CPU: Intel Celeron 2/Pentium III Coppermine,Geyserville (Family: 6,
Stepping: 3)
Detected cache-line size is 32 bytes
CPUflags:  MMX: 1 MMX2: 1 3DNow: 0 3DNow2: 0 SSE: 1 SSE2: 0
Compiled for Debian
Reading config file /etc/mplayer/mplayer.conf
Reading config file /root/.mplayer/config
Reading /root/.mplayer/codecs.conf: 57 audio & 145 video codecs
CommandLine: '-v' 'stream.dump'
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
Failed to open /dev/rtc: No such device (mplayer should be setuid root
or /dev/rtc should be readable by the user.)
Using usleep() timing
get_path('input.conf') -> '/root/.mplayer/input.conf'
Parsing input config file /root/.mplayer/input.conf
Unknown key 'MOUSE_BTN'
Parsing input config file /etc/mplayer/input.conf
Input config file /etc/mplayer/input.conf parsed : 52 binds
Opening joystick device /dev/input/js0
Setting up LIRC support...
mplayer: could not connect to socket
mplayer: No such file or directory
Failed to open LIRC support.
You will not be able to use your remote control.
get_path('stream.dump.conf') -> '/root/.mplayer/stream.dump.conf'

Playing stream.dump
Not an URL!
File size is 24174080 bytes
CACHE_PRE_INIT: 0 [0] 0  pre:0  eof:0
Cache fill:  8.00% (1212416 bytes)    Checking for YUV4MPEG2
DEMUXER: freeing demuxer at 0x856d328
ASF_check: not ASF guid!
DEMUXER: freeing demuxer at 0x856d328
Checking for NuppelVideo
DEMUXER: freeing demuxer at 0x856d328
Checking for REAL
DEMUXER: freeing demuxer at 0x856d328
Checking for SMJPEG
DEMUXER: freeing demuxer at 0x856d328
Searching demuxer type for filename stream.dump ext: .dump
Checking for MOV
DEMUXER: freeing demuxer at 0x856dcc8
Checking for VIVO
header block 1 size: 119
DEMUXER: freeing demuxer at 0x856dcc8
DEMUXER: freeing demuxer at 0x856dcc8
DEMUXER: freeing demuxer at 0x856dcc8
DEMUXER: freeing demuxer at 0x856dcc8
DEMUXER: freeing demuxer at 0x856dcc8
DEMUXER: freeing demuxer at 0x856dcc8
DEMUXER: freeing demuxer at 0x856dcc8
Checking for PVA
DEMUXER: freeing demuxer at 0x856dcc8
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 p1B6: 0 p12x: 2 PES: 57  MP3: 103
Not MPEG System Stream format... (maybe Transport Stream?)
DEMUXER: freeing demuxer at 0x856dcc8
Checking for DV
RAWDV file format detected.
demux_open_rawdv() end_pos 24174080
==> Found video stream: 0
demux_open_rawdv() frame_size: 144000 w: 720 h: 576 dif_seq: 12 system:
2
demux_open_rawdv() seek to 0, size: 144000, dv_dec->frame_size: 144000
==> Found audio stream: 0
demux_open_rawdv() chan: 0 samplerate: 0
[V] filefmt:22  fourcc:0x44535644  size:720x576  fps:25.00 
ftime:=0.0400
get_path('sub/') -> '/root/.mplayer/sub/'
==========================================================================
Opening audio decoder: [libdv] Raw DV Audio Decoder
dec_audio: Allocating 15552 + 65536 = 81088 bytes for output buffer
Unknown/missing audio format -> no sound
uninit audio: libdv
ADecoder init failed :(
Opening audio decoder: [ffmpeg] FFmpeg/libavcodec audio decoders
dec_audio: Allocating 131072 + 65536 = 196608 bytes for output buffer
FFmpeg's libavcodec audio codec
INFO: libavcodec init OK!

Too many video packets in the buffer: (59 in 8496000 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)
Unknown/missing audio format -> no sound
uninit audio: ffmpeg
ADecoder init failed :(
get_path('codecs.conf') -> '/root/.mplayer/codecs.conf'
*** Try to upgrade /root/.mplayer/codecs.conf from etc/codecs.conf
*** If it still does not work, read DOCS/codecs.html!
Cannot find codec for audio format 0x56444152.
==========================================================================
X11 opening display: :0.0
vo: X11 color mask:  FFFF  (R:F800 G:7E0 B:1F)
vo: X11 running at 1024x768 with depth 16 and 16 bpp (":0.0" => local
display)
[x11] Detected wm supports NetWM.
[x11] Detected wm supports STAYS_ON_TOP state.
==========================================================================
Opening video decoder: [dshow] DirectShow video codecs
get_path('registry') -> '/root/.mplayer/registry'
Decoder supports the following YUV formats: YUY2 UYVY
Decoder is capable of YUV output (flags 0x9)
VDec: vo config request - 720 x 576 (preferred csp: Packed YUY2)
[PP] Using codec's postprocessing, max q = 4.
Trying filter chain: vo
VDec: using Packed YUY2 as output csp (no 0)
Movie-Aspect is undefined - no prescaling applied.
VO Config (720x576->720x576,flags=0,'MPlayer',0x32595559)
VO: [xv] 720x576 => 720x576 Packed YUY2
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: 0x32315659 (YV12) planar
Xvideo image format: 0x59565955 (UYVY) packed
Xvideo image format: 0x30323449 (I420) planar
using Xvideo port 76 for hw scaling
[xv] dx: 0 dy: 0 dw: 720 dh: 576
INFO: Win32/DShow video codec init OK!
Selected video codec: [qdv] vfm:dshow (Sony Digital Video (DV))
==========================================================================
Audio: no sound
Freeing 0 unused audio chunks
Starting playback...
*** [vo] Allocating mp_image_t, 720x576x16bpp YUV packed, 829440 bytes
get_path('subfont.ttf') -> '/root/.mplayer/subfont.ttf'
Unicode font: 679 glyphs.
[xv] dx: 0 dy: 0 dw: 720 dh: 576
uninit video: dshow38%  0.0% 0 0 49%%
Total Unfree 1146 bytes cnt 13 [(nil),0]
DEMUXER: freeing demuxer at 0x856dcc8
DEMUXER: freeing sh_audio at 0x8578d48
DEMUXER: freeing sh_video at 0x8578c80
vo: uninit ...

Exiting... (Quit)

somethings gone wrong there..
Ive also tried CVS, with similar results.


-- 
mdew <mdew at mdew.dyndns.org>



More information about the MPlayer-users mailing list