stop vlm broadcast

Discussion about configuration and usage of VLM (a stream scheduler) within VLC.
dandreid
New Cone
New Cone
Posts: 4
Joined: 08 May 2006 18:21

stop vlm broadcast

Postby dandreid » 10 May 2006 19:04

I have a problem

I start vlc with:

vlc -I telnet --extraintf rc -vv --vlm-conf test.vlm

test.vlm is:

new test broadcast enabled
setup test input 1.ts
setup test output #standard{mux=ts,access=udp,dst=localhost:1234,sap}
control test play
control test seek 10%

I have more than one instances of vlc opened that are doing the same thing

my problem is that i want to stop broadcasting at 50% (for example...i need to stop it after "x" seconds).

How can i do that???? (I don't need to enter(manualy) in the rc interface "quit"!

I made a batch, which it starts simultanious with vlc -I telnet --extraintf rc -vv --vlm-conf test.vlm(with the broadcast)

PING -n 10 127.0.0.1>nul

cd d:\windows
taskkill /f /im vlc.exe


it waits 10 seconds and kill vlc...is seems ok....but, it kills all my vlc instances...

--stop-time doesn't work here...

if someone could help me.....

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

Postby dionoea » 10 May 2006 22:34

You could have a look at the schedules in the VML doc (although i doubt that they currently support relative time (as in "in 30 minutes"))
Else i don't really know ... except adding support for relative time in schedules :)
Antoine Cellerier
dionoea
(Please do not use private messages for support questions)

dandreid
New Cone
New Cone
Posts: 4
Joined: 08 May 2006 18:21

Postby dandreid » 12 May 2006 07:53

i found a solution...OMG! :P

pv.exe – PrcView command line utility allows automating common task like
figuring out if particular process is running...
Also...

pv -k vlc.exe -w"c:\\"

This command will kill the process whith the window title: "C:\\".
In my case :"vlc -I telnet --extraintf rc -vv --vlm-conf test.vlm"

Every instance will have a unique .vlm filename. :D


Return to “VLM”

Who is online

Users browsing this forum: No registered users and 13 guests