LinuxQuestions.org
Welcome to the most active Linux Forum on the web.
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-03-2023, 03:35 PM   #31
yvesjv
Member
 
Registered: Sep 2015
Location: Australia
Distribution: Slackware, Devuan, Freebsd
Posts: 566

Rep: Reputation: Disabled

Ended up removing epiphany, it just kept crashing.
Tried thorium and it plays the H265 files at https://test-videos.co.uk/

Being lazy this morning I installed deb2tgz from SBo and used that with the deb package found at https://github.com/Alex313031/thoriu....157_amd64.deb
 
1 members found this post helpful.
Old 11-03-2023, 07:23 PM   #32
lancsuk
Member
 
Registered: Jul 2019
Location: Burnley / UK
Distribution: Slackware current
Posts: 226

Rep: Reputation: 204Reputation: 204Reputation: 204
Quote:
Originally Posted by yvesjv View Post
Ended up removing epiphany, it just kept crashing.
Tried thorium and it plays the H265 files at https://test-videos.co.uk/

Being lazy this morning I installed deb2tgz from SBo and used that with the deb package found at https://github.com/Alex313031/thoriu....157_amd64.deb
Few days ago, I created a SlackBuild script to install thorium on Slackware.
 
2 members found this post helpful.
Old 11-03-2023, 10:52 PM   #33
yvesjv
Member
 
Registered: Sep 2015
Location: Australia
Distribution: Slackware, Devuan, Freebsd
Posts: 566

Rep: Reputation: Disabled
Thumbs up

Quote:
Originally Posted by lancsuk View Post
Few days ago, I created a SlackBuild script to install thorium on Slackware.
Just tried it... it works.
Tested the H265 links and no hurdles seen
 
1 members found this post helpful.
Old 11-05-2023, 01:06 PM   #34
Aeterna
Senior Member
 
Registered: Aug 2017
Location: Terra Mater
Distribution: VM Host: Slackware-current, VM Guests: Artix, Venom, antiX, Gentoo, FreeBSD, OpenBSD, OpenIndiana
Posts: 1,008

Rep: Reputation: Disabled
there is simple fix to your problem with firefox:
install Content Type Fixer:
https://addons.mozilla.org/en-US/fir...E2Ni4wLjAuMA..
Configure so it starts with firefox and select "force Downloading"

First time it will ask if you want to download file, select option always open with

That's all now you can open mp4 file in firefox. It will open mp4 with mpv

Last edited by Aeterna; 11-05-2023 at 01:08 PM.
 
Old 11-06-2023, 08:28 AM   #35
SlackCoder
Member
 
Registered: Nov 2020
Posts: 41

Rep: Reputation: Disabled
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.
It was a good try. Firefox uses an internal version of ffmpeg copied into their source code. Firefox can be compiled to use many system libraries using the '--with-system-*' flag, but ffmpeg is unfortunately not one of them. '--enable-ffmpeg' is the closest you will get, but not what we need.
 
Old 11-06-2023, 11:59 AM   #36
zdolar
Member
 
Registered: Jul 2009
Location: Slovenija
Distribution: Slackware
Posts: 177

Original Poster
Rep: Reputation: 38
Quote:
Originally Posted by yvesjv View Post
Just tried it... it works.
Tested the H265 links and no hurdles seen
As I stated in the first post, I'm using Slackware64-current, daily updated.
Recompiled gstreamer, ffmpeg, installed x265-3.5-x86_64-1alien, nVidia kernel & driver all support HW decoder/encoder.

On my machine Thorium refuse to play HEVC. Not working from Zoneminder and also when dropping mp4 file to it.
 
Old 11-06-2023, 12:06 PM   #37
zdolar
Member
 
Registered: Jul 2009
Location: Slovenija
Distribution: Slackware
Posts: 177

