microsoft / microsoft/FFmpegInterop

Exception while debugging the MediaPlayerCPP sample app

Open
#235 1 comment 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

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?

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

Start by reproducing the failure in the MediaPlayerCPP and MediaPlayerCS sample apps and inspect the exception at App::App() line 53. Read the calls to FFmpegInteropLogging::SetLogLevel and SetLogProvider alongside the 0x8007007E trace. Done means identifying the missing module or setup requirement and documenting or correcting the cause.

Written by the indexing model from the issue text.

Assessment

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

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.