Follow

Hello fedi, I am looking for a screen recorder on Linux(manjaro). Have tried a few like obs, simplescreenrecorder etc. The videos quality is not soo good even with best configuration.

Not sure if it's kde fault, nvidia issue.

Please share any info about config or application you are using.

Boosts are welcome.

Thanks

If you have Nvidia graphic card, don't forget to disable flipping in its settings. Otherwise you will have tearings in the video.

@mmarif OBS works pretty good for me? you do have to fuss with the settings though, I think the defaults compress a lot. OBS also can do hardware acceleration if you have a GPU. I even managed to get it to be able to use my intel igpu to do encoding, though it was a very arcane pain in the ass

@anna
I use nvec(nvidia) to render them, still they are somehow blury. While increasing the bitrate just increase the file size and no improvement in quality.

Can do screen grab of the settings if you are still using it.

@mmarif it is more optimized for streaming, but the quality is still pretty good, though note I am using VAAPI which is the intel encoder

@anna
Thank you. I will try this and see if it does change anything.

@anna Tried with your settings(more or less the same). The result is still terrible, tbh I would say beyond terrible.

Maybe streaming is better in OBS but not recording.

Here are screen.

@anna I have tinkered around OBS, and using this setup, things are much much better now.

Sharing in case someone find it helpful.

Quality reaches to 90% compare to 20%. Don't know how.

@mmarif ooh it also looks like you're trying to record in 4k which i think is most of the problem. i've never tried that myself, i don't have a 4k monitor, but you need very high bitrates for that, not to mention a really fast cpu or very recent gpu

@mmarif or is that 2k? i DO have a 1440 monitor and that does make a big difference in requirements compared to a 1080 as well. i streamed at 720 for a long time, and only recently upped it to 1080 and still have issues w/ people on poor connections being able to watch at a bitrate they have access to

@anna Yes, it's 2K. Maybe that do have little bit of difference.

Tried with so many options like 64K bitrate. Right now 10k does suit the need. And there is not much of big difference in quality. But there is diff in size though.

But so far with that settings things are quite stable.

@mmarif Not sure if you're looking for something like this but here's what I use 😉

This records a 1080p display at 30 fps. It's very high quality but the file size is rather large.
ffmpeg -video_size 1920x1080 -framerate 30 -f x11grab -draw_mouse 0 -i :0.0+0,0 -c:v libx264 -crf 0 -preset ultrafast output.mkv

nixnet.services/blog/lossless-

@amolith
Argh, the ffmpeg. Last resort.

Yes, I would definitely try it out. Just was looking for gui to make things quicker and easier.

How much size for 1 minute recording?

@mmarif ffmepg is a pain in the ass to write commands for but it's a wonderful tool for videos 😉 I keep them in my history to make quickly recording things faster.

The video at the bottom of the page here was recorded with that command then transcoded with another. The source video is 1:41 and ~22 MB while the result is 6.1 MB.
secluded.site/posts/consuming-

It can use space quickly but transcoding to other formats can greatly reduce the size without compromising on quality.

@amolith
Reasonable size. Can work for me.

Will let you know how it goes.

@amolith @mmarif ffmpeg _is_ a pain in the ass to write commands for. It uses a "pile of flags" model in which it's hard to tell what the pipeline actually is. Using gstreamer with gst-launch is much more intuitive:
https://gstreamer.freedesktop.org/documentation/tutorials/basic/gstreamer-tools.html

@amolith Not sure how important the "lossless" in the blogtitle is, but I'm just wondering because I have been obsession over this the past few days. Wouldn't it be better to use libx264rgb instead of libx264 to avoid the automatic conversion of RGB to YCbCr colorspace since you do lose some color information? Guess it does depend on what you need it for but still. @mmarif

@espen
To be honest, ¯_(ツ)_/¯ I only know enough about ffmpeg to cobble some things together and vaguely get it to do what I want lol.
@mmarif

@amolith @mmarif Haha, fair enough. I have probably dived deeper into colorspaces than what is healthy, so if is good enough then its good enough. :)

@espen @amolith

Tried this command, and this has the best result so far in all apps. Still trying to improve it though. Suggestions are welcome.

ffmpeg -f pulse -ac 2 -i default -s 2560x1440 -framerate 60 -probesize 24M -f x11grab -draw_mouse 0 -thread_queue_size 512 -i :0.0+0,0 -c:v libx264rgb -crf 0 -preset ultrafast output.mkv

Obervations(quality):
OBS : 20%
recodmydesktop : 45%
simplescreenrecorder : 70%
FFMPEG(command) : 80%

@mmarif Since you are pulling in audio as well, I would probably add a "-c:a flac" option in there as I expect pulse output is pure wav/pcm data. But assuming your system can process and store without dropping frames, it should be good.

@mmarif
I use OBS here and haven't had any quality issues. Following thread for new suggestions though!

@mmarif Have a look at vokoscreen. Another recommendation is peek, but I did not test it yet.

@allo Going to try Voko soon.

Peek is good for animated GIFs, use it from time to time.

@allo Voko is good, on par with SimpleScreenRecorder.

👍

Sign in to participate in the conversation
Mastodon

Server run by the main developers of the project 🐘 It is not focused on any particular niche interest - everyone is welcome as long as you follow our code of conduct!