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 2D5F54C508 for ; Sun, 28 Jul 2024 16:31:01 +0000 (UTC) Received: from [127.0.1.1] (localhost [127.0.0.1]) by ffbox0-bg.mplayerhq.hu (Postfix) with ESMTP id 7BAC868D8B3; Sun, 28 Jul 2024 19:30:59 +0300 (EEST) Received: from mta-snd-w06.mail.nifty.com (mta-snd-w06.mail.nifty.com [106.153.227.38]) by ffbox0-bg.mplayerhq.hu (Postfix) with ESMTPS id 33AF068D37F for ; Sun, 28 Jul 2024 19:30:50 +0300 (EEST) Received: from [192.168.0.11] by mta-snd-w06.mail.nifty.com with ESMTP id <20240728163045155.IRIO.90861.[192.168.0.11]@nifty.com> for ; Mon, 29 Jul 2024 01:30:45 +0900 Message-ID: <259d3e34-3fbc-4e5d-8efe-33595e031538@pc.nifty.jp> Date: Mon, 29 Jul 2024 01:30:34 +0900 MIME-Version: 1.0 User-Agent: Mozilla Thunderbird To: ffmpeg-devel@ffmpeg.org 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> Content-Language: en-US From: TADANO Tokumei In-Reply-To: <20240728092619.GN4991@pb2> DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=pc.nifty.jp; s=default-1th84yt82rvi; t=1722184245; bh=CkaeSM5GEgm9/2UgXiCJdS1Bmpk22c8iMJKKz5ekKxU=; h=Date:Subject:To:References:From:In-Reply-To; b=dk8/vNB+7/KTJ7PEViNo96SKNbzlDmVwjTroMNuWrJ4MIPCKtENLnyjVBn/cJ+hHZ1CjkEXR e0BjYX1ZkrzKaK9jlmlzqUKooepGqB7zxaJ/gny4L48tjw2HohIvIUvE3q8iy5PNQwVrB70T7u mxm3jgtupk61HvwfljHtdq6duTJW8rayxB4Y18lh83F8WvvLVlNwA9HxjcxaUFt1qD+ynK7k8j 9KKZgq5BAamqFm2TfbILY5hcI4qcu1PI3vjdm/c05DAz0COmXvYpzJE8WDzDnEOc9HLZFPHo9D 5JVlq/tWTqL6zE25+K2FRkU99D1LS5s5zq8Wl0mALkcv85Sg== 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-Transfer-Encoding: 7bit Content-Type: text/plain; charset="us-ascii"; Format="flowed" Errors-To: ffmpeg-devel-bounces@ffmpeg.org Sender: "ffmpeg-devel" Archived-At: List-Archive: List-Post: On 2024/07/28 18:26, Michael Niedermayer wrote: > On Sun, Jul 28, 2024 at 01:42:09AM +0900, TADANO Tokumei wrote: >> >> 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. >>> >>> 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 >> >> The patchwork failed, but it was caused by opencl.c (not by this patch): >> >> 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 the 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 file or directory >> #include >> ^~~~~~~~~ >> compilation terminated. >> make: *** [libavfilter/opencl.o] Error 1 > > with this patch it fails here on ubuntu: > /usr/bin/ld: libavfilter/libavfilter.a(opencl.o): undefined reference to symbol 'clBuildProgram@@OPENCL_1.0' > /usr/bin/ld: /usr/local/cuda/targets/x86_64-linux/lib/libOpenCL.so.1: error adding symbols: DSO missing from command line > > thx I tested on Ubuntu 22.04, and it works fine. As message shows, it seems the error is not related to this patch but OpenCL library. > [...] > > > _______________________________________________ > 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". _______________________________________________ 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".