How to fix the Green phenomenon when use 265 through UDP.

Erickson.LU ericksonlushan at gmail.com
Fri Aug 2 05:44:32 UTC 2019


Hi All and Nicolas:

I use pipeline in my program to stream out my camera.

Sender:
#define DesktopUdpSink "appsrc name=mysource !"\
" video/x-raw,width=%d,height=%d ! videoconvert ! "\
" video/x-raw, format=(string)I420, width=(int)%d, height=(int)%d !"\
" x265enc ! rtph265pay ssrc=1 pt=96 config-interval=5
sprop-parameter-sets=\"12345\ !"\
" udpsink host=192.168.43.130 port=3220 sync=false async=false"

Receiver:
gst-launch-1.0 udpsrc port=3220 ! "application/x-rtp, media=(string)video,
clock-rate=(int)90000, encoding-name=(string)H265, payload=(int)96,
ssrc=(int)1" ! rtph265depay ! avdec_h265 ! videoconvert ! autovideosink
sync=false

The camera resolution is 640x480. When I use 127.0.0.1 stream it out and in
at the same pc. The receiver is ok.

But when I use another pc to do the receiver pipeline, the receiver always
gets a *green screen*, I think it is caused by
*http://gstreamer-devel.966125.n4.nabble.com/GStreamer-CRITICAL-gst-segment-to-running-time-assertion-segment-gt-format-format-failed-tt4673363.html
*as @yannick inizan said.  The sender and the receiver connected by WIFI
2.4G.

Indeed the sender always log *GStreamer-CRITICAL **:
gst_segment_to_running_time: assertion 'segment->format == format' failed*.
So, I want to fix the green screen phenomenon, how can I do that.
Thanks for every help from everywhere.



--
Sent from: http://gstreamer-devel.966125.n4.nabble.com/


More information about the gstreamer-devel mailing list