Login | Register 
FEATURES
APPLICATIONS
DOWNLOADS
EDUCATION
BLOG
WIKI
FORUM
STORE

batch video converter

Share your components here. First one to 100 wins!

batch video converter

Postby keithlostracco » Fri Aug 22, 2014 6:23 pm

I needed to batch converter a bunch of video files to Hap Q and found both AE and Adobe Media Encoder a bit difficult to deal with when wanting to change the codec and framerate but not the resolution. So I built a quick batch converter in Touch that will search through all the folders of a specified directory, find all the movies convert them and save them to a new directory with the same folder structure (or not).

To use it:

- set the source folder, codec, pixel format, frame rate, resolution and quality settings
- set the destination folder
- "Retain Folder Structure" creates the original folder structure inside of the dest folder when toggled on.
- press "Convert All' to start the conversion
- disabling "Convert All" gives you the option to not stop the conversion, to stop it immediately or to stop it after the current movie is done being converted
- "Resume" will start the conversion after the last fully converted movie

If you make sure realtime is off (which it should be by default) and you set the performCOMP parameter V-Sync Mode to "Disabled" then it will run as fast as your disk/CPU/GPU can handle in perform mode.

Could be some bugs still to work out and it could use more features (it could also use dynamic menus depending on what codec is selected and audio...) but for now it seems to be working well. I haven't tried too hard to break it, if you find any problems let me know and I'll fix them.

cheers
Keith

updates and bug fixes:

- fixed bug in openFailed logic when two open movies fail in a row
- created log file that updates every movie
- fixed hang when movie names have special characters
- added "Keep FPS" option
- added resolution/fit settings
- added set resume movie #
Attachments
VideoConverter1.toe
updated Oct. 7, 2014
(59.27 KiB) Downloaded 1007 times
Last edited by keithlostracco on Wed Apr 25, 2018 3:13 pm, edited 3 times in total.
keithlostracco
 
Posts: 875
Joined: Tue Dec 09, 2008 2:39 pm

Re: batch video converter

Postby matthewwachter » Sat Aug 23, 2014 10:23 pm

Awesome! Thx
matthewwachter
 
Posts: 296
Joined: Fri Jul 08, 2011 3:18 pm
Location: Los Angeles

Re: batch video converter

Postby greg » Tue Oct 07, 2014 12:48 pm

Really good video file format converter, thanks.

(PS In a folder with 2 files, it listed the two files, but Convert All only converted one... not sure why.)
User avatar
greg
Staff
 
Posts: 552
Joined: Tue Nov 13, 2007 1:08 am

Re: batch video converter

Postby keithlostracco » Tue Oct 07, 2014 2:10 pm

thanks Greg.

Strange I'll look into it. I'm not sure if I ever tested with just 2 files mostly I tested it with a bunch of files with or without sub folders. I'll check it out.

Keith
keithlostracco
 
Posts: 875
Joined: Tue Dec 09, 2008 2:39 pm

Re: batch video converter

Postby keithlostracco » Tue Oct 07, 2014 2:25 pm

Uploaded a fixed version.

thanks for the feedback
Keith
keithlostracco
 
Posts: 875
Joined: Tue Dec 09, 2008 2:39 pm

Re: batch video converter

Postby bLackburst » Thu Oct 09, 2014 8:43 am

wow, that's crazy.
bLackburst
 
Posts: 334
Joined: Thu Sep 01, 2011 3:56 am
Location: Melbourne, Australia

Re: batch video converter

Postby cyberpatrolunit » Tue Oct 14, 2014 9:27 pm

Thanks for sharing - I just tested the utility and it works great. Also dig the conversion log.
cyberpatrolunit
 
Posts: 30
Joined: Sat Oct 03, 2009 2:30 pm
Location: San Francisco

Re: batch video converter

Postby nettoyeur » Wed May 06, 2015 4:56 am

thanks so much for sharing this tool Keith! very handy
Idzard Kwadijk | freelance TouchDesigner consultant | IdzArd.com
Checkout ChopChopChop.org - the TouchDesigner marketplace!
nettoyeur
 
Posts: 1171
Joined: Mon Oct 15, 2012 12:00 pm
Location: Amsterdam, The Netherlands

Re: batch video converter

Postby PeterParkerBrodhead » Tue Jul 05, 2016 7:02 pm

How do I keep audio embedded in my hapq transcode?
PeterParkerBrodhead
 
Posts: 11
Joined: Wed Oct 24, 2012 4:41 pm

Re: batch video converter

Postby matthewwachter » Mon Apr 08, 2019 3:28 pm

Just posted an updated version of this component here:

https://www.derivative.ca/Forum/viewtopic.php?f=22&t=19135
matthewwachter
 
Posts: 296
Joined: Fri Jul 08, 2011 3:18 pm
Location: Los Angeles

Next

Return to Shared .tox Components

Who is online

Users browsing this forum: No registered users and 7 guests