Good news!!!

The problem lies on the player, after removing the standalone MPC-HC and get the one from k-lite codec. It is recognized and running happily now!

Some times, SVP shows "no active playback"

and event log said:
Media: trying to get video params from FFDSHOW

After some more tests, I found out that if I launch the player from cmd, SVP show "no active playback" and the same event log result.

For Nintendo Maniac 64, almost 50% of youtube links result in "unable to render this file" in mpc-hc with svptube

Well if you prefer, here is the true case.

Event log:
Playback [9053a]: enabled while video is playing
Profile: using auto values [1]
Playback: playing at 59.94 [29.97 *2/1]

However, I have noted that if I reopen the file in the player (file>open), SVP tube works.
I think it may be the player starting too fast for SVP to capture.

Well, I paused the video to stop mpc-hc from crashing.

To Chainik, yes win 10 nvidia.

Here's what the event log said:

  • Media: trying to get video params from FFDSHOW

  • Media: timeout capturing frame

  • VideoPlayer: unable to extract video information

Hi everyone, I have written a C++ program that works like SVPtube, using youtube-dl as its core.

I start my player like this:

CreateProcess(player.c_str(), const_cast<char *>(cmdline.c_str()), NULL, NULL, false, 0, NULL,NULL,&si,&pi);

Also tried this:

ShellExecute(NULL, "open", player.c_str(), para.c_str(), NULL, SW_SHOWDEFAULT );

SVP maganger successfully detected the player, but it doesn't work. It doesn't process video and my video stream freezes. The "SVP enabled" words never appear.

I have checked that both the player and the SVP manager are running as normal user.

It that the problem with my code? What should I do?