www.delorie.com/archives/browse.cgi   search  
Mail Archives: cygwin/2026/03/21/14:35:00

DMARC-Filter: OpenDMARC Filter v1.4.2 delorie.com 62LIYxqQ1688487
Authentication-Results: delorie.com; dmarc=pass (p=none dis=none) header.from=cygwin.com
Authentication-Results: delorie.com; spf=pass smtp.mailfrom=cygwin.com
DKIM-Filter: OpenDKIM Filter v2.11.0 delorie.com 62LIYxqQ1688487
Authentication-Results: delorie.com;
dkim=pass (1024-bit key, unprotected) header.d=cygwin.com header.i=@cygwin.com header.a=rsa-sha256 header.s=default header.b=LmalSgfT
X-Recipient: archive-cygwin AT delorie DOT com
DKIM-Filter: OpenDKIM Filter v2.11.0 sourceware.org C5B594BB58B2
DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=cygwin.com;
s=default; t=1774118098;
bh=1zHMAGav1ZEszDMMu6NmFAG0bNM5GeqhQsBmbmoB5gI=;
h=References:In-Reply-To:Date:Subject:To:List-Id:List-Unsubscribe:
List-Archive:List-Post:List-Help:List-Subscribe:From:Reply-To:
From;
b=LmalSgfTV+Ph1cpo22dDwVji1voJFeKG/5Lr7gzVFeZWGp4wQKWTipDlalwo0pZjb
+QSZ1pqMSkEF/S8l4J2w8j4vqrvUOYps+HSZoLZWJ59M7+IL2Q1n0KuEkfs1lbRwb0
ARZJBDwfUAVcJp8gok1D4J/TeWeKAxK5rqOuqjfU=
X-Original-To: cygwin AT cygwin DOT com
Delivered-To: cygwin AT cygwin DOT com
DMARC-Filter: OpenDMARC Filter v1.4.2 sourceware.org 155DA4BB3BFB
ARC-Filter: OpenARC Filter v1.0.0 sourceware.org 155DA4BB3BFB
ARC-Seal: i=2; a=rsa-sha256; d=sourceware.org; s=key; t=1774118080; cv=pass;
b=IMpTuYV4yX+QLUM5KOJ8vXJiqfHTgnyZtrWM80+SkwkZD9Kmnaa7Fe5tNCjcKQ+KGKTBNxY6fyCSFo8pjPkb1vwmIeqONqPl/cTruC7YsbW7MhkJonaKZ0eXytq8ACPg4iuoWV3o8A4ETnFQqWYst1lcMPeHh7INooC9MrQgejM=
ARC-Message-Signature: i=2; a=rsa-sha256; d=sourceware.org; s=key;
t=1774118080; c=relaxed/simple;
bh=gvIQjanSnr8cD7w0NHXThySxTY1Yd8qliXsx04Qr+B4=;
h=DKIM-Signature:MIME-Version:From:Date:Message-ID:Subject:To;
b=c0Ub3SjRduyySR/zLQEMZplOcCnctE3PC4MhvHRvQ4MNw2sXU5KQtxq7sEd3sURqp25ymb2mOUBqwy7c4dh3dZMkuoTwpsv+uBJhIMwEtfgWglV4g2V6qsUPQuCaU5PQbGC0itKVl3qVIHOn6D6tA4RPd5kq1ctBVpb20SADkzE=
ARC-Authentication-Results: i=2; server2.sourceware.org
DKIM-Filter: OpenDKIM Filter v2.11.0 sourceware.org 155DA4BB3BFB
ARC-Seal: i=1; a=rsa-sha256; t=1774118079; cv=none;
d=google.com; s=arc-20240605;
b=Cat3WomcGKbQ90W90hsrGj8C4Ohwm5OI3a1a4y8RX3VTtTrNO6pw4snjNmxHh6Q7nF
owbnkIqXALbEsg8ilTe+mlv8eF3Yr+YMM/6wEv+k3CalXztyZ+o1cHruIJTZ791ze08U
KIllr3bhr99rsjdkrM/+j2MhfZPBkCiCLOhJxkRrlF1INAGCLw40Oz7qWkt4kZz17lYQ
Ikb6PWmU0sAaiH/Zeg3sCyKAIXF71H/9IOXm/1dXOLXUQTClBsmIUzDB7hjr0sO2w5YS
nEBueAFeL6h+kXsEjouau9Z4avJ+VBvKnaCJzhByJMO/ISiLzWL0PmAaJYIyM2WAmGD/
YOlA==
ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com;
s=arc-20240605;
h=to:subject:message-id:date:from:in-reply-to:references:mime-version
:dkim-signature;
bh=kmKUdTIIt3UA+q8WlRfIOcaUOwaU7oSyDyqUKCX2NDc=;
fh=UKNFaOBO97U3RYl3PEse//nArTqr7SLJjCCEBz281Ew=;
b=kLpYnjLZui6DIt1pWi1BpELE5kF4M3nKovVDkPODrCxuFjITF95zo392tGdci4FObF
JpeM82Ob0DpdEllHAsfi3Qv0jKB83CBZKX1u/Z250Dr0c5GltLQqHMlan8MycAf4+xiA
Vno5+EKFNBakWEWWy8hIxo0vo52Rakbnd6eo39S+/vwq7UASxpj130JxM7tPSf+s5YnQ
VlA1B4wifrfVinOy0bn6BfIjo1lBFyz5TU7O8SkpPLbT9W+LoBvs3iOTISV5l1SsM1AU
AWCccC12P81xpWJhoShwlnoUt/roldkvZNsSapQyIBRcZsHuixVQX8Om31+uLbVPlK6C
UEVA==; darn=cygwin.com
ARC-Authentication-Results: i=1; mx.google.com; arc=none
X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed;
d=1e100.net; s=20251104; t=1774118079; x=1774722879;
h=to:subject:message-id:date:from:in-reply-to:references:mime-version
:x-gm-gg:x-gm-message-state:from:to:cc:subject:date:message-id
:reply-to;
bh=kmKUdTIIt3UA+q8WlRfIOcaUOwaU7oSyDyqUKCX2NDc=;
b=I753g85u0hlYOIwJZJs33FXwU8xTGaVqGFLNkPCLzdHjW2scz/rUrNSWng+rxaBHha
gq9roZ7meiKXZlnNPJIY+veFxZ+yR72D0Y/peyfAiitGuNRJWXiusgJoTL8Y1kjioXad
4qxbjbIf/LTao5zekJk+Uh+LBmrbkepGVo7Y6NjCdwF2S25hH37G+/4tvoqpj+V1I0iu
+2vakaRS/JAg/tavQsOoFdg2LMUDWahXD4saHpwAYrfKVfWmKV8nnI31YG8ouKb3Wg0w
st30f7GfXg7o9q37plyVhSW7duVaOwPFwQhvjisAMRMhvTF+BHqtZVGCZeOkzZzvst8j
abbA==
X-Gm-Message-State: AOJu0Yzypm6LdtotlB84EDV5uBL0pRdaTzIEuehHzW9oPfa6zGQDMiGv
TwOzgGvR8wL18Q3drWRVTxKgcoc8QaAf627xYdKpzi5YWKVhAXzmyo6mdtnF1ghRdnFTan1J8p0
wTs3f9SQMNjkj5YonMpeZCkEKbspCJj8EVlYo
X-Gm-Gg: ATEYQzxg7uvIJCO/OjGnphQXPJpqGn60AznUmZW15AAC6qltRCPioPdWkzQoVlf5A9R
4CwOX0i4WBaOnaiF8xOE/mFFv9iUfBqZweQ+LTJ2GHpH1bfSZKIEDS9L4Vpp+UBj37xT3VIxkiN
6AMVhnchXDSy5ePJAuLXiHHpmzEVLccdwACGlFMa9jLc0jcT4fxIOlU0tfkL3gcpj4zDkeTT022
DiI64/ycvRvIWRayUArMHj8kKnR1RQoTL+u72u1+VKTx+I4W0S9VCK5AB04W9bFd/r4/BdWoSCx
L+7oxzz/
X-Received: by 2002:a05:6102:3581:b0:5f5:514f:4e59 with SMTP id
ada2fe7eead31-602aed0d48bmr3167068137.27.1774118079155; Sat, 21 Mar 2026
11:34:39 -0700 (PDT)
MIME-Version: 1.0
References: <CAL8iy8NHc+wMyJFyrRqJVCk=rCcC2oHS=8TKe_yOd4bwQuAXUg AT mail DOT gmail DOT com>
<1203797741 DOT 20260321130552 AT yandex DOT ru>
In-Reply-To: <1203797741.20260321130552@yandex.ru>
Date: Sat, 21 Mar 2026 14:34:27 -0400
X-Gm-Features: AaiRm53cF0__A2cnw4XS92ofVmmJpRjkmT6XSQDKw4qIyILgXZ1LyE_WaRHqCAw
Message-ID: <CAL8iy8MqZC3pWrEv1Owcs+1RUwsThYRiV-N3p2B2MFrmrq5QHA@mail.gmail.com>
Subject: Re: [ffmpeg hevc] Build require amd gpu
To: cygwin AT cygwin DOT com
X-Content-Filtered-By: Mailman/MimeDel 2.1.30
X-BeenThere: cygwin AT cygwin DOT com
X-Mailman-Version: 2.1.30
List-Id: General Cygwin discussions and problem reports <cygwin.cygwin.com>
List-Archive: <https://cygwin.com/pipermail/cygwin/>
List-Post: <mailto:cygwin AT cygwin DOT com>
List-Help: <mailto:cygwin-request AT cygwin DOT com?subject=help>
List-Subscribe: <https://cygwin.com/mailman/listinfo/cygwin>,
<mailto:cygwin-request AT cygwin DOT com?subject=subscribe>
From: jeremie bergeron via Cygwin <cygwin AT cygwin DOT com>
Reply-To: jeremie bergeron <jeremiebergeron1515 AT gmail DOT com>
Sender: "Cygwin" <cygwin-bounces~archive-cygwin=delorie DOT com AT cygwin DOT com>
X-MIME-Autoconverted: from base64 to 8bit by delorie.com id 62LIYxqQ1688487

