Play and download YouTube videos from the terminal

On several occasions we have spoken here on the blog of YouTube and of the various tools that allow us to interact with said video platform, I personally believe that the most notable application currently is youtube-dl, a free application that gives us the ability to download YouTube videos.

youtube-terminal

This time we are going to make known to mps-youtube an application with the same purpose of youtube-dl but it adds extra features such as video playback, advanced search, playlist creation, among others.

What is mps-youtube?

It is a multiplatform tool (Linux, Windows and MacOS), open source, developed in Python, based on mps that allows us to search, transmit and download music from YouTube from the terminal.

The tool has a series of remarkable features that we list below:

  • Free and open source terminal-based tool.
  • Multi platform.
  • Allows you to search and play audio / video from Youtube
  • It has functionalities to search album tracks by album title.
  • Find and import YouTube playlists
  • Create and save local playlists
  • Convert to mp3 and other formats (requires ffmpeg or avconv)
  • View video comments.
  • Works with Python 3.x
  • It only requires the mplayer or mpv libraries.
  • Clean, nice interface and compatibility with various technologies.

We can see the characteristics of mps-youtube in the following gallery distributed by its developers.

How to install mps-youtube

The installation of mps-youtube is simple, it is enough that we have python 3 installed and that we execute the following commands to have it working in any linux distro.

We install the necessary dependencies

$ sudo pip3 install dbus-python pygobject

We install mps-youtube

Sudo pip3 install mps-youtube

Optionally we can install youtube_dl

Sudo pip3 install youtube_dl

Then we simply run mps-youtube from the terminal, for this we must execute mpsyt and we will be able to enjoy all its functionalities, to visualize the necessary commands for the correct use of the tool we can execute mpsyst -h.

This is a pretty nice alternative to the many youtube-related tools, with a lot more features than the traditional ones.


3 comments, leave yours

Leave a Comment

Your email address will not be published. Required fields are marked with *

*

*

  1. Responsible for the data: Miguel Ángel Gatón
  2. Purpose of the data: Control SPAM, comment management.
  3. Legitimation: Your consent
  4. Communication of the data: The data will not be communicated to third parties except by legal obligation.
  5. Data storage: Database hosted by Occentus Networks (EU)
  6. Rights: At any time you can limit, recover and delete your information.

  1.   jason said

    Great for watching videos without lags on low-resource computers

  2.   9acca9 said

    Hi. Che, although it searches when I put play, it only sounds but nothing is seen…. I chose VLC as the player. What could I do???

    On the other hand my idea is to use it on a low-resource machine, so I would like the video player to be as light and fast as possible. Do you recommend someone else instead of VLC?
    Saludos y gracias

  3.   robertillo said

    Thanks for the resource, I have been looking and there is an option in the graphic part that is to use https://atubecatcher.gratis but this way is also very useful as always.