Class VLCMediaExporter
java.lang.Object
ca.phon.worker.PhonTask
ca.phon.media.export.VLCMediaExporter
- All Implemented Interfaces:
Runnable
- Direct Known Subclasses:
VLCWavExporter
Export video and/or audio with the option
to transcode the output. Also able to
perform a segment extraction.
-
Nested Class Summary
Nested ClassesNested classes/interfaces inherited from class ca.phon.worker.PhonTask
PhonTask.TaskStatus -
Field Summary
Fields inherited from class ca.phon.worker.PhonTask
err, PROGRESS_PROP, props, STATUS_PROP -
Constructor Summary
ConstructorsConstructorDescriptionConstructorVLCMediaExporter(File inputFile, File outputFile) VLCMediaExporter(File inputFile, File outputFile, VLCMediaExporter.Preset preset) VLCMediaExporter(String inputFile, String outputFile) VLCMediaExporter(String inputFile, String outputFile, VLCMediaExporter.Preset preset) Constructor -
Method Summary
Modifier and TypeMethodDescriptionprotected voiddoExport()floatfloatbooleanbooleanbooleanvoidThe abstract run method.voidsetIncludeAudio(boolean includeAudio) voidsetIncludeVideo(boolean includeVideo) voidsetInputFile(File inputFile) voidsetMediaOptions(List<String> mediaOpts) voidsetMediaStartTime(float startTime) voidsetMediaStopTime(float stopTime) voidsetOutputFile(File outputFile) voidsetPreset(VLCMediaExporter.Preset preset) voidshutdown()Methods inherited from class ca.phon.worker.PhonTask
addTaskListener, firePropertyChange, fireStatusChange, getException, getName, getProperty, getRunTime, getStartTime, getStatus, isShutdown, removeTaskListener, run, setName, setProperty, setStatus
-
Constructor Details
-
VLCMediaExporter
public VLCMediaExporter()Constructor -
VLCMediaExporter
-
VLCMediaExporter
Constructor -
VLCMediaExporter
-
VLCMediaExporter
-
-
Method Details
-
performTask
public void performTask()Description copied from class:PhonTaskThe abstract run method. This method must be implemented by all subclasses.- Specified by:
performTaskin classPhonTask
-
shutdown
-
doExport
- Throws:
PhonMediaException
-
getMediaOptions
-
setMediaOptions
-
getPreset
-
setPreset
-
isPartialExtract
public boolean isPartialExtract() -
isIncludeAudio
public boolean isIncludeAudio() -
setIncludeAudio
public void setIncludeAudio(boolean includeAudio) -
isIncludeVideo
public boolean isIncludeVideo() -
setIncludeVideo
public void setIncludeVideo(boolean includeVideo) -
getInputFile
-
setInputFile
-
getOutputFile
-
setOutputFile
-
getMediaStopTime
public float getMediaStopTime() -
setMediaStopTime
public void setMediaStopTime(float stopTime) -
getMediaStartTime
public float getMediaStartTime() -
setMediaStartTime
public void setMediaStartTime(float startTime)
-