Package ca.phon.media.export
Class VLCWavExporter
java.lang.Object
ca.phon.worker.PhonTask
ca.phon.media.export.VLCMediaExporter
ca.phon.media.export.VLCWavExporter
- All Implemented Interfaces:
Runnable
Uses vlc4j to export a media file into a wav file. This class performs the extra
step of fixing the headers in the wav file after export. VLC does not write
the correct values for fields
SubChunk2Size
and SubChunk2Size
.-
Nested Class Summary
Nested classes/interfaces inherited from class ca.phon.media.export.VLCMediaExporter
VLCMediaExporter.Preset
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
ConstructorDescriptionVLCWavExporter
(File mediaFile, File outputFile) VLCWavExporter
(String mediaFile, String outputFile) Constructor -
Method Summary
Methods inherited from class ca.phon.media.export.VLCMediaExporter
getInputFile, getMediaOptions, getMediaStartTime, getMediaStopTime, getOutputFile, getPreset, isIncludeAudio, isIncludeVideo, isPartialExtract, performTask, setIncludeAudio, setIncludeVideo, setInputFile, setMediaOptions, setMediaStartTime, setMediaStopTime, setOutputFile, setPreset, 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
-
VLCWavExporter
-
VLCWavExporter
Constructor
-
-
Method Details
-
doExport
- Overrides:
doExport
in classVLCMediaExporter
- Throws:
PhonMediaException
-