Firefox 50 - libavcodec older than 54.35.1 [SOLVED]

Questions about applications and software
Forum rules
Before you post please read how to get help
User avatar
jimallyn
Level 18
Level 18
Posts: 8941
Joined: Thu Jun 05, 2014 7:34 pm
Location: Wenatchee, WA USA

Re: broken vidio player

Post by jimallyn » Sat Dec 03, 2016 3:06 am

I assume you are using Firefox? In the address bar, type about:config and press enter. Then in the search box, enter libav and by the time you get that much entered, media.libavcodec.allow-obsolete should appear below. Double click where it says False, and it will turn to true. I'm not sure that you have to restart Firefox, but it couldn't hurt.
Image

“If the government were coming for your TVs and cars, then you'd be upset. But, as it is, they're only coming for your sons.” - Daniel Berrigan

User avatar
chazb
Level 4
Level 4
Posts: 353
Joined: Wed Nov 30, 2016 2:56 am
Location: Oklahoma

Re: broken vidio player

Post by chazb » Sat Dec 03, 2016 4:07 am

I am running Qiana 17 LTS, and it hasn't been updated yet. The libavcodec is a sub-program of ffmpeg, and those developers at ffmpeg.org released a new program in October. So I just now downloaded an Ubuntu file from ffmpeg. So now I guess need to figure out how to get it out of downloads and into Software Manager or Synaptic. I extracted the file but I 'll be damned if I know where I extracted to.
The file I downloaded is; ffmpeg_2.8.6.orig.tar.xz

User avatar
jimallyn
Level 18
Level 18
Posts: 8941
Joined: Thu Jun 05, 2014 7:34 pm
Location: Wenatchee, WA USA

Re: broken vidio player

Post by jimallyn » Sat Dec 03, 2016 5:00 am

You mention that you haven't updated yet. Does that mean you haven't installed the updates that are available in Update Manager? If so, I would probably do that first.

If I wanted to upgrade ffmept, I think I would install from the PPA rather than a tar.gz. Instructions here:

https://launchpad.net/~mc3man/+archive/ ... usty-media

I noticed that they include the apt-get dist-upgrade command in the instructions. Mint recommends that you NOT use dist-upgrade, so I would just skip that and scroll down to where they give the command to add the repository to your system:

sudo add-apt-repository ppa:mc3man/trusty-media
sudo apt-get update


I would follow those commands with:

sudo apt-get install ffmpeg

A lot of people have been getting the message about libavcodec. You might search the forums and see if anybody has a different solution.
Image

“If the government were coming for your TVs and cars, then you'd be upset. But, as it is, they're only coming for your sons.” - Daniel Berrigan

User avatar
I2k4
Level 5
Level 5
Posts: 584
Joined: Thu Feb 02, 2012 8:33 pm

Re: broken vidio player

Post by I2k4 » Sat Dec 03, 2016 11:39 am

jimallyn wrote:I assume you are using Firefox? In the address bar, type about:config and press enter. Then in the search box, enter libav and by the time you get that much entered, media.libavcodec.allow-obsolete should appear below. Double click where it says False, and it will turn to true. I'm not sure that you have to restart Firefox, but it couldn't hurt.
This worked on FF 50.0 - Mint 17.3 XFCE. Thanks.
TRUST BUT VERIFY any advice from anybody, including me. M18.3 XFCE (Dell 1520) 64 bit. Dual booting M19.1 XFCE / W7 (Acer netbook) and M19.1 Cinnamon / W7 (Lenovo desktop) 64 bit. Persistent live USB pretesting M19.2 Cinnamon and XFCE.

User avatar
chazb
Level 4
Level 4
Posts: 353
Joined: Wed Nov 30, 2016 2:56 am
Location: Oklahoma

Re: broken vidio player

Post by chazb » Sun Dec 04, 2016 1:26 am

Okay, that solved the problem.

As a newby though, this business begs a question; If ppa's are the are the principle way to down load and install files, what good is the download file? Further is there actually away to get files out of the downloads and into the OS.

User avatar
mintymatrix
Level 4
Level 4
Posts: 227
Joined: Sat Dec 21, 2013 9:05 pm

Libavcodec

Post by mintymatrix » Tue Dec 06, 2016 11:20 pm

Someone sent me a link which some audio clip.
When I view it in my mobile, it plays well but when I try to open it in browser in Mint, it gives the following error :
libavcoder may be vulnerable or is not supported, and should be updated to play video
What can be done to play that audio clip in Mint ?
Last edited by karlchen on Fri Dec 09, 2016 5:54 am, edited 2 times in total.
Reason: merged this thread "libavcodec" with this thread "Firefox 50 - libavcodec older than 54.35.1"

User avatar
WharfRat
Level 21
Level 21
Posts: 13010
Joined: Thu Apr 07, 2011 8:15 pm

Re: Libavcoder

Post by WharfRat » Tue Dec 06, 2016 11:48 pm

