No description
Find a file
Michael Niedermayer 4aeaee1f4e
avcodec/ffv1enc: replace the remaining log2() by magic
big secret, reading a float as the corresponding integer is a good
approximation of log2() for numbers not too close to 1.0. At the same
time it maintains strict monotonicity

this reduces run time from 19sec to 17sec for the slowest of my testcases
(with default remap_optimizer 3)

Compression is about the same:

-rw-r----- 1 michael michael  497603370 Mar 30 15:23 float-303503-fixed-40-optim-3-1log2F.nut
-rw-r----- 1 michael michael  497603374 Mar 28 11:27 float-303503-fixed-40-optim-3b.nut
-rw-r----- 1 michael michael  549938852 Mar 28 11:27 float-303503-float16-40-optim-3b.nut
-rw-r----- 1 michael michael  549938857 Mar 30 15:23 float-303503-float16-40-optim-3-1log2F.nut
-rw-r----- 1 michael michael 1150827841 Mar 28 11:28 float-303503-float-40-optim-3b.nut
-rw-r----- 1 michael michael 1150832913 Mar 30 15:22 float-303503-float-40-optim-3ref-log2F2.nut

Signed-off-by: Michael Niedermayer <michael@niedermayer.cc>
2025-04-03 01:58:07 +02:00
compat compat/w32pthreads: change pthread_t into pointer to malloced struct 2024-12-16 09:43:19 +01:00
doc doc: replace http/git by https urls 2025-04-03 01:57:46 +02:00
ffbuild configure: add option to select use of response files 2025-03-30 17:22:10 +05:30
fftools fftools/cmdutils: fix error message for "ffmpeg -init_hw_device list" 2025-04-03 06:29:12 +08:00
libavcodec avcodec/ffv1enc: replace the remaining log2() by magic 2025-04-03 01:58:07 +02:00
libavdevice libs: bump major version for all libraries 2025-03-28 14:44:34 -03:00
libavfilter avfilter/vsrc_testsrc: also fill alpha planes with a test pattern in {rgb,yuv}testsrc 2025-04-02 09:32:08 -03:00
libavformat avformat/rtpenc: Check dimensions during init 2025-03-31 08:04:05 +02:00
libavutil avutil/hwcontext_vulkan: stop checking for deprecated and removed flag 2025-03-29 00:40:48 +01:00
libpostproc libs: bump major version for all libraries 2025-03-28 14:44:34 -03:00
libswresample libs: bump major version for all libraries 2025-03-28 14:44:34 -03:00
libswscale swscale/swscale_unscaled: Actually use X2->RGBA64 conversions 2025-03-31 21:45:20 +02:00
presets
tests tests/filter-video: add rgbtestsrc tests for gbrap 2025-04-02 09:32:08 -03:00
tools avcodec/raw: Duplicate raw_pix_fmt_tags into fourcc2pixfmt tool 2025-03-28 14:33:31 -03:00
.gitattributes gitattributes: End merge conflicts in Changelog 2025-03-17 15:26:10 +01:00
.gitignore ffbuild: read library linker objects from a file 2025-03-17 15:45:53 +05:30
.mailmap mailmap: add entry for myself 2024-07-15 01:59:37 +02:00
Changelog avformat/movenccenc: add support for CENC AV1 encryption 2025-03-25 20:59:18 -03:00
configure configure: Check for an actual function in VideoToolbox 2025-04-01 18:28:31 +03:00
CONTRIBUTING.md
COPYING.GPLv2
COPYING.GPLv3
COPYING.LGPLv2.1
COPYING.LGPLv3
CREDITS Use https for repository links 2023-03-01 21:59:10 +01:00
INSTALL.md INSTALL: explain the circular dependency issue and solution 2024-11-03 19:35:23 +01:00
LICENSE.md avfilter/vf_geq: Relicense to LGPL 2019-12-28 11:20:48 +01:00
MAINTAINERS MAINTAINERS: Add myself 2025-03-25 11:38:21 +01:00
Makefile configure: Add wasm as a fake arch 2024-12-04 16:43:06 +08:00
README.md README: fix typo and description of libavfilter 2021-10-08 09:44:34 +05:30
RELEASE RELEASE: update release number after release/7.1 branch 2024-10-09 01:55:50 +02:00

FFmpeg README

FFmpeg is a collection of libraries and tools to process multimedia content such as audio, video, subtitles and related metadata.

Libraries

  • libavcodec provides implementation of a wider range of codecs.
  • libavformat implements streaming protocols, container formats and basic I/O access.
  • libavutil includes hashers, decompressors and miscellaneous utility functions.
  • libavfilter provides means to alter decoded audio and video through a directed graph of connected filters.
  • libavdevice provides an abstraction to access capture and playback devices.
  • libswresample implements audio mixing and resampling routines.
  • libswscale implements color conversion and scaling routines.

Tools

  • ffmpeg is a command line toolbox to manipulate, convert and stream multimedia content.
  • ffplay is a minimalistic multimedia player.
  • ffprobe is a simple analysis tool to inspect multimedia content.
  • Additional small tools such as aviocat, ismindex and qt-faststart.

Documentation

The offline documentation is available in the doc/ directory.

The online documentation is available in the main website and in the wiki.

Examples

Coding examples are available in the doc/examples directory.

License

FFmpeg codebase is mainly LGPL-licensed with optional components licensed under GPL. Please refer to the LICENSE file for detailed information.

Contributing

Patches should be submitted to the ffmpeg-devel mailing list using git format-patch or git send-email. Github pull requests should be avoided because they are not part of our review process and will be ignored.