{"id":502,"date":"2010-03-21T22:52:45","date_gmt":"2010-03-21T22:52:45","guid":{"rendered":"http:\/\/mccltd.net\/blog\/?p=502"},"modified":"2010-03-21T22:53:16","modified_gmt":"2010-03-21T22:53:16","slug":"multicast-testing-using-vlc","status":"publish","type":"post","link":"http:\/\/darenmatthews.com\/blog\/?p=502","title":{"rendered":"Multicast Testing Using VLC Player"},"content":{"rendered":"<p>The &#8220;class D&#8221; multicast address range is 224.0.0.0 to 239.255.255.255, with the private range falling between 239.0.0.0 to 239.255.255.255<\/p>\n<p>This configuration tests multicast routing configurations using VLC:<!--more--><br \/>\nAny machine can join a multicast group by sending a request on the network, and it will automatically receive the stream. When it sends a request to leave the group, it will automatically stop receiving the stream. The streaming server only sends one stream even if there are multiple clients receiving it.<\/p>\n<p>Using UDP to stream to multiple recipients<\/p>\n<p>locate a suitable video file (e.g. &#8220;file.avi&#8221;) and open a command prompt (windows) or terminal window (Linux).\u00a0 Change to the directory where file.avi exists.<\/p>\n<p>On the server enter:<\/p>\n<p>vlc -vvv file.avi &#8211;sout udp:239.0.0.1 &#8211;ttl 12 &#8211;loop<\/p>\n<p>NOTE:\u00a0 If VLC is not in your path, you need to add it.\u00a0 To do this, type &#8220;set&#8221; to show your existing path, e.g.<\/p>\n<p>path=c:\\php;C:\\Perl\\site\\bin;C:\\Perl\\bin;C:\\WINDOWS\\system32;C:\\WINDOWS;C:\\WINDOWS\\System32\\Wbem;C:\\Program Files\\ZipGenius 6\\;C:\\usr\\bin;C:\\Program Files\\SSH Communications Security\\SSH Secure Shell\\<\/p>\n<p>Now add the VLC directory to the path, with &#8220;set path&#8221;:<\/p>\n<p>set path=c:\\php;C:\\Perl\\site\\bin;C:\\Perl\\bin;C:\\WINDOWS\\system32;C:\\WINDOWS;C:\\WINDOWS\\System32\\Wbem;C:\\Program Files\\ZipGenius 6\\;C:\\usr\\bin;C:\\Program Files\\SSH Communications Security\\SSH Secure Shell\\;C:\\Program Files\\VideoLAN\\VLC\\<\/p>\n<p>On the client(s) enter:<\/p>\n<p>vlc -vvv udp:@239.0.0.1<\/p>\n<p>OR from the VLC player:<\/p>\n<p>Media &gt; Open Network\u00a0 (then choose UDP and enter multicast address).<\/p>\n<p>You should now receive the video stream via multicast<\/p>\n","protected":false},"excerpt":{"rendered":"<p>The &#8220;class D&#8221; multicast address range is 224.0.0.0 to 239.255.255.255, with the private range falling between 239.0.0.0 to 239.255.255.255 This configuration tests multicast routing configurations using VLC:<\/p>\n","protected":false},"author":1,"featured_media":0,"comment_status":"closed","ping_status":"open","sticky":false,"template":"","format":"standard","meta":[],"categories":[83,27],"tags":[28],"_links":{"self":[{"href":"http:\/\/darenmatthews.com\/blog\/index.php?rest_route=\/wp\/v2\/posts\/502"}],"collection":[{"href":"http:\/\/darenmatthews.com\/blog\/index.php?rest_route=\/wp\/v2\/posts"}],"about":[{"href":"http:\/\/darenmatthews.com\/blog\/index.php?rest_route=\/wp\/v2\/types\/post"}],"author":[{"embeddable":true,"href":"http:\/\/darenmatthews.com\/blog\/index.php?rest_route=\/wp\/v2\/users\/1"}],"replies":[{"embeddable":true,"href":"http:\/\/darenmatthews.com\/blog\/index.php?rest_route=%2Fwp%2Fv2%2Fcomments&post=502"}],"version-history":[{"count":3,"href":"http:\/\/darenmatthews.com\/blog\/index.php?rest_route=\/wp\/v2\/posts\/502\/revisions"}],"predecessor-version":[{"id":504,"href":"http:\/\/darenmatthews.com\/blog\/index.php?rest_route=\/wp\/v2\/posts\/502\/revisions\/504"}],"wp:attachment":[{"href":"http:\/\/darenmatthews.com\/blog\/index.php?rest_route=%2Fwp%2Fv2%2Fmedia&parent=502"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"http:\/\/darenmatthews.com\/blog\/index.php?rest_route=%2Fwp%2Fv2%2Fcategories&post=502"},{"taxonomy":"post_tag","embeddable":true,"href":"http:\/\/darenmatthews.com\/blog\/index.php?rest_route=%2Fwp%2Fv2%2Ftags&post=502"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}