[SOLVED] HOWTO: Play a movie on a projector without dragging over a window
Linux - DesktopThis forum is for the discussion of all Linux Software used in a desktop context.
Notices
Welcome to LinuxQuestions.org, a friendly and active Linux Community.
You are currently viewing LQ as a guest. By joining our community you will have the ability to post topics, receive our newsletter, use the advanced search, subscribe to threads and access many other special features. Registration is quick, simple and absolutely free. Join our community today!
Note that registered members see fewer ads, and ContentLink is completely disabled once you log in.
If you have any problems with the registration process or your account login, please contact us. If you need to reset your password, click here.
Having a problem logging in? Please visit this page to clear all LQ-related cookies.
Get a virtual cloud desktop with the Linux distro that you want in less than five minutes with Shells! With over 10 pre-installed distros to choose from, the worry-free installation life is here! Whether you are a digital nomad or just looking for flexibility, Shells can put your Linux machine on the device that you want to use.
Exclusive for LQ members, get up to 45% off per month. Click here for more info.
HOWTO: Play a movie on a projector without dragging over a window
Hi, I hope this is useful to someone!
Scenario:
Two of my friends and I do sound, lighting and video projection for functions such as prize givings, concerts, etc. This time, we did a fashion show at a school. For this we had to play videos (things like interviews and movie clips) on a projector. For casual functions, it's OK to use a laptop with windows, connect it to the projector, "extend your desktop" to the projector, double click the movie, drag it over, and maximize it. This was however a formal occasion and many different videos and sound clips had to be played in quick succession. Also, due to decor and lighting, the projector was not visible from the control area at all times.
Solution
I ...
used an oldish PC running OpenSuse 11.3 ...
... and installed MPlayer and all the video codecs I could find in YaST.
hooked up my PC to a monitor, and to a VGA splitter, and the VGA splitter to another monitor and the projector, so that I could see what happens on the projector at all times.
configured my desktop for "dual screen" or "Xinerama".
made my desktop (Gnome) background black, so that the projector appears to be turned off.
opened a terminal, and started experimenting with MPlayer's command line options. After much trial, error and "man mplayer", this worked for me:
The projector goes from black to video and back to black without problems. This looks really professional, and your don't even need the mouse.
Tips
Use "man mplayer" to find out what all of these options do.
Write a script with the necessary commands, replacing [filename] with "$@" (including quotes). Give it a simple name such as "m" (excluding quotes of course :P ). Then use
Code:
m [filename] [other options]
Change the values for resolution, screen size, and screen number to fit your needs.
Write a script that displays a menu to choose the video to play.
LinuxQuestions.org is looking for people interested in writing
Editorials, Articles, Reviews, and more. If you'd like to contribute
content, let us know.