User Tools

Site Tools


stream_pc_chromecast

Differences

This shows you the differences between two versions of the page.

Link to this comparison view

Both sides previous revision Previous revision
Next revision
Previous revision
stream_pc_chromecast [2021/06/17 12:49]
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 in the link will work on any of the 3 Windows Platforms. If your system supports Miracast devices then you do not need 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 "**How to Check if Your PC Supports Miracast Using DirectX Diagnostic Tool**" in the link will work on any of the 3 Windows Platforms. If your system supports Miracast devices then you do not need this guide and can search for the solution on YouTube.
  
 https://www.isumsoft.com/windows-10/2-ways-to-check-if-window-10-supports-miracast.html https://www.isumsoft.com/windows-10/2-ways-to-check-if-window-10-supports-miracast.html
Line 13: Line 13:
   - Open the following link and complete all the steps until step 10 and then come back here to continue the rest. https://wiki.serviio.org/doku.php?id=stream_pc_vlc3 (The link is for the old version of Serviio and the interface is different but just by using common sense you can configure the latest version with the same tips).   - Open the following link and complete all the steps until step 10 and then come back here to continue the rest. https://wiki.serviio.org/doku.php?id=stream_pc_vlc3 (The link is for the old version of Serviio and the interface is different but just by using common sense you can configure the latest version with the same tips).
   - The PC and the Miracast device must both be connected to the same LAN network and the Miracast device needs to be set to network streaming mode.   - The PC and the Miracast device must both be connected to the same LAN network and the Miracast device needs to be set to network streaming mode.
-  - Run Serviio and the VLC script. Connect The Miracast device to the network and turn it on.+  - Run Serviio and the VLC script. 
 +  - 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 the 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. 
  
    
Line 26: Line 27:
  
 I am adding all the issues that I faced with tips on how to solve them. I am adding all the issues that I faced with tips on how to solve them.
 +
 +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 "X" on it, then just press on pause or stop and then play try to play it again. 
  
 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 by a mouse right click and edit. The batch file is for Windows 64 Bit running Serviio 2.1 (might require editing for 32-bit Windows). After the 2nd script is completed it will close the console, so just reopen the console. 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 by a mouse right click and edit. The batch file is for Windows 64 Bit running Serviio 2.1 (might require editing for 32-bit Windows). After the 2nd script is completed it will close the console, so just reopen the console.
Line 34: Line 37:
 __1st method __1st method
 __ __
-@echo Off+''@echo Off
  
 Timeout /T 2 Timeout /T 2
Line 41: Line 44:
 Timeout /T 60 Timeout /T 60
 taskkill /IM "DevicePairingWizard.exe" /F taskkill /IM "DevicePairingWizard.exe" /F
-Exit+Exit''
 ---------------------------------- ----------------------------------
 __2nd method __2nd method
 __ __
-@echo Off+''@echo Off
 Timeout /T 2 Timeout /T 2
 taskkill /IM "ServiioConsole.exe" /F taskkill /IM "ServiioConsole.exe" /F
Line 60: Line 63:
 Timeout /T 60 Timeout /T 60
 taskkill /IM "DevicePairingWizard.exe" /F taskkill /IM "DevicePairingWizard.exe" /F
-Exit+Exit''
 ------------------------------------------------------------ ------------------------------------------------------------
  
Line 73: Line 76:
 __//VLC 32 Bit version script// __//VLC 32 Bit version script//
 __ __
 +''
 +
 @echo off @echo off
  
 start "" /min /d "C:\Program Files (x86)\VideoLAN\VLC" "vlc.exe" -vvv dshow:// --sout=#transcode{venc=ffmpeg,vcodec=mp2v,vb=8000,fps=24,acodec=mpga,ab=192,channels=2,samplerate=44100}:std{access=http,mux=ts,dst=:8085} --no-sout-rtp-sap --no-sout-standard-sap --ttl=1 --sout-keep :dshow-vdev=screen-capture-recorder :dshow-adev=virtual-audio-capturer :dshow-aspect-ratio=16\:9 :dshow-caching=0 start "" /min /d "C:\Program Files (x86)\VideoLAN\VLC" "vlc.exe" -vvv dshow:// --sout=#transcode{venc=ffmpeg,vcodec=mp2v,vb=8000,fps=24,acodec=mpga,ab=192,channels=2,samplerate=44100}:std{access=http,mux=ts,dst=:8085} --no-sout-rtp-sap --no-sout-standard-sap --ttl=1 --sout-keep :dshow-vdev=screen-capture-recorder :dshow-adev=virtual-audio-capturer :dshow-aspect-ratio=16\:9 :dshow-caching=0
 +''
  
-__VLC 64 Bit version script+__//VLC 64 Bit version script//
 __ __
 +
 +''
 @echo off @echo off
  
 start "" /min /d "C:\Program Files\VideoLAN\VLC" "vlc.exe" -vvv dshow:// --sout=#transcode{venc=ffmpeg,vcodec=mp2v,vb=8000,fps=24,acodec=mpga,ab=192,channels=2,samplerate=44100}:std{access=http,mux=ts,dst=:8085} --no-sout-rtp-sap --no-sout-standard-sap --ttl=1 --sout-keep :dshow-vdev=screen-capture-recorder :dshow-adev=virtual-audio-capturer :dshow-aspect-ratio=16\:9 :dshow-caching=0 start "" /min /d "C:\Program Files\VideoLAN\VLC" "vlc.exe" -vvv dshow:// --sout=#transcode{venc=ffmpeg,vcodec=mp2v,vb=8000,fps=24,acodec=mpga,ab=192,channels=2,samplerate=44100}:std{access=http,mux=ts,dst=:8085} --no-sout-rtp-sap --no-sout-standard-sap --ttl=1 --sout-keep :dshow-vdev=screen-capture-recorder :dshow-adev=virtual-audio-capturer :dshow-aspect-ratio=16\:9 :dshow-caching=0
 +''
 ------------------------------------------------- -------------------------------------------------
  
Line 95: 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 4, 5. 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 (It will not show in “This PC” or “Computer” depending on the Windows platform) 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 5, 6. 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).
  
-IP address can be reserved from the router. You can do this by logging onto 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 5 should not be in-use which are from 250-254.+IP address can be reserved from the router. This can be done by logging onto 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 120: Line 130:
  
 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 solution// __//Alternative solution//
stream_pc_chromecast.1623934180.txt.gz · Last modified: 2021/06/17 12:49 by johncoool