Class VLCMediaExporter

java.lang.Object
ca.phon.worker.PhonTask
ca.phon.media.export.VLCMediaExporter
All Implemented Interfaces:
Runnable
Direct Known Subclasses:
VLCWavExporter

public class VLCMediaExporter extends PhonTask
Export video and/or audio with the option to transcode the output. Also able to perform a segment extraction.
  • Constructor Details

    • VLCMediaExporter

      public VLCMediaExporter()
      Constructor
    • VLCMediaExporter

      public VLCMediaExporter(String inputFile, String outputFile)
    • VLCMediaExporter

      public VLCMediaExporter(String inputFile, String outputFile, VLCMediaExporter.Preset preset)
      Constructor
    • VLCMediaExporter

      public VLCMediaExporter(File inputFile, File outputFile)
    • VLCMediaExporter

      public VLCMediaExporter(File inputFile, File outputFile, VLCMediaExporter.Preset preset)
  • 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 class PhonTask
    • shutdown

      public void shutdown()
      Overrides:
      shutdown in class PhonTask
    • doExport

      protected void doExport() throws PhonMediaException
      Throws:
      PhonMediaException
    • getMediaOptions

      public List<String> getMediaOptions()
    • setMediaOptions

      public void setMediaOptions(List<String> mediaOpts)
    • getPreset

      public VLCMediaExporter.Preset getPreset()
    • setPreset

      public void setPreset(VLCMediaExporter.Preset preset)
    • 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

      public File getInputFile()
    • setInputFile

      public void setInputFile(File inputFile)
    • getOutputFile

      public File getOutputFile()
    • setOutputFile

      public void setOutputFile(File outputFile)
    • getMediaStopTime

      public float getMediaStopTime()
    • setMediaStopTime

      public void setMediaStopTime(float stopTime)
    • getMediaStartTime

      public float getMediaStartTime()
    • setMediaStartTime

      public void setMediaStartTime(float startTime)