May 15

Introducing the new SMTube

Due to changes in YouTube, the old SMTube doesn’t work anymore. A new version has been developed, written from scratch. You can download it from

For the moment only basic functionality is included: search and browse categories. But new features will be added in the future.

In this new version you can choose which media player to use to play the YouTube videos. And you can add more in the settings dialogs. This is an explanation of the data you have to enter to edit or add a player:

Name: this is the name that will be displayed in the context menu: “Open with <name>
Executable: the binary name (a full path is allow) that should be run. For example: mplayer or /usr/bin/mplayer or mplayer.exe (Windows).
Parameters: the parameters that should be passed to the application. There are some special characters that SMTube will replace:

  • %u (the URL of the video)
  • %t (the title of the video)
  • %f (a string that can be used as output filename, usually it’s the title + mp4 extension)

%t and %f should only be used when the option “this player supports videos sites” is NOT checked. (See below)

Example: –title=%t –file=%f %u would expand to something like: –title=”Funny video” –file=”Funny video.mp4″ http://……..

This player supports videos sites: can be checked or unchecked. If it’s checked this means that the player is smart enough to find out the video URL from the YouTube page. When checked SMTube just passes (with %u) the URL of the YouTube page, it’s up to the player to find out the real address of the video. If the option is not checked then SMTube will find out the URL of the video and pass it to the player. For example, SMPlayer, mpv+youtube-dl and VLC can find out the URL of the video, so this option should be checked for them. On the other hand mplayer doesn’t support YouTube so you have to leave this option unchecked.

Notice that due to the terms of use of the YouTube API, this version doesn’t include any option to download videos. But you can read this article to find out how to add it:

How to download videos with the new SMTube

May 12

How to download videos with the new SMTube

Due to changes in YouTube, the old SMTube doesn’t work anymore. A new version has been developed, written from scratch. You can download it from

But now people are asking “is possible to download videos with this new version?
Short answer: yes, but you have to configure it. Please, continue reading.

The new SMTube uses the YouTube API v.3. In order to use this API it’s necessary to ask Google for a “developer key”. And you have to accept their terms of use. Those terms of use don’t allow to implement applications to download videos. So I can’t add any function to download videos from YouTube.

But this new version includes a configuration dialog that allows you to add more media players (VLC, Windows Media Player…). Actually you can add any kind of application, you are not limited to media players. You can add a download manager… in this case the video won’t be played, it will be downloaded…

Now I’m going to give you an example. I’m going to use uget. This is free download manager with versions for both Linux and Windows.

In SMTube select View -> Settings. And add a new player.

The configuration, for Linux, is the following:

Name: uget
Executable: uget-gtk
Parameters: --quiet --folder=/tmp --filename=%f %u 
This player supports video sites: unchecked

Configuration for Windows:

Name: uget
Executable: C:/Users/<user>/uget/bin/uget.exe
Parameters: --filename=%f %u
This player supports video sites: unchecked

That’s it. Now in SMTube, right click on a video and select uget. The video will be downloaded.

Another example, to call youtube-dl (Linux):

Name: youtube-dl
Executable: xterm
Parameters: -e youtube-dl %u -f 22 -o "/tmp/%(title)s-%(id)s.%(ext)s"
This player supports video sites: checked

That would save the videos in 720p quality (option -f 22) in the /tmp folder.

Configuration for Windows:

Name: youtube-dl
Executable: mplayer\youtube-dl.exe
Parameters: %u -f 22 -o "C:\Users\<user>\Videos\Youtube\%(title)s-%(id)s.%(ext)s"
This player supports video sites: checked

And the final example. Using wget (Linux):

Name: wget
Executable: xterm
Parameters: -e wget -O /tmp/%f %u
This player supports video sites: unchecked

(This would save the videos in /tmp)

Mar 20

How to play torrents directly with SMPlayer (linux)

It’s possible to play torrents directly in SMPlayer, no need to download the torrent first!

You need to install peerflix. This is a video streaming BitTorrent client. It starts to download the torrent (to a temp folder) and streams the video. Then SMPlayer (or any other player) can play the stream.

You can install peerflix in Ubuntu with these commands:

sudo add-apt-repository ppa:chris-lea/node.js
sudo apt-get update
sudo apt-get install nodejs
sudo npm install -g peerflix

Now to play a movie with SMPlayer run this command:

peerflix http://some-torrent/movie.torrent -g -d

For more info about the command line options type:

peerflix --help

More info about peerflix and how to use it with other players:

Jan 27

How to use SMPlayer with mpv in Ubuntu

