<div dir="ltr">Hi Tim,<div><br></div><div>Thanks for prompt reply. Yes, I agree with you, receiver side should not need to specific the capsfiliter.</div><div>I will keep receiver side with "gst-launch-1.0 udpsrc port=1234 ! application/x-rtp,media=audio,clock-rate=16000,encoding-name=MPEG4-GENERIC,mode=AAC-lbr ! rtpmp4gdepay ! aacparse ! audio/mpeg,mpegversion=4,stream-format=adts ! avdec_aac ! autoaudiosink" to try.</div><div><br></div><div>On sender side, my appsrc, what should I do? or how can I do to set correct cap for rtpmp4gpay? Thanks.</div></div><br><div class="gmail_quote"><div dir="ltr" class="gmail_attr">Tim Müller <<a href="mailto:tim@centricular.com">tim@centricular.com</a>> 於 2020年8月6日 週四 下午7:35寫道:<br></div><blockquote class="gmail_quote" style="margin:0px 0px 0px 0.8ex;border-left:1px solid rgb(204,204,204);padding-left:1ex">On Thu, 2020-08-06 at 08:53 +0800, Psychesnet Hsieh wrote:<br>
<br>
Hi<br>
<br>
> Yes, I already try it before. "gst-launch-1.0 udpsrc port=1234 !<br>
> application/x-rtp,media=audio,clock-rate=16000,encoding-name=MPEG4-<br>
> GENERIC,mode=AAC-lbr ! rtpmp4gdepay ! aacparse !<br>
> audio/mpeg,mpegversion=4,stream-format=adts ! avdec_aac !<br>
> autoaudiosink"<br>
<br>
Weren't we talking about the *server* pipeline with the appsrc? I was<br>
talking about that, and I assume the log messages were in reference to<br>
that as it seems unlikely that rtpmp4gdepay is creating invalid aac<br>
caps.<br>
<br>
On the receiver side, there should be no need for a capsfilter between<br>
aacparse and avdec_aac, they should figure out the format between<br>
themselves automatically.<br>
<br>
Cheers<br>
 Tim<br>
<br>
-- <br>
Tim Müller, Centricular Ltd - <a href="http://www.centricular.com" rel="noreferrer" target="_blank">http://www.centricular.com</a><br>
<br>
_______________________________________________<br>
gstreamer-devel mailing list<br>
<a href="mailto:gstreamer-devel@lists.freedesktop.org" target="_blank">gstreamer-devel@lists.freedesktop.org</a><br>
<a href="https://lists.freedesktop.org/mailman/listinfo/gstreamer-devel" rel="noreferrer" target="_blank">https://lists.freedesktop.org/mailman/listinfo/gstreamer-devel</a><br>
</blockquote></div>