rtsp timing problem & rtsp bus
desjare
eric.desjardins at redpillvr.com
Thu May 7 12:37:56 UTC 2020
Hi,
Is there a way to get the bus and messages out of rtsp-server library. The
media seems to take command.
and...
I do not know how to get rtp timing right on my rtsp project. The gst-play
command assert on the following stack.
Currently, the rtspclient sink I use to timestamp but I am feeding the data
to an appsrc. I am not sure where I should put the timing.
(gst-launch-1.0:26787): GStreamer-CRITICAL **: 14:59:52.339:
_gst_util_uint64_scale_int: assertion 'num >= 0' failed
/GstPipeline:pipeline0/GstRTSPSrc:rtspsrc0/GstRtpBin:manager.GstGhostPad:recv_rtp_sink_0:
caps = application/x-rtp, media=(string)audio, payload=(int)97,
clock-rate=(int)-12318338, encoding-name=(string)VORBIS,
a-tool=(string)GStreamer, a-type=(string)broadcast,
a-ts-refclk=(string)local, a-mediaclk=(string)sender, ssrc=(uint)337846580,
clock-base=(uint)2572212056, seqnum-base=(uint)12150, npt-start=(guint64)0,
play-speed=(double)1, play-scale=(double)1
0:00:00.894271400 26787 0x81d5580 INFO GST_PADS
gstpad.c:6159:gst_pad_start_task:<udpsrc1:src> created task 0x81c2950
Thread 13 "udpsrc0:src" received signal SIGTRAP, Trace/breakpoint trap.
[Switching to Thread 0x7ffff57a0700 (LWP 26803)]
0x00007fffff5180d5 in ?? () from /lib/x86_64-linux-gnu/libglib-2.0.so.0
(gdb) up
#1 0x00007fffff5193b9 in g_logv () from
/lib/x86_64-linux-gnu/libglib-2.0.so.0
(gdb) where
#0 0x00007fffff5180d5 in () at /lib/x86_64-linux-gnu/libglib-2.0.so.0
#1 0x00007fffff5193b9 in g_logv () at
/lib/x86_64-linux-gnu/libglib-2.0.so.0
#2 0x00007fffff519583 in g_log () at /lib/x86_64-linux-gnu/libglib-2.0.so.0
#3 0x00007fffff70b59a in _gst_util_uint64_scale_int (val=<optimized out>,
num=<optimized out>, denom=<optimized out>, correct=<optimized out>) at
gstutils.c:681
#4 _gst_util_uint64_scale_int (val=<optimized out>, num=<optimized out>,
denom=<optimized out>, correct=<optimized out>) at gstutils.c:678
#5 0x00007ffffc4800b0 in calculate_jitter (pinfo=0x7ffff579f910,
src=0x7fffd401c0e0) at rtpsource.c:978
#6 rtp_source_process_rtp (src=src at entry=0x7fffd401c0e0,
pinfo=pinfo at entry=0x7ffff579f910) at rtpsource.c:1249
#7 0x00007ffffc479d00 in rtp_session_process_rtp (sess=0x7ffff0040260,
buffer=buffer at entry=0x7fffdc006360, current_time=<optimized out>,
running_time=<optimized out>, ntpnstime=<optimized out>) at
rtpsession.c:2247
#8 0x00007ffffc48687e in gst_rtp_session_chain_recv_rtp (pad=<optimized
out>, parent=0x7ffff003a110 [GstObject|rtpsession0], buffer=0x7fffdc006360)
at gstrtpsession.c:1964
#9 0x00007fffff6caeff in gst_pad_chain_data_unchecked
(pad=pad at entry=0x7ffff0046360 [GstPad|recv_rtp_sink], type=type at entry=4112,
data=data at entry=0x7fffdc006360) at gstpad.c:4327
#10 0x00007fffff6ccf61 in gst_pad_push_data (pad=pad at entry=0x81ca9f0
[GstPad|proxypad1], type=type at entry=4112, data=data at entry=0x7fffdc006360) at
gstpad.c:4583
#11 0x00007fffff6d3d73 in gst_pad_push (pad=pad at entry=0x81ca9f0
[GstPad|proxypad1], buffer=buffer at entry=0x7fffdc006360) at gstpad.c:4702
#12 0x00007fffff6b9c9b in gst_proxy_pad_chain_default (pad=<optimized out>,
parent=<optimized out>, buffer=0x7fffdc006360) at gstghostpad.c:127
#13 0x00007fffff6caeff in gst_pad_chain_data_unchecked
(pad=pad at entry=0x81c8bc0 [GstPad|recv_rtp_sink_0], type=type at entry=4112,
data=data at entry=0x7fffdc006360) at gstpad.c:4327
#14 0x00007fffff6ccf61 in gst_pad_push_data (pad=pad at entry=0x81c1380
[GstPad|src], type=type at entry=4112, data=data at entry=0x7fffdc006360) at
gstpad.c:4583
#15 0x00007fffff6d3d73 in gst_pad_push (pad=pad at entry=0x81c1380
[GstPad|src], buffer=0x7fffdc006360) at gstpad.c:4702
#16 0x00007ffffe0e1f95 in gst_base_src_loop (pad=0x81c1380 [GstPad|src]) at
gstbasesrc.c:2974
#17 0x00007fffff702107 in gst_task_func (task=0x81c2830
[GstTask|udpsrc0:src]) at gsttask.c:328
#18 0x00007fffff53c1d4 in () at /lib/x86_64-linux-gnu/libglib-2.0.so.0
#19 0x00007fffff53b931 in () at /lib/x86_64-linux-gnu/libglib-2.0.so.0
#20 0x00007fffff4a6609 in start_thread (arg=<optimized out>) at
pthread_create.c:477
#21 0x00007fffff3c2103 in clone () at
../sysdeps/unix/sysv/linux/x86_64/clone.S:95
(gdb) up
#2 0x00007fffff519583 in g_log () from
/lib/x86_64-linux-gnu/libglib-2.0.so.0
Thanks!
Eric
--
Sent from: http://gstreamer-devel.966125.n4.nabble.com/
More information about the gstreamer-devel
mailing list