ffmpeg图像创建
我在我的服务器中使用 ffmpeg,一切都工作正常,除了图像(缩略图)创建我使用此脚本
/usr/bin/ffmpeg -i /var/www/test/test.flv -deinterlace -an -ss 13.45
-t 00:00:05 -r 0.01 -y -s 120x72 -vcodec mjpeg
-f mjpeg /var/www/test/test.jpg
是否存在 PHP 或 ffmpeg 的问题
谢谢
im using ffmpeg in my server and every thing is working fine except one that the image(thumbnail) creation im using this script
/usr/bin/ffmpeg -i /var/www/test/test.flv -deinterlace -an -ss 13.45
-t 00:00:05 -r 0.01 -y -s 120x72 -vcodec mjpeg
-f mjpeg /var/www/test/test.jpg
is there any problem with the PHP or ffmpeg
Thanks
如果你对这篇内容有疑问,欢迎到本站社区发帖提问 参与讨论,获取更多帮助,或者扫码二维码加入 Web 技术交流群。
绑定邮箱获取回复消息
由于您还没有绑定你的真实邮箱,如果其他用户或者作者回复了您的评论,将不能在第一时间通知您!
发布评论
评论(1)
我已经在自己的 FLV 文件上进行了一些操作,发现您的 r 值(帧速率)可能太小,至少对于我测试的 FLV 来说是这样。
将其更改为 0.1 甚至 1 之类的值
I've done some playing with this on my own FLV files and found that the r value (frame rate) you have there is probably too small, at least it was for the FLV I tested on.
Change it to something like .1 or maybe even 1