mirror of
https://github.com/mr0xb/scripts.git
synced 2026-08-28 03:44:57 -04:00
.
This commit is contained in:
parent
e698f046c8
commit
1c58245cc5
1 changed files with 10 additions and 1 deletions
|
|
@ -5,7 +5,16 @@ if [ -f "$file" ];
|
|||
then
|
||||
|
||||
output="${file##*/}"
|
||||
/usr/bin/HandBrakeCLI --preset-import-gui preset.json -map-metadata 0 -E mp3 -B 128 -b 1600 -e x265 -x vbv-maxrate=1600 -x vbv-bufsize=2200 -X 1920 -Y 1080 --audio-lang-list "eng" --subtitle-lang-list "eng" --all-subtitles -i "${file}" -o "${output%.*}.mkv"
|
||||
/usr/bin/HandBrakeCLI \
|
||||
--preset-import-gui preset.json \
|
||||
-map-metadata 0 -E mp3 -B 128 -b 1600 -e x265 \
|
||||
-x vbv-maxrate=1600 -x vbv-bufsize=2200 \
|
||||
-X 1920 -Y 1080 \
|
||||
--audio-lang-list "eng" \
|
||||
--subtitle-lang-list "eng" \
|
||||
--all-subtitles \
|
||||
-i "${file}" \
|
||||
-o "${output%.*}.mkv"
|
||||
if [ $? -eq 0 ]
|
||||
then
|
||||
echo "would have moved $file to $file.old" >> log.txt
|
||||
|
|
|
|||
Loading…
Reference in a new issue