ibllib.io.deprecated.video¶
Functions for fetching video frames, meta data and file locations
Functions
Return a bunch of video information with the fields (‘length’, ‘fps’, ‘width’, ‘height’, ‘duration’, ‘size’) |
|
Return the video label, i.e. ‘left’, ‘right’ or ‘body’. |
|
Return the video URL(s) for a given eid |
Classes
Provides a wrapper to stream a video from a password protected HTTP server using opencv |
-
class
VideoStreamer
(url_vid)[source]¶ Bases:
object
Provides a wrapper to stream a video from a password protected HTTP server using opencv
-
get_video_meta
(video_path, one=None)[source]¶ Return a bunch of video information with the fields (‘length’, ‘fps’, ‘width’, ‘height’, ‘duration’, ‘size’)
- Parameters
video_path – A path to the video. May be a file path or URL.
one – An instance of ONE
- Returns
A Bunch of video mata data