def do_before
      log_info "JobVideo.before source_loc.path_fs: #{@source_loc.path_fs}"
      log_info "JobVideo.before target_loc.path_fs: #{@target_loc.path_fs}"

      # Ensure FFMPEG lib is available
      check_ffmpeg_binary :ffprobe_binary
      check_ffmpeg_binary :ffmpeg_binary

      # Ensure source and target are FILE
      raise RestFtpDaemon::AssertionFailed                         unless @video_options.is_a? Hash
      raise RestFtpDaemon::AssertionFailed                         unless @video_custom.is_a? Hash
      raise RestFtpDaemon::SourceUnsupported, @source_loc.scheme   unless @source_loc.is? URI::FILE
      raise RestFtpDaemon::TargetUnsupported, @target_loc.scheme   unless @target_loc.is? URI::FILE
    end
def do_before
      log_info "JobVideo.before source_loc.path_fs: #{@source_loc.path_fs}"
      log_info "JobVideo.before target_loc.path_fs: #{@target_loc.path_fs}"

      # Ensure FFMPEG lib is available
      check_ffmpeg_binary :ffprobe_binary
      check_ffmpeg_binary :ffmpeg_binary

      # Ensure source and target are FILE
      raise RestFtpDaemon::AssertionFailed                         unless @video_options.is_a? Hash
      raise RestFtpDaemon::AssertionFailed                         unless @video_custom.is_a? Hash
      raise RestFtpDaemon::SourceUnsupported, @source_loc.scheme   unless @source_loc.is? URI::FILE
      raise RestFtpDaemon::TargetUnsupported, @target_loc.scheme   unless @target_loc.is? URI::FILE
    end
Process job