code: public static void main(String[] args) throws InterruptedException {
          if (args == null || args[0] == null) {
              System.err.println("Provide the path to your .ser file");
          } else {
              repair(args[0], args.length > 1 && args[1] != null ? Integer.valueOf(args[1]) : null, args.length > 2 && args[2] != null ? Integer.valueOf(args[2]) : null);
          }
          System.exit(0);
      }
docs: Exposed to allow repair of flv files if .info and .ser files still exist.
  
  @param args
  0: path to .ser file 1: audio codec id 2: video codec id
  @throws InterruptedException
  Exception on interruption