Actions37
- Index Spoken Words
- Get Transcript
- Search in a Video
- Generate Stream
- Index Scenes
- List Scene Indexes
- Get Scene Index
- Delete Scene Index
- Add Subtitle
- Generate Audio URL
- Generate Image URL
- Create Collection
- Download
- Get Collection
- Update Collection
- YouTube Search
- Delete Audio
- Delete Image
- Delete Video
- Delete Collection
- Dub Video
- Generate Image
- Generate Music
- Generate Sound Effect
- Generate Voice
- Generate Video
- Generate Text
- Get Audio
- Get Audios
- Get Image
- Get Images
- Get Video
- Get Videos
- Search in a Collection
- Upload
- Record Meeting
- Get Meeting
Overview
This node integrates with the VideoDB API to perform various operations related to video collections and their contents. Specifically, the "Search in a Video" operation allows users to search within a selected video using different search types such as semantic, keyword, or scene-based searches. This is useful for scenarios where you want to find specific moments, spoken words, scenes, or keywords inside a video without manually scrubbing through it.
Practical examples include:
- Searching for a particular phrase or topic discussed in a recorded lecture.
- Finding specific scenes or visual elements in a movie or advertisement.
- Extracting moments where certain keywords appear in interviews or podcasts.
Properties
| Name | Meaning |
|---|---|
| Collection Name or ID | Select or specify the collection containing the video to search within. |
| Video Name or ID | Select or specify the video within the chosen collection to perform the search on. |
| Search Type | Type of search to perform: Semantic, Keyword, or Scene. |
| Index Type | The type of index used for searching: Spoken Word or Scene. |
| Query | The search query string to look for inside the video. |
| Score Threshold | Minimum score threshold for search results to be considered relevant (numeric value). |
| Result Threshold | Maximum number of search results to return (numeric value). |
| Dynamic Score Percentage | A numeric value representing dynamic scoring adjustment percentage for the search results. |
Output
The node outputs an array with one item per input item. Each output item contains a json field holding the raw response from the VideoDB API corresponding to the search operation. This JSON includes the search results matching the query within the specified video, potentially including metadata such as timestamps, scores, matched text, or scene information depending on the search type.
No binary data output is produced by this node.
Dependencies
- Requires an API key credential for authenticating with the VideoDB API.
- The base URL for the API defaults to
https://api.videodb.iobut can be customized via credentials. - The node uses HTTP requests authenticated with the provided API key to interact with the VideoDB service.
Troubleshooting
Common Issues:
- Invalid or missing API key will cause authentication failures.
- Specifying a non-existent collection or video ID will result in empty or error responses.
- Using unsupported search or index types may lead to unexpected results or errors.
- Network connectivity issues can prevent successful API calls.
Error Messages:
- Authentication errors typically indicate invalid or expired API keys; verify and update credentials.
- "Not Found" or similar errors suggest incorrect collection or video IDs; double-check selections.
- Rate limiting or quota exceeded errors require checking API usage limits and possibly upgrading the plan.
Links and References
- VideoDB API Documentation (hypothetical link for reference)
- n8n Expressions Documentation – for using expressions in property fields