Reveal Video Music

So I’m planning on putting out a reveal video soon, and I would like to use Taylor Swift as the background music, but I’m not sure how to go about it. How are you guys a) getting the files to use to music and b) dealing with copyright on youtube?

1 Like

First off, which Taylor Swift song are you planning to use?

Secondly, if you have Youtube Premium, you can download it straight from youtube, and convert the .mp4 file to an .mp3 using a site. The less legal way would be using a youtube-to-mp3 converter website, which skips the downloading as an .mp4, and you just copy+paste the link to get the .mp3 file. But, if you’ve ever seen the ‘Never Illegally Download’ meme, you know how that ends.

Please use the first option if possible

Never Illegally Download - YouTube

2 Likes

I would like to emphasize that if you’re planning on downloading music, you should only download music that is considered public domain

For me, I generally enjoy not having to deal with ads from yt-to-mp3 converters. So I would do the following to download entire playlists:

  1. Download latest python Download Python | Python.org
  2. Download Pycharm Community Edition Download PyCharm: Python IDE for Professional Developers by JetBrains
  3. Create a project in Pycharm
  4. Open the terminal and type in the following commands:
    python -m pip install --upgrade pytube
    and
    pip install moviepy
  5. Put into the main.py script and read through the comments to understand what to fill in:
# python -m pip install --upgrade pytube
# pip install moviepy

# Create an empty folder, and put the location of the folder here with the slashes as \\
folder = "C:\\Users\\Connor\\Downloads\\youtube"

# Link to playlist
playlistlink = "https://www.youtube.com/playlist?list=PLZsKIRwHS9lK363329y6l9WuevZ6OTuWK"

from pytube import YouTube
from pytube import Playlist
import os
import moviepy.editor as mp
import re

runDownload = True

if runDownload:
    playlist = Playlist(playlistlink)

    #prints each video url, which is the same as iterating through playlist.video_urls
    for url in playlist:
        print(url)
    #prints address of each YouTube object in the playlist
    for vid in playlist.videos:
        print(vid)

    for url in playlist:
       YouTube(url).streams.filter(only_audio=True).first().download(folder)

    #for url in playlist:
    #    YouTube(url).streams.first().download(folder)


for file in os.listdir(folder):
  if re.search('mp4', file):
    mp4_path = os.path.join(folder,file)
    mp3_path = os.path.join(folder,os.path.splitext(file)[0]+'.mp3')
    new_file = mp.AudioFileClip(mp4_path)
    new_file.write_audiofile(mp3_path)
    os.remove(mp4_path)
  1. Right click the editor screen and click “run”

Yet again, download with caution. But this automatically downloads an entire YouTube playlist to a designated folder.

1 Like

Or if you’re comfortable with using the command line, install youtube-dl (or one of its forks such as yt-dlp and get an MP3 as follows:

youtube-dl -x --audio-format mp3 "https://www.youtube.com/watch?v=dQw4w9WgXcQ"

(obviously, substitute that URL with the URL of the appropriately-licensed video of your choice)

2 Likes