Link to home
Start Free TrialLog in
Avatar of Mohammad Aamir Qureshi
Mohammad Aamir QureshiFlag for Australia

asked on

calculation and comparison of live video frames

hello

first of all this is my final project(Video based security over IP) of MCS .Basically it is the client server application

CLIENT SIDE
client side detect the video motion from webcam and send this stream to server over ip

SERVER side
from server side it already calculate the value of client side and in runtime its calculate and compare the video frames if difference occur then nothing esle its generate the alarm
my question is that how can we calculate the video frame in binary form and how it compare with olf frame with new frame
Thank yoy
Avatar of aacool
aacool

This reminds me of my grad project - we wrote an MPEG2 player and analyzer in 1997 - long before it became the standard for DVD.

I am not sure what format you are using for the video stream. If it is MPEG2, You can detect the start of a new frame based on whether it is an I-frame, P-frame or B-frame. Look at the MPEG Protocol for details.

If you are sending the frames as gifs or jpegs, it should be no problem to insert a flag for BOF and EOF(Begin Frame/End Frame) and store the frame data in a binary array for comparison.

Again - your question is too high-level to answer in a forum like this, but hope this helps.

Avatar of Bob Learned
You must not think that it is too important, because it is a very complex problem for only 20 points :))

Bob
ASKER CERTIFIED SOLUTION
Avatar of aacool
aacool

Link to home
membership
This solution is only available to members.
To access this solution, you must be a member of Experts Exchange.
Start Free Trial