It is more reliable than AVCodecContext.frame_size for codecs with constant packet duration.
Attach a file by drag & drop or click to upload