[MPlayer-users] [BUG] mpeg file cannot be decoded by libmpeg
陆然
hephooey at gmail.com
Tue Jul 25 08:24:46 CEST 2006
Hi,
On Tuesday 25 July 2006 13:34, RC wrote:
> The point is that it doesn't look like it's necessarily a bug in
> libmpeg2 after all, and it may help someone else interested in tracking
> down the problem.
You're right, it's a demuxer problem, there is a "MPEG Stream reached EOF" in
the -v output:
MPlayer dev-SVN-rUNKNOWN-4.1.1 (C) 2000-2006 MPlayer Team
CPU: AMD Athlon(tm) XP 3200+ (Family: 6, Model: 10, 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
get_path('codecs.conf') -> '/home/hooey/.mplayer/codecs.conf'
Reading /home/hooey/.mplayer/codecs.conf: Can't
open '/home/hooey/.mplayer/codecs.conf': No such file or directory
Reading /usr/local/mplayer/etc/mplayer/codecs.conf: Can't
open '/usr/local/mplayer/etc/mplayer/codecs.conf': No such file or directory
Using built-in default codecs.conf.
CommandLine: '-v' 'not_playable_with_libmpeg.mpg'
init_freetype
get_path('font/font.desc') -> '/home/hooey/.mplayer/font/font.desc'
font: can't open file: /home/hooey/.mplayer/font/font.desc
font: can't open file: /usr/local/mplayer/share/mplayer/font/font.desc
Using MMX (with tiny bit MMX2) Optimized OnScreenDisplay
Failed to open /dev/rtc: Device or resource busy (it should be readable by the
user.)
Using nanosleep() timing
get_path('input.conf') -> '/home/hooey/.mplayer/input.conf'
Parsing input config file /home/hooey/.mplayer/input.conf
Input config file /home/hooey/.mplayer/input.conf parsed: 48 binds
get_path('not_playable_with_libmpeg.mpg.conf') -> '/home/hooey/.mplayer/not_playable_with_libmpeg.mpg.conf'
Playing not_playable_with_libmpeg.mpg.
get_path('sub/') -> '/home/hooey/.mplayer/sub/'
[file] File size is 1048576 bytes
STREAM: [file] not_playable_with_libmpeg.mpg
STREAM: Description: File
STREAM: Author: Albeu
STREAM: Comment: based on the code from ??? (probably Arpi)
CACHE_PRE_INIT: 0 [0] 0 pre:419430 eof:0
Cache fill: 0.00% (0 bytes)
Checking for YUV4MPEG2
ASF_check: not ASF guid!
Checking for NuppelVideo
Checking for REAL
Checking for SMJPEG
Searching demuxer type for filename not_playable_with_libmpeg.mpg ext: .mpg
Checking for Nullsoft Streaming Video
Checking for MOV
Checking for VIVO
header block 1 size: 0
AVS: avs_check_file - attempting to open file not_playable_with_libmpeg.mpg
AVS: File is too big, aborting...
Checking for PVA
Checking for MPEG-TS...
TRIED UP TO POSITION 70037, FOUND 47, packet_size= 0, SEEMS A TS? 0
Checking for LMLM4 Stream Format
Invalid packet in LMLM4 stream: ch=0 size=553648913
LMLM4 Stream Format not found
system stream synced at 0xB (11)!
==> Found video stream: 0
==> Found audio stream: 0
MPEG Stream reached EOF
ds_fill_buffer: EOF reached (stream: video)
MPEG-PS file format detected.
Searching for sequence header... OK!
VIDEO: MPEG1 352x240 (aspect 12) 29.970 fps 1150.0 kbps (143.8 kbyte/s)
[V] filefmt:2 fourcc:0x10000001 size:352x240 fps:29.97 ftime:=0.0334
get_path('sub/') -> '/home/hooey/.mplayer/sub/'
dvdsublang...not playable with libmpeg zh chi
dvdsublang...not playable with libmpeg zh chi
dvdsublang...not playable with libmpeg zh chi
dvdsublang...not playable with libmpeg zh chi
dvdsublang...not playable with libmpeg zh chi
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 NetWM.
[x11] Detected wm supports FULLSCREEN state.
[x11] Detected wm supports ABOVE state.
[x11] Detected wm supports BELOW state.
[x11] Detected wm supports STAYS_ON_TOP state.
[x11] Current fstype setting honours FULLSCREEN STAYS_ON_TOP ABOVE BELOW X
atoms
Xv: could not grab port 126
[xv common] Drawing no colorkey.
[xv common] Maximum source image dimensions: 2046x2046
==========================================================================
Opening video decoder: [mpegpes] MPEG 1/2 Video passthrough
VDec: vo config request - 352 x 240 (preferred colorspace: Mpeg PES)
Trying filter chain: vo
Could not find matching colorspace - retrying with -vf 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.
Try adding the scale filter, e.g. -vf spp,scale instead of -vf spp.
VDecoder init failed :(
Opening video decoder: [libmpeg2] MPEG 1/2 Video decoder libmpeg2-v0.4.0b
Selected video codec: [mpeg12] vfm: libmpeg2 (MPEG-1 or 2 (libmpeg2))
==========================================================================
==========================================================================
Trying to force audio codec driver family dmo...
Trying to force audio codec driver family dshow...
Opening audio decoder: [mp3lib] MPEG layer-2, layer-3
dec_audio: Allocating 4608 + 65536 = 70144 bytes for output buffer.
mp3lib: made decode tables with MMX optimization
mp3lib: using 3DNow!Ex optimized decore!
MP3lib: init layer2&3 finished, tables done
MPEG 1.0, Layer II, 44100 Hz 224 kbit Stereo, BPF: 731
Channels: 2, copyright: Yes, original: Yes, CRC: No, emphasis: 0
AUDIO: 44100 Hz, 2 ch, s16le, 224.0 kbit/15.87% (ratio: 28000->176400)
Selected audio codec: [mp3] afm: mp3lib (mp3lib MPEG layer-2, layer-3)
==========================================================================
Building audio filter chain for 44100Hz/2ch/s16le -> 0Hz/0ch/??...
[libaf] Adding filter dummy
[dummy] Was reinitialized: 44100Hz/2ch/s16le
[dummy] Was reinitialized: 44100Hz/2ch/s16le
ao2: 44100 Hz 2 chans s16le
audio_setup: using '/dev/dsp' dsp device
audio_setup: using '/dev/mixer' mixer device
audio_setup: using 'pcm' mixer device
audio_setup: sample format: s16le (requested: s16le)
audio_setup: using 2 channels (requested: 2)
audio_setup: using 44100 Hz samplerate (requested: 44100)
audio_setup: frags: 16/16 (4096 bytes/frag) free: 65536
AO: [oss] 44100Hz 2ch s16le (2 bytes per sample)
AO: Description: OSS/ioctl audio output
AO: Author: A'rpi
Building audio filter chain for 44100Hz/2ch/s16le -> 44100Hz/2ch/s16le...
[dummy] Was reinitialized: 44100Hz/2ch/s16le
[dummy] Was reinitialized: 44100Hz/2ch/s16le
Starting playback...
FATAL: Could not initialize video filters (-vf) or video output (-vo).
Uninit audio filters...
[libaf] Removing filter dummy
Uninit audio: mp3lib
Uninit video: libmpeg2
vo: uninit ...
Exiting... (End of file)
--
Best Regards,
LR
More information about the MPlayer-users
mailing list