/var/lib/snapd/snap/bin/ffmpeg -i  'Immortality S1 - 01.mkv' -i /root/logo.png -filter_complex '[0:v][1:v]overlay=10:10:enable=between(t\,0\,15)' -c:v libx264 -crf 28 -x264-params cabac=1:ref=5:analyse=0x133:me=umh:subme=9:chroma-me=1:deadzone-inter=21:deadzone-intra=11:b-adapt=2:rc-lookahead=60:vbv-maxrate=10000:vbv-bufsize=10000:qpmax=69:bframes=5:b-adapt=2:direct=auto:crf-max=51:weightp=2:merange=24:chroma-qp-offset=-1:sync-lookahead=2:psy-rd=1.00,0.15:trellis=2:min-keyint=23:partitions=all -c:a libfdk_aac -ar 48000 -b:a 192k -map 0 -preset superfast 'Immortality S1 - 01 [1080p]d.mkv' &&
/var/lib/snapd/snap/bin/ffmpeg -i  'Immortality S1 - 01 [1080p]d.mkv' -vf scale=-1:720 -c:v libx264 -crf 27 -c:a libfdk_aac -ar 48000 -b:a 192k -map 0 -preset superfast 'Immortality S1 - 01 [720p]d.mkv' &&
/var/lib/snapd/snap/bin/ffmpeg -i  'Immortality S1 - 01 [720p]d.mkv' -vf scale=858:480 -c:v libx264 -crf 27 -c:a libfdk_aac -ar 48000 -b:a 192k -map 0 -preset superfast 'Immortality S1 - 01 [480p]d.mkv' &&
rm -rf 'Immortality S1 - 01.mkv' &&
/var/lib/snapd/snap/bin/ffmpeg -i  'Immortality S1 - 02.mkv' -i /root/logo.png -filter_complex '[0:v][1:v]overlay=10:10:enable=between(t\,0\,15)' -c:v libx264 -crf 28 -x264-params cabac=1:ref=5:analyse=0x133:me=umh:subme=9:chroma-me=1:deadzone-inter=21:deadzone-intra=11:b-adapt=2:rc-lookahead=60:vbv-maxrate=10000:vbv-bufsize=10000:qpmax=69:bframes=5:b-adapt=2:direct=auto:crf-max=51:weightp=2:merange=24:chroma-qp-offset=-1:sync-lookahead=2:psy-rd=1.00,0.15:trellis=2:min-keyint=23:partitions=all -c:a libfdk_aac -ar 48000 -b:a 192k -map 0 -preset superfast 'Immortality S1 - 02 [1080p]d.mkv' &&
/var/lib/snapd/snap/bin/ffmpeg -i  'Immortality S1 - 02 [1080p]d.mkv' -vf scale=-1:720 -c:v libx264 -crf 27 -c:a libfdk_aac -ar 48000 -b:a 192k -map 0 -preset superfast 'Immortality S1 - 02 [720p]d.mkv' &&
/var/lib/snapd/snap/bin/ffmpeg -i  'Immortality S1 - 02 [720p]d.mkv' -vf scale=858:480 -c:v libx264 -crf 27 -c:a libfdk_aac -ar 48000 -b:a 192k -map 0 -preset superfast 'Immortality S1 - 02 [480p]d.mkv' &&
rm -rf 'Immortality S1 - 02.mkv' &&
/var/lib/snapd/snap/bin/ffmpeg -i  'Immortality S1 - 03.mkv' -i /root/logo.png -filter_complex '[0:v][1:v]overlay=10:10:enable=between(t\,0\,15)' -c:v libx264 -crf 28 -x264-params cabac=1:ref=5:analyse=0x133:me=umh:subme=9:chroma-me=1:deadzone-inter=21:deadzone-intra=11:b-adapt=2:rc-lookahead=60:vbv-maxrate=10000:vbv-bufsize=10000:qpmax=69:bframes=5:b-adapt=2:direct=auto:crf-max=51:weightp=2:merange=24:chroma-qp-offset=-1:sync-lookahead=2:psy-rd=1.00,0.15:trellis=2:min-keyint=23:partitions=all -c:a libfdk_aac -ar 48000 -b:a 192k -map 0 -preset superfast 'Immortality S1 - 03 [1080p]d.mkv' &&
/var/lib/snapd/snap/bin/ffmpeg -i  'Immortality S1 - 03 [1080p]d.mkv' -vf scale=-1:720 -c:v libx264 -crf 27 -c:a libfdk_aac -ar 48000 -b:a 192k -map 0 -preset superfast 'Immortality S1 - 03 [720p]d.mkv' &&
/var/lib/snapd/snap/bin/ffmpeg -i  'Immortality S1 - 03 [720p]d.mkv' -vf scale=858:480 -c:v libx264 -crf 27 -c:a libfdk_aac -ar 48000 -b:a 192k -map 0 -preset superfast 'Immortality S1 - 03 [480p]d.mkv' &&
rm -rf 'Immortality S1 - 03.mkv' &&
/var/lib/snapd/snap/bin/ffmpeg -i  'Immortality S1 - 04.mkv' -i /root/logo.png -filter_complex '[0:v][1:v]overlay=10:10:enable=between(t\,0\,15)' -c:v libx264 -crf 28 -x264-params cabac=1:ref=5:analyse=0x133:me=umh:subme=9:chroma-me=1:deadzone-inter=21:deadzone-intra=11:b-adapt=2:rc-lookahead=60:vbv-maxrate=10000:vbv-bufsize=10000:qpmax=69:bframes=5:b-adapt=2:direct=auto:crf-max=51:weightp=2:merange=24:chroma-qp-offset=-1:sync-lookahead=2:psy-rd=1.00,0.15:trellis=2:min-keyint=23:partitions=all -c:a libfdk_aac -ar 48000 -b:a 192k -map 0 -preset superfast 'Immortality S1 - 04 [1080p]d.mkv' &&
/var/lib/snapd/snap/bin/ffmpeg -i  'Immortality S1 - 04 [1080p]d.mkv' -vf scale=-1:720 -c:v libx264 -crf 27 -c:a libfdk_aac -ar 48000 -b:a 192k -map 0 -preset superfast 'Immortality S1 - 04 [720p]d.mkv' &&
/var/lib/snapd/snap/bin/ffmpeg -i  'Immortality S1 - 04 [720p]d.mkv' -vf scale=858:480 -c:v libx264 -crf 27 -c:a libfdk_aac -ar 48000 -b:a 192k -map 0 -preset superfast 'Immortality S1 - 04 [480p]d.mkv' &&
rm -rf 'Immortality S1 - 04.mkv' &&
/var/lib/snapd/snap/bin/ffmpeg -i  'Immortality S1 - 05.mkv' -i /root/logo.png -filter_complex '[0:v][1:v]overlay=10:10:enable=between(t\,0\,15)' -c:v libx264 -crf 28 -x264-params cabac=1:ref=5:analyse=0x133:me=umh:subme=9:chroma-me=1:deadzone-inter=21:deadzone-intra=11:b-adapt=2:rc-lookahead=60:vbv-maxrate=10000:vbv-bufsize=10000:qpmax=69:bframes=5:b-adapt=2:direct=auto:crf-max=51:weightp=2:merange=24:chroma-qp-offset=-1:sync-lookahead=2:psy-rd=1.00,0.15:trellis=2:min-keyint=23:partitions=all -c:a libfdk_aac -ar 48000 -b:a 192k -map 0 -preset superfast 'Immortality S1 - 05 [1080p]d.mkv' &&
/var/lib/snapd/snap/bin/ffmpeg -i  'Immortality S1 - 05 [1080p]d.mkv' -vf scale=-1:720 -c:v libx264 -crf 27 -c:a libfdk_aac -ar 48000 -b:a 192k -map 0 -preset superfast 'Immortality S1 - 05 [720p]d.mkv' &&
/var/lib/snapd/snap/bin/ffmpeg -i  'Immortality S1 - 05 [720p]d.mkv' -vf scale=858:480 -c:v libx264 -crf 27 -c:a libfdk_aac -ar 48000 -b:a 192k -map 0 -preset superfast 'Immortality S1 - 05 [480p]d.mkv' &&
rm -rf 'Immortality S1 - 05.mkv' &&
/var/lib/snapd/snap/bin/ffmpeg -i  'Immortality S1 - 06.mkv' -i /root/logo.png -filter_complex '[0:v][1:v]overlay=10:10:enable=between(t\,0\,15)' -c:v libx264 -crf 28 -x264-params cabac=1:ref=5:analyse=0x133:me=umh:subme=9:chroma-me=1:deadzone-inter=21:deadzone-intra=11:b-adapt=2:rc-lookahead=60:vbv-maxrate=10000:vbv-bufsize=10000:qpmax=69:bframes=5:b-adapt=2:direct=auto:crf-max=51:weightp=2:merange=24:chroma-qp-offset=-1:sync-lookahead=2:psy-rd=1.00,0.15:trellis=2:min-keyint=23:partitions=all -c:a libfdk_aac -ar 48000 -b:a 192k -map 0 -preset superfast 'Immortality S1 - 06 [1080p]d.mkv' &&
/var/lib/snapd/snap/bin/ffmpeg -i  'Immortality S1 - 06 [1080p]d.mkv' -vf scale=-1:720 -c:v libx264 -crf 27 -c:a libfdk_aac -ar 48000 -b:a 192k -map 0 -preset superfast 'Immortality S1 - 06 [720p]d.mkv' &&
/var/lib/snapd/snap/bin/ffmpeg -i  'Immortality S1 - 06 [720p]d.mkv' -vf scale=858:480 -c:v libx264 -crf 27 -c:a libfdk_aac -ar 48000 -b:a 192k -map 0 -preset superfast 'Immortality S1 - 06 [480p]d.mkv' &&
rm -rf 'Immortality S1 - 06.mkv' &&
/var/lib/snapd/snap/bin/ffmpeg -i  'Immortality S1 - 07.mkv' -i /root/logo.png -filter_complex '[0:v][1:v]overlay=10:10:enable=between(t\,0\,15)' -c:v libx264 -crf 28 -x264-params cabac=1:ref=5:analyse=0x133:me=umh:subme=9:chroma-me=1:deadzone-inter=21:deadzone-intra=11:b-adapt=2:rc-lookahead=60:vbv-maxrate=10000:vbv-bufsize=10000:qpmax=69:bframes=5:b-adapt=2:direct=auto:crf-max=51:weightp=2:merange=24:chroma-qp-offset=-1:sync-lookahead=2:psy-rd=1.00,0.15:trellis=2:min-keyint=23:partitions=all -c:a libfdk_aac -ar 48000 -b:a 192k -map 0 -preset superfast 'Immortality S1 - 07 [1080p]d.mkv' &&
/var/lib/snapd/snap/bin/ffmpeg -i  'Immortality S1 - 07 [1080p]d.mkv' -vf scale=-1:720 -c:v libx264 -crf 27 -c:a libfdk_aac -ar 48000 -b:a 192k -map 0 -preset superfast 'Immortality S1 - 07 [720p]d.mkv' &&
/var/lib/snapd/snap/bin/ffmpeg -i  'Immortality S1 - 07 [720p]d.mkv' -vf scale=858:480 -c:v libx264 -crf 27 -c:a libfdk_aac -ar 48000 -b:a 192k -map 0 -preset superfast 'Immortality S1 - 07 [480p]d.mkv' &&
rm -rf 'Immortality S1 - 07.mkv' &&
/var/lib/snapd/snap/bin/ffmpeg -i  'Immortality S1 - 08.mkv' -i /root/logo.png -filter_complex '[0:v][1:v]overlay=10:10:enable=between(t\,0\,15)' -c:v libx264 -crf 28 -x264-params cabac=1:ref=5:analyse=0x133:me=umh:subme=9:chroma-me=1:deadzone-inter=21:deadzone-intra=11:b-adapt=2:rc-lookahead=60:vbv-maxrate=10000:vbv-bufsize=10000:qpmax=69:bframes=5:b-adapt=2:direct=auto:crf-max=51:weightp=2:merange=24:chroma-qp-offset=-1:sync-lookahead=2:psy-rd=1.00,0.15:trellis=2:min-keyint=23:partitions=all -c:a libfdk_aac -ar 48000 -b:a 192k -map 0 -preset superfast 'Immortality S1 - 08 [1080p]d.mkv' &&
/var/lib/snapd/snap/bin/ffmpeg -i  'Immortality S1 - 08 [1080p]d.mkv' -vf scale=-1:720 -c:v libx264 -crf 27 -c:a libfdk_aac -ar 48000 -b:a 192k -map 0 -preset superfast 'Immortality S1 - 08 [720p]d.mkv' &&
/var/lib/snapd/snap/bin/ffmpeg -i  'Immortality S1 - 08 [720p]d.mkv' -vf scale=858:480 -c:v libx264 -crf 27 -c:a libfdk_aac -ar 48000 -b:a 192k -map 0 -preset superfast 'Immortality S1 - 08 [480p]d.mkv' &&
rm -rf 'Immortality S1 - 08.mkv' &&
/var/lib/snapd/snap/bin/ffmpeg -i  'Immortality S1 - 09.mkv' -i /root/logo.png -filter_complex '[0:v][1:v]overlay=10:10:enable=between(t\,0\,15)' -c:v libx264 -crf 28 -x264-params cabac=1:ref=5:analyse=0x133:me=umh:subme=9:chroma-me=1:deadzone-inter=21:deadzone-intra=11:b-adapt=2:rc-lookahead=60:vbv-maxrate=10000:vbv-bufsize=10000:qpmax=69:bframes=5:b-adapt=2:direct=auto:crf-max=51:weightp=2:merange=24:chroma-qp-offset=-1:sync-lookahead=2:psy-rd=1.00,0.15:trellis=2:min-keyint=23:partitions=all -c:a libfdk_aac -ar 48000 -b:a 192k -map 0 -preset superfast 'Immortality S1 - 09 [1080p]d.mkv' &&
/var/lib/snapd/snap/bin/ffmpeg -i  'Immortality S1 - 09 [1080p]d.mkv' -vf scale=-1:720 -c:v libx264 -crf 27 -c:a libfdk_aac -ar 48000 -b:a 192k -map 0 -preset superfast 'Immortality S1 - 09 [720p]d.mkv' &&
/var/lib/snapd/snap/bin/ffmpeg -i  'Immortality S1 - 09 [720p]d.mkv' -vf scale=858:480 -c:v libx264 -crf 27 -c:a libfdk_aac -ar 48000 -b:a 192k -map 0 -preset superfast 'Immortality S1 - 09 [480p]d.mkv' &&
rm -rf 'Immortality S1 - 09.mkv' &&
/var/lib/snapd/snap/bin/ffmpeg -i  'Immortality S1 - 10.mkv' -i /root/logo.png -filter_complex '[0:v][1:v]overlay=10:10:enable=between(t\,0\,15)' -c:v libx264 -crf 28 -x264-params cabac=1:ref=5:analyse=0x133:me=umh:subme=9:chroma-me=1:deadzone-inter=21:deadzone-intra=11:b-adapt=2:rc-lookahead=60:vbv-maxrate=10000:vbv-bufsize=10000:qpmax=69:bframes=5:b-adapt=2:direct=auto:crf-max=51:weightp=2:merange=24:chroma-qp-offset=-1:sync-lookahead=2:psy-rd=1.00,0.15:trellis=2:min-keyint=23:partitions=all -c:a libfdk_aac -ar 48000 -b:a 192k -map 0 -preset superfast 'Immortality S1 - 10 [1080p]d.mkv' &&
/var/lib/snapd/snap/bin/ffmpeg -i  'Immortality S1 - 10 [1080p]d.mkv' -vf scale=-1:720 -c:v libx264 -crf 27 -c:a libfdk_aac -ar 48000 -b:a 192k -map 0 -preset superfast 'Immortality S1 - 10 [720p]d.mkv' &&
/var/lib/snapd/snap/bin/ffmpeg -i  'Immortality S1 - 10 [720p]d.mkv' -vf scale=858:480 -c:v libx264 -crf 27 -c:a libfdk_aac -ar 48000 -b:a 192k -map 0 -preset superfast 'Immortality S1 - 10 [480p]d.mkv' &&
rm -rf 'Immortality S1 - 10.mkv' &&
/var/lib/snapd/snap/bin/ffmpeg -i  'Immortality S1 - 11.mkv' -i /root/logo.png -filter_complex '[0:v][1:v]overlay=10:10:enable=between(t\,0\,15)' -c:v libx264 -crf 28 -x264-params cabac=1:ref=5:analyse=0x133:me=umh:subme=9:chroma-me=1:deadzone-inter=21:deadzone-intra=11:b-adapt=2:rc-lookahead=60:vbv-maxrate=10000:vbv-bufsize=10000:qpmax=69:bframes=5:b-adapt=2:direct=auto:crf-max=51:weightp=2:merange=24:chroma-qp-offset=-1:sync-lookahead=2:psy-rd=1.00,0.15:trellis=2:min-keyint=23:partitions=all -c:a libfdk_aac -ar 48000 -b:a 192k -map 0 -preset superfast 'Immortality S1 - 11 [1080p]d.mkv' &&
/var/lib/snapd/snap/bin/ffmpeg -i  'Immortality S1 - 11 [1080p]d.mkv' -vf scale=-1:720 -c:v libx264 -crf 27 -c:a libfdk_aac -ar 48000 -b:a 192k -map 0 -preset superfast 'Immortality S1 - 11 [720p]d.mkv' &&
/var/lib/snapd/snap/bin/ffmpeg -i  'Immortality S1 - 11 [720p]d.mkv' -vf scale=858:480 -c:v libx264 -crf 27 -c:a libfdk_aac -ar 48000 -b:a 192k -map 0 -preset superfast 'Immortality S1 - 11 [480p]d.mkv' &&
rm -rf 'Immortality S1 - 11.mkv' &&
/var/lib/snapd/snap/bin/ffmpeg -i  'Immortality S1 - 12.mkv' -i /root/logo.png -filter_complex '[0:v][1:v]overlay=10:10:enable=between(t\,0\,15)' -c:v libx264 -crf 28 -x264-params cabac=1:ref=5:analyse=0x133:me=umh:subme=9:chroma-me=1:deadzone-inter=21:deadzone-intra=11:b-adapt=2:rc-lookahead=60:vbv-maxrate=10000:vbv-bufsize=10000:qpmax=69:bframes=5:b-adapt=2:direct=auto:crf-max=51:weightp=2:merange=24:chroma-qp-offset=-1:sync-lookahead=2:psy-rd=1.00,0.15:trellis=2:min-keyint=23:partitions=all -c:a libfdk_aac -ar 48000 -b:a 192k -map 0 -preset superfast 'Immortality S1 - 12 [1080p]d.mkv' &&
/var/lib/snapd/snap/bin/ffmpeg -i  'Immortality S1 - 12 [1080p]d.mkv' -vf scale=-1:720 -c:v libx264 -crf 27 -c:a libfdk_aac -ar 48000 -b:a 192k -map 0 -preset superfast 'Immortality S1 - 12 [720p]d.mkv' &&
/var/lib/snapd/snap/bin/ffmpeg -i  'Immortality S1 - 12 [720p]d.mkv' -vf scale=858:480 -c:v libx264 -crf 27 -c:a libfdk_aac -ar 48000 -b:a 192k -map 0 -preset superfast 'Immortality S1 - 12 [480p]d.mkv' &&
rm -rf 'Immortality S1 - 12.mkv' &&
/var/lib/snapd/snap/bin/ffmpeg -i  'Immortality S2 - 01.mkv' -i /root/logo.png -filter_complex '[0:v][1:v]overlay=10:10:enable=between(t\,0\,15)' -c:v libx264 -crf 28 -x264-params cabac=1:ref=5:analyse=0x133:me=umh:subme=9:chroma-me=1:deadzone-inter=21:deadzone-intra=11:b-adapt=2:rc-lookahead=60:vbv-maxrate=10000:vbv-bufsize=10000:qpmax=69:bframes=5:b-adapt=2:direct=auto:crf-max=51:weightp=2:merange=24:chroma-qp-offset=-1:sync-lookahead=2:psy-rd=1.00,0.15:trellis=2:min-keyint=23:partitions=all -c:a libfdk_aac -ar 48000 -b:a 192k -map 0 -preset superfast 'Immortality S2 - 01 [1080p]d.mkv' &&
/var/lib/snapd/snap/bin/ffmpeg -i  'Immortality S2 - 01 [1080p]d.mkv' -vf scale=-1:720 -c:v libx264 -crf 27 -c:a libfdk_aac -ar 48000 -b:a 192k -map 0 -preset superfast 'Immortality S2 - 01 [720p]d.mkv' &&
/var/lib/snapd/snap/bin/ffmpeg -i  'Immortality S2 - 01 [720p]d.mkv' -vf scale=858:480 -c:v libx264 -crf 27 -c:a libfdk_aac -ar 48000 -b:a 192k -map 0 -preset superfast 'Immortality S2 - 01 [480p]d.mkv' &&
rm -rf 'Immortality S2 - 01.mkv' &&
/var/lib/snapd/snap/bin/ffmpeg -i  'Immortality S2 - 02.mkv' -i /root/logo.png -filter_complex '[0:v][1:v]overlay=10:10:enable=between(t\,0\,15)' -c:v libx264 -crf 28 -x264-params cabac=1:ref=5:analyse=0x133:me=umh:subme=9:chroma-me=1:deadzone-inter=21:deadzone-intra=11:b-adapt=2:rc-lookahead=60:vbv-maxrate=10000:vbv-bufsize=10000:qpmax=69:bframes=5:b-adapt=2:direct=auto:crf-max=51:weightp=2:merange=24:chroma-qp-offset=-1:sync-lookahead=2:psy-rd=1.00,0.15:trellis=2:min-keyint=23:partitions=all -c:a libfdk_aac -ar 48000 -b:a 192k -map 0 -preset superfast 'Immortality S2 - 02 [1080p]d.mkv' &&
/var/lib/snapd/snap/bin/ffmpeg -i  'Immortality S2 - 02 [1080p]d.mkv' -vf scale=-1:720 -c:v libx264 -crf 27 -c:a libfdk_aac -ar 48000 -b:a 192k -map 0 -preset superfast 'Immortality S2 - 02 [720p]d.mkv' &&
/var/lib/snapd/snap/bin/ffmpeg -i  'Immortality S2 - 02 [720p]d.mkv' -vf scale=858:480 -c:v libx264 -crf 27 -c:a libfdk_aac -ar 48000 -b:a 192k -map 0 -preset superfast 'Immortality S2 - 02 [480p]d.mkv' &&
rm -rf 'Immortality S2 - 02.mkv' &&
/var/lib/snapd/snap/bin/ffmpeg -i  'Immortality S2 - 03.mkv' -i /root/logo.png -filter_complex '[0:v][1:v]overlay=10:10:enable=between(t\,0\,15)' -c:v libx264 -crf 28 -x264-params cabac=1:ref=5:analyse=0x133:me=umh:subme=9:chroma-me=1:deadzone-inter=21:deadzone-intra=11:b-adapt=2:rc-lookahead=60:vbv-maxrate=10000:vbv-bufsize=10000:qpmax=69:bframes=5:b-adapt=2:direct=auto:crf-max=51:weightp=2:merange=24:chroma-qp-offset=-1:sync-lookahead=2:psy-rd=1.00,0.15:trellis=2:min-keyint=23:partitions=all -c:a libfdk_aac -ar 48000 -b:a 192k -map 0 -preset superfast 'Immortality S2 - 03 [1080p]d.mkv' &&
/var/lib/snapd/snap/bin/ffmpeg -i  'Immortality S2 - 03 [1080p]d.mkv' -vf scale=-1:720 -c:v libx264 -crf 27 -c:a libfdk_aac -ar 48000 -b:a 192k -map 0 -preset superfast 'Immortality S2 - 03 [720p]d.mkv' &&
/var/lib/snapd/snap/bin/ffmpeg -i  'Immortality S2 - 03 [720p]d.mkv' -vf scale=858:480 -c:v libx264 -crf 27 -c:a libfdk_aac -ar 48000 -b:a 192k -map 0 -preset superfast 'Immortality S2 - 03 [480p]d.mkv' &&
rm -rf 'Immortality S2 - 03.mkv' &&
/var/lib/snapd/snap/bin/ffmpeg -i  'Immortality S2 - 04.mkv' -i /root/logo.png -filter_complex '[0:v][1:v]overlay=10:10:enable=between(t\,0\,15)' -c:v libx264 -crf 28 -x264-params cabac=1:ref=5:analyse=0x133:me=umh:subme=9:chroma-me=1:deadzone-inter=21:deadzone-intra=11:b-adapt=2:rc-lookahead=60:vbv-maxrate=10000:vbv-bufsize=10000:qpmax=69:bframes=5:b-adapt=2:direct=auto:crf-max=51:weightp=2:merange=24:chroma-qp-offset=-1:sync-lookahead=2:psy-rd=1.00,0.15:trellis=2:min-keyint=23:partitions=all -c:a libfdk_aac -ar 48000 -b:a 192k -map 0 -preset superfast 'Immortality S2 - 04 [1080p]d.mkv' &&
/var/lib/snapd/snap/bin/ffmpeg -i  'Immortality S2 - 04 [1080p]d.mkv' -vf scale=-1:720 -c:v libx264 -crf 27 -c:a libfdk_aac -ar 48000 -b:a 192k -map 0 -preset superfast 'Immortality S2 - 04 [720p]d.mkv' &&
/var/lib/snapd/snap/bin/ffmpeg -i  'Immortality S2 - 04 [720p]d.mkv' -vf scale=858:480 -c:v libx264 -crf 27 -c:a libfdk_aac -ar 48000 -b:a 192k -map 0 -preset superfast 'Immortality S2 - 04 [480p]d.mkv' &&
rm -rf 'Immortality S2 - 04.mkv' &&
/var/lib/snapd/snap/bin/ffmpeg -i  'Immortality S2 - 05.mkv' -i /root/logo.png -filter_complex '[0:v][1:v]overlay=10:10:enable=between(t\,0\,15)' -c:v libx264 -crf 28 -x264-params cabac=1:ref=5:analyse=0x133:me=umh:subme=9:chroma-me=1:deadzone-inter=21:deadzone-intra=11:b-adapt=2:rc-lookahead=60:vbv-maxrate=10000:vbv-bufsize=10000:qpmax=69:bframes=5:b-adapt=2:direct=auto:crf-max=51:weightp=2:merange=24:chroma-qp-offset=-1:sync-lookahead=2:psy-rd=1.00,0.15:trellis=2:min-keyint=23:partitions=all -c:a libfdk_aac -ar 48000 -b:a 192k -map 0 -preset superfast 'Immortality S2 - 05 [1080p]d.mkv' &&
/var/lib/snapd/snap/bin/ffmpeg -i  'Immortality S2 - 05 [1080p]d.mkv' -vf scale=-1:720 -c:v libx264 -crf 27 -c:a libfdk_aac -ar 48000 -b:a 192k -map 0 -preset superfast 'Immortality S2 - 05 [720p]d.mkv' &&
/var/lib/snapd/snap/bin/ffmpeg -i  'Immortality S2 - 05 [720p]d.mkv' -vf scale=858:480 -c:v libx264 -crf 27 -c:a libfdk_aac -ar 48000 -b:a 192k -map 0 -preset superfast 'Immortality S2 - 05 [480p]d.mkv' &&
rm -rf 'Immortality S2 - 05.mkv' &&
/var/lib/snapd/snap/bin/ffmpeg -i  'Immortality S2 - 06.mkv' -i /root/logo.png -filter_complex '[0:v][1:v]overlay=10:10:enable=between(t\,0\,15)' -c:v libx264 -crf 28 -x264-params cabac=1:ref=5:analyse=0x133:me=umh:subme=9:chroma-me=1:deadzone-inter=21:deadzone-intra=11:b-adapt=2:rc-lookahead=60:vbv-maxrate=10000:vbv-bufsize=10000:qpmax=69:bframes=5:b-adapt=2:direct=auto:crf-max=51:weightp=2:merange=24:chroma-qp-offset=-1:sync-lookahead=2:psy-rd=1.00,0.15:trellis=2:min-keyint=23:partitions=all -c:a libfdk_aac -ar 48000 -b:a 192k -map 0 -preset superfast 'Immortality S2 - 06 [1080p]d.mkv' &&
/var/lib/snapd/snap/bin/ffmpeg -i  'Immortality S2 - 06 [1080p]d.mkv' -vf scale=-1:720 -c:v libx264 -crf 27 -c:a libfdk_aac -ar 48000 -b:a 192k -map 0 -preset superfast 'Immortality S2 - 06 [720p]d.mkv' &&
/var/lib/snapd/snap/bin/ffmpeg -i  'Immortality S2 - 06 [720p]d.mkv' -vf scale=858:480 -c:v libx264 -crf 27 -c:a libfdk_aac -ar 48000 -b:a 192k -map 0 -preset superfast 'Immortality S2 - 06 [480p]d.mkv' &&
rm -rf 'Immortality S2 - 06.mkv' &&
/var/lib/snapd/snap/bin/ffmpeg -i  'Immortality S2 - 07.mkv' -i /root/logo.png -filter_complex '[0:v][1:v]overlay=10:10:enable=between(t\,0\,15)' -c:v libx264 -crf 28 -x264-params cabac=1:ref=5:analyse=0x133:me=umh:subme=9:chroma-me=1:deadzone-inter=21:deadzone-intra=11:b-adapt=2:rc-lookahead=60:vbv-maxrate=10000:vbv-bufsize=10000:qpmax=69:bframes=5:b-adapt=2:direct=auto:crf-max=51:weightp=2:merange=24:chroma-qp-offset=-1:sync-lookahead=2:psy-rd=1.00,0.15:trellis=2:min-keyint=23:partitions=all -c:a libfdk_aac -ar 48000 -b:a 192k -map 0 -preset superfast 'Immortality S2 - 07 [1080p]d.mkv' &&
/var/lib/snapd/snap/bin/ffmpeg -i  'Immortality S2 - 07 [1080p]d.mkv' -vf scale=-1:720 -c:v libx264 -crf 27 -c:a libfdk_aac -ar 48000 -b:a 192k -map 0 -preset superfast 'Immortality S2 - 07 [720p]d.mkv' &&
/var/lib/snapd/snap/bin/ffmpeg -i  'Immortality S2 - 07 [720p]d.mkv' -vf scale=858:480 -c:v libx264 -crf 27 -c:a libfdk_aac -ar 48000 -b:a 192k -map 0 -preset superfast 'Immortality S2 - 07 [480p]d.mkv' &&
rm -rf 'Immortality S2 - 07.mkv' &&
/var/lib/snapd/snap/bin/ffmpeg -i  'Immortality S2 - 08.mkv' -i /root/logo.png -filter_complex '[0:v][1:v]overlay=10:10:enable=between(t\,0\,15)' -c:v libx264 -crf 28 -x264-params cabac=1:ref=5:analyse=0x133:me=umh:subme=9:chroma-me=1:deadzone-inter=21:deadzone-intra=11:b-adapt=2:rc-lookahead=60:vbv-maxrate=10000:vbv-bufsize=10000:qpmax=69:bframes=5:b-adapt=2:direct=auto:crf-max=51:weightp=2:merange=24:chroma-qp-offset=-1:sync-lookahead=2:psy-rd=1.00,0.15:trellis=2:min-keyint=23:partitions=all -c:a libfdk_aac -ar 48000 -b:a 192k -map 0 -preset superfast 'Immortality S2 - 08 [1080p]d.mkv' &&
/var/lib/snapd/snap/bin/ffmpeg -i  'Immortality S2 - 08 [1080p]d.mkv' -vf scale=-1:720 -c:v libx264 -crf 27 -c:a libfdk_aac -ar 48000 -b:a 192k -map 0 -preset superfast 'Immortality S2 - 08 [720p]d.mkv' &&
/var/lib/snapd/snap/bin/ffmpeg -i  'Immortality S2 - 08 [720p]d.mkv' -vf scale=858:480 -c:v libx264 -crf 27 -c:a libfdk_aac -ar 48000 -b:a 192k -map 0 -preset superfast 'Immortality S2 - 08 [480p]d.mkv' &&
rm -rf 'Immortality S2 - 08.mkv' &&
/var/lib/snapd/snap/bin/ffmpeg -i  'Immortality S2 - 09.mkv' -i /root/logo.png -filter_complex '[0:v][1:v]overlay=10:10:enable=between(t\,0\,15)' -c:v libx264 -crf 28 -x264-params cabac=1:ref=5:analyse=0x133:me=umh:subme=9:chroma-me=1:deadzone-inter=21:deadzone-intra=11:b-adapt=2:rc-lookahead=60:vbv-maxrate=10000:vbv-bufsize=10000:qpmax=69:bframes=5:b-adapt=2:direct=auto:crf-max=51:weightp=2:merange=24:chroma-qp-offset=-1:sync-lookahead=2:psy-rd=1.00,0.15:trellis=2:min-keyint=23:partitions=all -c:a libfdk_aac -ar 48000 -b:a 192k -map 0 -preset superfast 'Immortality S2 - 09 [1080p]d.mkv' &&
/var/lib/snapd/snap/bin/ffmpeg -i  'Immortality S2 - 09 [1080p]d.mkv' -vf scale=-1:720 -c:v libx264 -crf 27 -c:a libfdk_aac -ar 48000 -b:a 192k -map 0 -preset superfast 'Immortality S2 - 09 [720p]d.mkv' &&
/var/lib/snapd/snap/bin/ffmpeg -i  'Immortality S2 - 09 [720p]d.mkv' -vf scale=858:480 -c:v libx264 -crf 27 -c:a libfdk_aac -ar 48000 -b:a 192k -map 0 -preset superfast 'Immortality S2 - 09 [480p]d.mkv' &&
rm -rf 'Immortality S2 - 09.mkv' &&
/var/lib/snapd/snap/bin/ffmpeg -i  'Immortality S2 - 10.mkv' -i /root/logo.png -filter_complex '[0:v][1:v]overlay=10:10:enable=between(t\,0\,15)' -c:v libx264 -crf 28 -x264-params cabac=1:ref=5:analyse=0x133:me=umh:subme=9:chroma-me=1:deadzone-inter=21:deadzone-intra=11:b-adapt=2:rc-lookahead=60:vbv-maxrate=10000:vbv-bufsize=10000:qpmax=69:bframes=5:b-adapt=2:direct=auto:crf-max=51:weightp=2:merange=24:chroma-qp-offset=-1:sync-lookahead=2:psy-rd=1.00,0.15:trellis=2:min-keyint=23:partitions=all -c:a libfdk_aac -ar 48000 -b:a 192k -map 0 -preset superfast 'Immortality S2 - 10 [1080p]d.mkv' &&
/var/lib/snapd/snap/bin/ffmpeg -i  'Immortality S2 - 10 [1080p]d.mkv' -vf scale=-1:720 -c:v libx264 -crf 27 -c:a libfdk_aac -ar 48000 -b:a 192k -map 0 -preset superfast 'Immortality S2 - 10 [720p]d.mkv' &&
/var/lib/snapd/snap/bin/ffmpeg -i  'Immortality S2 - 10 [720p]d.mkv' -vf scale=858:480 -c:v libx264 -crf 27 -c:a libfdk_aac -ar 48000 -b:a 192k -map 0 -preset superfast 'Immortality S2 - 10 [480p]d.mkv' &&
rm -rf 'Immortality S2 - 10.mkv' &&
/var/lib/snapd/snap/bin/ffmpeg -i  'Immortality S2 - 11.mkv' -i /root/logo.png -filter_complex '[0:v][1:v]overlay=10:10:enable=between(t\,0\,15)' -c:v libx264 -crf 28 -x264-params cabac=1:ref=5:analyse=0x133:me=umh:subme=9:chroma-me=1:deadzone-inter=21:deadzone-intra=11:b-adapt=2:rc-lookahead=60:vbv-maxrate=10000:vbv-bufsize=10000:qpmax=69:bframes=5:b-adapt=2:direct=auto:crf-max=51:weightp=2:merange=24:chroma-qp-offset=-1:sync-lookahead=2:psy-rd=1.00,0.15:trellis=2:min-keyint=23:partitions=all -c:a libfdk_aac -ar 48000 -b:a 192k -map 0 -preset superfast 'Immortality S2 - 11 [1080p]d.mkv' &&
/var/lib/snapd/snap/bin/ffmpeg -i  'Immortality S2 - 11 [1080p]d.mkv' -vf scale=-1:720 -c:v libx264 -crf 27 -c:a libfdk_aac -ar 48000 -b:a 192k -map 0 -preset superfast 'Immortality S2 - 11 [720p]d.mkv' &&
/var/lib/snapd/snap/bin/ffmpeg -i  'Immortality S2 - 11 [720p]d.mkv' -vf scale=858:480 -c:v libx264 -crf 27 -c:a libfdk_aac -ar 48000 -b:a 192k -map 0 -preset superfast 'Immortality S2 - 11 [480p]d.mkv' &&
rm -rf 'Immortality S2 - 11.mkv' &&
/var/lib/snapd/snap/bin/ffmpeg -i  'Immortality S2 - 12.mkv' -i /root/logo.png -filter_complex '[0:v][1:v]overlay=10:10:enable=between(t\,0\,15)' -c:v libx264 -crf 28 -x264-params cabac=1:ref=5:analyse=0x133:me=umh:subme=9:chroma-me=1:deadzone-inter=21:deadzone-intra=11:b-adapt=2:rc-lookahead=60:vbv-maxrate=10000:vbv-bufsize=10000:qpmax=69:bframes=5:b-adapt=2:direct=auto:crf-max=51:weightp=2:merange=24:chroma-qp-offset=-1:sync-lookahead=2:psy-rd=1.00,0.15:trellis=2:min-keyint=23:partitions=all -c:a libfdk_aac -ar 48000 -b:a 192k -map 0 -preset superfast 'Immortality S2 - 12 [1080p]d.mkv' &&
/var/lib/snapd/snap/bin/ffmpeg -i  'Immortality S2 - 12 [1080p]d.mkv' -vf scale=-1:720 -c:v libx264 -crf 27 -c:a libfdk_aac -ar 48000 -b:a 192k -map 0 -preset superfast 'Immortality S2 - 12 [720p]d.mkv' &&
/var/lib/snapd/snap/bin/ffmpeg -i  'Immortality S2 - 12 [720p]d.mkv' -vf scale=858:480 -c:v libx264 -crf 27 -c:a libfdk_aac -ar 48000 -b:a 192k -map 0 -preset superfast 'Immortality S2 - 12 [480p]d.mkv' &&
rm -rf 'Immortality S2 - 12.mkv' &&
cd