From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from ffbox0-bg.mplayerhq.hu (ffbox0-bg.ffmpeg.org [79.124.17.100]) by master.gitmailbox.com (Postfix) with ESMTP id 151C448B0D for ; Tue, 30 Jul 2024 20:44:16 +0000 (UTC) Received: from [127.0.1.1] (localhost [127.0.0.1]) by ffbox0-bg.mplayerhq.hu (Postfix) with ESMTP id 90A7868D7CA; Tue, 30 Jul 2024 23:44:13 +0300 (EEST) Received: from relay4-d.mail.gandi.net (relay4-d.mail.gandi.net [217.70.183.196]) by ffbox0-bg.mplayerhq.hu (Postfix) with ESMTPS id 381BE68CF1B for ; Tue, 30 Jul 2024 23:44:07 +0300 (EEST) Received: by mail.gandi.net (Postfix) with ESMTPSA id 5ABAAE0002 for ; Tue, 30 Jul 2024 20:44:06 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=niedermayer.cc; s=gm1; t=1722372246; h=from:from:reply-to:subject:subject:date:date:message-id:message-id: to:to:cc:mime-version:mime-version:content-type:content-type: in-reply-to:in-reply-to:references:references; bh=pQ+s+rYOv+LbCkUdrJoDFG6BIzNiqNWlVY2xuzfY958=; b=QZfomCKMG/gMC0FX+oeehNv4/ucBLZuHImNNtDsvQQVA7JZvQg/56ZvjdA82ex9qF3Nsao t+F1TteA28sV0alehEcoceWxmG5fgjDJH6RPUoqyvL9myaXDxIuxNhSiDoRrCL9DTdqzHo ZMHOSkkXV2aRtbinG+eGMHjtayqatMEiH5xvfkgm4jnDn6JLoQ90yMX36Y884a6X4QKbkN kNFRcpD2LfA90yo4zu9xDxSTOtNsCIaDHvMa/Ysgy94D0lG55/ukm1iExaDGL1/xeoFkUE S6flPh4XvVwXemsY86r+H4q07Sg30OEQw/7sAttRLvGzotMvgDUk7w1G9O9cSg== Date: Tue, 30 Jul 2024 22:44:05 +0200 From: Michael Niedermayer To: FFmpeg development discussions and patches Message-ID: <20240730204405.GO4991@pb2> References: <20240727043054.213199-1-aimingoff@pc.nifty.jp> <20240727043054.213199-2-aimingoff@pc.nifty.jp> <2cacbafe-202d-487d-8f08-63e78f4ed664@pc.nifty.jp> <20240728092619.GN4991@pb2> <259d3e34-3fbc-4e5d-8efe-33595e031538@pc.nifty.jp> MIME-Version: 1.0 In-Reply-To: <259d3e34-3fbc-4e5d-8efe-33595e031538@pc.nifty.jp> X-GND-Sasl: michael@niedermayer.cc Subject: Re: [FFmpeg-devel] [PATCH v2 1/1] lavfi/vf_gopromax_opencl: add GoPor Max 360 video filter X-BeenThere: ffmpeg-devel@ffmpeg.org X-Mailman-Version: 2.1.29 Precedence: list List-Id: FFmpeg development discussions and patches List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Reply-To: FFmpeg development discussions and patches Content-Type: multipart/mixed; boundary="===============3182644955149209115==" Errors-To: ffmpeg-devel-bounces@ffmpeg.org Sender: "ffmpeg-devel" Archived-At: List-Archive: List-Post: --===============3182644955149209115== Content-Type: multipart/signed; micalg=pgp-sha512; protocol="application/pgp-signature"; boundary="8fA3SaBajzF5WCqR" Content-Disposition: inline --8fA3SaBajzF5WCqR Content-Type: text/plain; charset=us-ascii Content-Disposition: inline Content-Transfer-Encoding: quoted-printable On Mon, Jul 29, 2024 at 01:30:34AM +0900, TADANO Tokumei wrote: > On 2024/07/28 18:26, Michael Niedermayer wrote: > > On Sun, Jul 28, 2024 at 01:42:09AM +0900, TADANO Tokumei wrote: > > >=20 > > > On 2024/07/27 13:30, TADANO Tokumei wrote: > > > > Add an OpenCL filter for filtering GoPro Max native .360 files > > > > into standard equirectangular or youtube equiangular cubemap (eac) > > > > projection. > > > >=20 > > > > The .360 file contains separated two video streams. > > > > This filter combine two streams into single stream with standard > > > > format. > > > > --- > > > > doc/filters.texi | 78 +++++++ > > > > libavfilter/Makefile | 2 + > > > > libavfilter/allfilters.c | 1 + > > > > libavfilter/opencl/gopromax.cl | 280 ++++++++++++++++++++++++ > > > > libavfilter/opencl_source.h | 1 + > > > > libavfilter/vf_gopromax_opencl.c | 351 +++++++++++++++++++++++++= ++++++ > > > > 6 files changed, 713 insertions(+) > > > > create mode 100644 libavfilter/opencl/gopromax.cl > > > > create mode 100644 libavfilter/vf_gopromax_opencl.c > > >=20 > > > The patchwork failed, but it was caused by opencl.c (not by this patc= h): > > >=20 > > > In file included from ./libavutil/common.h:48:0, > > > from ./libavutil/avutil.h:301, > > > from ./libavutil/opt.h:31, > > > from libavdevice/sdl2.c:31: > > > ./config.h:335:0: warning: 'HAVE_PTHREAD_SETNAME_NP' redefined > > > #define HAVE_PTHREAD_SETNAME_NP 0 > > > In file included from /usr/include/SDL2/SDL_stdinc.h:31:0, > > > from /usr/include/SDL2/SDL_main.h:25, > > > from /usr/include/SDL2/SDL.h:32, > > > from libavdevice/sdl2.c:26: > > > /usr/include/SDL2/SDL_config.h:186:0: note: this is the location of t= he previous definition > > > #define HAVE_PTHREAD_SETNAME_NP 1 > > > In file included from libavfilter/opencl.h:31:0, > > > from libavfilter/opencl.c:26: > > > ./libavutil/hwcontext_opencl.h:25:10: fatal error: CL/cl.h: No such f= ile or directory > > > #include > > > ^~~~~~~~~ > > > compilation terminated. > > > make: *** [libavfilter/opencl.o] Error 1 > >=20 > > with this patch it fails here on ubuntu: > > /usr/bin/ld: libavfilter/libavfilter.a(opencl.o): undefined reference t= o symbol 'clBuildProgram@@OPENCL_1.0' > > /usr/bin/ld: /usr/local/cuda/targets/x86_64-linux/lib/libOpenCL.so.1: e= rror adding symbols: DSO missing from command line > >=20 > > thx >=20 > I tested on Ubuntu 22.04, and it works fine. My failure was on a 20.04 thx [...] --=20 Michael GnuPG fingerprint: 9FF2128B147EF6730BADF133611EC787040B0FAB If the United States is serious about tackling the national security threat= s=20 related to an insecure 5G network, it needs to rethink the extent to which = it values corporate profits and government espionage over security.-Bruce Schn= eier --8fA3SaBajzF5WCqR Content-Type: application/pgp-signature; name="signature.asc" -----BEGIN PGP SIGNATURE----- iF0EABEKAB0WIQSf8hKLFH72cwut8TNhHseHBAsPqwUCZqlQkgAKCRBhHseHBAsP qxf6AJ9VBaUIZWKF1IXVLOZbErBAZBpyBACbBbvqOPncmxNjI44aGWEeUanyfSQ= =t9lp -----END PGP SIGNATURE----- --8fA3SaBajzF5WCqR-- --===============3182644955149209115== Content-Type: text/plain; charset="us-ascii" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit Content-Disposition: inline _______________________________________________ ffmpeg-devel mailing list ffmpeg-devel@ffmpeg.org https://ffmpeg.org/mailman/listinfo/ffmpeg-devel To unsubscribe, visit link above, or email ffmpeg-devel-request@ffmpeg.org with subject "unsubscribe". --===============3182644955149209115==--