I just did what was suggested here

Basically it entails
type about:config in the address bar, enter
click "I accept the risk" search libavcodec
change media.libavcodec.allow-obsolete;false to true
It might not be the right thing to do as per this
This seems like really bad advice to me. You're basically telling people to explicitly open a security vulnerability on their system rather than fix it.
but it works :wink:
ImageImage

User avatar
mintymatrix
Level 4
Level 4
Posts: 227
Joined: Sat Dec 21, 2013 9:05 pm

Re: Libavcoder

Post by mintymatrix » Wed Dec 07, 2016 4:15 am

WharfRat wrote:I just did what was suggested here

Basically it entails
type about:config in the address bar, enter
click "I accept the risk" search libavcodec
change media.libavcodec.allow-obsolete;false to true
It might not be the right thing to do as per this
This seems like really bad advice to me. You're basically telling people to explicitly open a security vulnerability on their system rather than fix it.
but it works :wink:
Dont we have an update for that ?

User avatar
mintymatrix
Level 4
Level 4
Posts: 227
Joined: Sat Dec 21, 2013 9:05 pm

RE: Libavcodec

Post by mintymatrix » Wed Dec 07, 2016 4:25 am

Error stopped but media did not start playing.

User avatar
karlchen
Level 20
Level 20
Posts: 11055
Joined: Sat Dec 31, 2011 7:21 am
Location: Germany

Re: Libavcodec

Post by karlchen » Wed Dec 07, 2016 6:25 am

Hi, mintymatrix.

There have been at minimum a dozen recent threads on "Firefox 50" and "libavcodec". So using the forum search functionality and searching for both terms in the Main Edition Forums will return a lot of hits (41 to be precise) where you will also find the answer that Ubuntu currently does not offer a newer libavcodec version in the official software repositories: "Firefox 50" "libavcodec"

