|
That code sample is for linux bash script. I'm assuming you're on windows? Copy ffmpeg.exe into the directory with your video files. Make a new text file there, and paste this: code:
(if you can't see the .txt, you need to turn off "Hide extensions for known files" in folder options) edit: quote:These files are also organized in folders by project/month/year. So like if the client that wants this stuff is Hanes underwear, is your structure: C:\Video Projects\Hanes\2020\Jan\Socks Commercial\ or C:\Video Projects\2020\Jan\Hanes\Socks Commercial\ Klyith fucked around with this message at 17:37 on Jun 25, 2021 |
# ¿ Jun 25, 2021 17:22 |
|
|
# ¿ Apr 25, 2024 06:46 |
|
tangy yet delightful posted:Thanks for this, I assume I would put it in the top-most directory and it would do everything within that? So you could just keep moving the .bat & ffdshow to each folder you need processed. If that's a relatively easy task because there's only 10 target folders with 300 videos each, do that. But if you have 300 folders with 10 videos each it'd be a pain and you want something better. quote:So don't laugh at what is probably not the most efficient file structure, currently the footage is spread across multiple drive letters and I'll likely buy a drive to consolidate it all which will be passed to the client, so the top letter (C/D/E) might change but the structure is(will be): So that folder that I've bolded Client is the consistent target? A Year/Month folder might contain multiple Client folders, but the Client you're looking at is unique and always the same? Example, if Hanes was the client: C:\Client Footage\2020 Videos\January 2020\Hanes\Socks Commercial\ C:\Client Footage\2020 Videos\January 2020\Art Museum\Van Gogh Exhibit\ D:\Client Footage\2018 Videos\August 2016\Hanes\Tshirts Ad\ D:\Client Footage\2018 Videos\August 2016\Starbucks\Training Video\ (My objective is to do it as recursively as possible, and also make it so that your source videos stay on your drive. Doing the audio strip and copy to the external in the same step is better.)
|
# ¿ Jun 25, 2021 20:04 |
|
The TEST RUN:code:
All this does is make a text file with the list of videos it found. Sanity check to make sure we're on the same page.
|
# ¿ Jun 25, 2021 22:36 |
|
The REAL THING:code:
Save as a .bat file, put the .bat and ffmpeg into the base directory & run it. Then repeat for other drives that have more Client Footage.
|
# ¿ Jun 25, 2021 22:41 |