[MPlayer-users] DVD plays (and rips) without audio :-(
Alexandre Oliva
oliva at lsd.ic.unicamp.br
Mon Apr 15 02:16:02 CEST 2002
[sorry if this shows up in duplicate; I've got an error in my first
attempt to post, apparently because I mentioned that I had tried with
a forbidden version of the compiler in addition to one of the approved
ones :-), but I don't see the message in the archives, so I'm trying
again]
[please cc: me on replies; I'm not subscribed (yet? :-)]
Some of my DVDs play perfectly well, but some (e.g., Matrix) come out
without audio. Even if I try to convert them to AVI first, it doesn't
work.
The problem appears to be correlated with the presence of an initial
copyright notice in the movie video stream, without associated audio
(as opposed to a copyright notice in the introductory video stream
displayed before the main menu). When playing such VOBs, MPlayer
appears to fail to notice an audio track is introduced after 30
seconds of video or so. The problem occurs both in mplayer and in
mencoder.
I've tried -ni, -aid {128,129,130}, and some other suggestions in the
on-line docs and in the mailing list, but nothing helped.
I was having this problem with the CVS snapshot of 2002-03-15, but
I've just upgraded today's snapshot without luck. Built on Red Hat
Linux 7.2 using gcc3-3.0.4-1.
Here are details on what I get in my attempts to convert one of the
already-decrypted VOBs to AVI. Note that only a small portion of the
VOB ends up being converted.
% mencoder -v -ni -oac copy -ovc copy -o rp1.avi video_ts/vts_01_1.vob
MEncoder CVS-020414-01:00-3.0.4 (C) 2000-2002 Arpad Gereoffy (see DOCS!)
CPUflags: Type: 6 MMX: 1 MMX2: 1 3DNow: 1 3DNow2: 1 SSE: 0 SSE2: 0
Reading /home/aoliva/.mplayer/codecs.conf: 30 audio & 81 video codecs
CPU vendor name: AuthenticAMD max cpuid level: 1
CPU: Advanced Micro Devices Athlon TB Thunderbird (Type: 6, Stepping: 4)
extended cpuid-level: 6
File not found: 'frameno.avi'
File size is 1073739776 bytes
Not an URL!
Not an URL!
Checking for YUV4MPEG2
success: format: 0 data: 0x0 - 0x3FFFF800
DEMUXER: freeing demuxer at 0x8282670
ASF_check: not ASF guid!
DEMUXER: freeing demuxer at 0x8282670
Checking for NuppelVideo
DEMUXER: freeing demuxer at 0x8282670
Checking for MOV
DEMUXER: freeing demuxer at 0x8282670
Checking for VIVO
DEMUXER: freeing demuxer at 0x8282670
header block 1 size: 0
Checking for REAL
DEMUXER: freeing demuxer at 0x8282670
DEMUXER: freeing demuxer at 0x8282670
DEMUXER: freeing demuxer at 0x8282670
DEMUXER: freeing demuxer at 0x8282670
DEMUXER: freeing demuxer at 0x8282670
DEMUXER: freeing demuxer at 0x8282670
system stream synced at 0xD (0)!
{ERROR5,c=0}
==> Found video stream: 0
Detected MPEG-PS file format!
{ERROR5,c=0}
{ERROR5,c=0}
{ERROR5,c=0}
{ERROR5,c=0}
{ERROR5,c=0}
{ERROR5,c=0}
{ERROR5,c=0}
{ERROR5,c=0}
{ERROR5,c=0}
{ERROR5,c=0}
{ERROR5,c=0}
{ERROR5,c=0}
{ERROR5,c=0}
{ERROR5,c=0}
{ERROR5,c=0}
{ERROR5,c=0}
{ERROR5,c=0}
{ERROR5,c=0}
{ERROR5,c=0}
{ERROR5,c=0}
{ERROR5,c=0}
{ERROR5,c=0}
{ERROR5,c=0}
{ERROR5,c=0}
DEMUXER: Too many (4096 in 8290403 bytes) video packets in the buffer!
(maybe you play a non-interleaved stream/file or the codec failed)
ds_fill_buffer: EOF reached (stream: audio)
MPEG: No Audio stream found... ->nosound
Searching for sequence header... OK!
VIDEO: MPEG2 720x480 (aspect 3) 29.97 fps 6875.0 kbps (859.4 kbyte/s)
[V] filefmt:2 fourcc:0x10000002 size:720x480 fps:29.97 ftime:=0.0334
Pos: 0.0s 1f ( 0%) 0fps Trem: 0min 8mb A-V:0.000 [0:0] A/Vms 0/0 D/S 0/0
videocodec: framecopy (720x480 24bpp fourcc=10000002)
Writing AVI header...
user_data: len=116 43 43 01 F8 'CC'
Pos: 0.1s 2f ( 0%) 0fps Trem: 0min 9mb A-V:0.000 [0:0] A/Vms 0/0 D/S 0/0
Pos: 0.1s 3f ( 0%) 0fps Trem: 0min 10mb A-V:0.000 [0:0] A/Vms 0/0 D/S 0/0
Pos: 0.1s 4f ( 0%) 0fps Trem: 0min 15mb A-V:0.000 [0:0] A/Vms 0/0 D/S 0/0
Pos: 0.2s 5f ( 0%) 0fps Trem: 0min 15mb A-V:0.000 [0:0] A/Vms 0/0 D/S 0/0
Pos: 0.2s 6f ( 0%) 0fps Trem: 0min 16mb A-V:0.000 [0:0] A/Vms 0/0 D/S 0/0
Pos: 0.2s 7f ( 0%) 0fps Trem: 0min 23mb A-V:0.000 [0:0] A/Vms 0/0 D/S 0/0
Pos: 0.3s 8f ( 0%) 0fps Trem: 0min 24mb A-V:0.000 [0:0] A/Vms 0/0 D/S 0/0
Pos: 0.3s 9f ( 0%) 0fps Trem: 0min 25mb A-V:0.000 [0:0] A/Vms 0/0 D/S 0/0
Pos: 0.3s 10f ( 0%) 0fps Trem: 0min 31mb A-V:0.000 [0:0] A/Vms 0/0 D/S 0/0
Pos: 0.4s 11f ( 0%) 0fps Trem: 0min 32mb A-V:0.000 [0:0] A/Vms 0/0 D/S 0/0
Pos: 0.4s 12f ( 0%) 0fps Trem: 0min 34mb A-V:0.000 [0:0] A/Vms 0/0 D/S 0/0
Pos: 0.4s 13f (!
0%) 0fps Trem: 0min 38mb A-V:0.000 [0:0] A/Vms 0/0 D/S 0/0
Pos: 0.5s 14f ( 0%) 0fps Trem: 0min 40mb A-V:0.000 [0:0] A/Vms 0/0 D/S 0/0
Pos: 0.5s 15f ( 0%) 0fps Trem: 0min 42mb A-V:0.000 [0:0] A/Vms 0/0 D/S 0/0
Pos: 0.5s 16f ( 0%) 0fps Trem: 0min 56mb A-V:0.000 [0:0] A/Vms 0/0 D/S 0/0
user_data: len=116 43 43 01 F8 'CC'
[...]
Pos: 201.7s 5068f (11%) 1654fps Trem: 0min 931mb A-V:0.000 [4537:0] A/Vms 0/0 D/S 978/0
Pos: 201.8s 5069f (11%) 1654fps Trem: 0min 931mb A-V:0.000 [4536:0] A/Vms 0/0 D/S 979/0
Pos: 201.8s 5070f (11%) 1654fps Trem: 0min 931mb A-V:0.000 [4536:0] A/Vms 0/0 D/S 979/0
Pos: 201.9s 5071f (11%) 1655fps Trem: 0min 931mb A-V:0.000 [4536:0] A/Vms 0/0 D/S 980/0
Pos: 201.9s 5072f (11%) 1654fps Trem: 0min 931mb A-V:0.000 [4536:0] A/Vms 0/0 D/S 980/0
Pos: 202.0s 5073f (11%) 1654fps Trem: 0min 931mb A-V:0.000 [4536:0] A/Vms 0/0 D/S 980/0
DEMUXER: Too many (4096 in 8256476 bytes) audio packets in the buffer!
(maybe you play a non-interleaved stream/file or the codec failed)
ds_fill_buffer: EOF reached (stream: video)
DEMUXER: Too many (4096 in 8256476 bytes) audio packets in the buffer!
(maybe you play a non-interleaved stream/file or the codec failed)
ds_fill_buffer: EOF reached (stream: video)
DEMUXER: Too many (4096 in 8256476 bytes) audio packets in the buffer!
(maybe you play a non-interleaved stream/file or the codec failed)
ds_fill_buffer: EOF reached (stream: video)
DEMUXER: Too many (4096 in 8256476 bytes) audio packets in the buffer!
(maybe you play a non-interleaved stream/file or the codec failed)
ds_fill_buffer: EOF reached (stream: video)
DEMUXER: Too many (4096 in 8256476 bytes) audio packets in the buffer!
(maybe you play a non-interleaved stream/file or the codec failed)
ds_fill_buffer: EOF reached (stream: video)
DEMUXER: Too many (4096 in 8256476 bytes) audio packets in the buffer!
(maybe you play a non-interleaved stream/file or the codec failed)
ds_fill_buffer: EOF reached (stream: video)
Writing AVI index...
Fixup AVI header...
Video stream: 4536.804 kbit/s (567100 bps) size: 114536888 bytes 201.969 secs 5073 frames
*** free_stream() called ***
Suggestions on where to look at to try to nail down the bug? I'm
totally unfamiliar with encoding formats and with MPlayer code :-(
BTW, I'd been able to use -sb in the previous snapshot of mencoder
that I used, to overcome this problem (just to get it again a couple
of megabytes down the road :-), but now mencoder rejects the -sb
option. Same command line as above, except for `-sb 18000000' added
in the beginning of the argument list:
Error: 'sb' is not an mplayer option
command line: -sb
Exiting... (error parsing cmdline)
With judicious use of -sb and -endpos, it was possible to encode an
entire DVD, with a number of passes, but now, without -sb in mencoder,
it has become pretty much impossible. Was this change intentional?
Another problem is that I've been unable to rip DVDs with subtitles.
Even though they show up well within mplayer, mencoder seems to be
ignoring the options -sid and -ifo. It doesn't complain about them,
but the subtitles that show up with mplayer don't make it to the
resulting AVI file, or at least I wasn't able to figure out how to get
them displayed after the movie is converted to AVI. I've tried using
-vobsub too after creating the AVI without success :-(
Can anyone suggest a procedure for ripping DVDs preserving subtitles
in some selected language that is known to work?
Thanks in advance,
--
Alexandre Oliva Enjoy Guarana', see http://www.ic.unicamp.br/~oliva/
Red Hat GCC Developer aoliva@{cygnus.com, redhat.com}
CS PhD student at IC-Unicamp oliva@{lsd.ic.unicamp.br, gnu.org}
Free Software Evangelist Professional serial bug killer
More information about the MPlayer-users
mailing list