Hi. I'm trying to implement variable frame by manually setting the PTS of each frame, and have the following issue:
If I set the timebase to 1 / 1000, and set the PTS according to delta between frames, the variable frame rate works, but the quality drops significantly. I found 2 ways to re-solve it, but both are looking not right: 1) To use timebase to 99/1000 or to 999/1000 2) To multiply the bit-rate by 1000, getting 2.5Mbps for 250Kbps for example. Any idea which of them is more correct? Or is there another way to specify and support variable frame rate? Thanks in advance! _______________________________________________ libav-user mailing list [email protected] https://lists.mplayerhq.hu/mailman/listinfo/libav-user
