Wrecked Games

Please login or register.

Login with username, password and session length
Advanced search  

News:

We're just that awesome.

Author Topic: Wierd sync issues..?  (Read 1188 times)

pjcast

  • Administrator
  • Veteran
  • *****
  • Karma: +0/-0
  • Posts: 2652
    • View Profile
    • http://www.wreckedgames.com
Wierd sync issues..?
« on: December 13, 2005, 07:28:34 PM »

I have been experiementing around with a video file that I have that plays out of sync (in both the Ogre plugin and the C# player - but, plays fine in VLC)... I have not identifies the issue. The only thing that i can say is that the video specs are identicle to other videos I have converted.. Same dimension, same videoa codec (mpeg2) same audio codecs (mpeg 2), same audio freq and bitrate initially. But, one video clip will play in sync, and the other one (no matter what options of audio/video quaility I use) never plays right in my plugin - but plays fine in VLC.

The timing stats look ok, should not be any issue of Ogre timer or audio libs, as other videos during the same testing session play fine. My best guess is that maybe it is using some kind of variable bitrate for certain movies and my plugin is not accounting for that. Not sure though, if anyone has the time or ability to look in to this, I would appreciate that as I am moving on right now to doing some more OIS development, and am taking a break from theora for a bit.
Logged