code: def initcmd(self, fps, width, height):
      self.command = [
          "ffmpeg",
          "-y",
          "-f",
          "rawvideo",
          "-vcodec",
          "rawvideo",
          "-pix_fmt",
          "bgr24",
          "-s",
          "{}x{}".format(width, height),
          "-r",
          str(fps),
          "-i",
          "-",
          "-pix_fmt",
          "yuv420p",
          "-f",
          "rtsp",
          self.pushurl,
      ]
      self.pipe = sp.Popen(self.command, stdin=sp.PIPE)
  
imports: import time
  import os
  import ast
  import glob
  import yaml
  import copy
  import numpy
  import subprocess
  from python.keypoint_preprocess import EvalAffine, TopDownEvalAffine, expand_crop
label_desc: Use image node_id 2 for calling the PushStream obj's underlying member method code with example usage: obj.initcmd(fps, width, height) without return types