nekenyu
Posts: 1
Joined: Thu Dec 06, 2012 8:46 pm

Hardware decoded video file with audio on part of screen

Thu Dec 06, 2012 9:24 pm

I have done a lot of searching, reading, and looking at source code... And I'm not finding a straight forward answer.

Within a program, I would like to play video file(s) (with audio) rendered in a given part of the screen with hardware acceleration.

I have seen hello_video can play full screen, but I cannot find enough API documentation to restrict it to a part of the screen and from what I have read, it does not include audio. I can't tell if it actually uses hardware decoding.

I do not have a specific language preference.

I not have a specific OS distribution preference, other than that the minimal functionality to support hardware decoding / video playback, audio, and probably network.

How can I do this?

ghans
Posts: 7882
Joined: Mon Dec 12, 2011 8:30 pm
Location: Germany

Re: Hardware decoded video file with audio on part of screen

Sat Dec 22, 2012 8:11 am

Hasn't OpenMAX a resize compononent ?
The documentation does not really exist , people are posting in
the forums and it gets buried forever.
You best startpoint be omxtx
(a OpenMAX transcoding example , resizing introduced by arjenv)
and the other third-party examples.


ghans
• Don't like the board ? Missing features ? Change to the prosilver theme ! You can find it in your settings.
• Don't like to search the forum BEFORE posting 'cos it's useless ? Try googling : yoursearchtermshere site:raspberrypi.org

Return to “General programming discussion”