001package net.bramp.ffmpeg.progress;
002
003import java.io.Closeable;
004import java.io.IOException;
005import java.net.URI;
006
007/** Parses the FFmpeg progress fields. */
008public interface ProgressParser extends Closeable {
009
010  /** Starts the progress parser. */
011  void start() throws IOException;
012
013  /** Stops the progress parser. */
014  void stop() throws IOException;
015
016  /**
017   * The URL to parse to FFmpeg to communicate with this parser.
018   *
019   * @return The URI to communicate with FFmpeg.
020   */
021  URI getUri();
022}