树莓派4B ffmpeg推流到b站

树莓派4B ffmpeg推流到b站

-f flv 服务器地址/直播码

ffmpeg获取csi接口摄像头流推流到b站
ffmpeg -f video4linux2 -re -i "/dev/video0" -r 25 -s 1920x1080 -bufsize 10M -g 300 -b 270000 -vcodec h264 -vf "vflip,hflip" -an -f flv "rtmp://live-push.bilivideo.com/live-bvc/?streamname=live_454646574645_34789&key=4543rtr443e33t3454t34t3453453r2=rtmp&pflag=4"
ffmpeg获取raspivid管道流推流到b站
raspivid -o - -w 1920 -h 1080 -b 500000 -rot 180 -t 0 -fps 25 | ffmpeg  -re -i -  -r 25 -s 1920x1080 -bufsize 10M  -g 300 -b 270000 -vcodec h264  -an -f flv "rtmp://live-push.bilivideo.com/live-bvc/?streamname=live_876453453_43765765&key=5ty4yg45y3t3tg3y64534534543t44344444&schedule=rtmp&pflag=4"
posted @ 2021-11-15 23:19  炒鸡蛋  阅读(680)  评论(0编辑  收藏  举报