snipt

Ctrl+h for KB shortcuts

Bash

RTSP stream on VLC with VLM

1
2
3
4
5
$vlc --ttl 12 -vvv --color -I telnet --telnet-password videolan --rtsp-host 0.0.0.0:5554

$telnet localhost 4212
> new Test vod enabled
> setup Test input {filename}.mp4
https://snipt.net/embed/37b3e3dbd500f999c1d7974185a6222c/
/raw/37b3e3dbd500f999c1d7974185a6222c/
37b3e3dbd500f999c1d7974185a6222c
bash
Bash
5
2019-06-18T19:44:06
True
False
False
/api/public/snipt/12515/
rtsp-stream-on-vlc-with-vlm
<table class="highlighttable"><tr><td class="linenos"><div class="linenodiv"><pre><a href="#L-1">1</a> <a href="#L-2">2</a> <a href="#L-3">3</a> <a href="#L-4">4</a> <a href="#L-5">5</a></pre></div></td><td class="code"><div class="highlight"><pre><span></span><span id="L-1"><a name="L-1"></a><span class="nv">$vlc</span> --ttl <span class="m">12</span> -vvv --color -I telnet --telnet-password videolan --rtsp-host 0.0.0.0:5554 </span><span id="L-2"><a name="L-2"></a> </span><span id="L-3"><a name="L-3"></a><span class="nv">$telnet</span> localhost 4212 </span><span id="L-4"><a name="L-4"></a>&gt; new Test vod enabled </span><span id="L-5"><a name="L-5"></a>&gt; setup Test input <span class="o">{</span>filename<span class="o">}</span>.mp4 </span></pre></div> </td></tr></table>
rtp, rtsp, vlc, vlm

Bash

rtp stream on VLC

$cvlc -vvv avt.mp4 --sout '#rtp{dst=127.0.0.1,port=1234,sdp=rtsp://serverip:port/test.sdp}'
https://snipt.net/embed/0353978b02d993fc4ae298c20a2e3f32/
/raw/0353978b02d993fc4ae298c20a2e3f32/
0353978b02d993fc4ae298c20a2e3f32
bash
Bash
1
2019-06-19T11:22:29
True
False
False
/api/public/snipt/12514/
rtp-stream-on-vlc
<table class="highlighttable"><tr><td class="linenos"><div class="linenodiv"><pre><a href="#L-1">1</a></pre></div></td><td class="code"><div class="highlight"><pre><span></span><span id="L-1"><a name="L-1"></a><span class="nv">$cvlc</span> -vvv avt.mp4 --sout <span class="s1">&#39;#rtp{dst=127.0.0.1,port=1234,sdp=rtsp://serverip:port/test.sdp}&#39;</span> </span></pre></div> </td></tr></table>
rtp, rtsp, vlc