I'm writing an application that does realtime MPEG-4 encoding with libavcodec, and I need to be able to dynamically decrease CPU usage to avoid getting behind and buffers overflowing. I can obviously fiddle with the quantizer on a per-frame basis, but in extreme cases I may need to drop entire frames to stay within the CPU budget. Since my video is at a constant frame rate of 29.97 fps, what can I send to the muxer to would result in the last frame getting displayed twice as long before the next frame comes?
thanks, -Ben _______________________________________________ libav-user mailing list [email protected] https://lists.mplayerhq.hu/mailman/listinfo/libav-user
