MachinesInMotion |
Hey Guys!
I threw together a little wrapper program that that runs FF over files directly from the command line (no XML file needed). It's been working for me, and hugely simplifies the process of running FF over a large number of files. Usage: ffbat filename filter preset Examples: ffbat File.png Eyecraft 0 Outputs a copy of File.png with the Eyecraft filter applied(File.png -> File_Filter.png, etc) ffbat * GlowingText 0 Outputs a copy of every file in the directory with the GlowingText filter applied(File1.png -> File1_Filter.png, etc) Download Here Instructions: Extract the zip somewhere and add that location to your path. It should work on its own from there. Alternatively, download the source and install PIL, then add to your path and run it with ffbat.py file filter preset Notes: 1) This scans common installation directories to get to the actual executable. If you installed Filter Forge somewhere else (like on a drive that isn't C), you'll have to add your Filter Forge bin directory to your path as well. 2) You need to have the filter in the "My Filters" pane for this to work, so if you are using a library filter, make a copy in My Filters (open the filter editor on it) before running this script. Python source (Requires PIL to compile):
|
|||
Posted: May 21, 2013 8:13 pm | ||||
ThreeDee
![]() |
Great! Sounds also perfect for putting video or animation frames through a filter.
|
|||
Posted: May 22, 2013 6:54 am | ||||
ThreeDee
![]() |
Hi MachinesInMotion,
I attempted to use this batch tool but it doesn't run and I cannot figure out why. I have extracted the zip in the folder C:/admin/ffbat and have a bunch of jpeg images in the folder C:/admin/ffbat/images. I am trying to run a filter with the name AnimatedLensFlares, first preset. The filter is in My Filters. As per the instructions I would gather the command should be: ffbat\ffbat images\* AnimatedLensFlares 0 With that I get the result:
There are no error messages but nothing gets processed either. Any ideas? |
|||
Posted: May 23, 2013 3:01 pm | ||||
ThreeDee
![]() |
Does this require that the images are .PNG files to work?
|
|||
Posted: May 23, 2013 3:19 pm | ||||
ThreeDee
![]() |
Ok, I managed to get one specific file to render with the following command:
ffbat\ffbat ffbat\images\flare_MVI_8235_00000.png AnimatedLensFlares 0 |
|||
Posted: May 23, 2013 3:36 pm | ||||
ThreeDee
![]() |
And finally a number of files with this:
ffbat\ffbat ffbat\images\*.png AnimatedLensFlares 0 (It did not work without ".png") I also suspect that this will only work if there are no spaces in file and folder names, correct? |
|||
Posted: May 23, 2013 3:43 pm | ||||
ThreeDee
![]() |
Works fine with jpegs as well if I put "*.jpg", so it must be related to folder options (whether you show or hide known file extensions).
|
|||
Posted: May 23, 2013 4:04 pm | ||||
SpaceRay
![]() |
Thanks for sharing it with the forum, and it looks good, but regretably I am bad using command line applications, and try to avoid it, and would like much better any GUI based one and that could work well and be updated to be used with FF 3.0 or FF 4.0 as the others available seen in this other thread here does not work right, at least the windows versions
Also your good Batch rendering wrapper is only for batch rendering one image or a folder with just one filter and one preset. I have suggested before the following
|
|||
Posted: May 24, 2013 2:11 pm | ||||
earthbound |
SpaceRay: Begging your pardon since the last post in this thread approaches three years ago, but while I don't know whether any existing tools accomplish those objectives, I know a tool I wrote and released does (the last I searched for something that can do those things, I didn't find it, so I coded my own). I've searched the forums and found everything I could about external/batch tools (the last time I searched, well before coding my own solution, I only found two--there are many), and updated the main page of the wiki with them: http://www.filterforge.com/wiki/index.php/Main_Page#PC If you know anything I missed, please let me know, or better yet, update the wiki yourself ![]() The tool I wrote that accomplishes those things, I announced here: https://www.filterforge.com/forum/read...&TID=13617 With some more work, my tool can do all of those things you want (which I didn't quote all of them). You refer to the prophecy of the pastry that will bring balance to the Force. And you believe it's this...donut? |
|||
Posted: November 16, 2015 5:20 pm | ||||
earthbound |
Oh, sheesh--after pouring through the forums and finding so many tools, I listed them all at the wiki *except for the one here, where I announce my wiki edits)*.
![]() ![]() You refer to the prophecy of the pastry that will bring balance to the Force. And you believe it's this...donut? |
|||
Posted: November 16, 2015 10:38 pm | ||||
SpaceRay
![]() |
thanks for including all the available tools in the FF wiki as seen here The link from the first post is broken and not available But in the FF Wiki I have seen that there is this link that I think is a new updated for this tool Download it from Github here In the link page is not clear about version of FF is compatible. Does it work with FF 9? Thanks for any possible help |
|||
Posted: October 4, 2020 6:02 am |
Filter Forge has a thriving, vibrant, knowledgeable user community. Feel free to join us and have fun!
33,711 Registered Users
+18 new in 30 days!
153,531 Posts
+36 new in 30 days!
15,347 Topics
+72 new in year!
20 unregistered users.