code: def get_videodata_config(cfg):
      """Get the configure parameters for video data from the cfg files"""
  
      config_params = {
          "data_params": {
              "dataset_root": cfg.DATASET.ROOT,
              "dataset_src_name": cfg.DATASET.SOURCE,
              "dataset_src_trainlist": cfg.DATASET.SRC_TRAINLIST,
              "dataset_src_testlist": cfg.DATASET.SRC_TESTLIST,
              "dataset_tgt_name": cfg.DATASET.TARGET,
              "dataset_tgt_trainlist": cfg.DATASET.TGT_TRAINLIST,
              "dataset_tgt_testlist": cfg.DATASET.TGT_TESTLIST,
              "dataset_image_modality": cfg.DATASET.IMAGE_MODALITY,
              "frames_per_segment": cfg.DATASET.FRAMES_PER_SEGMENT,
          }
      }
      return config_params
  
imports: import os
  from copy import deepcopy
  from enum import Enum
  import torch
  import kale.prepdata.video_transform
  from kale.loaddata.dataset_access import DatasetAccess
  from kale.loaddata.video_datasets import BasicVideoDataset, EPIC
label_desc: Use image node_id 2 for calling a global function with example usage: get_videodata_config(cfg) and returns: config_params