Currently, AVStream* contains: avg_frame_rate av_stream_get_r_frame_rate() time_base and AVCodecContext* contains: time_base (deprecated) framerate ticks_per_frame Can someone comment on, assuming it's possible, what's the proper way of getting the fps as a rational number? -- Gonzalo Garramuño ggarra13 at gmail.com