public class Utils extends Object
| Constructor and Description |
|---|
Utils() |
| Modifier and Type | Method and Description |
|---|---|
static String |
buildTimeDuration(long milis)
* https://www.ffmpeg.org/ffmpeg-utils.html#time-duration-syntax
Build a time/duration string based on the milisenconds passed in milis [-][HH:]MM:SS[.m...]
|
static String |
escapeArgument(String argumentIn)
Escape all special characters []=;, to be safe to use in command line
|
public static String buildTimeDuration(long milis)
Build a time/duration string based on the milisenconds passed in milis [-][HH:]MM:SS[.m...] or [-]S+[.m...]
milis - number of miliseconds, can be negative tooCopyright © 2020. All rights reserved.