2-pass encode

This commit is contained in:
RealStickman 2022-05-10 11:43:42 +02:00
parent b2a334bc08
commit a63215a267

View File

@ -116,3 +116,19 @@ for i in (seq -w 1 37); ffmpeg -i Death\ Note\ {$i}.mkv -map 0:s:0 -metadata:s:s
/mnt/storage/MediaLibrary/output/Death\ Note\ Subs\ Redc4t/Death\ Note\ Subs\ Redc4t\ \-\ S01E{$i}.ass; end
```
Encoding stuff but with a set bitrate and using hevc (cause VP9 is kinda unsupported still)
Bitrate of 20 Mib/20480 kib
```
ffmpeg -y -i "/mnt/storage/MediaLibrary/Shows/To Your Eternity (2021)/Seaso
n 01/S01E01 - The Last One [1080p].mkv" -c:v libx265 -b:v 20480k -map 0:v:0 -x265-params pass=1 -f null /d
ev/null && \
ffmpeg -i "/mnt/storage/MediaLibrary/Shows/To Your Eternity (2021)/Seas
on 01/S01E01 - The Last One [1080p].mkv" \
-c:v libx265 -b:v 20480k -map 0:v:0 -x265-params pass=2 \
-c:a copy -map 0:a -c:s copy -map 0:s "/mnt/storage/MediaLibrary/output
/To Your Eternity/S01E01.mkv"
```