[MEncoder-users] DVD compliant MPEG2 encoding

Lauri Myllari lauri at myllari.net
Mon Sep 12 21:49:45 CEST 2005


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

Title 1 works.
Title 2 has the usual problems - at 7 seconds Pioneer's display changes
to "STILL", playback continues for a while and after ~30seconds freezes.
Title 3 works.

I got the same results with harddup added to first command.

> >Does anybody have an analyzer that could peek into differences between
> >pulldown by mencoder and pulldown.exe? Perhaps the video problems are
> >related to the APTS-SCR errors when trying to encode both video and
> >audio? (Or have these been solved already and I've just missed some
> >documentation?)
> 
> 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




More information about the MEncoder-users mailing list