You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
{{ message }}
Repository navigation
[BUG] Muting the video (keepAudio=false) accidentally drops the uploaded background music track #1579
In the Reframe video editor, the keepAudio property is meant to act as a toggle to either keep or mute the original video's audio track. However, the logic that checks for the presence of a background music track strictly requires keepAudio to be true.
Because of this, if a user uploads a custom background music track but decides to mute the noisy original audio of their video, the editor completely discards the background music they just uploaded. The resulting exported video is 100% silent.
Steps to Reproduce
Upload any video file that has sound.
Go to the Audio & Speed section and upload a custom background music file.
Observe that the background music plays in the preview.
Toggle the video player's mute button or set keepAudio to false (e.g., via the volume slider or mute toggle in the UI) to silence the original video noise.
Click Export.
Play the exported video—both the original audio and the uploaded background music are completely silent.
Expected Behavior
Muting the video player (keepAudio = false) should strictly apply to the original video's audio track. Any custom background music uploaded by the user should still be included in the final export, acting as the sole audio track for the video.
Proposed Fix
In src/lib/ffmpeg.ts (inside the exportVideo function), the hasMusicTrack variable is currently tied to recipe.keepAudio. It should be decoupled so that background music is independent of the video's mute state.
Hey @Abhishek2005-ard, this issue has been assigned to you! 🎉 Please make progress within 5 days or it will be automatically unassigned due to inactivity.
Hey @Abhishek2005-ard, just a friendly reminder that this issue has had no activity for 2 days. Please leave an update or let us know if you need help! ⏰
Hey @Abhishek2005-ard, final warning! ⚠️ This issue has had no activity for 4 days and will be automatically unassigned in 24 hours if there is no update.
Activity
Abhishek2005-ard commentedon Jun 14, 2026
/assign
github-actions commentedon Jun 14, 2026
👋 Thanks for opening an issue, @Abhishek2005-ard!
Our maintainers will review this shortly 🚀
Before you start working
For GSSoC'26 contributors
If you're contributing under GirlScript Summer of Code 2026, please mention it in your comment when requesting assignment:
Architecture notes
Reframe is a static Next.js app with
output: "export". Key points:headers()innext.config.tswon't work — usevercel.jsoninsteadnot-found.tsxrequirespublic/404.html+vercel.jsonroutes configHappy contributing! ⭐ Star the repo if you find it useful!
github-actions commentedon Jun 14, 2026
Hey @Abhishek2005-ard, this issue has been assigned to you! 🎉 Please make progress within 5 days or it will be automatically unassigned due to inactivity.
github-actions commentedon Jun 16, 2026
Hey @Abhishek2005-ard, just a friendly reminder that this issue has had no activity for 2 days. Please leave an update or let us know if you need help! ⏰
github-actions commentedon Jun 21, 2026
Hey @Abhishek2005-ard, final warning!⚠️ This issue has had no activity for 4 days and will be automatically unassigned in 24 hours if there is no update.
github-actions commentedon Jun 26, 2026
This issue has been unassigned from @Abhishek2005-ard due to 5 days of inactivity and is open for anyone to pick up — comment
/assignto claim it!