Keywords: camera callback sample, H20 video stream, ffmpeg decode
When running camera_callback_sample to play H20 video, an error is reported:
SEI type 1 size 904 truncated at 832
This is because the video stream contains SEI NAL, and FFmpeg fails when decoding these SEI frames. This problem does not affect the video decode and display. If you want to solve this problem, you can process the SEI NAL on the application side and then decode it.
Remove the SEI frane code:
Note: This article is from Chinese and is translated by machine. If there is any suggestions, please point it out and we will correct it in time