Segment file format and how to download #725
andrewboes
started this conversation in
General
Replies: 1 comment
-
Andrew: I'll shoot you an e-mail so we can discuss your project specifically. However, you might want to look at our tutorial page here: Specifically, I'd suggest reading this section that describes the various fixtures available in tator: -Brian |
Beta Was this translation helpful? Give feedback.
0 replies
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
-
Hello Andrew Boes from Oregon Dept. of Fish and Wildlife here.
The media object returned by api.get_media(id) contains a reference to file 'segment_info'. I was able to download this file by cobbling together a few of the api calls (tator.util.download_media and _download_file). Is there a way to flag the media download to include all related files (segements, thumbnails, etc...)?
Now that I have the downloaded file, I am not sure how to parse it to get the segment info. Here is a line from the file:
{"name": "mdat", "offset": 27191105, "size": 1050681}, {"name": "moof", "offset": 28241786, "size": 296, "frame_start": 640, "frame_samples": 24}
I assume that "mdat" is a reference to some kind of classification. Where can I download all the classifications? Where is the rectangle information?
Thanks!
Beta Was this translation helpful? Give feedback.
All reactions