Coderus screenrecorder fork

Since I had been asked on mastodon and there has been some activity here, I thought I’d take a crack at updating @coderus screenrecorder app …

With a bit of help from our local AI (Austrian Intelligence, @nephros, ducks’n’runs) I’ve managed to get @coderus screenrecorder running with new service files and slightly modified interfaces, dbus configuration.

It features a top menu button for starting a screen recording session and a context menu there to call up the application and settings. The app now records directly to ~/Videos instead of ~/Documents and does not exhibit any odd color values in the final videos. It does still produce avis, but you can convert those to mp4 in Videoworks :slight_smile:

It’s up on screenrecorder (coderus fork) | OpenRepos.net — Community Repository System and also GitHub - poetaster/screenrecorder: Sailfish screen recorder · GitHub and coming to chum.

No LLMs where harmed, or even consulted, in this development work (duck and run).

44 Likes

Very nice, thanks for having brought it back!
On the JP2 (you have one to test, haven’t you biggrin?), the 24 fps, the max I could set, produces a slow video.
I guess it is because the JP2 refresh rate is pretty high.

Would it be possible to easily increase it?
…No. easier: speed up the video reading. Isn’t that just a metadata change?

I could try to make a PR but I would surely have to harm an LLM with my so noob questions :–)

2 Likes

Wow, this is great! I was keen for Sailrecorder but it never worked for me. This works really well!

I must say I noticed the same thing on my Xperia 10IV running my Lineage-based port. The recorded video is very smooth, but it is playing back at about 1/3 real-time as verified by recording the stopwatch (from the stock “clock” app).

Also, holy filesizes, Batman! 10s of recording (which plays back as 30s of video) takes up three quarters of a gigabyte?? :exploding_head:
I might have to play with some of the settings and reduce that.

Anyway, it works and with a bit of ffmpeg’ing the files it produces are quite good. Thanks again!

Nope, but it’s in the mail! So I should have one in a couple of weeks!

That could very well be since it captures lipsticks updates. Hmmm. I’ll see if it’s possible to do a ‘detect refresh’ and just drop frames since all those extra frames will not contain any new data (unless you’re playing a game).

Could you do a test and do the opposite. Just capture 15 fps …

Please try a lower frame rate as well. I’ll move to recording mp4. With a bit of luck, @Mister_Magister 's droidsink fix will get us to realtime hardware encoding :slight_smile:

EDIT: I’m also recording at 1/2 size and 15 fps for good results with 15seconds bing 33.7 mb. It’ll be interesting to compare with a J2!

2 Likes

Haven’t looked into it, but isn’t the video basically full-jpeg frames-in-avi?

This is supposed to be re-encoded into a proper video format later.

Yup :slight_smile: I do believe you’re correct. It has the advantage of being relatively fast, just like raw DV, but bulky. I’ll have a look at h264 encoding on the fly, but I think that would be nasty on older devices…

EDIT: the codec is MJPG …

Ergh. Please change the timestamping of the file names. 09_10_26 is just weird.

And btw, as I maintain screencast which basically does the same video conversions, maybe we can work together on a common base for this.

1 Like

I like saying " On the 9th day of the 10th month in the year of our lord 2026 " but I guess that breaks the bank. How about 20261009? EDIT: hmmm I have 09-10-26_08-25-06 with the underscore being replacement for the Time sep.

Jolla uses: 20260912_223758 (YYYYMMDD_HHMMSS) I’ll do that.

I had noticed that screencast was in chum (but borked?) and had a look. I installed it, but realized I was looking at the wrong app :slight_smile: Sure, we could try to coordinate!

6 Likes

Nay. VII Id. Oct. MMDCCLXXIX AUC

4 Likes

Oh, that is is very cool.

Sure. But I’m not sure for the other parameters.
Just did: 15sec. 15fps, not store all frames, 100% qulity, 50% Frames scale, not apply smooth transform.: type avi, size: 974,6MB, 1032x2272, duration: 32s (perhaps I recorded more like 16ish?)

Does/can screenrecorder use hardware encoding?

Oh, wow. Ok, on my volla22 50% frames are 540x1170 and much smaller.

Nope. I’m looking at it, but that’s a rewrite of the recorder, probably.

1 Like

Let’s port&include avisynth to tweak everything at will :innocent:
(only a joke but about AVI, this UFO deserves to be cited.)

1 Like

I just recorded at 1/2 scale and 15fps, still have the recording come out at ~1/3 real time, 27 second playback for 9 second recording, and 788 MiB? So not much of a difference observed really.

Could you please try 5 fps ? And thank you!

Hmm - 5fps, 10 frames of buffer, 100% quality, 50% scale comes out at again a little over 1/3 speed - 12 seconds of recording is 31 seconds of playback, filesize 815.03MiB.

ok, that’s really weird :slight_smile: Keep the buffer at a constant (30) please. The internal timer is just 1000 (milliseconds) / fps so that can be improved radically but these numbers are way different than mine so I have to assume something has changed in the compositor.

Still crazy! 39 seconds of video for 13 seconds of real time, 1.05 GiB!

To be fair, this is running on my handcrafted port, so it’s possible it’s a mistake on my end? Though @ric9k seems to have very similar results. Also running on 5.2.0.18, not sure if that matches your development device(s)?