[FFmpeg-devel] ffmpeg and RaspberryPI GPU support

Anton Shevtsov shevtsov.anton at gmail.com
Mon Sep 17 15:57:28 CEST 2012


17.09.2012 16:17, compn пишет:
> On Mon, 17 Sep 2012 11:34:25 +0600, Anton Shevtsov wrote:
>> 2012/9/16 Carl Eugen Hoyos <cehoyos at ag.or.at>:
>>> Anton Shevtsov <shevtsov.anton <at> gmail.com> writes:
>>>
>>>> As short, RPi have GPU (mpeg2\x264 encode\decode).
>>>>
>>>> I compiled last ffmpeg from git (+ x264 libs) and tried recode
>>>> divx\mpg\other to mkv..
>>>> But.. average fps is 3-5fps.. i.e. GPU for encoding not used..
>>>>
>>>> My dream about ffmpeg is support GPU.
>>> Patch probably welcome!
>>>
>> I have idea, but haven't any skills. I am not developer ((
> it will help if you can locate the gpu spec/api
> or some other opensource program / library using the gpu to decode so we
> can copy it.

The h264 encoder is accessible through OpenMAX. This should be enough 
information to make use of it:
http://www.khronos.org/openmax/il/
https://github.com/raspberrypi/firmware/tree/master/documentation/ilcomponents
along with the decoder code in 
https://github.com/raspberrypi/firmware/tree/master/opt/vc/src/hello_pi/hello_video

p.s. App with GPU DEcoding - https://github.com/wrightrocket/omxplayer


> -compn
> _______________________________________________
> ffmpeg-devel mailing list
> ffmpeg-devel at ffmpeg.org
> http://ffmpeg.org/mailman/listinfo/ffmpeg-devel



More information about the ffmpeg-devel mailing list