[phpBB Debug] PHP Warning: in file [ROOT]/includes/bbcode.php on line 112: preg_replace(): The /e modifier is no longer supported, use preg_replace_callback instead
[phpBB Debug] PHP Warning: in file [ROOT]/includes/functions.php on line 4688: Cannot modify header information - headers already sent by (output started at [ROOT]/includes/functions.php:3823)
[phpBB Debug] PHP Warning: in file [ROOT]/includes/functions.php on line 4690: Cannot modify header information - headers already sent by (output started at [ROOT]/includes/functions.php:3823)
[phpBB Debug] PHP Warning: in file [ROOT]/includes/functions.php on line 4691: Cannot modify header information - headers already sent by (output started at [ROOT]/includes/functions.php:3823)
[phpBB Debug] PHP Warning: in file [ROOT]/includes/functions.php on line 4692: Cannot modify header information - headers already sent by (output started at [ROOT]/includes/functions.php:3823)
SMPlayer Support Forum • View topic - youtube-dl issue

This forum is deprecated. Please visit https://github.com/smplayer-dev/smplayer/discussions

youtube-dl issue

Problems, bugs, suggestions... anything related to SMPlayer.

youtube-dl issue

Postby kamyogi » Mon Jul 27, 2020 12:06 pm

HI,
SMPlayer on my computer has stopped playing YouTube video links prompting a message to download 'youtube-dl' that it can. Despite the download, it doesn't play the links and display the same message on easy attempt. My problem is much similar to this --> https://forum.smplayer.info/viewtopic.php?f=2&t=12589.
How to remedy this problem? Would you please mind explain in simple steps as I am not quite familiar yet with Linux? I've been through the above mentioned thread and tried a few things, but did not work. Before messing things up, I want to go slowly. :)
Thanks for your help.
Ubuntu 18.04.4 LTS
kamyogi
 
Posts: 9
Joined: Fri Jun 26, 2020 7:28 pm

Re: youtube-dl issue

Postby rvm » Mon Jul 27, 2020 3:23 pm

Maybe you need to install python. Try running in a terminal this command:

sudo apt-get install python
rvm
Site Admin
 
Posts: 3787
Joined: Wed Dec 23, 2009 1:25 am
Location: España

Re: youtube-dl issue

Postby kamyogi » Mon Jul 27, 2020 10:23 pm

Installed Python by the command. Rebooted the PC, tried a YouTube link in the player, a new message this time... "Oops, something went wrong. MPlayer/mpv failed to start. Please check the MPlayer/mpv path in Preferences" with Showlog and OK buttons!
Do I need to do anything further? Thanks for the reply.
kamyogi
 
Posts: 9
Joined: Fri Jun 26, 2020 7:28 pm

Re: youtube-dl issue

Postby rvm » Tue Jul 28, 2020 1:29 pm

Go to preferences -> general. Which "multimedia engine" is selected? Maybe it's not installed.
rvm
Site Admin
 
Posts: 3787
Joined: Wed Dec 23, 2009 1:25 am
Location: España

Re: youtube-dl issue

Postby kamyogi » Wed Jul 29, 2020 10:51 am

It's /usr/bin/mpv. Should I change it to something else?
kamyogi
 
Posts: 9
Joined: Fri Jun 26, 2020 7:28 pm

Re: youtube-dl issue

Postby rvm » Wed Jul 29, 2020 2:50 pm

Is mpv installed?

You can try to run this in a terminal and see if it gives any error:

/usr/bin/mpv --version
rvm
Site Admin
 
Posts: 3787
Joined: Wed Dec 23, 2009 1:25 am
Location: España

Re: youtube-dl issue

Postby kamyogi » Thu Jul 30, 2020 2:32 pm

...it says 'no such file or directory' !
kamyogi
 
Posts: 9
Joined: Fri Jun 26, 2020 7:28 pm

Re: youtube-dl issue

Postby rvm » Thu Jul 30, 2020 3:12 pm

rvm
Site Admin
 
Posts: 3787
Joined: Wed Dec 23, 2009 1:25 am
Location: España

Re: youtube-dl issue

Postby agent20 » Thu Jul 30, 2020 4:12 pm

Sorry, I know that this is not a Linux forum, but may I just add something? I am using the same distro as the kamyogi, namely Ubuntu 18.04.4 LTS.

The last post is correct, but by its self,
sudo apt-get install mpv
will install possibly install an old version of mpv which is 2 year's old. Ubuntu 18.04 was created 2 year's ago.

It is better to install the latest version of mpv to match the latest version of smplayer.

In the terminal run this script:

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

Kind regards. Sorry to interrupt the thread.
agent20
 
Posts: 2
Joined: Tue Jul 14, 2020 1:20 pm

Re: youtube-dl issue

Postby kamyogi » Thu Jul 30, 2020 10:37 pm

...it works ;) Thankyou very much rvm. But where are my control buttons, like Stop, Play, Fast Forward/Backword etc? I don't see them. And how to make appear the text menu on upper side of the player? Icons are there, but not text menu.
kamyogi
 
Posts: 9
Joined: Fri Jun 26, 2020 7:28 pm

Next

Return to General

Who is online

Users browsing this forum: Bing [Bot] and 1 guest