Jump to content
Search In
  • More options...
Find results that contain...
Find results in...

Need software to trim an animated gif

I have a gif which is 90 frames. I want to delete the last 10 frames to make it 80 frames.

dont want to change anything else. dont want to reencode. want to keep the original 80 frames. want to keep the fps same. is there a software to delete the last 10 frames.

online tools dont work as the gif is too big in size. want to trim by frames, not by time.

Link to post
Share on other sites

platform?  I mean, there's a billion for any, but it'd help narrow down.

🖥️ Motherboard: MSI A320M PRO-VH PLUS  ** Processor: AMD Ryzen 2600 3.4 GHz ** Video Card: Nvidia GeForce 1070 TI 8GB Zotac 1070ti 🖥️
🖥️ Memory: 32GB DDR4 2400  ** Power Supply: 650 Watts Power Supply Thermaltake +80 Bronze Thermaltake PSU 🖥️

🍎 2012 iMac i7 27";  2007 MBP 2.2 GHZ; Power Mac G5 Dual 2GHZ; B&W G3; Quadra 650; Mac SE 🍎

🍎 iPad Air2; iPhone SE 2020; iPhone 5s; AppleTV 4k 🍎

Link to post
Share on other sites
Just now, Video Beagle said:

platform?  I mean, there's a billion for any, but it'd help narrow down.

windows 10

Link to post
Share on other sites

Photoshop. Or you can just import the gif into a video editor, edit it there and render it as a gif. How large is your file exactly?

And now a word from our sponsor: 💩

-.-. --- --- .-.. --..-- / -.-- --- ..- / -.- -. --- .-- / -- --- .-. ... . / -.-. --- -.. .

Link to post
Share on other sites
Just now, Avocado Diaboli said:

Photoshop. Or you can just import the gif into a video editor, edit it there and render it as a gif. How large is your file exactly?

its 130mb. i already rendered it out on premiere. thats how i got the gif.  but i cant get the exact length. i want finer control on the length, hence i want to trim by frame, not by time as is the case in premiere. even going frame by frame doesnt work. i am either getting a 70 frame gif or a 90 frame gif. nothing in between. also it takes too much time on premiere.

 

so i got the gif in the 90 frame and want to just trim the last the 10 frames.

Link to post
Share on other sites
1 minute ago, avg123 said:

its 130mb. i already rendered it out on premiere. thats how i got the gif.  but i cant get the exact length. i want finer control on the length, hence i want to trim by frame, not by time as is the case in premiere. even going frame by frame doesnt work. i am either getting a 70 frame gif or a 90 frame gif. nothing in between. also it takes too much time on premiere.

 

so i got the gif in the 90 frame and want to just trim the last the 10 frames.

Do you have access to After Effects? It's way more precise in terms of frame-by-frame work. Or, since you have Creative Cloud, you should also have Photoshop. Just import the gif there and if the timeline doesn't automatically show up at the bottom of the program window you can enable it under window->timeline. There you can delete individual frames.

And now a word from our sponsor: 💩

-.-. --- --- .-.. --..-- / -.-- --- ..- / -.- -. --- .-- / -- --- .-. ... . / -.-. --- -.. .

Link to post
Share on other sites

You can split it to individual images with ffmpeg, then delete the ones you don't want and stick it together into a GIF. 

Link to post
Share on other sites
1 hour ago, WereCat said:

You can split it to individual images with ffmpeg, then delete the ones you don't want and stick it together into a GIF. 

what do i stick it together with?

Link to post
Share on other sites
2 hours ago, Avocado Diaboli said:

Do you have access to After Effects? It's way more precise in terms of frame-by-frame work. Or, since you have Creative Cloud, you should also have Photoshop. Just import the gif there and if the timeline doesn't automatically show up at the bottom of the program window you can enable it under window->timeline. There you can delete individual frames.

i have deleted the frames. now how do i save it without re encoding it?

Link to post
Share on other sites
16 minutes ago, avg123 said:

i have deleted the frames. now how do i save it without re encoding it?

In Photoshop File -> Export -> Save for Web (Legacy)

At the bottom right of the save dialog, you'll see how many frames the file will include.

And now a word from our sponsor: 💩

