[FFmpeg-devel] [PATCH v4 0/1] lavfi/vf_gopromax_opencl: add GoPor Max 360 video filter
TADANO Tokumei
aimingoff at pc.nifty.jp
Sat Aug 3 03:56:00 EEST 2024
This is updated patch of:
https://patchwork.ffmpeg.org/project/ffmpeg/list/?series=3943
I contacted to Ronan LE MEILLAT and agreed with him to submit new patch.
Abstruct of GoPro Max .360 video file format is described in:
https://gopro.com/news/max-tech-specs-stitching-resolution
The specification is little bit buggy.
The format is based on EAC (Equi-Angular Cubemap), and there are overlapped
pixels at boundaries of front and rear cams.
Probably, the desinger intended to add 2 x 32 (= total 64) ovelapped pixels.
But actual format has 2 x 64 pixels overlapped area.
Thus the width will be 2 x 32 pixels shorter than standard EAC format after
blending overlapped area.
This filter blends overlapped area, stretches the width of the cube,
and combine two streams into single stream with standard format.
v3: modifies `configure` file to add dependency on opencl.
v4: fix small difference from v360 filter in xyz_to_eac()
TADANO Tokumei (1):
lavfi/vf_gopromax_opencl: add GoPro Max 360 video filter
configure | 1 +
doc/filters.texi | 78 +++++++
libavfilter/Makefile | 2 +
libavfilter/allfilters.c | 1 +
libavfilter/opencl/gopromax.cl | 282 +++++++++++++++++++++++++
libavfilter/opencl_source.h | 1 +
libavfilter/vf_gopromax_opencl.c | 351 +++++++++++++++++++++++++++++++
7 files changed, 716 insertions(+)
create mode 100644 libavfilter/opencl/gopromax.cl
create mode 100644 libavfilter/vf_gopromax_opencl.c
--
2.39.2
More information about the ffmpeg-devel
mailing list