By curiosity, what is the patent issue?
The software decoder for hevc is LGPLv2.1, so why does it create an issue?

Note that this configure command will contain the software hevc decoder
(note that I haven't enabled gpl): ./configure --disable-programs
--disable-debug --disable-doc --disable-autodetect --enable-libdav1d
--disable-avdevice

Le sam. 21 mars 2026 à 06:20, Takashi Yano <takashi DOT yano AT nifty DOT ne DOT jp> a
écrit :

> On Fri, 20 Mar 2026 23:23:33 -0400
> jeremie bergeron wrote:
> >* With ffmpeg 8.0.1-4, if I run the command: ffprobe hdr10tags-stream.mp4, I
> *>* get this error:
> *>* [AMF @ 0xa00056680] DLL amfrt64.dll failed to open
> *>* [hevc_amf @ 0xa00053800] Failed to create  hardware device context (AMF) :
> *>* Unknown error occurred
> *>* [mov,mp4,m4a,3gp,3g2,mj2 @ 0xa0004ca40] Failed to open codec in
> *>* avformat_find_stream_info
> *>* [AMF @ 0xa00056a40] DLL amfrt64.dll failed to open
> *>* [hevc_amf @ 0xa00053800] Failed to create  hardware device context (AMF) :
> *>* Unknown error occurred
> *> >* It is pretty normal that it fails since I don't have an amd gpu, so I
> *>* don't have the amfrt64 dll.
> *> >* Note that any hevc file will produce this error. hdr10tags-stream.mp4 is
> *>* available here:
> *>* https://storage.googleapis.com/ffms2tests/hdr10tags-stream.mp4 <https://storage.googleapis.com/ffms2tests/hdr10tags-stream.mp4>
> *> >* Would it be possible to disable this hardware decoder?
> *
> AFAIK, there is no options for ffprobe that disable hardware decoding.
> Usually, ffmpeg uses software decoder for hevc, however it is not
> included in cygwin ffmpeg package due to patent issue.
> So, ffmpeg attempts to use
> hevc_amf
> hevc_cuvid
> hevc_qsv
> If you have none of AMD/NVIDIA/INTEL GPU, you cannnot use HEVC codec
> at all unfortunately.
>
> In addition, when using NVIDIA GPU, but you do not specify "-c:v hevc_cuvid",
> ffmpeg attempts to use hevc_amf first, then after some errors, automatically
> uses hevc_cuvid as you observed.
>
> --
> Takashi Yano <takashi DOT yano AT nifty DOT ne DOT jp>
>
>

-- 
Problem reports:      https://cygwin.com/problems.html
FAQ:                  https://cygwin.com/faq/
Documentation:        https://cygwin.com/docs.html
Unsubscribe info:     https://cygwin.com/ml/#unsubscribe-simple

- Raw text -


  webmaster     delorie software   privacy  
  Copyright © 2019   by DJ Delorie     Updated Jul 2019