@niccolove @niccolo_ve

Comment on this video (which us not shown on my Fedi instance, yay federation!)

https://tube.kockatoo.org/w/63cGWTvhzqu2bwMGsh3QcF

I cannot believe that that GPU is not usable for video work. That is what GPUs are made for!

Poorly, there are a few caveats:
- there are always more DEcoders supported than ENcoders. I guess not being able to play a video (it would play but be less efficiently decoded on the CPU) is worse than being bound to #h265 instead of #av1 for recording.
- thus it makes sense that GPUs generally work flawlessly for gaming, as that is just displaying videos (or rendering content, which is kinda different, no idea why video codecs are more difficult than rendering methods)
- for every video format out there exists an encoder. If you use software rendering (on the CPU), you can use ANYTHING. Like encode to modern (and free!) AV1 using #svtav1 on any old CPU.
- if you want to encode videos on a GPU, you need drivers, but also a different encoder. On #NVIDIA you use #NVENC (NVidia ENCoder), for example nvenc_x265 for h265/HEVC videos. On #IntelArc (and afaik AMD GPUs), you use the #QSV (quick sync video) library which builds on top of #VAAPI, which is open source. So you can encode to AV1 using qsv_av1 for example.

What encoders are supported depends on the GPU a lot. Intel Arc seems to have supported the free, efficient and future-proof AV1 codec the earliest, but also the older free codecs VP9 and VP8 (also used in webm), like in a GPU I recently bought used. My older NVIDIA GPU only supports H265, which is proprietary and often less efficient than AV1 (not always, video codecs are black magic).

As OBS can use your GPU for video capture (encoding), the issue is purely in software support.

I only have experience with #ffmpeg for re-encoding videos, but that is also in many video editing tools. Try if you can get them somehow.

For NVIDIA I needed the latest proprietary drivers (#NixOS makes this extremely easy, can recommend) and ffmpeg, nvenc worked out of the box.

For intel Arc I used the regular drivers included in the kernel, but after adding the QSV runtime to my "hardware.graphics.extraPackages" I needed to recompile the entire kernel. Using a #longterm kernel (currently 6.18) makes this more viable... longterm XD.

#MicrosoftSurface #KDENlive #Shotcut #VideoEditing

My Childhood Dream Laptop

PeerTube
Ah, finally got #NVENC working in #Jellyfin! Turns out because the container uses Nvidia's Container Toolkit, it depends on libraries from the host, and I was missing `libnvidia-encode1`. Installing that library and restarting the container solved it.

can someone please help me with #jellyfin and #freebsd and #nvenc ? I managed to finally get ffmpeg working but i can't seem to find a way to get jellyfin for freebsd to call nv-sglrun in order to run ffmpeg. i have tried all types of ways to do it but it's almost as though it's hard coded into jellyfin to use the ffmpeg bin and only the ffmpeg bin.

https://crazy.macer.life/moving-to-freebsd-jails-bhyve-part-7-jellyfin-in-a-jail-with-hw-transcoding/

moving to freebsd / jails / bhyve (part 7): jellyfin in a jail with hw transcoding – Crazy Macer Life

Compiling OBS For Debian 12

In this guide we’re building OBS from source on Debian 12.

https://interfacinglinux.com/2024/01/10/compiling-obs-for-debian-12/ #DEBIAN #nvenc #NVIDIA #OBS
TIL #AMD has #GPU (s) that have no hardware encoding capabilities whatsoever, i.e. their #RX6400. Yikes? Be careful when buying GPUs from AMD, I suppose.

It's one thing when people compare AMD GPUs with
#NVIDIA's saying AMD's encoding prowess is inferior vs something like #NVENC, but to literally be unable to hardware transcode H264, HEVC, etc. as a modern GPU is insanely hilarious seeing that it's something even ancient GPUs and even iGPUs are capable of.

AMD CPUs? Solid, my last
#Intel CPU was literally 7th gen - have gone through at least ~5 CPU upgrades since then. AMD GPUs? Stayed away from them and will continue to do so, even as a #Linux user. NVIDIA GPUs have been perfectly fine for me on #X11 before, and is perfectly usable (+ continually improving) on #Wayland now - Intel Arc GPUs are also affordable and perfect for my #homelab/servers.

🔗 https://github.com/GPUOpen-LibrariesAndSDKs/AMF/wiki/GPU-and-APU-HW-Features-and-Support#amd-gpu-multimedia-hardware-features
GPU and APU HW Features and Support

The Advanced Media Framework (AMF) SDK provides developers with optimal access to AMD devices for multimedia processing - GPUOpen-LibrariesAndSDKs/AMF

GitHub

Как улучшить качество аниме до 4K без ИИ: руководство по использованию HVENC и Anime4K

Любимые аниме из детства выглядят размыто на современных 4K-экранах? Есть решение! Узнайте, как апскейлить видео до 4K с помощью FFmpeg , шейдера Anime4K и аппаратного ускорения NVIDIA . Без сложных ИИ — только простые шаги и доступные инструменты. Читайте статью и вдохните новую жизнь в свои сериалы!

https://habr.com/ru/articles/895076/

#апскейл #4k #аниме #ffmpeg #libplacebo #Anime4K #nvidia #CUVID #nvenc

Как улучшить качество аниме до 4K без ИИ: руководство по использованию HVENC и Anime4K

До апскейла После апскейла Апскейл — это процесс, который превращает видео низкого разрешения в настоящее удовольствие для глаз на современных 4K-экранах. Особенно это актуально для аниме: старые...

Хабр

[EposVox] AMD finally has good stream quality

[EposVox] AMD finally has good stream quality #amd #nvenc #obs #vce #nvidia #intel #qsv

https://youtu.be/kkf7q4L5xl8

AMD finally has good stream quality

YouTube

Bah. Looks like have hit the limits of the P400’s NVENC transcoder; hit rates below 1.00x for first time... it's put in a few years.

The P400 RAM usage is about 1 gb with 4 streams, but 100% on encode/decode. The P400 has 1 Pascal (6th gen) nvenc block and 2gb RAM.

Have an Arc A380 coming in now.

A380 should be able to handle quite a bit more, has two MFX engines (quicksync) & 6gb RAM.

Time will tell.

[ #P400 #A380 #nvenc #qsv #IntelArc #transcoding ]

TIL about #Nvidia #NVENC and its support in Handbrake: https://handbrake.fr/docs/en/latest/technical/video-nvenc.html . Possibly the first time I'm actually happy about having an Nvidia graphics card on my Linux laptop.
HandBrake Documentation — NVIDIA NVENC

Nvidia killed NVENC for GTX 700 series GPUs. This is concerning as this means if you update Steam or FFMPEG to stay current, your GPU could all of a sudden no longer hardware encode with the wrong set of driver and software updates. Stay cautious of updates and for mission critical systems, always stick to a set date for software and drivers to avoid this problem. #NVENC