home.social

#nvenc — Public Fediverse posts

Live and recent posts from across the Fediverse tagged #nvenc, aggregated by home.social.

  1. Возможости современных моделей в разработке кода: кейс автоматического решения сложной проблемы

    Кейс полностью автономного траблшутинга нетривиальной системной проблемы с неработоспособностью NVENC в Docker-контейнера на Jetson Orin NX с помощью Claude Opus 4.6, как пример выхода больших языковых моделей за пределы квалификации middle-grade инженера. Около 40 минут заняло расследование проблемы, по мотивам которого, я попросил сеть написать статью, которую и предлагаю вашему вниманию как пример того, на что я мог потратить целый день, а большинство middle-grade инженеров бы не справилось вообще. Весь траблшутинг и статья сделаны в полностью автоматическом режиме без участия человека.

    habr.com/ru/articles/1014276/

    #nvidia #nvenc #gstreamer #video_encoding #troubleshooting #ai

  2. @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

  3. @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

  4. @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

  5. @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

  6. 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.

    crazy.macer.life/moving-to-fre

  7. 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

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

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

    habr.com/ru/articles/895076/

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

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

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

    habr.com/ru/articles/895076/

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

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

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

    habr.com/ru/articles/895076/

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

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

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

    habr.com/ru/articles/895076/

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

  12. 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 ]

  13. TIL about #Nvidia #NVENC and its support in Handbrake: handbrake.fr/docs/en/latest/te . Possibly the first time I'm actually happy about having an Nvidia graphics card on my Linux laptop.

  14. Question is how will the whole recording/editing workflow go on Linux. The main sticking point for me had been the lack of #NVENC AV1 support in #OBS which is obviously now not a problem.

    #DavinciResolve is a wildcard. I know it doesn't support mp4 and/or AAC audio in Linux but I've tried my best to adapt my workflow so that isn't an issue anymore (using .mkv with PCM), so I'm *hoping* everything will be fine, but we'll need to see how it turns out.

  15. On a whim today I decided to give #Linux a go again on my main rig.

    Can I just say that the #Fedora #Bluefin makes the process of installing, configuring and using Linux infinitely easier if you don't want or need to do large amounts of manual configuration of your install - it just works (the #Nvidia specific image is a big plus as well).

    Even got #NVENC #AV1 working on #OBS with a minimal amount of fuss (haven't tested it out yet though).

    Next stop is getting my GoXLR fully working.

  16. 🎞️ OBS Studio for Linux getting some vital last pieces reaching on par with Windows (in news recently to cause havoc worldwide again) :afire:

    Many creators have stated they'll switch to Linux altogether when OBS features match. That time is nearing 🙂

    ◉30.2 comes with native NVENC AV1 encoding on Linux
    ◉Before a copy was used for encoding (cost of performance)
    ◉Before - OBS copied VRAM to RAM to VRAM to RAM every frame
    ◉Now: just VRAM to RAM once

    obsproject.com/download#linux

    #OBS #Linux #NVENC

  17. Made this post a while back about #gaming (and related things) on #Linux compared to #Windows. TLDR; gaming performance has been fine, with some minor quirks (at least on #NVIDIA) such as #games performing better somehow without #DLSS than with (which is fine by me) - the only "issue" had to do with #recording/#streaming while also running a #game.

    I did some further digging and honestly, I don't think there's much issue/performance hit with gaming while recording on
    #OBS, using NVIDIA #NVENC. I haven't really done proper testing, but it honestly has been fine. My games hit 144FPS, or close at 1440p Max settings pretty easily w my 3080 Ti. I record them by simply adding a "Window Capture" scene and selecting the appropriate #game window, that's it. People recommended "obs-vkcapture" on my last post, and that's been nice too - with that plugin, you only need a single "Game Capture" scene on OBS, and add a launch param to the game's properties on #Steam. Once you launch the game, OBS will immediately be "hooked" to the game and ready to record. People mentioned that doing it this way should prolly be more performant/efficient, but from my limited testing, both ways seem fine.

    One thing I forgot to mention though was
    #Voicemeeter. Voicemeeter's a really freaking neat audio tool on Windows that allowed you to essentially have a virtual audio interface. It does plenty of things, but what I and most people use it for is to split several application audio into separate audio tracks i.e. #Discord is on one audio track, #Firefox on another, #Spotify on another, and so on. This was essential as it allowed me to record my games while being on a Discord call, or have #YouTube playing and not have any audio but the game's to be included in the recording using OBS.

    I did a quick search and found a plugin called "obs-pipewire-audio-capture" that solved this need. If your distro is already using
    #Pipewire for audio (which I think most/all distro do for the past few years), enabling this plugin is as easy as installing the plugin by downloading it from their #GitHub repo and adding it to OBS's plugins folder. After a restart, you can now add multiple audio tracks as scenes to OBS for each application i.e. Spotify, Discord, Games, etc. and enable/disable any of these tracks accordingly for your recording.

    All in all, no issues at all recording while gaming/anything. My only issue now has to do with streaming games to friends while gaming i.e. through Discord. Discord does not yet support this (with audio) on Linux, but there's a custom Discord client that's able to do this called "discord-screenaudio" though with a sizeable performance hit if you're going to be streaming anything intensive such as games - anything else (that isn't intensive) like
    #Plex, #Netflix, etc. has been (mostly) perfectly fine.

    Discord surprised us last year by claiming/maintaining the Discord
    #Flatpak on #Flathub, PLEASE surprise us again by giving us STREAMING WITH AUDIO.

    RE:
    https://sakurajima.social/notes/9o2j4pgvra

  18. On Linux, getting FFmpeg with NVENC to compile and then actually work is completely impossible. The consequences are the attached image.

    #ffmpeg #linux #nvidia #nvenc

  19. Anyone have any thoughts on the #intel #arc A380 versus a #Nvidia #GTX 1630 for #jellyfin encoding? I'm going to pass it through to a VM in Proxmox and I'm a little worried about Arc and it's weird Resizable Bar requirement.

    Both are cheap and I'm torn between #nvenc and #av1.

    Both is the answer my heart says since they're kinda cheap. But my desire to be a bit more frugal says one for now.

    #homelab #server

  20. Notes on H.265 Hardware Encoding

    I’m starting to run low on disk space on my NAS, with Time Machine and VM snapshots taking up almost half of it. So I decided to do some cleanups, and after moving some non-critical stuff to my old NAS (which I use as offline storage) I started looking at my video folder.(...)

    #encoding #nvenc #hardware #videotoolbox #video #handbrake #h.265 #nvidia #transcoding #applesilicon

    taoofmac.com/space/notes/2023/

  21. Notes on H.265 Hardware Encoding

    I’m starting to run low on disk space on my NAS, with Time Machine and VM snapshots taking up almost half of it. So I decided to do some cleanups, and after moving some non-critical stuff to my old NAS (which I use as offline storage) I started looking at my video folder.(...)

    #encoding #nvenc #hardware #videotoolbox #video #handbrake #h.265 #nvidia #transcoding #applesilicon

    taoofmac.com/space/notes/2023/

  22. Notes on H.265 Hardware Encoding

    I’m starting to run low on disk space on my NAS, with Time Machine and VM snapshots taking up almost half of it. So I decided to do some cleanups, and after moving some non-critical stuff to my old NAS (which I use as offline storage) I started looking at my video folder.(...)

    #encoding #nvenc #hardware #videotoolbox #video #handbrake #h.265 #nvidia #transcoding #applesilicon

    taoofmac.com/space/notes/2023/

  23. Notes on H.265 Hardware Encoding

    I’m starting to run low on disk space on my NAS, with Time Machine and VM snapshots taking up almost half of it. So I decided to do some cleanups, and after moving some non-critical stuff to my old NAS (which I use as offline storage) I started looking at my video folder.(...)

    #encoding #nvenc #hardware #videotoolbox #video #handbrake #h.265 #nvidia #transcoding #applesilicon

    taoofmac.com/space/notes/2023/

  24. @EposVox

    Great news I hope to see much more AV1 support next year then I'll have a reason to upgrade

    #AV1
    #Video
    #AMD
    #Nvenc
    #Encoding

  25. Quality could be better when using a hardware encoder but unfortunately that does not work because i use a laptop which has two graphics cards (an integrated one and a dedicated Nvidia).

    And the display is connected to the internal one and therefore sunshine cannot use the nvenc hardware encoder of the dedicated GPU that would provide better quality than quicksync 😔

    #windows #gpu #nvidia #nvenc #directx #Sunshine #Moonlight #gamestream

  26. My new RTX 3060 is defiantly weaker than my RX 6650 XT, but renders videos just as fast if not faster and I can use NVENC when streaming. I think Nvidia is just the way to go for me, even if it means being stuck on X11 for longer than I'd like. High hopes for @system76 and the Cosmic DE on Wayland though!

    #Linux #Nvidia #Wayland #NVENC #pop_os #cosmic

  27. Still having some crashes, but outside of that, I’m getting closer to defeating ALL the bosses, including OBS!

    The MajorLinux Show: Horizon Zero Dawn (Part 5) (01/23/2023)

    majorlinux.com/the-majorlinux-

    AMD GAMING GUERILLA GAMES HORIZON ZERO DAWN NVENC NVIDIA OBS STUDIO PC RTX 3080 TI RYZEN 9 5900X STEAM STREAMING TWITCH

    #AMD #Gaming #GuerillaGames #HorizonZeroDawn #NVENC #Nvidia #OBSStudio #PC #Ryzen #Steam #Streaming #Twitch #YouTube #BlackMastodon #BlackFedi #BlackFediverse #Blerd