LinuxQuestions.org
Help answer threads with 0 replies.
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 10-29-2023, 01:32 PM   #1
zdolar
Member
 
Registered: Jul 2009
Location: Slovenija
Distribution: Slackware
Posts: 177

Rep: Reputation: 38
web browser with HEVC/H.265 support


I have a surveillance cameras system (Zoneminder).
It saves Events in HEVC/H.265 format.
This format is not supported in any web browsers on Slackware.

On Windows Chromium can play HEVC, on Linux not.
Tried to run Windows Chromium on Wine, but failed.

Anybody know one that can be installed on Slackware?

Do not suggest swich back to AVC/H.264 video, as this is not I want.
 
Old 10-29-2023, 02:55 PM   #2
yvesjv
Member
 
Registered: Sep 2015
Location: Australia
Distribution: Slackware, Devuan, Freebsd
Posts: 567

Rep: Reputation: Disabled
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.

Last edited by yvesjv; 10-29-2023 at 03:22 PM.
 
Old 10-29-2023, 03:54 PM   #3
teckk
LQ Guru
 
Registered: Oct 2004
Distribution: Arch
Posts: 5,138
Blog Entries: 6

Rep: Reputation: 1827Reputation: 1827Reputation: 1827Reputation: 1827Reputation: 1827Reputation: 1827Reputation: 1827Reputation: 1827Reputation: 1827Reputation: 1827Reputation: 1827
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
...
 
1 members found this post helpful.
Old 10-30-2023, 10:08 AM   #4
BrunoLafleur
Member
 
Registered: Apr 2020
Location: France
Distribution: Slackware
Posts: 401

Rep: Reputation: 367Reputation: 367Reputation: 367Reputation: 367
Gnome Web Browser which is Epiphany which is on Sbo seems to have the h265 support. It is based on Webkit which is the Safari engine.

I have compiled it on Slackware 15. I didn't test the h265 support. It uses gstreamer.

Firefox and Chrome don't seem to plan to support it because of patents issues.
 
3 members found this post helpful.
Old 10-30-2023, 04:20 PM   #5
yvesjv
Member
 
Registered: Sep 2015
Location: Australia
Distribution: Slackware, Devuan, Freebsd
Posts: 567

Rep: Reputation: Disabled
Thumbs up

Quote:
Originally Posted by BrunoLafleur View Post
Gnome Web Browser which is Epiphany which is on Sbo seems to have the h265 support. It is based on Webkit which is the Safari engine.
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
 
1 members found this post helpful.
Old 10-30-2023, 05:24 PM   #6
cwizardone
LQ Veteran
 
Registered: Feb 2007
Distribution: Slackware64-current with "True Multilib" and KDE4Town.
Posts: 9,107

Rep: Reputation: 7282Reputation: 7282Reputation: 7282Reputation: 7282Reputation: 7282Reputation: 7282Reputation: 7282Reputation: 7282Reputation: 7282Reputation: 7282Reputation: 7282
Quote:
Originally Posted by BrunoLafleur View Post
Gnome Web Browser which is Epiphany which is on Sbo seems to have the h265 support. It is based on Webkit which is the Safari engine.............
Isn't KDE's Konqueror also based on Webkit?
 
Old 10-30-2023, 05:31 PM   #7
yvesjv
Member
 
Registered: Sep 2015
Location: Australia
Distribution: Slackware, Devuan, Freebsd
Posts: 567

Rep: Reputation: Disabled
Yes, also tried Konqueror but no dice.
 
Old 10-30-2023, 05:50 PM   #8
cwizardone
LQ Veteran
 
Registered: Feb 2007
Distribution: Slackware64-current with "True Multilib" and KDE4Town.
Posts: 9,107

Rep: Reputation: 7282Reputation: 7282Reputation: 7282Reputation: 7282Reputation: 7282Reputation: 7282Reputation: 7282Reputation: 7282Reputation: 7282Reputation: 7282Reputation: 7282
just throwing out a thought..... would installing x265 from SBo help?
https://www.slackbuilds.org/reposito...ltimedia/x265/

Last edited by cwizardone; 10-30-2023 at 06:02 PM.
 
Old 10-31-2023, 02:22 AM   #9
zeebra
Senior Member
 
Registered: Dec 2011
Distribution: Slackware
Posts: 1,832
Blog Entries: 17

