今天尝试用python 写ffmpeg+rtmp 用管道来实现推流,参考了博客 https://blog.csdn.net/rainweic/article/details/94666527 但是在p.stdin.write(frame.tostring())处报错。百度无果,来贵圈求解。