#FFmpeg

2026-03-12

@niccolove @niccolo_ve

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

tube.kockatoo.org/w/63cGWTvhzq

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

N-gated Hacker Newsngate
2026-03-10

Oh, look! Yet another repo promising to revolutionize with the magic of...🪄 connecting remotely 😱. Because, obviously, remotely accessing your nightmares was the one feature that was missing from your life. 🎉🚀
github.com/steelbrain/ffmpeg-o

2026-03-10
Is it just me or is #ffmpeg and #HandBrake's libtheora encoder broken? No matter what quality settings I use it just results in a glitchy output.

Funnily it doesn't happen in VLC 3.0.20 despite Xiph's wiki warning that VLC creates broken Ogg streams

EDIT: Nvm #VLC does create broken Ogg streams lol, the video and audio gets out of sync at some point for whatever reason, and ffprobe says the keyframe is not correctly marked

EDIT2: Aha, apparently VLC has trouble keeping the same frame rate at 23.976216 fps... Putting it at 24 puts everything back in sync

#ogg #theora
terry matulaterry@phpc.social
2026-03-10

github.com/matula/ai-ncoder

I hacked this together months ago because I found myself converting a bunch of old audio files, and I was continually googling #ffmpeg flags. I thought it would be cool to use natural language for transcoding, but wanted it to keep it local, and workable offline.

So I grabbed the smallest, usable model and hacked together some Python and prompts... And it just kind of worked.

I thought I'd clean it up and share.

2026-03-09

So, got the server in place but discovered that the Docker image that I created that has the Sisyphus client and all of the binaries like `ffmpeg`, `av1an` was not very happy. Ffmpeg crashed because it couldn't find the `libSvtAvcEnc.so.4` library which was because I had a custom version of it installed (`svt-av1-psyex`).

Got the Dockerfile fixed by installing `svt-av1-psyex` and then compiling `ffmpeg` against those libraries, then installing both `svt-av1-psyex` and `ffmpeg` into the final container which makes `ffmpeg` happy. Also saw an issue where the Vapoursynth `lsmash` module wasn't being found, but that got tracked down to a stale Docker image (forgot to pull the latest from the repo).

I have two encodes going: one `ffmpeg` and one `av1an` which should be the real final test. If they turn out well, attachments where they're supposed to be, etc., etc. then I'll probably start working on documentation and get this out there.

#sisyphus #encoding #av1an #vapoursynth #ffmpeg #svtAv1Psyex

The worker JSON information returned from the server showing that `encoder02` is currently processing a test video using the `av1an` module.
2026-03-09

Ein Fork ist immer schnell erstellt, doch im Takt bleiben ist nicht immer einfach. Auf lange Sicht zahlt sich eine Zusammenarbeit aus.

As our internal fork became increasingly outdated, we collaborated with FFmpeg developers, FFlabs, and VideoLAN to develop features in FFmpeg that allowed us to fully deprecate our internal fork and rely exclusively on the upstream version for our use cases. Using upstreamed patches and refactorings we’ve been able to fill two important gaps that we had previously relied on our internal fork to fill: threaded, multi-lane transcoding and real-time quality metrics.

FFmpeg at Meta: Media Processing at Scale

#ffmpeg #foss

konstruct-960T-BF64.ggufkonstruct@woof.tech
2026-03-08

Which #codecs can your current hardware and software decode at usable efficiencies and resolutions ?
1/3

#codec #av1 #ffmpeg #VP9 #vp8 #hevc

Christopher Kirk-Nielsenchriskirknielsen@front-end.social
2026-03-08

I like to use #ffmpeg now and then, because I don't want to upload to a converter or load Media Encoder. Especially true for pretty big video assets that I need to make smaller, though I honestly mostly use it to remove audio from a video.

I won't pretend I know every command, but I've collected a few "recipes" over time that I use a lot. So… I made a small tool to cook them up! It's called "Cheff mpeg" (open to more fun name ideas) and maybe it can help you, too: cheffmpeg.chriskirknielsen.com/

Ex. BeeCeehiltsu
2026-03-08

Ethereal Echoes from 200+ megs to 53,3 megs.

Ex. BeeCeehiltsu
2026-03-08

Testing how ffmpeg -i input.mp4 -vcodec libx264 -crf 28 -preset slow -acodec aac -b:a 128k output.mp4 command shrinks the video.

2026-03-07

My Android phone was running low on storage space. So I wanted something that pulls camera videos of sufficient size & with high likelihood of good compression gains in performant fashion, compresses them on a powerful ADB host & pushes them back in place with metadata intact.

The result: github.com/technopagan/android

#bash #code #android #video #compression #ffmpeg #adb #oss #unlicense

tobias-baldauf.de/status/1379-

CLI screenshot of the Bash script "Android Video Compressor" textual output during runtime.
2026-03-07

#ffmpeg y #vcvrack para este ruido.
Para ver después de comer y hacer bien la digestión.

#noiserider

2026-03-06

Test live d'une caméra USB avec ffmpeg — démo rapide pour capturer et streamer votre webcam. Parfait pour bidouilleurs et admins qui veulent configurer un flux en un clin d'œil. #ffmpeg #webcam #USB #streaming #linux #tutoriel #French
testube.distrilab.fr/videos/wa

Gregory.Fulkersongfulky
2026-03-05

In our adventure of digitizing old family pictures and films we come to the question of how to edit things that are not of interest from a film. My wife was trying to edit down an mp4 file and I thought, this should be a ffmpeg thing. Simple trim, cut , splice of an mp4 file.
Anyway, my wife does a little online sleuthing and finds mifi.no/losslesscut.
I help her install it and she's off!
My wife loved it, and I get to say my wife used cool software. Win win.

Martin Kirchgessnermartin_kirch@piaille.fr
2026-03-03

TIL that #ffmpeg can turn your laptop into a continuous recorder that writes one video per hour. In a single command, because of course it can.

kinda verbose, but in case you need it too, here is the incantation:
```
ffmpeg \
-f v4l2 -input_format mjpeg -video_size 1280x720 -framerate 15 -i /dev/video0 \
-f pulse -i default \
-c:v libx264 -vf format=yuv420p -preset ultrafast -tune zerolatency -g 30 \
-maxrate 3000k -bufsize 6000k \
-c:a aac -b:a 128k -ar 44100 -ac 2 \
-f segment -segment_time 3600 -reset_timestamps 1 -strftime 1 \
monitor_%Y%m%d_%H%M%S.mp4
```

Ethan Blantonelb@social.sdf.org
2026-03-03

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

neville parknev@flipping.rocks
2026-03-03
Robin Stolperobinstolpe
2026-03-02

When I moved from to there was quite a few apps that was missing...

One of them was a tool to capture from my USB and help me trim and edit the video afterwards and another was a tool to make timelapses from images, well not anymore :)

github.com/slashmad/SlashmadFF

SlashmadFFmpegGUI icon
Jürgenelbosso
2026-03-01

Nachtrag: mit Hardwarebeschleunigung mittels und unter : kein problem!

Client Info

Server: https://mastodon.social
Version: 2025.07
Repository: https://github.com/cyevgeniy/lmst