Hi.

> But there is one detail, my bit rate is low, lower than I specified.
>
> When encoding I specify bit rate (for AVCodecContext) of 400 kbps, but the
> resulting movie is around 25 kbps. With the variable frame rate of around 1
> per second.
> Why is my bit rate degraded?
>
> If I put 4 Mbps, resulting movie is 250 kbps, thats OK but I still wan to
> know why.
>

I have this issue now as well - If I set the timebase to 1 / 1000, the
variable frame rate works, but the quality drops significantly.

I found 2 ways to solve it, but both are looking not right:

1) To use timebase of 99/1000 (should be 100/1000 but FFMPEG "optimizes" it
by removing nulls, and drops the frame rate to resolution of 10).

According to this logic, it should be actually limiting to frame rate of 10
(as the ratio is 1/10), but higher frame rates works as well for some
reason.

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

Reply via email to