[Xvid-devel] Have XVid working but playback of encodig

Rob robincc at terra.es
Tue Jun 19 18:28:14 CEST 2012


Hi and thanks for the reply,

I’m using the xvidcore.dll, calling XVidEncore, from a dedicated thread under. Windows 7 32bit

Without documentation, I’ve managed to get it working, and I assume that after setting the FPS, the encoder records each frame in sequence, without any relation to actual real-time, so its important not to skip any frames.

I’m adjusting my code to pass in a frame grab to one of 2 buffers, and that way if the thread passing in frame grabs falls behind, the encoder thread uses the last buffer until an update arrives, which should keep the playback speed correct to the graphics window animation we’re grabbing.

Is there any documentation for the API as I’d also like to be able to encode the PC microphone input audio with the video in real-time?

This is for educational video production, so the teachers need to be able to run the video encoder of whichever window they need, and talk over the top.

Any help would be much appreciated.

Thanks

Rob


More information about the Xvid-devel mailing list