This shows you the differences between two versions of the page.
Both sides previous revision Previous revision Next revision | Previous revision | ||
stream_pc_chromecast [2021/06/16 15:02] johncoool |
stream_pc_chromecast [2021/07/28 14:49] (current) johncoool |
||
---|---|---|---|
Line 5: | Line 5: | ||
Read the entire guide before starting the process to be sure that it covers all your requirements. | Read the entire guide before starting the process to be sure that it covers all your requirements. | ||
- | The 1st thing you must do before continuing with this guide is to check if your PC supports Miracast mirroring. You can do this by following the tips in the below link. The 2nd method will work on any of the 3 Windows Platforms. If your system supports Miracast devices then you do not this guide and can search for the solution on YouTube. | + | The 1st thing you must do before continuing with this guide is to check if your PC supports Miracast mirroring. You can do this by following the tips in the below link. The 2nd method |
https:// | https:// | ||
- | (All the required programs for this solution are free). | + | //All the required programs for this solution are free. |
+ | // | ||
- Open the following link and complete all the steps until step 10 and then come back here to continue the rest. https:// | - Open the following link and complete all the steps until step 10 and then come back here to continue the rest. https:// | ||
- | - Run SerViio | + | |
+ | | ||
+ | - Connect The Miracast device to the network and turn it on. | ||
- Open run and use execute this command “DevicePairingWizard.exe”. | - Open run and use execute this command “DevicePairingWizard.exe”. | ||
- Add the Miracast device and the Serviio device that has the PC name that you are connecting from in it. | - Add the Miracast device and the Serviio device that has the PC name that you are connecting from in it. | ||
- | - Go to “This PC” or “Computer” depending on the Windows platform and open the Serviio and then right click on the displayed content and “Cast to device” or “Play to” (depending on Windows platform) and choose the Miracast device. | + | - Go to “This PC” or “Computer” depending on the Windows platform and open the Serviio and then right click on the displayed content and “Cast to device” or “Play to” (depending on the Windows platform) and choose the Miracast device. |
- | This was tested on Windows 8.1 64-bit and Windows 10 64-bit as well as two Miracast devices. One is version 1 of Anycast and a knock off for Chromecast. It has worked with all these options but did not give the same performance. So the System resources and the Miracast type are important to give faster performance. The best I got on one system was 7 second delay on one and the other was a 2 second delay. You can check this by opening the clock to see the lag. The laptops that I tested on are old so it might perform much better on faster computers / Miracast devices. | + | This was tested on Windows 8.1 64-bit and Windows 10 64-bit as well as two Miracast devices. One is version 1 of Anycast and a knock off for Chromecast. It has worked with all these options but did not give the same performance. So the System resources and the Miracast type are important to give faster performance. The best I got on one system was a 7 second delay on one and the other was a 2 second delay. You can check this by opening the clock to see the lag. The laptops that I tested on are old so it might perform much better on faster computers / Miracast devices. |
+ | |||
+ | ------------------------------------------------------------------------------------------------------- | ||
- | Issues | + | __Issues |
- | I am adding | + | I am adding all the issues that I faced with tips on how to solve them. |
- | After rebooting Windows, the Serviio server won’t show anymore because it will be offline So to bring it back online you will need to create and run the below script as Administrator. Then the server will show again. To create a batch file script, just open a text file and paste the below in it and then save and change the extension of the file to “.bat”. The batch file can be reedited | + | Step 7 may need to be repeated a few times until it works. It might either need to close and open the (Cast to device - [name of device] or Play to - [name of device] depending on the Windows platform a few times until it works. If the content shows with an " |
+ | |||
+ | After rebooting Windows, the Serviio server won’t show anymore because it will be offline So to bring it back online you will need to create and run the below script as Administrator. Then the server will show again. To create a batch file script, just open a text file and paste the below in it and then save and change the extension of the file to “.bat”. The batch file can be re-edited | ||
Try the 1st short script 1st and if that does not work then try the 2nd one. | Try the 1st short script 1st and if that does not work then try the 2nd one. | ||
- | ------------------------------------------------------------------------------------- | + | ------------------------------------------------------------ |
__1st method | __1st method | ||
__ | __ | ||
- | @echo Off | + | '' |
Timeout /T 2 | Timeout /T 2 | ||
Line 38: | Line 44: | ||
Timeout /T 60 | Timeout /T 60 | ||
taskkill /IM " | taskkill /IM " | ||
- | Exit | + | Exit'' |
---------------------------------- | ---------------------------------- | ||
__2nd method | __2nd method | ||
__ | __ | ||
- | @echo Off | + | '' |
Timeout /T 2 | Timeout /T 2 | ||
taskkill /IM " | taskkill /IM " | ||
Line 57: | Line 63: | ||
Timeout /T 60 | Timeout /T 60 | ||
taskkill /IM " | taskkill /IM " | ||
- | Exit | + | Exit'' |
- | ----------------------------------------------------------------------------------------------------- | + | ------------------------------------------------------------ |
**Console security | **Console security | ||
Line 68: | Line 74: | ||
The VLC version and script provided did not work for me. The two versions that worked well for me are 3.0.14 and 3.0.11 Vetinari 64 Bit. The below script that I found on the Serviio forum worked well for me. | The VLC version and script provided did not work for me. The two versions that worked well for me are 3.0.14 and 3.0.11 Vetinari 64 Bit. The below script that I found on the Serviio forum worked well for me. | ||
- | VLC 32 Bit version script | + | __//VLC 32 Bit version script// |
- | -------------------------------------------- | + | __ |
+ | '' | ||
@echo off | @echo off | ||
start "" | start "" | ||
- | ------------------------ | + | '' |
+ | |||
+ | __//VLC 64 Bit version script// | ||
+ | __ | ||
- | VLC 64 Bit version script | + | '' |
- | ----------------------------------------------- | + | |
@echo off | @echo off | ||
start "" | start "" | ||
+ | '' | ||
------------------------------------------------- | ------------------------------------------------- | ||
Line 86: | Line 97: | ||
Testing can be done from any VLC installation whether it is on Windows or Android platform as long as it is open on the firewall. It can also be tested from the same PC by just removing “Allow only one instance” that is under interface in preferences. | Testing can be done from any VLC installation whether it is on Windows or Android platform as long as it is open on the firewall. It can also be tested from the same PC by just removing “Allow only one instance” that is under interface in preferences. | ||
- | //On Windows:// | + | //On Windows:// |
//On Android:// Go to Browse. If it does not open then press on one of the other options like Audio then go back to Browse. It will be at the bottom. | //On Android:// Go to Browse. If it does not open then press on one of the other options like Audio then go back to Browse. It will be at the bottom. | ||
Line 93: | Line 104: | ||
**IP addresses | **IP addresses | ||
** | ** | ||
- | It is important to maintain the same IP address for the PC. If the IP address changes then the added media server will stay offline and will not come back online until the IP address is restored or the Media server is removed and re-added again like in step 3, 4. It might also be possible to keep the server and just add a new one. This would also apply for the added Miracast device(s). | + | It is important to maintain the same IP address for the PC. If the IP address changes then the added media server will stay offline |
- | IP address can be reserved from the router. | + | IP address can be reserved from the router. |
+ | If you are on a small network then you can just assign a static IP for your PC. Ping the IP address before choosing one. The last 5 should not be in use which range from 250-254. | ||
You will need to maintain the same Subnet Mask and Default Gateway when changing the IP address of the PC manually. | You will need to maintain the same Subnet Mask and Default Gateway when changing the IP address of the PC manually. | ||
Line 106: | Line 118: | ||
** | ** | ||
If you face any issues while testing then disable the firewall temporarily to be sure that the issue is not related to any blocked ports. | If you face any issues while testing then disable the firewall temporarily to be sure that the issue is not related to any blocked ports. | ||
- | Depending on what you will be using or testing then following | + | Depending on what you will be using for testing then enable the following on the firewall for the LAN connection. |
- | Serviio | + | __Serviio__ |
- | VLC if you are testing from another device. | + | __VLC__ |
- | **Smart TV | + | **//Smart TV// |
- | **__Underlined Text__If | + | ** If you have Smart TV or Smart TV box running Android 5 or higher then you don’t need this solution. Just install Spacedesk on both Windows and the Smart TV and connect. It will work as long as both are connected to the same WIFI and there is no lag at all (Check the default setting and change as needed before you connect to the external screen). Spacedesk also supports touchscreen input. It can either duplicate the screen or extend the desktop just like any external screen connected to the PC. |
If you don’t have a Miracast device then just buy a Smart TV box as it is not much more expensive than the original Chromecast. | If you don’t have a Miracast device then just buy a Smart TV box as it is not much more expensive than the original Chromecast. | ||
- | Spacedesk only works on local networks but does not have a security option to control who connects, so anyone who has Spacedesk client app will be able to connect to the Spacedesk server program. | + | Spacedesk only works on local networks but does not have a security option to control who can connect, any Spacedesk client app will be able to connect to the Spacedesk server program. |
https:// | https:// | ||
Spacedesk can be tested from any smart device. | Spacedesk can be tested from any smart device. | ||
+ | Unlike Miracast, Spacedesk does not send the Audio to the other screen. So the sound will be from the PC. | ||
- | __Alternative | + | __// |
__ | __ | ||
The two below links also work for Computers that do not support Miracast connection but this will only work with supported dongles / Smart TVs with most Chromium browsers. | The two below links also work for Computers that do not support Miracast connection but this will only work with supported dongles / Smart TVs with most Chromium browsers. | ||
Line 129: | Line 142: | ||
https:// | https:// | ||
- | Hanna Baggili | + | Hanna Baggili |