class_docstr: Utility class that handles all deciphering and caching of video paths for
  encoded and frame videos.
class_docstr_tok: ["Utility","class","that","handles","all","deciphering","and","caching","of","video","paths","for","encoded","and","frame","videos","."]
code: def __init__(self) -> None:
      # Pathmanager isn't guaranteed to be in correct order,
      # sorting is expensive, so we cache paths in case of frame video and reuse.
      self.path_order_cache = {}
  
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 VideoPathHandler object  with example: obj = VideoPathHandler()