Benjamin Gretsch schrieb:
> Hi everyone,
> 
> I am new to libav* and can't find out how to assume a different frame rate.
> 
> I am writing a demultiplexer that should be able to convert the video frame
> rate from 24000/1001 to 25/1, without interpolating but instead by speeding
> up the play back.
> 
> I tried to modify time_base for the output context, but it didn't work.
> 
> I'd be glad if someone could point me to the right direction.
> 
> Best Regards
> Benjamin


I now set time_base.num=1 and time_base.den = 25
and the pts and dts values of each packet to consecutive numbers.
The packets are read by av_read_frame().

Still the frame rate keeps unchanged (for AVI input) or is set to 1000fps
(for MKV input).

Any idea?

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

Reply via email to