Hi All,

I'm seeing some weird behaviour:-

I open an h264 mp4 file, and get the AVCodecContext for the video stream.
The ->time_base is 1/25

However, after the first call to avcodec_decode_video, the
AVCodecContext->time_base has changed to 1001/25000

This only seems to happen for h264 (Codec is "H.264 / AVC / MPEG-4 AVC /
MPEG-4 part 10"). I've tried the same code for a 25fps mpeg2 file and the
time_base doesn't change.

Is this normal behaviour? I personally don't understand it.

Thanks

Slip
_______________________________________________
libav-user mailing list
[email protected]
https://lists.mplayerhq.hu/mailman/listinfo/libav-user

Reply via email to