Package bdsup2sub.utils
Class SubtitleUtils
java.lang.Object
bdsup2sub.utils.SubtitleUtils
-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionstatic doublegetDefaultFramerateForResolution(Resolution resolution) static doublestatic ResolutiongetResolutionForDimension(int width, int height) static longsyncTimePTS(long timeStamp, double fps, double fpsTrg) Synchronizes a time stamp in 90kHz resolution to the given frame rate.
-
Constructor Details
-
SubtitleUtils
private SubtitleUtils()
-
-
Method Details
-
getFps
-
syncTimePTS
public static long syncTimePTS(long timeStamp, double fps, double fpsTrg) Synchronizes a time stamp in 90kHz resolution to the given frame rate. -
getDefaultFramerateForResolution
-
getResolutionForDimension
-