im trying to manage CCTV footage, and im trying to batch compress them with ffmpeg
So far i managed to come up with this command
ffmpeg -i "0515 210004.mp4" -b 200000 output.avi
But i need to do them all at once, but exclude the current date
So if today is 16.05, in my folder i have
"0515 210004.mp4"
"0515 220004.mp4"
"0515 230004.mp4"
"0516 000004.mp4"
"0516 010004.mp4"
And so on
I only need to convert those containing 0515, and everyday that number should increment, so on 17.05 i will need it to convert all the files with 0516 in them.
There are also sometimes files that will have _1 in them, like "0515 180004_1.mp4"
(The 004 at the end is always there)
And i also need it to output it with the exact same name.
I see something like this
for %%A IN (*.mp4) DO ffmpeg -i "contains "%date% - 1day"" -b 200000 "oldfilename.avi"
I understand that this wont work, but lets call it my pseudo code
Do you have any ideas how i can accomplish my task?
Recent Questions...
ما را در سایت Recent Questions دنبال میکنید
برچسب:
نویسنده: استخدام کار
بازدید: 186
تاريخ: دوشنبه
27 ارديبهشت
1395 ساعت: 17:54