@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
When I try to use hardware video encoding on my Intel ARC 380 with ffmpeg and VAAPI, it keeps hard locking the whole system. It seems like it might be related to the mouse cursor, but maybe that's a spurious association. I'm running Debian trixie with the backport kernel (6.18.12+deb13) and 20250410 Intel firmware. If anyone has ideas for making it stable, I'm listening. (I've also had occasional hangs with firefox and hardware media decode, so I disabled that!) #askfedi #vaapi #ffmpeg
I tried Qwen2.5-Coder-7B-Instruct.Q6_K locally with Ollama as the loader, asking it to create a simple Snake game in Python with Pygame and as an extra challenge, the instructions were given in German.

The game works well: the snake grows correctly, the grid and colors are fine. I just had to give the model a little nudge in two places:

- Don’t change the food color every frame
- Avoid recursive gameLoop() for "Play Again"

Qwen2.5 is a great co-pilot that handles most of the work, leaving only minor bugs to correct. German works surprisingly well ("Schlankkörpers" instead of "Schlangenkörper" does not matter, such errors can also occur in large models from time to time...) even though the main language is English. The model supports many programming languages such as: Python, C, C++, Java, JavaScript, HTML/CSS, Bash, SQL… and more.

Conclusion: It still doesn't work completely without programming knowledge, but as a local assistant Qwen2.5-Coder is excellent.

btw my prompt was: "write the game again."

Video workflow:

- Recorded with OBS
- Edited in Kdenlive
- Transcoded with VAAPI (H.264)

No cloud, real hardware.
Everything runs on Linux + Text Generation Web UI (FOSS), so anyone can set this up.
No GPU? No problem, you can also run it using PyTorch’s CPU backend, just much slower.

Background music: ALICE - CROSS THE BORDER (https://www.youtube.com/watch?v=dcqbWgxW4oU)

#Qwen2 #LLM #LocalAI #Ai #vibecoding #Python #Pygame #CodingAI #FOSS #Linux #SnakeGame #Ollama #AIcoPilot #MultilingualAI #TextGenerationWebUI #OBS #Kdenlive #VAAPI #NoCloud #LocalAIWorkflow
Small making-of of my “True Beauty Is So Painful” piece (listening to “True Beauty Is So Painful” by Oomph! in the background), because “AI art = just pressing a button” is still a thing.

Here I’m showing briefly (15 MB max file upload) my SDXL workflow in ComfyUI, from node structure to model choice to parameters.

LoRAs in this setup are only linked to the positive prompt, because I wanted to fine-tune their weights there specifically, without affecting the negative prompt.

During rendering, I ran in parallel:
- GPU load with radeontop, you can clearly see how on RDNA2 everything (matrix multiplications, convs, etc.) runs over the shaders
- Temperatures & power states briefly shown with corectrl

Peak at 187 W, hotspot briefly at 97 °C
RDNA2 doing RDNA2 things…

Video workflow:
- recorded with OBS
- edited in Kdenlive
- transcoded with VAAPI (H.264)

No cloud, just decisions, iteration and real hardware.
Everything runs on Linux + ComfyUI (FOSS), so anyone can set this up.
No GPU? No problem, you can also run it using PyTorch’s CPU backend, just much slower.

#AIArt #ComfyUI #SDXL #stablediffusion #LoRA #FOSS #Linux #AMD #RDNA2 #GPUComputing #OpenSource #AIWorkflow #OBS #Kdenlive #VAAPI #DigitalArt #MakingOf #AIProcess #NoCloud
I just spent like 5 hours trying to force #FFMPEG #VAAPI #OBS encoder to output something that isn't a hot blurry mess. It turns out there is a nice ffmpeg webpage, where they state that AMD/Mesa platform supports one parameter:
-compression_level=xx

And setting it to 29 activates a quality preset which isn't
complete bullshit and then the #stream looks nice...

https://trac.ffmpeg.org/wiki/Hardware/VAAPI

I love
#Linux, but cut me some slack sometimes xD I will start making guides for all of the bullshit I have been finding out about stuff over the years. The solutions people post on forums are sometimes so ridiculous xD

At 1:40 AM, Nevy over and out... Finally...
Hardware/VAAPI – FFmpeg

Dans cette vidéo, je vous montre comment j’utilise mes alias personnalisés pour automatiser et accélérer le traitement vidéo sur mon matériel reconditionné 😉

Retrouvez tous les alias et explications sur mon Wiki : https://wiki.blablalinux.be/fr/mp4-convert

#Debian #FFmpeg #VAAPI #Intel #GPU

Boostez vos conversions vidéo sur Linux : CPU vs GPU (VA-API Intel)

https://peertube.blablalinux.be/w/hKp8v7Zm4waNeoEE6Aj5pR

🧵 1/10

🚀 Hoy dejo un hilo sobre cómo tener Kdenlive moderno en AntiX usando paquetes selectivos de Debian Multimedia (DMO)…
👉 sin romper dependencias
👉 con FFmpeg completo
👉 con VAAPI activo
👉 y manteniendo MLT estable desde Debian.

Hice alguna correcciones de la guía “Instalar y verificar Kdenlive (DMO) en Debian/AntiX ”

✔️ versión corregida y técnica

La mejor combinación posible. 🎬✨

#Kdenlive #AntiX #FFmpeg #VAAPI #MLT #ChristianMarillat #DMO

🚀 Actualicé mi guía para instalar Kdenlive (DMO) en Debian/AntiX

Le hice varias mejoras visuales para que ahora se vea mucho mejor en móviles 📱✨
También agregué botones de copiar en los bloques de comandos para que todo sea más cómodo al seguir la guía.

Si ya la leíste, te recomiendo revisarla de nuevo 👇😉

🔗 👉 https://drcalambre.blogspot.com/2025/11/instalar-y-verificar-kdenlive-dmo-en.html

#Kdenlive #MLT #MELT #Linux #Debian #AntiX #MX #VAAPI #DMO #EdiciónDeVideo #OpenSource #BlogTech #FOSS