SMPlayer now supports mpv, which brings new interesting features. Click here to know more.

This article explains how to get the latest version of SMPlayer and mpv in Ubuntu.

To get the latest version of SMPlayer, just update it from the official PPA, open a terminal and enter these commands:

sudo add-apt-repository ppa:rvm/smplayer 
sudo apt-get update 
sudo apt-get install smplayer

To get the latest mpv, you can use this PPA:
It contains packages for Ubuntu 14.04 and 14.10.

Type these commands to add the repository and install mpv:

sudo add-apt-repository ppa:mc3man/mpv-tests
sudo apt-get update 
sudo apt-get install mpv

Finally, to use mpv instead of mplayer in SMPlayer, open the SMPlayer preferences dialog, and replace “mplayer” with “mpv” in the mplayer executable field:

Change the executable

That’s all.


Dec 18

How to install SMPlayer with mpv

Now it’s not necessary anymore to use a special installer to install SMPlayer with mpv. The regular installer gives the possibility to install either mplayer or mpv.

Just click on “Playback components” and select mpv. An mpv build will be downloaded from the internet, so you need an internet connection to perform the installation.

If you don’t know what mpv is, please read this previous article:
SMPlayer with support for MPV is now available/

Dec 08

How to play a 1080p video from Youtube with SMPlayer

The following requires SMPlayer from SVN + mpv 0.7.0 + youtube-dl.

Visit to know how to get them. Windows users only need to download the package from that page, everything is included in the package.

Now you have to make this adjustments in the SMPlayer configuration. In Preferences -> Network, disable the option to use the internal support for Youtube, and enable the option to play videos from streaming sites:

Play 1080p videos from Youtube - configuration 1


Now go to Advanced -> Options for MPlayer/MPV and enter


Play 1080p videos from Youtube - configuration 2


That’s all.

There’s a little problem, in this mode the reported duration of the video is wrong.


Nov 28

Support for video sites (not only youtube)

A new very interesting feature, thanks to the newly added support for mpv, is the possibility to play videos from many video sites. Youtube was already supported, but now you can play videos from DailyMotion, Vimeo, Vevo and many more sites, just by entering the URL of the video in SMPlayer. Performance is much better in SMPlayer (or any other player) than using the flashplayer in a web browser.

You’ll need:

  • SMPlayer from SVN
  • mpv 0.7.0 or greater
  • the very latest version of youtube-dl


You need to enable the option “Play video from streaming sites” in Preferences -> Network.

After that you only have to enter the URL of the video you want to play in Open -> URL. The video will be played by mpv, which will use youtube-dl to get the real address of the video.

Youtube-dl supports a lot of sites. You can get a list here:

Playing a video from dailymotion

SMPlayer already had support for Youtube, so the Youtube URLs will still be handled by SMPlayer. However it’s possible to disable SMPlayer’s internal support for Youtube. In this case the Youtube URLs will be passed directly to mpv, which actually provides an interesting feature: subtitles are available.

Playing a Youtube video with subtitles

Nov 16

SMPlayer with support for MPV is now available

After 25 days of hard work and almost 7,000 lines of code, I’m proud to announce the first public version of SMPlayer with support for MPV.

MPV is a player based on MPlayer and MPlayer2, with new features and bug fixes.

Some of its most interesting features:

  • Possibility to display two subtitles at once
  • Play videos from video sites, like Youtube, DailyMotion, Vimeo, Vevo and many more
  • Support for MKV ordered chapters
  • Precise seeking
  • Native support for VAAPI and VDA. Improved VDPAU
  • Better support for taking screenshots
  • (Windows) Improved support for Unicode file names

Click here for a detailed list of the MPV features

The support for MPV in SMPlayer is not complete yet, but the most usual functions should work now.

How to get it

Support for MPV is available in SMPlayer from version svn r6419.

There are packages for both Windows and Linux here:

How to use it

To use MPV instead of MPlayer, open the SMPlayer preferences dialog, and enter “mpv” instead of “mplayer” in the mplayer executable field.

 SMPlayer using mpv on Windows

Nov 08

SMPlayer will support MPV

I’m very happy to announce that the next version of SMPlayer will support MPV.
I’m currently adding support for MPV, it’s not an easy task, since every single command has to be reimplemented, so it’s a slow process.

At this point the basic functions (play, pause, seek, etc.) and most of the options in the menus “Play”, “Video”, “Audio” and “Subtitles” work.

For more detailed info click here.

There’s no public version available yet, but a beta will probably be available soon.

SMPlayer using mpv on Windows