/srv/irclogs.ubuntu.com/2014/06/18/#ubuntu-mir.txt

=== chihchun_afk is now known as chihchun
robert_ancellwhat's a good command to use the output of mirscreencast and produce a video file with reasonable compression?03:13
RAOFrobert_ancell: Let me hunt down the email...03:15
robert_ancellRAOF, I figured this must have been recorded somewhere but my google-fu is not finding it03:15
RAOFmencoder -demuxer rawvideo -rawvideo fps=60:w=1920:h=1200:format=bgra /tmp/foo -ovc lavc -lavcopts vcodec=ffv1 -o all.avi03:17
RAOFIs one option.03:17
RAOFI don't think we have documented this anywhere, though.03:17
RAOFMPs welcome :)03:17
RAOFIt'd be reasonably easy to translate that into a gstreamer pipeline that'd do the right thing, too.03:17
robert_ancellI should be able to convert that to a pipe right? In particular I'm running out of disk space too fast03:19
RAOFI *think* so?03:20
RAOFYou certainly would be able to with gstreamer and fdsrc03:22
RAOFUrgh. How can our unittests fail in trunk?03:22
robert_ancell mirscreencast -m /run/lightdm-mir-0 --stdout | mencoder -demuxer rawvideo -rawvideo fps=60:w=1920:h=1200:format=bgra - -ovc lavc -lavcopts vcodec=ffv1 -o $103:23
robert_ancellI think that should do it03:23
RAOFYeah, seems reasonable.03:23
robert_ancellexcept I need to adjust the size I guess..03:23
RAOFAnd probably select a different vcodec; that'll give you lossless compression, which will be pretty good for a screencast but you may want more.03:23
robert_ancellIt's probably better to encode fast and then re-encode when I'm done03:24
RAOFYeah, not a bad plan.03:25
RAOFIntriguing. Tests fail when built with clang, pass with gcc. I guess I'll chalk this up to a compiler bug unless it persists.03:27
robert_ancell[ffv1 @ 0x7f8e54797b00]Error getting output packet.03:27
robert_ancellMuxer frame buffer cannot allocate memory!03:27
robert_ancellhmm03:27
RAOFHeh. g++'s error handling for “you missed a > on a template argument, doofus” remains gloriously opaque.03:34
RAOFOk. Sped up our tests by a factor of 10, and they almost all still pass.03:37
robert_ancellAnyone know why Mir says it's outputting 60fps by screencast but it only appears to be 15fps?03:42
RAOFPossibly too slow to write?03:48
robert_ancellRAOF, I don't think so - it seems to generate an mp4 at 4x speed. If I set it to 15 it works fine03:50
* RAOF makes the magic incantations which enable non-glacial speed on battery.03:52
=== tvoss is now known as tvoss|test
=== tvoss|test is now known as tvoss
alan_galf_: do you know why a Mir CI build tries to install libunity-mir1 etc.? https://jenkins.qa.ubuntu.com/job/mir-mediumtests-runner-mako/1795/console09:46
alf_alan_g: looking09:46
alf_alan_g: from what I understand, libunity-mir1 is already installed as part of the flashed image09:49
alan_gOops!09:50
alan_gI'll pop over to ci-eng...09:50
alan_gCI he say: "/usr/include/android/system/graphics.h:269:5: error: 'size_t' does not name a type" ... I wonder if the android headers have been changed?10:26
=== chihchun is now known as chihchun_afk
=== dandrader is now known as dandrader|afk
=== dandrader|afk is now known as dandrader
=== alan_g is now known as alan_g|tea
dandraderdednick, I guess your platform-api branches fixes those issues? http://paste.ubuntu.com/7663936/14:26
dednickdandrader: yup14:27
=== alan_g|tea is now known as alan_g
=== chihchun_afk is now known as chihchun
alan_ggreyback: does this test capture our current orientation requirements? http://paste.ubuntu.com/7664275/15:45
dandraderalan_g, btw, gotta define mir_orienation_* values15:48
dandraderalan_g, is it an angle in degrees, counter-clockwise?15:49
dandraderalan_g, and will the app be able to query the value and not just receive events about it?15:50
alan_gdandrader: mir_toolkit/common.h line 12015:50
alan_gdandrader: what I took from the discussion was the ability to send the events15:51
alan_gbut I can add requirements...15:51
dandraderalan_g, yes. gotta have a line there explaining what those enum values mean15:51
dandraderdocumentation15:52
greybackalan_g: looks good yes15:54
alan_gdandrader: I only know what I see there. ;)15:54
alan_ggreyback: do we need dandrader's suggestion of the client querying the orientation of a surface too?15:55
greybackalan_g: hmm, ideally yes a surface should be created with an orientation, or have a getter to read the orientation when it wants to.15:57
* alan_g wonders if orientation should be a surface creation parameter?15:59
=== dandrader is now known as dandrader|lunch
=== dandrader|lunch is now known as dandrader
=== dandrader is now known as dandrader|afk
=== dandrader|afk is now known as dandrader
=== chihchun is now known as chihchun_afk
racarr_kgunn: dandrader: So I guess if by monday we havent come to an agreement re: input sender (gives tomorrow morning and friday)19:22
racarr_we can do inputdispatcher19:22
racarr_ugh 5 minutes until the pizza place opens but I cant wait ANY LONGER19:23
racarr_...19:23
racarr_lol19:23
kgunnyeah...i think if you threaten alan with that, he'll suddenly love input sender :)19:23
racarr_haha19:24
racarr_using InputDispatcher isnt that bad19:25
dandraderracarr_, by inputdispatcher you mean exposing the whole android-input and letting us replace android::InputDispatcher19:25
racarr_Yes.19:25
dandraderok. I will have to dust off the patch I had for it :)19:25
racarr_:) well maybe input sender will magically land in the morning lol, we will see19:25
racarr_I'm sure InputDispatcher hasnt changed though19:26
racarr_or android-input much at all19:26
racarr_which is one of the reasons I think publishing android-input in a "privatized" library isn't that bad19:26
dandraderon the other hand. it will quite a bit of work to go back to that previous approach in qtmir....19:26
racarr_its additional ABI, but practically we dont change it rapidly at all.19:26
racarr_Oh really ? :(19:27
racarr_I imagined it would be almost plug/play InputSender->InputDispatcher-to-channel19:27
=== dandrader is now known as dandrader|afk
AlbertAracarr_: ummm, do we really want to do that?19:37
AlbertAracarr_: don't we want to have the option to drop the android stuff completely at some point19:38
racarr_AlbertA: it would be a privatized interface to unity-mir19:50
racarr_if we arent able to land input-sender quick enough19:51
AlbertAracarr_: ummm didn't we just basically said no to privatized stuff even for our own examples?19:51
racarr_Sure but 3 options19:52
racarr_1. Land input sender or something comparable19:52
racarr_2. Expose android-input for unity-mir19:52
racarr_3. Don't ship qt compositor19:52
racarr_;)19:52
AlbertAis there something really wrong with input sender? I haven't reviewed it yet19:53
racarr_lol im not sure yet. my first review it just seemed kind of messy, but mostly as a consequence of the android bits....going to look more tomorrow19:54
racarr_but there is some discussion between alf/alan_g about it too and19:54
racarr_alan_g seems pessimistic about it.19:55
racarr_s/tomorrow/this afternoon/19:55
AlbertAracarr_: oh I see there's a dependency chain there19:57
AlbertAracarr_: it depends on another 2 mps19:57
racarr_that too yes19:57
AlbertAI think I see the problem now19:58
AlbertAIt's a massive diff overall19:58
AlbertA:)19:58
racarr_aha yes that is a concern point19:59
=== josharenson1 is now known as josharenson
=== dandrader|afk is now known as dandrader
racarr_i feel like im so close22:18
racarr_to never again having to remember that the cursor22:18
racarr_exists22:18
racarr_soon we will do everything that xcursor does and the cursor will just be another renderable and it can fade in to memory lol22:18
racarr_hmm. if the XCursorLoader fails to load any cursors do you think we should fall back to the builtin cursor22:20
racarr_kind of weird to put logic in the server configuration22:20
racarr_like that22:20
racarr_I mean...there could be a...composite object that does that too...22:21
racarr_or the XCursorLoader could have a builtin cursor (that seems the weirdest...)22:21
racarr_seems like its still possible to hose the system if you crash the server at the right place in startup22:49
racarr_cant even recover from ssh...22:49
kdub_robert_ancell, cool, gtk!22:55
racarr_Yeah!23:02
racarr_ok coming back in a bit to finish off last bit of cursor loader and propose that to get one more thing off my mind lol and then work on groking input sender23:51
racarr_but for now away for a while23:51

Generated by irclog2html.py 2.7 by Marius Gedminas - find it at mg.pov.lt!