Fork of VideoTools focused on player/inspection. VT Player lets us iterate on playback, navigation, and analysis workflows independently of the full suite.
Go to file
Stu 35b04bfe98 Change default aspect ratio from 16:9 to Source
Updated the convert menu to default to source aspect ratio instead of 16:9,
which better preserves the original video's aspect ratio by default.

Changes:
- Initial state default: 16:9 → Source
- Empty fallback default: 16:9 → Source
- Reset button default: 16:9 → Source
- Clear video default: 16:9 → Source
- Updated hint label to reflect new default

🤖 Generated with [Claude Code](https://claude.com/claude-code)

Co-Authored-By: Claude <noreply@anthropic.com>
2025-11-23 02:36:40 -05:00
assets/logo Add aspect controls, cancelable converts, and icon 2025-11-21 18:57:28 -05:00
internal/player Checkpoint media player playback 2025-11-21 16:08:38 -05:00
.gitignore Ignore built binary and remove from repo 2025-11-21 18:57:48 -05:00
go.mod Implement in-app playback with ffmpeg frame pump and Go audio 2025-11-20 16:11:56 -05:00
go.sum Implement in-app playback with ffmpeg frame pump and Go audio 2025-11-20 16:11:56 -05:00
main.go Change default aspect ratio from 16:9 to Source 2025-11-23 02:36:40 -05:00
README.md Improve video player layout with overlay controls 2025-11-20 15:06:52 -05:00

VideoTools Prototype

Requirements

  • Go 1.21+
  • Fyne 2.x (pulled automatically via go mod tidy)
  • FFmpeg (not yet invoked, but required for future transcoding)

Running

Launch the GUI:

go run .

Run a module via CLI:

go run . convert input.avi output.mp4
go run . combine file1.mov file2.wav / final.mp4
go run . logs

Add -debug or VIDEOTOOLS_DEBUG=1 for verbose stderr logs.

Logs

  • All actions log to videotools.log (override with VIDEOTOOLS_LOG_FILE=/path/to/log).
  • CLI command videotools logs (or go run . logs) prints the last 200 lines.
  • Each entry is tagged (e.g. [UI], [CLI], [FFMPEG]) so issues are easy to trace.

Notes

  • GUI requires a running display server (X11/Wayland). In headless shells it will log [UI] DISPLAY environment variable is empty.
  • Convert screen accepts drag-and-drop or the "Open File…" button; ffprobe metadata populates instantly, the preview box animates extracted frames with simple play/pause + slider controls (and lets you grab cover art), and the "Generate Snippet" button produces a 20-second midpoint clip for quick quality checks (requires ffmpeg in PATH).
  • Simple mode now applies smart inverse telecine by default—automatically skipping it on progressive footage—and lets you rename the target file before launching a convert job.
  • Other module handlers are placeholders; hook them to actual FFmpeg calls next.