YUView
YUView copied to clipboard
"error opening file using libavcodec" message could be improved
I tried to open an MKV file and got "error opening file using libavcodec". The links for Windows on https://github.com/IENT/YUView/wiki/FFmpeg#install-ffmpeg are broken it seems.
I am using the v2.13 zip file version.
I tried putting the ffmpeg files from https://www.gyan.dev/ffmpeg/builds/packages/ffmpeg-6.0-full_build-shared.7z in:
The directory that was set in "File" -> "Settings"
The subdirectory "ffmpeg" in the place where the YUView executable is located.
like the wiki says.
Using the ffmpeg subdirectory failed silently, but when I pointed to it in settings, a log was generated that tells me that FFmpeg 6.0 is too new.
https://www.gyan.dev/ffmpeg/builds/packages/ffmpeg-5.1.2-full_build-shared.7z does work though.
Yes so far we have no support for FFmpeg 6.0.
I ran into the same issue, docs are not mentioning the requirement that FFmpeg < 6.
Sharing in case it helps anyone else running into this issue.
I was able to solve this by using the 4.4.1
version branch in scoop:
PS C:\Users\kayoc> scoop install git
...
PS C:\Users\kayoc> scoop bucket add versions
...
PS C:\Users\kayoc> scoop install versions/ffmpeg-shared-4.4.1
...
PS C:\Users\kayoc> dir C:\Users\kayoc\scoop\apps\ffmpeg-shared-4.4.1\4.4.1\bin\
Directory: C:\Users\kayoc\scoop\apps\ffmpeg-shared-4.4.1\4.4.1\bin
Mode LastWriteTime Length Name
---- ------------- ------ ----
-a---- 10/25/2021 4:25 AM 65213440 avcodec-58.dll
-a---- 10/25/2021 4:25 AM 3524096 avdevice-58.dll
-a---- 10/25/2021 4:25 AM 35974656 avfilter-7.dll
-a---- 10/25/2021 4:25 AM 14860288 avformat-58.dll
-a---- 10/25/2021 4:25 AM 1228800 avutil-56.dll
-a---- 10/25/2021 4:25 AM 353280 ffmpeg.exe
-a---- 10/25/2021 4:25 AM 1536000 ffplay.exe
-a---- 10/25/2021 4:25 AM 188416 ffprobe.exe
-a---- 10/25/2021 4:25 AM 133632 postproc-55.dll
-a---- 10/25/2021 4:25 AM 433664 swresample-3.dll
-a---- 10/25/2021 4:25 AM 562688 swscale-5.dll
4.4.1
looks to be the only built version available: https://scoop.sh/#/apps?q=ffmpeg-shared