[MPlayer-users] Problem playing large AC3 files

Matt Welch matt at welcher.net
Thu May 8 05:10:05 CEST 2008


Fedora Core 5, mplayer and ffmpeg built and installed from latest  
source.  ffmpeg configure flags: --enable-shared --enable-gpl --enable- 
nonfree

I'm converting some MKV files to M4V by extracting the h.264 video and  
AC3 audio, converting the audio to AAC, and merging the 264 video and  
aac audio into the M4V.

I can get this to work quite well on smaller files, but on larger  
files, mplayer doesn't recognize the ac3 audio file as ac3.  I know it  
is in fact ac3, since ffmpeg and ac3dec on the same linux box, and the  
mplayer install from ffmpegx as well as vnc on my Mac all recognize  
and work with it just fine.

Also, other large files (like DTS) work fine as well.

Again, shorter ac3 files work just fine, but as soon as I get anything  
too big (so far 178M works, but 650M doesn't, and I don't know where  
in between it breaks), I get something like the following from mplayer  
-v:

MPlayer 1.0rc2-4.1.1 (C) 2000-2007 MPlayer Team
CPU: Intel(R) Pentium(R) M processor 2.00GHz (Family: 6, Model: 13,  
Stepping: 6)
CPUflags:  MMX: 1 MMX2: 1 3DNow: 0 3DNow2: 0 SSE: 1 SSE2: 1
Compiled for x86 CPU with extensions: MMX MMX2 SSE SSE2
get_path('codecs.conf') -> '/home/username/.mplayer/codecs.conf'
Reading /home/username/.mplayer/codecs.conf: Can't open '/home/ 
username/.mplayer/codecs.conf': No such file or directory
Reading /usr/local/etc/mplayer/codecs.conf: Can't open '/usr/local/etc/ 
mplayer/codecs.conf': No such file or directory
Using built-in default codecs.conf.
Configuration:
CommandLine: '-v' 'audio.ac3'
init_freetype
get_path('font/font.desc') -> '/home/username/.mplayer/font/font.desc'
font: can't open file: /home/username/.mplayer/font/font.desc
font: can't open file: /usr/local/share/mplayer/font/font.desc
Using MMX (with tiny bit MMX2) Optimized OnScreenDisplay
get_path('fonts') -> '/home/username/.mplayer/fonts'
Using nanosleep() timing
get_path('input.conf') -> '/home/username/.mplayer/input.conf'
Can't open input config file /home/username/.mplayer/input.conf: No  
such file or directory
Can't open input config file /usr/local/etc/mplayer/input.conf: No  
such file or directory
Falling back on default (hardcoded) input config
get_path('audio.ac3.conf') -> '/home/username/.mplayer/audio.ac3.conf'

Playing audio.ac3.
get_path('sub/') -> '/home/username/.mplayer/sub/'
[file] File size is 629160960 bytes
STREAM: [file] audio.ac3
STREAM: Description: File
STREAM: Author: Albeu
STREAM: Comment: based on the code from ??? (probably Arpi)
LAVF_check: MPEG PS format
Checking for YUV4MPEG2
ASF_check: not ASF guid!
Checking for NuppelVideo
Checking for REAL
Checking for SMJPEG
Searching demuxer type for filename audio.ac3 ext: .ac3
Trying demuxer 35 based on filename extension
LAVF_check: MPEG PS format
libavformat file format detected.
[mpeg @ 0x8709d54]Could not find codec parameters (Video: mpeg2video)
LAVF_header: av_find_stream_info() failed
demuxer: continue fuzzy content-based format guessing...
Checking for Nullsoft Streaming Video
Checking for MOV
Checking for VIVO
header block 1 size: 119
AVS: avs_check_file - attempting to open file audio.ac3
AVS: File is too big, aborting...
Checking for PVA
Checking for MPEG-TS...
TRIED UP TO POSITION 76408, FOUND 47, packet_size= 0, SEEMS A TS? 0
Checking for LMLM4 Stream Format
Invalid packet in LMLM4 stream: ch=2935 size=608231892
LMLM4 Stream Format not found
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: 0 sli: 0 a: 0 b: 0  
c: 0 idr: 0 sps: 0 pps: 0 PES: 442  MP3: 242, synced: 0
Not MPEG System Stream format... (maybe Transport Stream?)
stream_seek: WARNING! Can't seek to 0x0 !

.........a bunch of PTS_err stuff......

MPEG Stream reached EOF
ds_fill_buffer: EOF reached (stream: video)
NONE :(
MPEG: FATAL: EOF while searching for sequence header.
Video: Cannot read properties.
= 
= 
========================================================================
Opening audio decoder: [mp3lib] MPEG layer-2, layer-3
dec_audio: Allocating 4608 + 65536 = 70144 bytes for output buffer.
mp3lib: using SSE optimized decore!
MP3lib: init layer2&3 finished, tables done
MPEG Stream reached EOF
ds_fill_buffer: EOF reached (stream: audio)
ADecoder init failed :(
ADecoder init failed :(
Opening audio decoder: [ffmpeg] FFmpeg/libavcodec audio decoders
dec_audio: Allocating 192000 + 65536 = 257536 bytes for output buffer.
FFmpeg's libavcodec audio codec
INFO: libavcodec init OK!
MPEG Stream reached EOF
ds_fill_buffer: EOF reached (stream: audio)
Unknown/missing audio format -> no sound
Uninit audio: ffmpeg
ADecoder init failed :(
Requested audio codec family [mad] (afm=libmad) not available.
Enable it at compilation.
Opening audio decoder: [hwmpa] MPEG audio pass-through (fake decoder)
dec_audio: Allocating 4608 bytes for input buffer.
dec_audio: Allocating 4608 + 65536 = 70144 bytes for output buffer.
MPEG Stream reached EOF
ds_fill_buffer: EOF reached (stream: audio)
Cannot sync MPA frame: 0
ADecoder init failed :(
ADecoder init failed :(
Cannot find codec for audio format 0x50.
Read DOCS/HTML/en/codecs.html!
Audio: no sound
Freeing 0 unused audio chunks.
Video: no video
Freeing 0 unused video chunks.

vo: x11 uninit called but X11 not inited..

Exiting... (End of file)



Any help would be appreciated.

Matt



More information about the MPlayer-users mailing list