2016-09-09 6:55 GMT-03:00 Carl Eugen Hoyos <[email protected]>: > 2016-09-08 21:45 GMT+02:00 Leandro Raffo <[email protected]>: >> 2016-09-08 13:20 GMT-03:00 Carl Eugen Hoyos <[email protected]>: >>> 2016-09-08 18:10 GMT+02:00 Leandro Raffo <[email protected]>: >>> >>>> 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? _______________________________________________ Libav-user mailing list [email protected] http://ffmpeg.org/mailman/listinfo/libav-user
