缺少的元素:MPEG4-通用音频RTP去有效载荷Gstreamer



当我尝试使用gstreamer录制带有音频和视频的RTSP流时,出现上述错误。当仅录制视频时,它可以工作,但是当添加音频管道时,文件大小变为零并显示上述错误。还显示了进一步的以下内容

缺少的元素:MPEG4 通用音频 RTP 去有效载荷 警告:来自元素/GstPlayBin:playbin0/GstURIDecodeBin:uridecodebin0: 没有解码器可用于类型'application/x-rtp, media=(string(audio, payload=(int(96, clock-rate=(int(48000, encoding-name=(string(MPEG4-GENERIC, streamtype=(string(5, profile-level-id=(string(1, mode=(string(aac-hbr, sizelength=(string(13, indexlength=(string(3, indexdeltalength=(string(3, config=(string(1188, a-tool=(string("LIVE555\ Streaming\ Media\ v2016.01.29", a-type=(string(broadcast, x-qt-text-nam=(string("KMStreaming\ Server", x-qt-text-inf=(string(ch01, clock-base=(uint(3130203504, seqnum-base=(uint(34845, npt-start=(guint64(0, play-speed=(double(1, play-scale=(double(1, ssrc=(uint(3216157947'. 其他调试信息: gsturidecodebin.c(921(: unknown_type_cb ((:/GstPlayBin:playbin0/GstURIDecodeBin:uridecodebin0

野外有两种不同的MPEG4音频RTP格式。MP4A-LATMMPEG4-GENERIC.分别见RFC 3016RFC 3640

看起来 GStreamer 只支持MP4A-LATM.所以基本上,是的,您尝试接收的格式不受支持。

最新更新