2
votes

I am developing an application for Android OS, and I need a real-time decode video stream from the camera, that encoded with h.264 codec, convert frame data to RTP packet and sent packet to server.

For a start, may try to implement on PC read video from the pre-recorded video file (mp4 with h.264) from HDD to simplify the development and debugging.

Is there a ready-made solution? Any ideas? Thanks!

1
Can you please select correct answers as answered.Pogrindis
There is no correct answer.Alex

1 Answers

3
votes

See Spydroid. It pipes the camera input into the H.264 encoder and turns the output into RTP packets:

http://code.google.com/p/spydroid-ipcamera/source/browse/src/net/majorkernelpanic/streaming/rtp/H264Packetizer.java