How to debug/fix running error when use rtph264pay?
Psychesnet Hsieh
psychesnet at gmail.com
Mon Jul 27 06:37:57 UTC 2020
Hi all,
I'm newbie on gstreamer application development, so I need some helps from
you(Masters). Thanks.
First, I'm writing appsrc testing tool which access video h264 frames from
mmap and send it out via tcpclientsink. Basically, the behavior of my
appsrc like "gst-launch-1.0 appsrc name=ringbuf ! tcpclientsink
host=192.168.143.102 port=1234".
At server part, I run command on my ubuntu PC, "gst-lanuch-1.0 tcpserversrc
host=192.168.143.102 port=7001 ! h264parse ! avdec_h264 ! autovideosink".
Anything works well.
Now, I'm going to add rtp feature on my testing tool. So I change a little
bit on my server side with "gst-launch-1.0 tcpserversrc
host=192.168.143.102 port=7010 !
*"application/x-rtp,media=(string)video,clock-rate=(int)90000,encoding-name=(string)H264"
! rtph264depay *! h264parse ! avdec_h264 ! autovideosink"
At client side, the behavior of my appsrc like "gst-launch-1.0 appsrc
name=ringbuf ! *rtph264pay* ! tcpclientsink host=192.168.143.102
port=1234". It not works.
The log from client side are
*0:00:00.160697339 1447 0xded5e0 INFO basesrc
gstbasesrc.c:2962:gst_base_src_loop:<ringbuf> marking pending
DISCONT0:00:00.161291538 1447 0xded5e0 WARN basesrc
gstbasesrc.c:3072:gst_base_src_loop:<ringbuf> error: Internal data stream
error.0:00:00.161422968 1447 0xded5e0 WARN basesrc
gstbasesrc.c:3072:gst_base_src_loop:<ringbuf> error: streaming stopped,
reason not-negotiated (-4)0:00:00.161801902 1447 0xded5e0 INFO
GST_ERROR_SYSTEM
gstelement.c:2141:gst_element_message_full_with_details:<ringbuf> posting
message: Internal data stream error.0:00:00.162334318 1447 0xded5e0
INFO GST_ERROR_SYSTEM
gstelement.c:2168:gst_element_message_full_with_details:<ringbuf> posted
error message: Internal data stream error.*
I don't know how to debug it and need someone to help me to debug.
And basically, the testing tool is referring from
https://cgit.freedesktop.org/gstreamer/gst-plugins-base/tree/tests/examples/app/appsrc-stream.c
I just change the part of how to access the data. Please help. Thanks.
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <https://lists.freedesktop.org/archives/gstreamer-devel/attachments/20200727/6c670596/attachment.htm>
More information about the gstreamer-devel
mailing list