On Fri, Jan 2, 2015 at 7:58 AM, Geoffroy Montel <
geoffroy.montel...@gmail.com> wrote:
> Hello
>
> All the best for 2015 to everyone on the list !!!
>
> Thanks a lot for your help Stephan. Both approaches you suggested do work.
>
> FYI, it looks like there are differences in rendering between the two :
>
> 1. if I use the webvfx filter, the definition of the resulting video looks
> better at smaller definition than with the producer.
> I don't really understand why, maybe it's because of the resolution of the
> window webkit uses is different between the producer and the filter. I
> tried setting meta.media.width and meta.media.height in the producer but it
> either crashes melt or generate garbage in the video.
>
If the MLT profile is using non-square pixels, then there will be aspect
ratio normalization by horizontally scaling the webvfx producer, which
always generates square pixels.
>
> 2. if I use the webvfx producer and uses CSS3 animations
> <http://www.w3schools.com/css/css3_animations.asp> in the HTML file, the
> timing and length of the animation is not respected. A 6 seconds or so
> animation only lasts 1 or 2 seconds. I don't have the same problem if I use
> the webvfx filter. I have no clue why :-)
>
>
CSS3 animation cannot work correctly regardless of producer or filter
because it lacks a seeking API. (Actually, there is a JavaScript API from
W3C in draft, but not available in Qt WebKit.) If it seems to be working as
a filter, then it is because you are getting lucky or not picky about the
timing. Here is an article with some more explanation.
http://www.shotcut.org/bin/view/Shotcut/HowToTumultHype
------------------------------------------------------------------------------
Dive into the World of Parallel Programming! The Go Parallel Website,
sponsored by Intel and developed in partnership with Slashdot Media, is your
hub for all things parallel software development, from weekly thought
leadership blogs to news, videos, case studies, tutorials and more. Take a
look and join the conversation now. http://goparallel.sourceforge.net
_______________________________________________
Mlt-devel mailing list
Mlt-devel@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/mlt-devel