News:

LATEST RELEASE:  FPP 7.5 - Download from here - https://github.com/FalconChristmas/fpp/releases/tag/7.5

+-+-

+-User

Welcome, Guest.
Please login or register.
 
 
 
Forgot your password?

+-Site Stats

Members
Total Members: 16422
Latest: geoffhoops63
New This Month: 15
New This Week: 0
New Today: 0
Stats
Total Posts: 132312
Total Topics: 16402
Most Online Today: 61
Most Online Ever: 7634
(January 21, 2020, 02:14:03 AM)
Users Online
Members: 0
Guests: 44
Total: 44

xLights & Length of Animated Image

Started by munu, February 26, 2023, 07:49:09 PM

Previous topic - Next topic

0 Members and 1 Guest are viewing this topic.

munu

I am not sure if I post this in the right forum. If not, let me know. I have a couple of sequences in xLights. Each sequence has several animated gifs that are shown on a matrix display. I don't want to loop the animated gifs so I disabled that option. But how do I make the length of an image exactly the length of the animation? So lets say an animated give lasts for 12 seconds. How do I make the image exactly as long as the animation without knowing exactly how long the animation is? 

Poporacer

This is confusing...You want to add an image file (an animated Gif) and have it play only one loop of the animation and that duration is to match the exact duration of the clip...
But you don't know how long that clip duration is?

A sarcastic question, but how is xLights supposed to know how long the duration of the native clip is if you don't? LOL

But to answer your question, if you do not select the loop option, xLights will play the animation only one time and Speed up/Slow down the animation to fit the duration. You can change the duration of the clip until it "looks good"
But if you want it to match "Exactly" then you will need some way of identifying how many individual images are in the gif and the duration of each individual image and add them all up together. Or you can use some sort of program to extract that information, like https://ezgif.com/
If to err is human, I am more human than most people.

munu

Ok, got it. I looked at the file properties before but didn't find any information about the duration. I was hoping xLights can somehow figure this out as web browsers also can figure it out somehow (probably somewhere in the metadata). 

Your link helps. I went to the cut option and uploaded one of the gifs. There it shows me the duration. Thanks!

Support FPP

+- Recent Topics

P9-28 and P9-29 not work by dkulp
April 14, 2024, 10:55:47 PM

Resetting or Removing FPP Password (with Windows) by greenreader9
April 14, 2024, 06:21:46 PM

Enclosure for Video Projectors by Scott
April 14, 2024, 12:00:50 PM

Born in the USA by Xmas!
April 13, 2024, 03:25:16 PM

1200w HP Power Supplies by MikeKrebs
April 12, 2024, 08:53:19 PM

Colorlight card not responding to FPP by CaptainMurdoch
April 12, 2024, 09:21:54 AM

FPP and WS2812b not work, but work with python script by CaptainMurdoch
April 11, 2024, 03:34:17 PM

Feature Request: An Alexa interface to the FPP? by CaptainMurdoch
April 10, 2024, 05:55:05 PM

Pixel2Servo how to control direction on a continuous free rotation servo by kennylights
April 09, 2024, 01:44:56 PM

Background Image (House) Not Visible In XLights by THERCLAN
April 05, 2024, 07:44:36 PM

Powered by EzPortal
Powered by SMFPacks Menu Editor Mod