Overview
Examples
Screenshots
Comparisons
Applications
Download
Documentation
Tutorials
Bazaar
Status & Roadmap
FAQ
Authors & License
Forums
Funding Ultimate++
Search on this site











SourceForge.net Logo

Media

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

audio decoding

video decoding

subtitles decoding

audio playing

 

 

The next immediate steps from now are:

 

Solve problems

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

 

Do you want to contribute?