command = 'new "' + stream_name + '" broadcast input "' + input + '" output ' + (pre_access + ':' if pre_access else '#')
if qtype=='mp4':
command = command + 'transcode{vcodec=mp4v,acodec=mpga,vb=800,ab=128}:'
command = 'new "' + stream_name + '" broadcast input "' + input + '" output ' + (pre_access + ':' if pre_access else '#')
if qtype=='mp4':
command = command + 'transcode{vcodec=mp4v,acodec=mpga,vb=800,ab=128}:'