vlc - linux - php - unable to launch vlc for dvb, HELP
Posted: 15 Feb 2007 10:42
hi
i have a php script on apache2,
from this script i can select to stream dvb-t channels
or Dreambox channels
for dreambox channels it works OK:
running it with the exec() command.
/usr/bin/vlc /-vvv --daemon http://192.168.0.15:8585/video.m3u --sout '#transcode{vcodec=WMV2,vb=384,width=320,height=240,acodec=mpga,ab=128,channels=1,fps=25,scale=1}:duplicate{dst=std{access=http,mux=asf,url="192.168.0.35:1234"}}'
but for dvb-t channels it doesn t work:
running this with exec()
/usr/bin/vlc /-vvv --daemon dvb-t:frequency=514000000:inversion=0:bandwidth=8:code-rate-hp=2:code-rate-lp=2:modulation=64:transmission=8:guard=4:hierarchy=0 --sout '#transcode{vcodec=WMV2,vb=384,width=320,height=240,acodec=mpga,ab=128,channels=1,fps=25,scale=1}:duplicate{dst=std{access=http,mux=asf,url=192.168.0.35:1234}}'
for dvb-t it doesn t launch VLC, whats wrong ??
and if I manually do this command:
/usr/bin/vlc /-vvv --daemon dvb-t:frequency=514000000:inversion=0:bandwidth=8:code-rate-hp=2:code-rate-lp=2:modulation=64:transmission=8:guard=4:hierarchy=0 --sout '#transcode{vcodec=WMV2,vb=384,width=320,height=240,acodec=mpga,ab=128,channels=1,fps=25,scale=1}:duplicate{dst=std{access=http,mux=asf,url=192.168.0.35:1234}}'
in Konsole as a regular user, it works...
so why not from web ?
if some1 have ideas ??? on how to solve it
i have a php script on apache2,
from this script i can select to stream dvb-t channels
or Dreambox channels
for dreambox channels it works OK:
running it with the exec() command.
/usr/bin/vlc /-vvv --daemon http://192.168.0.15:8585/video.m3u --sout '#transcode{vcodec=WMV2,vb=384,width=320,height=240,acodec=mpga,ab=128,channels=1,fps=25,scale=1}:duplicate{dst=std{access=http,mux=asf,url="192.168.0.35:1234"}}'
but for dvb-t channels it doesn t work:
running this with exec()
/usr/bin/vlc /-vvv --daemon dvb-t:frequency=514000000:inversion=0:bandwidth=8:code-rate-hp=2:code-rate-lp=2:modulation=64:transmission=8:guard=4:hierarchy=0 --sout '#transcode{vcodec=WMV2,vb=384,width=320,height=240,acodec=mpga,ab=128,channels=1,fps=25,scale=1}:duplicate{dst=std{access=http,mux=asf,url=192.168.0.35:1234}}'
for dvb-t it doesn t launch VLC, whats wrong ??
and if I manually do this command:
/usr/bin/vlc /-vvv --daemon dvb-t:frequency=514000000:inversion=0:bandwidth=8:code-rate-hp=2:code-rate-lp=2:modulation=64:transmission=8:guard=4:hierarchy=0 --sout '#transcode{vcodec=WMV2,vb=384,width=320,height=240,acodec=mpga,ab=128,channels=1,fps=25,scale=1}:duplicate{dst=std{access=http,mux=asf,url=192.168.0.35:1234}}'
in Konsole as a regular user, it works...
so why not from web ?
if some1 have ideas ??? on how to solve it