diff options
| author | Dennis Fink | 2026-05-08 22:16:51 +0200 |
|---|---|---|
| committer | Dennis Fink | 2026-05-08 22:16:51 +0200 |
| commit | 4b5967b1fde15f0d7d677274f1ae353915e6854b (patch) | |
| tree | 678962fff66a97789386b298cdb6c8e8cb1c13bf /.gitignore | |
| parent | d3ee4e3e82ea5433e467331a2605675be2a60c9f (diff) | |
| download | transcode.sh-4b5967b1fde15f0d7d677274f1ae353915e6854b.tar.gz transcode.sh-4b5967b1fde15f0d7d677274f1ae353915e6854b.zip | |
feat(core): expose frame-rate variables to presets
Add input_frame_rate, input_fps, and output_gop_size to the set of
variables available to preset files at source time.
input_frame_rate is the raw ffprobe fraction (e.g. 30000/1001).
input_fps rounds that fraction to the nearest integer via awk.
output_gop_size is derived as roughly five seconds of video (input_fps *
5), capped at 300 frames.
The ffprobe invocation is extended to request r_frame_rate alongside the
existing codec_name and pix_fmt entries; a missing frame rate is now
treated as a hard error. Dry-run and verbose output are updated to
display the new values. Documentation (header comment, --help text, man
page, README) is updated accordingly.
Diffstat (limited to '.gitignore')
0 files changed, 0 insertions, 0 deletions
