[MEncoder-users] DVD compliant MPEG2 encoding

Nico Sabbi nsabbi at tiscali.it
Mon Sep 12 22:38:28 CEST 2005


Lauri Myllari wrote:

>On Mon, Sep 12, 2005 at 08:42:41PM +0200, Nico Sabbi wrote:
>  
>
>>can you try to mux the pulldown-ed m2v using  mencoder only as a muxer:
>>-of mpeg -mpegopts format=dvd:telecine:vaspect=16/9 -ovc copy -oac copy
>>and report, please?
>>    
>>
>
>Is this ok?
>
>% mencoder kingdom_of_heaven_m720p.mov -o video.m2v -noskip -ofps 24000/1001 \
>-ovc lavc -of rawvideo -ffourcc MPG2 -vf expand=1280:720,scale=720:480 \
>-lavcopts vcodec=mpeg2video:keyint=15:vbitrate=1800:vrc_buf_size=1835:vrc_maxrate=9000:aspect=16/9:me_range=256
>% pulldown.exe video.m2v video_pulldown.m2v
>% mplex -f 8 -o title1.vob video_pulldown.m2v audio.ac3
>  
>
mplex is unnecessary in this test

>% mencoder video_pulldown.m2v -of mpeg -mpegopts format=dvd:telecine:vaspect=16/9 -ovc copy -oac copy -o title2.vob
>[ "1 duplicate frame(s)!" every 4 frames, segfaults when finished ]
>  
>

mencoder video_pulldown.m2v -of mpeg -mpegopts format=dvd:telecine:vaspect=16/9 -ovc copy -oac copy \ 
-audiofile audio.ac3 -audio-demuxer 20 -rawaudio format=0x2000:bitrate=<BITRATE> -o title2.vob

dvdauthor ... title2.vob

and test the resulting dvd with your standalone player

>% tcextract -i title2.vob -x mpeg2 > title3.m2v
>% mplex -f 8 -o title3.vob title3.m2v audio.ac3
>% for i in {1..3}; do dvdauthor -o image title${i}.vob; done; dvdauthor -o image -T
>  
>

remove these 3

>>
>>mpeg2desc < file.mpg|less
>>    
>>
>
>I'll take a look at it. If there's nothing obvious, should I post the
>output? Or put it on the web?
>
>--rez
>
>_
>
even better: send me the output of
$    mpeg2desc < title2.vob | grep -B 1 pts | less
please.

Thanks,

    Nico




More information about the MEncoder-users mailing list