Original Poster
Rep: Reputation: 38
Quote:
Originally Posted by Aeterna View Post
there is simple fix to your problem with firefox:
install Content Type Fixer:
https://addons.mozilla.org/en-US/fir...E2Ni4wLjAuMA..
Configure so it starts with firefox and select "force Downloading"

First time it will ask if you want to download file, select option always open with

That's all now you can open mp4 file in firefox. It will open mp4 with mpv
All done as suggested above, but "the format is not supported" response when dropping HEVC file to it, or try to watch on Zoneminder page.
 
Old 11-06-2023, 12:11 PM   #38
SlackCoder
Member
 
Registered: Nov 2020
Posts: 41

Rep: Reputation: Disabled
Quote:
Originally Posted by zdolar View Post
As I stated in the first post, I'm using Slackware64-current, daily updated.
Recompiled gstreamer, ffmpeg, installed x265-3.5-x86_64-1alien, nVidia kernel & driver all support HW decoder/encoder.

On my machine Thorium refuse to play HEVC. Not working from Zoneminder and also when dropping mp4 file to it.
Just to confirm, when recompiling ffmpeg did you run it with `X265=yes`?

Code:
X265=yes sh *.SlackBuild
Checking the linked libraries from ffmpeg should show libx265
Code:
ldd `which ffmpeg` | grep x265
#        libx265.so.199 => /usr/lib64/libx265.so.199
 
Old 11-07-2023, 09:31 AM   #39
zdolar
Member
 
Registered: Jul 2009
Location: Slovenija
Distribution: Slackware
Posts: 177

Original Poster
Rep: Reputation: 38
Quote:
Originally Posted by SlackCoder View Post
Just to confirm, when recompiling ffmpeg did you run it with `X265=yes`?

Code:
X265=yes sh *.SlackBuild
Checking the linked libraries from ffmpeg should show libx265
Code:
ldd `which ffmpeg` | grep x265
#        libx265.so.199 => /usr/lib64/libx265.so.199
Thanks for the hint.
My results:

Quote:
ldd `which ffmpeg` |grep 265
libx265.so.199 => /usr/lib64/libx265.so.199 (0x00007f5f5fc00000)
Quote:
ffmpeg -codecs |grep hevc
DEV.L. hevc H.265 / HEVC (High Efficiency Video Coding) (decoders: hevc hevc_v4l2m2m hevc_cuvid ) (encoders: libx265 hevc_nvenc hevc_v4l2m2m hevc_vaapi )

Sum of all work done until now:

ffmpeg compiled with HEVC support (above)
gstreamer compiled & installed afterwards
firefox - installed Content-type fixer plugin

falkon, firefox and thorium failed to play HEVC dropped to it and also clip from zoneminder
thorium-shell response:
Quote:
thoriuthorium-shell /home/zd/Videos/203739-video.hevc.mp4

DevTools listening on ws://127.0.0.1:41697/devtools/browser/9e0b790f-fe0a-4f1b-ba8b-68cd9673eb29
[23657:23657:1107/161141.764316:WARNING:bluez_dbus_manager.cc(247)] Floss manager not present, cannot set Floss enable/disable.
[23700:23700:1107/161141.879479:WARNING:sandbox_linux.cc(393)] InitializeSandbox() called with multiple threads in process gpu-process.
[23700:23775:1107/161141.926586:ERROR:vaapi_video_decoder.cc(1245)] failed Initialize()ing the frame pool
Konqueror plays HEVC dropped in with internal player and all external players (VLC, xine, QtAV QML Player, QtAV Player,Dragon player, MPlayer)
Konqueror failed to play HEVC from within zoneminder.
 
Old 11-07-2023, 12:33 PM   #40
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
failed to play HEVC dropped to it and also clip from zoneminder

Konqueror failed to play HEVC from within zoneminder.
What does that even mean? Perhaps you need to quickly describe exactly how zoneminder works in regards to how things are accessed, stored etc.. Those things aren't abstract, but concrete. Video streams go from somewhere to somewhere, video files are stored somewhere, you access it somehow.

