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 503A841A3F for ; Thu, 17 Feb 2022 00:55:53 +0000 (UTC) Received: from [127.0.1.1] (localhost [127.0.0.1]) by ffbox0-bg.mplayerhq.hu (Postfix) with ESMTP id 8C81A68B1E0; Thu, 17 Feb 2022 02:55:51 +0200 (EET) Received: from mail-vs1-f45.google.com (mail-vs1-f45.google.com [209.85.217.45]) by ffbox0-bg.mplayerhq.hu (Postfix) with ESMTPS id F184B68007B for ; Thu, 17 Feb 2022 02:55:44 +0200 (EET) Received: by mail-vs1-f45.google.com with SMTP id d11so476330vsm.5 for ; Wed, 16 Feb 2022 16:55:44 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20210112; h=message-id:date:mime-version:user-agent:subject:content-language:to :references:from:in-reply-to:content-transfer-encoding; bh=wOlg9FcNui3EoG4GJ/ag4WAn9/ClSHQm4nKqau3cBzM=; b=WCY4MVhebPOgnHlFW0Qu++BSoz7uv4KZAxGD3Jv9nizyiVy2qCUBqBMN7HE4lyiMtd uCfl6sAYu7yFWO4zMSrSTtjrNfm9OAS38Uyuy7dySehsi4r1jObk8FmShroRLs5RJ+WN E/cjrUmf7xgHh2VoKnFZ0PGkwgODBFVr70z4R0EFnfYUMKCAWNiGpn6pXtPcDKM4e/2e ECihArAszLs6a/wOAfxogILFrqvbxtK3PFFNXyDKMxZu0oTPFXZY6iHCmK4BHOyzEd0O i3itp0MTRYG/8aEqLpsylcJG8Oti4oEyqBEMjdiYMuFN+/9aT1UHZBGEbsx56IpEDgEX +LsQ== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20210112; h=x-gm-message-state:message-id:date:mime-version:user-agent:subject :content-language:to:references:from:in-reply-to :content-transfer-encoding; bh=wOlg9FcNui3EoG4GJ/ag4WAn9/ClSHQm4nKqau3cBzM=; b=O6Ad9n2fO60Sp0pfXYhz1l3Zm7/O5LTjIs2fI1vlRZ3uKSDg+NJOqU0AWe9Sv+MMKz fdTtiG5JUGAIQNJ42iMDStAHu+4KPZ1QCGEj6IN2IccGEsFZvMWx6llDv4kfeUt/WcTw bD/dcJW71gHmkymAiO4ov86xL1yYjAtHNdXyAuSQi6jHgp62pRINR8DixqVs1bovmokC 2dKpXbh+AmGGGWJsgx6zs3AbIn2dsU9cHrB07TgVRoPUFnhkYKJB4jcxeYpjyQV9tY6B SM5A9Bq9M1phDaPY1Ej800QB+5e6I10nTstvuWinunVaV+fA2oQQjR5s2Bh8Q239Gss6 pIOA== X-Gm-Message-State: AOAM533FyRRRdDYBK3UcaI9YtMQ6R1RHaReeqHHnYABF49AJJwl5y5fi E1T/mWBeni0cXtarmACdliC/OqD3IP4= X-Google-Smtp-Source: ABdhPJxzCzKpFPy6gPVUV9RQTCxXFZoGjuEizzCm7BcacBj8+bF/074OnZcyUmkynM2vqIiePq/MdA== X-Received: by 2002:a67:c10c:0:b0:31b:6d5e:aa16 with SMTP id d12-20020a67c10c000000b0031b6d5eaa16mr180194vsj.18.1645059343710; Wed, 16 Feb 2022 16:55:43 -0800 (PST) Received: from [192.168.1.5] ([75.115.109.114]) by smtp.gmail.com with ESMTPSA id s18sm5866427vst.3.2022.02.16.16.55.43 (version=TLS1_3 cipher=TLS_AES_128_GCM_SHA256 bits=128/128); Wed, 16 Feb 2022 16:55:43 -0800 (PST) Message-ID: Date: Wed, 16 Feb 2022 19:55:42 -0500 MIME-Version: 1.0 User-Agent: Mozilla/5.0 (X11; Linux x86_64; rv:91.0) Gecko/20100101 Thunderbird/91.5.0 Content-Language: en-US To: "Helmut K. C. Tessarek" , FFmpeg development discussions and patches , ffmpeg@gyani.pro References: <20220208110240.4179-1-qyot27@gmail.com> <20220208110240.4179-4-qyot27@gmail.com> <76461c22-519c-9636-a957-5afe06b1281e@gmail.com> <4bfdbb23-2124-dd38-c091-f25a1c616cbb@gmail.com> <05c94ae2-6490-40cc-d53e-6cdc0da64ac0@evermeet.cx> <6e945450-e8c7-d5f0-e584-7f2eae676917@gmail.com> <31a813e6-6815-1f60-13db-e173d33ac79f@evermeet.cx> <2f7b5304-14c5-da5c-d49c-90d60fbbb6a8@gmail.com> <0eac6e0d-a957-c239-2c58-dd0c096c7412@evermeet.cx> From: Stephen Hutchinson In-Reply-To: <0eac6e0d-a957-c239-2c58-dd0c096c7412@evermeet.cx> Subject: Re: [FFmpeg-devel] [PATCH 3/3] configure: check avisynth header version 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 2/16/22 1:25 PM, Helmut K. C. Tessarek wrote: > > On 2022-02-16 02:37, Stephen Hutchinson wrote: >> There is another option, basically what Gyan suggested earlier: grab the >> release build of 3.7.1, fetch the extra headers from the Github repo, >> then copy either all the contents of the tarball's /usr directory into >> the system /usr directory (or wherever your working ${prefix} is), or >> just the 'avisynth' directory into ${prefix}/include. Then try FFmpeg >> again. > > This does not work. I compile static binaries. The filesonly tarball only > has dylibs. > > As I mentioned nefore:. 3 days ago everything worked fine. Now the ffmpeg > builds are broken and I can no longer compile ffmpeg. > > Is there any chancf you can add something to make it work again with 3.5.1 > which compiled withtout issues on macOS 10.14 and which I've been using > since it was released. > > FFmpeg dlopens AviSynth, it only needs the headers and doesn't try to link it. It has never linked to AviSynth. If 3.5.1 is working (and by that I assume you mean you're opening a Version() script in FFplay and it's showing you the video clip with the version and copyright information), then libavisynth.dylib is somewhere on your DYLD_LIBRARY_PATH, and you could just as easily set DYLD_LIBRARY_PATH to the /usr/lib directory in the -filesonly package and that Version() script will start reporting 3.7.1 instead. After fetching the extra headers in that sequence of commands, copy the fixed-up /usr/include/avisynth in the -filesonly package to wherever it is on your system you point FFmpeg's configure to to see AviSynth's headers, whether that's the default /usr/local/include or /usr/include or somewhere in your build root. You can completely omit copying the .dylibs and it won't care. At this point, just use latest git, since that's where the HEADERS_ONLY fix resides: git clone https://github.com/AviSynth/AviSynthPlus cd AviSynthPlus mkdir build && cd build cmake -DCMAKE_INSTALL_PREFIX:PATH=${TARGET} -DHEADERS_ONLY=ON ../ make VersionGen install And HEADERS_ONLY is exactly what it says on the tin: it only sets CMake to install the headers, and stops it from building the library, which wouldn't get linked to anyway. This all did expose a major problem with the version detection inside the frame properties initialization area in the demuxer, so that check needs to be simplified and not try to be so clever. Between HEADERS_ONLY from AviSynth+-git and the simplifying patch*, which I'll need to push sometime in the next day or so, that should completely resolve the problem. *http://ffmpeg.org/pipermail/ffmpeg-devel/2022-February/293128.html _______________________________________________ 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".