Change res from 480p to 720

master
Leo Coogan 2 years ago
parent 70f6f10064
commit 7c8cd7b685
No known key found for this signature in database
GPG Key ID: 3D7F617CDE5C9A9B

@ -1,3 +1,3 @@
#!/bin/dash
## Convert video files to mp4 x265 codec
find ./ -type f \( -iname \*.mkv -o -iname \*.mp4 -o -iname \*.webm -o -iname \*.avi \) -exec sh -c 'i="{}"; ffmpeg -y -i "$i" -vf scale=650x480 -c:v hevc -vtag hvc1 -c:a copy -crf 18 -preset ultrafast "${i%.*}-x265.mp4" && rm -f "$i"' \;
find ./ -type f \( -iname \*.mkv -o -iname \*.mp4 -o -iname \*.webm -o -iname \*.avi \) -exec sh -c 'i="{}"; ffmpeg -y -i "$i" -vf scale=1280x720 -c:v hevc -vtag hvc1 -c:a copy -crf 18 -preset ultrafast "${i%.*}-x265.mp4" && rm -f "$i"' \;

Loading…
Cancel
Save