Scheduled Maintenance: We are aware of an issue with Google, AOL, and Yahoo services as email providers which are blocking new registrations. We are trying to fix the issue and we have several internal and external support tickets in process to resolve the issue. Please see: viewtopic.php?t=158230

 

 

 

Unprecedented problem on Mplayer

Graphical Environments, Managers, Multimedia & Desktop questions.
Post Reply
Message
Author
Faublazz
Posts: 2
Joined: 2020-01-06 23:06

Unprecedented problem on Mplayer

#1 Post by Faublazz »

Hello, and happy new year to everyone!

First of all I must confess I'm not technically savvy on Debian, so my question my be quite naive.

I used to use Mplayer on a command-line terminal to listen to my favorite online radio ; It went :

Code: Select all

mplayer http://listen.radionomy.com/*someradio*
No problem. However, last week the radio changed its web hosting. And when I tried to play the new stream, I got this :

Code: Select all

mplayer https://streamingV2.shoutcast.com/*someradio*
MPlayer 1.3.0 (Debian), built with gcc-6.2.1 (C) 2000-2016 MPlayer Team
do_connect: could not connect to socket
connect: No such file or directory
Failed to open LIRC support. You will not be able to use your remote control.

Playing https://streamingV2.shoutcast.com/*someradio*.
libavformat version 57.56.101 (external)
Mismatching header version 57.56.100
Cannot seek backward in linear streams!
Cannot seek backward in linear streams!
Cannot seek backward in linear streams!
Cannot seek backward in linear streams!
Cannot seek backward in linear streams!
Cannot seek backward in linear streams!
Cannot seek backward in linear streams!
Cannot seek backward in linear streams!
Cannot seek backward in linear streams!
Cannot seek backward in linear streams!
Cannot seek backward in linear streams!
Cannot seek backward in linear streams!
Cannot seek backward in linear streams!
Cannot seek backward in linear streams!
Cannot seek backward in linear streams!
Cannot seek backward in linear streams!
Cannot seek backward in linear streams!
Cannot seek backward in linear streams!
Cannot seek backward in linear streams!
Cannot seek backward in linear streams!
Cannot seek backward in linear streams!
Cannot seek backward in linear streams!
Cannot seek backward in linear streams!


MPlayer interrupted by signal 2 in module: demux_open
Do you have any idea of what could be the problem? (The streaming link works perfectly well on other software like VLC).

Many thanks in advance.

L_V
Posts: 1477
Joined: 2007-03-19 09:04
Been thanked: 11 times

Re: Unprecedented problem on Mplayer

#2 Post by L_V »

Can you try with mpv ?

User avatar
stevepusser
Posts: 12930
Joined: 2009-10-06 05:53
Has thanked: 41 times
Been thanked: 72 times

Re: Unprecedented problem on Mplayer

#3 Post by stevepusser »

Code: Select all

Playing https://streamingV2.shoutcast.com/*someradio*.
libavformat version 57.56.101 (external)
Mismatching header version 57.56.100
The mplayer in Stretch was built back in 2016, against the version of libavformat57 in the repos at the time. Since then, libavformat57 in Stretch has been upgraded quite a few times: https://metadata.ftp-master.debian.org/ ... _changelog

leading to a mismatch in the soname of the libraries. This should be fixable by rebuilding mplayer packages against the libavformat57-dev version currently in Stretch. This warrants a bug report to Debian, IMO, but it's probably faster to fix it yourself in the meantime.

Add or enable the deb-src line for Stretch in your sources.list

Code: Select all

apt-get update
create a folder somewhere in your home folder with no spaces in its PATH

open a terminal in that folder

Code: Select all

apt-get source mplayer
This will download and extract the mplayer source in that folder. Enter the source, and edit the first line to make the version "2:1.3.0-6.5". This will keep the current Debian version off your machine, while allowing a (hopefully) Debian upgrade onto your machine.

Go back up to the root of the source folder, where you can see the debian folder. Open a terminal, and as root or with sudo:

Code: Select all

apt-get install devscripts
apt-get build-dep mplayer
Now you need to determine how susceptible your machine is to overheating when run full out. You can test this by stressing your machine by installing s-tui and stress, then running s-tui in a terminal and clicking the stress checkbox, and watching the temperature.

If you have no fear about overheating, in a terminal in the root of the source, run as a normal user:

Code: Select all

debuild -uc -us -jauto
if you have concerns about overheating, leave off the "-jauto" so it uses only one thread/core for compiling, instead of all available.

When the build is finished, go up one folder from the source root, and the completed debs will be there. Install the "mplayer" deb with apt on the command line, or install gdebi and use that to install the deb.
MX Linux packager and developer

Faublazz
Posts: 2
Joined: 2020-01-06 23:06

Re: Unprecedented problem on Mplayer

#4 Post by Faublazz »

Thanks so much for your insight, i will try that!
(And I'll check MPV too, to compare. thank you).

L_V
Posts: 1477
Joined: 2007-03-19 09:04
Been thanked: 11 times

Re: Unprecedented problem on Mplayer

#5 Post by L_V »

Don't waste time with mplayer which is depreciated.
If mpv works fine, go for mpv.

Post Reply