使用GStreamer转发rtmp流

使用GStreamer转发rtmp流,gstreamer,rtmp,live-streaming,Gstreamer,Rtmp,Live Streaming,如何使用GStreamer转发RTMP流。以下方法不太管用: gst-launch-1.0 rtmpsrc位置=”rtmp://localhost:1936/myapp/mystream" ! 队列rtmpsink位置=”rtmp://localhost:1935/test/live" 以下是我的看法 然后大约2分钟后: Caught SIGSEGV Spinning. Please run 'gdb gst-launch-1.0 21031' to continue debugging,

如何使用GStreamer转发RTMP流。以下方法不太管用:

gst-launch-1.0 rtmpsrc位置=”rtmp://localhost:1936/myapp/mystream" ! 队列rtmpsink位置=”rtmp://localhost:1935/test/live"

以下是我的看法

然后大约2分钟后:

Caught SIGSEGV
Spinning.  Please run 'gdb gst-launch-1.0 21031' to continue debugging, Ctrl-C to quit, or Ctrl-\ to dump core.

看起来只有在再次进行解复用和多路复用时,它才能工作:

gst-launch-1.0 rtmpsrc location=rtmp://192.168.x.x/live/0 do-timestamp=true ! queue2 ! flvdemux name=demux \
    flvmux name=mux \
    demux.video ! queue ! mux.video \
    demux.audio ! queue ! mux.audio \
    mux.src ! queue ! rtmpsink location='rtmp://192.168.y.y/app'

在这个页面上找到了它,这是一个很好的示例管道资源:

不确定该方法。。但是它在调试时会输出什么(使用GST_debug=4)?在otopolsky上添加了它们,这些不是调试日志。。像这样运行:
GST\u DEBUG=4 GST-launch-1.0….
Sorry@otopolsky将它们链接到一个粘贴箱中,因为数量太多了。到目前为止,还不能真正分析出任何问题。看起来工作正常。。那有什么问题?嗯,有一些延迟“标记未决不满”。。但这是意料之中的