Unable to find chromecast with "Render" Stuck on "Scanning"

Microsoft Windows specific usage questions
Forum rules
Please post only Windows specific questions in this forum category. If you don't know where to post, please read the different forums' rules. Thanks.
Disco
New Cone
New Cone
Posts: 3
Joined: 12 Jul 2018 20:11

Unable to find chromecast with "Render" Stuck on "Scanning"

Postby Disco » 12 Jul 2018 20:16

Hi,

I've just come across this issue as yesterday it was working fine. But I am unable to cast any videos. It gives me the option of either "Local" or a greyed out "Scanning". I have tried reinstalling to no avail.

I have the latest version of VLC Player. (VLC 3.0.3)

Thanks

Disco
New Cone
New Cone
Posts: 3
Joined: 12 Jul 2018 20:11

Re: Unable to find chromecast with "Render" Stuck on "Scanning"

Postby Disco » 12 Jul 2018 20:20

main debug: looking for renderer probe module matching "any": 1 candidates
main debug: no renderer probe modules matched
qt debug: starting renderer discovery service mDNS renderer Discovery
main debug: looking for renderer_discovery module matching "microdns_renderer": 1 candidates
microdns debug: mDNS: listening to _googlecast._tcp.local renderer
main debug: using renderer_discovery module "microdns"

Disco
New Cone
New Cone
Posts: 3
Joined: 12 Jul 2018 20:11

Re: Unable to find chromecast with "Render" Stuck on "Scanning"

Postby Disco » 12 Jul 2018 20:20

chromecast works through chrome and everything else just not VLC

User avatar
InTheWings
Developer
Developer
Posts: 1275
Joined: 07 Aug 2013 13:15
VLC version: crashing
Operating System: Linux
Contact:

Re: Unable to find chromecast with "Render" Stuck on "Scanning"

Postby InTheWings » 12 Jul 2018 20:30

If that does not show in chrome, then that's not a vlc issue
:!: If you want your problem to be solved :
* First read troubleshooting guide VSG:Main
* Always provide verbose LOGS ! (command line or from gui)
* Always check your issue against a developer build from Nightly Build of VLC
* Tell us when your problem is solved !

cdlag
New Cone
New Cone
Posts: 2
Joined: 11 Jul 2018 18:25

Re: Unable to find chromecast with "Render" Stuck on "Scanning"

Postby cdlag » 18 Jul 2018 11:26

I have the exact same problem with vlc 3.0.3 on a Dell XPS 13, has anybody found a solution? It looks like Windows Surface experienced the same problem, and the Dell XPS is almost like a Surface, so that is maybe where the problem comes from...

laionidas
New Cone
New Cone
Posts: 7
Joined: 10 Jul 2018 13:10

Re: Unable to find chromecast with "Render" Stuck on "Scanning"

Postby laionidas » 22 Jul 2018 15:46

I'm having a similar problem with my Chromecast Audio, and made a thread about it before.

I'm also pretty sure that the problem lies with VLC: it worked fine before, and I only started having issues recently. After all, Chromecasts itself or my Wifi network have not changed, and only VLC has been updated.

Jean-Baptiste Kempf
Site Administrator
Site Administrator
Posts: 37523
Joined: 22 Jul 2005 15:29
VLC version: 4.0.0-git
Operating System: Linux, Windows, Mac
Location: Cone, France
Contact:

Re: Unable to find chromecast with "Render" Stuck on "Scanning"

Postby Jean-Baptiste Kempf » 24 Jul 2018 19:31

Yeah, it could be, but it's hard to guess the issue, since this is mostly related to networking problem.
Jean-Baptiste Kempf
http://www.jbkempf.com/ - http://www.jbkempf.com/blog/category/Videolan
VLC media player developer, VideoLAN President and Sites administrator
If you want an answer to your question, just be specific and precise. Don't use Private Messages.

scojack
New Cone
New Cone
Posts: 5
Joined: 24 Jul 2018 19:22
VLC version: 3.0.6 64bit
Operating System: Windows 10 Pro 64bit

Re: Unable to find chromecast with "Render" Stuck on "Scanning"

Postby scojack » 24 Jul 2018 19:41

