Thor平台的multimedia-api进行H264编码时,编出来的 IDR 帧里不含 SPS信息,我使用setInsertSpsPpsAtIdrEnabled API也没有效果,这样会导致我直播时因为找不到SPS,而导致播放器解析失败的问题。请帮忙分析原因。
Hi,
Please try 01 sample:
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 H264 b.264 --insert-spspps-idr -idri 60
We run the commands on AGX Thor developer kit and do not observe the issue. SPS and PPS are inserted with IDR frames as expected.
我们测试只有程序启动的一个IDR前边有SPS,之后之后IDR就不带SPS了,这样会导致,直播程序必须先于编码程序启动。
ORIN平台是每个IDR都带SPS信息
Hi,
Do you adapt your application per 01 sample of Jetpack 7? The low-level software stack is different between Jetpack 6 Orin and Jetpack 7 Thor. You would need to modify the application by referring to 01 sample.
We run the command on AGX Thor developer kit with Jetpack 7.0, and can see SPS/PPS be inserted at each IDR frame.
This topic was automatically closed 14 days after the last reply. New replies are no longer allowed.