> Can you tell me what is different (in #BFRAMES build) between > max_bframes = -1 and max_bframes = 0? Inter/intra decision is the only > thing that comes to my head. Using encoder_encode_bframes() with max_bframes == -1 fixed the problem. No other changes were needed, anywhere.... This is bizzare. Maybe encoder_encode() forgets to initialize some variables?