Prepare videos for DVD authoring
If you need for some reason prepare mpeg files for DVD outside of DVD authoring application, here are two commands which can help you a lot.
Option 1 – ffmpeg
for i in *.mkv; do name=`echo $i | cut -d'.' -f1`; echo $name; ffmpeg -i $i -target pal-dvd -r 25 -s 720x576 -aspect 16:9 -b 5200k $name.mpeg; done
Option 2 – mencoder
for i in *.mp4; do name=`echo $i | cut -d'.' -f1`; echo $name; mencoder -oac lavc -ovc lavc -of mpeg -mpegopts format=dvd -vf scale=720:576,harddup -srate 48000 -af lavcresample=48000 -lavcopts vcodec=mpeg2video:vrc_buf_size=1835:vrc_maxrate=9800:vbitrate=2400:keyint=15:aspect=16/9:acodec=ac3:abitrate=192 -ofps 25 -o $name.mpeg $i; done