MPEG with sound record

Forum for questions and support relating to the 1.24.x releases only.
Locked
User avatar
victor_diago
Posts: 245
Joined: Wed Jan 21, 2004 2:44 pm
Location: Brazil, sao paulo
Contact:

MPEG with sound record

Post by victor_diago »

Hi everybody (and PHIL !!!!)


Well, i will need to code a way to store the events in mpeg files from rtsp cameras. The good side is that it will support sound, the bad side is that i will need to write a lot of code using ffpmeg-php functions that allow php to deal with mpeg files and extract information and frames from them.

Code that is not really difficult at all, but i think the integration with zoneminder will be a problem because the way images was always recorded.

So, my idea is to Get One rtsp stream from the camera, store it in a mpeg file with ffmpeg and then use a zm process to see if there was any change from a keyframe to another !

I know this is the absoute inverse way, the right process would be to first analyze then record, but im not sure how to do that generating my so wanted mpeg files.

Any clue Philip ? How is the process to decode a rtsp stream to analyze for events in zoneminder ?

Thanks again !
Locked