<html>
<head>
<meta http-equiv="Content-Type" content="text/html; charset=iso-8859-1">
<style type="text/css" style="display:none;"> P {margin-top:0;margin-bottom:0;} </style>
</head>
<body dir="ltr">
<div style="font-family: Calibri, Helvetica, sans-serif; font-size: 12pt; color: rgb(0, 0, 0);">
Hi</div>
<div style="font-family: Calibri, Helvetica, sans-serif; font-size: 12pt; color: rgb(0, 0, 0);">
<br>
</div>
<div style="font-family: Calibri, Helvetica, sans-serif; font-size: 12pt; color: rgb(0, 0, 0);">
DESCRIPTION</div>
<div style="font-family: Calibri, Helvetica, sans-serif; font-size: 12pt; color: rgb(0, 0, 0);">
I have some problems with using onvif timestamp "<span style="background-color:rgb(255, 255, 255);display:inline !important">rtponviftimestamp" plugin. The plugin is use to extend the rtp packets with NTP time. I have added in for noth the payload 96 and 97.
The src, udpsrc recieve its buffer from udpsink in another thread, which carry MPEG-TS-stream </span></div>
<div style="font-family: Calibri, Helvetica, sans-serif; font-size: 12pt; color: rgb(0, 0, 0);">
<br>
</div>
<div style="font-family: Calibri, Helvetica, sans-serif; font-size: 12pt; color: rgb(0, 0, 0);">
My pipeline with rtponviftimestamp. I am using gstreamer 1.14</div>
<div style="font-family: Calibri, Helvetica, sans-serif; font-size: 12pt; color: rgb(0, 0, 0);">
<br>
</div>
<div style="font-family: Calibri, Helvetica, sans-serif; font-size: 12pt; color: rgb(0, 0, 0);">
gchar *pipeline =
<div> g_strdup_printf ("( udpsrc port=2346 name=src0 "</div>
<div> "! queue ! rtpmp2tdepay ! video/mpegts, systemstream=true, packetsize=188 ! aiurdemux name=d "</div>
<div> " d.video_0 ! queue ! h264parse name=video ! rtph264pay config-interval=1 name=pay0 pt=96 ! rtponviftimestamp name=tsv "</div>
<div> " d.audio_0 ! queue ! aacparse name=audio ! rtpmp4gpay name=pay1 pt=97 ! rtponviftimestamp name=tsa )",</div>
<div> 8554);</div>
<div><br>
</div>
<div>PROBLEM</div>
<div>When i tried to replay, the following error occurs</div>
<div><br>
</div>
<div>
<div>(VideoServerTest2:3782): GStreamer-CRITICAL **: gst_ghost_pad_new: assertion '!gst_pad_is_linked (target)' failed</div>
<div><br>
</div>
<div>(VideoServerTest2:3782): GStreamer-CRITICAL **: gst_pad_set_active: assertion 'GST_IS_PAD (pad)' failed</div>
<div><br>
</div>
<div>(VideoServerTest2:3782): GStreamer-CRITICAL **: gst_element_add_pad: assertion 'GST_IS_PAD (pad)' failed</div>
<div><br>
</div>
<div>** (VideoServerTest2:3782): CRITICAL **: gst_rtsp_stream_new: assertion 'GST_IS_PAD (pad)' failed</div>
<div><br>
</div>
<div>** (VideoServerTest2:3782): CRITICAL **: gst_rtsp_stream_set_multicast_iface: assertion 'GST_IS_RTSP_STREAM (stream)' failed</div>
<div><br>
</div>
<div>** (VideoServerTest2:3782): CRITICAL **: gst_rtsp_stream_set_profiles: assertion 'GST_IS_RTSP_STREAM (stream)' failed</div>
<div><br>
</div>
<div>** (VideoServerTest2:3782): CRITICAL **: gst_rtsp_stream_set_protocols: assertion 'GST_IS_RTSP_STREAM (stream)' failed</div>
Segmentation fault (core dumped)<br>
</div>
<div><br>
</div>
<div>EFFORT</div>
<div><br>
</div>
<div>I tried to trace the error and the problem seem to be with gst-rtsp-media.c "<span style="font-size: 11pt; background-color: rgb(238, 238, 238);">gst_rtsp_media_collect_stream"</span><br>
function which in terms call the "<span style="font-size:14.6667px;background-color:rgb(238, 238, 238);display:inline !important">gst_rtsp_media_create_stream" which tried to create ghost pad to link the payload to stream.</span></div>
<div><span style="font-size:14.6667px;background-color:rgb(238, 238, 238);display:inline !important"><br>
</span></div>
<div><span style="font-size:14.6667px;background-color:rgb(238, 238, 238);display:inline !important">When I tried to remove the rtponviftimestamp from the pipeline, the pipeline seems to be working fine</span></div>
<div><span style="font-size:14.6667px;background-color:rgb(238, 238, 238);display:inline !important"><br>
</span></div>
<div><span style="font-size:14.6667px;background-color:rgb(238, 238, 238);display:inline !important">Queries</span></div>
<div>
<ol>
<li><span><span style="font-size:14.6667px;background-color:rgb(238, 238, 238);display:inline !important"></span>Is this the correct way to use rtponviftimestamp? </span></li><li><span>Is it a must to extend rtp packets in onvif specification. Have tried with some player. Seem like extending the rtp packets is not a must?</span></li><li>Is there another way to carry audio and video together in stream. Thought of doing so to enable audio and video to be in sync with one another at the source end</li></ol>
<div>Thanks</div>
</div>
<div><br>
</div>
<div>Regards</div>
<div><span style="font-size:14.6667px;background-color:rgb(238, 238, 238);display:inline !important"><br>
</span></div>
</div>
</body>
</html>