Package tv.hd3g.fflauncher.recipes
Record Class ContainerAnalyserResult
java.lang.Object
java.lang.Record
tv.hd3g.fflauncher.recipes.ContainerAnalyserResult
public record ContainerAnalyserResult(ContainerAnalyserSession session, List<FFprobePacket> packets, List<FFprobeAudioFrame> audioFrames, List<FFprobeVideoFrame> videoFrames, FFprobeVideoFrameConst videoConst, FFprobeAudioFrameConst audioConst, List<FFprobeVideoFrameConst> olderVideoConsts, List<FFprobeAudioFrameConst> olderAudioConsts)
extends Record
-
Constructor Summary
ConstructorsConstructorDescriptionContainerAnalyserResult(ContainerAnalyserSession session, List<FFprobePacket> packets, List<FFprobeAudioFrame> audioFrames, List<FFprobeVideoFrame> videoFrames, FFprobeVideoFrameConst videoConst, FFprobeAudioFrameConst audioConst, List<FFprobeVideoFrameConst> olderVideoConsts, List<FFprobeAudioFrameConst> olderAudioConsts) Creates an instance of aContainerAnalyserResultrecord class. -
Method Summary
Modifier and TypeMethodDescriptionReturns the value of theaudioConstrecord component.Returns the value of theaudioFramesrecord component.final booleanIndicates whether some other object is "equal to" this one.final inthashCode()Returns a hash code value for this object.booleanisEmpty()Returns the value of theolderAudioConstsrecord component.Returns the value of theolderVideoConstsrecord component.packets()Returns the value of thepacketsrecord component.session()Returns the value of thesessionrecord component.final StringtoString()Returns a string representation of this record class.Returns the value of thevideoConstrecord component.Returns the value of thevideoFramesrecord component.
-
Constructor Details
-
ContainerAnalyserResult
public ContainerAnalyserResult(ContainerAnalyserSession session, List<FFprobePacket> packets, List<FFprobeAudioFrame> audioFrames, List<FFprobeVideoFrame> videoFrames, FFprobeVideoFrameConst videoConst, FFprobeAudioFrameConst audioConst, List<FFprobeVideoFrameConst> olderVideoConsts, List<FFprobeAudioFrameConst> olderAudioConsts) Creates an instance of aContainerAnalyserResultrecord class.- Parameters:
session- the value for thesessionrecord componentpackets- the value for thepacketsrecord componentaudioFrames- the value for theaudioFramesrecord componentvideoFrames- the value for thevideoFramesrecord componentvideoConst- the value for thevideoConstrecord componentaudioConst- the value for theaudioConstrecord componentolderVideoConsts- the value for theolderVideoConstsrecord componentolderAudioConsts- the value for theolderAudioConstsrecord component
-
-
Method Details
-
isEmpty
public boolean isEmpty() -
extractGOPStats
- Returns:
- empty if no video frames, or no GOPs (all frames are I or UNKNOWN)
-
toString
Returns a string representation of this record class. The representation contains the name of the class, followed by the name and value of each of the record components. -
hashCode
public final int hashCode()Returns a hash code value for this object. The value is derived from the hash code of each of the record components. -
equals
Indicates whether some other object is "equal to" this one. The objects are equal if the other object is of the same class and if all the record components are equal. All components in this record class are compared withObjects::equals(Object,Object). -
session
Returns the value of thesessionrecord component.- Returns:
- the value of the
sessionrecord component
-
packets
Returns the value of thepacketsrecord component.- Returns:
- the value of the
packetsrecord component
-
audioFrames
Returns the value of theaudioFramesrecord component.- Returns:
- the value of the
audioFramesrecord component
-
videoFrames
Returns the value of thevideoFramesrecord component.- Returns:
- the value of the
videoFramesrecord component
-
videoConst
Returns the value of thevideoConstrecord component.- Returns:
- the value of the
videoConstrecord component
-
audioConst
Returns the value of theaudioConstrecord component.- Returns:
- the value of the
audioConstrecord component
-
olderVideoConsts
Returns the value of theolderVideoConstsrecord component.- Returns:
- the value of the
olderVideoConstsrecord component
-
olderAudioConsts
Returns the value of theolderAudioConstsrecord component.- Returns:
- the value of the
olderAudioConstsrecord component
-