Take the 2-minute tour ×
Raspberry Pi Stack Exchange is a question and answer site for users and developers of hardware and software for Raspberry Pi. It's 100% free, no registration required.

I stumbled over the Wikipedia-article that the Broadcom GPU has hardware support for encoding H.264/AVC, not only de-coding.

I also found an article where someone gave an example using ffmpeg to generate a h264/mp4 video files. Ok, its a general-purpose CPU with a specialised GPU, so that's not really the surprise.

But compared to a standard desktop PC with an average Graphics-Card, will the Raspberry Pi potentially encode H.264/AVC maybe even faster? If a desktop user was to optimize his ffmpeg to his Core-i5xxx with $150 Ati/Nvidia graphics card... does that combination offer anything in the ways of "hardware H.264 encoding support"? If not, will a specially adopted Raspberry-Pi-ffmpeg be even faster? If yes, is there a speed comparison already?

share|improve this question
    
I shouldn't think the Raspberry Pi will be faster than a desktop PC. –  Jivings Dec 10 '12 at 19:25
1  
Somebody should clearly do a benchmark and show some results. –  XTL Dec 13 '12 at 8:01
    
@XTL Can you do that? ;-) –  towi Aug 26 '13 at 5:37
add comment

2 Answers 2

up vote 2 down vote accepted

At the moment, it seems there is still no stable software to encode h264 video using the hardware, even if it has been officially announced that the Raspberry Pi does support h264 hardware-encoding. So, we cannot do a benchmark to compare performances to a regular PC.

I don't know if someone is working on the subject, but a developer from libav seems pessimistic about integrating such a module in the existing libav project (see his reply on december the 2nd, 09:23).

I'll be glad to do a benchmark when a library or software allows it.

share|improve this answer
    
I have no idea where to start, but I might be willing to give it a try. I always searched for a reason for me to dig into libavcodec src, or -- to be precise -- x264. –  towi Dec 14 '12 at 12:37
add comment

The GPU in the RPi is pretty beefy. I've read that in terms of encoding you can encode 1080p@30fps. Also encoding multiple streams is also possible. It's also believed that you could encode vidoes on the fly using the RPi.

But. Modern day graphics cards have the capability to run the whole encode on the GPU, which is what a GPU is really good at.

If I had to gauge a personal opinion. It would be that the RPi would not be faster than a medium spec graphics card. But I think that it would be a lot faster than you think. Maybe even near 75% the speed.

I could not find a comparison available anywhere.

share|improve this answer
add comment

Your Answer

 
discard

By posting your answer, you agree to the privacy policy and terms of service.

Not the answer you're looking for? Browse other questions tagged or ask your own question.