Skip to Content

Archived discussions are read-only. Learn more about SAP Q&A

PB control mplayer via Named Pipes

I'm trying to write a program that will control a few instances of mplayer (video player). Mplayer allows other apps to control it through named pipes and I'm having battles trying to get it to work. I'm hoping someone here has done this before and can supply an example for me. For others, here is a line command that starts mplayer:-

"C:\Program Files (x86)\mplayer\mplayer.exe" -vo gl -noborder -xineramascreen -2 -x 1920 -y 1080 -quiet "C:\Tomorrowland Trailer 3.wmv"

To run it in slave mode where a pipe can be used, you would add another parameter "-slave" after the "-quiet" that opens a command prompt which you can then type mplayer line commands (such as play or stop, etc.) and the player will action. You can also add "-input file=xxx" after -slave which makes it a work with a named pipe.

Either way, I need help running mplayer through PB. Anyone?

Former Member
Not what you were looking for? View more on this topic or Ask a question