Page 1 of 1

Raspberry and h264

Posted: Wed May 08, 2013 6:57 am
by mrdebug
Hi. I have installed my own software that grabs video from a webcam and transmit it across the network with h264 compression.
The program works but the video is very slow, it's unusable (320x240).
Have you got some experiences on video grabbing and h264 compression with raspberry?

Re: Raspberry and h264

Posted: Wed May 08, 2013 7:53 am
by SirLagz
h264 compression is done in software by default.
If you want to use h264 hardware compressions, the software will need to be recompiled to take advantage of the GPU

Re: Raspberry and h264

Posted: Wed May 08, 2013 10:31 am
by ghans
You can use either OpenMAX (open standard) or Broadcom
mmal (easier , but custom) APIs .

Here an OpenMAX example :

https://github.com/raspberrypi/userland ... llo_encode

ghans

Re: Raspberry and h264

Posted: Wed May 08, 2013 11:32 am
by dom
The soon-to-be released camera board may be the best solution:
http://www.raspberrypi.org/archives/2629