Code: Select all
"C:\Program files\VideoLAN\VLC\vlc.exe" "path_to_file_video_files" --sout "#chromecast" --sout-chromecast-ip=<Chromecast IP address> --demux-filter=demux_chromecast
Fixed it after I remember other programs (noticably GOG Galaxy) having similar issues:
The trick is to install VLC x64 to "C:\something", instead of "C:\program files\something", so any other folder than "program files" really. There is also a firewall prompt after every fresh installation, when installing to other folders than "program files", but not when installing to the latter. I haven't tried manually creating firewall exceptions for a "program files" installation, but I think I did in the past and it made no difference. I am sure I tried it for other programs (like GOG Galaxy), and it didn't resolve the issue either, while an installation to "C:\something", instead of "C:\program files\something", did. Recent versions of Windows 10 x64 just seem to have some connectivity and access-rights issues that can't be resolved by granting administrator permission.
I HAD this issue too. I've found interesting post about the mDNS issues: Why do some WiFi routers block multicast packets going from wired to wireless? . Then I've found on the Internet which my network provider routers support Apple Bonjour|Microsoft mDNS and which don't. Then I asked them to replace my old cable modem. Today I got the new one. Guess what? Chromecast is ALWAYS visible as renderer in VLC. Problem solved! Hope this helps...Yes, so there is something blocking VLC from accessing the network on the machine. Indeed, discovery of the chromecast is mDNS (multicast), to guess the address.
Code: Select all
@echo off
REM Script to make a dummy join and leave of a multicast group
REM Executes multicast receive program for 5s and then exits
cd "C:\Program Files (x86)\<your folder for mcreceive>"
set /a min = 100
set /a max = 199
set /a lowip = %RANDOM% * (%max% - %min% + 1) / 32768 + %min%
echo 224.0.0.%lowip%
Start "" /b mcreceive.exe 224.0.0.%lowip% 6000
timeout /T 5 /nobreak >nul
taskkill /IM mcreceive.exe /F
EXIT
Return to “VLC media player for Windows Troubleshooting”
Users browsing this forum: No registered users and 7 guests