this post was submitted on 18 Jan 2025
27 points (100.0% liked)

Piracy: ꜱᴀɪʟ ᴛʜᴇ ʜɪɢʜ ꜱᴇᴀꜱ

55467 readers
773 users here now

⚓ Dedicated to the discussion of digital piracy, including ethical problems and legal advancements.

Rules • Full Version

1. Posts must be related to the discussion of digital piracy

2. Don't request invites, trade, sell, or self-promote

3. Don't request or link to specific pirated titles, including DMs

4. Don't submit low-quality posts, be entitled, or harass others



Loot, Pillage, & Plunder

📜 c/Piracy Wiki (Community Edition):


💰 Please help cover server costs.

Ko-Fi Liberapay
Ko-fi Liberapay

founded 2 years ago
MODERATORS
 

Trying to convert youtube videos to mp3 files on my phone, the website I had been doing it on is down and all the alternatives are scam sites and virus links. Any alts you know?

Edit: i have an iPhone, I would prefer a browser based converter if possible.

all 22 comments
sorted by: hot top controversial new old
[–] Andromxda@lemmy.dbzer0.com 1 points 4 hours ago

Cobalt is great, it's entirely web based and supports many websites. You can download both audio and video (if available).

[–] FPSXpert@discuss.online 2 points 16 hours ago

It's not a mobile client sadly, but for desktop I've always liked "4k video downloader" (Softonic). It's something you have to download on there, but I copy the youtube link, open the app have it parse the link and then it's downloaded and ready in .mp4 pretty quickly, with .mp3 as an option too for music.

It's a bit convoluted, but I'll usually download albums and tracks on my PC, have it all saved in a music folder then copy it manually to my phone.

[–] N0x0n@lemmy.ml 2 points 23 hours ago

If you are willing to follow the self-hosted route metube is a browser based converter and has yt-dlp as backend :) easy to use (once you get everything setup !).

No scam, virus issues, can even download a whole playlist, video...

[–] A_Asselin@lemmy.dbzer0.com 19 points 2 days ago

Don't be a newb. Learn the command line and use yt-dlp.

[–] rockerface@lemm.ee 28 points 2 days ago* (last edited 2 days ago) (2 children)

I'm using yt-dlp. Its a command line app, but quite easy to use. It's primary function is downloading entire videos, but it can rip out audio into various formats as well.

Edit: I'm apparently bad at reading, didn't notice you're looking for a phone app. NewPipe has has a video and audio download functions.

[–] LandedGentry@lemmy.zip 1 points 19 hours ago* (last edited 19 hours ago)

I don’t know if newpipe specifically has this issue but I know as of a few months ago freetube can’t download higher than 360p. Seemed to be linked to some update Google pushed.

[–] yeather@lemmy.ca 2 points 2 days ago (1 children)

I should mention it’s for an iPhone specifically. I used to use web based converters but they are taken down

[–] SweetCitrusBuzz@beehaw.org 12 points 2 days ago

You can absolutely use yt-dlp on iPhone though via a-shell.

You can just install it and then type pip install yt-dlp.

We do this.

[–] MrSoup@lemmy.zip 21 points 2 days ago* (last edited 2 days ago)

https://ytdlp.online/

  • Paste link
  • Select preset
  • Run
  • Press "Download" link inside the black box
[–] nicerdicer@feddit.org 10 points 2 days ago* (last edited 2 days ago) (1 children)

Try cobalt.tools. It does what you want to do inside a browser tab (although I only used it on desktop so far), but it might work with an IPhone as well. You can convert YouTube links into either mp3, ogg, wave and opus files (with various bitrates), or mp4 or webm video files (with various resulutions). I use it constantly.

[–] yeather@lemmy.ca 3 points 2 days ago

It does. Thank you.

[–] jaschop@awful.systems 6 points 2 days ago* (last edited 2 days ago) (1 children)

can recommend YTDLnis, as others have. If web-based is important to you, cobalt dot tools seems great and trustworthy.

[–] yeather@lemmy.ca 4 points 2 days ago

Banger, cobalt works great, thank you so much.

[–] anon5621@lemmy.ml 6 points 2 days ago* (last edited 2 days ago)

Seal GUI android frontend for yt-dlp and can convert to mp3 https://f-droid.org/packages/com.junkfood.seal/

[–] AceSLS@ani.social 5 points 2 days ago

YTDLnis

Android GUI for yt-dlp, which can download Videos from many websites. You can only dowload audio aswell

[–] adarza@lemmy.ca 2 points 2 days ago

