Commit Graph

4 Commits

Author SHA1 Message Date
a35b2c6498 v4: production rewrite — real progress, durations, richer UX
Complete rewrite of the application. Highlights:

- Real progress bar driven by ffmpeg '-progress pipe:1' (out_time_ms vs
  total duration), held at 99% until 'progress=end' then snapped to 100%
  so the bar no longer jumps/catches up at the finish
- ffprobe-based per-file duration scanning in background threads, cached
  per item; running total shown; probes parallelised (one thread per file)
- No console/bash windows on Windows: CREATE_NO_WINDOW on all subprocesses
- Optional drag-and-drop via tkinterdnd2 with a graceful fallback
- Card-based scrollable UI with rows of (# index, checkbox, name, duration),
  per-row activate/highlight, plus Move Up/Down/Remove/Select All/Select None
- Output settings: name + extension dropdown + directory, with live output
  path preview
- Start/Stop control: terminate ffmpeg and delete the partial output on stop;
  overwrite, name-conflict, and single-file guards before starting
- Elapsed / ETA / speed readout, collapsible ffmpeg log, light/dark toggle
- Locate ffmpeg/ffprobe next to the exe/script (PyInstaller-friendly) then PATH
- Output hardening: -movflags +faststart and -nostdin

Co-Authored-By: Claude Opus 4.8 <noreply@anthropic.com>
2026-06-26 13:27:37 +00:00
f8499e9668 v3: drag-to-reorder and DPI scaling
- Replace the Move Up/Down buttons with click-and-drag reordering in the list
- DPI-aware sizing: derive a base font from screen DPI and scale Tk
- Listbox now fills and expands; entry and labels stretch to full width
- Re-check the name conflict when the output directory changes too
- Streamlined three-section layout

Co-Authored-By: Claude Opus 4.8 <noreply@anthropic.com>
2026-06-26 13:27:18 +00:00
a3fe0fcf65 v2.1: rewrite on CustomTkinter with safer ffmpeg handling
- Migrate the UI from tkinter to customtkinter (themed, system appearance)
- Detect ffmpeg via shutil.which; warn and disable concat if it's missing
- Auto-fill the output name from the first selected file
- Inline output-name conflict detection against the source files, with a
  live red warning and the button disabled while a conflict exists
- Escape paths in the concat list file (quotes/backslashes), write as UTF-8
- Run ffmpeg with explicit -c:v copy / -c:a copy and surface stderr on error
- Re-enable the button and clean up file_list.txt on every exit path

Co-Authored-By: Claude Opus 4.8 <noreply@anthropic.com>
2026-06-26 13:27:18 +00:00
c26a8fc235 Initial version: basic Tkinter video concatenator
- Plain tkinter GUI: file picker, listbox of selected videos
- Move Up / Move Down buttons to reorder the sequence
- Output name entry + output directory chooser
- Optional 'delete originals after concatenation' checkbox
- Concatenates with the ffmpeg concat demuxer (-c copy) on a worker thread
- Crude fixed time estimate (5s-per-file countdown before running ffmpeg)

Co-Authored-By: Claude Opus 4.8 <noreply@anthropic.com>
2026-06-26 13:26:59 +00:00