Last active
August 29, 2024 19:06
-
-
Save nerdCopter/563578caec3df5fa89defe3b84b77040 to your computer and use it in GitHub Desktop.
hdzero .ts crop 540p DVR and convert to .mp4
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
#!/bin/sh | |
for f in ./*.ts; do | |
ffmpeg -y -i "${f}" -filter:v "crop=960:714:160:0, fps=30" -crf "23" "${f}.crf23.mp4" | |
done; | |
rm hdz_*.jpg |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment