ffmpeg socks4 proxy parameter with rtmp

你说的曾经没有我的故事 提交于 2019-12-12 10:22:00

问题


I am unable to capture some livestreams because of the proxy issues. So in rtmpdump i can use:

rtmpdump -v -r rtmp://a_rtmp_address -p http://a_http_address -S 85.185.244.101:1080 -B 10 -o aaa.flv

But I need to use ffmpeg or avconv. But I can not find a parameter corresponds to that -S 85.185.244.101:1080 parameter.

Can anyone please give me an ffmpeg command corresponding to this rtmpdump command.


回答1:


You should place socks option in quotes with rtmp:// address. Options must be in the form KEY=VALUE after rtmp://. Like this:

ffmpeg ... -f flv "rtmp://a_rtmp_address socks=85.185.244.101:1080"


来源:https://stackoverflow.com/questions/22098045/ffmpeg-socks4-proxy-parameter-with-rtmp

易学教程内所有资源均来自网络或用户发布的内容,如有违反法律规定的内容欢迎反馈
该文章没有解决你所遇到的问题?点击提问,说说你的问题,让更多的人一起探讨吧!