Byron Poland [EMAIL PROTECTED] wrote: > On 10/24/05, Boleslaw Ciesielski <[EMAIL PROTECTED]> wrote: > > On Mon, Oct 24, 2005 at 11:38:55AM -0400, Andrew Gallatin wrote: > > > > > > I've gotten the following mencoder commandline to convert to pure > > > mpeg2, but I'm at a loss how to make it scale its output to a DVD > > > resolution (720x480). > > > > For 1080i ATSC files the following works for me: > > > > mencoder -of mpeg -mpegopts format=dvd:vbitrate=8000 -oac copy -ovc lavc > > -lavcopts vcodec=mpeg2video:vbitrate=8000:keyint=18:mbd=2:aspect=16/9 -vf > > scale=720:480:1 -fps 30000/1001 -vc mpeg12, -o foo.mpg foo.nuv > > > > You must also pass -v 16:9 to dvdauthor, since the resulting mpg file > > has a non-square pixel (16:9 aspect in 720x480). > > > > Bolek > > > I spent a few days a little while ago figuring out the best route. > after trying the tovid scripts and getting nothing but out of A/V sync > vob's I figured out the following command for ffmpeg: (this was after > running the ".nuv" through ProjectX in TS mode. > > ffmpeg -i INFILE.ts -target dvd -hq -b 4656 -s 720x410 -padtop 34 > -padbottom 36 -padcolor 000000 -acodec copy OYTU_FILE.mpg > > maybe it was the square pixel thing, but with out the padding the > resulting dvd when played back on a 4:3 tv was squashed horizontally > instead of letterboxed, so I added the letterbox manually.
Thanks guys. I will try these tomorrow with the next one in the series. I actually managed to make a dvd today via: mencoder -oac copy -ovc lavc -of mpeg -mpegopts format=dvd -vf scale=720:480,harddup -srate 48000 -af lavcresample=48000 -lavcopts vcodec=mpeg2video:vrc_buf_size=1835:vrc_maxrate=9800:vbitrate=5000:keyint=18:aspect=16/9 -ofps 30000/1001 -o file.mpg file.nuv Running dvdauthor on that file.mpg creates a file with audio sync problems, so I ran it through avidemux2 and-resaved a new mpg file. *That* file ended up working just fine. I played the first few minutes in our DVD player to check.. Thanks again! Drew
_______________________________________________ mythtv-users mailing list [email protected] http://mythtv.org/cgi-bin/mailman/listinfo/mythtv-users
