It is currently Thu Jun 27, 2024 10:10 am


All times are UTC - 5 hours [ DST ]



Post new topic Reply to topic  [ 16 posts ] 
Author Message
 Post subject: I Used Gimp To Make a GIF Loop Seamlessly
PostPosted: Wed Jan 29, 2020 5:13 am  (#1) 
Offline
GimpChat Member
User avatar

Joined: Nov 04, 2015
Posts: 1362
I filed this in the back of my mind until I worked out how to do it. This is one way and there must be more.

1) start with a series of frames (imported from a video)
2) save as an xcf with the correct timing.
3) make the series reverse using 'reverse/mirror layers'
4) save reversed series as another xcf.
5) use 'Wills Animation Merge' set to addition to merge the two xcf streams together.
It doesn't matter which one is first or second.
Multiplication and hard light also works but for this addition was the best. Out of 36 layers I had to delete layers 19 and 36.
Step thru with Animation Playback to check any layers that are frozen. This is caused by the maths in the animation merge script.
I used 3 scripts, Wills Animation Merge, reverse/mirror layers and also transoductin's Run Code on Visible Layers to take the alpha off all layers.


Image


Share on Facebook Share on Twitter Share on Orkut Share on Digg Share on MySpace Share on Delicious Share on Technorati
Top
 Post subject: Re: I Used Gimp To Make a GIF Loop Seamlessly
