Hello,
I can’t get H.265 to work over a TCP pipeline, but the H.264 version works fine.
Here is my H.265 pipeline that doesn’t work:
gst-launch-1.0 videotestsrc ! videoconvert ! video/x-raw,format=I420,width=640,height=480,framerate=30/1 ! x265enc ! multipartmux ! tcpserversink host=127.0.0.1 port=5000
gst-launch-1.0 tcpclientsrc host=127.0.0.1 port=5000 ! multipartdemux ! h265parse ! avdec_h265 ! autovideosink
Can someone help me figure out what’s wrong?
1 Like
Rz-Rz
2
managed to make this one work :
gst-launch-1.0 v4l2src ! image/jpeg,framerate=30/1 ! jpegdec ! videoconvert !
x265enc tune=zerolatency speed-preset=ultrafast key-int-max=15 bitrate=4000 !
h265parse config-interval=1 !
tcpserversink host=0.0.0.0 port=5000
gst-launch-1.0 -v
tcpclientsrc host=127.0.0.1 port=5000 !
h265parse ! avdec_h265 ! videoconvert !
autovideosink sync=false
but with a lot of latency, something like 3s which makes it unusable for me. What’s weird is I can achieve 700ms usually with tcp mjpeg…