can't play h264 over RTP
i.nixman at autistici.org
i.nixman at autistici.org
Wed Aug 11 15:27:40 UTC 2021
Hello Marc Leeman,
thank you for your answer!
On 2021-08-11 14:27, Marc Leeman via gstreamer-devel wrote:
> gst-launch-1.0 videotestsrc ! x264enc ! h264parse ! rtph264pay
> config-interval=1 ! rtpsink uri=rtp://239.1.2.3:1234
> gst-launch-1.0 rtpsrc uri=rtp://239.1.2.3:1234?encoding-name=H264 !
> rtph264depay ! h264parse ! avdec_h264 ! videoconvert ! autovideosink
>
> I suspect that the config-interval is what is missing with your
> examples
>
> Also, send out RTP on even ports.
please tell me, in order to stream and be able to play video should I
use rtpsink and rtpsrc?
I can't use udpsink and udpsrc for this?
the fact is that I need to implement streaming from my drone for the
QGroundControl program [1] but according to the documentation [2] the
program expects RTP over UDP and the examples provided uses `rtph264pay
! udpsink` for streaming and `udpsrc ! rtpjitterbuffer ! rtph264depay`
on the other end for playing.
[1] https://github.com/mavlink/qgroundcontrol
[2]
https://github.com/mavlink/qgroundcontrol/tree/master/src/VideoReceiver#udp-pipeline
More information about the gstreamer-devel
mailing list