[mythtv-users] Re: export HD (1920x1080i) to dvd with mencoder?

Byron Poland wpoland at gmail.com
Mon Oct 24 14:40:39 EDT 2005


On 10/24/05, Boleslaw Ciesielski <bolek-mythtv at curl.com> 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.


More information about the mythtv-users mailing list