[linux-dvb] Converting TS file to DVD format

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



C.Y.M wrote:

>>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 -
>  
>

you have been very lucky not to destroy dync. You simply should use

mencoder -of mpeg -mpegopts format=dvd:vbitrate=9000 -o /home/video/$1.mpg -oac copy -ovc copy *.vdr



>  
>
>>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 \
>>-lavcopts
>>vcodec=mpeg2video:vbitrate=5000:keyint=18:mbd=2:aspect=16/9:vpass=1 -vf
>>scale=720:-10,expand=720:480
>>
>>    
>>
>
>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?
>
>Best Regards,
>
>  
>

are you using one of those castrated packaged ffmpeg/libavcodec/mplayer? 
If so you should compile
a fresh checkout of ffmpeg+mplayer



[Index of Archives]     [Linux Media]     [Video 4 Linux]     [Asterisk]     [Samba]     [Xorg]     [Xfree86]     [Linux USB]

  Powered by Linux