>Hi,
>first of all: It's really a funny coincidence that I had a
>NTSC-->PAL DVD conversion problem exactly at the same time
>as Ben Blout :-) I read his posting in the archives shortly
>after I subscribed to this list.
>
>All right, here's what I've got:
>
>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
>
>This produces my_output.m2v with 25fps in good quality.
>(Ben, does this work for you?)

You have one error in the command line
you need dvd-pal, not dvd_pal.
  [shouldn't transcode report an error?]

do you see a line like 
[filter_modfps.so] converting from 29.9700fps to 25.0000fps

I would also suggest -J modfps=mode=1,examine=6
to get some improvement.

>My problem is: How do I add the audio so that it is
>in sync?
>
>I first tried to do this to extract the AC3 stream:
>
>tccat -i /path/to/rip/vob_01_001t.vob -t vob | \
>tcdemux -a 0 -x ac3 | \
>tcextract -t vob -x ac3 -a 0 > my_output.ac3

>Unfortunately, this produces a corrupted file that
>is not readable, not even by tcprobe. Does anybody
>know why?

Sorry, haven't used this part of transcode in quite a while

>I then used mplayer -dumpaudio to get the stream.
>This worked. But although the audio file has exactly
>the same length as my converted video (within a few
>10 milliseconds), I didn't manage to get it in sync
>with my video. After about 3600 frames (2 min 24 sec),
>audio is already one second behind the video. This 
>further increases towards the end of the video.
>Audio is simply played too slow, which means the
>player has a lot of audio left when the video ends.

If you play the audio and video separately, are they both the same
length?

My guess is that your video is 25fps being played at ntsc (29.9xxx)
frames per second.  But that is a guess.

>How can that be explained? If I multiplex one hour
>of video with one hour of audio, how can they be
>out-of-sync?

They really can't be.

-Ben

Reply via email to