[MPlayer-users] ac3 bug?

Tomasz Bury tomek at tmm.pl
Tue Apr 6 13:04:07 CEST 2004


I can play DVD but I can't encode.

It seems to be a bug. The AC3 audio is interpreted by mplayer as correct
5.1, bu mencoder thinks it's 5.0:


check this out:
tomek at mcoding:~$ mplayer dvd://1 -chapter 2-2 -vo null -ao null -frames 1

MPlayer 1.0pre3-3.2.3 (C) 2000-2003 MPlayer Team
[...]
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
[...]


mencoder dvd://1 -chapter 2-2 -ovc copy -oac copy -o /dev/null -frames 1
MEncoder 1.0pre3-3.2.3 (C) 2000-2003 MPlayer Team
[...]
Opening audio decoder: [liba52] AC3 decoding with liba52
Using SSE optimized IMDCT transform
a52: CRC check failed!
AC3: 5.0 (3f+2r)  44100 Hz  80,0 kbit/s
[...]



Any idea how to solve it?


thanx inadvance,
Tomek



the complete output:
tomek at mcoding:~$ mplayer dvd://1 -chapter 2-2 -vo null -ao null -frames 1
MPlayer 1.0pre3-3.2.3 (C) 2000-2003 MPlayer Team
 
CPU: Intel Pentium 4/Xeon/Celeron Northwood 1805 MHz (Family: 8, 
Stepping: 7)
Detected cache-line size is 64 bytes
CPUflags:  MMX: 1 MMX2: 1 3DNow: 0 3DNow2: 0 SSE: 1 SSE2: 1
Compiled for x86 CPU with extensions: MMX MMX2 SSE SSE2
 
Reading config file /usr/local/etc/mplayer/mplayer.conf: Nie ma takiego 
pliku ani katalogu
Reading config file /home/tomek/.mplayer/config
Reading /home/tomek/.mplayer/codecs.conf: Can't open 
'/home/tomek/.mplayer/codecs.conf': Nie ma takiego pliku ani katalogu
Reading /usr/local/etc/mplayer/codecs.conf: Can't open 
'/usr/local/etc/mplayer/codecs.conf': Nie ma takiego pliku ani katalogu
Using built-in default codecs.conf.
font: can't open file: /home/tomek/.mplayer/font/font.desc
Font /usr/local/share/mplayer/font/font.desc loaded successfully! (210 
chars)
Linux RTC init error in ioctl (rtc_irqp_set 1024): Brak dostępu
Try adding "echo 1024 > /proc/sys/dev/rtc/max-user-freq" to your system 
startup scripts.
Using usleep() timing
Can't open input config file /home/tomek/.mplayer/input.conf: Nie ma 
takiego pliku ani katalogu
Can't open input config file /usr/local/etc/mplayer/input.conf: Nie ma 
takiego pliku ani katalogu
Falling back on default (hardcoded) input config
 
Playing dvd://1.
Reading disc structure, please wait...
There are 22 titles on this DVD.
There are 13 chapters in this DVD title.
There are 1 angles in this DVD title.
DVD successfully opened.
LMLM4 Stream Format not found
MPEG-PS file format detected.
VIDEO:  MPEG2  720x576  (aspect 3)  25,000 fps  7500,0 kbps (937,5 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, 16 bit (0x10), ratio: 56000->192000 (448,0 kbit)
Selected audio codec: [a52] afm:liba52 (AC3-liba52)
==========================================================================
==========================================================================
Opening video decoder: [mpegpes] MPEG 1/2 Video passthrough
VDec: vo config request - 720 x 576 (preferred csp: Mpeg PES)
VDec: using Mpeg PES as output csp (no 0)
Movie-Aspect is 1,78:1 - prescaling to correct movie aspect.
VO: [null] 720x576 => 1024x576 Mpeg PES
Selected video codec: [mpegpes] vfm:mpegpes (Mpeg PES output (.mpg or 
Dxr3/DVB card))
==========================================================================
Checking audio filter chain for 48000Hz/2ch/16bit -> 48000Hz/2ch/16bit...
AF_pre: af format: 2 bps, 2 ch, 48000 hz, little endian signed int
AF_pre: 48000Hz 2ch Signed 16-bit (Little-Endian)
AO: [null] 48000Hz 2ch Signed 16-bit (Little-Endian) (2 bps)
Building audio filter chain for 48000Hz/2ch/16bit -> 48000Hz/2ch/16bit...
Starting playback...
A: 142,8 V: 142,9 A-V: -0,162 ct: -0,004    2/  2   0%  0%  0,0% 0 0 0%
 
Exiting... (End of file)





mencoder dvd://1 -chapter 2-2 -ovc copy -oac copy -o /dev/null -frames 1
MEncoder 1.0pre3-3.2.3 (C) 2000-2003 MPlayer Team
 
CPU: Intel Pentium 4/Xeon/Celeron Northwood 1804 MHz (Family: 8, 
Stepping: 7)
Detected cache-line size is 64 bytes
CPUflags: Type: 8 MMX: 1 MMX2: 1 3DNow: 0 3DNow2: 0 SSE: 1 SSE2: 1
Compiled for x86 CPU with extensions: MMX MMX2 SSE SSE2
 
Reading /home/tomek/.mplayer/codecs.conf: Can't open 
'/home/tomek/.mplayer/codecs.conf': Nie ma takiego pliku ani katalogu
Reading /usr/local/etc/mplayer/codecs.conf: Can't open 
'/usr/local/etc/mplayer/codecs.conf': Nie ma takiego pliku ani katalogu
Using built-in default codecs.conf.
File not found: 'frameno.avi'
Failed to open frameno.avi
Reading config file /home/tomek/.mplayer/mencoder: Nie ma takiego pliku 
ani katalogu
font: can't open file: /home/tomek/.mplayer/font/font.desc
Font /usr/local/share/mplayer/font/font.desc loaded successfully! (210 
chars)
Reading disc structure, please wait...
There are 22 titles on this DVD.
There are 13 chapters in this DVD title.
There are 1 angles in this DVD title.
DVD successfully opened.
success: format: 0  data: 0x6ADD000 - 0x13862000
LMLM4 Stream Format not found
MPEG-PS file format detected.
VIDEO:  MPEG2  720x576  (aspect 3)  25,000 fps  7500,0 kbps (937,5 kbyte/s)
[V] filefmt:2  fourcc:0x10000002  size:720x576  fps:25,00  ftime:=0,0400
==========================================================================
Opening audio decoder: [liba52] AC3 decoding with liba52
Using SSE optimized IMDCT transform
a52: CRC check failed!
AC3: 5.0 (3f+2r)  44100 Hz  80,0 kbit/s
Using MMX optimized resampler
AUDIO: 44100 Hz, 2 ch, 16 bit (0x10), ratio: 10000->176400 (80,0 kbit)
Selected audio codec: [a52] afm:liba52 (AC3-liba52)
==========================================================================
videocodec: framecopy (720x576 24bpp fourcc=10000002)
audiocodec: framecopy (format=2000 chans=2 rate=44100 bits=16 bps=10000 
sample=1)
Writing AVI header...
Pos:   0,0s      1f ( 0%)   0fps Trem:   0min   2mb  A-V:0,000 [0:0]
Writing AVI index...
Fixing AVI header...
 
Video stream: 2039,400 kbit/s  (254925 bps)  size: 10197 bytes  0,040 
secs  1 frames
 
Audio stream:   80,000 kbit/s  (10000 bps)  size: 5000 bytes  0,500 secs







More information about the MPlayer-users mailing list