Youtube Downloader Quelle

uwae schrieb:
Ich habe eine Frage. Bin immer noch relativ neu unter Linux. Ein entsprechendes Paket konnte ich leider in dem voreingestellten repository nicht finden. Nun meine Frage, ist das hier eine trauenswürdige Paketquelle?

https://de.uptodown.com/ubuntu/search/youtube-to-mp3

Software sollte man IMMER aus den offiziellen Paketquellen installieren, sprich über das Paket Management.
Ich denke was du suchst ist youtube-dl: https://rg3.github.io/youtube-dl/

Bei Ubuntu kann man dies folgendermassen installieren: https://wiki.ubuntuusers.de/youtube-dl/
 
Lässt sich mit youtube-dl auch nur die Tonspur als MP3 speichern?
 
Zuletzt bearbeitet:
Ja.
Code:
$ youtube-dl -F https://www.youtube.com/watch?v=t2oVUxTV4WA
[youtube] t2oVUxTV4WA: Downloading webpage
[youtube] t2oVUxTV4WA: Downloading video info webpage
[youtube] t2oVUxTV4WA: Extracting video information
[youtube] t2oVUxTV4WA: Downloading MPD manifest
[info] Available formats for t2oVUxTV4WA:
format code  extension  resolution note
139          m4a        audio only DASH audio   48k , m4a_dash container, mp4a.40.5@ 48k (22050Hz), 1.06MiB
249          webm       audio only DASH audio   52k , opus @ 50k, 1.10MiB
250          webm       audio only DASH audio   70k , opus @ 70k, 1.44MiB
140          m4a        audio only DASH audio  128k , m4a_dash container, mp4a.40.2@128k (44100Hz), 2.83MiB
171          webm       audio only DASH audio  131k , vorbis@128k, 2.51MiB
251          webm       audio only DASH audio  137k , opus @160k, 2.85MiB
160          mp4        256x144    DASH video   66k , avc1.4d400c, 30fps, video only, 513.72KiB
278          webm       256x144    144p   96k , webm container, vp9, 30fps, video only, 1.60MiB
133          mp4        426x240    DASH video  112k , avc1.4d4015, 30fps, video only, 878.58KiB
242          webm       426x240    240p  211k , vp9, 30fps, video only, 1.79MiB
134          mp4        640x360    DASH video  273k , avc1.4d401e, 30fps, video only, 2.07MiB
243          webm       640x360    360p  421k , vp9, 30fps, video only, 3.46MiB
135          mp4        854x480    DASH video  657k , avc1.4d401f, 30fps, video only, 4.22MiB
244          webm       854x480    480p  807k , vp9, 30fps, video only, 5.96MiB
247          webm       1280x720   720p 1623k , vp9, 30fps, video only, 16.58MiB
136          mp4        1280x720   720p 1639k , avc1.4d401f, 30fps, video only, 10.85MiB
302          webm       1280x720   720p60 2741k , vp9, 60fps, video only, 30.00MiB
298          mp4        1280x720   DASH video 3374k , avc1.4d4020, 60fps, video only, 24.16MiB
17           3gp        176x144    small , mp4v.20.3, mp4a.40.2@ 24k
36           3gp        320x180    small , mp4v.20.3, mp4a.40.2
43           webm       640x360    medium , vp8.0, vorbis@128k
18           mp4        640x360    medium , avc1.42001E, mp4a.40.2@ 96k
22           mp4        1280x720   hd720 , avc1.64001F, mp4a.40.2@192k (best)
Danach kannst du mit
Code:
youtube-dl -f $format $url
den gewünschten Part runterladen.
 
h264 hat aac-Tonspuren, da muss nicht mal was umgewandelt werden.
AAC kann fast jedes Gerät und man hat nicht zusätzlichen Qualitätsverlust.
Einfach die Tonspur herunterladen sollte also genügen.
 
für youtube-dl gibt es auch noch ein nettes gui frontend... ist wahrschneilich etwas einfacher für dich.. als linux neuling.. für ubuntu gibt es ein ppa.. ist aber wie ich sehe auch über pip installierbar.. vll die einfachere variante.. wobei du dich dann selbst um das updated kümmern musst.. https://github.com/MrS0m30n3/youtube-dl-gui
 
Uridium schrieb:
Man kann auch im Browser einen Button/ContextLink z.B. mit External Application Button erstellen, der dann den Link an youtube-dl übergibt.

Mensch, man kann doch dasselbe viel einfacher über das Terminal erledigen :cool_alt::

youtube-dl --extract-audio --audio-format=mp3 <url>

Faule und vergessliche Menschen :D können auch einfach ein yt-mp3 alias in der ".bashrc" anlegen:

alias yt-mp3="youtube-dl --extract-audio --audio-format=mp3"

Danach kann man dasselbe folgendermassen erledigen:
 
Zuletzt bearbeitet:
xandery schrieb:
man kann doch dasselbe viel einfacher über das Terminal erledigen
Das ist eine Automatisierung (Terminal öffnen, copy&paste, usw) geht alles von selbst. Man drückt einen Knopf.
 
Zurück
Oben