parameters: (output_options: dict, width: int, height: int)
docstring: Args:
          output_options: Dictionary containing the loaded ./config_files/output_options.yaml
          width: Desired width
          height: Desired height
  
      Returns:
          Nothing, but output_option's pipe commands will resize the pipe'd video using the setdar filter.
function: def append_dar_filter_to_pipe_process(output_options: dict, width: int, height: int) -> None:
      """
  
      Args:
          output_options: Dictionary containing the loaded ./config_files/output_options.yaml
          width: Desired width
          height: Desired height
  
      Returns:
          Nothing, but output_option's pipe commands will resize the pipe'd video using the setdar filter.
      """
  
      # reduce width and height down
      from fractions import Fraction
      frac = Fraction(width, height)
      frac_str = str(frac.numerator) + "/" + str(frac.denominator)
  
      output_options['ffmpeg']['pipe_video']['output_options']['-vf'].append("setdar=" + frac_str)
function_tokens: def append_dar_filter_to_pipe_process ( output_options : dict , width : int , height : int ) -> None : # reduce width and height down from fractions import Fraction frac = Fraction ( width , height ) frac_str = str ( frac . numerator ) + "/" + str ( frac . denominator ) output_options [ 'ffmpeg' ] [ 'pipe_video' ] [ 'output_options' ] [ '-vf' ] . append ( "setdar=" + frac_str )