I want to split multiple mp4 videos into smaller chunks of size 30-40 secs after many days I have found an answer which used ffmpeg i.e
ffmpeg -i /home/msz/Downloads/CartoonVideos/1.mp4 -ss 180 -t 30 /home/msz/Downloads/NewCartoonVideos/1-7.mp4
but this is single line command and it's taking too much, I have to change it every time.Can anybody tell me other methods or change this code in script/loop?