This discussion has been locked.
You can no longer post new replies to this discussion. If you have a question you can start a new discussion

Implementing H.264 codec using ARM8

Hi, I'm working on a project where I need to get live video from some digital camera and using the ARM8 I have to implement H.264 compression and transmit it over IP all in real time. I was thinking originally I'd start with a low resolution, around 240 x 180 and eventually move up but the problem is I need to be able to transmit a clear video over a band limited channel of 64 Kbps. I saw a program called Microsoft Lync which transmitted the video on that resolution and it could work on that bandwidth.

Mainly I have no idea exactly how I should start this other than researching on H.264 and video transmission, etc. I was hoping someone could give me some advice on this topic as in what camera I should use and basically where to start. Any help will be appreciated, thanks

Oh and I would also like to transmit it at about 15 fps if possible.

Parents
  • Oh, actually I wanted to ask that if I get the JPEG images from the camera and let's say I want to make some adjustments to the compression technique I want to use, would that be possible? I found a book called "Introduction to video compression in c/c++" and I was thinking that I might make some alterations to he H.264 codec (just for testing purposes). Anyway how would that work? Like just code it? As in it's going to receive a stream of JPEG images and it has to use the compression method and transmit in the form of Ethernet packets? (which is how I want to transmit it)

Reply
  • Oh, actually I wanted to ask that if I get the JPEG images from the camera and let's say I want to make some adjustments to the compression technique I want to use, would that be possible? I found a book called "Introduction to video compression in c/c++" and I was thinking that I might make some alterations to he H.264 codec (just for testing purposes). Anyway how would that work? Like just code it? As in it's going to receive a stream of JPEG images and it has to use the compression method and transmit in the form of Ethernet packets? (which is how I want to transmit it)

Children
  • Well, in the documentation provided with the SDk it says that there are commands to change the setting of the compression, you could have a look to that.

    The JPEG image will spread along different TCP messages so you will have to handle that, detect the begining and the end of the image.

    If none of the compression provided by the IP camera suits you I guess you will have to contruct the final raw image and apply your own compression algoritms.

    You could also investigate in periperals (cameras)that could be connected to your dev board using DMA, this will probably provided the image in raw format ( could even provided JPEG), but on this issue I have no experience.