频道栏目
首页 > 资讯 > 其他综合 > 正文

ffmpeg 使用笔记(二)

17-09-07        来源:[db:作者]  
收藏   我要投稿
ffmpeg -re -f concat -i /data/cache/recorder/wangmanjie5

ffmpeg -re -f concat -i 659.txt -vcodec copy -acodec copy -f flv rtmp://livecn/live/wang

ffmpeg -f gdigrab -framerate 15 -offset_x 0 -offset_y 0 -video_size 1920*1080  -i desktop -b 91000k  -f flv rtmp://chinacache/live/mj

ffmpeg.exe -i out.flv -vf delogo=10:10:300:300:0 -f flv pl.flv  模糊水印

ffmpeg -re -safe 0 -f concat -i test.txt -vcodec copy -acodec copy -f flv rtmp://chinacache/live/wmj
文件格式 test.txt
file 'a.mp4'
-safe 0 可以用绝对路径,否则只能用相对路径


ffmpeg -f gdigrab -framerate 29.97 -offset_x 0 -offset_y 0 -video_size 1920*1080  -i desktop -b 3000k -c:a copy -f flv "rtmp://send1a.douyu.com/live/1312264r1iHrBWfC"


循环
 -threads 2   -stream_loop -1

You should be able to use the -stream_loop
 -1 flag before the input (-i):
ffmpeg -threads 2 -re -fflags +genpts -stream_loop -1 -i ./test.mp4 -c copy ./test.m3u8

The -fflags
 +genpts will regenerate the pts timestamps so it loops smoothly, otherwise the time sequence will be incorrect as it loops.
FFmpeg >= 2.8.4 is required in this case.
相关TAG标签
上一篇:腾讯2017校招开发工程师:设有2条路由21.1.193.0/24和21.1.194.0/24,如果进行路由汇聚
下一篇:kafka安装及配置文件详解
相关文章
图文推荐

关于我们 | 联系我们 | 广告服务 | 投资合作 | 版权申明 | 在线帮助 | 网站地图 | 作品发布 | Vip技术培训 | 举报中心

版权所有: 红黑联盟--致力于做实用的IT技术学习网站