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

DMARC-Filter: OpenDMARC Filter v1.4.2 delorie.com 62LAKxbV1354889
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 62LAKxbV1354889
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=Bpa6oSF8
X-Recipient: archive-cygwin AT delorie DOT com
DKIM-Filter: OpenDKIM Filter v2.11.0 sourceware.org 4FEFB4BC897B
DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=cygwin.com;
s=default; t=1774088458;
bh=LJ8hEamrKfJwQq3Jl7RpJz8a6N3bg9c9rlmU5JrP8WU=;
h=Date:To:Subject:In-Reply-To:References:List-Id:List-Unsubscribe:
List-Archive:List-Post:List-Help:List-Subscribe:From:Reply-To:Cc:
From;
b=Bpa6oSF8tEp1CDV613ORnaYcZljeKKfYbOiBEImA6idCh9vwAX2yoQ22n2he5fJeG
yum+0dGpN16YyWGUvzC+86bjDdBV0sigstdku2NtUX4zb5HBIv2QDU0tLUKaS4HdAQ
RvwrGnMpROhsRnYODZVprRHkAnpqLubhsLBcSovY=
X-Original-To: cygwin AT cygwin DOT com
Delivered-To: cygwin AT cygwin DOT com
DMARC-Filter: OpenDMARC Filter v1.4.2 sourceware.org 93CFF4B9209D
ARC-Filter: OpenARC Filter v1.0.0 sourceware.org 93CFF4B9209D
ARC-Seal: i=1; a=rsa-sha256; d=sourceware.org; s=key; t=1774088406; cv=none;
b=vZba8vk8KbKXylnD4fR3rcC7BPWZal7tG+3kg9iqaeaSpbQOQnljYEST0tren7GN356ApROGITt7vCk8vt1nL1zpZEq5ymSHblCht55ithFzIo3y79EyE7ch8MEX8K9r4QAmlDSSRgdjdsaNiVF8LEBZ6xAvjzDSzLKG9KtKr+8=
ARC-Message-Signature: i=1; a=rsa-sha256; d=sourceware.org; s=key;
t=1774088406; c=relaxed/simple;
bh=wjkyjUr5nedewKNPhO7mVuGDyPj7YHErn7bweDRmgAo=;
h=DKIM-Signature:Date:From:Message-ID:To:Subject:MIME-Version;
b=o9NyDJ+Ky0Cxz4dpxouIi0j6D6l6PH4rf/E/OXTvy4aQth4v262Xvj2Z8Q89cPO/E60E04VRdAHoq27hKjwveEm+1/X9HRwFXEcJkbGslA1SHpstmMvVYbEWeA4/GIJAa7JqPqcee3AWLeXXWurhy2UEHMzyGOvdwKQnSUL6K+c=
ARC-Authentication-Results: i=1; server2.sourceware.org
DKIM-Filter: OpenDKIM Filter v2.11.0 sourceware.org 93CFF4B9209D
X-Yandex-Fwd: 1
Date: Sat, 21 Mar 2026 13:05:52 +0300
X-Mailer: The Bat! (v11.4.3) Home
Message-ID: <1203797741.20260321130552@yandex.ru>
To: jeremie bergeron <jeremiebergeron1515 AT gmail DOT com>, cygwin AT cygwin DOT com
Subject: Re: [ffmpeg hevc] Build require amd gpu
In-Reply-To: <CAL8iy8NHc+wMyJFyrRqJVCk=rCcC2oHS=8TKe_yOd4bwQuAXUg@mail.gmail.com>
References: <CAL8iy8NHc+wMyJFyrRqJVCk=rCcC2oHS=8TKe_yOd4bwQuAXUg AT mail DOT gmail DOT com>
MIME-Version: 1.0
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-Unsubscribe: <https://cygwin.com/mailman/options/cygwin>,
<mailto:cygwin-request AT cygwin DOT com?subject=unsubscribe>
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: Andrey Repin via Cygwin <cygwin AT cygwin DOT com>
Reply-To: cygwin AT cygwin DOT com
Cc: Andrey Repin <anrdaemon AT yandex DOT ru>
Errors-To: cygwin-bounces~archive-cygwin=delorie DOT com AT cygwin DOT com
Sender: "Cygwin" <cygwin-bounces~archive-cygwin=delorie DOT com AT cygwin DOT com>

Greetings, jeremie bergeron!

> 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

> Would it be possible to disable this hardware decoder?

Yes, and Google easily suggests at least 2 ways to do it quicky.
Simplest would be to explicitly tell ffprobe to use `-c:v hevc` avoiding the
initialization of hardware-bound hevc_amf.
Another one is to check if ffprobe inheriting some of the ffmpeg configuration
options, like an environment variable or a configuration file forcing hardware
acceleration globally.
In some builds, ffprobe might be inheriting settings that trigger -hwaccel.
Ensure you aren't accidentally passing -hwaccel amf in your command or
environment.


-- 
With best regards,
Andrey Repin
Saturday, March 21, 2026 13:02:27

Sorry for my terrible english...


-- 
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