Comments (8)
@phw Is there a reason why you're using huffyuv output? It's ridiculously HUGE.
I know nothing about the matter, but see the comment on this page recommending libx264rgb, for instance.
You may want to check out this famous post on how to produce high quality GIF using ffmpeg.
Personally, I use PNG output (e.g. %05d.png
) and post-process with ImageMagick or Gifsicle.
from peek.
Might be related to the fact that the screen recording uses temp files, and by default /tmp on Arch is a RAM disk. What approximate duration and area was your recording?
I will look into this and see whether I can reduce the used storage.
from peek.
how could default /tmp be changed to something else?
from peek.
Try to start Peek like this to use the tmp
directory in your home (or set any other path you want):
TMPDIR=$HOME/tmp peek
from peek.
thanks! it works fine
from peek.
And if you don't want to have /tmp use your RAM at all but use the disk instead you need to disable tmpfs, see https://wiki.archlinux.org/index.php/Tmpfs for pointers on how to do this.
from peek.
@phw Is there a reason why you're using huffyuv output? It's ridiculously HUGE.
No, no particular reason other than that it worked. I had also a short try with using PNG output, but was not too satisfied with the output I got. But actually I did not invest any more time in trying to optimize this after I had first satisfactory quality results :) Thanks for the link, will definitely change this.
from peek.
Ok, finally found the time to test this and use libx264rgb instead of huffyuv output. huffyuv is indeed ridiculously large. For comparison I recorded a roughly 900 x 500 pixel area, and I recorded about 500 frames. With huffyuv the temporary file was about 300 MB large, with libx264rgb only 3 MB. I think this should solve most RAM issues encountered, and everything else not fixed by this can still use the TMPDIR=$HOME/tmp peek
workaround.
from peek.
Related Issues (20)
- Error when make gif
- Peek not responding for Ubuntu 22.04.3
- broken on wayland
- Fail to start
- Saving GIF or mp4 times out
- error
- failed with status 256 (received signal 0). HOT 1
- Error - Record as GIF HOT 1
- Error while recording screen: "GDBus.Error:org.freedesktop.DBus.Error.NoReply: Message recipient disconnected from message bus without replying"
- Profile Achievement Suggestion: Versatile HOT 2
- Recording stopped HOT 1
- Error when trying to record any type 😢 HOT 1
- PopOS! 22.04 - Peek is not saving to GIF - Timeout was reached HOT 1
- Recording error
- Can't Record GIF
- Peek times out when trying to save a recording
- GDBus.Error:org.gtk.GDBus.UnmappedGError.Quark._g_2dio_2derror_2dquark.Code19: Invalid params
- I can't save record on Pop!OS
- Timeout recording error
- Troubles to save GIF on PoP!_OS
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
D3
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
-
Recommend Topics
-
javascript
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
-
web
Some thing interesting about web. New door for the world.
-
server
A server is a program made to process requests and deliver data to clients.
-
Machine learning
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from peek.