Video playback problems, troubleshooting and solutions on Linux.
-
@zsolt.futo said in Video playback problems, troubleshooting and solutions on Linux.:
@ugly Thank You , I had the same issue and Your suggestion/solution worked for me!
It is not a good solution as it will likely cause you issues in the future unless you keep doing this for every upgrade. Instead I suggest you remove the lib you copied. Then start the browser as follows:
bash -x /opt/vivaldi/vivaldi > ~/Documents/vivaldi-startup-log.txt
When the browser has finished starting, immediately shut it down. You will find the file vivaldi-startup-log.txt in your Documents directory. Post its contents here.
-
@ruario said in Video playback problems, troubleshooting and solutions on Linux.:
@ugly said in Video playback problems, troubleshooting and solutions on Linux.:
I had to manually copy libffmpeg.so (2.4MB) from
/usr/lib/chromium-browser
to
/opt/vivaldi-snapshot/
This is why you continue to have problems. By copying the libffmpeg.so into the Vivaldi folder you are preventing the system from working automatically.
You probably had an old libffmpeg.so there, where you have done this before.
Uninstall all copies of vivaldi. Look for /opt/vivaldi-snapshot/libffmpeg.so and /opt/vivaldi/libffmpeg.so and if present delete them. Then reinstall vivaldi. From now on the automatic system where the correct libe is found from the chromium-codecs-ffmpeg-extra will just work.
I don't remember copying the libffmpeg.so file in there. I'm not saying I didn't, but I don't think I would have even know where to look for everything to do it. Unless maybe I looked at your portable script to figure it out. But I don't think I would have, since H.264 was working at one point.
Even so, this does not seem to work for me.
Just to be thorough, these are the steps I tried:
- Uninstalled vivaldi-snapshot from the software manager
- Checked the /opt/vivaldi-snapshot folder and there was a leftover libffmpeg.so file.
- sudo rm -fr /opt/vivaldi*
- Checked for /opt/vivaldi-snapshot and it was gone.
- sudo apt update
sudo apt install chromium-codecs-ffmpeg-extra
Got the message that it was up to date. - Installed the latest 64-bit snapshot from the .deb file I downloaded earlier.
- Checked the test page: http://www.quirksmode.org/html5/tests/video.html
WebM and Ogg/Theora work, but not H.264/MP4 - /opt/vivaldi-snapshot has no libffmpeg.so file. /opt/vivaldi-snapshot/lib has the 1.3MB libffmpeg.so file.
I don't have the stable channel installed. But I do have a portable version from your script: https://gist.github.com/ruario/8f648cc3069d1a55d9c8
Also, I can't edit my previous post where I have my improper workaround. Maybe it should be edited so others don't try it and mess up their install.
-
@ruario I have the following:
chromium-codecs-ffmpeg-extra: 55.0.2883.87-0ubuntu1.16.10.1330
libffmpeg.so
is indeed where it should be:/opt/vivaldi/lib/libffmpeg.so
But this does differ from the version in
/usr/lib/chromium-browser/
If I make a symbolic link:
sudo ln -s /usr/lib/chromium-browser/libffmpeg.so /opt/vivaldi/lib/libffmpeg.so
and restart Vivaldi, everything works OK...
-
Following the procedures here H264 started to work again, but what is happening after all? Why it stopped working in the first place? I'll need to repeat this every update?
This is wrong.
Was Linux a mistake after all? We can never have nice things. -
After investigating a little more it would seem that Ubuntu has pulled an OpenSUSE and moved the directory for libffmpeg.so.
On Ubuntu 14.04, the latest chromium-codecs-ffmpeg-extra package is 53.0.2785.143 and it stores the libffmpeg.so in /usr/lib/chromium-browser/libs. However, on Ubuntu 16.04 and 16.10 the latest chromium-codecs-ffmpeg-extra package is 55.0.2883.87, which stores libffmpeg.so in /usr/lib/chromium-browser.
Thus, our startup script does not find it as we only look in /usr/lib/chromium-browser/libs.
We will need to update Vivaldi stable to look in both locations.
-
@msbentley It works but it is the wrong fix because /usr/lib/chromium-browser/libffmpeg.so will always be used even if it is the wrong version (this may happen in a future update). If it is ever the wrong version you will likely get crashes and/or other serious issues. So do not do this lightly.
We have worked out the issue now. It is because the Ubuntu maintainers changed the location of this file. We have a fix we are testing internally and will try and get it out shortly.
-
@ruario understood - I've revert it once the changes have been rolled out!
-
-
Also updated the snapshot stream
https://vivaldi.net/en-US/teamblog/200-ime-and-linux-media-fixes-vivaldi-browser-snapshot-1-7-705-3
-
@ruario said in Video playback problems, troubleshooting and solutions on Linux.:
Also updated the snapshot stream
https://vivaldi.net/en-US/teamblog/200-ime-and-linux-media-fixes-vivaldi-browser-snapshot-1-7-705-3
Works for me on Linux Mint 18.1 x64. Thanks for getting it sorted out so quickly before the holidays.
I see you also updated your portable script. It's a bit different than the old version I had, but I got it running as a portable install with the temp profile. Video also seems to work for the portable version. Thanks again.
-
@ugly said in Video playback problems, troubleshooting and solutions on Linux.:
Works for me on Linux Mint 18.1 x64. Thanks for getting it sorted out so quickly before the holidays.
Np, thanks for all your feedback and that of the others in this thread
I see you also updated your portable script. It's a bit different than the old version I had, but I got it running as a portable install with the temp profile. Video also seems to work for the portable version. Thanks again.
Yes, the old script actually had a number of issues:
- It used its own startup wrapper script, so all fixes had to be copied into that and the script constantly updated
- People don't seem to like or trust install scripts on Linux, so that point was an extra complication that I expect was rarely (if ever) used by anyone but me
- You could not use the build with the main (shared) profile/preferences without install (see point 2).
The new script is much simpler and allows for the main advantage of install, desktop environment integration.
-
I wasn't having much luck with these suggestions on Vivaldi 1.6 on Debian Stretch. However, Gwendragon's script, with the -F fallback switch worked like a charm. Hulu and Netflix are back in action.
-
Vivaldi, both stable and snapshot, can't play cnet videos on my openSuse Leap 41 and 42 machines, on pages like this:
https://www.cnet.com/news/apples-iphone-turns-10-where-does-it-go-from-here/
It's the only place where I notice non-playing videos and I can't figure out what's wrong. On Chrome and FF they play fine.
The solution might have been already offered in the thread but I don't know which fix applies to my case.
-
@StanG -- initially, the 3 vids on that page also wouldn't play for me [V SS 1.7.715.3 (Official Build) dev (64-bit)], however they all do play fine in a Private Window. That told me that (a) it's not an innate fault with V per se, (b) it's probably a consequence of one or more of my privacy extensions doing their thing. To investigate, back in the real V SS [not PW], i disabled HTTPS Everywhere, uBlock Origin, Disable HTML5 Autoplay, Privacy Badger, but left Avast Online Security on. They still wouldn't play. I then by trial & error found that in AOS i had to allow the Tealium AND Doubleclick Ad Trackers, at which point the vids play ok.
I then found that i can re-enable HTTPS Everywhere & Privacy Badger at that site, & the vids still play. However, if i also re-enabled either uBlock Origin or Disable HTML5 Autoplay, they broke again.
On a personal note, & tying in with a sometimes slightly heated thread elsewhere in the fora, i philosophically object to being tracked, & abandon sites that require me to consent to it before their sites work. Hence, at the conclusion of my tests, i have re-enabled my remaining blockers, the vids thus again dying, & i leave that site with nary a tear in my eye.
..........................................................................................................................................................................
Tower's SSD = Linux Mint 17.3 x64 KDE 4.14.2 [< 26/9/16]; now Maui 2.1 "Blue Tang" x64 Plasma 5.8.4.
Lappy's SSD = Linux Mint 18 x64 Xfce+Compiz [< 25/12/16]; now Maui 2.1 "Blue Tang" x64 Plasma 5.8.4. -
hello ruario
hello Steffie - "That saved me some time," is what I think at those moments of no multimedia play.; never disappointed. Good for You. That answer took numerous trials. Good for You! again. -
@Steffie The videos won't play for me even in private window. None of my extensions are enabled in incognito mode so that shouldn't be a problem.
Console in "developer tools" is filled with video related errors but they are not easy to copy paste here.
-
@StanG -- my tests proved that it is not a generic / universal V fault. Hence by logical deduction the root cause of your problem has to be something unique to your specific local V environment. That said, if you're interested, my first suggestion would be to close V, rename your Default directory to [eg] "Default_old", restart V [which will thus create a brand-new 100% virginal profile, with NONE of your data & settings. Then, in an ordinary tab, paste your link. Does it work now? If it does, then your original profile is corrupt [there are many threads in the fora concerning what to do in this case]. If it still does not work then i am out of ideas & you'll need some other user, or a Dev, to assist you. It will be interesting to learn what transpires...
-
@Steffie I have "virgin" vivaldi-snapshot profile for this kind of thing, videos don't play there either.
I think it has something to with setup of my codecs, but which ones? Is it a flash video (apparently not)? HTML5? h264? h265?
I haven't done any of the things mentioned in this thread so far and not sure which solution is applicable to me.
-
@StanG -- Oh groan, i forgot that you'd not done any of those precursor things, now i'm far less surprised that it doesn't work for you. I wish i'd remembered that before i did all that tedious testing for you [ie, not done it]. At the very least you probably should follow the links posted in replies #2 & 3 above.
-
Hello!
Recently (not sure since what Vivaldi version) I have a video playback issue, that didn't exist in earlier versions. (Maybe someone has already posted a question about it in this topic or another. If this is the case, I am sorry. Just send me a hint where to find the solution.)
Videos in YouTube, DailyMotion and some other hosting sites don't start automatically on opening the page and even the Flash Player is not loaded. Instead, I have a gray rectangle with an instruction: "Righy-click to open Adobe Flash Player". Doing so starts the player on the page and the video plays normally. However, when I try to play the video in Full Screen mode, it does not open in the browser window, but IN ITS OWN (Unnamed) window which is not exactly Full Screen. Even when maximized, It has a title bar with no title displayed, only the standard window buttons - Menu on the top-left corner and Minimize/Maximize/Close on the top-right. Moving the mouse does not display the standard playback controls - Play/Pause/Stop, progress indicator, etc. The Linux taskbar is also visible on the bottom.
BTW, on some sites like Vimeo the video behaviour is normal (Flash is loaded automatically and Full Screen playback is REAL Full Screen).
I need your advide how to make all online videos play as expected.
I am using Linux Mint 17.3 MATE 32-bit. Chromium and Chrome are not installed. Instead, the available browsers are Firefox 50.1, Vivaldi 1.6.689.46 (Stable) and (Old) Opera 12.16 (waiting hor Vivaldi to mature). The newest versions of pepperflashplugin-nonfree and chromium-codecs-ffmpeg-extra are installed.
Thanks in advance!