[Qt-interest] Playing mplayer in slave mode

Arnold Krille arnold at arnoldarts.de
Wed Mar 18 17:01:59 CET 2009


Hi,

On Wednesday 18 March 2009 16:04:19 arun kumar wrote:
> //This part of the code is working fine
> process->start("mplayer",QStringList()<<"-slave"<<"-quiet"<<"-idle"<<"/home
>/quarkmeson/Videos/output.avi");
> //but I tried to run a second movie using the below code,I failed to sart
> the second media
> QString str="loadfile /home/quarkmeson/Videos/sample.mpg 0";
> QByteArray arr= str2.toLocal8Bit();
> process->write(arr);
> is it any idea to play a movie using mplayer in slave mode please help
> me...

Could it be that mplayer only accepts files either by commandline (exclusive) 
or by slave-mode commands?

Ctritical questions: Why do you want to write yet another frontend for 
mplayer? Aren't there enough yet? Or is it only a fingerpiece to get used to 
mplayer and/or Qt?

Have fun,

Arnold
-------------- next part --------------
A non-text attachment was scrubbed...
Name: not available
Type: application/pgp-signature
Size: 197 bytes
Desc: This is a digitally signed message part.
Url : http://lists.qt-project.org/pipermail/qt-interest-old/attachments/20090318/1a945dd5/attachment.bin 


More information about the Qt-interest-old mailing list