Unprecedented problem on Mplayer

Everything about X, Gnome, KDE, ... and everything running on it

Unprecedented problem on Mplayer

Postby Faublazz » 2020-01-06 23:19

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.
Faublazz
 
Posts: 2
Joined: 2020-01-06 23:06

Re: Unprecedented problem on Mplayer

Postby L_V » 2020-01-06 23:50

Can you try with mpv ?
L_V
 
Posts: 1270
Joined: 2007-03-19 09:04

Re: Unprecedented problem on Mplayer

Postby stevepusser » 2020-01-07 00:22

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
User avatar
stevepusser
 
Posts: 12003
Joined: 2009-10-06 05:53

Re: Unprecedented problem on Mplayer

Postby Faublazz » 2020-01-07 09:28

Thanks so much for your insight, i will try that!
(And I'll check MPV too, to compare. thank you).
Faublazz
 
Posts: 2
Joined: 2020-01-06 23:06

Re: Unprecedented problem on Mplayer

Postby L_V » 2020-01-07 09:37

Don't waste time with mplayer which is depreciated.
If mpv works fine, go for mpv.
L_V
 
Posts: 1270
Joined: 2007-03-19 09:04


Return to Desktop & Multimedia

Who is online

Users browsing this forum: No registered users and 11 guests

fashionable