--- tags: video, metadata title: video metadata --- ## Video metadata {#video-metadata} We can introduce metadata calculation based on came name and time. For example we have 2 camera: - id2020 - id2021 `streamer` save video in path {root_path}/{camera-id}/{time_path} #### time path {#time-path} If we have same range for all cameras we can introduce path managment. For example: - 20-06-2020/13-00/video.mp4 - 20-06-2020/13-05/video.mp4 - 20-06-2020/13-10/video.mp4 When camera moved to another `streamer` it cut video to that format (for example if camera moved on 3rd minute we will have two parts on two stores) ### `streamer` dies Every time when `streamer` start consuming video it tells about that to DB/queue - "streamer #4 start consuming video from camera id2020 at 15-10-2020 15:04"