How can make rtpmp4gpay work with udpsink?

Psychesnet Hsieh psychesnet at gmail.com
Wed Aug 5 09:04:09 UTC 2020


Hi Tim,

Thanks.
My AAC frame is with ADTS header.
How can I set format with ADTS? Thanks.

Tim Müller <tim at centricular.com> 於 2020年8月5日 週三 下午5:01寫道:

> On Wed, 2020-08-05 at 09:36 +0800, Psychesnet Hsieh wrote:
>
> Hi,
>
> > Question:
> > 1. The server always return failure when receive packet? Why? How can
> > I fix it?
>
> It tells you right there in the log :)
>
> > 0:00:04.060492843 65130 0x5571ecf301e0 INFO               GST_EVENT
> > gstevent.c:820:gst_event_new_caps: creating caps event audio/mpeg,
> > mpegversion=(int)4, stream-format=(string)raw
> > 0:00:04.060544955 65130 0x5571ecf301e0 ERROR               aacparse
> > gstaacparse.c:354:gst_aac_parse_sink_setcaps:<aacparse0> Need
> > codec_data for raw AAC
>
> It expects a codec data field in the caps if you pass stream-
> format=raw.
>
> Alternatively you can try passing the AAC data with an ADTS header.
>
> Cheers
>  Tim
> --
> Tim Müller, Centricular Ltd - http://www.centricular.com
>
> _______________________________________________
> gstreamer-devel mailing list
> gstreamer-devel at lists.freedesktop.org
> https://lists.freedesktop.org/mailman/listinfo/gstreamer-devel
>
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <https://lists.freedesktop.org/archives/gstreamer-devel/attachments/20200805/1600f9d0/attachment.htm>


More information about the gstreamer-devel mailing list