❯ gopro-merge --help 01:02:58
gopro-merge 0.1.0
USAGE:
gopro-merge [OPTIONS] [ARGS]
FLAGS:
-h, --help Prints help information
-V, --version Prints version information
OPTIONS:
-p, --parallel <parallel> The amount of parallel movies to be merged. [default: amount of cores]
-r, --reporter <reporter> The reporter to be used for progress one of "json"|"progressbar" [default:
progressbar]
ARGS:
<input> Directory where to read movies from. [default: current directory]
<output> Directory where to write merged movies. [default: <input>]
Debugging
Set RUST_LOG=debug and follow the logs as well as ffmpeg stderr output log files:
[2021-11-14T23:15:25Z DEBUG gopro_merge::merge::ffmpeg::merger] setting progress len for GH000307.MP4 to 0 seconds
[2021-11-14T23:15:25Z DEBUG gopro_merge::merge::ffmpeg::command] Creating ffmpeg command with args ["-f", "concat", "-safe", "0", "-y", "-i", "/var/folders/11/7dvgz63d6rd047j_7vc854400000gn/T/.0307.txt", "-c", "copy", "/<FULL_PATH>/GH000307.MP4", "-loglevel", "error", "-progress", "pipe:1"]
[2021-11-14T23:15:25Z INFO gopro_merge::merge::ffmpeg::command] creating ffmpeg stderr file at /var/folders/11/7dvgz63d6rd047j_7vc854400000gn/T/.ffmpeg_stderr_GH000307.MP4.log
[2021-11-14T23:15:25Z DEBUG gopro_merge::merge::ffmpeg::merger] updating progress for GH000307.MP4 to 0 seconds
Installation
No prebuilt binaries are available. Install cargo and then install this repo with cargo install: