Synfig Project Forum

Forums for Synfig Project
It is currently Thu May 23, 2013 8:54 am

All times are UTC - 4 hours [ DST ]




Post new topic Reply to topic  [ 25 posts ]  Go to page Previous  1, 2
Author Message
PostPosted: Mon Oct 25, 2010 4:04 pm 
Offline
User avatar

Joined: Sat May 02, 2009 3:38 am
Posts: 309
nikitakit wrote:
I while back I looked into solutions for swf or svg export, so I thought I'd
For HTML5-compatible animation, I can't give any good analysis because there are numerous ways to make animations. IIRC, the available options are: SVG animation, SVG with SMIL animation, SVG using javascript for animation, and HTML5 canvas with javascript. So even thinking about "HTML5 animation" will first require researching all of these formats, and seeing what other animation-authoring programs are choosing.

XDDD WebM export, anyone?

_________________
Bartimaeus: "One magician demanded I show him an image of the love of his life. I rustled up a mirror."
My website of awesomeness!


Top
 Profile  
 
PostPosted: Mon Oct 25, 2010 5:05 pm 
Offline
Site Admin
User avatar

Joined: Wed Jan 21, 2009 2:36 pm
Posts: 608
Location: Sweden.
tushantin wrote:
XDDD WebM export, anyone?

Isn't that just a video format (no vectors)?

_________________
www.rylanderanimation.se
Synfig scripts, etc.


Top
 Profile  
 
PostPosted: Tue Oct 26, 2010 5:37 am 
Offline
User avatar

Joined: Sat May 02, 2009 3:38 am
Posts: 309
rylleman wrote:
tushantin wrote:
XDDD WebM export, anyone?

Isn't that just a video format (no vectors)?

Yeah, but that's also the best video format to be played on HTML5. Hey, Youtube's doin it!

But I like Nikitakit's idea. If it isn't possible to export vectors then if somehow we could batch-trace them it would be awesome. Regardless there have been opensource libraries to help pack files into SWF.

_________________
Bartimaeus: "One magician demanded I show him an image of the love of his life. I rustled up a mirror."
My website of awesomeness!


Top
 Profile  
 
PostPosted: Tue Oct 26, 2010 10:19 am 
Offline
Site Admin
User avatar

Joined: Wed Jan 21, 2009 2:36 pm
Posts: 608
Location: Sweden.
tushantin wrote:
...If it isn't possible to export vectors then if somehow we could batch-trace them it would be awesome. Regardless there have been opensource libraries to help pack files into SWF.


I think that is not such a good idea...
First synfig files is already vectors (if not working with imported images), exporting these to bitmaps, then trace these back into vectors is just dumb. The resulting shapes will be far from optimized. To get proper shaper with tracing tools you need very high settings which also makes for large file sizes, then you can just as well go with movies to start with.
Second the shapes will not stay true to your original artwork, even if the settings is very high there will be differences.
Third, what makes flash vector format so good and usable for web is that the shapes is altered through time, it's animated at playback, thus keeping file size very low. If tracing images it would still be a series of images, but vector images stacked up rather than bitmaps in a movie file.

If it can't be done properly, as animated svg or flash swf files I think it's not worth putting time and effort in. The result will be far from optimum and not very useful. But it is your time, do what you want with it. ;)

_________________
www.rylanderanimation.se
Synfig scripts, etc.


Top
 Profile  
 
PostPosted: Tue Oct 26, 2010 1:22 pm 
Offline
User avatar

Joined: Sat May 02, 2009 3:38 am
Posts: 309
No, Rylleman, you're quite right. Working with vectors, exporting to bitmap and retracing them indeed is quite dumb which is why I was thinking of resolving this by working with both Synfig and Flash to begin with, i.e. Synfig to animate while Flash to composite. Then again you're right about the filesize, though that could be compressed by 25% if we convert all traced vectors to "shape" in one layer, thereby making it somehow morph without making the output weird. The traced output, and what we make in Synfig, should be flat for this to work, and all the gradients and lights to be applied in Flash. Once again this is a tedious process but it's all we've got currently.

