[MEncoder-users] Problems when creating video dvd

Sebastian sebastian_ml at gmx.net
Mon Jan 16 15:17:10 CET 2006


Hi all!

I'm trying to encode a divx movie to dvd. But during the process I get
lots of warnings and in the end the dvd won't play (not even using
mplayer).

Here's what I have and what I did with it:

######################################################################

file Documentary.avi
Documentary.avi: RIFF (little-endian) data, AVI, 512 x 288, 29.97 fps,
video: DivX 5, audio: MPEG-1 Layer 3 (stereo, 44100 Hz)

######################################################################

For encoding I used mencoder (with libavcodec) from yesterdays CVS:

mencoder -sws 9 -vf scale=720:480 -ofps 30000/1001 Documentary.avi -oac
lavc -ovc lavc -srate 48000 -af lavcresample=48000 -lavcopts
trell:cbp:dc=10:precmp=2:subcmp=2:cmp=2:dia=-10:predia=-10:mv0:vqmin=1:lmin=1:aspect=16/9:vcodec=mpeg2video:mbd=2:keyint=12:vrc_maxrate=9800:vrc_buf_size=1835:vpass=1:vbitrate=5200:acodec=ac3:abitrate=192
-o /dev/null -of mpeg -mpegopts format=dvd && mencoder -sws 9 -vf
scale=720:480 -ofps 30000/1001 Documentary.avi -oac lavc -ovc lavc
-srate 48000 -af lavcresample=48000 -lavcopts
trell:cbp:dc=10:precmp=2:subcmp=2:cmp=2:dia=-10:predia=-10:mv0:vqmin=1:lmin=1:aspect=16/9:vcodec=mpeg2video:mbd=2:keyint=12:vrc_maxrate=9800:vrc_buf_size=1835:vpass=2:vbitrate=5200:acodec=ac3:abitrate=192
-o Documentary.mpeg -of mpeg -mpegopts format=dvd

#######################################################################

During the encoding process mencoder spit out lots of "rc buffer
underflow" warnings like this:

mpeg2video @ 0x8460a28]rc buffer underflow4min 4040mb A-V:0.047
[4910:192]

#######################################################################

Then I handed the file to dvdauthor:

dvdauthor -o dvd -a ac3+en -c
0,10:00,20:00,30:00,40:00,50:00,1:00:00,1:10:00,1:20:00,1:30:00,1:40:00
documentary.mpg

dvdauthor gave hundreds of warnings like this:

WARN: audio sector out of range: -1162101 (vobu #17382, pts 3168.535)

#######################################################################

I finished the dvd stucture and burned it:

dvdauthor -o dvd/ -T
growisofs -dvd-compat -Z /dev/dvd -dvd-video dvd/

#######################################################################

Then I tried to play it with mplayer but it doesn't work:

mplayer dvd://
MPlayer dev-CVS-060115-18:27-3.4.4 (C) 2000-2006 MPlayer Team
CPU: Advanced Micro Devices Sempron/Athlon MP/XP Thoroughbred; Duron
Applebred (Family: 6, Stepping: 1)
CPUflags:  MMX: 1 MMX2: 1 3DNow: 1 3DNow2: 1 SSE: 1 SSE2: 0
Compiled for x86 CPU with extensions: MMX MMX2 3DNow 3DNowEx SSE


Playing dvd://.
Reading disc structure, please wait...
libdvdread: Can't seek to block 256
libdvdread: Can't seek to block 256
libdvdread: Can't open file VIDEO_TS.IFO.
Can't open VMG info!
[file] No filename
Failed to open dvd://


Exiting... (End of file)

#################################################################

I can't even mount the disc (usually not a problem):

mount /mnt/cdrom/
mount: wrong fs type, bad option, bad superblock on /dev/hdc,
       missing codepage or other error
       In some cases useful info is found in syslog - try
       dmesg | tail  or so

While trying to mount the disc I get these messages in syslog:

Jan 16 15:12:08 section_eight attempt to access beyond end of device
Jan 16 15:12:08 section_eight hdc: rw=0, want=68, limit=4
Jan 16 15:12:08 section_eight isofs_fill_super: bread failed, dev=hdc,
iso_blknum=16, block=16

###################################################################

The video is not too big for a dvd5, though:

du -h dvd/
4,2G    dvd/VIDEO_TS
4,0K    dvd/AUDIO_TS
4,2G    dvd/

###################################################################

Any ideas?
Btw, the video quality of your mpeg2 encoder is superb! Thanks!

Sebastian



-- 
"When the going gets weird, the weird turn pro." (HST)
-------------- next part --------------
A non-text attachment was scrubbed...
Name: not available
Type: application/pgp-signature
Size: 189 bytes
Desc: not available
URL: <http://lists.mplayerhq.hu/pipermail/mencoder-users/attachments/20060116/3f916169/attachment.pgp>


More information about the MEncoder-users mailing list