Remove -- from ffmpeg command since it doesn't make sense
This commit is contained in:
parent
c994ee603f
commit
7d7c8980ee
|
@ -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"
|
||||
|
|
|
@ -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} "
|
||||
|
|
Loading…
Reference in New Issue