Sometimes, it's important to determine the number of scenes needed to describe a video, as this can vary depending on the type of video. For instance, videos of a podcast with two hosts tend to be less dynamic than sports videos
If you want to extract scenes from the video without indexing them, you can use the video.extract_scenes()function.
Using this pipeline you can experiment with scene extraction and find your suitable configuration.
extract_scenes()
This function accepts the extraction_type and extraction_config and returns a SceneCollection object, that keeps the information about all the extracted scene lists.
print("This is scene collection id", scene_collection.id)
print("This is scene collection config", scene_collection.config)
Playground: Play with Prompt
Before finalizing your prompt, consider experimenting with different ones. This will help you see how the search performs for your use cases. Start by iterating over only a few scenes. Then, experiment with your prompt and test it after indexing
We believe that the right prompt is very helpful in finding information that aligns with your domain knowledge and experience. For this we provide following describe(prompt= ) functions at Frame and Scene level.