▲ 3 r/GraphicsProgramming+1 crossposts

Zero copy CUDA GPU presentation of AvFrame.

This is quite specific and not exactly c++ specific but I've been searching for days and can't find anything. I'm trying to implement displaying an AvFrame from ffmpeg that has been hardware decoded into the CUDA_FORMAT on an egl surface. I've already implemented the same thing using vaapi for Intel and amd but I can't find any examples of anything for Nvidia. Any help pointing me in the right direction would be greatly appreciated. Important constraint is I do not want to copy the pixels into CPU and then upload back into the gpu, when they are decodes in the GPU, it is imperative they stay there and are read directly as an egl image.

reddit.com
u/Rigamortus2005 — 3 days ago

Account removed for being under 13?

I literally just set my date of birth that was all I did, I set it to 2005. You know, when I was fucking born and then it just logged me out and said I was underage. How does that even make sense? What am I supposed to do now?

reddit.com
u/Rigamortus2005 — 4 days ago
▲ 418 r/unixporn

[OC] Yin, fastest wallpaper daemon in the west!

Yin is a hardware accelerated animated wallpaper daemon based on ffmpeg alone. It is ipc controlled so wallpapers can be switched at runtime without restarting the daemon. It supports multiple monitors out of the box and is several times more efficient in memory, CPU and GPU usage for the same wallpaper than mpvpaper. It also supports runtime play and pause.

Github: http://www.github.com/saverinonrails/yin

u/Rigamortus2005 — 4 days ago
🔥 Hot ▲ 23.0k r/tenet+3 crossposts

He walked backwards with such perfection that the world seemed upside down.

u/Adorable-Amount-7981 — 14 days ago

Can't put laptop to deep sleep?

My HP victus only supports S2idle and not S2idle deep so it can't be set to suspend to ram, only to idle. Only issue is when I suspend to idle it heats up to like 80 degree Celsius while the battery drains rapidly. It completely defeats the point and would better be left on and open. Is there a way around this? Having a laptop that can't go to sleep is ridiculous I can't be turning it off every time I want to close the lid and so something else.

reddit.com
u/Rigamortus2005 — 20 days ago
▲ 38 r/German

Just finished the Goethe A1 wordlist.

Title, for the past 5 months I've been studying the Goethe A1 wordlist, learning them all. It's about 19 pages with 40 so words each on them. And today I got to the last page. Feel really proud rn. By finished I mean I've added the last page to my anki decks, it was mostly words I already knew but still, I've been reviewing the decks progressively for about 5 months now. For the next month I plan to grind listening and reading comprehension for A1, so that technically I'll be at a confident A1 level in a month from now before I delve into A2 resources.

Any nice tips on where to find graded readers/ listeners would be appreciated. Danke!

reddit.com
u/Rigamortus2005 — 25 days ago

One tap run in helix and kitty. To Zellij no tmux.

Recently discovered kitty has a launch bind, you can configure it to run an arbitrary program in the current directory. I've used it to run a task runner in any project i'm in. Hitting alt + t builds and runs the current project in a new tab that dies when the program dies. I previously always had two terminals open , one for helix and another for running commands. Thought this was a neat trick and decided to share it.

u/Rigamortus2005 — 26 days ago
▲ 10 r/Guitar

A Free and Open Source melodic ear trainer

I did post an earlier version of this a few months ago and it got a lot of positive responses on this sub so i thought i'd share an update if that's cool with the mods. MyPitch is a completely free and open source Functional ear trainer that helps train musicians on identifying scale degrees in a tonal context. Available as a Windows/Linux app, Android app or web app.

Last time i showcased the highly customizable interactive quiz mode and the hands free training mode termed "pocket mode". There's now a melodic trainer, that provides a short melody and tasks you with obtaining the scale degrees within the tonal context. Highly customizable as well for all keys and octave ranges.

In addition to that there's a new "Folk mode" which is essentially a growing database of popular nursery rhymes, Hymns , christmas carols e.t.c but stored and presented as scale degrees. Folk songs can be transposed to any key and are aimed to be used to analyze the functions of scale degrees in real popular music and build a relationship with them. The ability to transpose the songs to any key means you'll never be practicing or studying the raw notes themselves but the feeling of the scale degrees and the fact that the degrees feel the same in every key.

You can try it in a web browser at http://saverinonrails.github.io or for much better performance grab a binary for your platform from the github.

Source code and install files here: http://www.github.com/saverinonrails/mypitch

u/Rigamortus2005 — 1 month ago

I built MyPitch: A simple , powerful and open source Functional Ear Trainer for musicians

MyPitch is a free, open-source, simple, and customizable ear trainer for musicians. It helps train your ability to recognize the functions of scale notes within a tonal context and, by extension, your ability to recognize these pitches.

Features

  • Interactive quiz mode for all degrees or subsets at any key and octave, even randomized!
  • Pocket mode with automatic speech responses for hands free practice
  • Customizable Tonic Drone for anchoring to the key.
  • Melody quiz to drill decoding melodies within a key context in various scale modes.
  • Stats report after interactive mode displaying useful data about strengths and weaknesses to better help you customize your next session.

Github : https://github.com/SaverinOnRails/MyPitch

u/Rigamortus2005 — 2 months ago

Is this an indirect crypto buff? Because it puts him in a weird place. If he can res direct from a death box now it's kinda op but if he can't he's kinda useless. I haven't seen any notes on this yet

reddit.com
u/Rigamortus2005 — 2 months ago

MyPitch is a cross platform ,simple , free and open source ear trainer heavily inspired by Sonofield. It helps you to train your ability to hear the functions of notes or degrees within a scale taking you a step closer to audiation , delibrate improvising and playing songs by ear instantly. Features include an interactive quiz mode for all or a subset of scale members, scale modes, a toggleable tonic drone for anchoring to the tonic and customisable octaves across all keys. A "pocket mode" feature with speech samples is also included for practicing hands free while you do other things with no limits. A melody mode exists with "smart" melody generation ( improving everyday) for practicing decoding a melody entirely by ear in any given scale mode.

MyPitch runs natively on Windows desktop and Android and can also be used on the web at : saverinonrails.github.io

Source and installation at : www.github.com/saverinonrails/mypitch for a better experience

u/Rigamortus2005 — 2 months ago