code: def prepare_mp4_scp(data_root, store_dir, set_type="train"):
      id_postfix = "Far"
      mp4_postfix = "_Far.mp4"
      all_mp4_lines = []
      mp4_path_list = glob.glob(
          os.path.join(
              data_root, set_type, "*", "*{}".format(mp4_postfix)
          )
      )
      for mp4_path in mp4_path_list:
          id_prefix = os.path.split(mp4_path)[-1].split("_")[:4]
          record_id = "_".join(id_prefix) + "_" + id_postfix
          all_mp4_lines.append("{} {}".format(record_id, mp4_path))
      if not os.path.exists("{}/temp".format(store_dir)):
          os.makedirs("{}/temp".format(store_dir))
      text2lines(
          textpath="{}/temp/mp4.scp".format(store_dir),
          lines_content=all_mp4_lines,
      )
      return None
  
imports: import argparse
  import codecs
  import glob
  import os
  import sys
  from multiprocessing import Pool
label_desc: Use image node_id 6 for calling a global function with example usage: prepare_mp4_scp(data_root, store_dir, set_type) and returns: None