VRCVideoCacher is a tool used to cache VRChat videos to your local disk and/or fix YouTube videos from failing to load.
It replaces VRChats yt-dlp.exe with our own stub yt-dlp, this gets replaced on application startup and is restored on exit.
Auto install missing codecs: VP9 | AV1 | AC-3
From VRC or EAC? no.
From YouTube/Google? maybe, we strongly recommend you use an alternative Google account if possible.
In order to fix YouTube videos failing to load, you'll need to install our Chrome extension from here or Firefox from here, more info here. Visit YouTube.com while signed in, at least once while VRCVideoCacher is running, after VRCVideoCacher has obtained your cookies you can safely uninstall the extension, although be aware that if you visit YouTube again with the same browser while the account is still logged in, YouTube will refresh you cookies invalidating the cookies stored in VRCVideoCacher. To circumvent this I recommended deleting your YouTube cookies from your browser after VRCVideoCacher has obtained them, or if you're using your main YouTube account leave the extension installed, or maybe even use an entirely separate web browser from your main one to keep things simple.
Loading failed. File not found, codec not supported, video resolution too high or insufficient system resources.
Sync system time, Open Windows Settings -> Time & Language -> Date & Time, under "Additional settings" click "Sync now"
Edit Config.json
and set ytdlDelay
to something like 10
seconds.
Attempted to play an untrusted URL (Domain: localhost) that is not allowlisted for public instances.
Run notepad as Admin then browse to C:\Windows\System32\drivers\etc\hosts
add this new line 127.0.0.1 localhost.youtube.com
to the bottom of the file, edit Config.json
and set ytdlWebServerURL
to http://localhost.youtube.com:9696
Option | Description |
---|---|
ytdlAdditionalArgs | Add your own yt-dlp args |
ytdlUseCookies | Uses the Chrome or Firefox extension for cookies, this is used to circumvent YouTubes bot detection. |
ytdlDubLanguage | Set preferred audio language for AVPro and cached videos, e.g. de for German, check list of supported lang codes |
ytdlDelay | No delay (Default) 0 , YouTube videos can fail to load in-game without this delay. |
CachedAssetPath | Location to store downloaded videos, e.g. store videos on separate drive with D:\\DownloadedVideos |
BlockedUrls | List of URLs to never load in VRC. |
CacheYouTube | Download YouTube videos to CachedAssets to improve load times next time the video plays. |
CacheYouTubeMaxResolution | Maximum resolution to cache youtube videos in (Larger resolutions will take longer to cache), e.g. 2160 for 4K. |
CacheYouTubeMaxLength | Maximum video duration in minutes, e.g. 60 for 1 hour. |
CacheMaxSizeInGb | Maximum size of CachedAssets folder in GB, 0 for Unlimited. |
CachePyPyDance | Download videos that play while you're in PyPyDance |
CacheVRDancing | Download videos that play while you're in VRDancing |
AutoUpdate | When a update is available for VRCVideoCacher it will automatically be installed. |
PreCacheUrls | Download all videos from a JSON list format e.g. [{"fileName":"video.mp4","url":"https:\/\/example.com\/video.mp4","lastModified":1631653260,"size":124029113},...] "lastModified" and "size" are optional fields used for file integrity. |
Generate PoToken has unfortunately been deprecated