You are not logged in.

#1 2009-07-17 05:18:34

slackcub
Member
Registered: 2009-03-14
Posts: 144

[Solved] DVD works fine in computers, distorted in DVD players.

I'm having some trouble getting DVD's that I create from AVI's to work in a DVD player.  I followed the wiki page, and the ISO image and disc I end up with play fine on my computer, my roommate's mac, and my grandmother's windows box (All using VLC, if that matters).  However, when I try to play it in a DVD player (I tried two different ones, different brands), I end up with a lot of distortion in the video.  it seems like the screen is cut into about 10 horizontal "strips", with each "strip"  being shifted to the left.  Also, approximately the left third of the screen is filled with streaks of colors, and the entire video is in the remaining two thirds of the screen.   I'm not sure what could be causing this, and I hope I'm not the only one seeing this.  The commands I use to create the DVD and the dvdauthor xml file are below.  Thanks for any help you can give me!

rm divx2pass.log

 mencoder -nosound -ovc lavc -of rawvideo -vf \
 scale=854:480,harddup \
 -ofps 30000/1001 -lavcopts vcodec=mpeg2video:turbo:vpass=1:vrc_buf_size=1835\
:vrc_maxrate=9800:vbitrate=5500:keyint=15:vstrict=0:aspect=16/9 \
 -o /dev/null movie.avi || exit


mencoder -oac lavc -ovc lavc -of mpeg -mpegopts format=dvd:tsaf -vf \
 scale=854:480,harddup \
 -srate 48000 -ofps 30000/1001 -lavcopts vcodec=mpeg2video:vpass=2:vrc_buf_size=1835\
:vrc_maxrate=9800:vbitrate=5500:keyint=15:trell:mbd=2:precmp=2:subcmp=2\
:cmp=2:dia=2:predia=2:cbp:mv0:lmin=1:dc=10:acodec=ac3:abitrate=384:vstrict=0\
 -channels 2 movie.avi -o movie.mpg  || exit

dvdauthor -o dvd -x dvd.xml
<dvdauthor>
    <vmgm />
    <titleset>
    <titles>
            <video format="ntsc" aspect="16:9" resolution="854x480" />
            <audio lang="en" />
            <pgc>
                <vob file="movie.mpg" />
            </pgc>
        </titles>
    </titleset>
</dvdauthor>

Last edited by slackcub (2009-07-18 13:55:52)

Offline

#2 2009-07-17 12:58:36

Raffles10
Member
From: London, UK
Registered: 2009-05-09
Posts: 115

Re: [Solved] DVD works fine in computers, distorted in DVD players.

Have you tried any alternative methods ?

Devede is a very simple way to create dvd's from video files and works every time.

So much more straightforward than cli.

Offline

#3 2009-07-17 16:34:29

slash77
Member
From: North Carolina, US
Registered: 2009-03-27
Posts: 3

Re: [Solved] DVD works fine in computers, distorted in DVD players.

For what it's worth, here's my mencoder line:

mencoder -oac lavc -ovc lavc -of mpeg -mpegopts format=dvd:tsaf -vf scale=720:480,harddup -srate 48000 -af lavcresample=48000 -lavcopts vcodec=mpeg2video:vrc_buf_size=1835:vrc_maxrate=9800:vbitrate=5000:keyint=18:vstrict=0:acodec=ac3:abitrate=192:aspect=16/9 -ofps 30000/1001 -o movie.mpg movie.avi

The main differences I see are the resolution - 854x480 instead of 720x480 which I believe is the standard for DVDs and the two-pass method. I was under the impression that the two-pass method was used for transcoding INTO Xvid/DivX (avi container), but I could be wrong. The other differences seem to be quality preferences.

Offline

#4 2009-07-17 17:27:01

brisbin33
Member
From: boston, ma
Registered: 2008-07-24
Posts: 1,796
Website

Re: [Solved] DVD works fine in computers, distorted in DVD players.

i'll throw in another example for reference.  from my dvdcopy script:

standard DVD9 -> file.mpeg ($VBR is calculated to keep filesize under 4.3GB wink)

mencoder dvd://$TITLE -dvd-device $DEV -ovc lavc -of mpeg -mpegopts format=dvd:tsaf -vf scale=720:480,harddup \
  -lavcopts vcodec=mpeg2video:vrc_buf_size=1835:vrc_maxrate=9800:vbitrate=${VBR}:keyint=18:vstrict=0:aspect=16/9 \
  -ofps 30000/1001 -oac copy -o $WD/file.mpeg

file.mpeg -> MOVIE/{VIDEO,AUDIO}_TS

dvdauthor -t -o $WD/MOVIE $WD/file.mpeg
dvdauthor -T -o $WD/MOVIE

(the variables should be self-explanatory, i hope)

after making/burning an ISO out of the MOVIE folder, it plays just fine everywhere i've tried it.

/edit: wow slash, we must've read the same wiki or something; our options are pretty much identical big_smile

Last edited by brisbin33 (2009-07-17 17:29:57)

Offline

#5 2009-07-17 19:27:16

slackcub
Member
Registered: 2009-03-14
Posts: 144

Re: [Solved] DVD works fine in computers, distorted in DVD players.

Raffles:  Looks like devede is just a frontend for dvdauthor, mplex, etc.  Will try it when I get home tonight. 

slash:  According to the wiki entry 854x480 is the standard for 16:9 NTSC video

brisbin: I'll see what I can do about combining your options into mine when I get home tonight.  I don't notice any major differences at the moment. 

David
slackcub@gmail.com

Offline

#6 2009-07-17 19:55:51

eldragon
Member
From: Buenos Aires
Registered: 2008-11-18
Posts: 1,029

Re: [Solved] DVD works fine in computers, distorted in DVD players.

dvdstyler

Offline

#7 2009-07-17 20:04:35

slash77
Member
From: North Carolina, US
Registered: 2009-03-27
Posts: 3

Re: [Solved] DVD works fine in computers, distorted in DVD players.

Offline

#8 2009-07-17 21:15:48

brisbin33
Member
From: boston, ma
Registered: 2008-07-24
Posts: 1,796
Website

Re: [Solved] DVD works fine in computers, distorted in DVD players.

yup, that's where i got my options... been workin great for me.

Offline

#9 2009-07-17 22:23:25

slackcub
Member
Registered: 2009-03-14
Posts: 144

Re: [Solved] DVD works fine in computers, distorted in DVD players.

well I guess I just had the wrong options, but I tried to burn something devede and it works just fine.  I suspect it was the resolution as devede made it at 720x480.  The wiki page may need to be changed.  This is the one that I'm referring to: http://wiki.archlinux.org/index.php/Con … _DVD_Video

David

Offline

Board footer

Powered by FluxBB