public class ZMediaUtil
extends java.lang.Object
构造器和说明 |
---|
ZMediaUtil() |
限定符和类型 | 方法和说明 |
---|---|
static java.lang.String |
formatConversion(java.lang.String inputMediaPath,
java.lang.String outMediaPath) |
static java.lang.String |
getFFmpegPath() |
static java.lang.String |
getVideoPath() |
static java.util.List |
m3u8ToMp4(java.lang.String httpPath,
java.lang.String outMediaPath) |
static java.util.List |
mp4Tom3u8(java.lang.String inputMediaPath,
java.lang.String outMediaPath) |
static void |
videoInputStreamToBlob(java.io.InputStream inputStream,
javax.servlet.http.HttpServletRequest request,
javax.servlet.http.HttpServletResponse response) |
public static java.lang.String getFFmpegPath()
public static java.lang.String getVideoPath()
public static java.util.List mp4Tom3u8(java.lang.String inputMediaPath, java.lang.String outMediaPath)
public static java.util.List m3u8ToMp4(java.lang.String httpPath, java.lang.String outMediaPath)
public static java.lang.String formatConversion(java.lang.String inputMediaPath, java.lang.String outMediaPath)
public static void videoInputStreamToBlob(java.io.InputStream inputStream, javax.servlet.http.HttpServletRequest request, javax.servlet.http.HttpServletResponse response)