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