【问题标题】:How to mux two x-rtp streams using gstreamer?如何使用 gstreamer 复用两个 x-rtp 流?
【发布时间】:2020-09-30 18:16:44
【问题描述】:

我想使用 udpsink 通过同一端口传输音频和视频。这可能吗?

我试过这条管道:

gst-launch \

rtpmux name=mux ! udpsink clients=[client IP]:[client port] sync=false async=false -v \

videotestsrc ! ffenc_h264 ! rtph264pay ! mux.sink_0 \

audiotestsrc is-live=true ! mad ! rtpmpapay ! mux.sink_1

但它不起作用。有什么建议吗?

【问题讨论】:

    标签: udp gstreamer h.264 rtp


    【解决方案1】:

    RTPMUX 仅在两个流具有完全相同的时钟速率时才有效。 rtph264pay 传递至少90000 的时钟频率,我几乎可以保证你的音频流不匹配。

    【讨论】:

      猜你喜欢
      • 2020-10-23
      • 1970-01-01
      • 1970-01-01
      • 2012-08-11
      • 1970-01-01
      • 1970-01-01
      • 1970-01-01
      • 1970-01-01
      • 1970-01-01
      相关资源
      最近更新 更多