wiki/Guides/Videos_from_YouTube/en.md ADDED
@@ -0,0 +1,36 @@
1
+ ---
2
+ tags:
3
+ - how to download videos from YouTube
4
+ - how to use YouTube videos
5
+ ---
6
+
7
+ # Videos from YouTube
8
+
9
+ *Please note that downloading videos from YouTube is a breach of their [Terms of Service](https://www.youtube.com/t/terms).*
10
+
11
+ [YouTube](https://youtube.com) is a very useful resource for creators looking to add background videos to their [beatmaps](/wiki/Beatmap). If a song has a music video, it will most likely be on YouTube, and probably compressed at that golden point where the video looks decent but will not be too big in size.
12
+
13
+ This tutorial is intended for those who **can not** find the video elsewhere but YouTube.
14
+
15
+ ## Using online tools
16
+
17
+ [YouTube to Mp3](https://ytmp3.cc) is an online video converter service designed for YouTube. Using it is very straightforward: first, paste your desired YouTube video link into the text box; then, select `mp4`, click `Convert`; and after the conversion is finished, click `Download` to obtain the video file.
18
+
19
+ ## Using youtube-dl
20
+
21
+ [youtube-dl](https://youtube-dl.org) is a command-line program to download videos from YouTube and other sites.
22
+
23
+ 1. Download youtube-dl and navigate to it in your preferred console (PowerShell, CMD, Terminal)
24
+ 2. Use the command below and press `Enter`
25
+
26
+ ```cmd
27
+ youtube-dl -f bestvideo <video link>
28
+ ```
29
+
30
+ ![Downloading YouTube videos with youtube-dl](img/example.jpg "Downloading YouTube videos with youtube-dl")
31
+
32
+ ## Removing the audio tracks
33
+
34
+ *Main page: [Compressing files](/wiki/Guides/Compressing_files)*
35
+
36
+ After downloading the video, you can load the video into the beatmap as you would normally through the [design tab](/wiki/Client/Beatmap_editor/Design) in the [beatmap editor](/wiki/Client/Beatmap_editor). However, not only will the video contain audio tracks that will be unused and take up extra space, the beatmap [Ranking Criteria](/wiki/Ranking_Criteria#video-and-background) forbids videos with audio tracks as they are not used. See [Compressing Files](/wiki/Guides/Compressing_files) for ways to remove audio from the video.