SlackwareThis Forum is for the discussion of Slackware Linux.
Notices
Welcome to LinuxQuestions.org, a friendly and active Linux Community.
You are currently viewing LQ as a guest. By joining our community you will have the ability to post topics, receive our newsletter, use the advanced search, subscribe to threads and access many other special features. Registration is quick, simple and absolutely free. Join our community today!
Note that registered members see fewer ads, and ContentLink is completely disabled once you log in.
If you have any problems with the registration process or your account login, please contact us. If you need to reset your password, click here.
Having a problem logging in? Please visit this page to clear all LQ-related cookies.
Get a virtual cloud desktop with the Linux distro that you want in less than five minutes with Shells! With over 10 pre-installed distros to choose from, the worry-free installation life is here! Whether you are a digital nomad or just looking for flexibility, Shells can put your Linux machine on the device that you want to use.
Exclusive for LQ members, get up to 45% off per month. Click here for more info.
Last time when I was looking for information how my browser Firefox to support mp4/h265 codecs I found a information on somewhere. This is due to licensing issues. The Mozilla documentation is a little confusing (IMHO) so the table at the bottom is probably the best place to look. Mozilla video codecs
Quote:
Chrome support HEVC for devices with hardware support on Windows 8+, Linux and ChromeOS, for all devices on macOS Big Sur 11+ and Android 5.0+.
Edge (Chromium) supports HEVC for devices with hardware support on Windows 10 1709+ when HEVC video extensions from the Microsoft Store is installed, and has the same support status as Chrome on other platforms. Edge (Legacy) only supports HEVC for devices with a hardware decoder.
Mozilla will not support HEVC while it is encumbered by patents.
Internet Explorer only supports HEVC for devices with a hardware decoder.
Opera and other Chromium based browsers have the same support status as Chrome.
Safari supports HEVC for all devices on macOS High Sierra or later.
Last edited by gildbg; 11-02-2023 at 02:42 AM.
Reason: added Mozzila support note
It's a confirm, merci Monsieur :-)
Just installed it via sbopkg and can play the links supplied by teckk, but no sound??
Had to install the required packages first and saw no hurdles when finally installing epiphany.
In sequence:
gcab
libwpe
bubblewrap
xdg-dbus-proxy
unifdef
geoclue2
libdazzle
appstream-glib
libportal
## libhandy (1.8.2 make sure you have this one already installed, if not it will downgrade to 1.5.0)
## libsoup3 (3-3.4.3 if already installed, but it will try to upgrade to libsoup3-3.4.3-x86_64-1_SBo anyway)
webkit2gtk4.1 (go shopping, it's a bit long to install)
epiphany
Thanks for the above, but compiling appstream-glib on Slackware64-current failed (without descriptive error).
So I can not compile epiphany.
Quote:
/usr/bin/ld: /usr/lib64/librpmio.so: undefined reference to `luaL_tolstring'
/usr/bin/ld: /usr/lib64/librpmio.so: undefined reference to `lua_rawlen'
/usr/bin/ld: /usr/lib64/librpmio.so: undefined reference to `lua_newuserdatauv'
/usr/bin/ld: /usr/lib64/librpmio.so: undefined reference to `luaL_setfuncs'
collect2: error: ld returned 1 exit status
[112/114] Linking target client/appstream-builder
FAILED: client/appstream-builder
Last time when I was looking for information how my browser Firefox to support mp4/h265 codecs I found a information on somewhere. This is due to licensing issues. The Mozilla documentation is a little confusing (IMHO) so the table at the bottom is probably the best place to look. Mozilla video codecs
Yes, link in a second post in this thread describes that.
You could always playback the video with a media player like mplayer, mpv, ffplay
Code:
mplayer https://test-videos.co.uk/vids/bigbuckbunny/mp4/h265/1080/Big_Buck_Bunny_1080_10s_1MB.mp4
MPlayer SVN-r38412 (C) 2000-2023 MPlayer Team
...
Opening video decoder: [ffmpeg] FFmpeg's libavcodec codec family
libavcodec version 60.3.100 (external)
Selected video codec: [ffhevc] vfm: ffmpeg (FFmpeg HEVC / H.265)
...
Clip info:
major_brand: isom
minor_version: 512
compatible_brands: isomiso2mp41
title: Big Buck Bunny, Sunflower version
artist: Blender Foundation 2008, Janus Bager Kristensen 2013
...
Playing any video was never a problem on my machine. All I can play with VLC restricted (Aliens repository) compiled with nVidia support.
My questiion was to use a web browser accessing Zoneminder and play video DIRECTLY into browser. There is a huge amount of short videos recorded with security cameras nicely organized - see attached picture.
As you can see, the amount of clips is big and on another computer, accessible only through web browser.
ffmpeg and gstreamer on Slackware is compiled without support for any controversial codecs. That's where I would start. Alot of program use gstreamer as a backend for various audio and video functions, while Firefox (I think) use ffmpeg. So, add the necessary codecs first, then you probably need to recompile gstreamer and ffmpeg.
Yes I am aware of the above.
I live out of US, installed all codec packages, compiled all mentioned players with all supported codecs and also nVidia support.
No luck with any web browser to play HEVC.
Yes I am aware of the above.
I live out of US, installed all codec packages, compiled all mentioned players with all supported codecs and also nVidia support.
No luck with any web browser to play HEVC.
Also ac4? I read somewhere that HECV in some cases might use it. And, Mozilla uses ffmpeg as backend as far as I know, while some other browsers might use gstreamer. This means for Firefox, which is what you want to use, you need all the right codecs, including audio, then compile ffmpeg with the support for those codecs.. At least that is how I understand that it has to be done.
Besides, I think the 1st order on the list is to figure out exactly what kind of audio codec that video uses, if possible. Which if you can only play/stream through a browser, is somewhat difficult. The 2nd order on the list in that case is to see if it is possible to play or stream the video in some other way than in the browser, also for the purpose of the 1st order on the list.
Other than that, it should say in the specifications of or manual of the system in question (cameras/zoneminder) what kind of codecs is used, and or how the media is stored and streamed exactly. These things shouldn't be an abstract concept, but rather concrete and specific.
Last time when I was looking for information how my browser Firefox to support mp4/h265 codecs I found a information on somewhere. This is due to licensing issues. The Mozilla documentation is a little confusing (IMHO) so the table at the bottom is probably the best place to look. Mozilla video codecs
If that is true, he can't use Mozilla for the purpose. However, as I understand it, Mozilla will use ffmpeg for various media purposes, without limiting it, allowing you to play back whatever media your ffmpeg supports. Seemingly if he at least got the HEVC video working on Firefox, it implies that it works on such a principle, and that Firefox is simply an intermediary who disregard what format it is, or codecs is used, which means it supports whatever ffmpeg supports.
If that's not the case, probably the best option would be to use Falkon web browser which is included in Slackware and based on qtwebengine (chromium/blink), and most likely using gstreamer as a media backend, with absolutely no interference, guaranteed. Same is the case if it uses ffmpeg instead.
If that is true, he can't use Mozilla for the purpose. However, as I understand it, Mozilla will use ffmpeg for various media purposes, without limiting it, allowing you to play back whatever media your ffmpeg supports. Seemingly if he at least got the HEVC video working on Firefox, it implies that it works on such a principle, and that Firefox is simply an intermediary who disregard what format it is, or codecs is used, which means it supports whatever ffmpeg supports.
If that's not the case, probably the best option would be to use Falkon web browser which is included in Slackware and based on qtwebengine (chromium/blink), and most likely using gstreamer as a media backend, with absolutely no interference, guaranteed. Same is the case if it uses ffmpeg instead.
Hi.
ffmpeg plays HEVC - from within zoneminder is an option to download recorded video clip.
Downloaded clip ffmpeg plays that clip.
When I pull and drop that file to Konqueror, it opens mplayer and it plays that clip. But Konqueror do not play that clip if clicked on a link within zoneminder web page.
Other web browsers in Slackware do not play that clip by droping it in or from zoneminder.
According to this Wikipedia page, only the WebKit and Blink engines support HEVC.
When it comes to Chromium based browsers, there is this from here
Quote:
Note one major caveat, however: HEVC is enabled in Chrome only when playback support is already available on the underlying platform, whether Windows, Linux, Mac, iOS, or Android.
The way I interpret that article, if you have hardware support, then a licensing fee is likely to have been paid, so no problem. But when it comes to software decoding, it will not happen unless a licensing fee can be collected.
ffmpeg plays HEVC - from within zoneminder is an option to download recorded video clip.
Downloaded clip ffmpeg plays that clip.
When I pull and drop that file to Konqueror, it opens mplayer and it plays that clip. But Konqueror do not play that clip if clicked on a link within zoneminder web page.
Other web browsers in Slackware do not play that clip by droping it in or from zoneminder.
So. If I understand it correctly..
1. You can view the externally stored videos (with a file browser and/or ffmpeg)
2. You can download the videoes
3. ffmpeg plays those videoes with sound (everything works)
4. You want to play the externally stored videoes in Firefox and not download them or stream then in another way
If all of the above are true and what the guy said about browser, if I was you, I would start using Falkon (qtwebengine/blink) browser, and get whatever backend it is using (gstreamer??) working with the codecs. One advantage is that it's already installed on Slackware by default, so you just need to get the backend support working.
Mplayer, yes, yet another backend. It doesn't use ffmpeg or gstreamer, it used the mencoder backend.
Quote:
Firefox uses FFmpeg for playing multimedia inside HTML5 <audio> and <video>
LinuxQuestions.org is looking for people interested in writing
Editorials, Articles, Reviews, and more. If you'd like to contribute
content, let us know.