Youtube: Difference between revisions

From 太極
Jump to navigation Jump to search
Line 15: Line 15:


== Youtube-dl ==
== Youtube-dl ==
* https://rg3.github.io/youtube-dl/download.html
<ul>
** It is based on Python2. Ubuntu 20.04 does not include python2.
<li>https://rg3.github.io/youtube-dl/download.html
* [https://linoxide.com/linux-how-to/best-youtube-video-downloader-ubuntu/ What are the Best Youtube Video Downloader for Ubuntu]
<ul>
* [http://video.media.io/youtube-downloader/best-youtube-downloader-linux.html The Best YouTube Downloader on Linux]: youtube-dl, Minutube, ClipGrab
<li>It is based on Python2. Ubuntu 20.04 does not include python2.
* [https://www.how2shout.com/tools/4-best-open-source-free-youtube-downloader-for-ubuntu-linux.html 4 Best open source & free YouTube Downloader for Ubuntu Linux]  
</li>
** [https://www.how2shout.com/how-to/how-to-install-4k-video-downloader-youtube-on-ubuntu-linux.html 4K Video Downloader Ubuntu],
</ul>
** [https://clipgrab.org/ ClipGrab],
<li>[https://linoxide.com/linux-how-to/best-youtube-video-downloader-ubuntu/ What are the Best Youtube Video Downloader for Ubuntu] </li>
** [https://youtube-dl.org/ Youtube-dl],
<li>[http://video.media.io/youtube-downloader/best-youtube-downloader-linux.html The Best YouTube Downloader on Linux]: youtube-dl, Minutube, ClipGrab </li>
** [https://flavio.tordini.org/minitube MiniTube]
<li>[https://www.how2shout.com/tools/4-best-open-source-free-youtube-downloader-for-ubuntu-linux.html 4 Best open source & free YouTube Downloader for Ubuntu Linux]  
 
{{Pre}}
{{Pre}}
# which youtube-dl
# which youtube-dl
Line 43: Line 42:
youtube-dl -f mp4 --yes-playlist URL
youtube-dl -f mp4 --yes-playlist URL
</pre>
</pre>
 
<ul>
* For videos with 1080p resolution, youtube-dl will download 720p by default. To download 1080p, see [http://askubuntu.com/questions/486297/how-to-select-video-quality-from-youtube-dl this post]
<li>[https://www.how2shout.com/how-to/how-to-install-4k-video-downloader-youtube-on-ubuntu-linux.html 4K Video Downloader Ubuntu], </li>
<li>[https://clipgrab.org/ ClipGrab], </li>
<li>[https://youtube-dl.org/ Youtube-dl], </li>
<li>[https://flavio.tordini.org/minitube MiniTube] </li>
</ul>
<li>For videos with 1080p resolution, youtube-dl will download 720p by default. To download 1080p, see [http://askubuntu.com/questions/486297/how-to-select-video-quality-from-youtube-dl this post]
{{Pre}}
{{Pre}}
# show the available resolutions
# show the available resolutions
Line 59: Line 63:
sudo apt-get install ffmpeg
sudo apt-get install ffmpeg
</pre>
</pre>
* To download mp3 from a Youtube Video (assume libav-tools or ffmpeg has been installed). See more info [https://askubuntu.com/questions/178481/how-to-download-an-mp3-track-from-a-youtube-video here].
</li>
<li>To download mp3 from a Youtube Video (assume libav-tools or ffmpeg has been installed). See more info [https://askubuntu.com/questions/178481/how-to-download-an-mp3-track-from-a-youtube-video here].
{{Pre}}
{{Pre}}
youtube-dl --extract-audio --audio-format mp3 URL
youtube-dl --extract-audio --audio-format mp3 URL
</pre>
</pre>
* To convert the video to mp3 format, use soundconverter
</li>
<li>To convert the video to mp3 format, use soundconverter
{{Pre}}
{{Pre}}
sudo apt-get install soundconverter
sudo apt-get install soundconverter
</pre>
</pre>
* [http://www.webupd8.org/2014/11/youtube-command-line-player-and.html Play/Download youtube video] using [https://github.com/np1/mps-youtube mps-youtube]
</li>
<li>[http://www.webupd8.org/2014/11/youtube-command-line-player-and.html Play/Download youtube video] using [https://github.com/np1/mps-youtube mps-youtube]
{{Pre}}
{{Pre}}
mps-youtube
mps-youtube
</pre>
</pre>
* 4k videos [http://www.imaging-resource.com/news/2014/11/19/samsung-nx1-4k-video-samples-and-new-full-res-frame-grabs-available-for-do samples] (vlc v2.1.4 cannot play), [https://youtu.be/ftlvreFtA2A FLYING OVER NORWAY]
</li>
* 8K videos [https://youtu.be/mHUOCxVT5ro Yellowstone National Park in 8K 60P], [https://youtu.be/1La4QzGeaaQ Peru]
<li>4k videos [http://www.imaging-resource.com/news/2014/11/19/samsung-nx1-4k-video-samples-and-new-full-res-frame-grabs-available-for-do samples] (vlc v2.1.4 cannot play), [https://youtu.be/ftlvreFtA2A FLYING OVER NORWAY]
</li>
<li>8K videos [https://youtu.be/mHUOCxVT5ro Yellowstone National Park in 8K 60P], [https://youtu.be/1La4QzGeaaQ Peru]
</li>
</ul>


=== GUI ===
=== GUI ===

Revision as of 14:10, 23 January 2021

Download videos

VLC

See VLC tips.

  1. Play the video in VLC
  2. On VLC, check Tools -> Codec information and find a URL there
  3. Open the URL on a browser. Right click the video and choose to save the video.

The method works for youtube and vimeo videos.

Firefox/Chrome add-on

3 Easy Ways to Download YouTube Videos in Ubuntu and Other Linux Distributions

Video DownloadHelper add-on works fine when I test it on Firefox and Chrome. I need to install an app Video DownloadHelper companion app (the source code is on Github) in order to use the extension. It saves the videos to ~/dwhelper folder.

Youtube-dl

GUI

youtube-dl-gui

Learning

Tips 1: SMTube

Search and watch Youtube

Tips 2: Pennywise

Open Websites In A Floating, Borderless Window/Picture in picture

Keyboard shortcuts

Keyboard shortcuts for YouTube

  • j: backward 10 seconds
  • l: forward 10 seconds
  • >: Speed up the video playback rate.
  • <: Slow down the video playback rate.
  • c: captions
  • m: mute

Biology

Bypass any restricted youtube video without an extension

http://www.makeuseof.com/tag/bypass-restricted-youtube-video-without-extension/

7 of the Best YouTube Channels for Learning Drums

http://www.makeuseof.com/tag/best-youtube-channels-learn-drums/

Cooking

5 Unique YouTube Cooking Channels Worth Watching

How to find HDR content on YouTube

https://lifehacker.com/how-to-find-hdr-content-on-youtube-1829374364

Add YouTube Player Controls To Your Linux Desktop With browser-mpris2 (Chrome Extension)

https://www.linuxuprising.com/2018/08/add-youtube-player-controls-to-your.html

Live Stream on youtube

5 Relaxing YouTube Channels to Help You Chill Out

https://www.makeuseof.com/tag/relaxing-youtube-channels-chill-out/

Suggested videos overlay

How to remove the suggested videos overlay from a paused, embedded YouTube video

How Much Money Can You Make on YouTube

How Much Money Can You Make on YouTube?