Am Montag 30 Juli 2007 16:44 schrieb Hans-Jürgen Koch:

> [...]
> > >I have a NTSC DVD and want to create a PAL DVD from it.
> > >I copied the VOBs to my disk using dvdunauthor. Then I used
> > >the following command to convert video to 25fps:
> > >
> > >transcode -i vob_01t_001.vob -x vob,null -a 0,0 \
> > >-y mpeg2enc,null -F8 -w 7800 -J modfps --export_fps 25 \
> > >--export_asr 2 --export_prof dvd_pal -o my_output
[...]
> 
> I took a scene near the end of the movie where I could exactly determine
> the delay (a shot from a gun...), and changed the tempo of the sound file
> accordingly using audacity's "Change Tempo" effect. The result is that
> now audio and video are in sync at the beginning and at the end of the
> video, but not in the middle. That means the delay error is not constant.
> 
> As I took audio from the original VOB, it can only mean that transcode's
> 29.97 to 25 fps conversion algorithm is broken and slightly changes the
> speed up and down during conversion. No chance to get audio in sync with
> that. 

I finally solved my problem. As transcode doesn't seem to be able to do
this properly, I tried mencoder. This commandline does the job:

mencoder -oac copy -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=5000:keyint=15:aspect=4/3:ildct:ilme:mbd=2 -ofps 25 
-o my_output.mpg vob_01t_001.vob > /dev/null 2>&1

It produces the desired end result, with audio and video exactly
in sync.

Thanks,
Hans
 

Reply via email to