Pausing a file reading through shell

macOS specific usage questions
FreeFL
New Cone
New Cone
Posts: 4
Joined: 05 Feb 2006 23:48

Pausing a file reading through shell

Postby FreeFL » 14 Mar 2006 13:40

Hello!

I try to develop a simple file reader using VLC driven by shell command lines.
I send it some basic lines to read files, like "-vout filename.mpg" which makes vlc open and display the file as expected. I would like then to be able to pause the read process, and tried sending lines like " -vlc-pause-0" but this does not work.

How should I send the pause instruction to vlc ?

Thanks!

simon
Cone that earned his stripes
Cone that earned his stripes
Posts: 116
Joined: 18 Sep 2004 20:53
Location: Sweden
Contact:

Postby simon » 14 Mar 2006 15:40

(I'm guessing now)
you could try to start vlc with the RC interface and send 'pause' to it.
or possibly something with applescript

FreeFL
New Cone
New Cone
Posts: 4
Joined: 05 Feb 2006 23:48

Postby FreeFL » 15 Mar 2006 13:11

(I'm guessing now)
you could try to start vlc with the RC interface and send 'pause' to it.
or possibly something with applescript
Thanks!
I already tried applescript : this worksfine, except when several VLC's are running in parallel and applescript is calling another process.

What is RC interface ?

I send orders with a shell object in a RealBasic application (mac). Is it possible to send a pause order to the same shell object, and what is the correct syntax (-, --, :, ...) ?

More : how and where could I find an understandable explicit cookbook for VLC command shell syntax ?

simon
Cone that earned his stripes
Cone that earned his stripes
Posts: 116
Joined: 18 Sep 2004 20:53
Location: Sweden
Contact:

Postby simon » 15 Mar 2006 17:06

http://www.videolan.org/doc/play-howto/en/ch04.html

you can try the RC interface by starting vlc with the -I option enter 'h' too see what you can do

FreeFL
New Cone
New Cone
Posts: 4
Joined: 05 Feb 2006 23:48

Postby FreeFL » 17 Mar 2006 11:21

http://www.videolan.org/doc/play-howto/en/ch04.html

you can try the RC interface by starting vlc with the -I option enter 'h' too see what you can do
Thanks!

I see that the syntax used on these examples is a little different from other examples I have got . Different syntaxes seem to work (show the stream or file) but have different reactions to applescript commands. Where could I find a comprehensive discussion of VLC commands syntax ?

In the help pages I see in the URL syntax beginning part :
vlc:pause:<seconds> Special item to pause the playlist for a certain time
vlc:quit Special item to quit VLC
How can I use these special items to pause or stop the reading of a file ?

Thank you for helping me find my way in this domain, in which I am a beginner...


Return to “VLC media player for macOS Troubleshooting”

Who is online

Users browsing this forum: No registered users and 7 guests