Page 1 of 1

h264_amf miss SPS and PPS

Posted: Thu Oct 11, 2018 10:57 am
by evenstar
I am developing a software involve H264 encode using ffmpeg, recently. When i use h264_qsv and h264_nvenc, everything is ok. But i found the stream encoded by h264_amf, the SPS and PPS only contained by first GOP. I wonder whether i missing set some parameter?

Re: h264_amf miss SPS and PPS

Posted: Sat Oct 27, 2018 12:55 pm
by Hellopoplar
if you set AV_CODEC_FLAG_GLOBAL_HEADER, the sps/pps will only output once (no repeated headers)