[linux-dvb] Converting TS file to DVD format
syphir at syphir.sytes.net
Thu Mar 31 09:16:59 CEST 2005
> using mencoder straight from cvs:
> $ mencoder -of mpeg -mpegopts format=dvd:vbitrate=9000 -o digital.dvd
> -oac copy -ovc copy digital.ts
> (and the same for the other two, with the exception that hdtv.ts must be
> re-encoded with
> valid resolution).
I have been using mencoder like this with very good results:
cat 00*.vdr|pes2ts2 100 101|ts2ps 100 101|mencoder -of mpeg -mpegopts
format=dvd:vbitrate=9000 -o /home/video/$1.mpg -oac copy -ovc copy -
> I patched the bitrate because the nominal 15000 in digital.ts (that
> seems to be fake) is not correct for dvd.
> Besides a resolution of 528x480 is not valid either, but most modern
> players will accept it, so re-encoding
> is not worth the hassle.
> For hdtv the basic command is:
> $ mencoder -of mpeg -mpegopts format=dvd:vbitrate=9000 -o hdtv.dvd -oac
> copy -ovc lavc \
> vcodec=mpeg2video:vbitrate=5000:keyint=18:mbd=2:aspect=16/9:vpass=1 -vf
When I attempt this next command line with "mpeg2video", i get an error saying
missing "mpeg2video" codec. But, I know I have the codec installed. Am I doing
something wrong with the second command?
More information about the linux-dvb