我正在使用NginX服务器获取rtmp流,我想将其发送到正在等待udp流的Cisco DCM。我试图在我的NginX服务器中使用ffmpeg,但是流似乎没有携带任何东西……
下面是我的NginX/rtmp模块配置:
rtmp {
server {
listen 1935;
chunk_size 4096;
application live {
live on;
record off;
allow publish 127.0.0.1;
allow publish @ip_stream_souce;
deny publish all;
#Captation flux
exec_static ffmpeg -i rtmp://127.0.0.1:1935/live/stream_name -c copy -f mpegts udp://239.0.0.12:1234;
}
}发布于 2020-06-16 13:17:09
已解决尝试以下命令
exec ffmpeg -i rtmp://localhost:1935/live/stream-name -codec copy -bsf:v h264_mp4toannexb -f mpegts udp://127.0.0.1:2555;https://stackoverflow.com/questions/60549697
复制相似问题