This repository has been archived on 2024-04-27. You can view files and clone it, but cannot push or open issues or pull requests.
autoytdlp/.convert_helper.sh

4 lines
146 B
Bash
Raw Permalink Normal View History

#!/usr/bin/env bash
2023-01-27 10:52:22 +03:00
# Should not be called manually
2023-01-27 10:51:02 +03:00
ffmpeg -i "$1" "$(echo "$1" | sed -E "s/\.[A-Za-z0-9]+$/.$2/" | sed "s#\./files#./convert#")"