{"id":56,"date":"2013-05-12T01:46:20","date_gmt":"2013-05-12T05:46:20","guid":{"rendered":"https:\/\/rebrik.info\/blog\/?p=56"},"modified":"2013-05-12T11:52:09","modified_gmt":"2013-05-12T15:52:09","slug":"56","status":"publish","type":"post","link":"https:\/\/rebrik.info\/blog\/?p=56","title":{"rendered":"VLC could not open the file and the MRL"},"content":{"rendered":"<p class=\"none\">I started to get this error on my Video PC Win XP SP3:<\/p>\n<pre>File reading failed:\r\nVLC could not open the file\r\n&quot;C:\\Profiles\\user\\Temp\\PLUGTM~2\\PLUGIN~2.ASH&quot;. (Bad file descriptor)\r\nYour input can&#039;t be opened:\r\nVLC is unable to open the MRL \r\n&#039;file:\/\/\/C:\/Profiles\/user\/Temp\/PLUGTM~2\/PLUGIN~2.ASH&#039;. \r\nCheck the log for details.<\/pre>\n<p class=\"none\">This only happens if VLC is not running when a web page requests VLC to start streaming the video. If VLC is running, the stream is opened without a problem. Looks like some sort of timing issue at the VLC startup. I could not find a solution on the web, fixing VLC is not an option, so I decided to make sure that VLC is always running. Added a shortcut to the Startup dir in Windows, it starts VLC in the minimized mode (tray icon):<\/p>\n<pre class=\"none\">&quot;C:\\Program Files\\VideoLAN\\VLC\\vlc&quot; --qt-start-minimized<\/pre>\n<p class=\"none\">There is a positive side-effect: the first start of a VLC stream is noticeably faster. Unfortunately, killing all instances of VLC will bring back the problem.<\/p>\n<p class=\"none\">There is an option to <a href=\"&quot;http:\/\/mailman.videolan.org\/pipermail\/vlc\/2004-January\/007164.html\">start VLC as a service<\/a>, but I have not tried this yet:<\/p>\n<pre class=\"none\"> vlc -I ntservice --ntservice-extraintf=http --ntservice-install<\/pre>\n<p class=\"none\">Web control interface is at <a href=\"http:\/\/127.0.0.1:8080\/\">http:\/\/127.0.0.1:8080\/<\/a><\/p>\n","protected":false},"excerpt":{"rendered":"<p>I started to get this error on my Video PC Win XP SP3: File reading failed: VLC could not open the file &quot;C:\\Profiles\\user\\Temp\\PLUGTM~2\\PLUGIN~2.ASH&quot;. (Bad file descriptor) Your input can&#039;t be opened: VLC is unable to open the MRL &#039;file:\/\/\/C:\/Profiles\/user\/Temp\/PLUGTM~2\/PLUGIN~2.ASH&#039;. Check the log for details. This only happens if VLC is not running when a web [&hellip;]<\/p>\n","protected":false},"author":1,"featured_media":0,"comment_status":"open","ping_status":"open","sticky":false,"template":"","format":"standard","meta":[],"categories":[2],"tags":[],"_links":{"self":[{"href":"https:\/\/rebrik.info\/blog\/index.php?rest_route=\/wp\/v2\/posts\/56"}],"collection":[{"href":"https:\/\/rebrik.info\/blog\/index.php?rest_route=\/wp\/v2\/posts"}],"about":[{"href":"https:\/\/rebrik.info\/blog\/index.php?rest_route=\/wp\/v2\/types\/post"}],"author":[{"embeddable":true,"href":"https:\/\/rebrik.info\/blog\/index.php?rest_route=\/wp\/v2\/users\/1"}],"replies":[{"embeddable":true,"href":"https:\/\/rebrik.info\/blog\/index.php?rest_route=%2Fwp%2Fv2%2Fcomments&post=56"}],"version-history":[{"count":9,"href":"https:\/\/rebrik.info\/blog\/index.php?rest_route=\/wp\/v2\/posts\/56\/revisions"}],"predecessor-version":[{"id":68,"href":"https:\/\/rebrik.info\/blog\/index.php?rest_route=\/wp\/v2\/posts\/56\/revisions\/68"}],"wp:attachment":[{"href":"https:\/\/rebrik.info\/blog\/index.php?rest_route=%2Fwp%2Fv2%2Fmedia&parent=56"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"https:\/\/rebrik.info\/blog\/index.php?rest_route=%2Fwp%2Fv2%2Fcategories&post=56"},{"taxonomy":"post_tag","embeddable":true,"href":"https:\/\/rebrik.info\/blog\/index.php?rest_route=%2Fwp%2Fv2%2Ftags&post=56"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}