Quantcast
Channel: SCN : Discussion List - PowerBuilder Developer Center
Viewing all articles
Browse latest Browse all 2881

PB control mplayer via Named Pipes

$
0
0

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?


Viewing all articles
Browse latest Browse all 2881

Trending Articles



<script src="https://jsc.adskeeper.com/r/s/rssing.com.1596347.js" async> </script>