Showing posts with label youtube-dl. Show all posts
Showing posts with label youtube-dl. Show all posts

Saturday, October 24, 2015

Multi-Platform youtube-dl GUI: YouTube dlG [Updated]

youtube-dl-gui

Youtube-dlG is a multi-platform GUI for the popular command line video download tool `youtube-dl`. The GUI lets you download multiple videos at once, can automatically convert downloaded videos to audio, lets you select the video quality and more.

youtube-dl is a command line video downloader which, despite what its name suggests, supports downloading videos from hundreds of websites, it can extract the audio automatically, supports downloading playlists, downloading and embedding subtitles into videos and much more.

Youtube-dlG features:
  • download videos from all websites supported by youtube-dl;
  • supports downloading multiple videos in the same time;
  • can automatically convert downloaded video to audio (with format and quality options);
  • supports Youtube DASH videos (it automatically downloads both audio and video and merges the two; optionally, it can remove the audio only and video only files)
  • lets you select the video format;
  • playlist options: you can enter the first and last video in the playlist you want to download as well as the maximum number of files to download from a playlist;
  • subtitles: can download all available subtitles, write subtitles to videos, lets you select the subtitles language;
  • options to write description to file, write thumbnails to disk, limit download speed and min/max file size, etc.;
  • supports settings the user agent, referrer, login to download video, proxy support;
  • automatically downloads youtube-dl and keeps it updated;
  • supports specifying command line arguments that are passed to youtube-dl.

Youtube-dlG (or youtube-dl-gui) doesn't offer access to all the youtube-dl features (there are so many, it's almost impossible - I'd say -, to fit them all into a single UI) but it does offer access to most basic features which should be enough for most users.

Here are a few more screenshots with some of the options available in Youtube-dlG:



youtube-dl-gui

youtube-dl-gui

By default, the videos are downloaded in your home folder but you can change that from the application options.

It's important to not that selecting "highest available" in the Youtube-dl-gui video options, the application will download the highest available video format that's not DASH, which usually means 720p. If you want to download 1080p Youtube videos, select "mp4 1080p(DASH)" and make sure to also select "DASH m4a audio 128k" under "Dash audio".


Install Youtube dlG (youtube-dl-gui) in Ubuntu


Youtube dlG (youtube-dl-gui) is available in the main failsdownloads PPA. To install it in Ubuntu, Linux Mint and other Ubuntu-based Linux distributions, use the following commands:
sudo add-apt-repository ppa:nilarimogard/failsdownloads
sudo apt-get update
sudo apt-get install youtube-dlg
If you don't want to add our PPA, you can download the deb from HERE and install it manually.

Once installed, launch "YouTube DL GUI" from the menu / Unity Dash.

Arch Linux users can install Youtube dlG via AUR.

To download the source code, Windows binaries, report bugs, etc., see the youtube-dl-gui GitHub page.
Read more »

Tuesday, October 6, 2015

How To Install SMPlayer With mpv Support In Ubuntu Or Linux Mint [Updated]

SMPlayer, a Qt graphical front-end for mplayer, added mpv support a couple of months ago however, because there are some missing bits, it will take a while until a new stable version with this new feature is released.

But you can already install SMPlayer with mpv support in Ubuntu or Linux Mint, by using the official SMPlayer Testing Stable PPA.

SMPlayer mpv

For those not familiar with mpv, this is a media player based on mplayer2 (and mplayer), which comes with numerous extra features and improvements compared to mplayer2, such as:
  • native support for VAAPI and VDA and improved VDPAU video output;
  • option to display two subtitles at once;
  • Wayland support;
  • precise seeking;
  • gapeless audio support;
  • built-in encoding feature (replacement for mencoder);
  • improved PulseAudio support;
  • better MKV support (e.g. ordered chapters, 3D metadata);
  • much more.

Since there are way too many changes between mplayer / mplayer2 and mpv to post them here, check out the official mpv changes page.

Also, SMPlayer already supports playing YouTube videos however, with mpv, it can play videos from any youtube-dl supported website (despite its name, youtube-dl supports numerous video websites). This includes Youtube (obviously), DailyMotion, Vimeo, BlipTV, CBS, CollegeHumor, ComedyCentral, NBC, Vevo and many more - about 500 websites are supported and you can see a full list HERE.


How to install SMPlayer with mpv support in Ubuntu or Linux Mint


Update: the official SMPlayer Stable PPA was updated with SMPlayer builds that support mpv. If you want to purge the SMPlayer Testing PPA (which was previously used in this article), use the following commands:
sudo apt-get install ppa-purge
sudo ppa-purge ppa:rvm/testing
Then you can install SMPlayer with mpv support from the stable PPA, by using the instructions below.

Note: to be able to use SMPlayer with mpv, you'll need mpv version 0.6.2 or newer  and for youtube-dl support, you'll need mpv 0.7.0 or newer.

A. Ubuntu 14.04 or 14.10 / Linux Mint 17 or 17.1

Because mpv in both Ubuntu 14.04 and 14.10 is very old, you'll need to use a PPA which provides a newer mpv version - that's why I've included Doug McMahon's mpv PPA in the instructions below.

To add Doug's mpv PPA and the official SMPlayer Stable PPA, and install these packages, as well as youtube-dl, in Ubuntu 14.04 or 14.10 / Linux Mint 17 or 17.1, use the following commands:
sudo add-apt-repository ppa:rvm/smplayer
sudo add-apt-repository ppa:mc3man/mpv-tests
sudo apt-get update
sudo apt-get install mpv smplayer smtube smplayer-themes smplayer-skins youtube-dl

Since youtube-dl in Ubuntu isn't updated frequently, I recommend using the main failsdownloads PPA, which provides the latest youtube-dl (you can find instructions for how to install the latest youtube-dl by using the main failsdownloads PPA, HERE).

B. Ubuntu 12.04 / Linux Mint 13

Unfortunately there's no mpv 0.7.0+ PPA for Ubuntu 12.04. The official SMPlayer Stable PPA provides SMPlayer with mpv support and mpv version 0.6.2 and while this version works, it doesn't come with youtube-dl integration so you won't be able to use SMPlayer to play videos from website supported by youtube-dl.

To add the official SMPlayer Stable PPA and install SMPlayer and mpv in Ubuntu 12.04 / Linux Mint 13, use the following commands:
sudo add-apt-repository ppa:rvm/smplayer
sudo apt-get update
sudo apt-get install mpv smplayer smtube smplayer-themes smplayer-skins

Windows users can find binaries with the latest SMPlayer on its downloads page.

Arch Linux users can install the latest SMPlayer from SVN via AUR (Qt5 version).

For other Linux distributions, you'll have to compile SMPlayer from SVN.


Configuring SMPlayer to use mpv


Setting SMPlayer to use mpv instead of mplayer is very easy. From the SMPlayer menu select Options > Preferences and under "General", on the "General" tab, set "mpv" as the "MPlayer executable", like in the screenshot below:

SMPlayer mpv

... and click "Apply". Don't close the SMPlayer Preferences yet. To be able to play videos from all the websites supported by youtube-dl (requires mpv 0.7.0 or newer so this won't work in Ubuntu 12.04!), click "Network" on the left and enable "Play videos from streaming sites":

SMPlayer mpv

... click "Apply" and that's it. You can now play videos from any youtube-dl supported website by copying the video URL and opening it with SMPlayer (Open > URL).
Read more »