Package net.bramp.ffmpeg.progress
Class TcpProgressParser
java.lang.Object
net.bramp.ffmpeg.progress.AbstractSocketProgressParser
net.bramp.ffmpeg.progress.TcpProgressParser
- All Implemented Interfaces:
Closeable
,AutoCloseable
,ProgressParser
-
Constructor Summary
ConstructorDescriptionTcpProgressParser
(ProgressListener listener) TcpProgressParser
(ProgressListener listener, int port, InetAddress addr) -
Method Summary
Modifier and TypeMethodDescriptionprotected Runnable
getRunnable
(CountDownLatch startSignal) protected String
getUri()
The URL to parse to FFmpeg to communicate with this parservoid
stop()
Methods inherited from class net.bramp.ffmpeg.progress.AbstractSocketProgressParser
close, start
-
Constructor Details
-
TcpProgressParser
- Throws:
IOException
URISyntaxException
-
TcpProgressParser
public TcpProgressParser(ProgressListener listener, int port, InetAddress addr) throws IOException, URISyntaxException - Throws:
IOException
URISyntaxException
-
-
Method Details
-
stop
- Specified by:
stop
in interfaceProgressParser
- Overrides:
stop
in classAbstractSocketProgressParser
- Throws:
IOException
-
getThreadName
- Specified by:
getThreadName
in classAbstractSocketProgressParser
-
getRunnable
- Specified by:
getRunnable
in classAbstractSocketProgressParser
-
getUri
Description copied from interface:ProgressParser
The URL to parse to FFmpeg to communicate with this parser- Returns:
- The URI to communicate with FFmpeg.
-