[Mplayer-users] Real DVD support!

Denis Ducamp Denis.Ducamp at hsc.fr
Tue Aug 21 23:46:39 CEST 2001


On Mon, Aug 20, 2001 at 11:32:15PM +0200, Arpi wrote:
> Hi,
> 
> Just commited real SVS playback code to CVS!
> It uses libdvdread (instead of libcss), contains IFO and Navi parsing,
> so multi-angle content should be ok too.

Just tried it on both DVD for wich I sent info last week.

 * for the second one, ftp://mp.dev.hu/MPlayer/incoming/jblhb.tar.bz2
mplayer works fine : -dvd 1 gives one of the two programs and -dvd 2 gives
the other one, the second one been the first one without some scenes.

 * for the first one, ftp://mp.dev.hu/MPlayer/incoming/mfmt.tar.bz2 at the
begining of each multi-angle song, mplayer jumps to the near end of the song
with a message --- END OF CELL !!! ---

This bug happens with both angles of the three multi-angle songs which are
numbers 2, 3 and 5 (all in the 5th title) :

ducamp at groar:/usr/src/cvs/main$ ./mplayer -dvd 5 /dev/cdrom -chapter 2 -dvdangle 1 -v


MPlayer 0.17cvs-010821-22:24(C) 2000-2001 Arpad Gereoffy (see DOCS/AUTHORS)

CommandLine: '-dvd' '5' '/dev/cdrom' '-chapter' '2' '-dvdangle' '1' '-v'
Reading /home/ducamp/.mplayer/codecs.conf: 16 audio & 36 video codecs
font: can't open file: /home/ducamp/.mplayer/font/font.desc
font: can't open file: /usr/local/share/mplayer/font/font.desc
Reading disc structure, please wait...
There are 8 titles on this DVD.
There are 20 chapters in this DVD title.
There are 2 angles in this DVD title.
DVD successfully opened!
DVD start cell: 1  pack: 0x28FC7-0x29781  
DVD Seek! lba=0x28FC7  cell=1  packs: 0x28FC7-0x29781  
Angle-seek synced! skip=0  new_lba=0x28FC7  
ASF_check: not ASF guid!
system stream synced at 0x147E380D (0)!
==> Found video stream: 0
Detected MPEG-PS file format!
==> Found audio stream: 128
Searching for sequence header... OK!
mpeg2dec-0.2.0-release (C) 2000-2001 Aaron Holtzman & Michel Lespinasse
libmpeg2: Using MMX for IDCT transform
libmpeg2: Using MMX for motion compensation
VIDEO:  MPEG2  720x576  (aspect 3)  25.00 fps  8125.0 kbps (1015.6 kbyte/s)
[V] filefmt:2  fourcc:0x10000002  size:720x576  fps:25.00  ftime:=0.0400
Detected audio codec: [ac3] drv:3 (AC3)
Initializing audio codec...
dec_audio: Allocating 6144 + 65536 = 71680 bytes for output buffer
!! libac3 (core v0.6.2) : using FPU optimization
2.0 Mode 48.0 KHz 448 kbps Complete Main Audio Service
AUDIO: srate=48000  chans=2  bps=2  sfmt=0x10  ratio: 56000->192000
Detected video codec: [mpeg12] drv:1 (MPEG 1 or 2)
VO: [xv] 720x576 => 720x576 Planar YV12 
VO: Description: X11/Xv
VO: Author: Gerd Knorr <kraxel at goldbach.in-berlin.de>
video_out->init(720x576->720x576,flags=0,'MPlayer',0x32315659)
vo: X11 color mask:  FFFF  (R:F800 G:7E0 B:1F)
vo: X11 running at 1024x768 depth: 16 (":0.0" => local display)
Xvideo image format: 0x32595559 (YUY2) packed
Xvideo image format: 0x32315659 (YV12) planar
Xvideo image format: 0x30323449 (I420) planar
Xvideo image format: 0x59565955 (UYVY) packed
Xvideo image format: 0x36315652 (RV16) packed
Xvideo image format: 0x35315652 (RV15) packed
Xvideo image format: 0x31313259 (Y211) packed
using Xvideo port 43 for hw scaling
[xv] dcx: 1 dcy: 16 dx: 0 dy: 0 dw: 720 dh: 576
INFO: Video OUT driver init OK!
AO: [oss] 48000Hz Stereo Signed 16-bit (Little-Endian)
AO: Description: OSS/ioctl audio output
AO: Author: A'rpi
audio_setup: using '/dev/dsp' dsp device
audio_setup: sample format: Signed 16-bit (Little-Endian) (requested: Signed 16-bit (Little-Endian))
audio_setup: using 48000 Hz samplerate (requested: 48000)
audio_setup: frags:   2/2  (65536 bytes/frag)  free: 131072
Start playing...
==> Found audio stream: 129
[xv] dcx: 1 dcy: 16 dx: 0 dy: 0 dw: 720 dh: 576
--- END OF CELL !!! ----0.001 ct: -0.310  103/103  48%  0% 19.1% 2 0
DVD next cell: 4  pack: 0x60ADF-0x656E3  
==> Found subtitle: 0: -0.004 ct: -0.327  291/291  48%  0% 16.0% 4 00
--- END OF CELL !!! --- 0.001 ct: -0.316  1289/1289  46%  0% 13.8% 4 0
DVD next cell: 5  pack: 0x656E4-0x65895  
--- END OF CELL !!! --- 0.001 ct: -0.321  1315/1315  45%  0% 13.8% 4 0
DVD next cell: 8  pack: 0x9B662-0xA35B3  
--- END OF CELL !!! --- 0.001 ct: -0.319  3235/3235  45%  0% 13.2% 5 0
DVD next cell: 9  pack: 0xA35B4-0xC3155  
A: 139.6 V: 139.5 A-V:  0.036 ct: -0.340  4814/4814  44%  0% 12.9% 5 0
Exiting... (Quit)
max framesize was 78512 bytes

