Uses of Class
com.github.kokorin.jaffree.Rational
Packages that use Rational
Package
Description
Base package for Jaffree project.
Classes used to integrate with ffprobe.
Package contains classes for data structures and parsers for ffprobe result.
Classes partially implementing NUT container format muxer & demuxer.
-
Uses of Rational in com.github.kokorin.jaffree
Fields in com.github.kokorin.jaffree declared as RationalModifier and TypeFieldDescriptionstatic final RationalRational.ONEstatic final RationalRational.ZEROMethods in com.github.kokorin.jaffree that return RationalModifier and TypeMethodDescriptionReturns aRationalwhose value is(this + value).Returns aRationalwhose value is(this / value).Rational.inverse()Returns aRationalwhose value is(1 / this).Returns aRationalwhose value is(this * value).Rational.negate()Returns aRationalwhose value is(-this).Rational.simplify()Simplifies thisRationalby dividing numerator and denominator by greatest common divisor.Returns aRationalwhose value is(this - value).static RationalRational.valueOf(double value) Returns aRationalwhose value is equal to that of the specifieddouble.static RationalRational.valueOf(long value) Returns aRationalwhose value is equal to that of the specifiedlong.static RationalReturns aRationalwhose value is equal to that of the specifiedNumber.static RationalParsesRational.static RationalParsesRational.Methods in com.github.kokorin.jaffree with parameters of type Rational -
Uses of Rational in com.github.kokorin.jaffree.ffprobe
Methods in com.github.kokorin.jaffree.ffprobe that return RationalModifier and TypeMethodDescriptionStream.getAvgFrameRate()Stream.getCodecTimeBase()Deprecated.removed in ffmpeg source codeStream.getDisplayAspectRatio()Returns display aspect ratio (DAR) of video stream, or null.Stream.getRFrameRate()Returns real base framerate of the stream.Frame.getSampleAspectRatio()Return sample aspect ratio for the video frame, 0/1 if unknown/unspecified.Stream.getSampleAspectRatio()Returns sample aspect ratio (SAR) of video stream, or null.Chapter.getTimeBase()Returns Chapter time base. -
Uses of Rational in com.github.kokorin.jaffree.ffprobe.data
Methods in com.github.kokorin.jaffree.ffprobe.data that return RationalModifier and TypeMethodDescriptionReturns property value asRational(using default converter).Returns property value asRational(using default converter).AbstractProbeData.getRational(String key) Returns property value asRational(using default converter).ProbeData.getRational(String name) Returns property value asRational(using default converter). -
Uses of Rational in com.github.kokorin.jaffree.nut
Fields in com.github.kokorin.jaffree.nut declared as RationalModifier and TypeFieldDescriptionfinal RationalStreamHeader.Audio.sampleRatefinal Rational[]MainHeader.timeBasesDifferent time bases used in a file.Methods in com.github.kokorin.jaffree.nut with parameters of type RationalModifier and TypeMethodDescriptionstatic longUtil.convertTimestamp(long pts, Rational timeBaseFrom, Rational timeBaseTo) Converts passed in PTS from one timebase to another.voidNutWriter.setMainHeader(int streamCount, long maxDistance, Rational[] timebases, FrameCode[] frameCodes) Sets NUT Main header.Constructors in com.github.kokorin.jaffree.nut with parameters of type RationalModifierConstructorDescriptionMainHeader(long majorVersion, long minorVersion, int streamCount, long maxDistance, Rational[] timeBases, FrameCode[] frameCodes, long[] elisionHeaderSize, Set<MainHeader.Flag> flags) CreatesMainHeader.