microsoft / microsoft/FFmpegInterop

After compiling I'm getting Payload File does not exist errors

Open
#276 3 comments 0 reactions 0 assignees View on GitHub

Nobody has claimed this yet.

Dominant language
C++
Stars
1.4k
Forks
319
PR merge metrics
No merged PRs in 30d

Description

Hey all!

I've compiled FFmpeg using both the BuildFFmpeg.bat and following the guide here: https://trac.ffmpeg.org/wiki/CompilationGuide/WinRT

When I open the FFmpegWin10 project and attempt to build I get the following errors:

Error		Payload file 'C:\Users\joshu\source\repos\FFmpegInterop\ffmpeg\Build\Windows10\x64\bin\swscale-4.dll' does not exist.	MediaPlayerCS		
Error		Payload file 'C:\Users\joshu\source\repos\FFmpegInterop\ffmpeg\Build\Windows10\x64\bin\swresample-2.dll' does not exist.	MediaPlayerCS			
Error		Payload file 'C:\Users\joshu\source\repos\FFmpegInterop\ffmpeg\Build\Windows10\x64\bin\avutil-55.dll' does not exist.	MediaPlayerCS			
Error		Payload file 'C:\Users\joshu\source\repos\FFmpegInterop\ffmpeg\Build\Windows10\x64\bin\avformat-57.dll' does not exist.	MediaPlayerCS			
Error		Payload file 'C:\Users\joshu\source\repos\FFmpegInterop\ffmpeg\Build\Windows10\x64\bin\avfilter-6.dll' does not exist.	MediaPlayerCS			
Error		Payload file 'C:\Users\joshu\source\repos\FFmpegInterop\ffmpeg\Build\Windows10\x64\bin\avdevice-57.dll' does not exist.	MediaPlayerCS			
Error		Payload file 'C:\Users\joshu\source\repos\FFmpegInterop\ffmpeg\Build\Windows10\x64\bin\avcodec-57.dll' does not exist.	MediaPlayerCS	

Those files do exist in my Build folder, however, they are all named one increment (version?) higher. So "avcodec-57.dll" is "avcodec-58.dll" in the correct destination. And ideas?

image

If I manually change all the file names, the project will build but I am unable to open any media with the example player.

Thanks for any help! Apologies if my terminology is vague or incorrect. I'm quite new to development.

UPDATE
I was able to get it working with FFmpegInteropX so it seems the issue was not with my compiled FFmpeg.

Contributor guide

No contributing guide indexed for this repository

First steps

  1. Read the whole issue, then the project's contributing guide.
  2. Comment on the issue to say you are picking it up — it saves two people doing the same work.
  3. Fork the repository and make your change on a branch.
  4. Open a pull request that references the issue number.

Research direction

The report names BuildFFmpeg.bat and the FFmpegWin10 project, with errors in MediaPlayerCS, but no source file or test. Compare the DLL versions produced by the compilation guide with the payload entries used by FFmpegWin10, then reproduce the example-player build and media-open steps. Done means the project builds without renaming DLLs and the example player opens media.

Written by the indexing model from the issue text.

Assessment

Tech stack
cpp
Domain
desktop
Issue type
Bug
Difficulty
4/5
Estimated time
3-5 days
Activity status
Stale
Clarity
Needs clarification
Newbie friendliness
25/100

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.