Monday, 2026-01-26

Mister_Magistermal: If I made screen recorder integrated into OS like the screenshot feature in top menu, do you think Jolla would be interested in pulling that in?15:35
maldepends on what kind of plan do you have to actually implement it15:52
malhow do get the frames etc?15:52
Mister_Magisterwell there's only one way to get frames that i'm aware of15:52
Mister_Magisterhttps://github.com/mer-qa/lipstick2vnc/blob/master/src/protocol/lipstick-recorder.xml15:52
Mister_Magisteri'll basically grab the recorder from lipstick2vnc which uses the lipstick-recorder specification and pump gstreamer full of frames and hope for the best15:53
Mister_Magisterthen put that as a button in top menu and in settings on apps page for settings15:53
Mister_Magistersounds reasonable right15:53
Mister_Magistercurrently beside jolla i'm playing the most with gstdroid :P so i'd just pump it through gstdroid to encode it and hopefully get reasonable 60fps15:54
malyeah, performance is the big question15:54
Mister_Magisterif i send it through gstdroid should be fine15:55
T42<abranson> I guess ideally we'd have something similar to the recorder, pushing frames straight from the surface into a hw codec15:57
Mister_Magisterthat's what i just said yes15:57
Mister_Magisteri literally said gstdroid xd15:57
T42<abranson> On the droidmedia side?15:59
Mister_Magisterhm?16:00
T42<abranson> I meant the droidmedia recorder. That connects the camera frames directly to the hw codec so it can keep up. In stagefright something similar happens but with the display surface. We can't use that stuff directly because it sends everything straight to a file while we still want it going through gstreamer and qtmm, but ideally we'd be able to switch droidmedia recorder to take frames from the display instead of the camera.16:03
T42<abranson> See MediaCodecSurfaceEncoder in the android source16:06
Mister_Magisterthat's way above my pay grade can't i just yell frames at gstreamer and hope for the best?16:09
T42<abranson> you could, but the best will be a bit shit16:09
T42<abranson> but that's why there's no screen recording in sfos yet imo16:10
Mister_Magisterwdym by bit shit16:10
T42<abranson> lots of dropped frames. screen is big.16:11
Mister_Magisterso you saying if I copy frame in memory it will be the death of me?16:11
T42<abranson> also last time I checked the encoders didn't work very well outside of the recorder. is that better now?16:11
Mister_Magisterno clue16:12
Mister_Magistereven the camera recording encoding is… well… tragic16:12
T42<abranson> but I'd love to hear how it goes :)16:12
T42<abranson> and that's all hw16:12
Mister_Magisterfor some reason sfos camera creates a ton of duplicated frames16:12
Mister_Magisterstill i think sending it through gstdroid should yield me better results than writing it to a file in weird format and doind stuff on cpu16:13
Mister_Magisterwhich gives like 10fps16:13
Mister_Magisterdroidmedia and android is way above my head to touch that16:14
Mister_Magisteri can barely grasp gstreamer16:14
Mister_MagisterIm a web developer gimme a break xd16:15
T42<abranson> hey if you can understand modern javascript frameworks then you're already a wizard16:16
T42<abranson> how far are we away from pasting the above convo into some AI and getting a lovely sloppy implementation out of it? :D16:17
T42<adampigg> i thought the fact someone wrote a whastapp client with AI for sailfish quite crazy, and horrifying16:20
Mister_Magister@abranson I'm backend developer sorry16:21
T42<abranson> ah, the dark magic16:21
maxmight5328I am following the HADK guide but I found that something is causing module duplication, lots of errors like this:17:29
maxmight5328error: system/update_engine/Android.bp:24:1: module "system_update_engine_license" already defined17:30
maxmight5328android/system/update_engine/Android.bp:24:1 <-- previous definition here17:30
maxmight5328how can I find what is causingthe duplication?17:30
maxmight5328it happened after I started packaging the RPMs17:30
T42<elros34> $ANDROID_ROOT/system and $ANDROID_ROOT/android/system? did you clone source twice in 2 different places?17:35
maxmight5328not intentionally, but something is doing it and I can't find out why17:46
T42<elros34> have you tried turning it off and on again:P17:58
T42<moworola> "Have you tried forcing an unexpected reboot"17:59
maxmight5328I just deleted the 'android' directory, It looked like an unsuccessfull checkout attempt18:10

Generated by irclog2html.py 2.17.1 by Marius Gedminas - find it at https://mg.pov.lt/irclog2html/!