Skip to main content

Overview

In addition to online videos, VidNavigator allows you to upload and process your own local audio and video files. This is useful for analyzing private content or files that are not publicly available on the web. Supported formats: mp4, webm, mov, avi, wmv, flv, mkv, m4a, mp3, mpeg, mpga, wav.

Prerequisites

  • A valid VidNavigator API key.
  • The Python or JavaScript SDK, version 2.1.0 (pip install vidnavigator==2.1.0 or npm install vidnavigator@2.1.0).

Organizing Files with Namespaces

You can organize your uploaded files into namespaces (like folders). When uploading, pass namespace_ids to assign the file to one or more namespaces. You can also manage namespaces later via the namespace endpoints. All file responses (list, info, search) include namespace_ids and namespaces fields showing which namespaces each file belongs to.

Billing

Uploading and processing audio/video files consumes transcription_hour usage for speech-to-text. 1 credit covers 3 hours of video/audio transcription. Uploaded files also count toward your plan’s storage quota.

Uploading a File

The upload is asynchronous by default: the API returns a file ID immediately and processes the file in the background. Pass wait_for_completion to block until processing has finished instead.

Checking Processing Status

Without wait_for_completion, poll the file until its status is no longer processing, then read its transcript:

Working with the File

Once processed, a file works just like an online video:

Next Steps