[phpBB Debug] PHP Warning: in file [ROOT]/includes/bbcode.php on line 483: preg_replace(): The /e modifier is no longer supported, use preg_replace_callback instead
[phpBB Debug] PHP Warning: in file [ROOT]/includes/bbcode.php on line 483: preg_replace(): The /e modifier is no longer supported, use preg_replace_callback instead
[phpBB Debug] PHP Warning: in file [ROOT]/includes/bbcode.php on line 483: preg_replace(): The /e modifier is no longer supported, use preg_replace_callback instead
[phpBB Debug] PHP Warning: in file [ROOT]/includes/bbcode.php on line 483: preg_replace(): The /e modifier is no longer supported, use preg_replace_callback instead
[phpBB Debug] PHP Warning: in file [ROOT]/includes/bbcode.php on line 483: preg_replace(): The /e modifier is no longer supported, use preg_replace_callback instead
[phpBB Debug] PHP Warning: in file [ROOT]/includes/bbcode.php on line 483: preg_replace(): The /e modifier is no longer supported, use preg_replace_callback instead
[phpBB Debug] PHP Warning: in file [ROOT]/includes/bbcode.php on line 483: preg_replace(): The /e modifier is no longer supported, use preg_replace_callback instead
[phpBB Debug] PHP Warning: in file [ROOT]/includes/bbcode.php on line 483: preg_replace(): The /e modifier is no longer supported, use preg_replace_callback instead
[phpBB Debug] PHP Warning: in file [ROOT]/includes/bbcode.php on line 483: preg_replace(): The /e modifier is no longer supported, use preg_replace_callback instead
[phpBB Debug] PHP Warning: in file [ROOT]/includes/bbcode.php on line 483: preg_replace(): The /e modifier is no longer supported, use preg_replace_callback instead
[phpBB Debug] PHP Warning: in file [ROOT]/includes/bbcode.php on line 483: preg_replace(): The /e modifier is no longer supported, use preg_replace_callback instead
[phpBB Debug] PHP Warning: in file [ROOT]/includes/bbcode.php on line 483: preg_replace(): The /e modifier is no longer supported, use preg_replace_callback instead
[phpBB Debug] PHP Warning: in file [ROOT]/includes/bbcode.php on line 483: preg_replace(): The /e modifier is no longer supported, use preg_replace_callback instead
[phpBB Debug] PHP Warning: in file [ROOT]/includes/bbcode.php on line 483: preg_replace(): The /e modifier is no longer supported, use preg_replace_callback instead
[phpBB Debug] PHP Warning: in file [ROOT]/includes/bbcode.php on line 483: preg_replace(): The /e modifier is no longer supported, use preg_replace_callback instead
[phpBB Debug] PHP Warning: in file [ROOT]/includes/bbcode.php on line 483: preg_replace(): The /e modifier is no longer supported, use preg_replace_callback instead
[phpBB Debug] PHP Warning: in file [ROOT]/includes/bbcode.php on line 483: preg_replace(): The /e modifier is no longer supported, use preg_replace_callback instead
[phpBB Debug] PHP Warning: in file [ROOT]/includes/bbcode.php on line 483: preg_replace(): The /e modifier is no longer supported, use preg_replace_callback instead
[phpBB Debug] PHP Warning: in file [ROOT]/includes/bbcode.php on line 483: preg_replace(): The /e modifier is no longer supported, use preg_replace_callback instead
[phpBB Debug] PHP Warning: in file [ROOT]/includes/bbcode.php on line 483: preg_replace(): The /e modifier is no longer supported, use preg_replace_callback instead
[phpBB Debug] PHP Warning: in file [ROOT]/includes/bbcode.php on line 483: preg_replace(): The /e modifier is no longer supported, use preg_replace_callback instead
[phpBB Debug] PHP Warning: in file [ROOT]/includes/bbcode.php on line 483: preg_replace(): The /e modifier is no longer supported, use preg_replace_callback instead
[phpBB Debug] PHP Warning: in file [ROOT]/includes/bbcode.php on line 483: preg_replace(): The /e modifier is no longer supported, use preg_replace_callback instead
[phpBB Debug] PHP Warning: in file [ROOT]/includes/bbcode.php on line 483: preg_replace(): The /e modifier is no longer supported, use preg_replace_callback instead
[phpBB Debug] PHP Warning: in file [ROOT]/includes/bbcode.php on line 483: preg_replace(): The /e modifier is no longer supported, use preg_replace_callback instead
[phpBB Debug] PHP Warning: in file [ROOT]/includes/bbcode.php on line 483: preg_replace(): The /e modifier is no longer supported, use preg_replace_callback instead
[phpBB Debug] PHP Warning: in file [ROOT]/includes/bbcode.php on line 112: preg_replace(): The /e modifier is no longer supported, use preg_replace_callback instead
[phpBB Debug] PHP Warning: in file [ROOT]/includes/functions.php on line 4688: Cannot modify header information - headers already sent by (output started at [ROOT]/includes/functions.php:3823)
[phpBB Debug] PHP Warning: in file [ROOT]/includes/functions.php on line 4690: Cannot modify header information - headers already sent by (output started at [ROOT]/includes/functions.php:3823)
[phpBB Debug] PHP Warning: in file [ROOT]/includes/functions.php on line 4691: Cannot modify header information - headers already sent by (output started at [ROOT]/includes/functions.php:3823)
[phpBB Debug] PHP Warning: in file [ROOT]/includes/functions.php on line 4692: Cannot modify header information - headers already sent by (output started at [ROOT]/includes/functions.php:3823)
SMPlayer Support Forum • View topic - SMPlayer multiple window control

