code: def do_movie_content(infile, outfile):
      # pip install moviepy
      # pip install requests
      # brew install imagemagick 如果更新慢
      # cd "$(brew --repo)" && git remote set-url origin https://git.coding.net/homebrew/homebrew.git
      # Import everything needed to edit video clips
      ## From tensorflow/models/research/
      # export PYTHONPATH=$PYTHONPATH:`pwd`:`pwd`/slim
      from moviepy.editor import *
  
      # Load myHolidays.mp4 and select the subclip 00:00:50 - 00:00:60
      clip = VideoFileClip(infile).subclip(0, 10)
  
      modifiedClip = clip.fl_image(invert_green_blue)
  
      # 添加字幕
      # Generate a text clip. You can customize the font, color, etc.
      txt_clip = TextClip("Dou Goodman", fontsize=70, color="white")
  
      # Say that you want it to appear 10s at the center of the screen
      txt_clip = txt_clip.set_pos("center").set_duration(10)
  
      # Overlay the text clip on the first video clip
      video = CompositeVideoClip([modifiedClip, txt_clip])
  
      # Write the result to a file (many options available !)
      video.write_videofile(outfile)
  
file_path: AdvBox/tutorials/utils.py
imports: from __future__ import division
  from __future__ import print_function
  from past.utils import old_div
  import matplotlib.pyplot
label_desc: Use image node_id 4 for calling a global function with example usage: do_movie_content(infile, outfile) without return types