U++ framework
Do not panic. Ask here before giving up.

Home » Developing U++ » U++ Developers corner » MediaPlayer is out
MediaPlayer is out [message #30314] Fri, 24 December 2010 08:57 Go to previous message
koldo is currently offline  koldo
Messages: 3458
Registered: August 2008
Senior Veteran
Hello all

Finally it is there Smile. Please follow installing instructions. They are very simple but have to be strictly followed.

It includes MediaPlayer control and a demo. It has been more tested in Windows. A problem in Linux is that ffmpeg Ubuntu packages are very old, and all my efforts to compile from sources have failed.

It uses SDL (SDLCtrl) and ffmpeg:
- SDL gives fast YUV video and audio playing.
- ffmpeg gives audio and video decoding and encoding.

So 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

Please try it and give all the feedback. Be as clear as possible, as the threads interaction is not easy.

The next immediate steps from now are:
- Solve problems Rolling Eyes
- Add RGB video playing to do video processing Smile
- 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 Smile Smile (to generate new files, .avi. mp3, ...)
- Remove SDL dependencies...:
--- Mirek: To see how to do fast image rendering
--- Honza and Mirek: To play audio with PortAudio


If anybody has any special need, just s/he has to describe it Smile.




Best regards
IƱaki
 
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Previous Topic: Sound device access system based on PortAudio
Next Topic: U++ development: Two philosophies
Goto Forum:
  


Current Time: Sun May 03 01:14:26 GMT+2 2026

Total time taken to generate the page: 0.00768 seconds