class_docstr: modified from how2's video_feature_extractor.
class_docstr_tok: ["modified","from","how2","'s","video_feature_extractor","."]
code: def _get_video_dim(self, video_path):
      probe = ffmpeg.probe(video_path)
      video_stream = next(
          (
              stream
              for stream in probe["streams"]
              if stream["codec_type"] == "video"
          ),
          None,
      )
      width = int(video_stream["width"])
      height = int(video_stream["height"])
      return height, width
  
imports: import torch
  import pandas
  import os
  import numpy
  import ffmpeg
  import random
  from torch.utils.data import Dataset
label_desc: Use image node_id 3 for calling the VideoLoader obj's underlying member method code with example usage: obj._get_video_dim(video_path) and returns: height,  width