FFmpeg with custom patches for LAV Filters
Go to file
Zhao Zhili f7545e90df avutil/hwcontext_opencl: Add map from Videotoolbox to OpenCL
For example:
./ffmpeg -hwaccel videotoolbox \
	-hwaccel_output_format videotoolbox_vld \
	-i foo.mp4 \
	-vf hwmap=derive_device=opencl,transpose_opencl=dir=clock,hwmap,format=nv12 \
	-c:v hevc_videotoolbox \
	-c:a copy \
	-b:v 2M -tag:v hvc1 bar.mp4

Signed-off-by: Zhao Zhili <zhilizhao@tencent.com>
2024-03-01 17:24:00 +08:00
compat configure: Set WIN32_LEAN_AND_MEAN at configure time 2023-08-14 22:57:28 +03:00
doc lavc/qsvenc: update the selection of bitrate control method 2024-02-29 13:36:41 +08:00
ffbuild riscv: test for assembler support 2023-12-08 17:21:09 +02:00
fftools fftools/ffplay: Fix output color_spaces of filter 2024-03-01 17:19:15 +08:00
libavcodec avcodec/encode: Fix default setting of bits_per_raw_sample 2024-03-01 17:23:38 +08:00
libavdevice avdevice: deprecate sdl outdev 2024-02-28 10:28:49 +01:00
libavfilter avfilter/vf_scale_vulkan: Fix typo 2024-03-01 17:22:25 +08:00
libavformat avformat/mov: Update bits_per_coded_sample after read pcmC 2024-03-01 17:23:18 +08:00
libavutil avutil/hwcontext_opencl: Add map from Videotoolbox to OpenCL 2024-03-01 17:24:00 +08:00
libpostproc Bump versions after 6.1 2023-10-29 16:19:14 +01:00
libswresample all: use designated initializers for AVOption.unit 2024-02-14 14:53:41 +01:00
libswscale libswscale/utils: Fix bayer to yuvj 2024-02-21 18:24:17 +01:00
tests fate/mov: add tests for HEIF samples with derived images 2024-02-26 12:21:12 -03:00
tools tools: Add target_sws_fuzzer.c 2024-02-21 18:24:17 +01:00
.gitattributes lavf/assenc: normalize line endings to \n 2024-02-11 17:01:07 -08:00
.gitignore gitignore: add config_components.h 2022-03-17 18:35:41 -03:00
.mailmap .mailmap: Update my mailmap entry 2024-02-23 00:17:21 +01:00
.travis.yml Merge commit '899ee03088d55152a48830df0899887f055da1de' 2019-03-14 15:53:16 -03:00
Changelog lavc/qsvenc: update the selection of bitrate control method 2024-02-29 13:36:41 +08:00
configure avutil/hwcontext_opencl: Add map from Videotoolbox to OpenCL 2024-03-01 17:24:00 +08:00
CONTRIBUTING.md Add CONTRIBUTING.md 2016-09-18 10:02:13 +01:00
CREDITS Use https for repository links 2023-03-01 21:59:10 +01:00
INSTALL.md INSTALL.md: Fix Markdown formatting 2019-01-31 10:29:16 -09:00
LICENSE.md avfilter/vf_geq: Relicense to LGPL 2019-12-28 11:20:48 +01:00
MAINTAINERS MAINTAINERS: remove myself from here 2024-02-04 22:22:42 +01:00
Makefile tools: Add target_sws_fuzzer.c 2024-02-21 18:24:17 +01:00
README.md README: fix typo and description of libavfilter 2021-10-08 09:44:34 +05:30
RELEASE RELEASE: update after 5.1 branch 2022-07-13 00:31:42 +02:00


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


  • 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.


  • 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.


The offline documentation is available in the doc/ directory.

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


Coding examples are available in the doc/examples directory.


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


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.