View Single Post
Old 26th January 2012, 23:56   #33  |  Link
vdcrim
Registered User
 
Join Date: Dec 2011
Posts: 192
Quote:
Originally Posted by RiCON View Post
Coming next: Support for non-positive trims.

Many thanks to lachs0r and vdcrim <3
Thanks to you. Glad to see that you keep updating this script. It seems you missed the ifps parameter in this call though (vfr.py):
Code:
chaps = amkvc(o.template,output=output,avs=a[0],trims=Trims2ts,kframes=Trims2,uid=o.uid,label=o.label,ifps=ifps)
Also, I noticed a bug affecting the default name of chapters and editions:
Code:
self.name = 'Default'
self.name = 'Chapter'
should be:
Code:
self.name = ['Default']
self.name = ['Chapter']
I have a feature request. Currently the label functionality is based on the case of "trim" (Avisynth is case-insensitive). It would be more useful that "label" were a comment at the end of the line. I made it this way in this script, so take a look if you want, if you decide to implement this.

It could be like this:
Code:
if label.lower() == 'trim'  =>  old label behaviour
else                        =>  new label behaviour
vdcrim is offline   Reply With Quote