[MPlayer-users] CVS player/encoder problems

Silviu D Minut minutsil at cse.msu.edu
Sat Mar 16 07:10:01 CET 2002


First mplayer:

Playing "Moulin Rouge" with mplayer-0.6 works without a hitch. I used this
command:

mplayer -dvd 1


Playing it with CVS mplayer, at the very beginning, a green frame flashes
by, then the movie plays, but plays with interruptions, and I get the
message below:

74) silviu:/opt3/dvd/mr2> /opt2/DVD/MPLAY/MPlayer-20020312/mplayer -dvd 1


MPlayer CVS-020312-00:00-gcc (C) 2000-2002 Arpad Gereoffy (see DOCS!)

CPU vendor name: GenuineIntel  max cpuid level: 2
CPU: Intel Celeron 2/Pentium III Coppermine,Geyserville (Type: 6,
Stepping: 6)
Testing OS support for SSE... yes.
Testing OS support for SSE unmasked exceptions... yes.
Tests of OS support for SSE passed.
CPUflags: Type: 6 MMX: 1 MMX2: 1 3DNow: 0 3DNow2: 0 SSE: 1 SSE2: 0
Compiled for x86 CPU with features: MMX MMX2 SSE
Reading /home/silviu/.mplayer/codecs.conf: 29 audio & 80 video codecs
Font /home/silviu/.mplayer/font/font.desc loaded successfully! (206 chars)
Linux RTC init: open: No such device
Using usleep() timing
Parsing input config file /home/silviu/.mplayer/input.conf
Input config file /home/silviu/.mplayer/input.conf parsed : 51 binds
Playing DVD title 1
Reading disc structure, please wait...
There are 14 titles on this DVD.
There are 37 chapters in this DVD title.
There are 1 angles in this DVD title.

libdvdread: Attempting to retrieve all CSS keys
libdvdread: This can take a _long_ time, please be patient

libdvdread: Get key for /VIDEO_TS/VIDEO_TS.VOB at 0x0000014e
libdvdread: Elapsed time 1
libdvdread: Get key for /VIDEO_TS/VTS_01_0.VOB at 0x000004be
libdvdread: Elapsed time 0
libdvdread: Get key for /VIDEO_TS/VTS_01_1.VOB at 0x0000052e
libdvdread: Elapsed time 1
libdvdread: Get key for /VIDEO_TS/VTS_02_0.VOB at 0x00000547
libdvdread: Elapsed time 30
libdvdread: Get key for /VIDEO_TS/VTS_02_1.VOB at 0x0003bd8b
libdvdread: Elapsed time 0
libdvdread: Get key for /VIDEO_TS/VTS_03_0.VOB at 0x0003bdd3
libdvdread: Elapsed time 2
libdvdread: Get key for /VIDEO_TS/VTS_03_1.VOB at 0x0004df09
libdvdread: Elapsed time 0
libdvdread: Get key for /VIDEO_TS/VTS_04_1.VOB at 0x0039ee49
libdvdread: Elapsed time 1
libdvdread: Get key for /VIDEO_TS/VTS_05_0.VOB at 0x0039fd7b
libdvdread: Elapsed time 1
libdvdread: Get key for /VIDEO_TS/VTS_05_1.VOB at 0x0039fde3
libdvdread: Elapsed time 4
libdvdread: Get key for /VIDEO_TS/VTS_06_1.VOB at 0x003a38c0
libdvdread: Elapsed time 1
libdvdread: Get key for /VIDEO_TS/VTS_07_1.VOB at 0x003a3ce2
libdvdread: Elapsed time 0
libdvdread: Get key for /VIDEO_TS/VTS_08_1.VOB at 0x003a4a88
libdvdread: Elapsed time 15
libdvdread: Get key for /VIDEO_TS/VTS_09_1.VOB at 0x003af515
libdvdread: Elapsed time 0
libdvdread: Get key for /VIDEO_TS/VTS_10_0.VOB at 0x003b0da7
libdvdread: Elapsed time 2
libdvdread: Get key for /VIDEO_TS/VTS_10_1.VOB at 0x003f6fad
libdvdread: Elapsed time 1
libdvdread: Found 10 VTS's
libdvdread: Elapsed time 59
DVD successfully opened!
DVD start=0 end=3477226
header block 1 size: 0
Detected MPEG-PS file format!
VIDEO:  MPEG2  720x480  (aspect 3)  29.97 fps  12250.0 kbps (1531.2
kbyte/s)
[V] filefmt:2  fourcc:0x10000002  size:720x480  fps:29.97  ftime:=0.0334
Detected audio codec: [a52] drv:14 (AC3-liba52)
Using SSE optimized IMDCT transform
AC3: 5.1 (3f+2r+lfe)  48000 Hz  448.0 kbit/s
Using MMX optimized resampler
AUDIO: srate=48000  chans=2  bps=2  sfmt=0x10  ratio: 56000->192000
Detected video codec: [mpeg12] drv:1 prio:0 (MPEG 1 or 2)
Selecting Video Decoder: [libmpeg2] MPEG 1/2 Video decoder
mpeg2dec-0.2.0-release (C) 2000-2001 Aaron Holtzman & Michel Lespinasse
libmpeg2: Using MMXEXT for IDCT transform
libmpeg2: Using MMXEXT for motion compensation
Movie-Aspect is 1.78:1 - prescaling to correct movie aspect.
VO: [xv] 720x480 => 854x480 Planar YV12
vo: X11 running at 1280x1024 with depth 24 and 32 bits/pixel (":0.0" =>
local display)
Xvideo image format: 0x32595559 (YUY2) packed
Xvideo image format: 0x59565955 (UYVY) packed
Xvideo image format: 0x32315659 (YV12) planar
Xvideo image format: 0x30323449 (I420) planar
using Xvideo port 46 for hw scaling
[xv] dcx: 85 dcy: 191 dx: 0 dy: 0 dw: 854 dh: 480
AO: [oss] 48000Hz Stereo Signed 16-bit (Little-Endian)
ao2: 48000 Hz  2 chans  Signed 16-bit (Little-Endian)
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: 128/128  (1024 bytes/frag)  free: 131072
Start playing...
[xv] dcx: 85 dcy: 191 dx: 0 dy: 0 dw: 854 dh: 480
[xv] dcx: 260 dcy: 26 dx: 0 dy: 0 dw: 854 dh: 480  21% 11% 76.3% 0 0 0%%
No bind found for key a                         9  21%  9% 50.2% 0 0 0%
A:  24.8 V:  24.2 A-V:  0.604 ct: -0.098  715/572  24%  8% 45.5% 55 0 0%

         ************************************************
         **** Your system is too SLOW to play this!  ****
         ************************************************
