Package bdsup2sub.utils
Class SubtitleUtils
java.lang.Object
bdsup2sub.utils.SubtitleUtils
-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionstatic double
getDefaultFramerateForResolution
(Resolution resolution) static double
static Resolution
getResolutionForDimension
(int width, int height) static long
syncTimePTS
(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
-