use sh as interpreter for transform scripts (#149)

This commit is contained in:
Michael Baumgarten 2025-02-06 19:45:01 +01:00 committed by GitHub
parent 2b3052ac3f
commit 63611f2a6e
No known key found for this signature in database
GPG Key ID: B5690EEEBB952194
9 changed files with 9 additions and 9 deletions

View File

@ -1,4 +1,4 @@
#!/bin/bash
#!/bin/sh
#ffmpeg -i $1 -y -f mp4 -map_metadata -1 -c:v copy -c:a copy $2
#ffmpeg -f mp4 -i color=c=black:s=1280x720:r=5 -i $1 -crf 0 -c:a copy -shortest $2
ffmpeg -i $1 -y -f mp3 -map_metadata -1 -c:a copy $2

View File

@ -1,3 +1,3 @@
#!/bin/bash
#!/bin/sh
convert -strip $1 -auto-orient $2

View File

@ -1,3 +1,3 @@
#!/bin/bash
#!/bin/sh
nice -n 5 convert -strip $1 -coalesce -auto-orient -resize '1024x1024>' $2

View File

@ -1,2 +1,2 @@
#!/bin/bash
#!/bin/sh
nice -n 5 convert -strip $1 -coalesce -auto-orient -resize '192x192' $2

View File

@ -1,3 +1,3 @@
#!/bin/bash
#!/bin/sh
ffmpeg -i $1 -y -f mp4 -map_metadata -1 -c:v copy -c:a copy $2

View File

@ -1,2 +1,2 @@
#!/bin/bash
#!/bin/sh
ffmpeg -i $1 -y -f mp4 -map_metadata -1 -vf scale=720:-2 -c:v libx264 -crf 23 -preset veryfast -c:a aac $2

View File

@ -1,3 +1,3 @@
#!/bin/bash
#!/bin/sh
ffmpeg -i $1 -y -f mp4 -map_metadata -1 -vf scale=320:-2 -c:v libx264 -crf 32 -preset veryfast -c:a aac $2

View File

@ -1,2 +1,2 @@
#!/bin/bash
#!/bin/sh
ffmpeg -i $1 -y -f mp4 -map_metadata -1 -vf scale=640:-2 -vcodec libx265 -crf 32 -preset veryfast -tag:v hvc1 -acodec mp3 $2

View File

@ -1,4 +1,4 @@
#!/bin/bash
#!/bin/sh
set -e
TMPFILE=$(mktemp /tmp/databag-XXXXX)
ffmpeg -ss $3 -i $1 -y -vframes 1 -q:v 2 $TMPFILE.jpg