Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

"error opening file using libavcodec" message could be improved #520

Open
voltagex opened this issue Apr 16, 2023 · 4 comments
Open

"error opening file using libavcodec" message could be improved #520

voltagex opened this issue Apr 16, 2023 · 4 comments
Labels

Comments

@voltagex
Copy link

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.

@voltagex voltagex added the bug label Apr 16, 2023
@voltagex
Copy link
Author

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.

log.txt

@voltagex
Copy link
Author

@ChristianFeldmann
Copy link
Member

Yes so far we have no support for FFmpeg 6.0.

@giantcow
Copy link

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

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Projects
None yet
Development

No branches or pull requests

3 participants