Solved [Solved] HTML5 codecs, again
-
I just installed MX Linux 19 x64 on a friend's machine, dual-booting with Win10. The first prog I installed in each OS was Vivaldi. On the Linux side I quickly ran into the codec problem, and I see that Vivaldi now has an alert that points you to a help page.
The problem is that the download the page points to does not work for Debian Buster, which is what MX 19 is based on. It's not recognized as a valid archive file and it fails.
The MX repo has the ffmpeg codec listed for installation, but it doesn't help Vivaldi.
So what is the current way of dealing with the lack of this codec?
Thanks.
-
Ok, same fix then
sudo sed -i '/^ DOWNLOAD/s/ -T[0-9]\+//' /opt/vivaldi/update-ffmpeg
sudo /opt/vivaldi/update-ffmpeg
EDIT: For anyone else who has this issue, the following should work if for snapshot and stable. It will remove the timeout from both scripts (it assumes
bash
). Clearly the timeout is too short for many people's networks.sudo sed -i '/^ DOWNLOAD/s/ \(-T\|--connect-timeout \)[0-9]\+//' /opt/vivaldi*/update-{widevine,ffmpeg}
-
@Gwen-Dragon said in HTML5 codecs, again:
@paul1149 See https://help.vivaldi.com/article/html5-proprietary-media-on-linux/
That's exactly where Vivaldi directed me. It doesn't work in Debian Buster.
-
@paul1149 Hello there,
The page displays a video with a word Success
Could you please post the URL Buster is unable do manage?
-
@lamarca said in HTML5 codecs, again:
Could you please post the URL Buster is unable do manage?
I don't have the machine here with me. Vivaldi continued to show the html5 warned upon reopening.
-
@paul1149 Do you get a message like this?
No suitable library for HTML5 proprietary media (MP4[H.264/AAC]) was found,therefore only open codecs will play.
If so, it's the Vivaldi wrapper. The missing codec was detected and Vivaldi will be downloaded and installed.
is that message are you getting? -
Something like that, and then the url for that help page with the download/install instructions.
-
@paul1149 Something like this
curl https://launchpadlibrarian.net/401553574/chromium-codecs-ffmpeg-extra_71.0.3578.98-0ubuntu0.16.04.1_amd64.deb |
tail -c+1081 | tar xJ -C ~ --wildcards *libffmpeg.so --xform 's,.*/,.local/lib/vivaldi/,'- Do you run the command above
belowand get what kind of error? - Or perhaps you skip it?
We those more details. It's not a valid file, that message comes from the OS. Can you please post the file name.
Thx
I am absolutely sure it works on Buster (Debian)
- Do you run the command above
-
@Gwen-Dragon I still don't know what happened. Did the user run that wapper. The file name seems to be download (what file?).
Off: you like Unattended Upgraded, don't you
-
Thanks guys. I guess it will have to wait until I have the machine again, and I don't know when that will be. As I stated, the terminal error was something like "not a valid archive". It also may have said incorrect version of ffmpeg, but I'm not certain now.
-
@paul1149 You are welcome.
Can you copy and paste the message printed on terminal? -
Ok, I installed MX19 as a second OS on my own machine here. Same exact problem. I then closed Vivaldi and used the Codec utility MX provides, which presumably covers this base. No effect. At least I was able to document the problem this time.
-
@paul1149 I got it.
The wrapper download the latest package version, unpack, extract only the specific file and install it. All you need to do it to copy and paste the commandDid you received the message bellow?
No suitable library for HTML5 proprietary media (MP4[H.264/AAC]) was found .... > curl https://launchpadlibrarian.net/401553574/chromium-codecs-ffmpeg-extra_71.0.3578.98-0ubuntu0.16.04.1_amd64.deb |\ > tail -c+1081 | tar xJ -C ~ --wildcards \*libffmpeg.so --xform 's,.*/,.local/lib/vivaldi/,'
-
@lamarca, I'm sorry, I'm not following your post. I manually moved the libffmpeg.so from my mx18 (stretch) install, but it didn't work (no surprise). I tried the built-in updater feature again, and got the same error. Everyone says this is working for them, but now two machines in a row here are not working.
-
@paul1149 No need to be. The procedure has changed a bit, the path, the install. You simple moved the libffmpeg. It's not installed
I can suggest you a different shell script, courtesy of @Gwen-Dragonhttps://gwendragon.de/repo/linux/vivaldi/vivaldi-libffmpeg-install-1-2-15.sh - it's just the raw text,copy and paste, name the file like install.sh set the bit to exec.
On the first run, use the switch -I, to scan your system in search of the proprietary lib.
sudo ./install.sh -L & <enter> -
@lamarca said in HTML5 codecs, again:
sudo ./install.sh -L &
@lamarca, again I'm sorry. I'm not great at understanding this at the moment. I ran the command two ways, not sure where the -I switch goes. Nothing worked.
-
@paul1149 Please, kill the script. That's my fault, the ampersand should not be included.
-
@Gwen-Dragon said in HTML5 codecs, again:
@paul1149 My script is not needed anymore for installing the correct libffmpeg.
I am deeply sad.
-
@Gwen-Dragon said in HTML5 codecs, again:
@paul1149 My script is not needed anymore for installing the correct libffmpeg.
Thank you. That's what I thought the status was, going back about a year ago.
It puzzles me that I'm the only one with this problem, and yet I have confirmed it on two very different machines, though both use the same OS, MX19. The problem persists.
-
I now took the libffmpeg.so from Slimjet here, which plays html5 successfully, and placed it in /opt/vivaldi and then /opt/vivaldi/lib. This had worked in the past, but not now. Still nothing.
-
@Gwen-Dragon I run periodically (-I), it's not the same