I have the same exact problem of Disco and cdlag

VLC 3.0.3 Vetinari 64 bit

Windows 10 Pro X64 Build 1803 April 2018 Update

I think the issue started after 1803 update

The issue seems to be impossibile to find Chromecast device. It ìs interesting that cast is possible executing VLC from command line as found on this topic:
https://forum.videolan.org/viewtopic.php?t=143114

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
The strange thing is that *sometimes* VLC find Chromecast, but many times stucks on "scanning" with non apparently reason.

The same chromecast device is always found by several Android devices and Ipad with no problema

Everyone have any ideas to track and solve this issue?

Thanks in advance!

Giacomo

Jean-Baptiste Kempf
Site Administrator
Site Administrator
Posts: 37523
Joined: 22 Jul 2005 15:29
VLC version: 4.0.0-git
Operating System: Linux, Windows, Mac
Location: Cone, France
Contact:

Re: Unable to find chromecast with "Render" Stuck on "Scanning"

Postby Jean-Baptiste Kempf » 24 Jul 2018 20:03

Android with VLC or?
Jean-Baptiste Kempf
http://www.jbkempf.com/ - http://www.jbkempf.com/blog/category/Videolan
VLC media player developer, VideoLAN President and Sites administrator
If you want an answer to your question, just be specific and precise. Don't use Private Messages.

scojack
New Cone
New Cone
Posts: 5
Joined: 24 Jul 2018 19:22
VLC version: 3.0.6 64bit
Operating System: Windows 10 Pro 64bit

Re: Unable to find chromecast with "Render" Stuck on "Scanning"

Postby scojack » 24 Jul 2018 22:48

Sorry.. i don't understand what are you asking for..
Anyway..

Issue present on VLC 3.0.3 64bit on Windows 10 Pro PC Version 1803 : can't find Chromecast (no chromecast shown in Playback > Renderer : just "Local" and stuck on "scanning") but cast is possible if VLC is started from cmd with --sout etc.. arguments)
It is very probable that issue comes up after 1803 update
On same PC it is possibile to find and cast to chromecast with Chrome

On same WIFI Network it is possible to find and cast to same chromecast device from Android VLC 3.0.11
On same WIFI Network it is possible to find and cast to same chromecast device from Ipad with VLC for iOS 3.1.0

Thanks!

Giacomo

Jean-Baptiste Kempf
Site Administrator
Site Administrator
Posts: 37523
Joined: 22 Jul 2005 15:29
VLC version: 4.0.0-git
Operating System: Linux, Windows, Mac
Location: Cone, France
Contact:

Re: Unable to find chromecast with "Render" Stuck on "Scanning"

Postby Jean-Baptiste Kempf » 25 Jul 2018 00:33

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. After, that sout is direct access...

Do you have a firewall?
Jean-Baptiste Kempf
http://www.jbkempf.com/ - http://www.jbkempf.com/blog/category/Videolan
VLC media player developer, VideoLAN President and Sites administrator
If you want an answer to your question, just be specific and precise. Don't use Private Messages.

Jean-Baptiste Kempf
Site Administrator
Site Administrator
Posts: 37523
Joined: 22 Jul 2005 15:29
VLC version: 4.0.0-git
Operating System: Linux, Windows, Mac
Location: Cone, France
Contact:

Re: Unable to find chromecast with "Render" Stuck on "Scanning"

Postby Jean-Baptiste Kempf » 25 Jul 2018 00:34

Is VLC installed in the Program FIles location?
Jean-Baptiste Kempf
http://www.jbkempf.com/ - http://www.jbkempf.com/blog/category/Videolan
VLC media player developer, VideoLAN President and Sites administrator
If you want an answer to your question, just be specific and precise. Don't use Private Messages.

scojack
New Cone
New Cone
Posts: 5
Joined: 24 Jul 2018 19:22
VLC version: 3.0.6 64bit
Operating System: Windows 10 Pro 64bit

Re: Unable to find chromecast with "Render" Stuck on "Scanning"

Postby scojack » 28 Jul 2018 22:56

Hi Jean-Baptiste Kempf! Thanks for your reply

