Repository navigation
Convert
Khryz-Navarro edited this page Nov 9, 2026
·
1 revision
Pick a video or audio file on your computer and convert it to another format and codec. For example:
- MKV to MP4;
- H.265 to H.264, so it plays everywhere;
- WAV to FLAC;
- a video's sound track to MP3.
- A new Tools tab next to New download and Downloads History. Convert, Compress for Discord and Trim & crop live there.
-
Choosing the file:
- The backend opens the system's file dialog, as
pick_cookies_fileinsrc/main.rsdoes for the cookies file. - The page never sends a file path, which keeps the trust boundary.
- The backend opens the system's file dialog, as
-
The conversion:
- It extends
convert_argsinsrc/ytdlp.rs, which today turns downloaded audio into MP3, AAC, WAV, FLAC or WMA, to video codecs. - Each choice is a fixed preset, just as qualities are today: H.264, H.265, VP9 or AV1, plus the container.
- Audio is copied when the target container can hold it.
- It extends
-
Progress: ffmpeg's
-progress pipe:1gives the time done. The total comes fromffprobe, or from ffmpeg's own first output, so the bar shows a percentage and time left. -
The result:
- It's saved next to the original, with a non-overwriting name (the same rename as
place()insrc/main.rs). - It shows up in the Downloads History, so Show in folder works the same way.
- It's saved next to the original, with a non-overwriting name (the same rename as
- Which encoders does the bundled ffmpeg have? It's the eugeneware ffmpeg-static build b6.1.1; run
ffmpeg -encodersand offer only those. - Should hardware encoding (NVENC, Quick Sync, AMF) be used when the computer has it? It's much faster, but its quality differs by GPU.
- Should several files at once be allowed?
- Slow encodes: AV1 and H.265 software encoding is slow on long videos. The time-left estimate matters, and so do Pause and Cancel, reusing the process-tree kill.
- Licensing: the bundled ffmpeg is GPL. That's fine for a separate program the app runs, as today; it has to stay a separate program.
Phase 1: links you paste
Phase 2: tools for your files
Phase 3: new engines
Phase 4: beyond the desktop