- Editado
Can't export .avi or .mov if png is used for background
Hello,
I'm not sure why it's not working and couldn't find info on it. I tried to attach the failed export video but it won't upload on this site. The animation is just a basic bouncing ball animation with 4 different balls with varied weight however when I export it with a transparent background, the exported video only opens with VLC (from my installed video players) and freezes on first frame. It works when I export with solid colour background but I want transparency so I can continue editing background in Davinci.
Any help would be greatly appreciated.
Travis
EDIT: Title is incorrect, I meant to write "Can't export .avi or .mov if transparency is enabled"
What version of Spine are you using? Transparency for MOV and AVI should with 4.0.11+.
I am using 4.0.17 PRO.
I uploaded a vid of what's going on with my export settings as well: https://youtu.be/OeiUAw_ksD0
It seems like it's an issue with the encoding format; transparency on and off doesn't change it from freezing but changing it to JPEG makes the video work perfectly.
Do you know of a video player that displays transparency? I would love to have that so I can properly test video exports. AFAIK VLC and PotPlayer don't show it.
I exported the stretchyman example project with transparency checked and got this:
http://n4te.com/x/2263-stretchyman.mov
This plays in PotPlayer, but with a black background. It should have a transparent background in a player that supports it. Can you try it in Davinci or another player that should show the transparency?
The forum has a file limit and likely your video is too large. Maybe you can upload it elsewhere, though the most we can do is try to play it. FWIW, PotPlayer tends to work well and opens most files, I switched to it from VLC long ago.
Various video players seem to choke on some video files without reason, while others can play them just fine. It may be something about the resolution of the video from Spine, especially if it is very large. For stretchyman above, I set the size to 1920x1080.
I don't know much about video players so I couldn't tell you one that shows transparency.
I tried PotPlayer and it perfectly ran my video that wasn't working before, nonetheless I got a download link for you to check it: https://www.mediafire.com/file/jxmugtbtvvgzeo5/transparent_animation.avi/file. I couldn't view or download your one, I just get an error message: "No video with supported format and MIME type found." Could you upload it using mediafire or another uploading service?
Btw Davinci is a video editing software, even though I can view the video in PotPlayer, for some peculiar reason I still can't import it into Davinci so it doesn't seem like the png format is compatible with many softwares/video player
Oh sorry, this link should work:
http://n4te.com/x/2263-stretchyman.mov.download
Got your video, PotPlayer can play it as you say. I'm afraid I don't know why Davinci wouldn't be able to play it, especially being specifically for video editing! Do you have better luck with Davinci using MOV? The PNG and RAW encodings for MOV support transparency. RAW can be very large, though it is fast.
I loaded your stretchy man video into Davinci and it was smooth sailing, afterwards I tried rendering the animation as mov with png and some reason my ball bouncing animation also loads in now... not sure what changed! How do you make your file sizes so small by the way? Mine usually comes out at 100 mb and I noticed yours are tiny in comparison.
Thanks a bunch for your help Nate, I'm grateful for the time you've taken to help me out.
Well, that's good news! Even though I'm not sure I did anything to help.
I used the PNG encoding with MOV for the stretchyman video. PNG uses "deflate" compression internally, which is the same compression that ZIP uses. RAW will be much larger, as it doesn't use any compression at all, but it may export more quickly and may load more quickly in Davinci and other software.
Other than that, it could be that your resolution is higher. Sometimes people don't realize their video is 8000x6000, which probably makes a lot of video players choke! You might try sticking with standard sizes like 1920x1080 (HD) or 3840x2160 (4K).
BTW, the AVI file format has a limit of 4GB. Videos that exceed that size will fail to export (Spine will show a message). I'm not sure if MOV also has this limitation.