[英]Looking to play back non-encoded video upload then export gif from selection point via FFMPEG
We've been trying to crack this code all week, reaching out to everyone to see if you have any solutions?我们整个星期都在试图破解这个密码,联系大家,看看你们有没有解决办法?
Everything is working in the vice order.一切都按副顺序工作。 The issue is when the user uploads a large sized and length video this slicing and re-encoding takes forever and that cause the user to feel the site is not working properly.
问题是当用户上传一个大尺寸和长度的视频时,这种切片和重新编码需要很长时间,这会导致用户觉得网站无法正常工作。
What we want is very simple:我们想要的很简单:
Don't encode the whole video, just seek the the closest key frame, start decoding, throw away the frames until the frame you want, then start encoding at that frame.不要对整个视频进行编码,只需寻找最近的关键帧,开始解码,丢弃帧直到您想要的帧,然后在该帧开始编码。 Ffmpeg can do this by specifying seek parameters before and after the input.
Ffmpeg 可以通过在输入前后指定搜索参数来做到这一点。
We hired a developer that created a solution to the problem.我们聘请了一位开发人员来解决问题。 Thank you for your help!
谢谢您的帮助!
声明:本站的技术帖子网页,遵循CC BY-SA 4.0协议,如果您需要转载,请注明本站网址或者原文地址。任何问题请咨询:yoyou2525@163.com.