Skip to content

feat(mobile): cleaner bar visualizer for share-to-story videos - #14722

Merged
dylanjeffers merged 1 commit into
mainfrom
feat/story-share-waveform
Oct 28, 2026
Merged

dylanjeffers merged 1 commit into
mainfrom
feat/story-share-waveform

Conversation

@dylanjeffers

Copy link
Copy Markdown
Contributor

What

The share-to-story video's visualizer was a 900px showfreqs spectrum drawn twice (once flipped), pushed off both edges, and run through adynamicsmooth, which strips the highs. It read as a grey fuzzy band at 70% white.

It's now:

  • 36 white bars mirrored top and bottom, with bass in the center and highs at the edges
  • scaled to the loudest 64dB (showfreqs log scale spans 120dB, so the graph renders 120 rows and keeps the top 64), with 2-frame averaging so the bars move with the music without flickering
  • a 2px floor on every bar, so quiet bands show as a dotted line instead of a gap
  • centered, 0.85 white, at y=752–880, just below the TikTok sticker area (ends at y=748)

The rest of the command is unchanged: background gradient, TikTok sticker overlay, audio, and the 10s / ultrafast encode.

Testing

  • Rendered the exact filter string with desktop ffmpeg on two trending tracks, for both the Instagram/Snapchat command and the TikTok command with the sticker input. Both produce 10s output.
  • Checked that every showfreqs, crop, geq, hstack and vstack option used exists in FFmpeg 6.0, the version bundled by ffmpeg-kit 6.0.2 full-gpl.
  • Confirmed FFmpegKit's parseArguments keeps the single-quoted geq expression inside the double-quoted -filter_complex value.
  • Not yet run on a device. Worth checking encode time on an older Android phone, since geq adds some cost per frame.

🤖 Generated with Claude Code

Replace the wide grey showfreqs band with 36 white bars mirrored around
the bass, scaled to the loudest 64dB so they move with the music, and
centered above the TikTok sticker area.

Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
@changeset-bot

changeset-bot Bot commented Oct 28, 2026

Copy link
Copy Markdown

⚠️ No Changeset found

Latest commit: 898a8e1

Merging this PR will not cause a version bump for any packages. If these changes should not result in a new version, you're good to go. If these changes should result in a version bump, you need to add a changeset.

This PR includes no changesets

When changesets are added to this PR, you'll see the packages that this PR includes changesets for and the associated semver types

Click here to learn what changesets are, and how to add one.

Click here if you're a maintainer who wants to add a changeset to this PR

@dylanjeffers
dylanjeffers merged commit 3fd5268 into main Oct 28, 2026
3 checks passed
@dylanjeffers
dylanjeffers deleted the feat/story-share-waveform branch October 28, 2026 21:40
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant