Class FFbase

  • All Implemented Interfaces:
    tv.hd3g.processlauncher.ExecutableTool
    Direct Known Subclasses:
    FFmpeg, FFprobe

    public class FFbase
    extends ConversionTool
    • Constructor Detail

      • FFbase

        public FFbase​(String execName,
                      tv.hd3g.processlauncher.cmdline.Parameters parameters)
    • Method Detail

      • beforeRun

        public void beforeRun​(tv.hd3g.processlauncher.ProcesslauncherBuilder processBuilder)
        Specified by:
        beforeRun in interface tv.hd3g.processlauncher.ExecutableTool
        Overrides:
        beforeRun in class ConversionTool
      • setLogLevel

        public FFbase setLogLevel​(FFLogLevel level,
                                  boolean repeat,
                                  boolean display_level)
        Add like -loglevel repeat+level+verbose
      • isLogLevelSet

        public boolean isLogLevelSet()
      • setHidebanner

        public FFbase setHidebanner()
      • isHidebanner

        public boolean isHidebanner()
      • setOverwriteOutputFiles

        public FFbase setOverwriteOutputFiles()
      • isOverwriteOutputFiles

        public boolean isOverwriteOutputFiles()
      • setNeverOverwriteOutputFiles

        public FFbase setNeverOverwriteOutputFiles()
      • isNeverOverwriteOutputFiles

        public boolean isNeverOverwriteOutputFiles()
      • addSimpleInputSource

        public FFbase addSimpleInputSource​(String sourceName,
                                           String... sourceOptions)
        Define cmd var name like <%IN_AUTOMATIC_n%> with "n" the # of setted sources. Add -i parameter Add now in current Parameters the new add var only if not exists (you should call fixIOParametredVars, if you have add manually vars in Parametres)
      • addSimpleInputSource

        public FFbase addSimpleInputSource​(File file,
                                           String... sourceOptions)
        Define cmd var name like <%IN_AUTOMATIC_n%> with "n" the # of setted sources. Add -i parameter Add now in current Parameters the new add var only if not exists (you should call fixIOParametredVars, if you have add manually vars in Parametres)
      • addSimpleInputSource

        public FFbase addSimpleInputSource​(String sourceName,
                                           List<String> sourceOptions)
        Define cmd var name like <%IN_AUTOMATIC_n%> with "n" the # of setted sources. Add -i parameter Add now in current Parameters the new add var only if not exists (you should call fixIOParametredVars, if you have add manually vars in Parametres)
      • addSimpleInputSource

        public FFbase addSimpleInputSource​(File file,
                                           List<String> sourceOptions)
        Define cmd var name like <%IN_AUTOMATIC_n%> with "n" the # of setted sources. Add -i parameter Add now in current Parameters the new add var only if not exists (you should call fixIOParametredVars, if you have add manually vars in Parametres)
      • addSimpleOutputDestination

        public ConversionTool addSimpleOutputDestination​(String destinationName)
        Define cmd var name like <%OUT_AUTOMATIC_n%> with "n" the # of setted destination. Add now in current Parameters the new add var only if not exists (you should call fixIOParametredVars, if you have add manually vars in Parametres)
        Overrides:
        addSimpleOutputDestination in class ConversionTool
      • addSimpleOutputDestination

        public ConversionTool addSimpleOutputDestination​(File destinationFile)
        Define cmd var name like <%OUT_AUTOMATIC_n%> with "n" the # of setted destination. Add now in current Parameters the new add var only if not exists (you should call fixIOParametredVars, if you have add manually vars in Parametres)
        Overrides:
        addSimpleOutputDestination in class ConversionTool
      • getAbout

        public FFAbout getAbout​(tv.hd3g.processlauncher.cmdline.ExecutableFinder executableFinder)
      • checkFiltersAvailability

        public List<Filter> checkFiltersAvailability​(tv.hd3g.processlauncher.cmdline.ExecutableFinder executableFinder)