<div dir="ltr">HI - all I am taking RTSP camera to hlssink and trying to get audio to work.<div><br></div><div>gst-launch-1.0 mpegtsmux name=m ! hlssink playlist-root=/ location=hlssink.camera.1636.%05d.ts target-duration=1 max-files=3 playlist-length=2 playlist-location=playlist.camera.1636.m3u8 rtspsrc latency=0 location=rtsp://<a href="http://192.168.2.5">192.168.2.5</a> name=d d. ! rtph264depay ! h264parse config-interval=-1 ! queue ! m. d. ! rtpmp4gdepay ! aacparse ! avdec_aac ! audioconvert ! audioresample ! audiorate ! avenc_aac bitrate=96000 compliance=-2 ! aacparse ! queue ! m.<br></div><div><br></div><div>This "sort" or works. I get video. Just no audio.</div><div>Below is some of the data. Not sure what the error is on libva() - that may be the whole issue.</div><div><br></div><div>also there is about a 3 second latency - any way to reduce that ??/</div><div><br></div><div>gst-inspect-1.0 | grep aac<br>libav:  avmux_adts: libav ADTS AAC (Advanced Audio Coding) muxer (not recommended, use aacparse instead)<br>libav:  avdec_aac_latm: libav AAC LATM (Advanced Audio Coding LATM syntax) decoder<br>libav:  avdec_aac_fixed: libav AAC (Advanced Audio Coding) decoder<br>libav:  avdec_aac: libav AAC (Advanced Audio Coding) decoder<br>libav:  avenc_aac: libav AAC (Advanced Audio Coding) encoder<br>fluaacdec:  fluaacdec: Fluendo AAC Decoder (HE enabled, stereo downmix)<br>voaacenc:  voaacenc: AAC audio encoder<br>typefindfunctions: audio/aac: aac, adts, adif, loas<br>audioparsers:  aacparse: AAC audio stream parser<br></div><div><br></div><div>jerry</div><div><br></div><div>libva error: va_getDriverName() failed with unknown libva error,driver_name=(null)<br>Setting pipeline to PAUSED ...<br>Pipeline is live and does not need PREROLL ...<br>Progress: (open) Opening Stream<br>Progress: (connect) Connecting to rtsp://<a href="http://192.168.2.5">192.168.2.5</a><br>Progress: (open) Retrieving server options<br>Progress: (open) Retrieving media info<br>Progress: (request) SETUP stream 0<br>/GstPipeline:pipeline0/GstRTSPSrc:d/GstRtpBin:manager: latency = 0<br>/GstPipeline:pipeline0/GstRTSPSrc:d/GstRtpBin:manager: ntp-sync = false<br>/GstPipeline:pipeline0/GstRTSPSrc:d/GstRtpBin:manager: rfc7273-sync = false<br>/GstPipeline:pipeline0/GstRTSPSrc:d/GstRtpBin:manager: ntp-time-source = NTP time based on realtime clock<br>/GstPipeline:pipeline0/GstRTSPSrc:d/GstRtpBin:manager: drop-on-latency = false<br>/GstPipeline:pipeline0/GstRTSPSrc:d/GstRtpBin:manager: max-rtcp-rtp-time-diff = 1000<br>/GstPipeline:pipeline0/GstRTSPSrc:d/GstRtpBin:manager: buffer-mode = Slave receiver to sender clock<br>/GstPipeline:pipeline0/GstRTSPSrc:d/GstUDPSrc:udpsrc0: timeout = 5000000000<br>/GstPipeline:pipeline0/GstRTSPSrc:d/GstUDPSrc:udpsrc0: caps = application/x-rtp, media=(string)video, payload=(int)96, clock-rate=(int)90000, encoding-name=(string)H264, packetization-mode=(string)1, sprop-parameter-sets=(string)"J2QAH6xWwFAFumoCAgIE\,KO48sA\=\=", profile-level-id=(string)64001F, ssrc=(uint)3065589820<br>/GstPipeline:pipeline0/GstRTSPSrc:d/GstUDPSrc:udpsrc1: caps = application/x-rtcp<br>Progress: (request) SETUP stream 1<br>/GstPipeline:pipeline0/GstRTSPSrc:d/GstUDPSrc:udpsrc2: timeout = 5000000000<br>/GstPipeline:pipeline0/GstRTSPSrc:d/GstUDPSrc:udpsrc2: caps = application/x-rtp, media=(string)audio, payload=(int)97, clock-rate=(int)44100, encoding-name=(string)MPEG4-GENERIC, encoding-params=(string)1, profile-level-id=(string)41, streamtype=(string)5, mode=(string)AAC-hbr, objecttype=(string)64, constantduration=(string)1024, sizelength=(string)13, indexlength=(string)3, indexdeltalength=(string)3, config=(string)12100000000000000000000000000000, ssrc=(uint)4000664930<br>/GstPipeline:pipeline0/GstRTSPSrc:d/GstUDPSrc:udpsrc3: caps = application/x-rtcp<br>Progress: (open) Opened Stream<br>Setting pipeline to PLAYING ...<br>New clock: GstSystemClock<br>/GstPipeline:pipeline0/GstRTSPSrc:d/GstRtpBin:manager: buffer-mode = Slave receiver to sender clock<br>Progress: (request) Sending PLAY request<br>Progress: (request) Sending PLAY request<br>/GstPipeline:pipeline0/GstRTSPSrc:d/GstUDPSrc:udpsrc0: caps = application/x-rtp, media=(string)video, payload=(int)96, clock-rate=(int)90000, encoding-name=(string)H264, packetization-mode=(string)1, sprop-parameter-sets=(string)"J2QAH6xWwFAFumoCAgIE\,KO48sA\=\=", profile-level-id=(string)64001F, ssrc=(uint)3065589820, npt-start=(guint64)0, play-speed=(double)1, play-scale=(double)1<br>/GstPipeline:pipeline0/GstRTSPSrc:d/GstUDPSrc:udpsrc2: caps = application/x-rtp, media=(string)audio, payload=(int)97, clock-rate=(int)44100, encoding-name=(string)MPEG4-GENERIC, encoding-params=(string)1, profile-level-id=(string)41, streamtype=(string)5, mode=(string)AAC-hbr, objecttype=(string)64, constantduration=(string)1024, sizelength=(string)13, indexlength=(string)3, indexdeltalength=(string)3, config=(string)12100000000000000000000000000000, ssrc=(uint)4000664930, npt-start=(guint64)0, play-speed=(double)1, play-scale=(double)1<br>/GstPipeline:pipeline0/GstRTSPSrc:d/GstUDPSrc:udpsrc0.GstPad:src: caps = application/x-rtp, media=(string)video, payload=(int)96, clock-rate=(int)90000, encoding-name=(string)H264, packetization-mode=(string)1, sprop-parameter-sets=(string)"J2QAH6xWwFAFumoCAgIE\,KO48sA\=\=", profile-level-id=(string)64001F, ssrc=(uint)3065589820, npt-start=(guint64)0, play-speed=(double)1, play-scale=(double)1<br>/GstPipeline:pipeline0/GstRTSPSrc:d/GstRtpBin:manager.GstGhostPad:recv_rtp_sink_0.GstProxyPad:proxypad1: caps = application/x-rtp, media=(string)video, payload=(int)96, clock-rate=(int)90000, encoding-name=(string)H264, packetization-mode=(string)1, sprop-parameter-sets=(string)"J2QAH6xWwFAFumoCAgIE\,KO48sA\=\=", profile-level-id=(string)64001F, ssrc=(uint)3065589820, npt-start=(guint64)0, play-speed=(double)1, play-scale=(double)1<br>/GstPipeline:pipeline0/GstRTSPSrc:d/GstUDPSrc:udpsrc1.GstPad:src: caps = application/x-rtcp<br>/GstPipeline:pipeline0/GstRTSPSrc:d/GstRtpBin:manager/GstFunnel:funnel0.GstFunnelPad:funnelpad0: caps = application/x-rtp, media=(string)video, payload=(int)96, clock-rate=(int)90000, encoding-name=(string)H264, packetization-mode=(string)1, sprop-parameter-sets=(string)"J2QAH6xWwFAFumoCAgIE\,KO48sA\=\=", profile-level-id=(string)64001F, ssrc=(uint)3065589820, npt-start=(guint64)0, play-speed=(double)1, play-scale=(double)1<br>/GstPipeline:pipeline0/GstRTSPSrc:d/GstRtpBin:manager.GstGhostPad:recv_rtp_sink_0: caps = application/x-rtp, media=(string)video, payload=(int)96, clock-rate=(int)90000, encoding-name=(string)H264, packetization-mode=(string)1, sprop-parameter-sets=(string)"J2QAH6xWwFAFumoCAgIE\,KO48sA\=\=", profile-level-id=(string)64001F, ssrc=(uint)3065589820, npt-start=(guint64)0, play-speed=(double)1, play-scale=(double)1<br>/GstPipeline:pipeline0/GstRTSPSrc:d/GstRtpBin:manager.GstGhostPad:recv_rtp_sink_0: caps = application/x-rtp, media=(string)video, payload=(int)96, clock-rate=(int)90000, encoding-name=(string)H264, packetization-mode=(string)1, sprop-parameter-sets=(string)"J2QAH6xWwFAFumoCAgIE\,KO48sA\=\=", profile-level-id=(string)64001F, ssrc=(uint)3065589820, npt-start=(guint64)0, play-speed=(double)1, play-scale=(double)1<br>/GstPipeline:pipeline0/GstRTSPSrc:d/GstRtpBin:manager/GstFunnel:funnel1.GstFunnelPad:funnelpad1: caps = application/x-rtcp<br>/GstPipeline:pipeline0/GstRTSPSrc:d/GstRtpBin:manager.GstGhostPad:recv_rtcp_sink_0: caps = application/x-rtcp<br>Progress: (request) Sent PLAY request<br>/GstPipeline:pipeline0/GstRTSPSrc:d/GstUDPSrc:udpsrc2.GstPad:src: caps = application/x-rtp, media=(string)audio, payload=(int)97, clock-rate=(int)44100, encoding-name=(string)MPEG4-GENERIC, encoding-params=(string)1, profile-level-id=(string)41, streamtype=(string)5, mode=(string)AAC-hbr, objecttype=(string)64, constantduration=(string)1024, sizelength=(string)13, indexlength=(string)3, indexdeltalength=(string)3, config=(string)12100000000000000000000000000000, ssrc=(uint)4000664930, npt-start=(guint64)0, play-speed=(double)1, play-scale=(double)1<br>/GstPipeline:pipeline0/GstRTSPSrc:d/GstRtpBin:manager.GstGhostPad:recv_rtp_sink_1.GstProxyPad:proxypad4: caps = application/x-rtp, media=(string)audio, payload=(int)97, clock-rate=(int)44100, encoding-name=(string)MPEG4-GENERIC, encoding-params=(string)1, profile-level-id=(string)41, streamtype=(string)5, mode=(string)AAC-hbr, objecttype=(string)64, constantduration=(string)1024, sizelength=(string)13, indexlength=(string)3, indexdeltalength=(string)3, config=(string)12100000000000000000000000000000, ssrc=(uint)4000664930, npt-start=(guint64)0, play-speed=(double)1, play-scale=(double)1<br>/GstPipeline:pipeline0/GstRTSPSrc:d/GstUDPSrc:udpsrc3.GstPad:src: caps = application/x-rtcp<br>/GstPipeline:pipeline0/GstRTSPSrc:d/GstRtpBin:manager/GstFunnel:funnel2.GstFunnelPad:funnelpad2: caps = application/x-rtp, media=(string)audio, payload=(int)97, clock-rate=(int)44100, encoding-name=(string)MPEG4-GENERIC, encoding-params=(string)1, profile-level-id=(string)41, streamtype=(string)5, mode=(string)AAC-hbr, objecttype=(string)64, constantduration=(string)1024, sizelength=(string)13, indexlength=(string)3, indexdeltalength=(string)3, config=(string)12100000000000000000000000000000, ssrc=(uint)4000664930, npt-start=(guint64)0, play-speed=(double)1, play-scale=(double)1<br>/GstPipeline:pipeline0/GstRTSPSrc:d/GstRtpBin:manager.GstGhostPad:recv_rtp_sink_1: caps = application/x-rtp, media=(string)audio, payload=(int)97, clock-rate=(int)44100, encoding-name=(string)MPEG4-GENERIC, encoding-params=(string)1, profile-level-id=(string)41, streamtype=(string)5, mode=(string)AAC-hbr, objecttype=(string)64, constantduration=(string)1024, sizelength=(string)13, indexlength=(string)3, indexdeltalength=(string)3, config=(string)12100000000000000000000000000000, ssrc=(uint)4000664930, npt-start=(guint64)0, play-speed=(double)1, play-scale=(double)1<br>/GstPipeline:pipeline0/GstRTSPSrc:d/GstRtpBin:manager.GstGhostPad:recv_rtcp_sink_1.GstProxyPad:proxypad5: caps = application/x-rtcp<br>/GstPipeline:pipeline0/GstRTSPSrc:d/GstRtpBin:manager/GstFunnel:funnel3.GstFunnelPad:funnelpad3: caps = application/x-rtcp<br>/GstPipeline:pipeline0/GstRTSPSrc:d/GstRtpBin:manager.GstGhostPad:recv_rtcp_sink_1: caps = application/x-rtcp<br>/GstPipeline:pipeline0/GstRTSPSrc:d/GstUDPSrc:udpsrc0: timeout = 0<br>/GstPipeline:pipeline0/GstRTSPSrc:d/GstUDPSrc:udpsrc2: timeout = 0<br>/GstPipeline:pipeline0/GstRTSPSrc:d/GstRtpBin:manager/GstFunnel:funnel0.GstPad:src: caps = application/x-rtp, media=(string)video, payload=(int)96, clock-rate=(int)90000, encoding-name=(string)H264, packetization-mode=(string)1, sprop-parameter-sets=(string)"J2QAH6xWwFAFumoCAgIE\,KO48sA\=\=", profile-level-id=(string)64001F, ssrc=(uint)3065589820, npt-start=(guint64)0, play-speed=(double)1, play-scale=(double)1<br>/GstPipeline:pipeline0/GstRTSPSrc:d/GstRtpBin:manager/GstRtpSession:rtpsession0.GstPad:recv_rtp_src: caps = application/x-rtp, media=(string)video, payload=(int)96, clock-rate=(int)90000, encoding-name=(string)H264, packetization-mode=(string)1, sprop-parameter-sets=(string)"J2QAH6xWwFAFumoCAgIE\,KO48sA\=\=", profile-level-id=(string)64001F, ssrc=(uint)3065589820, npt-start=(guint64)0, play-speed=(double)1, play-scale=(double)1<br>/GstPipeline:pipeline0/GstRTSPSrc:d/GstRtpBin:manager/GstRtpSsrcDemux:rtpssrcdemux0.GstPad:sink: caps = application/x-rtp, media=(string)video, payload=(int)96, clock-rate=(int)90000, encoding-name=(string)H264, packetization-mode=(string)1, sprop-parameter-sets=(string)"J2QAH6xWwFAFumoCAgIE\,KO48sA\=\=", profile-level-id=(string)64001F, ssrc=(uint)3065589820, npt-start=(guint64)0, play-speed=(double)1, play-scale=(double)1<br>/GstPipeline:pipeline0/GstRTSPSrc:d/GstRtpBin:manager/GstRtpSession:rtpsession0.GstPad:recv_rtp_sink: caps = application/x-rtp, media=(string)video, payload=(int)96, clock-rate=(int)90000, encoding-name=(string)H264, packetization-mode=(string)1, sprop-parameter-sets=(string)"J2QAH6xWwFAFumoCAgIE\,KO48sA\=\=", profile-level-id=(string)64001F, ssrc=(uint)3065589820, npt-start=(guint64)0, play-speed=(double)1, play-scale=(double)1<br>/GstPipeline:pipeline0/GstRTSPSrc:d/GstRtpBin:manager/GstRtpJitterBuffer:rtpjitterbuffer0.GstPad:sink: caps = application/x-rtp, media=(string)video, payload=(int)96, clock-rate=(int)90000, encoding-name=(string)H264, packetization-mode=(string)1, sprop-parameter-sets=(string)"J2QAH6xWwFAFumoCAgIE\,KO48sA\=\=", profile-level-id=(string)64001F, ssrc=(uint)3065589820, npt-start=(guint64)0, play-speed=(double)1, play-scale=(double)1<br>/GstPipeline:pipeline0/GstRTSPSrc:d/GstRtpBin:manager/GstRtpJitterBuffer:rtpjitterbuffer0.GstPad:sink: caps = application/x-rtp, media=(string)video, payload=(int)96, clock-rate=(int)90000, encoding-name=(string)H264, packetization-mode=(string)1, sprop-parameter-sets=(string)"J2QAH6xWwFAFumoCAgIE\,KO48sA\=\=", profile-level-id=(string)64001F, ssrc=(uint)3065589820, npt-start=(guint64)0, play-speed=(double)1, play-scale=(double)1<br>/GstPipeline:pipeline0/GstRTSPSrc:d/GstRtpBin:manager/GstRtpPtDemux:rtpptdemux0.GstPad:sink: caps = application/x-rtp, media=(string)video, payload=(int)96, clock-rate=(int)90000, encoding-name=(string)H264, packetization-mode=(string)1, sprop-parameter-sets=(string)"J2QAH6xWwFAFumoCAgIE\,KO48sA\=\=", profile-level-id=(string)64001F, ssrc=(uint)3065589820, npt-start=(guint64)0, play-speed=(double)1, play-scale=(double)1<br>/GstPipeline:pipeline0/GstRtpH264Depay:rtph264depay0.GstPad:src: caps = video/x-h264, stream-format=(string)avc, alignment=(string)au, codec_data=(buffer)0164001fffe1000f2764001fac56c05005ba6a0202020401000428ee3cb0, level=(string)3.1, profile=(string)high<br>/GstPipeline:pipeline0/GstH264Parse:h264parse0.GstPad:sink: caps = video/x-h264, stream-format=(string)avc, alignment=(string)au, codec_data=(buffer)0164001fffe1000f2764001fac56c05005ba6a0202020401000428ee3cb0, level=(string)3.1, profile=(string)high<br>/GstPipeline:pipeline0/GstRtpH264Depay:rtph264depay0.GstPad:sink: caps = application/x-rtp, media=(string)video, payload=(int)96, clock-rate=(int)90000, encoding-name=(string)H264, packetization-mode=(string)1, sprop-parameter-sets=(string)"J2QAH6xWwFAFumoCAgIE\,KO48sA\=\=", profile-level-id=(string)64001F, ssrc=(uint)3065589820, npt-start=(guint64)0, play-speed=(double)1, play-scale=(double)1<br>/GstPipeline:pipeline0/GstRTSPSrc:d.GstGhostPad:recv_rtp_src_0_3065589820_96.GstProxyPad:proxypad8: caps = application/x-rtp, media=(string)video, payload=(int)96, clock-rate=(int)90000, encoding-name=(string)H264, packetization-mode=(string)1, sprop-parameter-sets=(string)"J2QAH6xWwFAFumoCAgIE\,KO48sA\=\=", profile-level-id=(string)64001F, ssrc=(uint)3065589820, npt-start=(guint64)0, play-speed=(double)1, play-scale=(double)1<br>/GstPipeline:pipeline0/GstRTSPSrc:d/GstRtpBin:manager.GstGhostPad:recv_rtp_src_0_3065589820_96.GstProxyPad:proxypad7: caps = application/x-rtp, media=(string)video, payload=(int)96, clock-rate=(int)90000, encoding-name=(string)H264, packetization-mode=(string)1, sprop-parameter-sets=(string)"J2QAH6xWwFAFumoCAgIE\,KO48sA\=\=", profile-level-id=(string)64001F, ssrc=(uint)3065589820, npt-start=(guint64)0, play-speed=(double)1, play-scale=(double)1<br>/GstPipeline:pipeline0/GstH264Parse:h264parse0.GstPad:src: caps = video/x-h264, stream-format=(string)byte-stream, alignment=(string)au, level=(string)3.1, profile=(string)high, width=(int)1280, height=(int)720, framerate=(fraction)0/1, interlace-mode=(string)progressive, parsed=(boolean)true<br>/GstPipeline:pipeline0/GstQueue:queue0.GstPad:sink: caps = video/x-h264, stream-format=(string)byte-stream, alignment=(string)au, level=(string)3.1, profile=(string)high, width=(int)1280, height=(int)720, framerate=(fraction)0/1, interlace-mode=(string)progressive, parsed=(boolean)true<br>/GstPipeline:pipeline0/GstQueue:queue0.GstPad:src: caps = video/x-h264, stream-format=(string)byte-stream, alignment=(string)au, level=(string)3.1, profile=(string)high, width=(int)1280, height=(int)720, framerate=(fraction)0/1, interlace-mode=(string)progressive, parsed=(boolean)true<br></div></div>