Thanks! Uploaded a mp4 but failed to convert to gif; still it got uploades to nostr build's as mp4.
🤙
Thanks! Uploaded a mp4 but failed to convert to gif; still it got uploades to nostr build's as mp4.
🤙
So the upload feature doesn’t convert files currently; it solely sends them to nostr.build and publishes a nip94 event so that it’s searchable in the future
Do you need an mp4 to gif converter?
Not that I *need it* 🐸🫡... but then I thought it was feature. My bad. Got the ffmpeg bash bacc at home ;).
All good, just trying to get a sense of what tools people need
I originally allowed MP4s because people were making looped MP4s and using them as Gifs in their notes
That was the only reason why
I originally had it create a shareable link, but it takes too long to upload and generate a link so it often timed out and gave people errors
I’m still trying to figure out the best interface for everything so I appreciate the feedback 👊
mhmhh prolly side related but for example if downloading a gif from telegram's, it often does it as .mp4. indeed seems the conversion can be excessive long depending on the command, and library i guess...
here the one i luckily saved from a stack question about ffmpg that i no more able to find at the search engines XD
`₿: ffmpeg -i file.mp4 -vf "fps=10,scale=320:-1:flags=lanczos,split[s0][s1];[s0]palettegen[p];[s1][p]paletteuse" -loop 0 output.gif`
scale could be smaller, though costing quality, still functional for some simple ones... also there could be cases of wanting to flip the outpot so the transpose flag should be needed at the -vf's