Class FFAbout


  • public class FFAbout
    extends Object
    Threadsafe Sync (blocking) during executions
    • Field Detail

      • sample_formats

        public static final Map<String,​Integer> sample_formats
        Get by ffmpeg -sample_fmts
    • Constructor Detail

      • FFAbout

        public FFAbout​(String execName,
                       tv.hd3g.processlauncher.cmdline.ExecutableFinder executableFinder,
                       ScheduledExecutorService maxExecTimeScheduler)
    • Method Detail

      • getCodecs

        public List<FFAboutCodec> getCodecs()
        -codecs show available codecs
      • getFormats

        public List<FFAboutFormat> getFormats()
        -formats show available formats
      • getDevices

        public List<FFAboutDevice> getDevices()
        -devices show available devices
      • getBitStreamFilters

        public Set<String> getBitStreamFilters()
        -bsfs show available bit stream filters
      • getProtocols

        public FFAboutProtocols getProtocols()
        -protocols show available protocols
      • getFilters

        public List<FFAboutFilter> getFilters()
        -filters show available filters
      • getAvailableHWAccelerationMethods

        public Set<String> getAvailableHWAccelerationMethods()
        -hwaccels show available HW acceleration methods
      • isCoderIsAvaliable

        public boolean isCoderIsAvaliable​(String codec_name)
      • isDecoderIsAvaliable

        public boolean isDecoderIsAvaliable​(String codec_name)
      • isFromFormatIsAvaliable

        public boolean isFromFormatIsAvaliable​(String demuxer_name)
      • isToFormatIsAvaliable

        public boolean isToFormatIsAvaliable​(String muxer_name)
      • isFilterIsAvaliable

        public boolean isFilterIsAvaliable​(String filter_name)
      • isCoderEngineIsAvaliable

        public boolean isCoderEngineIsAvaliable​(String engine_name)
        Parameters:
        engine_name - like libx264rgb or libxvid ALL CODECS ARE NOT AVAILABLE FOR ALL GRAPHICS CARDS, EVEN IF FFMPEG SUPPORT IT HERE.
      • isDecoderEngineIsAvaliable

        public boolean isDecoderEngineIsAvaliable​(String engine_name)
        Parameters:
        engine_name - like h264_cuvid or libopenjpeg ALL CODECS ARE NOT AVAILABLE FOR ALL GRAPHICS CARDS, EVEN IF FFMPEG SUPPORT IT HERE.
      • isNVToolkitIsAvaliable

        public boolean isNVToolkitIsAvaliable()
        ALL FUNCTIONS ARE NOT AVAILABLE FOR ALL GRAPHICS CARDS, EVEN IF FFMPEG SUPPORT IT HERE.
        Returns:
        true if configured and up for cuda, cuvid and nvenc
      • isHardwareNVScalerFilterIsAvaliable

        public boolean isHardwareNVScalerFilterIsAvaliable()
        ALL FUNCTIONS ARE NOT AVAILABLE FOR ALL GRAPHICS CARDS, EVEN IF FFMPEG SUPPORT IT HERE.
        Returns:
        true if configured with NVIDIA Performance Primitives via libnpp