Have surveillance data organized as short video files having variable duration:


Need a module for apache that takes URL like: http://localhost/cam2/20150914/23-25-00.webm, finds the best matching first file cam2-23-24-10.mkv, seeks 50 seconds, and outputs a webm stream. On EOF it should continue streaming, taking the data from subsequent files.

I can reorganize the directory structure, use mp4 instead of mkv, if needed, but I can't make video segments have static length.

What options do I have? As far as I know, ffserver can't stream local files, so I need apache. I could make a cgi script with command line ffmpeg, but maybe there's already a php solution?

Your Answer

By clicking "Post Your Answer", you acknowledge that you have read our updated terms of service, privacy policy and cookie policy, and that your continued use of the website is subject to these policies.

Browse other questions tagged or ask your own question.