Topic: Stops working with livestreamer

When I first install SVP, it will correctly work whenever I open any stream through MPC with livestreamer. However, after a short time (maybe 1 day) it will stop working. When I open a stream the SVP icon will either say "waiting for ffdshow video" or it will say something like "the player is in a paused state" (I don't remember exactly the wording it uses).

I don't touch any settings at all and this happens. I don't even restart my PC and it happens. To fix it temporarily all I need to do is reinstall SVP.

There are no other codecs or filters installed on my PC other than what comes with SVP.
I'm using the MPC that comes with SVP, there are no other copies on my PC.
Windows 8.1 x64.

Re: Stops working with livestreamer

tried it with a random Youtube video - it works  hmm

please be more specific - URL of the stream, SVP log file, livestreamer configuration

Re: Stops working with livestreamer

It happens with any Twitch stream, when it breaks again I'll test streams from other sources.

Where do I find SVP's log?

This is my livestreamer config (again, I'll test default settings when it breaks):
player="E:\Program Files\SVP\MPC-HC\mpc-hc.exe"
ringbuffer-size=64M
hls-segment-threads=3
hls-live-edge=4

Re: Stops working with livestreamer

Larwood
Where do I find SVP's log?

Information -> Last launch log

my livestreamer config

http or pipe?

Re: Stops working with livestreamer

pipe, I did try http but only one time, so it could be both

6 (edited by Larwood 15-07-2015 15:14:30)

Re: Stops working with livestreamer

OK log below, at 21:18:06 21:25:22 and 22:23:43 I started a twitch stream using pipe (default settings).
At 23:02:24 I played a youtube video (default settings).
At 23:06:09 I started a twitch stream using http.
All through livestreamer.


13:46:19.552; Start: SVPMgr 3.1.7 (70) starts...
13:46:19.552; AppDataPath: C:\ProgramData (ANSI)
13:46:19.552; Start: read settings file settings.ini
13:46:19.552; Start: load language file - English. Duration: 329 ms
13:46:19.881; Start: check Avisynth installed
13:46:19.881; Start: clear Logs folder. Duration: 15 ms
13:46:19.896; Start: CPU and threads count detection
CPU: Intel Core i5-3470 @ 3.20GHz [4 threads] (1338)
13:46:19.896; Start: SVPMgr folders prepare. Duration: 141 ms
13:46:20.037; Start: read settings file SVPMgr.ini
13:46:20.037; Start: GPUs settings detection
GPU_11: AMD Radeon HD 7800 Series (3200)
13:46:20.709; Start: monitors settings detection
Display#00010001: 1920 x 1080 @ 59
13:46:20.709; Start: disable LNG-file write when UAC enabled
13:46:20.709; Start: change SVP-manager priority
13:46:20.709; Start: register hotkeys. Duration: 234 ms
13:46:20.943; Start: get versions of modules used
ffdshow.ax: 1.3.4533
avisynth.dll: Avisynth MT, 2.5.8.6 (SVP edition) (CRC32:5ED58E27)
svpflow1.dll: 2.0.4
svpflow2.dll: 2.0.2
13:46:20.943; Start: refresh autostart state in registry
13:46:20.943; Start: some more work with registry
13:46:20.943; Start: create menu. Duration: 63 ms
13:46:21.006; Start: update settings file settings.ini. Duration: 15 ms
13:46:21.021; Start: prepare "About the program" window. Duration: 125 ms
13:46:21.146; Start: enable ffdShow waiting mode
13:46:21.146; Start: prepare to work is complete
13:46:21.146; RefreshSVP
13:46:21.146; ===== Waiting for ffdshow video

19:20:25.048; Screen mode change detected
Display#00010001: 1920 x 1080 @ 59
19:20:47.755; Screen mode change detected
Display#00010001: 1920 x 1080 @ 59
19:21:45.098; Screen mode change detected
Display#00010001: 1920 x 1080 @ 59
19:33:50.352; Screen mode change detected
Display#00010001: 1920 x 1080 @ 59
19:37:46.964; Screen mode change detected
Display#00010001: 1920 x 1080 @ 59
19:43:37.278; Screen mode change detected
Display#00010001: 1920 x 1080 @ 59
19:56:45.449; Screen mode change detected
Display#00010001: 1920 x 1080 @ 59
20:00:04.556; Screen mode change detected
Display#00010001: 1920 x 1080 @ 59
20:00:31.417; Screen mode change detected
Display#00010001: 1920 x 1080 @ 59
20:01:06.938; Screen mode change detected
Display#00010001: 1920 x 1080 @ 59
20:23:27.816; Screen mode change detected
Display#00010001: 1920 x 1080 @ 59
20:23:28.394; Screen mode change detected
Display#00010001: 1920 x 1080 @ 59
20:50:08.163; Screen mode change detected
Display#00010001: 1920 x 1080 @ 59
21:02:46.024; Screen mode change detected
Display#00010001: 1920 x 1080 @ 59
21:02:46.540; Screen mode change detected
Display#00010001: 1920 x 1080 @ 59
21:18:06.281; Performance statistics:
  Waiting for ffdshow video
  CPU usage 9%  Duration: 7:31:45  SVP Index 0x
  Memory used at start:0 at end:0 stable
21:18:06.283; ===== Detected playback with ffdShow. AppName: mpc-hc.exe, PID: 4916, supports 2GB RAM ONLY. Patch video player executable with "4GB Patch"
21:18:06.408; used avisynth.dll: Avisynth MT, 2.5.8.6 (SVP edition) (CRC32:5ED58E27) from C:\WINDOWS\system32\
21:18:06.414; GetDimensionAndFPS_fromOSD start. Duration: 729 ms
21:18:07.143; ===== The player is in pause state

21:25:22.148; Performance statistics:
  Waiting for ffdshow video
  CPU usage 9%  Duration: 7:15  SVP Index 0x
  Memory used at start:0 at end:0 stable
21:25:22.150; ===== Detected playback with ffdShow. AppName: mpc-hc.exe, PID: 4788, supports 2GB RAM ONLY. Patch video player executable with "4GB Patch"
21:25:22.162; used avisynth.dll: Avisynth MT, 2.5.8.6 (SVP edition) (CRC32:5ED58E27) from C:\WINDOWS\system32\
22:23:43.158; Performance statistics:
  Waiting for ffdshow video
  CPU usage 6%  Duration: 58:21  SVP Index 0x
  Memory used at start:0 at end:0 stable
22:23:43.161; ===== Detected playback with ffdShow. AppName: mpc-hc.exe, PID: 4560, supports 2GB RAM ONLY. Patch video player executable with "4GB Patch"
22:23:43.172; used avisynth.dll: Avisynth MT, 2.5.8.6 (SVP edition) (CRC32:5ED58E27) from C:\WINDOWS\system32\
23:02:24.658; Performance statistics:
  Waiting for ffdshow video
  CPU usage 8%  Duration: 38:41  SVP Index 0x
  Memory used at start:0 at end:0 stable
23:02:24.661; ===== Detected playback with ffdShow. AppName: mpc-hc.exe, PID: 5680, supports 2GB RAM ONLY. Patch video player executable with "4GB Patch"
23:02:24.672; used avisynth.dll: Avisynth MT, 2.5.8.6 (SVP edition) (CRC32:5ED58E27) from C:\WINDOWS\system32\
23:06:09.158; Performance statistics:
  Waiting for ffdshow video
  CPU usage 6%  Duration: 3:45  SVP Index 0x
  Memory used at start:0 at end:0 stable
23:06:09.161; ===== Detected playback with ffdShow. AppName: mpc-hc.exe, PID: 6872, supports 2GB RAM ONLY. Patch video player executable with "4GB Patch"
23:06:09.173; used avisynth.dll: Avisynth MT, 2.5.8.6 (SVP edition) (CRC32:5ED58E27) from C:\WINDOWS\system32\

7 (edited by Larwood 15-07-2015 15:19:25)

Re: Stops working with livestreamer

Oh and this is what it looks like when it works normally with a local video file:

23:17:43.861; Performance statistics:
  Waiting for ffdshow video
  CPU usage 2%  Duration: 0:47  SVP Index 0x
  Memory used at start:0 at end:0 stable
23:17:43.864; ===== Detected playback with ffdShow. AppName: mpc-hc.exe, PID: 6844, supports 4GB RAM
23:17:43.875; used avisynth.dll: Avisynth MT, 2.5.8.6 (SVP edition) (CRC32:5ED58E27) from e:\Program Files\SVP\MPC-HC\
23:17:43.878; GetDimensionAndFPS_fromOSD start. Duration: 150 ms
23:17:44.028; GetDimensionAndFPS_fromOSD result: 1280x720 23.976 1/1
23:17:44.032; T1T: begin
23:17:44.035; T1T: GetAllMediaParams
23:17:44.038; ### CorrectStereoModeByAppAndFilename: test.mkv
23:17:44.040; T1T: SettingsPrepare. Duration: 6 ms
23:17:44.046; T1T: Preparing smooth playback...
23:17:44.049; T1T: WriteAllMediaParamsToIni
23:17:44.051; SVPMgr: play "C:\ProgramData\SVP 3.1\" avs x86. Duration: 66 ms
23:17:44.117; Selected profile: 1280x720@24. Duration: 7 ms
23:17:44.124; ===== Playback
23.976 * (5 : 2) = 59.94 fps
23:17:44.126; SetPriorityPlayer: 2. Duration: 700 ms
23:17:44.826; frame #4 crop detected: 0 0 0 0
23:17:44.829; frame #5 crop detected: 0 0 0 0
23:17:44.833; frame #6 crop detected: 0 0 0 0
23:17:44.836; frame #7 crop detected: 0 0 0 0
23:17:44.839; frame #8 crop detected: 0 0 0 0
23:17:44.842; frame #9 crop detected: 0 0 0 0
23:17:44.922; frame #10 crop detected: 0 0 0 0
23:17:44.926; frame #11 crop detected: 0 0 0 0
23:17:44.929; frame #12 crop detected: 0 0 0 0
23:17:44.933; SVPMgr: play "C:\ProgramData\SVP 3.1\" avs x86. Duration: 57 ms
23:17:44.990; Selected profile: 1280x720@24. Duration: 9 ms
23:17:44.999; ===== Playback
23.976 * (5 : 2) = 59.94 fps
Auto crop: [0:0:0:0] . Duration: 1202 ms
23:17:46.201; ===== Playback
23:17:50.700; FalseVFR ffdShow-framerate: -Dwn-> 18.859 -Dwn-> 15.415 -Up-> 22.247 -Up-> 23.729 -Up-> 23.976 fps
23:17:50.703; express clear interval
23:17:50.705; stabilized ffdShow-framerate: 23.976 fps. SVP Index: 1.01/1.02
23:17:55.858; RefreshSVP
23:17:55.861; Performance statistics:
  Playback: 1280 x 720 @ 23.976 * (5 : 2) = 59.94 fps
  CPU usage 31%  Duration: 0:10  SVP Index 1x
  Memory used at start:719 at end:719 stable
23:17:55.870; ===== Waiting for ffdshow video

Re: Stops working with livestreamer

first question is what mpc-hc version is running by livestreamer?

mpc-hc.exe, PID: 4788, supports 2GB RAM ONLY

all official mpc-hc builds are built with 4GB flag

Re: Stops working with livestreamer

It's the version that comes with SVP, located at E:\Program Files\SVP\MPC-HC\mpc-hc.exe

That's the location of the executable that task manager gives me, and it's the location configured in livestreamer's settings. It's the same version as when I play a local file.

Re: Stops working with livestreamer

Larwood

This's right:

23:17:43.864; ===== Detected playback with ffdShow. AppName: mpc-hc.exe, PID: 6844, supports 4GB RAM
23:17:43.875; used avisynth.dll: Avisynth MT, 2.5.8.6 (SVP edition) (CRC32:5ED58E27) from e:\Program Files\SVP\MPC-HC\

This's wrong:

21:18:06.283; ===== Detected playback with ffdShow. AppName: mpc-hc.exe, PID: 4916, supports 2GB RAM ONLY. Patch video player executable with "4GB Patch"
21:18:06.408; used avisynth.dll: Avisynth MT, 2.5.8.6 (SVP edition) (CRC32:5ED58E27) from C:\WINDOWS\system32\

Are you sure this's the same .exe running in both cases?

Besides, MPC-HC 1.7.9 is not working at all in pipe mode on my PC smile HTTP mode is OK.

Re: Stops working with livestreamer

Huh, that's weird. There's no mpc-hc in my system32.

Oh wait... aha, it's because I was running it from elevated command prompt. When I run from a normal limited command prompt it works fine.

Re: Stops working with livestreamer

from the FAQ:

ensure that both SVP Manager and video player run under the same user account and the player isn't running as administrator

nobody reads FAQ  lol

Re: Stops working with livestreamer

Well that's a real bummer, I'll have to work out some way of getting a non-admin cmd running at will.