h264_amf miss SPS and PPS

For the developers that use FFmpeg in their software.
Post Reply
evenstar
Posts: 2
Joined: Thu Oct 11, 2018 10:04 am

h264_amf miss SPS and PPS

Post by evenstar » Thu Oct 11, 2018 10:57 am

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?

Hellopoplar
Posts: 3
Joined: Fri Oct 26, 2018 11:33 am

Re: h264_amf miss SPS and PPS

Post by Hellopoplar » Sat Oct 27, 2018 12:55 pm

if you set AV_CODEC_FLAG_GLOBAL_HEADER, the sps/pps will only output once (no repeated headers)

Post Reply
'