23:37
I depacketize the H264 video fragments from an IP.RTP stream and save them to video.ivf file. After depacketizing i have only [SPS] ,[PPS] and [non-IDR slice]. I try to create IDR slice by using x264 lib. x264 lib creates IDR frame which consists of 0x000001[SPS nal type 7] 0x000001[PPS nal type 8] 0x0001[SE slice nal type 6] and 0x0001[I slice nal type 5]. How to set correct parameters for x264 lib if i have real SPS and PPS frames to get the same SPS and PPS frames
i parse SPS and PPS but i don't know which parameters of x264_param_t param i should set.
can someone give me (...)