script (automatic close VLC)

All you've ever wanted to know about the ActiveX, Mozilla plugins, the web interface and various PHP extensions
e6964822
Cone that earned his stripes
Cone that earned his stripes
Posts: 119
Joined: 18 Jan 2006 13:48

script (automatic close VLC)

Postby e6964822 » 25 Jan 2006 13:28

Hi,

I want to do a script that close the VLC program when it ends the reproduction.

Is is possible? (end VLC program when the reproduction ends)

Thank you.

e6964822
Cone that earned his stripes
Cone that earned his stripes
Posts: 119
Joined: 18 Jan 2006 13:48

Postby e6964822 » 25 Jan 2006 13:29

In windows.

dionoea
Cone Master
Cone Master
Posts: 5157
Joined: 03 Dec 2003 23:09
Location: Paris, France

Postby dionoea » 25 Jan 2006 14:48

what do you call "reproduction" ?
Antoine Cellerier
dionoea
(Please do not use private messages for support questions)

cebecerril
New Cone
New Cone
Posts: 7
Joined: 19 Jan 2006 09:33

Postby cebecerril » 25 Jan 2006 15:19

I think:

"reproduction" = playback

dionoea
Cone Master
Cone Master
Posts: 5157
Joined: 03 Dec 2003 23:09
Location: Paris, France

Postby dionoea » 25 Jan 2006 16:43

oh ok :) Just add "vlc:quit" to the list of items to be played.
Antoine Cellerier
dionoea
(Please do not use private messages for support questions)

e6964822
Cone that earned his stripes
Cone that earned his stripes
Posts: 119
Joined: 18 Jan 2006 13:48

ups

Postby e6964822 » 26 Jan 2006 10:30

:P <Hi!

I write this script:


C:\"Archivos de programa"\VideoLAN\VLC\vlc.exe "C:\Documents and Setting\Escritorio\DEMOS\matrix.revolutions.mpg,vlc:quit" :sout=#duplicate{dst=std{access=rtp,mux=ts,url=228.1.1.1:1234}}

And not play. I want first this play matrix and at the end VLC close himself.

Thank you.

dionoea
Cone Master
Cone Master
Posts: 5157
Joined: 03 Dec 2003 23:09
Location: Paris, France

Postby dionoea » 26 Jan 2006 13:39

add vlc:quit after :sout (else :sout will only apply to vlc:quit and not to the first item)
Antoine Cellerier
dionoea
(Please do not use private messages for support questions)


Return to “Web and scripting”

Who is online

Users browsing this forum: No registered users and 14 guests