Hello to all concerned,

I am a GSOC student, currently working on writing an effective movie wrapper
for Python/Pygame around the ffmpeg libraries.

However, I have run into some issues, for which I need assistance and/or
information.

Short Problem: My video runs too fast.

Explanation: I am operating under specific constraints which are:

   - No threads, or if possible no threads that manipulate the members of
   structures. The reason is that Python is not thread-safe, which ends up
   requiring a lot of threading primitives to do effective work.
   - No audio information. The accepted method of audio for video players
   seems to be using SDL's audio primitives, like SDL_OpenAudio, and so on.
   This spawns a thread which manipulates structures out of my control, except
   for during the callback.
   - I'd like to avoid placing events on or off the event queue, as the
   wrapper will be in use within games, which of course require the event queue
   to be left alone

If you have an idea on how to work around the constraints, or why the
constraint doesn't matter, I'd of course be glad to hear it. I have
successful, fluid video, which unfortunately runs just a bit too fast. I
would like some information on if it is possible to do video synchronization
without the audio information, or if its even recommended?

Thank you ahead of time,

Tyler

-- 
Visit my blog at http://oddco.ca/zeroth/zblog

Reply via email to