Package tv.hd3g.ffprobejaxb
Class FFprobeJAXB
- java.lang.Object
-
- tv.hd3g.ffprobejaxb.FFprobeJAXB
-
public class FFprobeJAXB extends Object
-
-
Field Summary
Fields Modifier and Type Field Description static Predicate<StreamType>filterAudioStreamstatic Predicate<StreamType>filterDataStreamstatic Predicate<StreamType>filterVideoStreamFfprobeTypeprobeResult
-
Constructor Summary
Constructors Constructor Description FFprobeJAXB(String xmlContent, Consumer<String> onWarnLog)
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description Stream<StreamType>getAudiosStreams()List<ChapterType>getChapters()ErrorTypegetError()FormatTypegetFormat()List<Object>getFrames()FrameTypeSubtitleTypeList<LibraryVersionType>getLibraryVersions()List<PacketType>getPackets()List<Object>getPacketsAndFrames()List<PixelFormatType>getPixelFormats()List<ProgramType>getPrograms()ProgramVersionTypegetProgramVersion()List<StreamType>getStreams()Stream<StreamType>getVideoStreams()StringgetXmlContent()
-
-
-
Field Detail
-
probeResult
public final FfprobeType probeResult
-
filterVideoStream
public static final Predicate<StreamType> filterVideoStream
-
filterAudioStream
public static final Predicate<StreamType> filterAudioStream
-
filterDataStream
public static final Predicate<StreamType> filterDataStream
-
-
Method Detail
-
getXmlContent
public String getXmlContent()
-
getChapters
public List<ChapterType> getChapters()
-
getStreams
public List<StreamType> getStreams()
-
getFormat
public FormatType getFormat()
-
getError
public ErrorType getError()
- Returns:
- nullable
-
getProgramVersion
public ProgramVersionType getProgramVersion()
- Returns:
- nullable
-
getLibraryVersions
public List<LibraryVersionType> getLibraryVersions()
-
getPixelFormats
public List<PixelFormatType> getPixelFormats()
-
getPackets
public List<PacketType> getPackets()
-
getPrograms
public List<ProgramType> getPrograms()
-
getVideoStreams
public Stream<StreamType> getVideoStreams()
-
getAudiosStreams
public Stream<StreamType> getAudiosStreams()
-
-