!!! Possible reasons, problems, workaround:
- Most common: broken/buggy _audio_ driver. workaround: try -ao sdl or use
  ALSA 0.5 or oss emulation of ALSA 0.9. read DOCS/sound.html for more
tips!
- Slow video output. try different -vo driver (for list: -vo help) or try
  with -framedrop !  Read DOCS/video.html for video tuning/speedup tips.
- Slow cpu. don't try to playback big dvd/divx on slow cpu! try
-hardframedrop
- Broken file. try various combinations of these: -nobps  -ni  -mc 0
-forceidx
If none of these apply, then read DOCS/bugreports.html !

A:  28.0 V:  27.9 A-V:  0.070 ct: -0.061  826/661  24%  8% 43.5% 103 0 0%
*** free_stream() called ***

Exiting... (Quit)

(I did Ctrl-C here).

Since the dvd can be read flawleslly with 0.6, I don't believe any of the
above possible reasons. Should I file out a complete bug report? Any other
reasons? Briefly, the system is a RedHat 7.0 heavily upgraded, kernel
2.4.4, P3 866MHz, ATI r128 16M memory, 256 M ram. Both 0.6 and CVS
versions were compiled with gcc-3.1. Say what you will, but 0.6 works
(while CVS complains and plays with interruptions).


Mencoder:

I encoded the same dvd in one piece with mencoder-0.6 and again worked
fine, except that the avi came out too big, and I wanted to use the CVS
then, to be able to specify -chapter 1-17 first, then -chapter 18-36.

So I encoded 1-17 (with CVS), no problems. However, here's what happens
with -chapter 18-36:


88) silviu:/opt3/dvd/mr2> /opt2/DVD/MPLAY/MPlayer-20020312/mencoder -dvd 1
-chapter 18-36 -divx4opts br=1100 -o movie.avi -pass 1


first the usual libdvdread stuff, then

DVD start=1604586 end=3477221
success: format: 0  data: 0xC3DF5000 - 0xA8772800
header block 1 size: 0
Detected MPEG-PS file format!
VIDEO:  MPEG2  720x480  (aspect 3)  29.97 fps  12250.0 kbps (1531.2
kbyte/s)
[V] filefmt:2  fourcc:0x10000002  size:720x480  fps:29.97  ftime:=0.0334
Detected video codec: [mpeg12] drv:1 prio:0 (MPEG 1 or 2)
Selecting Video Decoder: [libmpeg2] MPEG 1/2 Video decoder
mpeg2dec-0.2.0-release (C) 2000-2001 Aaron Holtzman & Michel Lespinasse
libmpeg2: Using MMXEXT for IDCT transform
libmpeg2: Using MMXEXT for motion compensation
Detected audio codec: [a52] drv:14 (AC3-liba52)
Using SSE optimized IMDCT transform
a52: CRC check failed!
AC3: 2.0 (channel)  48000 Hz  32.0 kbit/s
Using MMX optimized resampler
AUDIO: srate=48000  chans=2  bps=2  sfmt=0x10  ratio: 4000->192000
Divx: 2-pass logfile: divx2pass.log
MP3 audio selected
Writing AVI header...
a52: error at resampling
a52: CRC check failed!
a52: error at resampling
a52: CRC check failed!
a52: error at resampling
Pos:   0.0s      1f ( 0%)   0fps Trem:   5min   2mb  A-V:0.000 [0:0]
DEMUXER: Too many (4096 in 8258963 bytes) video packets in the buffer!
(maybe you play a non-interleaved stream/file or the codec failed)
a52: error at resampling)   1fps Trem:   6min   4mb  A-V:0.003 [0:0]
Intra: 0 Inter: 1346 Inter4v: 3
Avg 16 SAD16's / mb
MVs: 33 normal, 56 hor, 46 ver, 124 hv
Texture: 3078 bits, motion: 900 bits, mv sigma: 1.259649
Pos:   0.1s      3f ( 0%)   2fps Trem:   7min   4mb  A-V:0.007 [0:0]


then no sound when I play it. I also tried a 3-pass encoding and again no
sound. I can't tell if I'm doing something wrong, or if it's a bug, or if
it's something with the dvd. Any suggestions?








More information about the MPlayer-users mailing list