We must not use the frame's timebase as frame is None while flushing the encoder, which gives random results. In any case we know that frames were rebased into the CodecContext's time_base.
For a lengthier discussion see #397 (closed)
We must not use the frame's timebase as frame is None while flushing the encoder, which gives random results. In any case we know that frames were rebased into the CodecContext's time_base.
For a lengthier discussion see #397 (closed)