PostPosted: Wed Jan 29, 2020 7:37 am  (#2) 
Offline
GimpChat Member
User avatar

Joined: May 10, 2013
Posts: 1389
Location: FInland
This works quite well. :bigthup
The flames look nice, the reverse is more visible higher in the air with the clouds hugging each other.
I've used similar approach for steam discharge, tobacco smoke and the like.


Top
 Post subject: Re: I Used Gimp To Make a GIF Loop Seamlessly
PostPosted: Wed Jan 29, 2020 11:23 am  (#3) 
Offline
GimpChat Member
User avatar

Joined: Apr 15, 2017
Posts: 1826
I think the easiest way to do this, is to use a video editor. Take a short clip into the timeline and split it in the middle. Then swap the order of the clips so the 1st is now the 2nd. Put a blend transition between the clips. You could do the same in Gimp I suppose.

Example:

Attachment:
Fire1-loop.gif
Fire1-loop.gif [ 1.58 MiB | Viewed 8315 times ]


Top
 Post subject: Re: I Used Gimp To Make a GIF Loop Seamlessly
PostPosted: Wed Jan 29, 2020 6:23 pm  (#4) 
Offline
GimpChat Member
User avatar

Joined: Nov 04, 2015
Posts: 1362
Hi Nidhogg - I appreciate your fine eye and feedback. I notice you posted an image of the US pres on another thread. Doesn't bother me but have you seen the GC site policy?
Controversial political, religious and ethnic discussions are not appropriate topics on Gimp Chat. Please refrain from posting images of political figures, past or present. Gimp Chat enjoys a multi-national membership and we want to keep it free from controversies coming from those kinds of issues.

To me the GC site policy looks just like the hippocratic oath for doctors being implemented on Easter Island just before they wiped themselves out. :rofl

Hi racer-x - Thats a nice warm fire and it really shows the difference between the Northern and Southern Hemispheres right now. The reflections on the guitar are excellent. I would be disappointed it you didn't do graphics for a living.

My gif is only a background for a blatant political statement about how the earth's biggest coal miner is currently burning itself to death.
The trouble with bushfire footage is its always shot be people who have had the sh1t scared out of them and its jumping all over the place.


Top
 Post subject: Re: I Used Gimp To Make a GIF Loop Seamlessly
PostPosted: Thu Jan 30, 2020 6:04 am  (#5) 
Offline
GimpChat Member
User avatar

Joined: Apr 15, 2017
Posts: 1826
No, I don't do Graphics for a living. It's always been just a hobby of mine. I've always worked hard with my hands for a living and am now forced into early retirement.

For close-up shots of fire, it's best to start with a short clip around 4 seconds because the wood is burning away. I grabbed this video on-line. https://pixabay.com/videos/search/flame/

Attachment:
Fire-slow.gif
Fire-slow.gif [ 1.46 MiB | Viewed 8244 times ]


Top
 Post subject: Re: I Used Gimp To Make a GIF Loop Seamlessly
PostPosted: Thu Jan 30, 2020 6:38 am  (#6) 
Offline
GimpChat Member
User avatar

Joined: May 10, 2013
Posts: 1389
Location: FInland
Tas_mania wrote:
Hi Nidhogg - I appreciate your fine eye and feedback. I notice you posted an image of the US pres on another thread. Doesn't bother me but have you seen the GC site policy?
Controversial political, religious and ethnic discussions are not appropriate topics on Gimp Chat. Please refrain from posting images of political figures, past or present. Gimp Chat enjoys a multi-national membership and we want to keep it free from controversies coming from those kinds of issues.

I think I'm safe. It wasn't tasteless or controversial and falls in the comics category.
If anyone is offended by a gently stippled celebrity pic, (used extra soft brush) I can replace it with a stippled image of Rocky Balboa.


Top
 Post subject: Re: I Used Gimp To Make a GIF Loop Seamlessly
PostPosted: Thu Jan 30, 2020 10:33 am  (#7) 
Offline
GimpChat Member
User avatar

Joined: Apr 15, 2017
Posts: 1826
I wouldn't sweat it Nidhogg, I think political figures are fair game. Especially corrupt and dangerous leaders like the current President* of the US. The only people that get worked up are political junkies anyway. I'm a registered Independent and hate politics, the only things I'm interested in is policies.


Top
 Post subject: Re: I Used Gimp To Make a GIF Loop Seamlessly
PostPosted: Thu Jan 30, 2020 3:11 pm  (#8) 
Offline
GimpChat Member
User avatar

Joined: Apr 15, 2017
Posts: 1826
I just discovered that ShotCut supports Track Masks, cool....

Attachment:
skull-fire2.gif
skull-fire2.gif [ 931.1 KiB | Viewed 8213 times ]


Top
 Post subject: Re: I Used Gimp To Make a GIF Loop Seamlessly
PostPosted: Thu Jan 30, 2020 4:28 pm  (#9) 
Offline
GimpChat Member
User avatar

Joined: May 10, 2013
Posts: 1389
Location: FInland
That's pretty cool ani :bigthup
I haven't used ShotCut, but I installed AVLinux on another HDD and been testing KDEnlive for simple video editing.


Top
 Post subject: Re: I Used Gimp To Make a GIF Loop Seamlessly
PostPosted: Thu Jan 30, 2020 8:08 pm  (#10) 
Offline
GimpChat Member
User avatar

Joined: Nov 04, 2015
Posts: 1362
The burning skull looks awesome racer :clap

Rocky Balboa is interchangeable with potus :)

I made this one with Kdenlive but it looks like nobody sets up a tripod close to an out of control fire :)
I used 2 'Dissolve' transitions but there is still a jerk in it.


Image


Top
 Post subject: Re: I Used Gimp To Make a GIF Loop Seamlessly
PostPosted: Fri Jan 31, 2020 3:38 pm  (#11) 
Offline
GimpChat Member
User avatar

Joined: Apr 15, 2017
Posts: 1826
@ Tas_mania, It's best to use footage shot on a tripod or it looks pretty bad.

@ Nidhogg, Out of curiousity I downloaded AVlinux and ran it on a live SD card. It might be a good way for newbies to get started in multimedia editing as it includes a lot of tools. However most of those tools are older.

I run most of my editing tools in AppImage versions. That way you get the latest and they are a lot easier to work with and already have all needed dependencies. AppImages work great with whatever Linux desktop you like. Best of both worlds in my opinion.


Top
 Post subject: Re: I Used Gimp To Make a GIF Loop Seamlessly
PostPosted: Sun Feb 02, 2020 3:28 am  (#12) 
Offline
GimpChat Member
User avatar

Joined: Nov 04, 2015
Posts: 1362
Image


Made the clip with Kdenlive, edited with Gimp, made gif with an online app.


Top
 Post subject: Re: I Used Gimp To Make a GIF Loop Seamlessly
PostPosted: Sun Feb 02, 2020 12:31 pm  (#13) 
Offline
GimpChat Member
User avatar

Joined: Apr 15, 2017
Posts: 1826
Nice one Tas_mania. Can you imagine having to go to work everyday like that? I wonder how long those people can hang on to the side of those train cars before they fall away?


Top
 Post subject: Re: I Used Gimp To Make a GIF Loop Seamlessly
PostPosted: Sun Feb 02, 2020 1:04 pm  (#14) 
Offline
GimpChat Member
User avatar

Joined: May 10, 2013
Posts: 1389
Location: FInland
Nice seamless ani Tas_mania.
Does it go to opposite direction than the coal train you did recently? These must be the miners going to work :hehe
Racer-x, yeah some of the tools in AVLinux are probably outdated.
It would have been quite a chore to install low latency kernel, all the apps and configure them to work fluently.
When I tried the same video apps on Ubuntu, they were useless because of the lag and didn't include as many effects.
But I'm using it for audio primarily, recording some musical keyboard play using VSTi plug-ins & Audacity.

Never tried AppImages, but I'll give it a shot next time.


Top
 Post subject: Re: I Used Gimp To Make a GIF Loop Seamlessly
PostPosted: Mon Feb 03, 2020 5:43 pm  (#15) 
Offline
GimpChat Member
User avatar

Joined: Nov 04, 2015
Posts: 1362
I've always liked trains. These overcrowded trains are free because the conductor would have to move along the roof to check tickets. I think these trains are very dangerous because sometimes somebody on the roof stands up and gets hit by a bridge or tunnel. Luckily human beings are easily replaced.....

Image


racer-x gave me the idea of a burning skull avatar that burned-out.

I think I made a mistake on the train gif. I use Gimp to delete every second frame, then I renumbered the layers , then deleted every second frame again.
First I deleted even numbers then odd numbers. Because they were renumbered I actually deleted frames in series.


Last edited by Tas_mania on Tue Feb 04, 2020 8:13 pm, edited 1 time in total.

Top
 Post subject: Re: I Used Gimp To Make a GIF Loop Seamlessly
PostPosted: Mon Feb 03, 2020 7:22 pm  (#16) 
Offline
GimpChat Member
User avatar

Joined: Apr 15, 2017
Posts: 1826
If you delete half of the frames, you are effectively reducing the frame-rate in half. To compensate you should speed it up by reducing the frame delay to around 60 ms. I do all that in ffmpeg. It's exactly what I did with the flaming skull avatar.


Top
Post new topic Reply to topic  [ 16 posts ] 

All times are UTC - 5 hours [ DST ]


   Similar Topics   Replies 
No new posts Attachment(s) I must have an Endless Loop but can not Understand it

2

No new posts Attachment(s) Make a brush - Make a mandala

316

No new posts Attachment(s) how could i make this background

7

No new posts Can someone please make a script fu that does this

4

No new posts make pointer bigger ??

4



* Login  



Powered by phpBB3 © phpBB Group