Package ca.phon.media.export
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 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
ConstructorDescriptionConstructorVLCMediaExporter
(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 void
doExport()
float
float
boolean
boolean
boolean
void
The abstract run method.void
setIncludeAudio
(boolean includeAudio) void
setIncludeVideo
(boolean includeVideo) void
setInputFile
(File inputFile) void
setMediaOptions
(List<String> mediaOpts) void
setMediaStartTime
(float startTime) void
setMediaStopTime
(float stopTime) void
setOutputFile
(File outputFile) void
setPreset
(VLCMediaExporter.Preset preset) void
shutdown()
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:PhonTask
The abstract run method. This method must be implemented by all subclasses.- Specified by:
performTask
in classPhonTask
-
shutdown
public void 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)
-