Random-Photo-Screensaver icon indicating copy to clipboard operation
Random-Photo-Screensaver copied to clipboard

Possible to use VLC for video playback?

Open rajdude opened this issue 1 year ago • 2 comments

Hello Marijn, Is it possible to configure RPS to use some other video player like VLC?

Right now I see that RPS invokes Windows Media Player (or sometimes movies) via Internet Explorer. The resulting video playback is very choppy / jerky. Here is what I have tried so far

  • Checking the "use GPU rendering for IE" in RPS' settings
  • Unchecked "use video smoothing" in WMP's options
  • Tried editing the monitor.js file as you suggested in issue #30

None of these things helped.

I really love your software. Works perfectly fine with my photos. I hope it can play my videos also nicely. Please let me know if you want me to test something. Thanks!

PS:

  • In VLC, all my videos play very smoothly.
  • All my content (photos and videos) are kept on a networked machine which I call server
  • Network connection between this machine and my server is 10Gbps Fiber channel, so there is no network bottleneck
  • I really did not understand what needs to be done to monitor.js so that VLC is executed by RPS. but I tried changing this line to this:
if(typeof getVideoObject != 'function'){
	function getVideoObject(source, settings) {
		var playCount = 1;
		var stretch = "";
		if (settings.stretchSmallVideos) stretch = " stretch";
		if (settings.loop) playCount = 9999;
		html = '<object class="object media' + stretch + '" id="mediaPlayer" classid="CLSID:22D6F312-B0F6-11D0-94AB-0080C74C7E95"'
        >>>	>>>>+ 'codebase="C:\Program Files (x86)\VideoLAN\VLC\axvlc.dll"'<<<<<<<<<
				+ 'standby="Loading Microsoft Windows Media Player components..." type="application/x-oleobject">'
				+ '<param name="FileName" value="' + source + '" />'
				+ '<param name="Mute" value="' + settings.mute + '"/>'

rajdude avatar Apr 03 '23 21:04 rajdude

Hello Rajdude,

I am facing the same issue with high quality gopro videos recorded in 4k. I tried everything you have mention but none of them have any effect.

My computer is quite powerful (amd 3700x + nvidia 3080) and I read the files from a SSD. Were you able to find any solution?

Thank you.

morcus avatar Jan 05 '24 01:01 morcus

Hello Rajdude. I am having the same problem that I have seen mentioned since 2015. It is frustrating to have such a great screensaver that does not effectively play videos. Surely it is not that hard to use VLC. BTW what version of RPS are you using?

BOLTY2 avatar Aug 10 '24 23:08 BOLTY2