So, I have a custom pipeline, and it works with a filesource, but I’m attempting to use a rtspsrc and something is blocking my pipeline. End of log here:
...
DEBUG:mce.pipeline:recv_rtp_src_0_2155678358_96 CAPS: application/x-rtp, media=(string)audio, payload=(int)96, clock-rate=(int)48000, encoding-name=(string)MPEG4-GENERIC, encoding-params=(string)1, streamtype=(string)5, profile-level-id=(string)15, mode=(string)AAC-hbr, config=(string)1188, sizelength=(string)13, indexlength=(string)3, indexdeltalength=(string)3, a-recvonly=(string)"", ssrc=(uint)2155678358, clock-base=(uint)0, seqnum-base=(uint)16041, npt-start=(guint64)0, play-speed=(double)1, play-scale=(double)1
DEBUG:mce.bus:rtpjitterbuffer0:state-change:GST_STATE_READY->GST_STATE_PAUSED
DEBUG:mce.pipeline:recv_rtp_src_0_2155678358_96 is an audio pad. skipping link...
DEBUG:mce.bus:rtpjitterbuffer0:state-change:GST_STATE_PAUSED->GST_STATE_PLAYING
DEBUG:mce.bus:rtpjitterbuffer0:status:GST_STREAM_STATUS_TYPE_ENTER
DEBUG:mce.bus:rtpptdemux1:state-change:GST_STATE_NULL->GST_STATE_READY
DEBUG:mce.bus:rtpptdemux1:state-change:GST_STATE_READY->GST_STATE_PAUSED
DEBUG:mce.bus:rtpptdemux1:state-change:GST_STATE_PAUSED->GST_STATE_PLAYING
DEBUG:mce.bus:rtpjitterbuffer1:state-change:GST_STATE_NULL->GST_STATE_READY
DEBUG:mce.bus:rtpjitterbuffer1:status:GST_STREAM_STATUS_TYPE_CREATE
DEBUG:mce.pipeline:new pad added to rtsp_source_0: recv_rtp_src_1_2155678359_97
DEBUG:mce.pipeline:recv_rtp_src_1_2155678359_97 CAPS: application/x-rtp, media=(string)video, payload=(int)97, clock-rate=(int)90000, encoding-name=(string)H264, profile-level-id=(string)4d0029, packetization-mode=(string)1, sprop-parameter-sets=(string)"Z00AKZpkA8ARPy4C3AQEBQAAAwPoAAB1MJQ\=\,aO48gA\=\=", a-recvonly=(string)"", ssrc=(uint)2155678359, clock-base=(uint)0, seqnum-base=(uint)25559, npt-start=(guint64)0, play-speed=(double)1, play-scale=(double)1
DEBUG:mce.bus:rtpjitterbuffer1:state-change:GST_STATE_READY->GST_STATE_PAUSED
DEBUG:mce.pipeline:getting sink pad from rtsp_depay_0
DEBUG:mce.bus:rtpjitterbuffer1:state-change:GST_STATE_PAUSED->GST_STATE_PLAYING
DEBUG:mce.bus:rtpjitterbuffer1:status:GST_STREAM_STATUS_TYPE_ENTER
DEBUG:mce.pipeline:linking pad recv_rtp_src_1_2155678359_97 to pad sink
DEBUG:mce.pipeline:pad link between recv_rtp_src_1_2155678359_97 and sink OK
DEBUG:mce.bus:mce+pipeline+autosourceapp0:stream-start
NvMMLiteOpen : Block : BlockType = 261
NVMEDIA: Reading vendor.tegra.display-size : status: 6
NvMMLiteBlockCreate : Block : BlockType = 261
<b>(hangs here, always after stream-start)</b>
I have a pad-added handler that connects my rtspsrc bin to the rest of the pipeline elements, and the pipeline is set to the playing state, as you can see from the log, but nothing seems to be happening. Is there any place the BlockType is defined so I can have some clue what’s going on? I’ve done a fgrep -r of all sources I could find unsucessfully.
Edit: attached is a pdf overview of the pipeline.