Re: [ffmpeg hevc] Build require amd gpu
Andrey Repin via Cygwin <[email protected]> Sat, 21 Mar 2026 13:05:52 +0300
| Newsgroups | gmane.os.cygwin |
|---|---|
| Message-ID | <[email protected]> |
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