The best way to rip and save audio from YouTube movies along with your iPhone


Editor’s notice: As of Feb. 10, 2010, the tip outlined beneath not works. Nonetheless, we revealed a brand new submit about an iOS shortcut that presently does work: “Lastly — a YouTube obtain shortcut for iOS that really works.” Take pleasure in.

YouTube isn’t only for video. A lot of people use it to submit audio recordsdata, solely they gum up the songs with slideshows to allow them to add them to the video-publishing service. There are every kind of apps that allow you to convert a YouTube video again into an MP3, however at this time we’re going to see learn how to convert a video to an MP3 proper in Safari, utilizing Apple’a personal Workflow/Shortcuts app.

A short while again, we noticed learn how to obtain YouTube movies for offline viewing. We used Workflow, the Apple app that allows you to automate every kind of neat stuff, and which is about to get replaced by the equally helpful Siri Shortcuts app.

In the present day, we’re going to change that workflow to transform the video streams to MP3 or M4A recordsdata, and save them to iCloud Drive. You may additionally select to avoid wasting the recordsdata to Dropbox or one other storage service.

Professional tip: When you use the podcasting app Castro, you possibly can then drag and drop these MP3 recordsdata into Castro’s personal iCloud folder, and hearken to them in that app. If you wish to add the recordsdata to your Apple Music library, you’ll nonetheless want a Mac or PC with iTunes to do it.

The best way to convert any YouTube video to an MP3

When you’re feeling super-lazy, simply seize my Obtain YouTube MP3 workflow from the Workflow Listing. It’s primarily based on an present workflow from Reddit’s Workflow subreddit. When you choose to obtain that, and observe together with this tutorial, then seize the primary workflow on this thread.

Whereas Danialenotdan has additionally supplied a pleasant audio-only model, that doesn’t work, so we’re going to tweak it ourselves. So, go to the positioning in your iPad or iPhone, and obtain the workflow, which can allow you to add it to your Workflow app.

As all the time when downloading any app, script or executable code from the web, double-check you’re blissful that it’s secure earlier than use. Shared workflows could be previewed within the browser earlier than downloading, so ensure you try this.

When you already are following together with our video obtain tutorial, you possibly can simply duplicate the workflow you made, and go from there.

Edit the workflow

To make use of your new workflow, you simply faucet the share arrow in Safari everytime you’re viewing a video you wish to convert. Then faucet the Workflow icon, and select your Obtain YouTube MP3 motion from the listing. Then wait whereas it runs. The workflow works nice on most YouTube movies, however generally it simply fails. This has one thing to do with the YouTube finish of issues, and I’ve’t but labored out why.

This workflow will obtain the YouTube video, convert the video to MP3/M4A audio, then give the file a reputation (taken from the title of the video) and reserve it to iCloud.

Change the video to a decrease decision

As a result of we’re discarding the video part, we’ll obtain the 360p decision as an alternative of the 720p. This will likely be sooner. To do that, scroll down your workflow till you see this listing:

Danialenotdan's workflow lets you choose different defaults for video quality.
Danialenotdan’s workflow allows you to select completely different defaults for video high quality.
Picture: Cult of Mac

Then, simply drag the road containing quantity 18 as much as the highest, changing 22. This units the precedence order for the obtain when it picks a video format and measurement. Danialenotdan explains:

When you’d like to alter the format, rearrange the objects within the Record motion within the workflow – the primary quantity is the standard it defaults to:

22: mp4, 720p 18: mp4, 360p 34: flv, 360p 35: flv, 480p

Danialenotdan’s workflow doesn’t rename or save the file, so I added each steps. On the finish of the workflow, delete the Fast Look motion, after which drag in three new actions:

  • Set Title
  • Encode Media
  • Save File

In that order. Then, configure these actions as follows:

Set Title

This action grabs the video title from the original YouTube page.
This motion grabs the video title from the unique YouTube web page.
Picture: Cult of Mac

Faucet within the Title area, then faucet on the Workflow Enter token within the row above the keyboard. On this case, the Workflow Enter is the YouTube web page. We are going to extract the video title from this.

Faucet the WorkFlow Enter token you simply inserted, then use the dropdown menus to set Workflow Enter to as Article, and Get area to Title.

Encode Media

This takes the video file and converts it to an audio file. You may select the format, and different choices, relying on whether or not you decide MP3 or M4A. YouTube movies have their audio in M4A, so it is a good choice. When you choose MP3, it might take a bit longer.

Save File

Right here, we select the place to avoid wasting the ensuing audio file. My workflow makes use of iCloud Drive. The Workflow app is simply allowed to jot down to its personal folder, in order that’s the one I decide. You may as well have the motion ask for a vacation spot each time you run it.

The vital half right here is to faucet the Vacation spot Path area, then faucet the Set Title token within the row above the keyboard. That is the token (or variable) we created earlier. It should get inserted after the phrase /Workflow/ . Then, faucet this token once more, and select from the next choices:

This takes the video title and uses it as a file name for your MP3 file.
This takes the video title and makes use of it as a file identify on your MP3 file.
Picture: Cult of Mac

Now, faucet Carried out. Each time you wish to strip the audio from a YouTube video, simply run this from the Workflow extension in Safari’s Share Sheet. The workflow will crank via its steps and place the ensuing audio file in your vacation spot of selection. When you don’t wish to configure all of it your self, simply seize my model from the Workflow Listing. However bear in mind, verify via it prior to installing it, simply to verify it’s not going to do something bizarre to your machine.



Supply hyperlink