I'm creating a sprite sheet for my website which will be used as an animated background mask on a button hover. The only issue I'm having is creating the sprite sheet mask
I have 297 720p images I want to put as one long line, so I am using ffmpeg's tile_complex
ffmpeg -i %04d.png -filter_complex tile=297x1 output.png
I get this output, which basically says the image resolution is too high and therefore it can't encode
Picture size 380160x720 is invalid
Error initializing output stream 0:0 -- Error while opening encoder for output stream #0:0 - maybe incorrect parameters such as bit_rate, rate, width or height
Any ideas?
For the buttons, I can descale the resolution a lot as they will appear small using this
ffmpeg -i %04d.png -vf scale=iw/6:-1 %04d.png
However, with the title that appears large on the screen, I don't want a loss of quality
I am following Kevin Powell's video on it:
The mask he uses he draws by hand, so he doesn't show how to take a pre-existing image sequence and use it