-.-. --- --- .-.. --..-- / -.-- --- ..- / -.- -. --- .-- / -- --- .-. ... . / -.-. --- -.. .

Link to post
Share on other sites
20 minutes ago, avg123 said:

what do i stick it together with?

you can also use ffmpeg or gimp, photoshop, photoscape, premiere, etc.. 

Link to post
Share on other sites
16 minutes ago, Avocado Diaboli said:

In Photoshop File -> Export -> Save for Web (Legacy)

At the bottom right of the save dialog, you'll see how many frames the file will include.

ok i have the dialog open, but it I have to put in the presets and select transparency and diffusion and colors etc. that means photoshop is changing the original frames.

 

i was hoping for something that does not touch the original frames. just deletes the frames and saves the remaining frames as is.

is that possible?

 

i really dont want to change anything with the frames as the original scene was very dark and i had to do a lot of trial and error to make it somewhat decent in premiere. its already all blocky and messed up.

 

i dont want to make it any worse. i want to preserve it.

Link to post
Share on other sites
2 minutes ago, avg123 said:

ok i have the dialog open, but it I have to put in the presets and select transparency and diffusion and colors etc. that means photoshop is changing the original frames.

 

i was hoping for something that does not touch the original frames. just deletes the frames and saves the remaining frames as is.

is that possible?

Every type of change to a file will re-encode that file, regardless of if its a still picture, video or audio file. It's not like a piece of paper you can just trim the edges off without touching the rest. Export it and compare the results. How critical is your use case even if you have to rely on a gif in the first place?

And now a word from our sponsor: 💩

-.-. --- --- .-.. --..-- / -.-- --- ..- / -.- -. --- .-- / -- --- .-. ... . / -.-. --- -.. .

Link to post
Share on other sites

If you need help with your forum account, please use the Forum Support form !

 

VPN server guide

Introduction to Mechanical Keyboard

Spoiler

My Gaming Rig - Motherboard: MSI Z370-A PRO CPU: i7-8700 RAM: 32GB DDR4 2400(4x8GB) GPU: Gigabyte GTX 1060 3GB OS SSD: 512GB SU800 SSD Storage: 2x 1TB Seagate PSU: Seasonic G650 OS: Windows 10 Pro 64bits Monitor: Acer 21in G205H + Lenovo 21in

 

Link to post
Share on other sites
1 minute ago, Avocado Diaboli said:

Every type of change to a file will re-encode that file, regardless of if its a still picture, video or audio file. It's not like a piece of paper you can just trim the edges off without touching the rest. Export it and compare the results. How critical is your use case even if you have to rely on a gif in the first place?

i had crank up the lighting, exposure and other settings to brighten a very dark scene of a lossy compressed video, so it has already lost a lot of quality. i dont want to make it any worse.

Link to post
Share on other sites
3 minutes ago, avg123 said:

i had crank up the lighting, exposure and other settings to brighten a very dark scene of a lossy compressed video, so it has already lost a lot of quality. i dont want to make it any worse.

Yeah but what is the intended goal here that you need a 100MB+ gif with exactly 80 frames? In my experience, when someone asks such a specific question, it's often better to ignore whatever solution that person has set in their mind and instead look for a solution to the original problem. 

And now a word from our sponsor: 💩

-.-. --- --- .-.. --..-- / -.-- --- ..- / -.- -. --- .-- / -- --- .-. ... . / -.-. --- -.. .

Link to post
Share on other sites
13 hours ago, avg123 said:

I have a gif which is 90 frames. I want to delete the last 10 frames to make it 80 frames.

dont want to change anything else. dont want to reencode. want to keep the original 80 frames. want to keep the fps same. is there a software to delete the last 10 frames.

online tools dont work as the gif is too big in size. want to trim by frames, not by time.

The problem here is you are trying to make an animated gif instead of a webp.

 

Anyway, what you would be better off doing is find an old version of Jasc Animation shop, and just delete the cells.

Link to post
Share on other sites

Create an account or sign in to comment

You need to be a member in order to leave a comment

Create an account

Sign up for a new account in our community. It's easy!

Register a new account

Sign in

Already have an account? Sign in here.

Sign In Now

×