changing pixel aspect ratio in hscript?

   3449   3   1
User Avatar
Member
4 posts
Joined: July 2005
Offline
Hello,

I'm making some modifications to a program I wrote around hscript to do repetitive composites quickly and easily. The one thing that's still missing is the ability to alter the pixel aspect ratio.

According to the docs, it's possible, but I can't find the appropriate hscript parameter to tweak the output image pixel aspect ratio, and my COPs setup doesn't like either of the ‘fraction’ or ‘aspect’ parameters.

Can someone please enlighten me?

thanks,
Klaus

TODO:
1) Learn to use my new Unix account.
2) Learn how to change this list.
User Avatar
Member
7709 posts
Joined: July 2005
Offline
Perhaps the compproject command?
User Avatar
Member
4140 posts
Joined: July 2005
Offline
That should do it…but it rears up a question I had: this value is merely a tag in the image file, yes? It doesn't actually change anything except embed that value in the image file so that if read by Houdini it notices it and alters the display?

Thanks

J.C.
John Coldrick
User Avatar
Staff
5156 posts
Joined: July 2005
Offline
.pic files do embed the aspect ratio in the file, which is recognized both by Halo/COPs and mplay.

If you run your composite through a scale cop, with the method set to scale ‘To Aspect Ratio’, it will adjust the image to the proper aspect ratio.
  • Quick Links