This forum is deprecated. Please visit https://github.com/smplayer-dev/smplayer/discussions

SMPlayer multiple window control

Forum to talk about the development of SMPlayer (code, patches...).

SMPlayer multiple window control

Postby KRSESQ » Thu Sep 08, 2016 7:45 pm

Let me preface all of this by saying I know nothing about coding, not for want of trying. So any attempt to walk me through making specific source-code changes would require a LOT of hand-holding. It would be faster and easier for a knowledgeable individual to make the necessary changes oneself.

I have built a new Win10 box for a local college planetarium to control up to four independent monitors and output up to four simultaneous video streams, one to each monitor (each monitor being a projector projecting onto a planetarium dome).

I used Win10 for the sake of familiarity for both students and faculty and for the broadest possible hardware and software support since I thought we might be asking it to perform some off-the-wall tasks. It's an Intel i7 system with 16 GB RAM. Video card is a Visiontek/ATI with 2 GB RAM and six mini-displayport outputs. It is not connected to a network.

SMPlayer does most of what we need very well. We can have four different player windows open, each playing a different mpeg video and sending that video in full screen to a specific monitor. We can have the four player windows open on a hidden reference monitor and go along the line and click play on each one in rapid succession, so they can be kept within a few seconds of synchronized (frame-accurate sync is not needed at this point but eventually will be). But I think you will agree this is a cumbersome and accident prone process.

What we need is the ability to "slave" these four windows to a single "master" controller, so that all four videos can be played, paused, reversed, returned to start, fullscreened, etc. SIMULTANEOUSLY.

Also, the ability to save that configuration of player windows, video files, and monitors onto the playlist to speed loading would be very useful.

On the other hand, if these features already exist as dos shell commands, then they would have to be written into a batch file that is relatively easy to edit and run. If such a batch file can provide the ability to use the various keyboard commands for all video playback functions in all playback windows then a tutorial would be most welcome.

Then again I might be asking for a lot more than I realize.

Thank you in advance

Kevin
KRSESQ
 
Posts: 2
Joined: Fri Aug 05, 2016 11:59 pm

Re: SMPlayer multiple window control

Postby rvm » Thu Sep 08, 2016 9:13 pm

SMPlayer hasn't been designed to control several windows at the time.

Maybe you can do this by calling mplayer directly. You can create a batch file that lauches several instances of mplayer, each on a different screen, opening the same video (or a different one) and set the starting time.
rvm
Site Admin
 
Posts: 3787
Joined: Wed Dec 23, 2009 1:25 am
Location: España

Re: SMPlayer multiple window control

Postby KRSESQ » Sat Sep 17, 2016 2:57 pm

KRSESQ
 
Posts: 2
Joined: Fri Aug 05, 2016 11:59 pm

Re: SMPlayer multiple window control

Postby rvm » Sat Sep 17, 2016 9:49 pm

Well, SMPlayer includes support for mpris2, which allows the application to be controlled remotely by other applications. You can open a file, play/pause, seek... I guess you can open several instances of SMPlayer and send them commands to all of them (untested).

https://specifications.freedesktop.org/ ... ec/latest/

However support for mpris2 has been disabled in the latest version for Windows with Qt 5. (You need version 16.4, with Qt 4). And you will probably need to install dbus on Windows. https://www.freedesktop.org/wiki/Software/dbus/
rvm
Site Admin
 
Posts: 3787
Joined: Wed Dec 23, 2009 1:25 am
Location: España

Re: SMPlayer multiple window control

Postby Ryhan_Ahamad » Sun Jul 19, 2020 6:56 pm

It is very easy
Just open preferences (Ctrl+P)
Go to Interface Tab
Then go to Instances
You will see an option named "Use only one running instance of SMPlayer"
Just Uncheck/Untick the box.
All set. It is done.
You can play different videos on different windows.
Ryhan_Ahamad
 
Posts: 3
Joined: Sun Jul 19, 2020 6:30 pm


Return to Development

Who is online

Users browsing this forum: No registered users and 5 guests

cron