If r_frame_rate is set, it should be more reliable for this than either codec or stream timebase.
Attach a file by drag & drop or click to upload