stream problem H20T camera
2031 1 2021-5-18
Uploading and Loding Picture ...(0/1)
o(^-^)o
ShayLevy68
lvl.2
Flight distance : 5663 ft
Israel
Offline

hi, I have dji drone 300 matrice.
i use:
onboard SDK 4.1.0 (c++)
on Nvidia Xavier ( ubuntu 18) arm64 architecture
I have gstreamer installed (gst-inspect-1.0 version 1.14.5 GStreamer 1.14.5)
i added rtsp server alongside the onboard sdk. i use the API: startH264Stream() func.

the server work good on fpv camera with this pipline :
"appsrc  name=mysrc  ! h264parse ! nvv4l2decoder enable-max-performance=1 ! nvvidconv ! video/x-raw(memory:NVMM), width=%d, height=%d, format=NV12 ! nvv4l2h264enc control-rate=1 bitrate=%d peak-bitrate=%d ! video/x-h264, profile=baseline  ! rtph264pay pt=96 name=pay0"

but i cant decode and encode the main camera ( H20T)
i can serve (with H20T) only :
"appsrc name=mysrc ! h264parse ! rtph264pay pt=96 name=pay0"    -> without decode \encode the main camera stream works

those pipline run on Nvidia Xavier ( has special decode \encode \convert caps ..)
this is the guide for nvidia Xavier:
https://developer.download.nvidia.com/embedded/L4T/r32_Release_v1.0/Docs/Accelerated_GStreamer_User_Guide.pdf?tmdZCzIRachLemn_cI4A5lwJgg9wiQU3bvMgcZSkZzLIkExr4YM9J7f18dNZZ6CbAHLpB6OCZOv1GjcobBVu6gkJvIvRPsoy-2DwMwvSATqn0LHNeukhRl8ocZi3fx_JdsluSSFjTcsF4mVoMUf4uyyk6pMkslmUpT4nx0ioiVhbjEQO6Bw

On my pc (amd64 architecture) :
i can do streamming on my pc with this pipeline:
appsrc name=mysrc  ! queue ! decodebin ! videorate ! video/x-raw,framerate=24/1 ! x264enc speed-preset=superfast tune=zerolatency ! h264parse ! rtph264pay name=pay0 pt=96
** ON manifold G2 ( include inside jetson tx2 nvidia): ( ubuntu 16) arm64 architecture the pip is: appsrc  name=mysrc  ! h264parse ! omxh264dec ! nvvidconv ! video/x-raw(memory:NVMM), width=%d, height=%d, format=I420 ! omxh264enc temporal-tradeoff=1 control-rate=1 bitrate=%d peak-bitrate=%d ! video/x-h264, profile=baseline  ! rtph264pay pt=96 name=pay0it does not work too! fvp works good but main camera (h20t) does not.. i made update for the h20t camera.. so it is not the problem...i stucked on this problem few days..i have to decode\encode the stream becouse i have low bandwidth
what weird is the stream of main camera work on pc but dosnot work on manifold g2 and xavier Nvidiaand the fpv streamming with decode\encode works well on all computers ...please someone can help me ?

UPDATE:
after debug for h20t camera i get :
0:00:01.809537952 10504   0x55c516bde0 WARN       codecparsers_h264 gsth264parser.c:848:gst_h264_parser_parse_buffering_period: failed to read UE
0:00:01.809631296 10504   0x55c516bde0 WARN       codecparsers_h264 gsth264parser.c:892:gst_h264_parser_parse_buffering_period: error parsing "Buffering period"
0:00:01.809741056 10504   0x55c516bde0 WARN       codecparsers_h264 gsth264parser.c:1188:gst_h264_parser_parse_sei_message: Bit non equal to one.
0:00:01.809768960 10504   0x55c516bde0 WARN       codecparsers_h264 gsth264parser.c:1194:gst_h264_parser_parse_sei_message: Bit non equal to zero.
0:00:01.809819264 10504   0x55c516bde0 WARN       codecparsers_h264 gsth264parser.c:1194:gst_h264_parser_parse_sei_message: Bit non equal to zero.
0:00:01.809846496 10504   0x55c516bde0 WARN               h264parse gsth264parse.c:531:gst_h264_parse_process_sei:<h264parse0> failed to parse one or more SEI message


2021-5-18
Use props
RoeyWunsh
lvl.1

Israel
Offline

Have you managed to solve this?
2023-2-13
Use props
Advanced
You need to log in before you can reply Login | Register now

Credit Rules