Rep: Reputation: 638Reputation: 638Reputation: 638Reputation: 638Reputation: 638Reputation: 638
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.
 
Old 10-31-2023, 08:05 AM   #10
0XBF
Member
 
Registered: Nov 2018
Distribution: Slackware
Posts: 769

Rep: Reputation: 870Reputation: 870Reputation: 870Reputation: 870Reputation: 870Reputation: 870Reputation: 870
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
Do the video clips linked in that post actually have sound?

I tried a couple test clips from here: https://www.libde265.org/downloads-videos/

These are mkv containers with HEVC encoded video and AAC audio tracks. They played in epiphany (and mplayer), but only after I "upgraded" the stock ffmpeg package with the restricted one from Alien Bob.

BTW, the SBo webkit2gtk4.1 build is capped at nproc/2 in its SlackBuild. You can speed that build up by uncapping it and letting it run at full nproc. There is a warning about "crashing high specs machines" in the script. My machine is 8core/16thread with 16GB and uncapping it doesn't crash and brings the build time from around 40 minutes down to 10 minutes or so.
 
Old 10-31-2023, 03:03 PM   #11
yvesjv
Member
 
Registered: Sep 2015
Location: Australia
Distribution: Slackware, Devuan, Freebsd
Posts: 567

Rep: Reputation: Disabled
Thumbs up

Quote:
Originally Posted by 0XBF View Post
Do the video clips linked in that post actually have sound?

I tried a couple test clips from here: https://www.libde265.org/downloads-videos/
The ones posted by teckk do not appear to have sound.
Downloaded one of the files from the link you posted and they play with sound
 
Old 10-31-2023, 03:05 PM   #12
BrunoLafleur
Member
 
Registered: Apr 2020
Location: France
Distribution: Slackware
Posts: 401

Rep: Reputation: 367Reputation: 367Reputation: 367Reputation: 367
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
Maybe the sound is not supported in the default compile settings of gstreamer ? What is the audio format of the video files (maybe it is in the thread above, I didn't reread it) ?

Edit : I didn't see all the previous answers. The last one appear just now.

Last edited by BrunoLafleur; 10-31-2023 at 03:07 PM.
 
Old 10-31-2023, 04:28 PM   #13
yvesjv
Member
 
Registered: Sep 2015
Location: Australia
Distribution: Slackware, Devuan, Freebsd
Posts: 567

Rep: Reputation: Disabled
Unhappy

Yeah but not sure how good epiphany will be with cameras either.
I've put a Google Nest Cam to monitor the front driveway.
Cannot load the live feed and it crashes...

(epiphany:6000): epiphany-WARNING **: 06:49:29.535: Web process crashed

(epiphany:6000): epiphany-WARNING **: 06:49:54.985: Web process crashed

(epiphany:6000): epiphany-WARNING **: 06:53:31.535: Web process terminated by API request



Meanwhile the Firefox 115.4.0esr (64-bit) installation works flawlessly and the feed is very clear.

@zdollar will have to test with zoneminder and provide feedback.
 
Old 10-31-2023, 04:38 PM   #14
lancsuk
Member
 
Registered: Jul 2019
Location: Burnley / UK
Distribution: Slackware current
Posts: 226

Rep: Reputation: 204Reputation: 204Reputation: 204
Quote:
Originally Posted by zdolar View Post
I have a surveillance cameras system (Zoneminder).
It saves Events in HEVC/H.265 format.
This format is not supported in any web browsers on Slackware.

On Windows Chromium can play HEVC, on Linux not.
Tried to run Windows Chromium on Wine, but failed.

Anybody know one that can be installed on Slackware?

Do not suggest swich back to AVC/H.264 video, as this is not I want.
Have you ever tried the Thorium browser?
 
Old 10-31-2023, 10:49 PM   #15
zeebra
Senior Member
 
Registered: Dec 2011
Distribution: Slackware
Posts: 1,832
Blog Entries: 17

Rep: Reputation: 638Reputation: 638Reputation: 638Reputation: 638Reputation: 638Reputation: 638
Sound and video are two separate things actually, so you need to install the correct codecs for audio as well in ffmpeg for Firefox. It's probably one of those proprietary audio codecs which are not installed on Slackware by default, like ac3 or aac.

Last edited by zeebra; 10-31-2023 at 10:53 PM.
 
1 members found this post helpful.
  


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 06:07 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