如何以html格式播放压缩视频。我从api获取文件。 Andriod压缩代码是:
String[] complexCommand = {"-y", "-i", yourRealPath,"-c:v", "libx264", "-preset", "ultrafast", "-s", "160x120", "-r", "24", "-vcodec", "mpeg4", "-b:v", "150k", "-b:a", "48000", "-ac", "2", "-ar", "22050", filePath};
````````
答案 0 :(得分:0)
如标题所要求的,如何以HTML格式播放视频
<video id="yourMovie" src="filepath" controls></video>
尽管您发布的代码段不是javascript,但是您正在使用JSP吗?