Video playback problems, troubleshooting and solutions on Linux.
-
@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!
-
@Steffie
If you mean Ruario's manual on github:https://gist.github.com/ruario/bec42d156d30affef655
then on my distro, openSUSE, chromium-ffmpeg is not shown anymore either for Leap 42.1 or 42.2. There's chromium-ffmpegsumo but it's not in Packman repo as recommended in the manual and installing it requires to downgrade Chromium.
He also offers a guide to fetch Chrome and extract "Widevine" with a script. There's chromium-plugin-widevinecdm in Packman and just to check I installed it but video still won't play both on cnet and on this testing page (the H.264/MP4 one):
http://www.quirksmode.org/html5/tests/video.html
Manual install of Widevine with Ruario's script requires installation of "chromium-codecs-ffmpeg-extra" first, which is not in my repos either.
There's also this script offered:
https://gwendragon.de/repo/linux/vivaldi/vivaldi-libffmpeg-install.sh
but it's only for Ubuntu/Debian, not for openSUSE.
-
@StanG -- sorry, i seem to be doing an atrocious job of noticing important info recently, like your specific distro. With luck, or a Soprano nudge heehee, hopefully Ruari might have time to wade in here & advise you...
-
@Steffie I hope he will.
I have no idea where these chromium-ffmpeg packages go, I swear I've seen them before. Plus /usr/lib/chromium-browser directory where that libffmpeg.so file is supposed to be copied does not exist on my distro.
There are instructions on how to build libffmpeg.so manually but the last step - where to copy it and how to make Vivaldi to recognize it is not clear.
Btw, I have /opt/vivaldi/lib/libffmpeg.so already but it's probably old.
-
@StanG -- This [my] comment is totally off-topic, so i expect a bolt of lightning to strike me down, or else be turned into a pillar of salt soon.
I came to Linux from Windows only a few years ago [& will never go back], but most of my testing, experimentation & adoptions have been restricted to the Debian/Ubuntu derivatives flavour. I've grown comfortable with these environments. I have tinkered with "out-there" [for me] distros like Manjaro & currently KaOS, but they tend to freak me out due to my unfamiliarity with their eco-systems so that my ignorance stops me doing even basic things. Other distros [like your openSUSE] scare the bejeezes out of me merely from reading about them, so i expect it'll be a loooooong time before i'm brave enough to try.
I do hope that you find openSUSE sufficiently fulfilling in lots of other ways important to you, to kinda compensate for the unpleasant problems & apparent lack of distro-support for "basic" stuff like getting a browser of your choice to work in it.
Please note i am not being snide or mean, not taking shots at you or openSUSE, but am only enunciating my own inadequacies for taking on complex challenges like that. Good luck.
..............................................................................................................................................
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. -
@Gwen-Dragon said in Video playback problems, troubleshooting and solutions on Linux.:
@StanG said in Video playback problems, troubleshooting and solutions on Linux.:
https://gwendragon.de/repo/linux/vivaldi/vivaldi-libffmpeg-install.sh
but it's only for Ubuntu/Debian, not for openSUSE.I am sorry, but i am a Debian user, not a Linux multi-distribution packager and can not help others without knowledge.
Users who want to have my updater script for non-Debian are invited to add OpenSuSE code or tell me how to do it.
And OpenSuSE people can read https://gist.github.com/ruario/bec42d156d30affef655#file-h264-vivaldi-linux-md an check which package they should install.OpenSuSE has no package anymore. You need to compile chrome-ffmpeg yourself. OpenSuSE packages are rarely updated, strange.openSuSE Packman removed the package because it is not needed for chromium anymore.
@Gwen-Dragon i just manipulated your script and it seems to work fine for openSuSE. Even though /usr/lib/chromium-browser would actually be the wrong place but that does not really matter. It would be nice if you could add openSuSE maybe just with a little warning. Cheers -
@StanG said in Video playback problems, troubleshooting and solutions on Linux.:
@Steffie I hope he will.
I have no idea where these chromium-ffmpeg packages go, I swear I've seen them before. Plus /usr/lib/chromium-browser directory where that libffmpeg.so file is supposed to be copied does not exist on my distro.
There are instructions on how to build libffmpeg.so manually but the last step - where to copy it and how to make Vivaldi to recognize it is not clear.
Btw, I have /opt/vivaldi/lib/libffmpeg.so already but it's probably old.
Does not really matter if /usr/lib/chromium-browser does not exist. Just create it and it should work. Otherwise try /usr/lib64/chromium or overwrite the one from /opt/vivaldi/lib (not really recommended).
-
Thanks everybody, videos play now.
On openSUSE I used Vivaldi itself to download the latest file, which is "chromium-codecs-ffmpeg-extra_55.0.2883.87-0ubuntu2.1328_amd64.deb", from
http://security.ubuntu.com/ubuntu/pool/universe/c/chromium-browser/
Then extracted it in terminal, changed permissions, and copied two created directories to where they are expected by Vivaldi (that is to /usr/lib/chromium-browser for libffmpeg.so) - all this was done using @Gwen-Dragon's code at the end of her script with little tweaks in syntax, the last step required "su -" in openSUSE but sudo should have worked, too.
The script, referred in the first few posts in this thread, is here:
https://gwendragon.de/repo/linux/vivaldi/vivaldi-libffmpeg-install.sh
Commands I used in terminal (put the downloaded file to a new "tmp" directory and run from there if you want):
ar p chromium-codecs-ffmpeg-extra_55.0.2883.87-0ubuntu2.1328_amd64.deb data.tar.xz | tar xJf - ./usr/share/doc/chromium-codecs-ffmpeg-extra/changelog.Debian.gz ./usr/lib/chromium-browser/libffmpeg.so chmod -R u+w,go+r-w,a-s . su - find usr -type f | tar --owner=0 --group=0 -cf- -T- | tar -xf- -C /
Restart Vivaldi and it's all good. Both in stable and in snapshot.
@Steffie This libffmpeg.so file comes with Vivaldi install but somehow doesn't work. Now that Vivaldi has a repo for openSUSE it should be updated to a correct version with each Vivaldi update, I'm pretty sure Ruario will automate this process in the future. Or maybe it's the right version but it's not where Vivaldi looks for it and simply copying it to /usr/lib/chromium-browser would have done the trick, too. Fixing this would require tweaking Vivaldi itself, not just repackaging .deb like it was done in the beginning. This has nothing to do with my OS.
It's not distros job to support my favorite browsers, it's browser developers job, or rather service they provide, to compile packages for different distros. At first Ruario wrote a script to install Vivaldi from .deb, then he got a job at Vivaldi and created a repo for openSUSE, next step would be getting this up to scratch so that openSUSE adds Vivaldi to their own repos. It took them maybe a year to accept new Opera.
When this eventually happens then users will go to openSUSE forums and not here for support with system related things like codecs. If there are bugs openSUSE has a proper system in place to deal with them, too, and by then @Gwen-Dragon won't be offering fixes with "SCRIPT MAY MISBEHAVE AND EXPLODE YOUR LINUX INSTALLATION" disclaimers in them. openSUSE users are pretty well shielded from "exploding" stuff like this.
I don't mean this as criticism of Gwen, just a sign of teething problems.
Also this fix will work only until Vivaldi uses the same Chromium version, which is not the right way to fix things, but it will do for now.
-
@StanG -- Happy for you that it's now working, yay.
-
@Gwen-Dragon i actually just looked through your script and didn't find anything that would not work with openSUSE so i removed everything libffmpeg.so that i previously had and replaced "ubuntu" with "opensuse" in lines 118, 142 and 182 to make it run through and it works fine.
i actually think it should work for most distros. Maybe you can add a little disclaimer and ask if one wishes to continue anyway..
If there is an old libffmpeg in /usr/lib64/chromium (the place from the former chromium-ffmpeg package) then the new one in /usr/lib/chromium-browser seems to be preferred in a quick test. So no problem there either.
I didn't test the cronjob stuff but i don't see a reason why this shouldn't work. -
@StanG
I don't see "edit" button for my posted replies, but terminal commands I gave in the previous one can't be used "as is".The last line
find usr -type f | tar --owner=0 --group=0 -cf- -T- | tar -xf- -C /
could copy a lot of extra stuff from the current directory so it's better to extract downloaded file into a new one, which is what Gwen's script does, and after "su -" you should get bumped out to your home directory on openSUSE so you need to return to the directory where extracted files are, or don't use "su -" and preface that last command with "sudo" instead.
Maybe mods can add a warning to https://forum.vivaldi.net/post/85798