Question: Is there a way to retrieve audio samples in GPU Shader code?
Nobody has claimed this yet.
- Dominant language
- C
- Stars
- 37k
- Forks
- 3.5k
- Avg merge
- 1d 10h
- Merged PRs (30d)
- 22
Description
Is there any chance to have audio sample float (in some way) accessible in the user shader code, this will help making cool shaders for audio playback (like old winamp vis plugins).
I know this is hard (buffer, sync and other problems) but will open great scenarios on making players based on mpv
Contributor guide
No contributing guide indexed for this repository
First steps
- Read the whole issue, then the project's contributing guide.
- Comment on the issue to say you are picking it up — it saves two people doing the same work.
- Fork the repository and make your change on a branch.
- Open a pull request that references the issue number.
Research direction
No file, test, or entry point is named in the issue. Start by locating how mpv exposes GPU shader code and how audio samples move through playback, then define the buffer and synchronization behavior needed before implementation; done means shader code can reliably access audio sample floats.
Written by the indexing model from the issue text.
Assessment
- Tech stack
- c
- Domain
- audio-video-rtc
- Issue type
- Feature
- Difficulty
- 5/5
- Estimated time
- Over a week
- Activity status
- Stale
- Clarity
- Needs clarification
- Newbie friendliness
- 20/100