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

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

55423 readers
793 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
[–] A_Asselin@lemmy.dbzer0.com 13 points 13 hours ago

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

[–] MrSoup@lemmy.zip 17 points 16 hours ago* (last edited 16 hours ago)

https://ytdlp.online/

  • Paste link
  • Select preset
  • Run
  • Press "Download" link inside the black box
[–] rockerface@lemm.ee 24 points 17 hours ago* (last edited 17 hours 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.

[–] yeather@lemmy.ca 2 points 17 hours 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 10 points 15 hours 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.

[–] droporain@lemmynsfw.com 1 points 17 hours ago (2 children)

Can yt-dlp download adult restrictioned videos?

[–] Honse@lemmy.dbzer0.com 2 points 14 hours ago (1 children)

Yes but you will have to take extra steps to supply a valid cookie from a signed in account: https://github.com/yt-dlp/yt-dlp/issues/11296#issuecomment-2466538349

[–] droporain@lemmynsfw.com 1 points 13 hours ago

Thanks for the info.

[–] rockerface@lemm.ee 1 points 17 hours ago

I'll admit I haven't checked, but I haven't run into any restrictions so far

[–] nicerdicer@feddit.org 7 points 15 hours ago* (last edited 15 hours 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 14 hours ago

It does. Thank you.

[–] jaschop@awful.systems 6 points 17 hours ago* (last edited 17 hours 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 17 hours ago

Banger, cobalt works great, thank you so much.

[–] anon5621@lemmy.ml 6 points 17 hours ago* (last edited 17 hours 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 17 hours ago

YTDLnis

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

[–] adarza@lemmy.ca 3 points 16 hours 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 17 hours 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 17 hours ago* (last edited 17 hours 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
[–] SweetCitrusBuzz@beehaw.org 1 points 15 hours ago* (last edited 15 hours ago)

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

[–] adarza@lemmy.ca 2 points 17 hours ago* (last edited 17 hours 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.

[–] LodeMike@lemmy.today 0 points 17 hours ago