Yes, VLC in installed in the Program Files location that is C:\Program Files\VideoLAN\VLC\

I have Windows Firewall but i also tried to disable it and open VLC: still stuck on Scanning e no chromecast device is shown.

Any other ideas?

Repeat: I'm pretty sure that issue started after Windows 10 Aprile 2018 update. Maybe is something changed in that update?

Thanks

Jean-Baptiste Kempf
Site Administrator
Site Administrator
Posts: 37523
Joined: 22 Jul 2005 15:29
VLC version: 4.0.0-git
Operating System: Linux, Windows, Mac
Location: Cone, France
Contact:

Re: Unable to find chromecast with "Render" Stuck on "Scanning"

Postby Jean-Baptiste Kempf » 29 Jul 2018 22:10

It is very possible that this changed things, but what?
Jean-Baptiste Kempf
http://www.jbkempf.com/ - http://www.jbkempf.com/blog/category/Videolan
VLC media player developer, VideoLAN President and Sites administrator
If you want an answer to your question, just be specific and precise. Don't use Private Messages.

scojack
New Cone
New Cone
Posts: 5
Joined: 24 Jul 2018 19:22
VLC version: 3.0.6 64bit
Operating System: Windows 10 Pro 64bit

Re: Unable to find chromecast with "Render" Stuck on "Scanning"

Postby scojack » 07 Aug 2018 15:41

Update: issue seems solved! I googled around about Windows 10 Upgrade 1803 and mDNS and found that:

https://antsle.com/forum/topic/did-wind ... addresses/

I Installed bonjour Print service for Windows from Apple website as suggested

Best Regards
Giacomo

laionidas
New Cone
New Cone
Posts: 7
Joined: 10 Jul 2018 13:10

Re: Unable to find chromecast with "Render" Stuck on "Scanning"

Postby laionidas » 10 Sep 2018 14:43

Found another solution that doesn't require Apple Bonjour, or other workarounds that require installation of additional software. The below can be found in my original thread.
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.

sunmoon51
New Cone
New Cone
Posts: 1
Joined: 14 Sep 2018 20:36

Re: Unable to find chromecast with "Render" Stuck on "Scanning"

Postby sunmoon51 » 14 Sep 2018 21:03

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.
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...

simonirwin
New Cone
New Cone
Posts: 2
Joined: 02 Oct 2018 20:48

Re: Unable to find chromecast with "Render" Stuck on "Scanning"

Postby simonirwin » 02 Oct 2018 20:52

I am using 3.0.4 and the problem as described occurs as far as I can tell if the Chromecast device is not ready when you ***boot*** your PC. No amount of messing about in VLC or anywhere else seems to make any difference if you booted when it was not available. You just get "Scanning" stuck there. If you reboot the PC when the Chromecast is up and running on your LAN, then start VLC, I have found that it always finds it.

Good Luck....

pen
Blank Cone
Blank Cone
Posts: 10
Joined: 07 Jan 2006 09:42

Re: Unable to find chromecast with "Render" Stuck on "Scanning"

Postby pen » 25 Oct 2018 12:45

I went into exactly the same problem when I tried VLC with my Chromecast yesterday. I realised that this could be the same problem as I had for other applications with my Chromecas Audio previously and tried the same workaround and it worked also for VLC.

Here is what I found out when digging into my Chromecast Audio option (as I remember it):

mDNS is subscribing to a multicast stream (multicast IP address) via Windows
Windows keeps a list of all subscribed streams internally
If there is a change to the list - and only then - Windows probably call the network chip driver to push the complete list down
The network chip driver adds the list to the hardware multicast listening table
The network chip only deliver multicast packets whose IP address matches those in the table to Windows

If of some reason there has become a mismatch between the list in Windows and the table in the hardware AND
if there already exist an entry for the mDNS multicast address in the Windows table (but not in the hardware) AND
an application that needs to use mDNS call Windows to subscribe to the mDNS multicast address THEN
Windows recognise the address is already in its list and DOES NOT push the table down to the network driver SO
the mDNS packets just drops in the hardware.

