4 May 2009 10:21
How to fix an A/V sync problem in a dv file?
Kimmo Mustonen <kmustone <at> cc.hut.fi>
2009-05-04 08:21:02 GMT
2009-05-04 08:21:02 GMT
Hello! I have old videos on an old analog video camera. I connect cables to Sony DCR-PC1000E to create a digital copy of it. The problem is that audio is about 120ms to 160ms before the video. I'm not sure what is causing the problem. It could be already the source analog camera. It could be a nasty feature of the Sony DV troughtput. It would be great if kino had a way to fix timings, even though this kind of problem should be quite uncommon when using dv format. It makes cutting with kino about impossible. The audio between scenes gets mixed. Didn't find a tool to fix the A/V sync on dv file without re-encoding the whole thing. Tried to use mencoder with -oac copy -ovc copy -audio-delay X, but it caused lots of errors and the A/V sync just got worse. Tried to check transcode and ffmpeg but didn't find a tool or way to input dv, output dv, and fix audio timing. Any suggestions? The audio is raw pcm so it should be very easy to fix in that sense. Tried to check the libdv API but couldn't figure out how to easily create an A/V sync fixer using it. Tried to google for some help but outputting DV format did not seem to be very common. Thought about separating audio and video, fixing them and joining again, but didn't find out a way to handle separate audio and video tracks in kino. A minor problem was also that I used kino to grab these videos. Saved them (accidentally?) as foo.mov instead of foo.dv. Kino was able to edit/show the video, but after I quit kino, it was no longer able to open that file format. I managed to fix this using ffmpeg to "convert" is from .mov to .dv. How should I have saved that so that kino could have opened the file(Continue reading)
RSS Feed