PDA

View Full Version : .avi to .ogg sync issues * 1GB RAM * Radeon 9800 Pro 128 MBdeo sync issues


MadhavS
October 16th, 2007, 09:55 PM
Hi,

I am trying to convert a .avi file I have into a .ogg file, but the audio is off. I tried using ffmpeg2theora --sync but it was still off by about half of a second or so. Can anyone help me out? Thanks in advance.

-Madhav S.

MadhavS
October 16th, 2007, 11:11 PM
Sorry, the title got messed up, it is simply ".avi to .ogg sync issues"

yabbies
October 17th, 2007, 01:17 PM
Here;s what I would try: you need mjpegtools

You need to get the audio from your original video file

mplayer -ao pcm -vo null -vc ORIGINAL AVI.avi

then convert your wav to ogg vorbis

http://ubuntuforums.org/showthread.php?t=250504
here's a link to a conversion

then multiplex the audio and video together

mplex -f8 -o NEWaudiovideo.ogg CONVERTEDVID.ogg CONVERTEDAUDIO.ogg

I've never tried this myself and am not sure if mplex will synch ogg.
It definitely works for mpg, worth a try. good luck and let me know if it works.