Beefy Boxes and Bandwidth Generously Provided by pair Networks
good chemistry is complicated,
and a little bit messy -LW
 
PerlMonks  

Re: Creating a video player frontend in Perl - what are my options?

by ambrus (Abbot)
on Oct 20, 2008 at 11:46 UTC ( [id://718201]=note: print w/replies, xml ) Need Help??


in reply to Creating a video player frontend in Perl - what are my options?

The mplayer program has a so called slave mode where a frontend controls it completely. You could try to use that directly. The manpage says:

-slave (also see -input)
Switches on slave mode, in which MPlayer works as a backend for other programs. Instead of intercepting keyboard events, MPlayer will read commands separated by a newline (\n) from stdin. NOTE: See -input cmdlist for a list of slave commands and DOCS/tech/slave.txt for their description.

Replies are listed 'Best First'.
Re^2: Creating a video player frontend in Perl - what are my options?
by rocklee (Beadle) on Oct 21, 2008 at 12:47 UTC
    Thank you for this very useful tip - I have come to realise that ideally I will have to support several playback backends; this certainly will make for an easy addition ;-)
      As a playback backend, I've not seen much which mplayer doesn't handle. It would be my choice of target.

Log In?
Username:
Password:

What's my password?
Create A New User
Domain Nodelet?
Node Status?
node history
Node Type: note [id://718201]
help
Chatterbox?
and the web crawler heard nothing...

How do I use this?Last hourOther CB clients
Other Users?
Others romping around the Monastery: (5)
As of 2024-03-29 09:00 GMT
Sections?
Information?
Find Nodes?
Leftovers?
    Voting Booth?

    No recent polls found