Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Waveform component is too sensitive/fast #74

Open
tassaron opened this issue May 5, 2022 · 0 comments
Open

Waveform component is too sensitive/fast #74

tassaron opened this issue May 5, 2022 · 0 comments
Assignees
Labels

Comments

@tassaron
Copy link
Collaborator

tassaron commented May 5, 2022

The waveform component is very sensitive. It would be more useful if it moved slower. I consider this a bug because the current sensitivity is just ugly, not really suitable to be called a "visualizer".

It's using FFmpeg filters called showwaves and showfreqs.

Any input/feedback/help is appreciated :)

Option 1:

  • Create some FFmpeg complex_filter command that smooths that audio stream before the showwaves filter
    • I tried this but I don't know if it's even possible

Option 2:

  • Give FFmpeg some wrong parameters (i.e., draw frame too small). You can create a smoother effect this way but it results in a blurry image. Maybe we could do something with it, though

Option 3:

  • Take the FFmpeg input every 30 frames (for example) and do some interpolation/smoothing/fading between the frames to make a smoother, more unique visualization outside of FFmpeg (easiest option, I'll probably try this eventually)
@tassaron tassaron added the bug label May 5, 2022
@tassaron tassaron self-assigned this May 5, 2022
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Projects
None yet
Development

No branches or pull requests

1 participant