microsoft / FFmpegInterop

This is a code sample to make it easier to use FFmpeg in Windows applications.
Apache License 2.0
1.27k stars 308 forks source link

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

Open jjouppi opened 4 years ago

jjouppi commented 4 years ago

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.

lukasf commented 4 years ago

Glad to hear that you could get it working. Closing this issue.

lukasf commented 4 years ago

Oh lol, only now I realized that this issue was not opened in FFmpegInteropX repo. Not really my responsibility to close issues here...

jjouppi commented 4 years ago

Hey! Sorry for not being clear. Yeah it seems the issue is with FFmpegInterlop as I did not have any issues using the same compiled FFmpeg with FFmpegInterlopx. Thanks a ton for your work on these projects!!