ffplay的-t选项不会停止播放 [英] The -t option of ffplay won't stop playback

查看:99
本文介绍了ffplay的-t选项不会停止播放的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

刚开始使用ffmpeg和ffplay.我这样做:ffplay -t 5 somesong.mp3到大约5秒钟,然后才开始发出咔嗒声?

Just getting started with ffmpeg and ffplay. I do this: ffplay -t 5 somesong.mp3 and it gets to about 5 seconds and then just starts making a clicking noise?

我正在使用刚从他们的网站下载的最新版本.

I'm using the latest version I just downloaded from their site.

(Windows 7 64位)

(Windows 7 64-bit)

推荐答案

要使 ffplay 在达到最大持续时间时自动退出,您需要使用 autoexit 选项,否则,它只会剪切输入并等待:

To make ffplay exit automatically when the maximum duration is reached you need to use the autoexit option, otherwise it just cuts the input and waits:

ffplay -autoexit -t 5 somesong.mp3

这篇关于ffplay的-t选项不会停止播放的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

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