Windows上ffmpeg使用GPU硬件加速多路rtsp转HLS直播流
项目需要接入20多路rtsp转hls视频流,机器的CPU为i9-10900,显卡为P2200。
CPU转码
最开始测试使用脚本:
start ./ffmpeg -i rtsp://<账号>:<密码>@<IP>:554/Streaming/Channels/101 -c:v libx264 -c:a copy -f hls -threads 8 -hls_time 5 -hls_list_size 8 -hls_wrap 8 db1.m3u8
-i 输入
-c:v l
原创
2021-11-18 15:15:59 ·
3017 阅读 ·
4 评论