Commit graph

13 commits

Author SHA1 Message Date
Radhakrishnan Pachyappan
17a683186d feat(ffmpeg): add wav-3cx telephony preset and URL-param format pre-selection
WAV preset for 3CX / telephony systems
---------------------------------------
Adds `wav-3cx` as a new FFmpeg output target that produces a WAV file
with the parameters required by 3CX and similar telephony platforms:
  - Channel: mono   (-ac 1)
  - Sample rate: 8 kHz  (-ar 8000)
  - Bit depth: 16-bit PCM  (-sample_fmt s16)

The target appears in the UI alongside the regular `wav` option under the
ffmpeg converter group.  `normalizeOutputFiletype` maps `wav-3cx` → `wav`
so the downloaded file has the correct `.wav` extension.

URL query-param pre-selection
------------------------------
Adds support for `?to=<format>&converter=<name>` query parameters on the
root page.  When a user lands on the page with these params set, the
format selector is automatically pre-populated as soon as conversion
options finish loading (after the first file is selected).

Example:
  http://localhost:3000/?to=wav-3cx&converter=ffmpeg

Closes #559

Signed-off-by: Radhakrishnan Pachyappan <gingeekrishna@gmail.com>
2026-06-22 00:08:08 +05:30
C4illin
1be11708c4 chore: format all files 2025-06-03 19:19:28 +02:00
C4illin
ff2c0057e8 fix: progress bars on firefox 2025-06-03 18:23:26 +02:00
aidanjacobson
ff2ef74135 feat: add support for drag/drop of images 2025-05-13 19:19:57 -07:00
C4illin
19970fc132 chore: fix lint 2025-03-06 21:09:02 +01:00
lacni
dc82a438d4 fix: refactored uploadFile to only accept a single file instead of multiple 2025-02-27 21:11:52 -05:00
lacni
cc54bdcbe7 feat: made every upload file independent 2025-02-27 19:18:13 -05:00
lacni
ae4bbc8baa fix: added onerror log 2025-02-27 19:15:58 -05:00
lacni
db60f355b2 feat: added progress bar for file upload 2025-02-26 23:31:31 -05:00
C4illin
4c05fd72bb fix: wait for both upload and selection
issue #177
2024-11-21 22:44:13 +01:00
C4illin
58e220e82d feat: disable convert when uploading
issue #177
2024-11-12 22:30:16 +01:00
C4illin
36cb6cc589 feat: Allow to chose webroot
issue #180
2024-11-06 08:49:53 +01:00
C4illin
d2cd6706c9 chore: update @elysiajs/static 2024-10-18 19:32:42 +02:00
Renamed from src/public/script.js (Browse further)