self-host a downloader/extractor site for your own use, behind authentication (so it's for you only, not randoms off the internet that 'find' it).

[–] Arfman@aussie.zone 2 points 2 days ago

I'm using a browser plugin called DownloadHelper but I haven't checked if the iPhone version of the browser supports the plugin or not

[–] ExtremeDullard@lemmy.sdf.org 2 points 2 days ago* (last edited 2 days ago) (2 children)

If it wasn't on your phone, I would point to yt-dlp: simply type yt-dlp -F <Youtube URL> to list the available formats, then yt-dsp -f <format ID> <Youtube URL> to download the audio in the format of your choice:

E.g.:

$ yt-dlp -F https://youtu.be/xWUCsE4IM_c
[youtube] Extracting URL: https://youtu.be/xWUCsE4IM_c
[youtube] xWUCsE4IM_c: Downloading webpage
[youtube] xWUCsE4IM_c: Downloading ios player API JSON
[youtube] xWUCsE4IM_c: Downloading android player API JSON
[youtube] xWUCsE4IM_c: Downloading player 6e1dd460
WARNING: [youtube] xWUCsE4IM_c: Signature extraction failed: Some formats may be missing
[youtube] xWUCsE4IM_c: Downloading m3u8 information
[info] Available formats for xWUCsE4IM_c:
ID  EXT   RESOLUTION FPS CH │   FILESIZE   TBR PROTO │ VCODEC          VBR ACODEC      ABR ASR MORE INFO
───────────────────────────────────────────────────────────────────────────────────────────────────────────────
sb2 mhtml 48x27        0    │                  mhtml │ images                                  storyboard
sb1 mhtml 80x45        0    │                  mhtml │ images                                  storyboard
sb0 mhtml 160x90       0    │                  mhtml │ images                                  storyboard
233 mp4   audio only        │                  m3u8  │ audio only          unknown             Default
234 mp4   audio only        │                  m3u8  │ audio only          unknown             Default
139 m4a   audio only      2 │    3.16MiB   49k https │ audio only          mp4a.40.5   49k 22k low, m4a_dash
140 m4a   audio only      2 │    8.38MiB  129k https │ audio only          mp4a.40.2  129k 44k medium, m4a_dash
269 mp4   256x144     25    │ ~ 11.11MiB  172k m3u8  │ avc1.4D400C    172k video only
160 mp4   256x144     25    │    4.08MiB   63k https │ avc1.4D400C     63k video only          144p, mp4_dash
230 mp4   640x360     25    │ ~ 51.95MiB  803k m3u8  │ avc1.4D401E    803k video only
134 mp4   640x360     25    │   13.88MiB  215k https │ avc1.4D401E    215k video only          360p, mp4_dash
605 mp4   640x360     25    │ ~ 37.67MiB  582k m3u8  │ vp09.00.21.08  582k video only
232 mp4   1280x720    25    │ ~166.26MiB 2569k m3u8  │ avc1.4D401F   2569k video only
136 mp4   1280x720    25    │   52.13MiB  806k https │ avc1.4D401F    806k video only          720p, mp4_dash
270 mp4   1920x1080   25    │ ~306.16MiB 4730k m3u8  │ avc1.640028   4730k video only
137 mp4   1920x1080   25    │  159.35MiB 2462k https │ avc1.640028   2462k video only          1080p, mp4_dash

$ yt-dlp -f 140 https://youtu.be/xWUCsE4IM_c
[youtube] Extracting URL: https://youtu.be/xWUCsE4IM_c
[youtube] xWUCsE4IM_c: Downloading webpage
[youtube] xWUCsE4IM_c: Downloading ios player API JSON
[youtube] xWUCsE4IM_c: Downloading android player API JSON
[youtube] xWUCsE4IM_c: Downloading player 6e1dd460
WARNING: [youtube] xWUCsE4IM_c: Signature extraction failed: Some formats may be missing
[youtube] xWUCsE4IM_c: Downloading m3u8 information
[info] xWUCsE4IM_c: Downloading 1 format(s): 140
[–] adarza@lemmy.ca 2 points 2 days ago* (last edited 2 days ago)

interactive mode is nice and basically combines those steps, and i tend to use it for one-off downloads of a single url. that way i get to see what i'm gonna get (filesize, resolution, codec, etc), before i get it.

yt-dlp -f - https://youtu.be/xWUCsE4IM_c

then at the prompt here in your example, i'd input 140 for audio only.

[–] SweetCitrusBuzz@beehaw.org 1 points 2 days ago* (last edited 2 days ago)

yt-dlp can be used on an iPhone via a-shell (and possibly other shell apps).

[–] LodeMike@lemmy.today -1 points 2 days ago