Topic: SVP unable to process while successfully detected the player

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?

Post's attachments

123.png, 30.76 kb, 303 x 193
123.png 30.76 kb, 463 downloads since 2016-05-06 

Re: SVP unable to process while successfully detected the player

benny10033

SVP maganger successfully detected the player, but it doesn't work

What is mean? What you see in the SVP log?
SVP tray menu - Information - Events log

Re: SVP unable to process while successfully detected the player

I know it's not really what this topic is for, but may I ask what it is that SVPtube cannot do that your program can do?

Re: SVP unable to process while successfully detected the player

> SVP maganger successfully detected the player, but it doesn't work. It doesn't process video and my video stream freezes.

it works, but at the moment SVP kicks in the player hangs and SVP shows "paused" - which is true
end of story big_smile

win10, nvidia?

5 (edited by benny10033 06-05-2016 23:21:37)

Re: SVP unable to process while successfully detected the player

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

Re: SVP unable to process while successfully detected the player

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.

Post's attachments

123.png, 48.39 kb, 328 x 113
123.png 48.39 kb, 467 downloads since 2016-05-06 

Re: SVP unable to process while successfully detected the player

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.

Re: SVP unable to process while successfully detected the player

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!