When I use this API and Input is True, but encode H265 Stream only the first I frame include VPS/PPS/SSP Information(nal_type= 32), other I Frame all is nal_type = 19.
Hi,
We have Jetpack 7.1 r38.4 released. Please upgrade to the version and try again.
this is means that if we must use jetpack 7.0, we can not use this function api?
and the replay for question: Thor 平台nvenc编码器编码H264码流中没有SPS信息问题 , are you sure must upgrade?
Hi,
We run the commands on Jetpack 7.1 AGX Thor developer kit and can see VPS/SPS/PPS be inserted wit IDR frames:
01_video_encode$ gst-launch-1.0 videotestsrc num-buffers=100 ! video/x-raw,width=1280,height=720,format=I420 ! filesink location=720.yuv
01_video_encode$ ./video_encode 720.yuv 1280 720 H265 b.265 --insert-spspps-idr -idri 60
Would suggest try the same on developer kit.
Hi,
The corruption may be due to instable network. Would suggest check encoded h265 stream and see if it is valid. If the h265 stream is corrupted, please share the video_encode command. We can urn the command on developer kit to replicate the issue and check why the stream is corrupted.
if i play from the first frame by VLC App, this video decode seem is ok, but i skip frame, got this case
Hi,
You can run the command to parse h265 stream:
$ export GST_DEBUG=codecparsers_h265:5
$ gst-launch-1.0 filesrc location=b.265 ! h265parse ! nvv4l2decoder ! fakesink sync=1
To set IDR interval to 10, please disable I frames:
01_video_encode$ ./video_encode 720.yuv 1280 720 H265 b.265 --insert-spspps-idr -idri 10 -ifi 4294967295
