Past duration 0.666664 too large
2017-07-10 14:37
246 查看
在终端构建的直播推流过程中总是会出现,
这样的警告,
例如我这里就是使用的这样的推送命令
就会出现上面的警告问题,最终我查阅了好久网上的英文文档,找到一个解决的办法,我们可以用如下的命令行,基本上很少有黄色代码的警告。
至于为什么会出现这样的一个差别,对于命令行我研究的不多,如果有哪位大神知道原因,多谢指导。
Past duration 0.666664 too large
这样的警告,
例如我这里就是使用的这样的推送命令
ffmpeg -f avfoundation -framerate 30 -video_size 1280x720 -i "0:0" -vcodec libx264 -preset ultrafast -acodec libmp3lame -ar 44100 -ac 1 -target pal-vcd ./hello.mpg -f flv rtmp://localhost:1935/zbcs/room
就会出现上面的警告问题,最终我查阅了好久网上的英文文档,找到一个解决的办法,我们可以用如下的命令行,基本上很少有黄色代码的警告。
ffmpeg -f avfoundation -r 30 -video_size 1280x720 -i "0:0" -vcodec libx264 -preset ultrafast -acodec libmp3lame -ar 44100 -ac 1 -target pal-vcd ./hello.mpg -f flv rtmp://localhost:1935/zbcs/room
至于为什么会出现这样的一个差别,对于命令行我研究的不多,如果有哪位大神知道原因,多谢指导。
相关文章推荐
- McGrady, Yao lead Rockets past Bulls
- 在查询语句中使用 NOLOCK 和 READPAST
- 关于Controller中Ramp up、Duration、Ramp down虚拟用户事务执行情况以及二者关系的实验
- ASP+页缓存OutputCache Duration用法
- Fading is true while flowering is past
- Oracle RAC Past Image(PI) 说明
- MP3关于计算duration
- Linux下Bash的管线pipe命令,cut,grep,sort,wc,uniq,tee,tr,col,join,past,expand
- Filter:revealtrans(duration=转换的秒数,transition=转换的类型)
- UIView animateWithDuration 使用详解
- UIView animateWithDuration 使用详解
- UIView animateWithDuration 使用详解
- IOS开发笔记UIView使用animateWithDuration控制页面效果
- UIView animateWithDuration 使用详解
- 【HDU】4967 Handling the Past 线段树
- HDU 4960 Handling the past 2014 多校9 线段树
- jave Duration: N/A, bitrate: N/A
- DicomIoException: Requested 132 bytes past end of fixed length stream.
- 怎么理解SpriteKit中的waitForDuration:withRange:方法
- 利用"animateWithDuration"实现带弹簧动画的顶部通知栏