You are not logged in.

#1 2016-04-26 03:05:34

paxmark1
Member
Registered: 2015-10-02
Posts: 45

youtube-dl converts to mp3 and screengrab

This just came up over at siduction

youtube-dl --extract-audio --prefer-ffmpeg --audio-format mp3 --audio-quality 0 --embed-thumbnail  "URL"

http://forum.siduction.org/index.php?to … 7#msg50877
Reply #9

Offline

#2 2016-04-26 20:07:02

pvsage
Internal Affairs
Registered: 2015-09-29
Posts: 1,433

Re: youtube-dl converts to mp3 and screengrab

^ I thought it did that already?


Be excellent to each other, and...party on, dudes!
BunsenLabs Forum Rules
Tending and defending the Flame since 2009

Offline

#3 2016-04-26 23:39:56

paxmark1
Member
Registered: 2015-10-02
Posts: 45

Re: youtube-dl converts to mp3 and screengrab

Yeah, I am  probably way behind the curve. I just never put connections together when looking at the man page, especially --extract-audio.     I saw the script, fell in love with at sight and will now abandon several video to mp3 scripts I have in ~/bin

Offline

#4 2016-04-27 05:41:47

ohnonot
...again
Registered: 2015-09-29
Posts: 5,592

Re: youtube-dl converts to mp3 and screengrab

^ always good to know these little oneliners.
when people post about transcoding youtube videos online, you just tell them "i use linux, in your face!"

btw, youtube-dl is an optional dependency for mpv, in other words it integrates into mpv.
so +2.

Offline

#5 2016-04-27 06:24:21

johnraff
nullglob
From: Nagoya, Japan
Registered: 2015-09-09
Posts: 12,652
Website

Re: youtube-dl converts to mp3 and screengrab

This Firefox addon uses mpv and youtube-dl:
https://addons.mozilla.org/en-US/firefo … -with-mpv/


...elevator in the Brain Hotel, broken down but just as well...
( a boring Japan blog (currently paused), now on Bluesky, there's also some GitStuff )

Introduction to the Bunsenlabs Boron Desktop

Offline

#6 2016-04-28 03:16:59

ohnonot
...again
Registered: 2015-09-29
Posts: 5,592

Re: youtube-dl converts to mp3 and screengrab

^ oh, i think i need this!

Offline

#7 2016-04-28 05:59:15

Snap
Member
Registered: 2015-10-02
Posts: 465

Re: youtube-dl converts to mp3 and screengrab

That's a good one. Used it for a while, but I switched to Open With which allows to use mpv or whatever other program or script you want to use (for video or anything else).

Offline

Board footer

Powered by FluxBB