Re: Video processing(record\play) real time from camera with metadata

"Sebastian G. <bastik>" <[email protected]> Tue, 6 Sep 2016 20:43:17 +0200
Newsgroups gmane.comp.multimedia.matroska.devel
Message-ID <[email protected]>
31.08.2016, 10:30 Michael Yarochkin:
> Hello

Hello,

I am not involved in Matroska development nor am I sure if that is the
correct list, but that is not something I should worry about.

> I am new in image processing. Sorry for stupid questions.

I am mostly just an end-user.

> Currently, i am developing commercial application for recording video
> stream from IP camera in real time.

You can use Matroska to capture a live-stream.

> Also i need to add information to some of the frames. It will be like
> image metadata. For example, time of capturing, location, comment,...
> And of course i need to be able to read it later. As i understand, i
> need to use subtitles or it is another way exist? But in any way want
> to keep it inside of video file.

Subtitles should work, because they are easy to write and could be
displayed by any player. Keep in mind that subtitles can be edited
easily, so if you would want something that can't be easily tempered
with the application could sign each entry to show that it has not been
edited. (Well it seems like removing the whole entry would still work)
Probably as a comment so it is not shown. Everything else can be a
comment, too. It will be there, won't be displayed by default and can be
easily read anyway.

> I already tried OpenCV. Not really happy with it because of codecs
> selection and no way to work with subtitles. You can find my
> questions here. 
> http://answers.opencv.org/question/100967/codecs-list/

With Matroska you have a lot more freedom in that regard. Like the
popular H264 or the more efficient H265, or the open VP9 or the lossless
FFV1 and many others.

Additionally audio can be captured as well.

If a camera would provide more visuals at the same time, e.g. regular
video image and infrared or ultraviolet (though that should be rare)
both video streams can be muxed into the same Matroska container.

> http://answers.opencv.org/question/101044/add-subtitles-to-video/

You can use .srt subtitles for just text. You could also use .ssa (or
.ass) for styled subtiles where you also can control the position of the
subtitle.

> Can you help me please to find a way to do it in matroska. Or it is a
> wrong tool for my task?

I am certainly not able to provide details. I think Matroska could be
used in such a way.

> Thank you.
> 

I hope to have been at least somewhat helpful.

Best Regards,
Sebastian
_______________________________________________
Matroska-devel mailing list
[email protected]
https://lists.matroska.org/cgi-bin/mailman/listinfo/matroska-devel
Read Matroska-Devel on GMane: http://dir.gmane.org/gmane.comp.multimedia.matroska.devel