Is there any way to add time range in videos using Python just like in YouTube videos

609 Views Asked by At

I am currently working on a system where I need to mark timings in the video. Suppose if I have a video of 5 minutes and I want to track an item in it which comes in 1:00-2:05 and 3:00-4:00. So I want to mark videos from 1min to 2min 5sec and from 3mins to 4mins just like time ranges are used in YouTube videos(as shown below). My question is, is it possible to do it using Python?

enter image description here

Source: #322: YouTube: How To Add Chapter Markers .

Currently, I am looking for a solution by which time ranges can be added to any video format. But if there is a solution for some specific video format, it will also be helpful.

Any suggestion or help will be appreciated.

0

There are 0 best solutions below