[Libav-user] Transcoding mpeg2 to h264: forced frame type was changed to frame type

Ryan Lovelett ryan at lovelett.me
Thu Feb 18 04:04:34 CET 2016


I'm trying to write a transcoder that takes mpeg2 (from a mpegts file)
and converts it to h264 (video only for now). For the most part I have
this working.

I am just worried because I am seeing messages in the stdout that say:
[libx264 @ 0x7fc757800600] forced frame type (5) at 2423 was changed to
frame type (3).

I can "fix" them by setting the frame's pix_type to AV_PICTURE_TYPE_NONE
before sending them to the encoder. Though I have to wonder if that is
correct. Any pointers?

-- 
  Ryan Lovelett
  ryan at lovelett.me


More information about the Libav-user mailing list