Herschel / Swivel

Adobe Flash SWF to video converter
https://newgrounds.com/swivel
GNU General Public License v3.0
166 stars 22 forks source link

Masking layer issue #19

Open Kirbologist opened 3 years ago

Kirbologist commented 3 years ago

I want to convert this file: Border_of_Death.zip

However, the text scroll at the beginning of the animation doesn't convert properly; Swivel doesn't treat the top layer as a masking layer. Is there a way to fix this, even if I have to change some stuff in the file's source code?

wearrrrr commented 9 months ago

Did you ever figure this out? I noticed you uploaded a video with the problem gone, did you end up screen recording it?

Kirbologist commented 9 months ago

Unfortunately I couldn't fix it. After some playing around, I learnt that Swivel has trouble combining bitmap filters and the masking effect on the same layer. It applies the bitmap filter but then forgets to apply the mask.

I wasn't able to fix the issue myself; to make that video, I just did a lot of video editing magic. I messed with the SWF, extracting assets and turning layers and filters on and off, used Swivel to convert the resulting SWF's into videos, wrote a Python script to apply the desired bitmap filters to the extracted assets, and then did some alpha compositing in my video editor to work it all together. It sounds like a lot, but I found it easier to do than trying to fix the Swivel code, and it still got the desired results in the end.

Were you having similar issues as well?