evercam / ex_nvr

Video recording and computer vision for edge devices
https://evercam.github.io/ex_nvr/
GNU Affero General Public License v3.0
40 stars 10 forks source link

Add Timestamp to stream OSD @ Ingest #187

Open marcoherbst opened 1 year ago

marcoherbst commented 1 year ago

Similar to undistorting.

Using different cameras we're getting different qualities of timestamp.

Let's offer the option to ingest an image with no timestamp and to add the NVR timestamp.

Benefit 1: It will be more beautiful and consistent accross cameras Benefit 2: We remove one possible source of confusion (a camera with the wrong time settings).

gBillal commented 1 year ago

Unfortunately there's a downside of decoding/encoding again which is impossible in Raspberry pi and it'll consume a lot of resources for Jetson.

marcoherbst commented 1 year ago

We have to try. If it means putting more powerful hardware on the edge, so be it. Let's try, get the data and then better understand our next actions. We will be making this functionality.

marcoherbst commented 1 year ago

https://github.com/membraneframework/membrane_ffmpeg_video_filter_plugin

TextOverlay element is implemented, based on ffmpeg drawtext filter. This element enables adding text on top of given raw video frames.

In this example they use HTML to define an overlay. That seems clever: https://developer.ridgerun.com/wiki/index.php/OpenGL_Accelerated_HTML_Overlay/Basics https://shop.ridgerun.com/products/htmloverlay?variant=44683564646587

Also: https://compositor.live/ (Part of Membrane)