diff options
author | pukkandan <pukkandan.ytdlp@gmail.com> | 2022-01-03 16:43:54 +0530 |
---|---|---|
committer | pukkandan <pukkandan.ytdlp@gmail.com> | 2022-01-03 19:40:02 +0530 |
commit | 1e43a6f7336f4d9691dc52a1bc7cfe14ba7a936d (patch) | |
tree | 218655a09fd54a9c51f4db1d5bb7564c633b6f3e /README.md | |
parent | ca30f449a187addcdb99f4c39333e7a292756597 (diff) | |
download | hypervideo-pre-1e43a6f7336f4d9691dc52a1bc7cfe14ba7a936d.tar.lz hypervideo-pre-1e43a6f7336f4d9691dc52a1bc7cfe14ba7a936d.tar.xz hypervideo-pre-1e43a6f7336f4d9691dc52a1bc7cfe14ba7a936d.zip |
Allow `--exec` to be run at any post-processing stage
Deprecates `--exec-before-download`
Diffstat (limited to 'README.md')
-rw-r--r-- | README.md | 29 |
1 files changed, 14 insertions, 15 deletions
@@ -896,23 +896,20 @@ You can also fork the project on github and run your fork's [build workflow](.gi --ffmpeg-location PATH Location of the ffmpeg binary; either the path to the binary or its containing directory - --exec CMD Execute a command on the file after - downloading and post-processing. Same - syntax as the output template can be used - to pass any field as arguments to the - command. An additional field "filepath" + --exec [WHEN:]CMD Execute a command, optionally prefixed with + when to execute it (after_move if + unspecified), separated by a ":". Supported + values of "WHEN" are the same as that of + --use-postprocessor. Same syntax as the + output template can be used to pass any + field as arguments to the command. After + download, an additional field "filepath" that contains the final path of the - downloaded file is also available. If no - fields are passed, %(filepath)q is appended - to the end of the command. This option can - be used multiple times - --no-exec Remove any previously defined --exec - --exec-before-download CMD Execute a command before the actual - download. The syntax is the same as --exec - but "filepath" is not available. This + downloaded file is also available, and if + no fields are passed, %(filepath)q is + appended to the end of the command. This option can be used multiple times - --no-exec-before-download Remove any previously defined - --exec-before-download + --no-exec Remove any previously defined --exec --convert-subs FORMAT Convert the subtitles to another format (currently supported: srt|vtt|ass|lrc) (Alias: --convert-subtitles) @@ -1800,6 +1797,8 @@ While these options are redundant, they are still expected to be used due to the #### Not recommended While these options still work, their use is not recommended since there are other alternatives to achieve the same + --exec-before-download CMD --exec "before_dl:CMD" + --no-exec-before-download --no-exec --all-formats -f all --all-subs --sub-langs all --write-subs --print-json -j --no-simulate |