microsoft / FFmpegInterop

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

Exception while debugging the MediaPlayerCPP sample app #235

Open sajetan opened 6 years ago

sajetan commented 6 years ago

Hello,

I could successfully compile and build FFmpegInterop but I hit the roadblock while running the MediaPlayerCPP sample app. Please find the below trace for more information.

'MediaPlayerCPP.exe' (Win32): Loaded 'C:\Windows\System32\igdusc64.dll'. Cannot find or open the PDB file. Exception thrown at 0x00007FF836E3A388 in MediaPlayerCPP.exe: Microsoft C++ exception: Platform::COMException ^ at memory location 0x00000061F1BFEFB0. HRESULT:0x8007007E The specified module could not be found. WinRT information: The specified module could not be found. Stack trace: >[External Code] >MediaPlayerCPP.exe!MediaPlayerCPP::App::App() Line 53 >[External Code] 'MediaPlayerCPP.exe' (Win32): Loaded 'C:\Windows\System32\d2d1.dll'. Symbols loaded. 'MediaPlayerCPP.exe' (Win32): Loaded 'C:\Windows\System32\DWrite.dll'. Symbols loaded. The thread 0x1c74 has exited with code 0 (0x0). Unhandled exception at 0x00007FF824F23C97 (Windows.UI.Xaml.dll) in MediaPlayerCPP.exe: 0xC000027B: An application-internal exception has occurred (parameters: 0x000001FCDF62BB90, 0x0000000000000002).

I get the same exception when I try to run the MediaPlayerCS sample app. The exception points to Line 53 in MediaPlayerCPP.exe!MediaPlayerCPP::App::App() where the below functions are called FFmpegInterop::FFmpegInteropLogging::SetLogLevel(FFmpegInterop::LogLevel::Info); FFmpegInterop::FFmpegInteropLogging::SetLogProvider(this);

what could be the issue?

NHarishGit commented 4 years ago

I have exact same issue, did you find the cure ?