| Mister_Magister | mal: 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 |
|---|---|---|
| mal | depends on what kind of plan do you have to actually implement it | 15:52 |
| mal | how do get the frames etc? | 15:52 |
| Mister_Magister | well there's only one way to get frames that i'm aware of | 15:52 |
| Mister_Magister | https://github.com/mer-qa/lipstick2vnc/blob/master/src/protocol/lipstick-recorder.xml | 15:52 |
| Mister_Magister | i'll basically grab the recorder from lipstick2vnc which uses the lipstick-recorder specification and pump gstreamer full of frames and hope for the best | 15:53 |
| Mister_Magister | then put that as a button in top menu and in settings on apps page for settings | 15:53 |
| Mister_Magister | sounds reasonable right | 15:53 |
| Mister_Magister | currently 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 60fps | 15:54 |
| mal | yeah, performance is the big question | 15:54 |
| Mister_Magister | if i send it through gstdroid should be fine | 15:55 |
| T42 | <abranson> I guess ideally we'd have something similar to the recorder, pushing frames straight from the surface into a hw codec | 15:57 |
| Mister_Magister | that's what i just said yes | 15:57 |
| Mister_Magister | i literally said gstdroid xd | 15:57 |
| T42 | <abranson> On the droidmedia side? | 15:59 |
| Mister_Magister | hm? | 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 source | 16:06 |
| Mister_Magister | that'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 shit | 16:09 |
| T42 | <abranson> but that's why there's no screen recording in sfos yet imo | 16:10 |
| Mister_Magister | wdym by bit shit | 16:10 |
| T42 | <abranson> lots of dropped frames. screen is big. | 16:11 |
| Mister_Magister | so 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_Magister | no clue | 16:12 |
| Mister_Magister | even the camera recording encoding is… well… tragic | 16:12 |
| T42 | <abranson> but I'd love to hear how it goes :) | 16:12 |
| T42 | <abranson> and that's all hw | 16:12 |
| Mister_Magister | for some reason sfos camera creates a ton of duplicated frames | 16:12 |
| Mister_Magister | still i think sending it through gstdroid should yield me better results than writing it to a file in weird format and doind stuff on cpu | 16:13 |
| Mister_Magister | which gives like 10fps | 16:13 |
| Mister_Magister | droidmedia and android is way above my head to touch that | 16:14 |
| Mister_Magister | i can barely grasp gstreamer | 16:14 |
| Mister_Magister | Im a web developer gimme a break xd | 16:15 |
| T42 | <abranson> hey if you can understand modern javascript frameworks then you're already a wizard | 16: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? :D | 16:17 |
| T42 | <adampigg> i thought the fact someone wrote a whastapp client with AI for sailfish quite crazy, and horrifying | 16:20 |
| Mister_Magister | @abranson I'm backend developer sorry | 16:21 |
| T42 | <abranson> ah, the dark magic | 16:21 |
| maxmight5328 | I am following the HADK guide but I found that something is causing module duplication, lots of errors like this: | 17:29 |
| maxmight5328 | error: system/update_engine/Android.bp:24:1: module "system_update_engine_license" already defined | 17:30 |
| maxmight5328 | android/system/update_engine/Android.bp:24:1 <-- previous definition here | 17:30 |
| maxmight5328 | how can I find what is causingthe duplication? | 17:30 |
| maxmight5328 | it happened after I started packaging the RPMs | 17:30 |
| T42 | <elros34> $ANDROID_ROOT/system and $ANDROID_ROOT/android/system? did you clone source twice in 2 different places? | 17:35 |
| maxmight5328 | not intentionally, but something is doing it and I can't find out why | 17:46 |
| T42 | <elros34> have you tried turning it off and on again:P | 17:58 |
| T42 | <moworola> "Have you tried forcing an unexpected reboot" | 17:59 |
| maxmight5328 | I just deleted the 'android' directory, It looked like an unsuccessfull checkout attempt | 18:10 |
Generated by irclog2html.py 2.17.1 by Marius Gedminas - find it at https://mg.pov.lt/irclog2html/!