Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
132 changes: 124 additions & 8 deletions Cargo.lock

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

1 change: 1 addition & 0 deletions Cargo.toml
Original file line number Diff line number Diff line change
Expand Up @@ -29,6 +29,7 @@ simplerand = "1.6"
serde = { version = "1.0", features = ["derive"] }
toml = "0.8"
dirs = "5.0"
dialoguer = { version = "0.11", default-features = false }

[dependencies.clap]
version = "4.5"
Expand Down
23 changes: 23 additions & 0 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -279,6 +279,29 @@ t-rec --fps 15

**Note:** Higher framerates produce larger files. The default 4 fps is recommended for most use cases.

### Video Generation

After recording, t-rec will ask if you also want to generate an MP4 video:

```
πŸŽ‰ πŸš€ Generating t-rec.gif

🎬 Also generate MP4 video? (y/n) β€Ί
(auto-skip in 15s)
```

- Press `y` to generate both GIF and MP4
- Press `n` or wait 15 seconds to skip

To always generate video without being asked, use the `--video` flag:

```sh
t-rec --video # Generate both GIF and MP4
t-rec --video-only # Generate only MP4, no GIF
```

The prompt is skipped in quiet mode (`-q`) or non-interactive environments.

### Disable idle detection & optimization

If you are not happy with the idle detection and optimization, you can disable it with the `-n` or `--natural` parameter.
Expand Down
Loading
Loading