[Libav-user] Changing time_bases for decoder(mpeg2video) when sending packets with avcodec_send_packet().

Carl Eugen Hoyos ceffmpeg at gmail.com
Wed May 30 11:53:02 EEST 2018

2018-05-30 10:11 GMT+02:00, Hristo Ivanov <hivanov.ffmailing at gmail.com>:

> The idea is to avoid rescaling when not needed (trying
> to be more efficient).

The rescaling is free compared to any decoding (or even

> Is it normal for objects to change their timebase when
> packets/frames are sent

It is unavoidable in some cases (like decoding mpeg-ts
sources) and not a bug that will be fixed.

Carl Eugen

More information about the Libav-user mailing list