MP4在Jwplayer上完全加载之前无法播放 [英] MP4 Not Playing Before Fully Loaded on Jwplayer

查看:298
本文介绍了MP4在Jwplayer上完全加载之前无法播放的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

我进行了很多搜索,但找不到针对我所处情况的解决方案

I've searched a lot but couldn't find any solution to the situation i'm in

我要做的是我通过ffmpeg.exe通过PHP脚本对视频进行水印处理,但输出文件无法在jwplayer上播放. 我发现这是一个编码问题,我尝试了 QTIndexSwapper ,但这是针对Windows的. 我使用的输入文件在jwplayer上运行良好,但是在水印之后无法正常工作 这是我使用的ffmpeg的代码

What i do is i watermark video using ffmpeg.exe via php script but the output file doesn't play on jwplayer. i've found out that it is an encoding issue and i tried QTIndexSwapper but it is for windows. the input files i used is working nice on jwplayer but after watermark not working here is the code for ffmpeg i used

$ffmpeg_bin -i input.mp4 -s 320x240 -vf 'movie=$watermarkx $watermark_pos' -c:v libx264 -c:a aac -strict -2 $final_name   2<&1

注意:我使用了ffmpeg.exe

NOTE: i used ffmpeg.exe

推荐答案

在文件上运行此工具- http://renaun.com/blog/2010/06/qtindexswapper-2/,这与编码问题有关.

Run this tool on your file - http://renaun.com/blog/2010/06/qtindexswapper-2/, it has to do with an encoding issue.

这篇关于MP4在Jwplayer上完全加载之前无法播放的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

查看全文
登录 关闭
扫码关注1秒登录
发送“验证码”获取 | 15天全站免登陆