Open ghost opened 1 year ago
Hi @LauraTaylorUK ,
thank you for your kind message!
Regarding your requests:
btw, here are two gifs that I made by converting youtube videos:
I personally use the script:
#!/bin/bash
output_name=$(echo $1 | cut -f 1 -d '.').gif
ffmpeg -i $1 -vf "fps=30,split[s0][s1];[s0]palettegen[p];[s1][p]paletteuse" -loop -1 $output_name
for converting videos to GIFs. I can then use it like so,
./converttogif recorded-short.mp4
I similarly find it useful for converting screen recordings to a GIF. The ffmpeg
command used is based on the one found in the Arch Linux wiki. It is adjusted however for a framerate of 30 and the script shown above.
Hi @JammSpread and @LauraTaylorUK ,
sorry I'm short of time lately, so my responses take a while.
Thank you for your suggestions, nonetheless!
Would you like to prepare a pull request for the README?
I would suggest, adding a new heading at the bottom labeled "Sources for wallpapers". where you could also insert examples for converting videos.
Thank you!
Great project, I use it to make my desktop a little bit livelier.
But, I find it hard to find gif images that will look nice in 4k resolutions (ultra wide screen monitor).
Could you please:
1) add a section in the readme file, to point to popular desktop gif images that we can use? 2) add a command to convert video files (mp4, etc) to animated gif images?
For example, here is the ffmpeg command that I use:
The result is ok-ish, the encoding leaves a lot of artefacts. Maybe someone could improve it.
PS: ffmpeg command is from: https://superuser.com/questions/556029/how-do-i-convert-a-video-to-gif-using-ffmpeg-with-reasonable-quality