dvershinin / green-recorder

A simple screen recorder for Linux desktop. Supports Wayland & Xorg
GNU General Public License v3.0
56 stars 3 forks source link

huge size when recording a gif #13

Open mgabs opened 3 years ago

mgabs commented 3 years ago

I recently tried to record a gif with Green Recorder I noticed that after recording coupling of minutes the following:

  1. The file is huge

-rw-r--r-- 1 mgaber mgaber 383938461696 May 12 12:56 Filters.gif -rw-r--r-- 1 mgaber mgaber 358G May 12 12:56 Filters.gif

  1. The file won't open
stale[bot] commented 2 years ago

This issue has been automatically marked as stale because it has not had recent activity. It will be closed if no further activity occurs. Thank you for your contributions.

dvershinin commented 2 years ago

I reproduced it.

This sequence worked more reliably:

ffmpeg -video_size 2560x1440 -framerate 30 -f x11grab -i :0 test.mkv
ffmpeg -y -i "test.mkv"  -vf fps=10,palettegen /tmp/palette.png
ffmpeg -i "test.mkv" -i /tmp/palette.png -filter_complex "paletteuse" test.gif

Had not time to implement it yet...