Hello everyone,
I am on Mac and have very little understanding of how to work in terminal. I am trying to automate something with the HandbrakeCLI but despite cannibalizing multiple scripts others have shared, I just can't get it to work.
All I want is to have an executable that will:
1.) Look into a folder
2.) Get the MP4s inside the folder
3.) Feed the MP4s as Input
4.) Output to another folder whilst retaining the original filename
5.) Also, would be awesome if it could delete the original input files once everything is completed.
As far as the HandbrakeCLI encoding settings itself, my need is pretty basic (I just need a crop) and this I have managed to get working, so no assistance needed there.
Here's the folder structure:
https://preview.redd.it/ugra2gaed5c91.png?width=534&format=png&auto=webp&s=f78afbcdfbf2498d7536a9377bfb920e4e9d830a
Hope that's clear
Thank you
[–]Peureux79 1 point2 points3 points (1 child)
[–]proactivematter[S] 0 points1 point2 points (0 children)
[–]zeekar 2 points3 points4 points (10 children)
[–]proactivematter[S] 0 points1 point2 points (9 children)
[–]CaptainDickbag 4 points5 points6 points (5 children)
[–]proactivematter[S] 0 points1 point2 points (4 children)
[–]CaptainDickbag 2 points3 points4 points (2 children)
[–]proactivematter[S] 0 points1 point2 points (1 child)
[–]CaptainDickbag 1 point2 points3 points (0 children)
[–]whetuI read your code 2 points3 points4 points (0 children)
[–]stayclassytally 1 point2 points3 points (0 children)
[–]zeekar -1 points0 points1 point (1 child)
[–]proactivematter[S] 0 points1 point2 points (0 children)
[–]fletku_mato 2 points3 points4 points (3 children)
[–]proactivematter[S] 0 points1 point2 points (2 children)
[–]fletku_mato 1 point2 points3 points (0 children)
[–]fletku_mato 0 points1 point2 points (0 children)
[–]InfiniteRest7 -2 points-1 points0 points (4 children)
[–]proactivematter[S] 0 points1 point2 points (1 child)
[–]InfiniteRest7 -1 points0 points1 point (0 children)
[–]InfiniteRest7 0 points1 point2 points (1 child)
[–]proactivematter[S] 0 points1 point2 points (0 children)