TypesettingTools / Aegisub-Motion

Lua plugin for Aegisub auto4 that parses motion tracking data and applies it to selected subtitles.
Other
172 stars 23 forks source link

Odd behaviour when applying Tracking data #17

Closed powerunlimited closed 9 years ago

powerunlimited commented 9 years ago

Issue

When I apply the tracking data the y axis goes wild, the \pos is never right no matter what settings are set. The odd thing is that your old script works fine (using the same tracking data).

Files

tracking data→ http://pastebin.com/KASJGUvE clip → https://drive.google.com/file/d/0B316OoStwQMZUWNmQnhCT1R2Qm8/view?usp=sharing

Any help appreciated thx~ Tell me if you need any extra info

torque commented 9 years ago

With a quick test using your data, I'm not seeing the described weird behavior. My results.

If you're not using v1.0.0-test11, please upgrade. If you already are on that version, or are still experiencing the incorrect behavior after you upgrade, please add a copy of the lines you are applying the data to, as well as a screenshot of the Apply window so I can see your settings.

Thanks.

powerunlimited commented 9 years ago

oops~ my bad I forgot to reload after upgrading thanks for your help~

powerunlimited commented 9 years ago

Alright after spending more time messing around with the script.

I think I have found the real problem. The new script doesn't seem to scale the tracking data to the current ass resolution

For example: If I have a ass resolution 1920*1080 but I tracked the motion data with a 1280*720 clip, then when applying the data on the 1920*1080 ass, the new script will still give a 1280*720 result i.e. the sign I'm applying data to only moves half of the length it's supposed to move. While the old script does the scaling perfectly.

torque commented 9 years ago

Oh, right. I do believe I forgot to add that feature.

torque commented 9 years ago

Addressed in 42282128ed5cbbc5e0f1de093445423974453701. Will close the issue as fixed when the next release is made.

powerunlimited commented 9 years ago

ok thanks a lot ;-)

torque commented 9 years ago

Fixed in v1.0.0-test12