Zvětšení kompresního poměru
This commit is contained in:
@@ -6,8 +6,8 @@ if [[ ! -f "ffmpeg2pass-0.log" ]]; then
|
||||
|
||||
nameWithoutExtension=$(echo $videoToConvert | sed 's/\..*//')
|
||||
|
||||
ffmpeg -i $videoToConvert -c:v libvpx-vp9 -b:v 0 -crf 10 -pass 1 -an -f null /dev/null && \
|
||||
ffmpeg -i $videoToConvert -c:v libvpx-vp9 -b:v 0 -crf 10 -pass 2 -c:a libopus transcoding-$nameWithoutExtension.webm
|
||||
ffmpeg -i $videoToConvert -c:v libvpx-vp9 -b:v 0 -crf 35 -pass 1 -an -f null /dev/null && \
|
||||
ffmpeg -i $videoToConvert -c:v libvpx-vp9 -b:v 0 -crf 35 -pass 2 -c:a libopus transcoding-$nameWithoutExtension.webm
|
||||
|
||||
mv transcoding-$nameWithoutExtension.webm c$nameWithoutExtension.webm
|
||||
|
||||
|
||||
Reference in New Issue
Block a user