Author Topic: Nutcracker: Fix for animated gifs  (Read 2162 times)

Offline smeighan

  • Moderator
  • Sr. Member
  • *****
  • Posts: 2285
    • Nutcracker RGB Sequence Builder
Nutcracker: Fix for animated gifs
« on: October 17, 2012, »
Well, give animated gifs a try again.

New feature: Autosizing of animated gifs
Fixes: Errors, crashes .etc. , fixed

So , lets see

here is a gif i found


The gif effect now autosizes it to fit whatever target you are using



and here is what it looks like on my matrix



Another example, here is original gif

the autosized gif


and what it looks like on my matrix



and same effect on my megatree



and one more, this shows how a large animated gif is sized down correctly









Now, what still doesnt work. This has never worked right. Some gif's are optimized. When this happens they shift some frames and provide a offset_left and offset_top.
I still dont have these working correctly.

Here is an example, notice the jitter that is not there in the original gif.






Well, enjoy. Post issues. thanks

sean
Sean
Littleton, CO
Latest releases You are not allowed to view links. Register or Login
xLights/Nutcracker Forum You are not allowed to view links. Register or Login
Fbook You are not allowed to view links. Register or Login

Offline jnealand

  • Patron Member
  • Sr. Member
  • ****
  • Posts: 2494
Re: Nutcracker: Fix for animated gifs
« Reply #1 on: October 17, 2012, »
Mine still does not work
id=jnealand
model=pixeltree
effect=talktree
Jim Nealand
Kennesaw, GA

Offline jnealand

  • Patron Member
  • Sr. Member
  • ****
  • Posts: 2494
Re: Nutcracker: Fix for animated gifs
« Reply #2 on: October 17, 2012, »
Also I am getting the message that bells2.gif file is not found, but it is showing up in my library.
Jim Nealand
Kennesaw, GA

Offline smeighan

  • Moderator
  • Sr. Member
  • *****
  • Posts: 2285
    • Nutcracker RGB Sequence Builder
Re: Nutcracker: Fix for animated gifs
« Reply #3 on: October 17, 2012, »
You are not allowed to view links. Register or Login
Also I am getting the message that bells2.gif file is not found, but it is showing up in my library.

some gifs were deleted last week when meighan.net filled up (25 gigs of disk space).

i have copied my group of gifs over to your account again.

anyone else interested in my gifs, pm me and i will copy them over.

thanks
Sean
Littleton, CO
Latest releases You are not allowed to view links. Register or Login
xLights/Nutcracker Forum You are not allowed to view links. Register or Login
Fbook You are not allowed to view links. Register or Login

Offline kgustafson

  • Coop Manager
  • Sr. Member
  • *
  • Posts: 1120
    • Lost Weekend Productions
Re: Nutcracker: Fix for animated gifs
« Reply #4 on: October 17, 2012, »
We need to add an upload capability (at least for the local instances) much like we have for song phrases.

Add this as an enhancement.

Kurt
------
Visit at: You are not allowed to view links. Register or Login

Offline jnealand

  • Patron Member
  • Sr. Member
  • ****
  • Posts: 2494
Re: Nutcracker: Fix for animated gifs
« Reply #5 on: October 17, 2012, »
Got me all exited and I went back to check it out.  Here is what I get

Your gif file gifs/123/BELLS2.GIF does not exist. please upload it
Jim Nealand
Kennesaw, GA

Offline smeighan

  • Moderator
  • Sr. Member
  • *****
  • Posts: 2285
    • Nutcracker RGB Sequence Builder
Re: Nutcracker: Fix for animated gifs
« Reply #6 on: October 17, 2012, »
You are not allowed to view links. Register or Login
Got me all exited and I went back to check it out.  Here is what I get

Your gif file gifs/123/BELLS2.GIF does not exist. please upload it

The problem Jim is you forgot that file names for the gif's are case sensitive.

This has happened to other people also so i made a quick video tutorial on using animated gifs. I not only talk about the file names but also i talk about how you can tell optimized gifs (there will be a jitter to the final animation) and transparency gifs

tutorial is here You are not allowed to view links. Register or Login

thanks
sean

Sean
Littleton, CO
Latest releases You are not allowed to view links. Register or Login
xLights/Nutcracker Forum You are not allowed to view links. Register or Login
Fbook You are not allowed to view links. Register or Login

Offline jnealand

  • Patron Member
  • Sr. Member
  • ****
  • Posts: 2494
Re: Nutcracker: Fix for animated gifs
« Reply #7 on: October 18, 2012, »
Here is another message that should not appear. 

"Overriding your effect window_degrees of 360 degrees
Setting it to 180 degrees to match your target model PIXELTREE"

Got the bells2 to process, but it looks terrible on my tree.  I'll keep looking for gifs that might work.
Jim Nealand
Kennesaw, GA

Offline smeighan

  • Moderator
  • Sr. Member
  • *****
  • Posts: 2285
    • Nutcracker RGB Sequence Builder
Re: Nutcracker: Fix for animated gifs
« Reply #8 on: October 18, 2012, »
You are not allowed to view links. Register or Login
Here is another message that should not appear. 

"Overriding your effect window_degrees of 360 degrees
Setting it to 180 degrees to match your target model PIXELTREE"

Got the bells2 to process, but it looks terrible on my tree.  I'll keep looking for gifs that might work.

