H265 UDP streaming problem
Nicolas Dufresne
nicolas at ndufresne.ca
Sun Jan 17 02:41:24 UTC 2021
Le jeudi 14 janvier 2021 à 05:41 -0600, mp a écrit :
> Hello!
>
> I have a problem with streaming H.265 video on UDP as it works only when the
> receiver starts listening BEFORE the sender starts streaming. It is the same
> for MPEG-TS and RTP protocol. With H.264 there is no such problem.
>
> Exemplary sender pipeline:
> gst-launch-1.0 v4l2src device=/dev/video0 ! decodebin ! videoconvert !
> "video/x-raw, format=(string)I420" ! x265enc name=encoder ! 'video/x-h265,
Look through "gst-inspect-1.0 x265enc" properties. You likely want to configure
the key frame interval (alal key-int-max property) in order to allow the
receiver to sync and start.
> stream-format=(string)byte-stream, alignment=(string)au' ! rtph265pay
> mtu=1400 ! udpsink host=127.0.0.1 port=1234
>
> Exemplary receiver pipeline:
> gst-launch-1.0 -v udpsrc port=1234 do-timestamp=true !
> application/x-rtp,encoding-name=H265,payload=96 ! rtph265depay ! h265parse !
> queue ! avdec_h265 ! xvimagesink
>
> Does anyone have any idea how to solve this problem?
>
> Thanks, best regards,
> Matevz
>
>
>
> --
> Sent from: http://gstreamer-devel.966125.n4.nabble.com/
> _______________________________________________
> gstreamer-devel mailing list
> gstreamer-devel at lists.freedesktop.org
> https://lists.freedesktop.org/mailman/listinfo/gstreamer-devel
More information about the gstreamer-devel
mailing list