Page 1 of 1

stop vlm broadcast

Posted: 10 May 2006 19:04
by dandreid
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.....

Posted: 10 May 2006 22:34
by dionoea
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 :)

Posted: 12 May 2006 07:53
by dandreid
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