public class FfmpegInputStreamReaderThreadFactory
extends org.gytheio.util.exec.RuntimeExec.InputStreamReaderThreadFactory
ContentTransformerWorkerProgressReporter.| Modifier and Type | Class and Description |
|---|---|
static class |
FfmpegInputStreamReaderThreadFactory.FfmpegInputStreamReaderThread
Reads the input stream to a string buffer via InputStreamReaderThread but also
parses for progress
|
| Modifier and Type | Field and Description |
|---|---|
protected static Pattern |
DURATION_PATTERN |
protected boolean |
isFfmpegVersion1 |
protected org.gytheio.content.transform.ContentTransformerWorkerProgressReporter |
progressReporter
The progress reporter
|
protected static Pattern |
TIME_PATTERN_V0 |
protected static Pattern |
TIME_PATTERN_V1 |
| Constructor and Description |
|---|
FfmpegInputStreamReaderThreadFactory(org.gytheio.content.transform.ContentTransformerWorkerProgressReporter progressReporter,
boolean isFfmpegVersion1)
Constructor specifying a progress reporter
|
| Modifier and Type | Method and Description |
|---|---|
org.gytheio.util.exec.RuntimeExec.InputStreamReaderThread |
createInstance(InputStream is,
Charset charset) |
protected static final Pattern DURATION_PATTERN
protected static final Pattern TIME_PATTERN_V0
protected static final Pattern TIME_PATTERN_V1
protected org.gytheio.content.transform.ContentTransformerWorkerProgressReporter progressReporter
protected boolean isFfmpegVersion1
public FfmpegInputStreamReaderThreadFactory(org.gytheio.content.transform.ContentTransformerWorkerProgressReporter progressReporter,
boolean isFfmpegVersion1)
progressReporter - public org.gytheio.util.exec.RuntimeExec.InputStreamReaderThread createInstance(InputStream is, Charset charset)
createInstance in class org.gytheio.util.exec.RuntimeExec.InputStreamReaderThreadFactoryCopyright © 2017 Alfresco Software. All rights reserved.