Another alternative would be to actually be able to export the animation from Synfig to Silverlight instead. There have been libraries to do that, if I'm not mistaken, and they're written in C++/C# (I think). But it would still be neat to have WebM export (although no worries, because there is a converter in Ubuntu which is capable of converting any video to WebM for playback; yet again it's not necessary because Youtube already does it for free LOL).

_________________
Bartimaeus: "One magician demanded I show him an image of the love of his life. I rustled up a mirror."
My website of awesomeness!


Top
 Profile  
 
PostPosted: Thu Oct 28, 2010 8:34 pm 
Offline
Site Admin
User avatar

Joined: Sat Dec 01, 2007 7:23 pm
Posts: 970
Location: West Coast USA
Looks like we need to update to the latest FFMpeg and add an option in Synfig Gui.
http://newteevee.com/2010/06/17/ffmpeg-goes-webm-enabling-vp8-for-boxee-co/
Chris


Top
 Profile  
 
PostPosted: Fri Oct 29, 2010 6:09 am 
Offline

Joined: Tue Oct 19, 2010 10:32 pm
Posts: 19
nikitakit wrote:
For HTML5-compatible animation, I can't give any good analysis because there are numerous ways to make animations. IIRC, the available options are: SVG animation, SVG with SMIL animation, SVG using javascript for animation, and HTML5 canvas with javascript. So even thinking about "HTML5 animation" will first require researching all of these formats, and seeing what other animation-authoring programs are choosing.


The more and more that I understand synfig and SVG the more I see just how complicated this really is.

I found a great resource to animate SVG using Javascript called RaphaelJS http://raphaeljs.com/

I saw someone animate svg nodes using Raphael http://vimeo.com/13564252 and it would be great to find a gui that could do this instead of having to hand code it all.

The idea is really simple but implicating it to render like a synfig animation would be hard.

You could put all the nodes in each keyframe into a matrix like this guy did and then use raphael for the in out effects.


Top
 Profile  
 
PostPosted: Fri Oct 29, 2010 6:58 am 
Offline
Site Admin
User avatar

Joined: Sat Dec 01, 2007 6:26 am
Posts: 4131
Location: Spain
pixelgeek wrote:
Looks like we need to update to the latest FFMpeg and add an option in Synfig Gui.
http://newteevee.com/2010/06/17/ffmpeg-goes-webm-enabling-vp8-for-boxee-co/
Chris

Current ffmpeg target parameters GUI allow use a custom video codec so it should work with this new ffmpeg addition.
-G

_________________
Synfig needs your help!
Developers, packagers, bug testers, translators, artists, web developers, wiki writers... you can contribute! :D


Top
 Profile  
 
PostPosted: Sun Jun 10, 2012 7:11 pm 
Offline

Joined: Mon Apr 16, 2012 6:33 pm
Posts: 50
hoshi411 wrote:
forget about exporting into swf.
why would you put an animation made on an open source format into a proprietary material like FLASH:( on purpose?!?! O_o

Well, if you are on an animation team in which everyone else uses Flash, but you do not (because you're on Linux, or do not have enough money, or you do not want to pirate it). I am in such a situation; the rest of the team uses Flash. However, I do not believe the Flash IDE is supported on Linux. In order to contribute I have been making SVGs in Inkscape and converting them to SWF with swfmill.

Otherwise I agree with you. :D


Top
 Profile  
 
PostPosted: Sun May 19, 2013 11:11 am 
Offline

Joined: Sun Apr 07, 2013 3:41 am
Posts: 1
Why dont you try pac-n-zoom and make SVG animation yourself within minutes.


Top
 Profile  
 
Display posts from previous:  Sort by  
Post new topic Reply to topic  [ 25 posts ]  Go to page Previous  1, 2

All times are UTC - 4 hours [ DST ]


Who is online

Users browsing this forum: No registered users and 3 guests


You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum
You cannot post attachments in this forum

Search for:
Jump to:  
Powered by phpBB® Forum Software © phpBB Group