Video and audio playing and processing for U++.
This package is preliminary so important changes are expected
It uses LGPL libraries ffmpeg and SDL (SDLCtrl). The instructions to install them are here.
SDL gives audio playing and fast YUV video.
ffmpeg gives audio and video decoding and encoding.
Media_Demo package is a demo of Media classes capabilities.
In summary for playing:
ffmpeg opens the file (.avi, .mp3, ...)
ffmpeg reads the codified data and converts it in uncompressed images and audio chunks.
SDL displays the images and plays the audio fluently.
It uses at least 5 threads... plus the main:
basic data chunks (called packets) retrieval
The next immediate steps from now are:
Add RGB video playing to do video processing: Done
Reduce number of threads... specially video decoding thread has to be removed (it has been the source of many problems)
Other improvements are:
Add video and audio encoding (to generate new files, .avi. mp3, ...)
Remove SDL dependencies:
To do fast image rendering
Playing audio with PortAudio