Remove -- from ffmpeg command since it doesn't make sense

This commit is contained in:
tosu 2023-03-05 21:27:57 +01:00
parent c994ee603f
commit 7d7c8980ee
2 changed files with 3 additions and 3 deletions

View File

@ -80,7 +80,7 @@ for m3u8_manifest_url_and_metadata in ${m3u8_manifest_urls_and_metadata}; do
-i "${m3u8_manifest_url}" \
-progress - \
-codec copy \
-- "${filepath}" |
"${filepath}" |
grep --line-buffered 'out_time=' |
sed -u -e 's/out_time=//g' -e 's/\..*//g' -e 's/^-//g' |
xargs -I{} printf "{} of ${length} \r"

View File

@ -118,13 +118,13 @@ do
printf '\033[32m%s\033[m\n' "Download '${filepath}' (${idx}/${total})"
ffmpeg -hide_banner \
ffmpeg -hide_banner \
-loglevel error \
-headers "authorization: Bearer ${BASE64_BEARER_TOKEN}" \
-i "${m3u8_manifest_url}" \
-progress - \
-c copy \
-- "${filepath}" |
"${filepath}" |
grep --line-buffered 'out_time=' |
sed -u -e 's/out_time=//g' -e 's/\..*//g' -e 's/^-//g' |
xargs -I{} printf '%s\r' "{} of ${length} "