itsKaspar/tomato

what if I want to keep iframes?

zachwhalen opened this issue · 2 comments

Hello,

Sometimes for a particular effect, it's desirable to keep iframes instead of always discarding them. How would I accomplish that option in the script? I've started poking at it, but I don't know enough about the AVI file structure to tell where that discarding happens. I suspect it happens when the frame indices are detected and rebuilt, but I'm no sure what else should go in that place in order to preserve the iframe.

Any thoughts?

Try to set -k 1.0.

As far as I remember (and read the code) iframes are removed using frame size condition (https://github.com/itsKaspar/tomato/blob/master/tomato.py#L157).

Yeah, I think you're right -- that works. Thanks!