[Boards: 3 / a / aco / adv / an / asp / b / bant / biz / c / can / cgl / ck / cm / co / cock / d / diy / e / fa / fap / fit / fitlit / g / gd / gif / h / hc / his / hm / hr / i / ic / int / jp / k / lgbt / lit / m / mlp / mlpol / mo / mtv / mu / n / news / o / out / outsoc / p / po / pol / qa / qst / r / r9k / s / s4s / sci / soc / sp / spa / t / tg / toy / trash / trv / tv / u / v / vg / vint / vip / vp / vr / w / wg / wsg / wsr / x / y ] [Search | Free Show | Home]

Is there a way to download the mp3 file from a youtube video

This is a blue board which means that it's for everybody (Safe For Work content only). If you see any adult content, please report it.

Thread replies: 78
Thread images: 9

File: youtubeeee.png (60KB, 816x453px) Image search: [Google]
youtubeeee.png
60KB, 816x453px
Is there a way to download the mp3 file from a youtube video only with youtube-dl? I read up theres ways but you have to download a converter and all that. But for some reason I felt i used to download the mp3 only I just forgot what to do. Anyone know?
>>
RTFM
>>
>>61488837
youtube-dl --extract-audio --audio-format mp3
next time RTFM
>>
>>61488863
I understand this, but it wont play on my pc, has to be converted it says.
>>
>>61488921
then don't download it as mp3 - simpel
>>
man youtube-dl
>>
>>61488952
it actually downloads as webm, and thats the worst because im trying to put it on my phone.
>>
youtube-dl -f bestaudio <video_url>
>>
>>61488988
ffmpeg
>>
>>61488837
offliberty.com
>>
>>61489080
This doesnt work anymore unfortunately. It doesnt register the youtube videos.
>>
>>61489091
well shit :(
>>
>>61489125
what are you gonna do about it?
>>
>>61489148
I'll make some calls, pull some strings....
>>
>>61488921
>it says.
What says?

It's 2017, we're on an IMAGEboard, but you still couldn't bother to attach a screenshot of the error.
>>
>>61489184
lol f**k you bro.
>>
File: randdd.png (13KB, 798x260px) Image search: [Google]
randdd.png
13KB, 798x260px
>>61489218
>>
>>61489229
>ffprobe or avprobe not found. Please install one.
Well, please install one...

https://www.ffmpeg.org/download.html
>>
>>61488837
Youtube streams are split into audio and video, just download audio stream, thought I dont think it will be mp3 (i think its aac or something like that nad will have to be converted use ffmpeg for that)
>>
>>61489264
>>61489268
I didnt realize you guys used ffmpeg. But if thats the best way to do it then so be it.
>>
>>61489229
what the fuck it literally tells you what to do

i am genuinely mad

how dumb are you?
>>
>>61488921
youtube-dl uses ffmpeg and lame for mp3 extraction. Those shouldn't be more than 20 MiB. Install those and use the command above.
>>
>>61489295
Yeah but I didn't have to do that before
>>
>>61489429
Which do you recommend?
>>
>>61489752
please can you attempt to do something without being spoonfed?
>>
youtube-dl -F <url> to list available formats
>choose wisely
youtube-dl -f <format number> <url>
youtube-dl -f <video>+<audio> <url>
>>
>>61489752
I recommend not using MP3s.
FLAC if possible, ogg vorbis if space is an issue
>>
>>61488837
youtube-dl has a gooey version for folks like you
>>
>>61491095
>transcoding to FLAC from a lossy source
Hello to the Mumbai Ripping Boiz
>>
>>61489521
This is 10/10 sysadmin bait, I had to physically stop myself from raging.
>>
>>61491095
>youtube-dl
>FLAC
what are you doing nigger
>>
>>61489521
AAAAAA the rage
>>
man youtube-dl
>>
>>61491579
??
>>
>>61489264
>Well, please install one
>linked the wrong one
hmmmm
>>
>>61489264
Problem with this is there are no instructions. I extracted the whole file to my youtube-dl directory but now im not sure what to do.
>>
File: 1353035836260.jpg (17KB, 208x198px) Image search: [Google]
1353035836260.jpg
17KB, 208x198px
>>61488837
the state of /g/ in the year of our lord
>>
>>61494095
great post man, you contributed tremendously to the thread.
>>
File: capture205-2017-07-22.png (7KB, 214x28px) Image search: [Google]
capture205-2017-07-22.png
7KB, 214x28px
>>61488837
>>
>>61494205
you too friend
>>
$ youtube-dl -F <url>   # list available formats
$ youtube-dl -x <url> # download only audio (iirc best by default)

Obviously you can't download mp3 because youtube itself does not serve mp3. Convert it by yourself.
>>
>>61494293
Okay that makes sense. I downloaded the ffmpeg thing like an anon said up above, but i am lost from here. There isnt instructions
>>
>>61488837
http://convert2mp3.net/en/

YouTube has max audio quality of 192 kb/s
>>
>>61494384
youtube-dl is better.
>>
>>61494321
Get libmp3lame package: free mp3 library, but it's not dependency for ffmpeg
$ ffmpeg -i input.file -codec:a libmp3lame output.mp3
>>
>>61494321
If you already have ffmpeg, youtube-dl can use it to automatically convert to another format
youtube-dl -x --audio-format mp3 url
>>
>>61494639
still says ffprovbe and av prove is now found.
>>
File: aaaa.png (12KB, 710x212px) Image search: [Google]
aaaa.png
12KB, 710x212px
>>61494639
>>
>>61494552
How?
Same result, less processing on your end
>>
>>61494552
>Command line in 2017
So this is the power of linux?
>>
>>61494739
How is "a random internet link" better than a program that uses your computer to download the best quality?
>>
>>61494770
windows
>>
>>61494795
Listen here nigger. You completely ignored my point and made a strawman with the website.

Same quality, yet less processing, and less downloading for the computer.
>>
>>61495105
So your argument is that random youtube2mp3 website is better on your computer and faster than youtube-dl?
>>
>>61495133
You passive-aggressive fucking cuntstain. Do you not even realize how retarded you sound?

It converts the video on their server.
You just download the mp3.
The mp3 <
the whole video in file size

Not to mention you can't even figure out the "random Linux package" you found.

Also your prevalent strawman shows that you have no argumentative skills, coupled with the fact you're technologically deficient.

Revert back to Windows.
>>
>>61489229
>>61489295
>how dumb are you?
>c:\
>>
>>61495202
Didnt mean to be rude, sorry.
>>
>>61495202
Downloading the better compressed aac with youtube-dl < downloading an mp3 from the website plus the website's HTML though.

I guess at processing power, transcoding aac to mp3 locally loses to the browser rendering the mp3-download website.
>>
File: 4chanpartyvan.jpg (113KB, 750x600px) Image search: [Google]
4chanpartyvan.jpg
113KB, 750x600px
>>61488837

Hello Randy. Thank you for the evidence of copyright theft. Please get your affairs in order, the party van will be along to pick you up shortly.

Love, Hollywood
>>
>>61495361
M8 on 4chan I don't hold any punches against perceived passive-aggressive hecklers.
Realize the strawman, and just don't use it if you want to be taken seriously

In my defense though who would think this >>61495133 is genuinely trying to understand someone's viewpoint given the context.
>>
>>61494736
because ffmpeg executables are not in the PATH env
>>
It's these sort of threads that make me hate the retard posters on /g/ like the OP

is it due to summer? i doubt it

A simple task, shitting up my imageboard and causing confusion

This can only be the work of lost redditors imo
>>
>>61488988
Hahahahaha. Found the iFag
>>
>>61488837
youtube-dl -ciw --extract-audio --audio-format mp3 -o "%(title)s.%(ext)s"

you're welcome
>>
File: 1500674791589.jpg (896KB, 2362x1575px) Image search: [Google]
1500674791589.jpg
896KB, 2362x1575px
sage ignore
>>
the fuck is happening in this thread
>>
>>61496068
>found the iFag
I think youre clost bud.
>>
File: wtfff.png (8KB, 803x135px) Image search: [Google]
wtfff.png
8KB, 803x135px
>>61496079
What did i do wrong?
>>
>>61497544
Are you fucking illiterate?
>>
>>61496115
>saging with an image
>>
File: youtube-dl.png (66KB, 1278x252px) Image search: [Google]
youtube-dl.png
66KB, 1278x252px
>>61497544
works on my machine
>>
>>61497743
oh you put the link after it all? I figured youd put the link in the title
>>
>>61497743
okay it worked but it isnt read by my machine for whatever reason.
>>
>>61494770
You fucking retard that is obviously windows. Kys
>>
>>61495254
Even that's not an excuse; we're on a whole new level of incompetent here...
>>
>>61494321
>There isnt instructions
Yes there are OP. Very detailed instructions. Stop asking us and read them. https://github.com/rg3/youtube-dl
If you cannot handle this, the command line is not for you.

/thread
>>
>>61498564
I didnt realize people unironically used windows still.
>>
>>61488837
YOUTUBE DOES NOT HAVE MP3
NONE
ZIP
NADA

you can use ffmpeg for that, then you will have a lossy mp3 from a lossy youtube from a lossy mp3
>good job
Thread posts: 78
Thread images: 9


[Boards: 3 / a / aco / adv / an / asp / b / bant / biz / c / can / cgl / ck / cm / co / cock / d / diy / e / fa / fap / fit / fitlit / g / gd / gif / h / hc / his / hm / hr / i / ic / int / jp / k / lgbt / lit / m / mlp / mlpol / mo / mtv / mu / n / news / o / out / outsoc / p / po / pol / qa / qst / r / r9k / s / s4s / sci / soc / sp / spa / t / tg / toy / trash / trv / tv / u / v / vg / vint / vip / vp / vr / w / wg / wsg / wsr / x / y] [Search | Top | Home]

I'm aware that Imgur.com will stop allowing adult images since 15th of May. I'm taking actions to backup as much data as possible.
Read more on this topic here - https://archived.moe/talk/thread/1694/


If you need a post removed click on it's [Report] button and follow the instruction.
DMCA Content Takedown via dmca.com
All images are hosted on imgur.com.
If you like this website please support us by donating with Bitcoins at 16mKtbZiwW52BLkibtCr8jUg2KVUMTxVQ5
All trademarks and copyrights on this page are owned by their respective parties.
Images uploaded are the responsibility of the Poster. Comments are owned by the Poster.
This is a 4chan archive - all of the content originated from that site.
This means that RandomArchive shows their content, archived.
If you need information for a Poster - contact them.