<html><head></head><body style="word-wrap: break-word; -webkit-nbsp-mode: space; -webkit-line-break: after-white-space; "><div style="color: rgb(0, 0, 0); font-family: 宋体, sans-serif; font-size: 14px; ">Hi, everyone</div><div style="color: rgb(0, 0, 0); font-family: 宋体, sans-serif; font-size: 14px; "><br></div><div style="color: rgb(0, 0, 0); font-family: 宋体, sans-serif; font-size: 14px; ">I am developing an app on iOS based on ffmpeg. </div><div style="color: rgb(0, 0, 0); font-family: 宋体, sans-serif; font-size: 14px; ">I want stream live video from iPhone camera to Red5 server.</div><div style="color: rgb(0, 0, 0); font-family: 宋体, sans-serif; font-size: 14px; ">I had captured the frame from iPhone camera and converted the frame into H264 format.</div><div style="color: rgb(0, 0, 0); font-family: 宋体, sans-serif; font-size: 14px; ">Now I need to extract SPS and PPS information from CodecContext.extradata..</div><div style="color: rgb(0, 0, 0); font-family: 宋体, sans-serif; font-size: 14px; "><br></div><div><font face="宋体,sans-serif">I had seen some posts with </font><i><font face="宋体,sans-serif"><span style="white-space: pre-wrap;">h264_mp4toannexb bitstream filter to extract SPS and PPS information. But have no idea how to extract.</span></font></i></div><div><i><font face="宋体,sans-serif"><span style="white-space: pre-wrap;"><br></span></font></i></div><div>I'm sure the experts here can confirm or correct me, and explain better what to do.</div><div><br></div><div><br></div><div>Best Regards,</div><div><br></div><div>Yi Zhang</div></body></html>