Hardware Platform (Jetson / GPU) : Orin Nx
DeepStream Version : 6.2
JetPack Version (valid for Jetson only) : 5.1
TensorRT Version: 5.1
NVIDIA GPU Driver Version (valid for GPU only) : CUDA:11.4.315
The Gst framework did not throw an exception when parsing the H264 bare stream for the first time, but the data did not reach the server.
When the nvv4l2h264enc plug-in pushes the stream to rtmp for the first time, it finds that the Selected H264 profile (null) at level (null) is all null, and the data does not reach the server normally, and when it is set from the play state to the pause state, it will return to the play state. get data normally
- The record when the program runs to push stream
NvMMLiteOpen : Block : BlockType = 261
NVMEDIA: Reading vendor.tegra.display-size : status: 6
NvMMLiteBlockCreate : Block : BlockType = 261
0:00:04.325464912 11283 0xaaab072eeb60 DEBUG v4l2videoenc gstv4l2videoenc.c:776:gst_v4l2_video_enc_set_format:<aaaaaaaaaaaaaa_enc> Setting format: video/x-raw(memory:NVMM), width=(int)1920, height=(int)1080, multiview-mode=(string)mono, multiview-flags=(GstVideoMultiviewFlagsSet)0:ffffffff:/right-view-first/left-flipped/left-flopped/right-flipped/right-flopped/half-aspect/mixed-mono, framerate=(fraction)30/1, batch-size=(int)1, num-surfaces-per-frame=(int)1, format=(string)NV12, block-linear=(boolean)false
0:00:04.325520465 11283 0xaaab072eeb60 DEBUG v4l2videoenc gstv4l2videoenc.c:1019:gst_v4l2_video_enc_negotiate:<aaaaaaaaaaaaaa_enc> Negotiating H264 profile and level.
0:00:04.325564114 11283 0xaaab072eeb60 DEBUG v4l2videoenc gstv4l2videoenc.c:1070:gst_v4l2_video_enc_negotiate:<aaaaaaaaaaaaaa_enc> Selected H264 profile (null) at level (null)
NvMMLiteOpen : Block : BlockType = 4
===== NVMEDIA: NVENC =====
NvMMLiteBlockCreate : Block : BlockType = 4
0:00:04.328379208 11283 0xaaab072eeb60 DEBUG v4l2videoenc gstv4l2videoenc.c:834:gst_v4l2_video_enc_set_format:<aaaaaaaaaaaaaa_enc> output caps: video/x-raw(memory:NVMM), width=(int)1920, height=(int)1080, multiview-mode=(string)mono, multiview-flags=(GstVideoMultiviewFlagsSet)0:ffffffff:/right-view-first/left-flipped/left-flopped/right-flipped/right-flopped/half-aspect/mixed-mono, framerate=(fraction)30/1, batch-size=(int)1, num-surfaces-per-frame=(int)1, format=(string)NV12, block-linear=(boolean)false
- Record when changing state from GST_STATE_PLAYING to GST_STATE_PAUSED when back to GST_STATE_PLAYING
[1442.129][user]-[Info]-[operator():363) Gst pause state:2
[1442.129][user]-[Info]-[operator():367) start dji h264
[1442.135][user]-[Info]-[operator():370) 获取流成功
[1442.139][user]-[Info]-[operator():374) 请求关键帧成功
0:23:52.360213862 11283 0xffff8004b520 DEBUG v4l2videoenc gstv4l2videoenc.c:1362:gst_v4l2_video_enc_handle_frame:<aaaaaaaaaaaaaa_enc> Handling frame 0
0:23:52.360392873 11283 0xffff8004b520 DEBUG v4l2videoenc gstv4l2videoenc.c:1416:gst_v4l2_video_enc_handle_frame:<aaaaaaaaaaaaaa_enc> Starting encoding thread
0:23:52.360719024 11283 0xffff8004b520 DEBUG v4l2videoenc gstv4l2videoenc.c:1433:gst_v4l2_video_enc_handle_frame: NO META RETRIEVED BY ENCODER
H264: Profile = 77, Level = 0
NVMEDIA: Need to set EMC bandwidth : 846000
0:23:52.375775123 11283 0xffff8004b520 DEBUG v4l2videoenc gstv4l2videoenc.c:1362:gst_v4l2_video_enc_handle_frame:<aaaaaaaaaaaaaa_enc> Handling frame 1
0:23:52.375826036 11283 0xffff8004b520 DEBUG v4l2videoenc gstv4l2videoenc.c:1433:gst_v4l2_video_enc_handle_frame: NO META RETRIEVED BY ENCODER
- It can be pushed normally after the second part