Extracting metadata from videos is often needed for video editing, YouTube advertisement placement and other activities, yet it’s not easy to simply find where one scene ends and another begins.
Earlier this week we wrote a blog post about an algorithm that does this for you called [Scene Detection] (https://algorithmia.com/algorithms/media/SceneDetection).
For the full blog post related to this recipe, see Video Editing: extracting metadata from movie scenes.
Install the Algorithmia client from PyPi:
You’ll also need a free Algorithmia account, which includes 5,000 free credits a month – more than enough to get started with scene detection in videos.
Find this line in the script:
and add in your API key.
How to Find the Scenes in Videos
After putting in your own API key to the line above run it in your console environment: