Oct 31

How to play YouTube live streams with SMPlayer

From version 15.11 it’s possible to play live streams from YouTube. Be sure the YouTube support is enabled in Preferences -> Network.

It’s also necessary to use SMPlayer with mpv, since MPlayer doesn’t seem to support very well live streams from YouTube. Visit this link to find out how to install SMPlayer with mpv.

If you want to test it, here’s a live stream (Sky News): https://www.youtube.com/watch?v=y60wDzZt8yg

YouTube live stream

It’s also possible to play YouTube live streams with older versions of SMPlayer but in this case it’s necessary to use mpv+youtube-dl and make a change in the configuration:

Go to Preferences -> Network and turn off the option “Enable YouTube internal support” and turn on “Enable mpv’s support for streaming sites”.

Network configuration

There’s a downside: with mpv+youtube-dl online streams take much more time to start to play.

Sep 16

How to convert 3D formats in SMPlayer

SMPlayer includes now an option to convert 3D formats: Video -> Stereo 3D filter.

In the Stereo 3D filter dialog you need to select the input and output formats.

3D Filter Window

Let’s see an example:

In this YouTube video the format is side by side with half resolution.


So we select that option as input format. As output format you can for example select anaglyph red/cyan color, which allows you to watch the video in 3D with red/cyan glasses.


There are many outputs available. The “mono output” allows to watch the video without 3D.

Another example:

In this video the format is above-below half resolution.


Result with the anaglyph red/cyan output:


Aug 02

mpv.srsfckn.biz tried to sabotage the SMPlayer installation

The Windows installer package includes a MPlayer build but in order to save space it doesn’t include the mpv build. When the user selects to install mpv it is downloaded from http://mpv.srsfckn.biz which seems to be the official site for the mpv builds for Windows.

But now suprisingly, mpv.srsfckn.biz seems to detect the SMPlayer installer and in that case it serves a fake mpv package, which is only 6 KB. When SMPlayer tries to run mpv.exe from it, it fails with this message:

The mpv team strongly discourages the use of SMPlayer due to its half-baked
integration and the developers' continued ignorance and refusal to use the
proper, supported way to handle mpv integration:

- Use libmpv
- Stop treating it like MPlayer (mpv is fundamentally different now)
- Change the UI to accomodate mpv's differences (many options have changed
semantics, features have been added/changed/removed, etc.)

It is not feasible to offer the same level of support for all three members
of the MPlayer family in a single frontend. Hence, SMPlayer ought to pick
one of them and implement proper support for it.
Right now, SMPlayer only has complete support for MPlayer.

You are seeing this message because the SMPlayer developers refuse to make
the state of SMPlayer's mpv "support" clear to its users, despite how broken
and incomplete it is.

If you are looking for an alternative to SMPlayer, try one of these:

- Use mpv without a frontend. It's probably not as bad as you think!


- Baka MPlayer


The problem is fixed in svn r7051. Now the Windows installer will download the real mpv from the SMPlayer site instead.

Regarding that text in the fake mpv I’d like to say the following:

  1. I added support for mpv because many people asked for it.
  2. SMPlayer is mainly a MPlayer front-end so supporting mpv the way its developers seem to want is not possible. Consider the mpv support an add-on.
  3. Anyway I think the support for mpv in SMPlayer is pretty complete. Most (all?) menu options work. There is even support for specific features of mpv (like the secondary subtitle track or precise seek). If something doesn’t work as expected is probably due to changes between versions of mpv (they don’t care about backward compatibility).
  4. If they don’t like SMPlayer, why don’t they implement their own GUI -the way they like- instead of trying to boycott SMPlayer?
  5. I have no time for nonsense. If they don’t want SMPlayer to support mpv then I’ll probably stop supporting it.


Jul 21

Huge outage in SourceForge causes a big trouble to SMPlayer users

Last Thursday, July 16th, SourceForge suffered an outage due a storage fault. 5 days later the problem is not fixed yet. They restored some services but the project web is still offline. People trying to visit smplayer.sourceforge.net will get this screen:

Website not available

So they aren’t able to download SMPlayer from the official website. The downloads from fosshub.com (where the stable packages for Windows are stored) have dropped to almost 0.

So to try to prevent this to happen again in the future, I think the best would be to host the SMPlayer website outside of SourceForge. Actually it already has been uploaded to smplayer.es.

This blog, the forum, the SVN repository, the stable downloads are already outside of SourceForge.

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 http://smtube.sourceforge.net

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 http://smtube.sourceforge.net

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/