X-Git-Url: https://git.rvb.name/vpproxy.git/blobdiff_plain/25a9fce214d07b28f97dd0ee4ea5cc714d359569..21abfc4eb5f6f49ef263d0c1961fb1dff19f337c:/vlcclient/vlcmessages.py diff --git a/vlcclient/vlcmessages.py b/vlcclient/vlcmessages.py index d2ebe45..1d03938 100644 --- a/vlcclient/vlcmessages.py +++ b/vlcclient/vlcmessages.py @@ -13,9 +13,12 @@ class VlcMessage(object): 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}:' - elif qtype=='webm': - command = command + 'transcode{vcodec=VP80,acodec=vorbis,vb=512,ab=64}:' - muxer='ffmpeg{mux=webm}' + elif qtype=='ogg': + command = command + 'transcode{vcodec=theora,acodec=vorbis,vb=800,ab=128}:' + muxer='ogg' +# elif qtype=='webm': +# command = command + 'transcode{vcodec=VP80,acodec=vorbis,vb=512,ab=64}:' +# muxer='ffmpeg{mux=ogg}' command = command +'http{mux=' + muxer + ',dst=:' + \ str(out_port) + '/' + stream_name + '} option sout-keep option sout-all enabled' + \ "\r\n" + 'control "' + stream_name + '" play'