Support and General Use > Plugins/Viewers

gif framecount maximum - variable?

(1/4) > >>

blissorient:
hello, maybe this should be a reply to my earlier post, not sure - it's a different question....

i'm using a sansa e260 with rockbox 62de15f-130103. i am VERY happy with rockbox (not least for increasing the maximum micro sd from 2 to 32 GB!) - massive respect to all involved - long live open-source collaboration!

i'm trying to view animated gifs to learn some juggling tricks (one example: http://www.kingscascade.com/3BallCascade.html).

i have downloaded and resized files to 100x125 (i noticed that rockbox was doing this when i tried to play the original 200x250 files) and some play but some do not - i think it is because of maximum framecount - i saw 32 listed as a maximum somewhere...

so my question is: is a 32 frame maximum some kind of inherent brickwall or could i increase it? how? the files have small dimensions and use very few colours so filesizes are small - most under 30kb. if i could get up to 100 all of the files would run fine, and at 70 almost all would run...

if it is not possible to increase the maximum does anyone know where/how i might batch-reduce the framecount of a few dozen gifs? (for free - i don't own a computer! ;)) or to convert gif to mpg (again, for free)

thanks so much!

saratoga:
You could probably try and increase GIF_MAX_FRAMES in gif_decoder.h and see if it compiles and runs.  I suspect at some point you'll start to run out of memory though. 

blissorient:
ace! thanks!

hmmm..... "compiles and runs"? i have to edit source and recompile? which will require a unix/linux sandbox? i have never compiled anything - is it involved? my guess is that installing the necessary programs to compile the code will take much longer than the edit itself? any chance i could cojole you into doing it for me? not really sure what i can do in exchange.....umm, point you at some awesome music?

ta again

gevaerts:
Is animated gif really the best file format for this? I'd recommend just using mpeg video

whiskers75:
I'll do it for you!
Raised it to 64, lets see how it compiles:     
You can see the build here: https://travis-ci.org/whiskers75/rockbox/builds/4027682
Ask me to change it, and I will.
(If build status is unknown, it hasn't finished yet!)

Navigation

[0] Message Index

[#] Next page

Go to full version