How do I convert mp4/gif files to arduino arrays?

Hi, I have a 360x12 (x,y) ledlamp display and I want to it to play animations. I'm looking for a way to convert .mp4 and/or .gif files to arduino arrays.

I've tried to use the program: LedEdit which converts .mp4 files to .led files but I don't know how to use these .led files or convert them to arduino arrays.

Can anyone help me?

360x12 is 4320 bytes, this means it is too much to hold in a Uno and you will only be able to get 1 frame in a Mega.

What sort of Arduino do you want to use?

I'm looking for a way to convert .mp4 and/or .gif files to arduino arrays.

If I had to do it I would do it on your laptop or computer using the Processing language and output the array in such a format that you can paste it into your Arduino code and store the results into program memory.

For this project I'm using an arduino uno. If it's too much to hold for 1 arduino uno I could devide the pixelscreen in groups of 9x12 pixelscreen with each it's own arduino uno.

Like I said the Uno only has 2K of memory so only enough for 1 frame.

But how many bits per pixel do you want to display. Also do you want to change the animation on the fly or do you want to have it pre-loaded into program storage memory?

I could devide the pixelscreen in groups of 9x12 pixelscreen with each it's own arduino uno.

Is this pixelscreen something you have made or bought? In general using more than one processor is not usually a good idea.

The ledlamps (pixels) can only turn on or off. I want to store the animations in it's program storage memory.

Still not answered the question:-

Is this pixelscreen something you have made or bought?

If bought can you post a link to where you got it from?
If made can you post a schematic of it?

If you don't cooperate with us then no one can help you. You have the "thing" we do not.

Sadly I don't know how to make a schematic I'm very new with this stuff. Also the matrix that is being used is selfmade.

The matrix is devided in smaller matrices. the smaller matrices consist 3 x 12 LED lights. All the LED lights are sharing the same negative/cathode. each LED light has it's own unique positive. all these (36) positives/anodes are connected to a shift register with 36 outputs and the shift register is connected to an arduino.

I want to be able to play patterns on this 3 x 12 LED matrix but I don't know how. The current code can not be shared. and I can't find a library that fits with this project. What do I do?

Thanks,

  • Phi

I don't know how to make a schematic I'm very new with this stuff. Also the matrix that is being used is selfmade.

So how did you make it without a schematic to follow? How do you know you made it right. You draw a schematic with pencil and paper and then post a photo of your drawing.

The current code can not be shared.

Most people here are supporters of open source. If it can't be shared then it is normally a commercial project or some sort of education assignment. Why should we help you to cheat?

I want to be able to play patterns on this 3 x 12 LED matrix but I don't know how

And without the schematic then nobody can know.