[Theora] Video and audio not in sync

Tim Müller t.i.m at zen.co.uk
Sun May 1 03:14:08 PDT 2005


On Sunday 01 May 2005 08:46, Sal Valente wrote:
> Someone wrote:
> > did you try gstreamer? you can try the attached script
> > ./gst2ogg input.mpeg output.ogg
>
> Thanks.  But gstreamer also lost the sync at 160 seconds (like
> ffmpeg2theora).

You can modify the gst-launch command line in the script to read something 
like this 

 ... ! videorate ! video/x-raw-yuv,framerate=\(double\)25.0 ! 
ffmpegcolorspace ! theoraenc ! ....

then it should work. Thoggen does that and seems to encode mpeg files with 
variable framerate just fine from what I've heard.

Cheers
 -Tim


More information about the Theora mailing list