[Libav-user] Adjust fps
ljraffo at gmail.com
Fri Sep 9 14:57:36 EEST 2016
2016-09-09 6:55 GMT-03:00 Carl Eugen Hoyos <ceffmpeg at gmail.com>:
> 2016-09-08 21:45 GMT+02:00 Leandro Raffo <ljraffo at gmail.com>:
>> 2016-09-08 13:20 GMT-03:00 Carl Eugen Hoyos <ceffmpeg at gmail.com>:
>>> 2016-09-08 18:10 GMT+02:00 Leandro Raffo <ljraffo at gmail.com>:
>>>> I see, but I wanted to avoid doing a decode/encode stage.
>>>> Guess its not possible then.
>>> It generally is possible, depends only on the codec.
>> I'm trying to apply it to H264 and HEVC codecs.
> It may be possible if the (output) streams only contain I-frames,
> I am not sure if there are timestamp-related issues.
> (It is not possible to randomly drop and keep non-I-frames.)
I see there is the Keyframe flag in AVPacket, so sending keyframes to
av_write_interleaved_frame (Is av_write_frame equivalent in this
case?) would be as you say. But isn't there a way to see if I'm
getting B or P-frames in case I don't get enough I-frames?
More information about the Libav-user