[FFmpeg-devel] [PATCH v2 3/3] avcodec: estimate output bitrate for uncompressed video codecs

Tobias Rapp t.rapp at noa-archive.com
Fri Mar 3 09:38:32 EET 2017


On 06.02.2017 13:33, Tobias Rapp wrote:
> Allows to get a more realistic total bitrate (and estimated file size)
> in avi_write_header. Previously a static default value of 200k was
> assumed.
>
> Signed-off-by: Tobias Rapp <t.rapp at noa-archive.com>
> ---
>  libavcodec/r210enc.c                 | 15 +++++++++++++++
>  libavcodec/rawenc.c                  |  3 +++
>  libavcodec/v210enc.c                 |  4 ++++
>  libavcodec/v308enc.c                 |  4 ++++
>  libavcodec/v408enc.c                 |  3 +++
>  libavcodec/v410enc.c                 |  4 ++++
>  libavcodec/y41penc.c                 |  2 ++
>  tests/ref/fate/v410enc               |  2 +-
>  tests/ref/vsynth/vsynth1-bpp1        |  2 +-
>  tests/ref/vsynth/vsynth1-bpp15       |  2 +-
>  tests/ref/vsynth/vsynth1-r210        |  2 +-
>  tests/ref/vsynth/vsynth1-rgb         |  2 +-
>  tests/ref/vsynth/vsynth1-v210        |  2 +-
>  tests/ref/vsynth/vsynth1-v210-10     |  2 +-
>  tests/ref/vsynth/vsynth1-v308        |  2 +-
>  tests/ref/vsynth/vsynth1-v408        |  2 +-
>  tests/ref/vsynth/vsynth1-y41p        |  2 +-
>  tests/ref/vsynth/vsynth1-yuv         |  2 +-
>  tests/ref/vsynth/vsynth2-bpp1        |  2 +-
>  tests/ref/vsynth/vsynth2-bpp15       |  2 +-
>  tests/ref/vsynth/vsynth2-r210        |  2 +-
>  tests/ref/vsynth/vsynth2-rgb         |  2 +-
>  tests/ref/vsynth/vsynth2-v210        |  2 +-
>  tests/ref/vsynth/vsynth2-v210-10     |  2 +-
>  tests/ref/vsynth/vsynth2-v308        |  2 +-
>  tests/ref/vsynth/vsynth2-v408        |  2 +-
>  tests/ref/vsynth/vsynth2-y41p        |  2 +-
>  tests/ref/vsynth/vsynth2-yuv         |  2 +-
>  tests/ref/vsynth/vsynth3-bpp1        |  2 +-
>  tests/ref/vsynth/vsynth3-bpp15       |  2 +-
>  tests/ref/vsynth/vsynth3-r210        |  2 +-
>  tests/ref/vsynth/vsynth3-rgb         |  2 +-
>  tests/ref/vsynth/vsynth3-v210        |  2 +-
>  tests/ref/vsynth/vsynth3-v210-10     |  2 +-
>  tests/ref/vsynth/vsynth3-v308        |  2 +-
>  tests/ref/vsynth/vsynth3-v408        |  2 +-
>  tests/ref/vsynth/vsynth3-yuv         |  2 +-
>  tests/ref/vsynth/vsynth_lena-bpp1    |  2 +-
>  tests/ref/vsynth/vsynth_lena-bpp15   |  2 +-
>  tests/ref/vsynth/vsynth_lena-r210    |  2 +-
>  tests/ref/vsynth/vsynth_lena-rgb     |  2 +-
>  tests/ref/vsynth/vsynth_lena-v210    |  2 +-
>  tests/ref/vsynth/vsynth_lena-v210-10 |  2 +-
>  tests/ref/vsynth/vsynth_lena-v308    |  2 +-
>  tests/ref/vsynth/vsynth_lena-v408    |  2 +-
>  tests/ref/vsynth/vsynth_lena-y41p    |  2 +-
>  tests/ref/vsynth/vsynth_lena-yuv     |  2 +-
>  47 files changed, 75 insertions(+), 40 deletions(-)
>
> [...]

I'd like to apply this patch soon, if there are no objections.

Regards,
Tobias




More information about the ffmpeg-devel mailing list