Class FFmpegResult
java.lang.Object
com.github.kokorin.jaffree.ffmpeg.FFmpegResult
FFmpegResult contains information about ffmpeg encoding result.-
Constructor Summary
ConstructorsConstructorDescriptionFFmpegResult(Long videoSize, Long audioSize, Long subtitleSize, Long otherStreamsSize, Long globalHeadersSize, Double muxingOverheadRatio) CreatesFFmpegResult. -
Method Summary
Modifier and TypeMethodDescriptionNote: value may be not exact.Note: value may be not exact.Note: value may be not exact.Note: value may be not exact.Note: value may be not exact.Note: value may be not exact.
-
Constructor Details
-
FFmpegResult
public FFmpegResult(Long videoSize, Long audioSize, Long subtitleSize, Long otherStreamsSize, Long globalHeadersSize, Double muxingOverheadRatio) CreatesFFmpegResult.- Parameters:
videoSize- output video stream size in bytesaudioSize- output audio stream size in bytessubtitleSize- output subtitles stream size in bytesotherStreamsSize- output other streams size in bytesglobalHeadersSize- output global headers size in bytesmuxingOverheadRatio- ratio of extra information size to output size
-
-
Method Details
-
getVideoSize
Note: value may be not exact.- Returns:
- video stream size in bytes.
-
getAudioSize
Note: value may be not exact.- Returns:
- audio stream size in bytes.
-
getSubtitleSize
Note: value may be not exact.- Returns:
- subtitles stream size in bytes.
-
getOtherStreamsSize
Note: value may be not exact.- Returns:
- output other streams size in bytes.
-
getGlobalHeadersSize
Note: value may be not exact.- Returns:
- output global headers size in bytes.
-
getMuxingOverheadRatio
Note: value may be not exact.- Returns:
- ratio of extra information size to output size.
-