Anyways, if you do want to run a test, you could take one of those HECV files you fetched and self host it with apache, and try to view it with the different web browsers (locally). Perhaps it is a bit too much, but it should give you a solid indication if each browser is or isn't able to play the format, without any kind of abstract things added, or any unknown factors.
 
Old 11-07-2023, 12:48 PM   #41
zdolar
Member
 
Registered: Jul 2009
Location: Slovenija
Distribution: Slackware
Posts: 177

Original Poster
Rep: Reputation: 38
Finally found a partial solution.

Gnome WEB aka Epiphany flatpak package from https://flathub.org/apps/org.gnome.Epiphany
flatpak package is from Aliens repository.
Epiphany is stable and YES, HEVC video play is fully supported from zoneminder.

Real solution would be a native Slackware web browser supporting HEVC.

So still not marked as solved.
 
Old 11-07-2023, 01:36 PM   #42
yvesjv
Member
 
Registered: Sep 2015
Location: Australia
Distribution: Slackware, Devuan, Freebsd
Posts: 566

Rep: Reputation: Disabled
Just tried Thorium again and it doesn't crash with https://test-videos.co.uk/
Give Thorium a shot and see if that solves your quest.

Installed version 117.0.5938.157 stable
 
1 members found this post helpful.
Old 11-07-2023, 11:35 PM   #43
Aeterna
Senior Member
 
Registered: Aug 2017
Location: Terra Mater
Distribution: VM Host: Slackware-current, VM Guests: Artix, Venom, antiX, Gentoo, FreeBSD, OpenBSD, OpenIndiana
Posts: 1,008

Rep: Reputation: Disabled
empty

Last edited by Aeterna; 11-07-2023 at 11:51 PM.
 
Old 11-08-2023, 05:37 AM   #44
zdolar
Member
 
Registered: Jul 2009
Location: Slovenija
Distribution: Slackware
Posts: 177

Original Poster
Rep: Reputation: 38
Quote:
Originally Posted by yvesjv View Post
Just tried Thorium again and it doesn't crash with https://test-videos.co.uk/
Give Thorium a shot and see if that solves your quest.

Installed version 117.0.5938.157 stable
Three posts earlier - Thorium failed (same version as yours).
 
Old 11-09-2023, 02:43 PM   #45
0XBF
Member
 
Registered: Nov 2018
Distribution: Slackware
Posts: 769

Rep: Reputation: 867Reputation: 867Reputation: 867Reputation: 867Reputation: 867Reputation: 867Reputation: 867
Quote:
Originally Posted by zdolar View Post
Finally found a partial solution.

Gnome WEB aka Epiphany flatpak package from https://flathub.org/apps/org.gnome.Epiphany
flatpak package is from Aliens repository.
Epiphany is stable and YES, HEVC video play is fully supported from zoneminder.

Real solution would be a native Slackware web browser supporting HEVC.

So still not marked as solved.
Interesting. The latest epiphany versions are built against webkit2gtk6.0, while the older version on SBo is built against webkit2gtk4.1. I wonder if that makes the difference for your zoneminder videos. Notable differences are that webkit2gtk6.0 adds in libavif and libjxl as dependencies. I wonder if you're using any AV1 encoding?

FWIW I could play the sample HEVC clips in this thread with the older epiphany version using webkit2gtk4.1, but maybe there's something else with the newer version that you needed.


For the record: the epiphany version on SBo is version locked at 43.1 until next slackware release, due to the older versions of gtk4, gstreamer, and glib2 in slackware 15.0 (which are needed by epiphany, and/or its deps). Newer versions of epiphany like 45.1 can be built as a native package on slackware-current, but SBo targets 15.0 only. Once the next release comes around I'll be looking at updating it (and after webkit2gtk6.0 can be added).

For now it seems the flatpak is the best option.

Last edited by 0XBF; 11-09-2023 at 02:58 PM.
 
  


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 10:07 AM.

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