Skip to content

Convert

Khryz-Navarro edited this page Nov 9, 2026 · 1 revision

Status: Planned · Phase 2 of the Roadmap · Issue #28

What it does

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.

How it would work

  • 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_file in src/main.rs does for the cookies file.
    • The page never sends a file path, which keeps the trust boundary.
  • The conversion:
    • It extends convert_args in src/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.
  • Progress: ffmpeg's -progress pipe:1 gives the time done. The total comes from ffprobe, 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() in src/main.rs).
    • It shows up in the Downloads History, so Show in folder works the same way.

Open questions

  • Which encoders does the bundled ffmpeg have? It's the eugeneware ffmpeg-static build b6.1.1; run ffmpeg -encoders and 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?

Risks

  • 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.

Home

Roadmap

Phase 1: links you paste

Phase 2: tools for your files

Phase 3: new engines

Phase 4: beyond the desktop

Clone this wiki locally