我正在编写一个应用程序,它从相机中检索 rtsp 流,然后进行多播流,在某一时刻,我需要 jpeg 流,以防相机连接不成功。
我的命令行参数是:
代码:全选
string[] args = new string[] {
"-I", "dummy",
"--ignore-config",
@"--plugin-path=plugins",
"--fake-file",
"#transcode{vcodec=mp2v,vb=2000,width=800,height=600}:std{access=udp,mux=mpjpeg,dst=239.255.12.42:1234}",
};
我还尝试了其他一些想法,例如“--loop” vs. 但它不起作用,那我该怎么办?
提前致谢。