[MPlayer-users] Failed to play MPEG2 video

yh jupiter.hce at gmail.com
Sun Feb 10 16:09:08 CET 2008


Hi,

I can use mplayer to play many MPEG2 videos in DVD, but I could not
play one DVD which seems contains normal MPEG2 video (at least I thought).
It could play a full screen (even I specify -fs, it came a small screen). 
It also broken the audio in the middle of the play. I changed some
parameters according to the tips from the debug message. It seems doing
some conversion which slowed down the process and caused buffering
problem. I am not sure what parameters I should add to the mplayer
command to remove conversion. Please see attached debug message.

Thank you.

Jim

-------------- next part --------------
$ mplayer -fs -ni -nobps -forceidx -mc 0  -nocache -vo x11 dvd://2

MPlayer 1.0rc1-Fedora-GS-4.1.1 (C) 2000-2006 MPlayer Team
CPUflags:  MMX: 1 MMX2: 1 3DNow: 0 3DNow2: 0 SSE: 1 SSE2: 0
Compiled with runtime CPU detection.
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.

Playing dvd://2.
*** Zero check failed in ifo_read.c:1854
    for vts_attributes->vtstt_audio_attr[i] = 0x04c56e6500000000
*** Zero check failed in ifo_read.c:1854
    for vts_attributes->vtstt_audio_attr[i] = 0x04c56e6500000000
*** Zero check failed in ifo_read.c:1854
    for vts_attributes->vtstt_audio_attr[i] = 0x04c56e6500000000
*** Zero check failed in ifo_read.c:1854
    for vts_attributes->vtstt_audio_attr[i] = 0x04c56e6500000000
*** Zero check failed in ifo_read.c:1854
    for vts_attributes->vtstt_audio_attr[i] = 0x04c56e6500000000
*** Zero check failed in ifo_read.c:1854
    for vts_attributes->vtstt_audio_attr[i] = 0x04c56e6500000000
*** Zero check failed in ifo_read.c:1854
    for vts_attributes->vtstt_audio_attr[i] = 0x04c56e6500000000
There are 4 titles on this DVD.
There are 19 chapters in this DVD title.
There are 1 angles in this DVD title.
audio stream: 0 format: ac3 (5.1).
number of audio channels on disk: 1.
subtitle ( sid ): 0
number of subtitles on disk: 1
MPEG-PS file format detected.
VIDEO:  MPEG2  720x480  (aspect 3)  29.970 fps  7000.0 kbps (875.0 kbyte/s)
==========================================================================
Opening video decoder: [mpegpes] MPEG 1/2 Video passthrough
VDec: vo config request - 720 x 480 (preferred colorspace: Mpeg PES)
Could not find matching colorspace - retrying with -vf scale...
Opening video filter: [scale]
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))
==========================================================================
==========================================================================
Opening audio decoder: [liba52] AC3 decoding with liba52
Using SSE optimized IMDCT transform
Using MMX optimized resampler
AUDIO: 48000 Hz, 2 ch, s16le, 448.0 kbit/29.17% (ratio: 56000->192000)
Selected audio codec: [a52] afm: liba52 (AC3-liba52)
==========================================================================
AO: [oss] 48000Hz 2ch s16le (2 bytes per sample)
Starting playback...
VDec: vo config request - 720 x 480 (preferred colorspace: Planar YV12)
VDec: using Planar YV12 as output csp (no 0)
Movie-Aspect is 1.78:1 - prescaling to correct movie aspect.
VO: [x11] 720x480 => 854x480 Planar YV12
SwScaler: using unscaled yuv420p -> bgr565 special converter
A:   3.5 V:   1.9 A-V:  1.622 ct:  0.000  52/ 52 253% 156%  7.3% 50 0

           ************************************************
           **** Your system is too SLOW to play this!  ****
           ************************************************

Possible reasons, problems, workarounds:
- Most common: broken/buggy _audio_ driver
  - Try -ao sdl or use the OSS emulation of ALSA.
  - Experiment with different values for -autosync, 30 is a good start.
- Slow video output
  - Try a different -vo driver (-vo help for a list) or try -framedrop!
- Slow CPU
  - Don't try to play a big DVD/DivX on a slow CPU! Try some of the lavdopts,
    e.g. -vfm ffmpeg -lavdopts lowres=1:fast:skiploopfilter=all.
- Broken file
  - Try various combinations of -nobps -ni -forceidx -mc 0.
- Slow media (NFS/SMB mounts, DVD, VCD etc)
  - Try -cache 8192.
- Are you using -cache to play a non-interleaved AVI file?
  - Try -nocache.
Read DOCS/HTML/en/video.html for tuning/speedup tips.
If none of this helps you, read DOCS/HTML/en/bugreports.html.

A:  54.2 V:  35.1 A-V: 19.068 ct:  0.000 1048/1048 51% 105%  5.0% 1043 0

Too many video packets in the buffer: (4096 in 8283281 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.
a52: CRC check failed!
a52: error at resampling
A: 309.2 V: 290.3 A-V: 18.869 ct: -0.100 1397/1397 31% 119%  5.0% 930 0
Too many video packets in the buffer: (4096 in 8283281 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.
a52: CRC check failed!
a52: error at resampling

Too many video packets in the buffer: (4096 in 8283281 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.

Too many video packets in the buffer: (4096 in 8283281 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.
A: 309.3 V: 290.3 A-V: 18.962 ct: -0.100 1398/1398 31% 119%  5.0% 930 0
Too many video packets in the buffer: (4096 in 8283281 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.
A: 309.4 V: 290.4 A-V: 19.009 ct: -0.100 1399/1399 31% 119%  5.0% 930 0
Too many video packets in the buffer: (4096 in 8283281 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.
A: 309.4 V: 290.4 A-V: 19.015 ct: -0.100 1400/1400 31% 119%  5.0% 930 0
Too many video packets in the buffer: (4096 in 8283281 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.
a52: CRC check failed!
a52: error at resampling

Too many video packets in the buffer: (4096 in 8283281 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.



More information about the MPlayer-users mailing list