can't play h264 over RTP
i.nixman at autistici.org
i.nixman at autistici.org
Thu Aug 12 12:27:40 UTC 2021
hello guys,
in the end I can see the video stream on QGroundControl app using this
pipeline:
gst-launch-1.0 -v \
v4l2src device=/dev/video15 \
! video/x-raw,width=320,height=240,format=NV12 \
! v4l2h264enc \
! h264parse \
! rtph264pay name=pay0 pt=96 config-interval=1 \
! udpsink host=192.168.2.253 port=8644
but the problem is that if first start QGroundControl and then streaming
- the video is displayed as it should.
but if first start streaming and then QGroundControl - QGroundControl
does not display video and I see the following errors in the log:
GStreamerAPILog: <h264parse0> broken/invalid nal Type: 1 Slice, Size:
3876 will be dropped
GStreamerAPILog: <h264parse0> broken/invalid nal Type: 1 Slice, Size:
3879 will be dropped
GStreamerAPILog: <h264parse0> broken/invalid nal Type: 1 Slice, Size:
4192 will be dropped
GStreamerAPILog: <h264parse0> broken/invalid nal Type: 1 Slice, Size:
5350 will be dropped
GStreamerAPILog: <h264parse0> broken/invalid nal Type: 1 Slice, Size:
3840 will be dropped
GStreamerAPILog: <h264parse0> broken/invalid nal Type: 1 Slice, Size:
5244 will be dropped
GStreamerAPILog: <h264parse0> broken/invalid nal Type: 1 Slice, Size:
12059 will be dropped
GStreamerAPILog: <h264parse0> broken/invalid nal Type: 1 Slice, Size:
5053 will be dropped
GStreamerAPILog: <h264parse0> broken/invalid nal Type: 1 Slice, Size:
5235 will be dropped
GStreamerAPILog: <h264parse0> broken/invalid nal Type: 1 Slice, Size:
6013 will be dropped
GStreamerAPILog: <h264parse0> broken/invalid nal Type: 1 Slice, Size:
3918 will be dropped
GStreamerAPILog: <h264parse0> broken/invalid nal Type: 1 Slice, Size:
4076 will be dropped
GStreamerAPILog: <h264parse0> broken/invalid nal Type: 1 Slice, Size:
4256 will be dropped
GStreamerAPILog: <h264parse0> broken/invalid nal Type: 1 Slice, Size:
4596 will be dropped
GStreamerAPILog: <h264parse0> broken/invalid nal Type: 1 Slice, Size:
4052 will be dropped
any ideas?
best!
More information about the gstreamer-devel
mailing list