Exec doesn't need that much escaping. The url should be however wrapped
in quotation marks because it may contain spaces.
This commit is contained in:
parent
90abed4598
commit
5b91ea05eb
|
@ -12,4 +12,4 @@ if [ $# -ne 1 ]; then
|
|||
exit 1;
|
||||
fi
|
||||
|
||||
exec vlc ${URL} --sout \"#transcode{vcodec=mp2v,acodec=mpga,vb=800,ab=192}:standard{access=udp,mux=ts,dst=127.0.0.1:${1}}\" --intf dummy
|
||||
exec vlc "${URL}" --sout "#transcode{vcodec=mp2v,acodec=mpga,vb=800,ab=192}:standard{access=udp,mux=ts,dst=127.0.0.1:${1}}" --intf dummy
|
||||
|
|
Loading…
Reference in New Issue