The workaround I did was to make a script that subscribed to an arbitrary multicast address but not the one used by mDNS (or any other known to already be used) and then just unsubscribed again. Since the arbitrary address is not likely to already be in the Windows list - Windows will push not just the new address, but all subscribed addresses to the network chip driver including the one used by mDNS. After this VLC starts to work.

Typically the missmatch beteen Windows and the network hardware is generated when my PC goes to sleep.
Last edited by pen on 25 Oct 2018 13:11, edited 1 time in total.

pen
Blank Cone
Blank Cone
Posts: 10
Joined: 07 Jan 2006 09:42

Re: Unable to find chromecast with "Render" Stuck on "Scanning"

Postby pen » 25 Oct 2018 13:03

And here is my script

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
You need to put the mcreceive.exe file somewhere and point it out in the script. The problem is that the site that provided the multicast toolbox where mcreceive.exe was part seems to have moved or disappeared. I dont know if I can somehow post my mcreceive.exe file here. But it's just an multicast receiver for testing purposes. Maybe there is a similar program somewhere.

pen
Blank Cone
Blank Cone
Posts: 10
Joined: 07 Jan 2006 09:42

Re: Unable to find chromecast with "Render" Stuck on "Scanning"

Postby pen » 25 Oct 2018 13:09

While this is a workaround, it's not a good solution. Trying to get Microsoft and/or the network chip vendor to solve the problem is useless. The better solution is that the application, once it has discovered the unicast address to a Chromecast device, NEVER EVER forget it again until it has been proven to be unreachable. I guess that this is how working applications (like Chrome) are implemented - first try to connect to already learned devices by unicast, second try to find new devices by mDNS.

Namekuseijin
New Cone
New Cone
Posts: 1
Joined: 04 Nov 2018 11:19

Re: Unable to find chromecast with "Render" Stuck on "Scanning"

Postby Namekuseijin » 04 Nov 2018 11:28

I have the exact same problem and I was not able to solve the issue, can anyone help me?
tried installing on a different folder than 'program files' and downloading the bonjour thing...
also prepared the chromecast before booting the computer and didn't worked as well...
:(

pen
Blank Cone
Blank Cone
Posts: 10
Joined: 07 Jan 2006 09:42

Re: Unable to find chromecast with "Render" Stuck on "Scanning"

Postby pen » 14 Nov 2018 15:21

Since it's not trivial for others to make my script above work (in absense of the needed program), please try the following instead. It will basically do the same as the script:

If VLC is stuck on scanning for renderer, then use VLC to open a random multicast network stream in the range of address 224.0.0.X, where X is between 100 and 199. You should notice there is nothing played (since there is no such stream available). Wait for a while and then check for available renderers again. Now they should show up (might take a couple of seconds but not more than a minute).

Note that once you have used a number X, you cannot use it again. A way to generate new numbers might be to set X to 100 + current date. If you get stuck more than once a day, then add 30 to the date or just use 100 + current minute as a random number. And when all numbers are exhausted, well then you have to powercycle the laptop unless that has already been done in a month.

The complete syntax for the multicast network stream to open is udp://@224.0.0.X:5000

Please let me know if it helps.

unidan
Developer
Developer
Posts: 1493
Joined: 25 Mar 2018 01:00

Re: Unable to find chromecast with "Render" Stuck on "Scanning"

Postby unidan » 16 Nov 2018 18:25

Different context from the previous message, but it could also be this issue: https://trac.videolan.org/vlc/ticket/17477

pen
Blank Cone
Blank Cone
Posts: 10
Joined: 07 Jan 2006 09:42

Re: Unable to find chromecast with "Render" Stuck on "Scanning"

Postby pen » 17 Nov 2018 10:51

Interesting observation. It might or might not be related.

The way I found the cause of my problem (and my family members as well) was that on the laptop under consideration not even wireshark was able to observe the reception of mDNS packets despite the fact that both VLC and Chromecast was represented in the Windows multicast subscription table. Other computers on the network received them. Eventhough no mDNS packets were received, Chromecast continued to work but not VLC. So somehow, Chromecast must have cached the unicast IP address of the rederers (the cache survived the root cause).


Return to “VLC media player for Windows Troubleshooting”

Who is online

Users browsing this forum: No registered users and 35 guests