views:

474

answers:

1

Hi there. I have connected to a DVR system which is serving up a continuous live feed from CCTV camera. I am fairly sure the format is H264 (the first 4 bytes are 4HKH). I would like to know how I can read the stream and get images from it for playback. I am currently coding in C# and then I want to move across to the iPhone. I have to use sockets to connect to the server as well.

+1  A: 

The ffmpeg library has a very good H.264 decoder. There is also come C# bindings to use it. Google a bit and you will probably find useful information.

Laurent Etiemble
x264 is only an encoder. FFMpeg has its own H.264 decoder.
Laurent Etiemble