This message will appear if your target and your effect disagree.
I posted this change about one month ago. It used to be every effect had the window degrees. Now you decide full size or half mega tree at the target level.

I will automatically change your effects window degrees to match your target. This is a time saver for you.

So this message will only show up if target and effect disagree.

It is a good thing, there is also nothing more u need to do.

Here. Is thread
You are not allowed to view links. Register or Login

Sean
Littleton, CO
Latest releases You are not allowed to view links. Register or Login
xLights/Nutcracker Forum You are not allowed to view links. Register or Login
Fbook You are not allowed to view links. Register or Login

Offline jnealand

  • Patron Member
  • Sr. Member
  • ****
  • Posts: 2494
Re: Nutcracker: Fix for animated gifs
« Reply #9 on: October 18, 2012, »
I have two separate target models for my tree, both are the same except for
Pixeltree is defined as a 180
Fulltree is defined as a 360 and was used to generate a valid text animation that looks bad on screen, but works perfect on my actual tree.

I get the error message using the pixeltree.  I'm aware of the change that was made on the model definitions.  There is no place on the effect screen to specify the window degrees so I am confused about the source of this message.  I just tried it again after checking the target definitions and I still get the error message.  It is not a problem, I am just posting this for your info as one more cleanup place.
Jim Nealand
Kennesaw, GA

Offline smeighan

  • Moderator
  • Sr. Member
  • *****
  • Posts: 2285
    • Nutcracker RGB Sequence Builder
Re: Nutcracker: Fix for animated gifs
« Reply #10 on: October 18, 2012, »
You are not allowed to view links. Register or Login
I have two separate target models for my tree, both are the same except for
Pixeltree is defined as a 180
Fulltree is defined as a 360 and was used to generate a valid text animation that looks bad on screen, but works perfect on my actual tree.

I get the error message using the pixeltree.  I'm aware of the change that was made on the model definitions.  There is no place on the effect screen to specify the window degrees so I am confused about the source of this message.  I just tried it again after checking the target definitions and I still get the error message.  It is not a problem, I am just posting this for your info as one more cleanup place.

Jim, that message is not an error message, it is just informational. If you have two targets for a full mega tree and a half mega tree and you are using one effect on both, you will keep seeing this informational message meaning your effects window_degrees keeps getting changed to match the target you are using.

If you don't want to see it, clone your effect.

If you had an effect called bars, create two effects
Bars_360
And
Bars_180

Sorry for any confusion
Sean
Littleton, CO
Latest releases You are not allowed to view links. Register or Login
xLights/Nutcracker Forum You are not allowed to view links. Register or Login
Fbook You are not allowed to view links. Register or Login

Offline jnealand

  • Patron Member
  • Sr. Member
  • ****
  • Posts: 2494
Re: Nutcracker: Fix for animated gifs
« Reply #11 on: October 18, 2012, »
The only effect that the full tree is used for is for the text animation.  If the half tree text gets fixed I will be deleting the full tree target.  The bells2 gif that I am using in this example has never been used with my full tree target so I am still confused by how nutcracker is getting the information that my window size was 360 and had to be changed.  It has never been a 360 since I rebuilt and renamed my targets when you made the change to add window size to the target definition.  It may be an informational message and the effect does get generated fine, but I am confused by how the message could be arising on a target and a model that have NEVER been specified as a 360 window.
Jim Nealand
Kennesaw, GA

Offline smeighan

  • Moderator
  • Sr. Member
  • *****
  • Posts: 2285
    • Nutcracker RGB Sequence Builder
Re: Nutcracker: Fix for animated gifs
« Reply #12 on: October 18, 2012, »
You are not allowed to view links. Register or Login
The only effect that the full tree is used for is for the text animation.  If the half tree text gets fixed I will be deleting the full tree target.  The bells2 gif that I am using in this example has never been used with my full tree target so I am still confused by how nutcracker is getting the information that my window size was 360 and had to be changed.  It has never been a 360 since I rebuilt and renamed my targets when you made the change to add window size to the target definition.  It may be an informational message and the effect does get generated fine, but I am confused by how the message could be arising on a target and a model that have NEVER been specified as a 360 window.

maybe the confusion for you is that field called window_degrees on your effects is now hidden. I used to prompt you for it on all effects.

you have 2 targets
FULLTREE, 360 degrees
PIXELTREE, 180 degrees

You have one effect you have been using BELLS2. This effect has a field for degrees that you never see

Run FULLTREE with BELLS2 and the hidden field in BELLS2 is changed to 360
run PIXELTREE with BELLS2 and the hidden field in BELLS2  is changed to 180 degrees.

as you switch between the two targets using the same effect the hidden field keeps getting changed. The message is the info telling that.

since this has been so confusing, i will remove that message. 

thanks
Sean
Littleton, CO
Latest releases You are not allowed to view links. Register or Login
xLights/Nutcracker Forum You are not allowed to view links. Register or Login
Fbook You are not allowed to view links. Register or Login

Offline jnealand

  • Patron Member
  • Sr. Member
  • ****
  • Posts: 2494
Re: Nutcracker: Fix for animated gifs
« Reply #13 on: October 18, 2012, »
Here is a bellls gif with no transparency, but the view seems to be wrong.
You are not allowed to view links. Register or Login
Jim Nealand
Kennesaw, GA