class_docstr: Video provides an interface to access clips from a video container.
class_docstr_tok: ["Video","provides","an","interface","to","access","clips","from","a","video","container","."]
docstr: Args:
      file (BinaryIO): a file-like object (e.g. io.BytesIO or io.StringIO) that
          contains the encoded video.
docstr_tok: ["Args",":","file","(","BinaryIO",")",":","a","file-like","object","(","e.g",".","io.BytesIO","or","io.StringIO",")","that","contains","the","encoded","video","."]
code: def __init__(
      self,
      file: BinaryIO,
      video_name: Optional[str] = None,
      decode_audio: bool = True,
  ) -> None:
      """
      Args:
          file (BinaryIO): a file-like object (e.g. io.BytesIO or io.StringIO) that
              contains the encoded video.
      """
      pass
  
file_path: pytorchvideo/pytorchvideo/data/video.py
imports: from abc import ABC, abstractmethod
  from typing import BinaryIO, Dict, Optional
  import torch
  from iopath.common.file_io import g_pathmgr
label_desc: Use image node_id 1 to create a new Video object from inherited base classes: ABC with example: obj = Video(file, video_name, decode_audio)