PDA

View Full Version : Scripting Aspect Ratio


sumpm1
2nd December 2006, 11:13
I am batch transcoding a bunch of avi's to lower resolution for archive, and am using Dubman to create the job list. Dubman requires you to use VDub processing settings files to create the jobs. The processing settings are correct for all files, but all of the files have different aspect ratios. So in order to do all of this, I would have to organize all of my avi's by aspect ratio (which I have to calculate myself for every file) and then create a processing setting for VDub for EVERY single one of these aspect ratios. Sounds tedious; well I am transcoding 150 videos!

Is there any way to script the resolution to go to 400 width (I know, very low res, but is for archival purposes), and keep correct aspect ratio?

Thanks

sumpm1
3rd December 2006, 01:20
For example, is there any script function that will return the resolution width and height as seperate variables. If so, I could probably take it from there