After a few seconds of chapter 2 and 3, mplayer have jump at about 10
seconds before the end of the chapter. So here I asked for chapter 2 and
after 30 seconds I was in the chapter 4. And this is the same for the
chapter 5, after a few seconds mplayer jump at about 10 seconds before the
end of chapter 5.

ducamp at groar:/usr/src/cvs/main$ ./mplayer -dvd 5 /dev/cdrom -chapter 5 -dvdangle 1 -v


MPlayer 0.17cvs-010821-22:24(C) 2000-2001 Arpad Gereoffy (see DOCS/AUTHORS)

CommandLine: '-dvd' '5' '/dev/cdrom' '-chapter' '5' '-dvdangle' '1' '-v'
Reading /home/ducamp/.mplayer/codecs.conf: 16 audio & 36 video codecs
font: can't open file: /home/ducamp/.mplayer/font/font.desc
font: can't open file: /usr/local/share/mplayer/font/font.desc
Reading disc structure, please wait...
There are 8 titles on this DVD.
There are 20 chapters in this DVD title.
There are 2 angles in this DVD title.
DVD successfully opened!
DVD start cell: 10  pack: 0xC3156-0xC39CB  
DVD Seek! lba=0xC3156  cell=10  packs: 0xC3156-0xC39CB  
Angle-seek synced! skip=0  new_lba=0xC3156  
ASF_check: not ASF guid!
system stream synced at 0x618AB00D (0)!
==> Found video stream: 0
Detected MPEG-PS file format!
==> Found audio stream: 128
Searching for sequence header... OK!
mpeg2dec-0.2.0-release (C) 2000-2001 Aaron Holtzman & Michel Lespinasse
libmpeg2: Using MMX for IDCT transform
libmpeg2: Using MMX for motion compensation
VIDEO:  MPEG2  720x576  (aspect 3)  25.00 fps  8125.0 kbps (1015.6 kbyte/s)
[V] filefmt:2  fourcc:0x10000002  size:720x576  fps:25.00  ftime:=0.0400
Detected audio codec: [ac3] drv:3 (AC3)
Initializing audio codec...
dec_audio: Allocating 6144 + 65536 = 71680 bytes for output buffer
!! libac3 (core v0.6.2) : using FPU optimization
2.0 Mode 48.0 KHz 448 kbps Complete Main Audio Service
AUDIO: srate=48000  chans=2  bps=2  sfmt=0x10  ratio: 56000->192000
Detected video codec: [mpeg12] drv:1 (MPEG 1 or 2)
VO: [xv] 720x576 => 720x576 Planar YV12 
VO: Description: X11/Xv
VO: Author: Gerd Knorr <kraxel at goldbach.in-berlin.de>
video_out->init(720x576->720x576,flags=0,'MPlayer',0x32315659)
vo: X11 color mask:  FFFF  (R:F800 G:7E0 B:1F)
vo: X11 running at 1024x768 depth: 16 (":0.0" => local display)
Xvideo image format: 0x32595559 (YUY2) packed
Xvideo image format: 0x32315659 (YV12) planar
Xvideo image format: 0x30323449 (I420) planar
Xvideo image format: 0x59565955 (UYVY) packed
Xvideo image format: 0x36315652 (RV16) packed
Xvideo image format: 0x35315652 (RV15) packed
Xvideo image format: 0x31313259 (Y211) packed
using Xvideo port 43 for hw scaling
[xv] dcx: 1 dcy: 16 dx: 0 dy: 0 dw: 720 dh: 576
INFO: Video OUT driver init OK!
AO: [oss] 48000Hz Stereo Signed 16-bit (Little-Endian)
AO: Description: OSS/ioctl audio output
AO: Author: A'rpi
audio_setup: using '/dev/dsp' dsp device
audio_setup: sample format: Signed 16-bit (Little-Endian) (requested: Signed 16-bit (Little-Endian))
audio_setup: using 48000 Hz samplerate (requested: 48000)
audio_setup: frags:   2/2  (65536 bytes/frag)  free: 131072
Start playing...
==> Found audio stream: 129
[xv] dcx: 1 dcy: 16 dx: 0 dy: 0 dw: 720 dh: 576
--- END OF CELL !!! --- 0.009 ct: -0.332  129/129  38%  0% 13.5% 0 0
DVD next cell: 13  pack: 0xF7457-0xFFF7F  
==> Found subtitle: 0: -0.004 ct: -0.322  351/351  41%  0% 13.7% 2 00
--- END OF CELL !!! --- 0.009 ct: -0.321  2322/2322  43%  0% 12.2% 2 0
DVD next cell: 14  pack: 0xFFF80-0x11D95C  
A:  97.6 V:  97.5 A-V:  0.084 ct: -0.328  4766/4766  42%  0% 11.8% 2 0
Exiting... (Quit)
max framesize was 83756 bytes

I confirm that "play_title /dev/cdrom 5 <chap> <angle> | mplayer -" works
perfectly with chap={2,3,5} and angle={1,2} and it seems that mplayer begins
to read at the same place that play_title does.

>From now you have to say me what I have to do to be more useful.

Regards,

Denis Ducamp.

-- 
 Denis.Ducamp at hsc.fr --- Hervé Schauer Consultants --- http://www.hsc.fr/
 Owl/Openwall/snort/hping/dsniff en français   http://www.groar.org/trad/
            Owl en français    http://www.openwall.com/Owl/fr/
 Du bon usage de ... http://usenet-fr.news.eu.org/fr-chartes/rfc1855.html

_______________________________________________
Mplayer-users mailing list
Mplayer-users at lists.sourceforge.net
http://lists.sourceforge.net/lists/listinfo/mplayer-users



More information about the MPlayer-users mailing list