{"id":30,"date":"2012-09-19T01:06:18","date_gmt":"2012-09-18T23:06:18","guid":{"rendered":"http:\/\/www.dolicapax.org\/?p=30"},"modified":"2012-09-19T01:17:30","modified_gmt":"2012-09-18T23:17:30","slug":"dlna-compatible-desktop-streams-from-vlc","status":"publish","type":"post","link":"https:\/\/www.dolicapax.org\/?p=30","title":{"rendered":"DLNA compatible Desktop streams from VLC"},"content":{"rendered":"<p>After a good bit of tinkering, I&#8217;ve come up with the following setup for generating a DLNA \u00a0compatible stream of a Windows or Linux desktop using <a href=\"http:\/\/www.videolan.org\" target=\"_blank\">Video Lan Connection<\/a>.<\/p>\n<p>Note that there is no audio in this configuration, as it was not a requirement for my project. Also, the screen resolution of the source computer should probably match the one of the stream: 1920 x 1080.<\/p>\n<p>These streams works quite well with our Samsung 5-series Smart-TVs, and should work for most other DLNA or UPNP AV devices capable of h.264 formatted video in 1080p aka Full HD.<\/p>\n<p>For reasons I have yet to figure out, the streams are detected as 4:3 format. I was able to easily work around this by setting the TV to force 16:9.<\/p>\n<p>Typically I experience 5-10 seconds delay between the source computer and the rendering device.<\/p>\n<p>On Linux the built in Screen:\/\/ video source seems to work nicely, while on Windows I found an open source DirectShow filter by Roger Pack to work somewhat better: <a href=\"http:\/\/sourceforge.net\/projects\/screencapturer\/files\/\" target=\"_blank\">Screen Capture Recorder<\/a><\/p>\n<p>&nbsp;<\/p>\n<p>Linux:<\/p>\n<blockquote><p>vlc screen:\/\/ &#8211;screen-fps=25 &#8211;sout &#8216;#transcode{venc=x264{profile=low,preset=ultrafast,tune=animation,keyint=25}, vcodec=h264,width=1920,height=1080,fps=25,acodec=none}:http{mux=ps,dst=:8080\/}&#8217; &#8211;sout-keep<\/p><\/blockquote>\n<p>&nbsp;<\/p>\n<p>Windows (using screen-capture-recorder):<\/p>\n<blockquote><p>&#8220;C:\\Program Files (x86)\\VideoLAN\\VLC\\vlc.exe&#8221; -vvv dshow:\/\/ &#8211;sout=#transcode{venc=x264{profile=low,preset=ultrafast,tune=animation, keyint=25},vcodec=h264,width=1920,height=1080,fps=25, acodec=none}:std{access=http,mux=ps,dst=0.0.0.0:8080} &#8211;no-sout-rtp-sap &#8211;no-sout-standard-sap &#8211;ttl=1 &#8211;sout-keep :dshow-vdev=screen-capture-recorder :dshow-adev=none :dshow-caching=1000<\/p><\/blockquote>\n<p>&nbsp;<\/p>\n<p>You should now be able to reach the stream by pointing another instance of VLC to port 8080 of the source machine. You could even test with a second instance of VLC on the same host by opening http:\/\/localhost:8080\/<\/p>\n<p>The streams should be added to a DLNA or UPNP AV media server capable of serving live streams, as such I have had some luck using\u00a0<a href=\"http:\/\/www.serviio.org\" target=\"_blank\">Serviio<\/a>. It&#8217;s not open source, but there is a free version available for all of Linux, Windows and OS X.<\/p>\n","protected":false},"excerpt":{"rendered":"<p>After a good bit of tinkering, I&#8217;ve come up with the following setup for generating a DLNA \u00a0compatible stream of a Windows or Linux desktop using Video Lan Connection. Note that there is no audio in this configuration, as it &hellip; <a href=\"https:\/\/www.dolicapax.org\/?p=30\">Continue reading <span class=\"meta-nav\">&rarr;<\/span><\/a><\/p>\n","protected":false},"author":1,"featured_media":0,"comment_status":"open","ping_status":"open","sticky":false,"template":"","format":"standard","meta":{"footnotes":""},"categories":[4],"tags":[15,14,16,13],"_links":{"self":[{"href":"https:\/\/www.dolicapax.org\/index.php?rest_route=\/wp\/v2\/posts\/30"}],"collection":[{"href":"https:\/\/www.dolicapax.org\/index.php?rest_route=\/wp\/v2\/posts"}],"about":[{"href":"https:\/\/www.dolicapax.org\/index.php?rest_route=\/wp\/v2\/types\/post"}],"author":[{"embeddable":true,"href":"https:\/\/www.dolicapax.org\/index.php?rest_route=\/wp\/v2\/users\/1"}],"replies":[{"embeddable":true,"href":"https:\/\/www.dolicapax.org\/index.php?rest_route=%2Fwp%2Fv2%2Fcomments&post=30"}],"version-history":[{"count":5,"href":"https:\/\/www.dolicapax.org\/index.php?rest_route=\/wp\/v2\/posts\/30\/revisions"}],"predecessor-version":[{"id":34,"href":"https:\/\/www.dolicapax.org\/index.php?rest_route=\/wp\/v2\/posts\/30\/revisions\/34"}],"wp:attachment":[{"href":"https:\/\/www.dolicapax.org\/index.php?rest_route=%2Fwp%2Fv2%2Fmedia&parent=30"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"https:\/\/www.dolicapax.org\/index.php?rest_route=%2Fwp%2Fv2%2Fcategories&post=30"},{"taxonomy":"post_tag","embeddable":true,"href":"https:\/\/www.dolicapax.org\/index.php?rest_route=%2Fwp%2Fv2%2Ftags&post=30"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}