Compare commits
5 Commits
abbcd76178
...
e921e6b9eb
Author | SHA1 | Date | |
---|---|---|---|
e921e6b9eb | |||
b399a9e2c9 | |||
6889755330 | |||
2beccaeeb3 | |||
8ad4d67d84 |
2
.aliases
2
.aliases
|
@ -953,7 +953,7 @@ download_mp4_from_m3u8() {
|
|||
fi
|
||||
|
||||
printf "${BOLD}Downloading: ${YELLOW}$filename${NORMAL}\n"
|
||||
ffmpeg.exe -protocol_whitelist file,https,crypto,tls,tcp -i $m3u8_path -acodec copy -vcodec copy "${filename}.mp4"
|
||||
ffmpeg.exe -protocol_whitelist file,data,https,crypto,tls,tcp -allowed_extensions ALL -i $m3u8_path -acodec copy -vcodec copy "${filename}.mp4"
|
||||
|
||||
if [[ $? -ne 0 ]]; then
|
||||
error "Error: failed to download."
|
||||
|
|
|
@ -51,7 +51,7 @@ fi
|
|||
printf "\n${YELLOW}${BOLD}Modifying audio volume in $filename.$extension | output: $output | delta: $delta_db${NORMAL}\n"
|
||||
|
||||
# Since we're re-encoding the audio we have to specify a codec to use.
|
||||
cmd="ffmpeg -y -stats -loglevel level+error -i \"$filename.$extension\" -af \"volume=${delta_db}dB\" -c:v copy -c:a aac -map 0 \"$output\""
|
||||
cmd="ffmpeg -y -stats -loglevel level+error -i \"$filename.$extension\" -af \"volume=${delta_db}dB\" -c:v copy -c:a aac \"$output\""
|
||||
printf "\n${BOLD}Running: $cmd\n\n${NORMAL}"
|
||||
eval $cmd
|
||||
|
||||
|
|
11
dotfiles/bin/file-checksum-md5.bat
Normal file
11
dotfiles/bin/file-checksum-md5.bat
Normal file
|
@ -0,0 +1,11 @@
|
|||
@echo off
|
||||
|
||||
if exist %1\* (
|
||||
echo Run on a file
|
||||
) else (
|
||||
if exist "%~1_checksum-md5.txt" (
|
||||
del "%~1_checksum-md5.txt"
|
||||
)
|
||||
certutil.exe -hashfile "%~1" MD5 > "%~1_checksum-md5.txt"
|
||||
start notepad "%~1_checksum-md5.txt"
|
||||
)
|
11
dotfiles/bin/file-checksum-sha1.bat
Normal file
11
dotfiles/bin/file-checksum-sha1.bat
Normal file
|
@ -0,0 +1,11 @@
|
|||
@echo off
|
||||
|
||||
if exist %1\* (
|
||||
echo Run on a file
|
||||
) else (
|
||||
if exist "%~1_checksum-sha1.txt" (
|
||||
del "%~1_checksum-sha1.txt"
|
||||
)
|
||||
certutil.exe -hashfile "%~1" SHA1 > "%~1_checksum-sha1.txt"
|
||||
start notepad "%~1_checksum-sha1.txt"
|
||||
)
|
11
dotfiles/bin/file-checksum-sha256.bat
Normal file
11
dotfiles/bin/file-checksum-sha256.bat
Normal file
|
@ -0,0 +1,11 @@
|
|||
@echo off
|
||||
|
||||
if exist %1\* (
|
||||
echo Run on a file
|
||||
) else (
|
||||
if exist "%~1_checksum-sha256.txt" (
|
||||
del "%~1_checksum-sha256.txt"
|
||||
)
|
||||
certutil.exe -hashfile "%~1" SHA256 > "%~1_checksum-sha256.txt"
|
||||
start notepad "%~1_checksum-sha256.txt"
|
||||
)
|
11
dotfiles/bin/file-checksum-sha512.bat
Normal file
11
dotfiles/bin/file-checksum-sha512.bat
Normal file
|
@ -0,0 +1,11 @@
|
|||
@echo off
|
||||
|
||||
if exist %1\* (
|
||||
echo Run on a file
|
||||
) else (
|
||||
if exist "%~1_checksum-sha512.txt" (
|
||||
del "%~1_checksum-sha512.txt"
|
||||
)
|
||||
certutil.exe -hashfile "%~1" SHA512 > "%~1_checksum-sha512.txt"
|
||||
start notepad "%~1_checksum-sha512.txt"
|
||||
)
|
|
@ -1,12 +1,13 @@
|
|||
@echo off
|
||||
|
||||
cd %DEV_TOOLS%\SysinternalsSuite
|
||||
cd /d %DEV_TOOLS%\SysinternalsSuite
|
||||
|
||||
if exist %1\* (
|
||||
echo Run on a file
|
||||
) else (
|
||||
if exist "%~1_Report.txt" (
|
||||
del "%~1_Report.txt"
|
||||
if exist "%~1_sigcheck_report.txt" (
|
||||
del "%~1_sigcheck_report.txt"
|
||||
)
|
||||
sigcheck.exe /a "%~1" > "%~1_sigcheck_report.txt"
|
||||
sigcheck64.exe /a "%~1" > "%~1_sigcheck_report.txt"
|
||||
start notepad "%~1_sigcheck_report.txt"
|
||||
)
|
||||
|
|
|
@ -34,4 +34,4 @@ end_time="$4"
|
|||
if [[ $start_time == "" ]]; then start_time="0"; fi
|
||||
if [[ $end_time == "" ]]; then end_time="0"; fi
|
||||
|
||||
transcribe-video "$1" "$2" "base"
|
||||
transcribe-video "$1" "$2" $start_time $end_time "base"
|
||||
|
|
|
@ -34,4 +34,4 @@ end_time="$4"
|
|||
if [[ $start_time == "" ]]; then start_time="0"; fi
|
||||
if [[ $end_time == "" ]]; then end_time="0"; fi
|
||||
|
||||
transcribe-video "$1" "$2" "medium"
|
||||
transcribe-video "$1" "$2" $start_time $end_time "medium"
|
||||
|
|
|
@ -34,4 +34,4 @@ end_time="$4"
|
|||
if [[ $start_time == "" ]]; then start_time="0"; fi
|
||||
if [[ $end_time == "" ]]; then end_time="0"; fi
|
||||
|
||||
transcribe-video "$1" "$2" "small"
|
||||
transcribe-video "$1" "$2" $start_time $end_time "small"
|
||||
|
|
Loading…
Reference in New Issue
Block a user