withsalt / BilibiliLiveTools

Bilibili(B站)无人值守直播工具。自动登录,自动获取直播推流地址,自动推流(使用ffmpeg),可以用于电脑、树莓派等设备无人值守直播。
MIT License
266 stars 42 forks source link

求解,一直报错,试过系统安装的ffmpeg和文件自带的ffmpeg都不行,如下 #21

Closed wqx2000 closed 1 month ago

wqx2000 commented 1 month ago

[tcp @ 0x2c29a300] Failed to resolve hostname live-push.bilivideo.com: System error [rtmp @ 0x2c239ce0] Cannot open connection tcp://live-push.bilivideo.com:1935?tcp_nodelay=0 ,说错了,是系统自带的ffmpeg和文件bin里面自带的ffmpeg的命令都可以正常运行,但是浏览器的操作的反而不可以

wqx2000 commented 1 month ago

ffmpeg -f concat -safe 0 -re -i "/home/orangepi/Videos/mylist.txt" -vcodec copy -acodec copy -f flv -y {URL} 用的这个命令

withsalt commented 1 month ago

这个怎么看起来是解析不了live-push.bilivideo.com这个域名呢

wqx2000 commented 1 month ago

😂好像是文件自带的ffmpeg不行,我用系统安装的ffmpeg替换了文件的就可以了