diff options
author | Zhao Zhili <zhilizhao@tencent.com> | 2024-02-23 22:11:43 +0800 |
---|---|---|
committer | Zhao Zhili <zhilizhao@tencent.com> | 2024-03-01 17:24:00 +0800 |
commit | f7545e90dfda0d1e49b6dcce43bf96741c9ecaed (patch) | |
tree | 994da3f5ae6e4a01fa3ca3939074c0bf4a9bcd45 /libavcodec | |
parent | dcfc6089b1ea06fdcdf7778b881406b929a83cba (diff) | |
download | ffmpeg-f7545e90dfda0d1e49b6dcce43bf96741c9ecaed.tar.gz |
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>
Diffstat (limited to 'libavcodec')
0 files changed, 0 insertions, 0 deletions