[MPlayer-users] dvd_last_chapter not doing anything?

mail-lists+mpu at dogphilosophy.net mail-lists+mpu at dogphilosophy.net
Wed Jun 2 07:16:29 CEST 2004


-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA1

It seems like (at least with current CVS) if I try to select a range of DVD 
chapters to play, it still only plays one, at least in my current situation.

I'm ATTEMPTING to "export" the audio from a DVD to LAME, to turn the audio
into mp3's.  It is working - I do:

mkfifo stream.wav
mplayer -vo null -ao pcm -aofile stream.wav dvd://1 -chapter 2-7 2>&1 
>/dev/null &
lame -b 96 -h stream.wav 01.lecture_one.mp3

And it chugs along...but only to the end of chapter 2.  At that point it just
stops.  I've also tried using mencoder (with the intention of doing a 
"dumpstream" afterwards to extract just the .mp3 track) and it behaves the
same way:
- ----------------------------------------------------------------------
bash-2.05b$ mencoder -ovc frameno -oac mp3lame -lameopts abr:preset=96 -o 
01.lecture1.avi dvd://1 -chapter 2-7
MEncoder dev-CVS-040601-21:58-3.3.3 (C) 2000-2004 MPlayer Team

CPU: Advanced Micro Devices Athlon MP/XP Thoroughbred 2708 MHz (Family: 6, 
Stepping: 1)
Detected cache-line size is 64 bytes
CPUflags: Type: 6 MMX: 1 MMX2: 1 3DNow: 1 3DNow2: 1 SSE: 1 SSE2: 0
Compiled for x86 CPU with extensions: MMX MMX2 3DNow 3DNowEx SSE

Reading /home/epicanis/.mplayer/codecs.conf: Can't open 
'/home/epicanis/.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.
File not found: 'frameno.avi'
Failed to open frameno.avi
Reading config file /home/epicanis/.mplayer/mencoder: No such file or 
directory
font: can't open file: /home/epicanis/.mplayer/font/font.desc
font: can't open file: /usr/local/share/mplayer/font/font.desc
Reading disc structure, please wait...
There are 1 titles on this DVD.
There are 38 chapters in this DVD title.
There are 1 angles in this DVD title.
DVD successfully opened.
success: format: 0  data: 0x0 - 0x2BD2000
MPEG-PS file format detected.
VIDEO:  MPEG2  720x480  (aspect 2)  29.970 fps  3000.0 kbps (375.0 kbyte/s)
[V] filefmt:2  fourcc:0x10000002  size:720x480  fps:29.97  ftime:=0.0334
==========================================================================
Opening audio decoder: [liba52] AC3 decoding with liba52
Using SSE optimized IMDCT transform
AC3: 2.0 (stereo)  48000 Hz  192.0 kbit/s
Using MMX optimized resampler
AUDIO: 48000 Hz, 2 ch, 16 bit (0x10), ratio: 24000->192000 (192.0 kbit)
Selected audio codec: [a52] afm:liba52 (AC3-liba52)
==========================================================================
MP3 audio selected
Building audio filter chain for 48000Hz/2ch/16bit -> 48000Hz/2ch/16bit...
Writing AVI header...
ODML: Aspect information not (yet?) available or unspecified, not writing vprp 
header.

preset=96

Pos:   0.7s     22f ( 1%)   0fps Trem:   0min   1mb  A-V:0.070 [0:94]
Skipping frame!
Pos:   1.0s     32f ( 1%)   0fps Trem:   0min   1mb  A-V:0.069 [0:95]
Skipping frame!
Pos:   2.6s     80f ( 2%)   0fps Trem:   0min   1mb  A-V:0.067 [0:96]
Skipping frame!
Pos: 112.0s   3359f (100%) 200fps Trem:   0min   1mb  A-V:-0.024 [0:102]
Writing AVI index...
Fixing AVI header...
ODML: Aspect information not (yet?) available or unspecified, not writing vprp 
header.
Recommended video bitrate for 650MB CD: 48574
Recommended video bitrate for 700MB CD: 52320
Recommended video bitrate for 800MB CD: 59811
Recommended video bitrate for 2 x 650MB CD: 97268
Recommended video bitrate for 2 x 700MB CD: 104759
Recommended video bitrate for 2 x 800MB CD: 119741

Video stream:    0.959 kbit/s  (119 bps)  size: 13424 bytes  111.979 secs  
3359 frames

Audio stream:  102.793 kbit/s  (12849 bps)  size: 1445376 bytes  112.488 secs
- ----------------------------------------------------------------------

Chapters 2-7 SHOULD be about 30 minutes...112seconds is just chapter 2.
If I give it an INVALID chapter range (e.g. -chapter 2-1) it correctly 
complains, though.

Is this a bug?  Or am I just doing something wrong?...
-----BEGIN PGP SIGNATURE-----
Version: GnuPG v1.9.5 (GNU/Linux)

iD8DBQFAvWKyJ6yQLhNTzSkRAsBAAKCsFXn2IFAtxRamZmz0y8splqu/7ACgqZKg
pwdRXDKQR15eiklB6d9Ss24=
=kqie
-----END PGP SIGNATURE-----




More information about the MPlayer-users mailing list