LinuxQuestions.org
Review your favorite Linux distribution.
Home Forums Tutorials Articles Register
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Distributions > Slackware
User Name
Password
Slackware This Forum is for the discussion of Slackware Linux.

Notices


Reply
  Search this Thread
Old 11-02-2023, 02:29 AM   #16
gildbg
Member
 
Registered: Aug 2017
Distribution: Slackware, OpenBSD
Posts: 157

Rep: Reputation: Disabled

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
 
2 members found this post helpful.
Old 11-02-2023, 02:52 PM   #17
Regnad Kcin
Member
 
Registered: Jan 2014
Location: Beijing
Distribution: Slackware 64 -current .
Posts: 663

Rep: Reputation: 460Reputation: 460Reputation: 460Reputation: 460Reputation: 460
regarding ffmpeg, you can try AlienBob's restricted versions of such things (if you dont live in the USA)

http://slackware.nl/people/alien/
 
Old 11-03-2023, 06:41 AM   #18
zdolar
Member
 
Registered: Jul 2009
Location: Slovenija
Distribution: Slackware
Posts: 177

Original Poster
Rep: Reputation: 38
appstream-glib compile error

Quote:
Originally Posted by yvesjv View Post
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
 
Old 11-03-2023, 06:43 AM   #19
zdolar
Member
 
Registered: Jul 2009
Location: Slovenija
Distribution: Slackware
Posts: 177

Original Poster
Rep: Reputation: 38
Quote:
Originally Posted by gildbg View Post
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.
 
Old 11-03-2023, 06:44 AM   #20
zdolar
Member
 
Registered: Jul 2009
Location: Slovenija
Distribution: Slackware
Posts: 177

Original Poster
Rep: Reputation: 38
Quote:
Originally Posted by yvesjv View Post
https://caniuse.com/hevc

But not good enough I think...
I'm considering some IP cameras and H265 would be nice to have in any browser.
Thanks, excellent link.
Still no success for me.
 
Old 11-03-2023, 06:58 AM   #21
zdolar
Member
 
Registered: Jul 2009
Location: Slovenija
Distribution: Slackware
Posts: 177

Original Poster
Rep: Reputation: 38
Quote:
Originally Posted by teckk View Post
https://test-videos.co.uk/bigbuckbunny/mp4-h265

h265 video sample
https://test-videos.co.uk/vids/bigbu...80_10s_1MB.mp4

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.
Attached Thumbnails
Click image for larger version

Name:	ZM_events.png
Views:	38
Size:	89.0 KB
ID:	41975  
 
Old 11-03-2023, 07:01 AM   #22
zdolar
Member
 
Registered: Jul 2009
Location: Slovenija
Distribution: Slackware
Posts: 177

Original Poster
Rep: Reputation: 38
Quote:
Originally Posted by cwizardone View Post
Isn't KDE's Konqueror also based on Webkit?
Recompiled gstreamer, no luck with Konqueror and HEVC play.
 
1 members found this post helpful.
Old 11-03-2023, 07:06 AM   #23
zdolar
Member
 
Registered: Jul 2009
Location: Slovenija
Distribution: Slackware
Posts: 177

Original Poster
Rep: Reputation: 38
Quote:
Originally Posted by zeebra View Post
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.
 
Old 11-03-2023, 07:16 AM   #24
zdolar
Member
 
Registered: Jul 2009
Location: Slovenija
Distribution: Slackware
Posts: 177

Original Poster
Rep: Reputation: 38
Quote:
Originally Posted by lancsuk View Post
Have you ever tried the Thorium browser?
Thanks, no luck.
Grabbed appimage with all codecs compiled, still can't play HEVC.
Must point out, that web browsers in Windows play same HEVC clips.
 
Old 11-03-2023, 07:17 AM   #25
zeebra
Senior Member
 
Registered: Dec 2011
Distribution: Slackware
Posts: 1,832
Blog Entries: 17

Rep: Reputation: 638Reputation: 638Reputation: 638Reputation: 638Reputation: 638Reputation: 638
Quote:
Originally Posted by zdolar View Post
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 edited by zeebra; 11-03-2023 at 07:38 AM.
 
Old 11-03-2023, 07:34 AM   #26
zeebra
Senior Member
 
Registered: Dec 2011
Distribution: Slackware
Posts: 1,832
Blog Entries: 17

Rep: Reputation: 638Reputation: 638Reputation: 638Reputation: 638Reputation: 638Reputation: 638
Quote:
Originally Posted by gildbg View Post
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.
 
Old 11-03-2023, 08:24 AM   #27
zdolar
Member
 
Registered: Jul 2009
Location: Slovenija
Distribution: Slackware
Posts: 177

Original Poster
Rep: Reputation: 38
Quote:
Originally Posted by zeebra View Post
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.
 
Old 11-03-2023, 09:31 AM   #28
allend
LQ 5k Club
 
Registered: Oct 2003
Location: Melbourne
Distribution: Slackware64-15.0
Posts: 6,374

Rep: Reputation: 2753Reputation: 2753Reputation: 2753Reputation: 2753Reputation: 2753Reputation: 2753Reputation: 2753Reputation: 2753Reputation: 2753Reputation: 2753Reputation: 2753
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.
 
Old 11-03-2023, 11:00 AM   #30
zeebra
Senior Member
 
Registered: Dec 2011
Distribution: Slackware
Posts: 1,832
Blog Entries: 17

Rep: Reputation: 638Reputation: 638Reputation: 638Reputation: 638Reputation: 638Reputation: 638
Quote:
Originally Posted by zdolar View Post
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.
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>
https://wiki.archlinux.org/title/Firefox <-- section 4.2
That media testing link seems interesting also..
https://cconcolato.github.io/media-mime-support/

Last edited by zeebra; 11-03-2023 at 11:17 AM.
 
  


Reply



Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is Off
HTML code is Off



Similar Threads
Thread Thread Starter Forum Replies Last Post
LXer: OBS Studio 29.1 Released with Support for Streaming AV1/HEVC over Enhanced RTMP LXer Syndicated Linux News 0 05-02-2023 11:18 PM
LXer: Linux-driven encoder board supports 4K H.265/HEVC LXer Syndicated Linux News 0 08-05-2021 09:35 PM
LXer: MythTV 0.28 Media Center Arrives with FFmpeg 3.0, H.265 and VP9 Support LXer Syndicated Linux News 0 04-11-2016 10:27 PM
LXer: Web giants gang up to take on MPEG LA, HEVC Advance with royalty-free streaming codec LXer Syndicated Linux News 0 09-01-2015 08:42 PM

LinuxQuestions.org > Forums > Linux Forums > Linux - Distributions > Slackware

All times are GMT -5. The time now is 05:41 PM.

Main Menu
Advertisement
My LQ
Write for LQ
LinuxQuestions.org is looking for people interested in writing Editorials, Articles, Reviews, and more. If you'd like to contribute content, let us know.
Main Menu
Syndicate
RSS1  Latest Threads
RSS1  LQ News
Twitter: @linuxquestions
Open Source Consulting | Domain Registration