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 void start() throws IOException; 011 012 void stop() throws IOException; 013 014 /** 015 * The URL to parse to FFmpeg to communicate with this parser 016 * 017 * @return The URI to communicate with FFmpeg. 018 */ 019 URI getUri(); 020}