[MPlayer-users] MPlayer-users Digest, Vol 70, Issue 7

Jayalakshmi jaya at innovatesolutions.net
Mon Oct 5 12:25:34 CEST 2009


thanks cedric ,

It is working.

from
jay






On Mon, 2009-10-05 at 08:04 +0200, mplayer-users-request at mplayerhq.hu
wrote:
> Send MPlayer-users mailing list submissions to
> 	mplayer-users at mplayerhq.hu
> 
> To subscribe or unsubscribe via the World Wide Web, visit
> 	https://lists.mplayerhq.hu/mailman/listinfo/mplayer-users
> or, via email, send a message with subject or body 'help' to
> 	mplayer-users-request at mplayerhq.hu
> 
> You can reach the person managing the list at
> 	mplayer-users-owner at mplayerhq.hu
> 
> When replying, please edit your Subject line so it is more specific
> than "Re: Contents of MPlayer-users digest..."
> 
> 
> Today's Topics:
> 
>    1. Re: MPlayer-users Digest, Vol 70, Issue 1 (Jayalakshmi)
>    2. Re: Streaming to mplayer with php, how that ? (Cedric Malitte)
>    3. Re: MPlayer-users Digest, Vol 70, Issue 1 (Cedric Malitte)
> 
> 
> ----------------------------------------------------------------------
> 
> Message: 1
> Date: Mon, 05 Oct 2009 10:20:15 +0530
> From: Jayalakshmi <jaya at innovatesolutions.net>
> Subject: Re: [MPlayer-users] MPlayer-users Digest, Vol 70, Issue 1
> To: mplayer-users at mplayerhq.hu
> Message-ID: <1254718215.3837.8.camel at Ramesh-suse.site>
> Content-Type: text/plain
> 
> hi Kiste ,
> 
> sory distrbing again. Please help me out on this issue.
> 
> can you please tell me how to pause song/viedo  using C program.
> Because I am using this c program as backend for my GUI program for
> media player application.
> 
> thank you,
> KISTE
> 
> 
> 
> 
> 
> On Thu, 2009-10-01 at 12:00 +0200, mplayer-users-request at mplayerhq.hu
> wrote:
> > Send MPlayer-users mailing list submissions to
> > 	mplayer-users at mplayerhq.hu
> > 
> > To subscribe or unsubscribe via the World Wide Web, visit
> > 	https://lists.mplayerhq.hu/mailman/listinfo/mplayer-users
> > or, via email, send a message with subject or body 'help' to
> > 	mplayer-users-request at mplayerhq.hu
> > 
> > You can reach the person managing the list at
> > 	mplayer-users-owner at mplayerhq.hu
> > 
> > When replying, please edit your Subject line so it is more specific
> > than "Re: Contents of MPlayer-users digest..."
> > 
> > 
> > Today's Topics:
> > 
> >    1. Re: MPlayer-users Digest, Vol 69, Issue 35 (Jayalakshmi)
> >    2. mplayer -pause (Jayalakshmi)
> >    3. Re: MPlayer-users Digest, Vol 69, Issue 35 (Oliver Seitz)
> >    4. Re: mplayer -pause (Oliver Seitz)
> >    5. Re: mplayer -pause (Barb Sterling)
> >    6. Re: mplayer -pause (Oliver Seitz)
> > 
> > 
> > ----------------------------------------------------------------------
> > 
> > Message: 1
> > Date: Wed, 30 Sep 2009 18:17:02 +0530
> > From: Jayalakshmi <jaya at innovatesolutions.net>
> > Subject: Re: [MPlayer-users] MPlayer-users Digest, Vol 69, Issue 35
> > To: mplayer-users at mplayerhq.hu, Oliver Seitz <info at vtnd.de>
> > Message-ID: <1254314822.4389.35.camel at Ramesh-suse.site>
> > Content-Type: text/plain
> > 
> > hi Kiste
> > 
> >  I did not understood your solution. please tell me clearly how to do
> > that .
> > 
> > 
> > 
> > man mplayer
> > > 
> > > [...]
> > > 
> > >   -input <commands>
> > >          This option can be used to configure certain parts of the  input
> > >          system.  Paths are relative to ~/.mplayer/.
> > > 
> > >          Available commands are:
> > > [...]
> > >             file=<filename>
> > >                  Read commands from the given file.  Mostly useful with a
> > >                  FIFO.
> > >                  NOTE:  When  the given file is a FIFO MPlayer opens both
> > >                  ends so you can do several ?echo "seek  10"  >  mp_pipe?
> > >                  and the pipe will stay valid.
> > > 
> > > [...]
> > >   -slave (also see -input)
> > >          Switches  on slave mode, in which MPlayer works as a backend for
> > >          other programs.  Instead of intercepting keyboard events,
> > > MPlay&#8208;
> > >          er 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.  Also,  this  is  not
> > >          intended to disable other inputs, e.g. via the video window, use
> > >          some other method like -input nodefault-binds:conf=/dev/null for
> > >          that.
> > > 
> > 
> > 
> > 
> > 
> >  
> >  I tried what you have told, but no response.
> > 
> >  I am using commands in my application program, like 
> > 
> >   main()
> >  
> > {
> >  ...
> >  ...
> >   
> >  system ("mplayer -slave -idle -quiet abc.wmv\n");
> >  ...
> >  ...
> >  
> > system("pause\n");
> >  ...
> >  ...
> > 
> > 
> > }    
> > 
> >  but it is not taking taht command. It is showing error as ,
> >  
> >  pause command not found
> > 
> > 
> > 
> >  please give any solution.
> > 
> > 
> > thanks
> > 
> > 
> > 
> > 
> > 
> > 
> > 
> > 
> > ------------------------------
> > 
> > Message: 2
> > Date: Wed, 30 Sep 2009 18:18:57 +0530
> > From: Jayalakshmi <jaya at innovatesolutions.net>
> > Subject: [MPlayer-users] mplayer -pause
> > To: mplayer-users at mplayerhq.hu, Oliver Seitz <info at vtnd.de>
> > Message-ID: <1254314937.4389.37.camel at Ramesh-suse.site>
> > Content-Type: text/plain
> > 
> > hi Kiste
> > 
> >  I did not understood your solution. please tell me clearly how to do
> > that .
> > 
> > 
> > 
> > man mplayer
> > > 
> > > [...]
> > > 
> > >   -input <commands>
> > >          This option can be used to configure certain parts of the
> > input
> > >          system.  Paths are relative to ~/.mplayer/.
> > > 
> > >          Available commands are:
> > > [...]
> > >             file=<filename>
> > >                  Read commands from the given file.  Mostly useful
> > with a
> > >                  FIFO.
> > >                  NOTE:  When  the given file is a FIFO MPlayer opens
> > both
> > >                  ends so you can do several ?echo "seek  10"  >
> > mp_pipe?
> > >                  and the pipe will stay valid.
> > > 
> > > [...]
> > >   -slave (also see -input)
> > >          Switches  on slave mode, in which MPlayer works as a backend
> > for
> > >          other programs.  Instead of intercepting keyboard events,
> > > MPlay&#8208;
> > >          er 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.  Also,  this  is
> > not
> > >          intended to disable other inputs, e.g. via the video window,
> > use
> > >          some other method like -input nodefault-binds:conf=/dev/null
> > for
> > >          that.
> > > 
> > 
> > 
> > 
> > 
> >  
> >  I tried what you have told, but no response.
> > 
> >  I am using commands in my application program, like 
> > 
> >   main()
> >  
> > {
> >  ...
> >  ...
> >   
> >  system ("mplayer -slave -idle -quiet abc.wmv\n");
> >  ...
> >  ...
> >  
> > system("pause\n");
> >  ...
> >  ...
> > 
> > 
> > }    
> > 
> >  but it is not taking taht command. It is showing error as ,
> >  
> >  pause command not found
> > 
> > 
> > 
> >  please give any solution.
> > 
> > 
> > thanks
> > 
> > 
> > 
> > 
> > 
> > 
> > 
> > ------------------------------
> > 
> > Message: 3
> > Date: Wed, 30 Sep 2009 15:01:42 +0200 (CEST)
> > From: "Oliver Seitz" <info at vtnd.de>
> > Subject: Re: [MPlayer-users] MPlayer-users Digest, Vol 69, Issue 35
> > To: "MPlayer usage questions, feature requests,	bug reports"
> > 	<mplayer-users at mplayerhq.hu>
> > Message-ID:
> > 	<52200.92.198.62.74.1254315702.squirrel at srv1.ssl-traffic.de>
> > Content-Type: text/plain;charset=iso-8859-1
> > 
> > Sorry, I don't speak c, do you speak bash?
> > 
> > mkfifo /tmp/mplayer-input
> > mplayer -slave -idle -input file=/tmp/mplayer-input abc.avi
> > [...]
> > echo pause >/tmp/mplayer-input
> > 
> > 
> > 
> > This is what the manpage says, and it works for me like a charm.
> > 
> > Greets,
> > Kiste
> > 
> > 
> > 
> > 
> > ------------------------------
> > 
> > Message: 4
> > Date: Wed, 30 Sep 2009 15:05:01 +0200 (CEST)
> > From: "Oliver Seitz" <info at vtnd.de>
> > Subject: Re: [MPlayer-users] mplayer -pause
> > To: "MPlayer usage questions, feature requests,	bug reports"
> > 	<mplayer-users at mplayerhq.hu>
> > Message-ID:
> > 	<50338.92.198.62.74.1254315901.squirrel at srv1.ssl-traffic.de>
> > Content-Type: text/plain;charset=iso-8859-1
> > 
> > Do you understand it better when i tell you twice?
> > 
> > #> input
> > http://lists.mplayerhq.hu/pipermail/mplayer-users/2009-September/077890.html
> > 
> > 
> > 
> > 
> > ------------------------------
> > 
> > Message: 5
> > Date: Wed, 30 Sep 2009 11:23:13 -0600
> > From: "Barb Sterling" <bsterling at cardinalpeak.com>
> > Subject: Re: [MPlayer-users] mplayer -pause
> > To: MPlayer usage questions, feature requests,	bug reports
> > 	<mplayer-users at mplayerhq.hu>
> > Message-ID: <20090930172313.e09e1a1f at smtp.cardinalpeak.com>
> > Content-Type: text/plain;	charset="us-ascii"
> > 
> > ----- Original Message -----
> > From: Jayalakshmi
> > [mailto:jaya at innovatesolutions.net]
> > To: mplayer-users at mplayerhq.hu, Oliver
> > Seitz [mailto:info at vtnd.de]
> > Sent: Wed, 30 Sep 2009 06:48:57 -0600
> > Subject:
> > [MPlayer-users] mplayer -pause
> > 
> > 
> > > hi Kiste
> > > 
> > >  I did not understood your solution. please tell me clearly how to do
> > > that .
> > > 
> > > 
> > > 
> > 
> > I would recommend that you look at the source from one or more of the MPlayer Frontends.
> > 
> > http://www.mplayerhq.hu/design7/projects.html
> > 
> > Controlling mplayer through a program is a bit more involved than what you are hoping.
> > 
> > Good luck.
> > 
> > Barbara Sterling
> > 
> > 
> > ------------------------------
> > 
> > Message: 6
> > Date: Wed, 30 Sep 2009 19:54:56 +0200
> > From: "Oliver Seitz" <info at vtnd.de>
> > Subject: Re: [MPlayer-users] mplayer -pause
> > To: "MPlayer usage questions, feature requests, bug reports"
> > 	<mplayer-users at mplayerhq.hu>
> > Message-ID: <op.u02z1urwn8yd9f at asuskiste>
> > Content-Type: text/plain; format=flowed; delsp=yes;
> > 	charset=iso-8859-15
> > 
> > 
> > > Controlling mplayer through a program is a bit more involved than what  
> > > you are hoping.
> > 
> > Well, just starting and stopping playback and loading files at demand  
> > isn't to complicated. It works well for me, and I did not read any  
> > sources, just the docs. I admit, there was a bit of trial-and-error, but  
> > after I finally understood what the docs meant everything worked great.
> > 
> > But, one thing comes to my mind. I'm missing a slave command like "PLAY"  
> > which unpauses when in pause mode and doing nothing when playing.  
> > "frame_step" is some kind of replacement which does the opposite: It  
> > switches to pause mode, nevermind if from pause or play. So now I use  
> > "frame_step \n pause \n" to switch to play mode, but it's a really ugly  
> > hack.
> > 
> > Greets,
> > Kiste
> > 
> > 
> > ------------------------------
> > 
> > _______________________________________________
> > MPlayer-users mailing list
> > MPlayer-users at mplayerhq.hu
> > https://lists.mplayerhq.hu/mailman/listinfo/mplayer-users
> > 
> > End of MPlayer-users Digest, Vol 70, Issue 1
> > ********************************************
> 
> 
> 
> ------------------------------
> 
> Message: 2
> Date: Mon, 5 Oct 2009 01:52:35 -0400
> From: Cedric Malitte <cedric.malitte at gmail.com>
> Subject: Re: [MPlayer-users] Streaming to mplayer with php, how that ?
> To: "MPlayer usage questions, feature requests,	bug reports"
> 	<mplayer-users at mplayerhq.hu>
> Message-ID:
> 	<23717fc10910042252x6b5f6a25u77c56be7be17a778 at mail.gmail.com>
> Content-Type: text/plain; charset=ISO-8859-1
> 
> 2009/10/3 Oliver Seitz <info at vtnd.de>
> 
> >
> > > As you already did it, and reinventing the wheel is useless...
> > > Any clue or code to share ? ;)
> >
> > The "nothing to play"- Video runs in an endless loop
> >
> > mplayer -idle -slave -input file=/tmp/mplayer-input -loop 0 idle_video.avi
> >
> > When there's something to play, I send something like
> >
> > echo "loadfile action1.avi" >/tmp/mplayer-input
> >
> > That file plays again in a loop until the user is fed up with it, and the
> > "idle" video starts again, again in a loop.
> >
> > If the video should play just once, I would have started it by a sequence
> > like
> >
> > loop -1
> > loadfile action1.avi
> > loadfile idle_video.avi append
> >
> > Then I would at regular intervals issue
> >
> > get_file_name
> >
> > to find out if the action1.avi was finished playing to then reset it to an
> > endless loop.
> >
> > Good luck!
> >
> > Greets,
> > Kiste
> >
> 
> Btw I had a look at gnome-mplayer, but won't do the trick as I send video to
> a plain Xserver, no desktop and no artifacts. I just want to see the video.
> 
> Well, got some little time to test that this week end but....
> if I launch
> mplayer -nosound -x 800 -y 600 -quiet -framedrop -nolirc  -slave -idle
> -osdlevel 0 -vo xvidix:rage128 -input file=/tmp/mplay
> I can launch files with  echo "loadfile video.wmv" > /tmp/mplay
> 
> If I send echo "loadfile video.wmv" > /tmp/mplay
> then echo "loadfile video2.wmv *1" > /tmp/mplay*
> and then echo "loadfile video3.wmv" > /tmp/mplay
> video3 plays ok, and then it plays again video2 !!!!
> 
> Dammit, there might be something I do not catch with playslist or tree :)
> 
> If I put -loop 0 idle_video.avi in the command line and then send loop -1,
> then loadfile video1, video1 will play in loop. I'm unable to unloop...
> 
> After all those tries, and many others in fact, I lost more hair, almost
> bald now !
> 
> I'll take another way has I can not stream to mplayer in php and there's no
> easy way to know if mplayer has finished playing a file...
> I'll test playback with pcntl_alarm as I know the length of each video and
> which one I throwed at mplayer, I'll be able to send another loadfile just
> in time.
> 
> If I got time, I might hack a bit the source to send a 'I'm done playing
> video xxxxxxx.avi' to stdout :P
> 
> Anyway, I learned something today, so was a good day !
> 
> Greets,
> Cedric
> 
> 
> ------------------------------
> 
> Message: 3
> Date: Mon, 5 Oct 2009 02:04:05 -0400
> From: Cedric Malitte <cedric.malitte at gmail.com>
> Subject: Re: [MPlayer-users] MPlayer-users Digest, Vol 70, Issue 1
> To: "MPlayer usage questions, feature requests,	bug reports"
> 	<mplayer-users at mplayerhq.hu>
> Message-ID:
> 	<23717fc10910042304n30c1502dr5f262a3ba3a8f4a0 at mail.gmail.com>
> Content-Type: text/plain; charset=ISO-8859-1
> 
> mkfifo /tmp/mplayer-input
> mplayer -slave -idle -input file=/tmp/mplayer-input abc.avi
> void  init_your_stuff (void)
> {
> // Go the hard way, it's late here
> system ("mkfifo /tmp/mplayer-input");
> // launch the player with abc.wmv
> system ("mplayer -slave -idle -quiet -input file=/tmp/mplayer-input abc.wmv
> \n");
> }
> 
> main()
> 
>  {
>   init_your_stuff;
>   ...
>   ...
> //do something, anything you want to
>   ...
> //we need to pause a bit now to go and get some chips
>  system("echo p > /tmp/mplayer-input");
> 
> // you can do it nicer 'a la C'  with fopen and fprintf($file,"p")
> fclose....
> 
> //we are back with chips, unpause it
>  system("echo 'p' > /tmp/mplayer-input");
> 
> This does what you want.
> 
> In order to send commands to mplayer, you need to open a tube
> (/tmp/mplayer-input) to send them.
> 
> Greets,
> Cedric
> 
> 2009/10/5 Jayalakshmi <jaya at innovatesolutions.net>
> 
> > hi Kiste ,
> >
> > sory distrbing again. Please help me out on this issue.
> >
> > can you please tell me how to pause song/viedo  using C program.
> > Because I am using this c program as backend for my GUI program for
> > media player application.
> >
> > thank you,
> > KISTE
> >
> >
> >
> >
> >
> > On Thu, 2009-10-01 at 12:00 +0200, mplayer-users-request at mplayerhq.hu
> > wrote:
> > > Send MPlayer-users mailing list submissions to
> > >       mplayer-users at mplayerhq.hu
> > >
> > > To subscribe or unsubscribe via the World Wide Web, visit
> > >       https://lists.mplayerhq.hu/mailman/listinfo/mplayer-users
> > > or, via email, send a message with subject or body 'help' to
> > >       mplayer-users-request at mplayerhq.hu
> > >
> > > You can reach the person managing the list at
> > >       mplayer-users-owner at mplayerhq.hu
> > >
> > > When replying, please edit your Subject line so it is more specific
> > > than "Re: Contents of MPlayer-users digest..."
> > >
> > >
> > > Today's Topics:
> > >
> > >    1. Re: MPlayer-users Digest, Vol 69, Issue 35 (Jayalakshmi)
> > >    2. mplayer -pause (Jayalakshmi)
> > >    3. Re: MPlayer-users Digest, Vol 69, Issue 35 (Oliver Seitz)
> > >    4. Re: mplayer -pause (Oliver Seitz)
> > >    5. Re: mplayer -pause (Barb Sterling)
> > >    6. Re: mplayer -pause (Oliver Seitz)
> > >
> > >
> > > ----------------------------------------------------------------------
> > >
> > > Message: 1
> > > Date: Wed, 30 Sep 2009 18:17:02 +0530
> > > From: Jayalakshmi <jaya at innovatesolutions.net>
> > > Subject: Re: [MPlayer-users] MPlayer-users Digest, Vol 69, Issue 35
> > > To: mplayer-users at mplayerhq.hu, Oliver Seitz <info at vtnd.de>
> > > Message-ID: <1254314822.4389.35.camel at Ramesh-suse.site>
> > > Content-Type: text/plain
> > >
> > > hi Kiste
> > >
> > >  I did not understood your solution. please tell me clearly how to do
> > > that .
> > >
> > >
> > >
> > > man mplayer
> > > >
> > > > [...]
> > > >
> > > >   -input <commands>
> > > >          This option can be used to configure certain parts of the
> >  input
> > > >          system.  Paths are relative to ~/.mplayer/.
> > > >
> > > >          Available commands are:
> > > > [...]
> > > >             file=<filename>
> > > >                  Read commands from the given file.  Mostly useful with
> > a
> > > >                  FIFO.
> > > >                  NOTE:  When  the given file is a FIFO MPlayer opens
> > both
> > > >                  ends so you can do several ?echo "seek  10"  >
> >  mp_pipe?
> > > >                  and the pipe will stay valid.
> > > >
> > > > [...]
> > > >   -slave (also see -input)
> > > >          Switches  on slave mode, in which MPlayer works as a backend
> > for
> > > >          other programs.  Instead of intercepting keyboard events,
> > > > MPlay&#8208;
> > > >          er 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.  Also,  this  is
> >  not
> > > >          intended to disable other inputs, e.g. via the video window,
> > use
> > > >          some other method like -input nodefault-binds:conf=/dev/null
> > for
> > > >          that.
> > > >
> > >
> > >
> > >
> > >
> > >
> > >  I tried what you have told, but no response.
> > >
> > >  I am using commands in my application program, like
> > >
> > >   main()
> > >
> > > {
> > >  ...
> > >  ...
> > >
> > >  system ("mplayer -slave -idle -quiet abc.wmv\n");
> > >  ...
> > >  ...
> > >
> > > system("pause\n");
> > >  ...
> > >  ...
> > >
> > >
> > > }
> > >
> > >  but it is not taking taht command. It is showing error as ,
> > >
> > >  pause command not found
> > >
> > >
> > >
> > >  please give any solution.
> > >
> > >
> > > thanks
> > >
> > >
> > >
> > >
> > >
> > >
> > >
> > >
> > > ------------------------------
> > >
> > > Message: 2
> > > Date: Wed, 30 Sep 2009 18:18:57 +0530
> > > From: Jayalakshmi <jaya at innovatesolutions.net>
> > > Subject: [MPlayer-users] mplayer -pause
> > > To: mplayer-users at mplayerhq.hu, Oliver Seitz <info at vtnd.de>
> > > Message-ID: <1254314937.4389.37.camel at Ramesh-suse.site>
> > > Content-Type: text/plain
> > >
> > > hi Kiste
> > >
> > >  I did not understood your solution. please tell me clearly how to do
> > > that .
> > >
> > >
> > >
> > > man mplayer
> > > >
> > > > [...]
> > > >
> > > >   -input <commands>
> > > >          This option can be used to configure certain parts of the
> > > input
> > > >          system.  Paths are relative to ~/.mplayer/.
> > > >
> > > >          Available commands are:
> > > > [...]
> > > >             file=<filename>
> > > >                  Read commands from the given file.  Mostly useful
> > > with a
> > > >                  FIFO.
> > > >                  NOTE:  When  the given file is a FIFO MPlayer opens
> > > both
> > > >                  ends so you can do several ?echo "seek  10"  >
> > > mp_pipe?
> > > >                  and the pipe will stay valid.
> > > >
> > > > [...]
> > > >   -slave (also see -input)
> > > >          Switches  on slave mode, in which MPlayer works as a backend
> > > for
> > > >          other programs.  Instead of intercepting keyboard events,
> > > > MPlay&#8208;
> > > >          er 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.  Also,  this  is
> > > not
> > > >          intended to disable other inputs, e.g. via the video window,
> > > use
> > > >          some other method like -input nodefault-binds:conf=/dev/null
> > > for
> > > >          that.
> > > >
> > >
> > >
> > >
> > >
> > >
> > >  I tried what you have told, but no response.
> > >
> > >  I am using commands in my application program, like
> > >
> > >   main()
> > >
> > > {
> > >  ...
> > >  ...
> > >
> > >  system ("mplayer -slave -idle -quiet abc.wmv\n");
> > >  ...
> > >  ...
> > >
> > > system("pause\n");
> > >  ...
> > >  ...
> > >
> > >
> > > }
> > >
> > >  but it is not taking taht command. It is showing error as ,
> > >
> > >  pause command not found
> > >
> > >
> > >
> > >  please give any solution.
> > >
> > >
> > > thanks
> > >
> > >
> > >
> > >
> > >
> > >
> > >
> > > ------------------------------
> > >
> > > Message: 3
> > > Date: Wed, 30 Sep 2009 15:01:42 +0200 (CEST)
> > > From: "Oliver Seitz" <info at vtnd.de>
> > > Subject: Re: [MPlayer-users] MPlayer-users Digest, Vol 69, Issue 35
> > > To: "MPlayer usage questions, feature requests,       bug reports"
> > >       <mplayer-users at mplayerhq.hu>
> > > Message-ID:
> > >       <52200.92.198.62.74.1254315702.squirrel at srv1.ssl-traffic.de>
> > > Content-Type: text/plain;charset=iso-8859-1
> > >
> > > Sorry, I don't speak c, do you speak bash?
> > >
> > > mkfifo /tmp/mplayer-input
> > > mplayer -slave -idle -input file=/tmp/mplayer-input abc.avi
> > > [...]
> > > echo pause >/tmp/mplayer-input
> > >
> > >
> > >
> > > This is what the manpage says, and it works for me like a charm.
> > >
> > > Greets,
> > > Kiste
> > >
> > >
> > >
> > >
> > > ------------------------------
> > >
> > > Message: 4
> > > Date: Wed, 30 Sep 2009 15:05:01 +0200 (CEST)
> > > From: "Oliver Seitz" <info at vtnd.de>
> > > Subject: Re: [MPlayer-users] mplayer -pause
> > > To: "MPlayer usage questions, feature requests,       bug reports"
> > >       <mplayer-users at mplayerhq.hu>
> > > Message-ID:
> > >       <50338.92.198.62.74.1254315901.squirrel at srv1.ssl-traffic.de>
> > > Content-Type: text/plain;charset=iso-8859-1
> > >
> > > Do you understand it better when i tell you twice?
> > >
> > > #> input
> > >
> > http://lists.mplayerhq.hu/pipermail/mplayer-users/2009-September/077890.html
> > >
> > >
> > >
> > >
> > > ------------------------------
> > >
> > > Message: 5
> > > Date: Wed, 30 Sep 2009 11:23:13 -0600
> > > From: "Barb Sterling" <bsterling at cardinalpeak.com>
> > > Subject: Re: [MPlayer-users] mplayer -pause
> > > To: MPlayer usage questions, feature requests,        bug reports
> > >       <mplayer-users at mplayerhq.hu>
> > > Message-ID: <20090930172313.e09e1a1f at smtp.cardinalpeak.com>
> > > Content-Type: text/plain;     charset="us-ascii"
> > >
> > > ----- Original Message -----
> > > From: Jayalakshmi
> > > [mailto:jaya at innovatesolutions.net]
> > > To: mplayer-users at mplayerhq.hu, Oliver
> > > Seitz [mailto:info at vtnd.de]
> > > Sent: Wed, 30 Sep 2009 06:48:57 -0600
> > > Subject:
> > > [MPlayer-users] mplayer -pause
> > >
> > >
> > > > hi Kiste
> > > >
> > > >  I did not understood your solution. please tell me clearly how to do
> > > > that .
> > > >
> > > >
> > > >
> > >
> > > I would recommend that you look at the source from one or more of the
> > MPlayer Frontends.
> > >
> > > http://www.mplayerhq.hu/design7/projects.html
> > >
> > > Controlling mplayer through a program is a bit more involved than what
> > you are hoping.
> > >
> > > Good luck.
> > >
> > > Barbara Sterling
> > >
> > >
> > > ------------------------------
> > >
> > > Message: 6
> > > Date: Wed, 30 Sep 2009 19:54:56 +0200
> > > From: "Oliver Seitz" <info at vtnd.de>
> > > Subject: Re: [MPlayer-users] mplayer -pause
> > > To: "MPlayer usage questions, feature requests, bug reports"
> > >       <mplayer-users at mplayerhq.hu>
> > > Message-ID: <op.u02z1urwn8yd9f at asuskiste>
> > > Content-Type: text/plain; format=flowed; delsp=yes;
> > >       charset=iso-8859-15
> > >
> > >
> > > > Controlling mplayer through a program is a bit more involved than what
> > > > you are hoping.
> > >
> > > Well, just starting and stopping playback and loading files at demand
> > > isn't to complicated. It works well for me, and I did not read any
> > > sources, just the docs. I admit, there was a bit of trial-and-error, but
> > > after I finally understood what the docs meant everything worked great.
> > >
> > > But, one thing comes to my mind. I'm missing a slave command like "PLAY"
> > > which unpauses when in pause mode and doing nothing when playing.
> > > "frame_step" is some kind of replacement which does the opposite: It
> > > switches to pause mode, nevermind if from pause or play. So now I use
> > > "frame_step \n pause \n" to switch to play mode, but it's a really ugly
> > > hack.
> > >
> > > Greets,
> > > Kiste
> > >
> > >
> > > ------------------------------
> > >
> > > _______________________________________________
> > > MPlayer-users mailing list
> > > MPlayer-users at mplayerhq.hu
> > > https://lists.mplayerhq.hu/mailman/listinfo/mplayer-users
> > >
> > > End of MPlayer-users Digest, Vol 70, Issue 1
> > > ********************************************
> >
> > _______________________________________________
> > MPlayer-users mailing list
> > MPlayer-users at mplayerhq.hu
> > https://lists.mplayerhq.hu/mailman/listinfo/mplayer-users
> >
> 
> 
> ------------------------------
> 
> _______________________________________________
> MPlayer-users mailing list
> MPlayer-users at mplayerhq.hu
> https://lists.mplayerhq.hu/mailman/listinfo/mplayer-users
> 
> End of MPlayer-users Digest, Vol 70, Issue 7
> ********************************************



More information about the MPlayer-users mailing list