Commit Graph
3 Commits
Author SHA1 Message Date
debpalash 1efa879540 Serve non-render /audio names from the outputs mount instead of 404ing in the encode routes (#4071) 2026-11-13 18:28:08 +05:30
lucao 1be73510db fix(audio): keep local paths out of encoder errors; document encoded audio as binary
- The shared ffmpeg encoder reduces the input path to its file name and
  scrubs home paths/secrets from stderr before raising, so the Ogg/Opus
  and MP3 routes never log or return local paths.
- /audio/<id>.mp3, .ogg and .opus declare binary audio/* 200 responses,
  so generated clients stop treating them as JSON; contract regenerated.
2026-10-29 16:39:31 -03:00
lucao 64cab755b4 feat(clone): export takes as MP3
The Clone save button gains a format menu offering WAV (lossless, the
one-click default) or MP3. The backend serves any render at
GET /audio/<id>.mp3, transcoded with ffmpeg/libmp3lame (VBR -q:a 2, the
same quality as the dub exporter); the Ogg/Opus encoder now shares the
ffmpeg helper.
2026-10-29 14:44:09 -03:00