Thanks, it works fine for me in runlevel 3 and when I start it manualy. But when I try it to start with a script (for cronjobs) like this :
Code: Select all
#!/bin/sh
vlc -I rc -V dummy -v udp:@224.0.0.1:1234 --sout '#duplicate{dst=std{access=file,mux=ps,url="/tmp/test.mpeg"}}' &
sleep 15
killall vlc
VLC writes the following :
Code: Select all
[00000161] main input: playlist item `udp:@224.0.0.1:1234'
[00000162] rc interface warning: fd 0 is not a TTY
[00000161] mp4 input warning: MP4 plugin discarded (unseekable)
[00000161] avi input warning: avi module discarded (invalid header)
[00000161] asf input warning: ASF v1.0 plugin discarded (not a valid file)
Gdk-WARNING **: locale not supported by C library
Gtk-WARNING **: cannot open display:
[00000166] access_output_file private: Open: name:`/home/recorder/test.mpeg'
[00000167] mux_ps private: Open
[00000161] mpeg_system input warning: duplicate packet received for PID 0 (counter 15)
[00000161] mpeg_system input warning: first packet for PID 400 received by TS demux
Where is the difference between the manual call on the commandline or the execution by the script?!
thanks a lot for your help
Tom