Telnet interface, schedule play problems 1.1.4 Luggage

Discussion about configuration and usage of VLM (a stream scheduler) within VLC.
brianmunk
New Cone
New Cone
Posts: 4
Joined: 27 Dec 2010 00:27

Telnet interface, schedule play problems 1.1.4 Luggage

Postby brianmunk » 27 Dec 2010 01:02

Hi

I have a weird problem, but Ive done much testing and have to get help.
The file thats my output don't get created on schedule (when I add a date and time) only when I replace it with "now" (see details below).

"vlc -I telnet" start the vlc console: [telnet] lua interface: Listening on host "localhost:4212".
I telnet vlc localhost 4212 and give the commands in the code window.

This works every time:
"new start_mymedia_now schedule enabled date now append control mymedia play"
I get a file I can watch with the vlc-player.

The play command with specific time does not work for me.
"new start_mymedia_now schedule enabled date 2010/12/27-00:24:00 append control mymedia play"
(the example is a bit different but its the same result).

The stream does not start nor does the file get created. The funny thing is the Stop/end command works every time.
I know because it at the end create the file with the name as filesize zero.

This is what I did in the telnet console:

Code: Select all

user@server:~$ telnet localhost 4212 Trying ::1... Connected to localhost.localdomain. Escape character is '^]'. VLC media player 1.1.4 The Luggage Password: Welcome, Master > new mymedia broadcast enabled input udp://@232.34.53.20:6601 output #std{access=file,mux=ts,dst=/home/user/file.mpg} new > new start_mymedia schedule enabled new > setup start_mymedia date 2010/12/27-00:22:00 setup > setup start_mymedia append control mymedia play setup > new stop_mymedia schedule enabled date 2010/12/27-00:22:00 append control mymedia stop new > show show media : ( 1 broadcast - 0 vod ) mymedia type : broadcast enabled : yes loop : no inputs 1 : udp://@232.34.53.20:6601 output : #std{access=file,mux=ts,dst=/home/user/file.mpg} options instances schedule start_mymedia enabled : yes next launch : Mon Dec 27 00:22:00 2010 stop_mymedia enabled : yes next launch : Mon Dec 27 00:23:00 2010 > show start_mymedia show start_mymedia type : schedule enabled : yes date : 2010/12/27-0:22:0 period : 0 repeat : -1 commands control mymedia play > show stop_mymedia show stop_mymedia type : schedule enabled : yes date : 2010/12/27-0:23:0 period : 0 repeat : -1 commands control mymedia stop
Thanks for any help in advance.

brianmunk
New Cone
New Cone
Posts: 4
Joined: 27 Dec 2010 00:27

Re: Telnet interface, schedule play problems 1.1.4 Luggage

Postby brianmunk » 30 Dec 2010 08:42

I use Ubuntu 10.10, I'm not sure if its the same on windows.

Apparently, switching around the order of the start and stop command work:

new 1 broadcast enabled input udp://@239.0.10.40:8201 output #std{access=file,mux=ts,dst=/home/lusername/streaming.mpg}
new 2 schedule enabled date 2010/12/29-10:03:00 append control 1 stop
new 3 schedule enabled date 2010/12/29-10:02:00 append control 1 play

I also concluded that where the rtsp-server in VOD (video on demand) can handle more streams at the same time, it does not work here.
Time line:
I tried setting up 2 streams to file and started 1, started 2 (which didn't start), stopped 2, and stopped 1, however that made 2 start and not stop again.
(I did for the record give the commands in the order stop2, start2, stop1 start1).


Return to “VLM”

Who is online

Users browsing this forum: No registered users and 5 guests