So you either live with the warning which Firefox 50 will display when it comes across libavcodec 54.35.0 and older, or you use the (somewhat doubtful) workaround which WharfRat explained. Or you resort to getting libavcode56 or libavcodec57 from a PPA, which is mentioned in some of the threads as well. Actually it is a piece of advice given on Askubuntu. (cf. How to update libavcodec on ubuntu 14.04 <== you know this one, provided you have read WharfRat's post carefully.)

By the way, the libavcodec warning will be triggered if any multi-media content on a webpage would require using libavcodec 54.35.0 or older. This need not necessarily be the main multimedia content which you wish to play. So silencing the warning is not guaranteed to make your video play.

Best regards,
Karl
Image
Linux Mint 19.2 32-bit xfce Desktop, Total Commander 9.22a 32-bit
Linux Mint 18.1 64-bit Cinnamon Desktop, Total Commander 9.22a 64-bit
Windows? - 1 window in every room

User avatar
mintymatrix
Level 4
Level 4
Posts: 227
Joined: Sat Dec 21, 2013 9:05 pm

Re: Libavcodec

Post by mintymatrix » Wed Dec 07, 2016 9:08 am

karlchen wrote:Hi, mintymatrix.

There have been at minimum a dozen recent threads on "Firefox 50" and "libavcodec". So using the forum search functionality and searching for both terms in the Main Edition Forums will return a lot of hits (41 to be precise) where you will also find the answer that Ubuntu currently does not offer a newer libavcodec version in the official software repositories: "Firefox 50" "libavcodec"

So you either live with the warning which Firefox 50 will display when it comes across libavcodec 54.35.0 and older, or you use the (somewhat doubtful) workaround which WharfRat explained. Or you resort to getting libavcode56 or libavcodec57 from a PPA, which is mentioned in some of the threads as well. Actually it is a piece of advice given on Askubuntu. (cf. How to update libavcodec on ubuntu 14.04 <== you know this one, provided you have read WharfRat's post carefully.)

By the way, the libavcodec warning will be triggered if any multi-media content on a webpage would require using libavcodec 54.35.0 or older. This need not necessarily be the main multimedia content which you wish to play. So silencing the warning is not guaranteed to make your video play.

Best regards,
Karl
Is there any way I could make out why the Audio is not playing ?
So that I could look for solution.
.

User avatar
JCSenar
Level 10
Level 10
Posts: 3102
Joined: Sat Sep 06, 2014 6:26 pm
Location: Irun, España
Contact:

Re: Libavcodec

Post by JCSenar » Wed Dec 07, 2016 7:14 pm

Here is the problem solved. There are several solutions:

viewtopic.php?f=68&t=234479

One of them: you can download from the Debian repository these four packages and install them with the order sudo dpkg -i *.deb. At the end restart Firefox:

lbavcodec56

libavresample2

libavutil54

libopenjpeg5
Image
Si tu consulta ha sido resuelta, por favor, edita tu primer mensaje y añade [SOLUCIONADO] al título. Gracias.

xdicey
Level 4
Level 4
Posts: 473
Joined: Wed Sep 16, 2015 2:42 pm

Re: Libavcodec

Post by xdicey » Wed Dec 07, 2016 11:49 pm

Update Manage brought a Libav update today and that fixed my libavcodec warning issue with FF 50.0.2
-QUAD CORE Intel Core i7-4700MQ CPU (-HT-MCP-) 2.40GHz x4
-16GB RAM, 1 TB SSHD
-Graphics Card: Intel 4th Gen Core Processor Integrated Graphics Controller

User avatar
WharfRat
Level 21
Level 21
Posts: 13010
Joined: Thu Apr 07, 2011 8:15 pm

Re: Libavcodec

Post by WharfRat » Thu Dec 08, 2016 12:23 am

xdicey wrote:Update Manage brought a Libav update today and that fixed my libavcodec warning issue with FF 50.0.2
Yep, finally :D

Now I can undo the media.libavcodec.allow-obsolete hack.
ImageImage

dermage1
Level 1
Level 1
Posts: 20
Joined: Thu Apr 21, 2016 10:47 am

Libavcodec

Post by dermage1 » Thu Dec 08, 2016 4:01 pm

When I open a browser, I get this message along the top: - "Libavcodec may be vulnerable or is not supported, and should be updated to play video." I've noticed that certain video links on sites like Primewire don't play. I'm wondering if this Libavcodec may be the reason. Does anyone one how to do this update ? I'd appreciate hearing your answers.

rene
Level 10
Level 10
Posts: 3420
Joined: Sun Mar 27, 2016 6:58 pm

Re: Libavcodec

Post by rene » Thu Dec 08, 2016 4:16 pm

Just update your system from an up to date mirror; a libavcodec update came through today.

xdicey
Level 4
Level 4
Posts: 473
Joined: Wed Sep 16, 2015 2:42 pm

Re: Libavcodec

Post by xdicey » Thu Dec 08, 2016 11:56 pm

I guess the OP can mark this as 'Solved' -hoping he/she got the update and is okay now too :).
-QUAD CORE Intel Core i7-4700MQ CPU (-HT-MCP-) 2.40GHz x4
-16GB RAM, 1 TB SSHD
-Graphics Card: Intel 4th Gen Core Processor Integrated Graphics Controller

User avatar
mintymatrix
Level 4
Level 4
Posts: 227
Joined: Sat Dec 21, 2013 9:05 pm

Libavcodec

Post by mintymatrix » Fri Dec 09, 2016 1:23 am

WharfRat wrote:
xdicey wrote:Update Manage brought a Libav update today and that fixed my libavcodec warning issue with FF 50.0.2
Yep, finally :D

Now I can undo the media.libavcodec.allow-obsolete hack.
There is no error being displayed but the audio clip is not being played on this page :
http://mp.weixin.qq.com/s/517xnXcZmfeAo6GWbfyDSw

A friend of mine who studies Chinese language received that link which played fine on his mobile but he wanted to download that audio from that page, which he did not how to do. So he forwarded that link to me and I tried to open it in my computer but it did not play there and gave the Libavcodec error. I am not sure what is written in that page, seems to be a couple of asian languages

The problem is partially solved, the error is not being displayed but the audio is also not being played. How can I play and download that audio ?

User avatar
karlchen
Level 20
Level 20
Posts: 11055
Joined: Sat Dec 31, 2011 7:21 am
Location: Germany

Re: Firefox 50 - libavcodec older than 54.35.1

Post by karlchen » Fri Dec 09, 2016 6:04 am

Note:
As has been reported in some of the previous posts above mine (first one here):
Yesterday Ubuntu deployed to their software repositories an updated libavcodec54 package which updates libavcodec54 from 54.35.0 to 54.35.1.
This update applies to Ubuntu 14.04.x and therefore to Linux Mint 17.x.
As a result Firefox 50.0 or newer should no longer complain about libavcodec on Mint 17.x and should no longer display the alert message

Code: Select all

libavcodec may be vulnerable or is not supported, and should be updated to play video
Hence for Mint 17.x the reported problem should be fixed.
To the best of my knowledge no such libavcodec update has been made available for Linux Mint 13 (Ubuntu 12.04)
And I am not even sure that Linux Mint 18 (Ubuntu 16.04) has ever been affected.

So personally I tend to consider this thread solved.
Image
Linux Mint 19.2 32-bit xfce Desktop, Total Commander 9.22a 32-bit
Linux Mint 18.1 64-bit Cinnamon Desktop, Total Commander 9.22a 64-bit
Windows? - 1 window in every room

hanson53
Level 1
Level 1
Posts: 17
Joined: Wed Oct 21, 2015 3:44 am
Location: Spain

Re: Firefox 50 - libavcodec older than 54.35.1

Post by hanson53 » Fri Dec 09, 2016 6:42 am

Problem fixed in the libav update of the 8 December 2016 - videos now work again :-)

Locked

Return to “Software & Applications”