using the videoCodecContext's timebase instead of the videoStream's timebase, and set TIMEBASE_DENOMINATOR to 30000