Export videos
Overview
Exports video assets from an OvalBee dataset to an existing Supervisely dataset.
Set Videos Count to export only the first N videos from the source dataset.
Use it when you need to export video assets and annotations from OvalBee to Supervisely.
Run it again whenever the source grows: it exports only the videos the destination does not hold yet and replaces the ones whose annotation changed. Videos stored in a cloud bucket your Supervisely team is connected to are added by link, so nothing is downloaded or uploaded twice.
To export images instead, use Export images.
Prerequisites
How it works
Compares each video with the destination: one it does not hold is new, one whose newest annotation changed since its export is updated, and the rest are skipped.
FAQ
Can I export into a project or collection?
No. The destination must be a Supervisely dataset URL or ID.
What happens to classes and tags that the destination does not have?
They are added to the destination project meta before upload, so annotations keep their classes.
Which annotations are exported?
The newest Supervisely-format annotation of each video. Annotations in other formats are skipped, and videos without one are still uploaded.
How does a later import find the same asset?
Every uploaded video carries its OvalBee asset ID in the Supervisely video metadata as ovalbee_asset_id, so Import videos can reuse the original asset instead of creating a duplicate.
What does Delete source assets remove?
Only videos this run uploaded, together with the annotations linked to them. Skipped videos stay. The source dataset statistics are refreshed afterwards.
How does the node know a video was already exported?
Every uploaded video carries ovalbee_asset_id in its Supervisely metadata. Once its annotation is uploaded, the video also gets ovalbee_annotation_id in its custom data. A rerun reads both from the destination dataset. If the newest OvalBee annotation of a video has a different id, the node uploads the video again and gets a new Supervisely ID. The old copy is renamed to replaced-<id>-<name> and stays until the new one is uploaded, then it is deleted. If a run fails before the annotation is uploaded, the next run uploads the video again.
Which videos are added by link?
A video whose file sits in a cloud bucket, not in OvalBee’s own storage, and which your Supervisely team can open through its connected cloud storage. The bucket is matched by its real name, so it can have a different name in OvalBee than in Supervisely. The node checks every video on its own, so one export can mix linked and uploaded videos.
Why is the extra tag rejected?
Extra tag value is required whenever Extra tag name is set. Fill both fields or leave both empty.
Inputs
Source dataset the exported videos are taken from. Key: DATASET.
Supervisely dataset the videos are uploaded to, as a URL or a numeric ID. It must already exist, and a project or a collection is not accepted here. Key: SLY_URL.
Your Supervisely server address and API token, stored as a secret. Allowed credential types: supervisely. Key: SLY_SECRET.
How many video assets to upload. Leave empty to export every video in the dataset. Minimum: 0. Key: VIDEOS_COUNT.
Upload the annotations of each video too. Only annotations already in the Supervisely format can be uploaded, and they are merged into one per video. Key: WITH_ANNOTATIONS.
Videos the Supervisely dataset already holds from an earlier export are not uploaded again. A video whose annotation changed since is replaced there with the new version. Key: SKIP_EXPORTED.
A video stored in a cloud bucket your Supervisely team is connected to is added by link instead of being downloaded and uploaded. Other videos are uploaded as usual. Key: LINK_MEDIA.
Remove the assets this run exported from the source OvalBee dataset after upload. Skipped videos stay. Key: DELETE_SOURCE.
Extra tag name added to every uploaded video, on top of the tags its asset already carries. Key: EXPORT_TAG_NAME.
Text stored under that tag name. Required once Extra tag name is set. Visible when EXPORT_TAG_NAME is not empty. Key: EXPORT_TAG_VALUE.
Outputs
ID of the target Supervisely dataset. Key: SLY_DATASET_ID.
URL of the target Supervisely dataset. Key: SLY_DATASET_URL.
Short badge with the number of new videos this run exported and the number it replaced because their annotation changed. Shown on the node as a badge. Key: EXPORTED.
JSON config
Machine-readable node interface for automation and advanced usage.