Difference between revisions of "Playing Videos and Music"
m |
m |
||
Line 121: | Line 121: | ||
* Easier to use. | * Easier to use. | ||
* Streams will not start playing before you actually turn on the VCR in EmuVR. | * Streams will not start playing before you actually turn on the VCR in EmuVR. | ||
− | * Supports [https://streamlink.github.io/ | + | * Supports [https://streamlink.github.io/plugins.html more sources than VLC]. |
* Does not support playlists. | * Does not support playlists. | ||
* Does not support local files from your disk. | * Does not support local files from your disk. | ||
Line 133: | Line 133: | ||
<code><nowiki>streamlink --player-external-http --player-external-http-port 8080 --player-no-close https://www.youtube.com/watch?v=cXqt2J9iJOk 480p | <code><nowiki>streamlink --player-external-http --player-external-http-port 8080 --player-no-close https://www.youtube.com/watch?v=cXqt2J9iJOk 480p | ||
</nowiki></code> | </nowiki></code> | ||
− | * Replace the Youtube URL in the command above with any other supported source, like Twitch, as listed [https://streamlink.github.io/ | + | * Replace the Youtube URL in the command above with any other supported source, like Twitch, as listed [https://streamlink.github.io/plugins.html here]. |
* Before playing your new VHS in EmuVR, run the .bat file. (It must keep running in the background while you play EmuVR.) | * Before playing your new VHS in EmuVR, run the .bat file. (It must keep running in the background while you play EmuVR.) | ||
* You can create multiple .bat files for different sources and switch between them for a same VHS. | * You can create multiple .bat files for different sources and switch between them for a same VHS. | ||
* You can also use different ports (8080 in our example) for different .bat + .str and play each VHS simultaneously if you also run each .bat file simultaneously. | * You can also use different ports (8080 in our example) for different .bat + .str and play each VHS simultaneously if you also run each .bat file simultaneously. | ||
− | Check Streamlink's documentation to learn [https://streamlink.github.io/index.html how to use it] and [https://streamlink.github.io/ | + | Check Streamlink's documentation to learn [https://streamlink.github.io/index.html how to use it] and [https://streamlink.github.io/plugins.html which services are supported or not.] |
</div> | </div> | ||
Revision as of 03:56, 31 July 2022
TL;DR: To play video and music files, you'll just add them exactly like you add your games. When creating folders for your systems inside EmuVR\Games, just add a Video and/or a Music folder, copy your video and music files there, add them to Game Scanner, assign the Video or Music media types to them (or click Autofill), then click Scan. They'll show up in your inventory menu in EmuVR.
Read below for more detailed instructions.
Thanks to the FFMPEG core, EmuVR supports playing video and music files. Additionally, you can also play compatible web streams, provided you have a valid accessible URL. This guide will offer some brief instructions on setting up these types of media.
Video/Music§ Link
Video and Music are a straightforward setup, as the steps are similar to setting up games.
- Create a folder inside EmuVR\Games for your movies. This can be named as you like, but it's recommended you pick something along the lines of Videos or Music.
- Place your media files in this new directory. Compatible file formats: .mkv, .avi, .f4v, .f4f, .3gp, .ogm, .flv, .mp4, .mp3, .flac, .ogg, .m4a, .webm, .3g2, .mov, .wmv, .mpg, .mpeg, .vob, .asf, .divx, .m2p, .m2ts, .ps, .ts, .mxf, .wma, .wav
More info in the libretro docs for the FFMPEG core, located here. - Run Game Scanner. If you named your folder similar to the name examples above, it should detect them when you click Autofill. If not, add the folder manually.
- Ensure the media type is set to Video or Music depending on the media type.
- Scan.
- Launch EmuVR.
As long as you've used compatible media and setup Game Scanner properly, you should now be able to spawn VCRs and VHS tapes for your Videos (and generic cartridges for Music).
Important Notes
- While we have proper DVD, VHS and VRC models, the Cassette and CD media types (while functionally identical) will currently show up as generic console and cartridge models. These variations are placeholders for when more models are created in the future. (The only DVD player model currently available is the PS2 console.)
- As it's the case with games, avoid adding more than 1000 video or music files, as it can cause instability, break Netplay or even crash EmuVR.
- If you would like to play more than one file per VHS or cartridge, you can do so by manually merging your files(a topic not covered here, as it is somewhat advanced), or by reading the section below about Streaming for an alternative.
Controls§ Link
Action | Keyboard | Gamepad | Oculus Touch | Index | WMR | Vive |
---|---|---|---|---|---|---|
Play / Pause | Space | A | A or X | A | Trackpad [Down] | Trackpad [Down] |
Skip Back / Forward 10 seconds | Arrows [Left/Right] | Left Analog [Left/Right] | Left Analog [Left/Right] | Left Analog [Left/Right] | Left Analog [Left/Right] | Left Trackpad [Left/Right] |
Skip Back / Forward 60 seconds | Arrows [Down/Up] | Left Analog [Down/Up] | Left Analog [Down/Up] | Left Analog [Down/Up] | Left Analog [Down/Up] | Left Trackpad [Down/Up] |
Cycle Audio Tracks | Q | Left Shoulder | Left Analog (Press/Click) |
Left Analog (Press/Click) |
Left Trackpad [Left] | Right Trackpad [Left] |
Cycle Subtitles | W | Right Shoulder | Left Trigger | Left Trigger | Left Trigger | Right Trackpad [Right] |
Streaming§ Link
In addition to using video files from your HDD, you can also directly stream some media formats without needing to download anything.
Streaming from the Web§ Link
The FFMPEG Core, by default, handles a wide variety of media including common stream formats. Getting those URLs into EmuVR is fairly straightforward, but does need a bit of manual work.
- Create a new file in your Games/Video directory. You can name it whatever you would like, but it must end with the extension .str (be sure to enable file extensions or you might actually end with an invisible "filename.str.txt")
- Open this new file with Notepad.
- Paste the link to the stream you'd like to play. Note that this needs to be a direct link to a file, and not just a webpage where the stream is displayed. A direct link will usually end with a file extension, and if you open the url in your browser it will either prompt you to download the file or just play it in the browser. (As an example, the link might look something like http://mycoolsite.com/stream/supercoolstream.m3u8 or https://sample-videos.com/video123/mp4/480/big_buck_bunny_480p_10mb.mp4.
- Save the file.
- Run Game Scanner and scan. You should now have a VHS in game named after the .str file you created.
Important Notes
If the console immediately turns off without playing, it usually means that either the link is not accessible or that it's not compatible with ffmpeg. Verify that you are using a direct link to the stream, and that it's accessible in a incognito/private browser window.
No, Youtube and Twitch don't work with this method.
Streaming through your PC (Experimental / Advanced)§ Link
Disclaimer: These are workarounds using third party software, which might stop working after any update or for any unpredictable reason.
Again, this is experimental, unreliable, unstable, unpredictable, and out of our control. It might work for some people and not for you. It doesn't work with netplay.
This is not supported. Good luck.
These methods can help you stream from sources not accessible from a direct links, like Youtube or Twitch, or let you join multiple local videos into a single stream.
* Youtube blocks streaming videos containing copyrighted music.
Click below to learn more.