How to Analyze a Video Stream

Is it possible to analyze a video stream on the fly? For example, say i have a TV tuner installed and want to do some pixel testing every .5 seconds. How would one go about doing analysis? Would it be the same procedure if it was a video file (ie .mpg / .wma)?

1

3 Answers

Yes it is, have a look at OpenCV

If it was a video file, you would have to decompress it to get the pixel information. If you wan't to do analysis at the pixel level, you basically needs to do a screenshot or a dump to disk. If you can do that, then you have access to the video frame data, and you can start to mess with it.

If you are on windows, I can't help you, but there are handsome tools where you can graphically put a filter at some point in the chain from your tv tuner to your disk.

If you are on linux, the v4l2 capture example is the way to go.

Yes, it's possible but it is very recommended to use special non-pc hardware

Your Answer

By clicking “Post Your Answer”, you agree to our terms of service, privacy policy and cookie policy

Robert Thorne

Robert Thorne

Automotive & Future Transportation Editor

Robert Thorne covers electric vehicle innovations, autonomous driving systems, global mobility trends, and automotive engineering developments.

Share this article
Twitter Facebook Pinterest