Game Development Community

Mov to theora troubles. Bad convert

by Mike Rowley · in Hardware Issues · 05/18/2008 (7:37 pm) · 4 replies

I have a .mov movie that I have been trying to convert to theora, but the sound and movie isn't in sync after the convert process.

I have used:
ffmpeg2theora
ffmpeg writer to mpeg2 then ffmpeg2theora
vlc media to theora ogg.

The sound seems to play properly, but the video itself is sped up. This particular video has a person talking and it looks really odd to see the persons mouth move rapidly, then what he said is heard. Does anyone have any advice on a better way to export?
I'm using tge 1.5.2 and this is on a splash screen.
Plus, on top of this, torque doesn't recognise the length of the movie. If I place another splash screen after this one, or even the main menu, the video get's skipped.

As a side note, I also have virtual dub and microsoft movie maker, but neither recognise .mov movies.

#1
05/20/2008 (8:02 am)
It sounds like the audio and video are in separate, unsynchronized channels and it is up to the player to read and sync them. The conversion process is probably doing its best to sync them, but it isn't doing it accurately (for example, taking the audio track as the length and then attempting to sync all of the video frames; if there are a lot of video frames and various sync points in the audio that are being ignored, then it could seem to speed up the video as it linearly tries to sync it). Just a guess as I'm not sure how Theora's conversion process or the original MOV was created, what codecs were used, or how synchronization was marked.
#2
05/20/2008 (2:23 pm)
Thankyou David. That gives me a direction to look in. I have no clue what format the movies were originally made in, or how they were converted to .mov. I'll see if I can get them exported to wmv and get them into windows movie maker to make sure everything is synced before exporting to theora and see if that works.
Thanks again. :-)
#3
03/07/2009 (2:32 pm)
If you're still having trouble, there's free conversion software called "HandBrake" that did the trick for me. It appears to only produce .ogm's instead of ogg's, but I haven't had any trouble playing them in game so far.
#4
03/07/2009 (3:20 pm)
Thanks. I found the problem was due to the movies being wayyyyy out of date.