mbari-org / m3-quickstart

A simple and quick method to run MBARI's Video Annotation and References System
2 stars 1 forks source link

vars_register_media.py bug #1

Closed kevinsbarnard closed 2 years ago

kevinsbarnard commented 2 years ago

Hi Brian, testing out the m3-quickstart repo I encountered a small bug in the vars_register_media.py script. Here's a fix.

hohonuuli commented 2 years ago

Confirmed fix with:

import ffprobe
r = ffprobe.ffprobe('http://m3.shore.mbari.org/videos/M3/mezzanine/Ventana/2021/12/4384/V4384_20211216T165539Z_h264.mp4')
v = r.video_metadata()
v.created