Package tv.hd3g.fflauncher.about
Class FFAbout
- java.lang.Object
-
- tv.hd3g.fflauncher.about.FFAbout
-
public class FFAbout extends Object
Threadsafe Sync (blocking) during executions
-
-
Field Summary
Fields Modifier and Type Field Description static Map<String,Integer>sample_formatsGet by ffmpeg -sample_fmts
-
Constructor Summary
Constructors Constructor Description FFAbout(String execName, ExecutableFinder executableFinder, ScheduledExecutorService maxExecTimeScheduler)
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description Set<String>getAvailableHWAccelerationMethods()-hwaccels show available HW acceleration methodsSet<String>getBitStreamFilters()-bsfs show available bit stream filtersList<FFAboutCodec>getCodecs()-codecs show available codecsList<FFAboutDevice>getDevices()-devices show available devicesList<FFAboutFilter>getFilters()-filters show available filtersList<FFAboutFormat>getFormats()-formats show available formatsList<FFAboutPixelFormat>getPixelFormats()-pix_fmts show available pixel formatsFFAboutProtocolsgetProtocols()-protocols show available protocolsFFAboutVersiongetVersion()booleanisCoderEngineIsAvaliable(String engine_name)booleanisCoderIsAvaliable(String codec_name)booleanisDecoderEngineIsAvaliable(String engine_name)booleanisDecoderIsAvaliable(String codec_name)booleanisFilterIsAvaliable(String filter_name)booleanisFromFormatIsAvaliable(String demuxer_name)booleanisHardwareNVScalerFilterIsAvaliable()ALL FUNCTIONS ARE NOT AVAILABLE FOR ALL GRAPHICS CARDS, EVEN IF FFMPEG SUPPORT IT HERE.booleanisNVToolkitIsAvaliable()ALL FUNCTIONS ARE NOT AVAILABLE FOR ALL GRAPHICS CARDS, EVEN IF FFMPEG SUPPORT IT HERE.booleanisToFormatIsAvaliable(String muxer_name)
-
-
-
Constructor Detail
-
FFAbout
public FFAbout(String execName, ExecutableFinder executableFinder, ScheduledExecutorService maxExecTimeScheduler)
-
-
Method Detail
-
getVersion
public FFAboutVersion getVersion()
-
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
-
getPixelFormats
public List<FFAboutPixelFormat> getPixelFormats()
-pix_fmts show available pixel formats
-
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
-
-