ffmpeg 推流工具

SRR测试网址 http://www.ossrs.net/srs.release/trunk/research/players/srs_player.html 获取 git clone https://github.com/ossrs/srs.git

configure make cd srs/trunk ./configure && make

开启服务器 ./objs/srs -c conf/srs.conf

列出设备 ./ffmpeg.exe -list_devices true -f dshow -i dummy ffmpeg采集摄像头推流 ffmpeg.exe -f dshow -i video="EasyCamera" -q 4 -s 640*480 -aspect 4:3 -r 10 -vcodec flv -ar 22050 -ab 64k -ac 1 -acodec libmp3lame -threads 4 -f flv rtmp://192.168.1.102/RTMP/RtmpVideo

ffmpeg采集摄像头和麦克风推流 ffmpeg -f dshow -i video="USB2.0 PC CAMERA" -f dshow -i audio="麦克风 (2- USB2.0 MIC)" -b:a 600k -ab 128k -f flv rtmp://192.168.1.102/RTMP/RtmpVideo

Licensed under CC BY-NC-SA 4.0
Built with Hugo
主题 StackJimmy 设计