>> Guida ufficiale VLC <<
Configure server:
- Per configurare un streaming audio (per esempio mp3) l'unica differenza è il profilo:
Configure client:
P.S: Ricordatevi di configurare il firewall di Windows (vlc.exe inbound/outbound rules)
Streaming from different sources
Source of video can be a file, VCD/DVD, TV tuner card, camcoder or (it seems) any common video capturing device. When you choose to create a new stream you have the option of picking up the video source. Most video/audio capture devices would show under the 'DirectShow' tab. I connected a camcoder and it was detected as a video source after clicking Refresh.
You can broadcast to a single computer using RTP Unicast or broadcast to a range of IP addresses using RTP Multicast.
Showing videos in webpages (mozilla/firefox)
Innanzitutto installare i plug-in VLC per mozilla. Su firefox: "Componenti aggiuntivi" -> "Plug-in" e fare una ricerca: "VLC". Once you have a server , you may want to host webpages that show the video. The good news is that you would have installed the Mozilla Plugin for VLC Player by opting for a full installation. The code to make a basic webpage with the plugin is given below:
<html>
<head>
<title>Streaming</title></head>
<body>
<p align="center">
>> <a href="javascript:location.reload()">Reload</a> <<
<br><br>
<embed type="application/x-vlc-plugin" pluginspage="http://www.videolan.org" version="VideoLAN.VLCPlugin.2" width="800" height="600" id="vlc">
</embed>
<script language="Javascript">
<!--
var vlc = document.getElementById("vlc");
document.write("</br>" + vlc.versionInfo());
vlc.playlist.add("http://<ip_server>:8080");
vlc.playlist.play();
-->
</script>
</p>
</body>
</html>
P.S: Fare il reload della pagina più volte se il video non dovesse caricarsi
E' anche possibile fare lo streaming del proprio desktop:
Nessun commento:
Posta un commento