8
1
This is what I have so far:
for i in *.mp4; do ffprobe -show_format -i "%i"
// get duration, then need to somehow subtract 30 seconds, and marry these two commands
ffmpeg -ss 0 -i "$i" -t %duration% "${i%.mp4}-cut.mp4
I thought it would be simple, ugh.. why you no have -endtrim switch, ffmpeg? or does it? Maybe another command line one like this can?
If you have found a solution to your question, please post it as an answer. – Ambo100 – 2014-04-21T19:38:49.237