class_docstr: Handles video datasets where subclip of full video needs to be loaded. 
class_docstr_tok: ["Handles","video","datasets","where","subclip","of","full","video","needs","to","be","loaded","."]
code: def __init__(
      self, vis_processor, text_processor, vis_root, ann_paths
  ):
      super().__init__(
          vis_processor, text_processor, vis_root, ann_paths
      )
  
imports: import os
  import math
  from lavis.datasets.datasets.base_dataset import BaseDataset
  from lavis.datasets.datasets.caption_datasets import CaptionDataset
label_desc: Use image node_id 1 to create a new ClipCaptionDataset object from inherited base classes: BaseDataset with example: obj = ClipCaptionDataset(vis_processor, text_processor, vis_root, ann_paths)