=== chihchun_afk is now known as chihchun | ||
=== chihchun is now known as chihchun_afk | ||
=== chihchun_afk is now known as chihchun | ||
=== chihchun is now known as chihchun_afk | ||
=== chihchun_afk is now known as chihchun | ||
=== chihchun is now known as chihchun_afk | ||
=== chihchun_afk is now known as chihchun | ||
dholbach | good morning | 07:01 |
---|---|---|
=== JamesTai1 is now known as JamesTait | ||
=== karni is now known as karni-afk | ||
=== karni-afk is now known as karni | ||
=== _salem is now known as salem_ | ||
=== chihchun is now known as chihchun_afk | ||
=== chihchun_afk is now known as chihchun | ||
ohmy | hello everybody | 14:07 |
ohmy | i'd like to stream webcam from c++ to QML, from C++ side i've subclassed QAbstractVideoSurface and thanks to frameAvailable im able to get QImage | 14:08 |
ohmy | im stuck how to get this QImage (updated) from QML side, any ideas please ? | 14:08 |
mr-tt | hi | 14:10 |
mr-tt | is there a (very) simple example on how to create a c++ + qtquick app? | 14:10 |
mr-tt | preferrably something that works in qtcreator as well | 14:11 |
greyback | ohmy: you should learn how qtmultimedia integrates with qml. You've already done good by implementing a QAbstractVideoSurface | 14:21 |
greyback | you don't want to get a QImage (which is not on the GPU). Instead it is better to put the webcam frame into a texture on the GPU, which then QtMultimedia & QML can render | 14:23 |
ohmy | greyback: sure, the thing is that i need a way to view theses images in two (or more different) windows, reason why i'm not using the camera element of QML | 14:24 |
ohmy | greyback: and i'm nnot OpenGL expert, i really just need to grab these frames and show them in two separate qml containers | 14:25 |
ohmy | greyback: do you know any example that can helps me ? | 14:25 |
greyback | ohmy: you need to view the live webcam output in 2 separate places simultaneously? Or a live view in one, and a static frame in another | 14:25 |
ohmy | greyback: two live in 2 separate QML containers at the same time (same PC) | 14:26 |
greyback | ohmy: hmm, I suggest you investigate 2 channels. One is to try writing a qml test file using QtMultimedia to play a video | 14:29 |
greyback | https://developer.ubuntu.com/api/qml/sdk-14.10/QtMultimedia.VideoOutput/ | 14:29 |
greyback | and then modify it to see if you can have two VideoOutputs using the same MediaPlayer as their source | 14:30 |
greyback | if that works, I suggest you continue your work and integrate your webcam as a backend for qtmultimedia | 14:30 |
ohmy | greyback: im trying, AFAIK you can only have one VideoOutput :( but i'm trying, thanks a lot | 14:31 |
greyback | ohmy: if you are indeed correct, you'll have a tougher time of it. You'll need to write a custom QQuickItem do to the job. | 14:32 |
ohmy | greyback: thanks a lot | 14:33 |
greyback | ohmy: this might interest you: http://pastebin.ubuntu.com/11836175/ | 14:59 |
greyback | ohmy: it shows the video twice on screen. It's not the most efficient approach however | 15:00 |
greyback | but it might be enough for you | 15:00 |
ohmy | greyback: te first approach does not look to work :( bool QDeclarativeVideoOutput::createBackend(QMediaService*) Media service has neither renderer nor window control available. | 15:16 |
ohmy | greyback: thanks a lot trying this one | 15:16 |
greyback | ohmy: that error I think has more to do with qtmultimedia not finding a backend which can play the media | 15:17 |
ohmy | greyback: i see | 15:17 |
ohmy | greyback: it happends only when i use a second VideoOutput | 15:18 |
greyback | hmm | 15:18 |
greyback | ok, well see my pastebn above. It uses only 1 VideoOutput, but displays is twice | 15:18 |
ohmy | greyback: i saw shader trick, its very nice, the thing is that i need to show the videos in two separate windows | 15:18 |
greyback | oh windows | 15:18 |
ohmy | greyback: yes i understood | 15:18 |
greyback | still might be do-able | 15:19 |
ohmy | greyback: yes windows/rectangles | 15:19 |
ohmy | greyback: thanks a lot for your time, really appreciated, i'm stuck since few hours now | 15:21 |
greyback | ohmy: http://pastebin.ubuntu.com/11836259/ | 15:22 |
greyback | proves the shader trick works across windows | 15:22 |
greyback | since it's using an FBO in the background | 15:22 |
ohmy | greyback: thanks so much, i'm trying to understand why its not working on my PC | 15:30 |
ohmy | greyback: QQuickItem: Cannot use same item on different windows at the same time. | 15:31 |
greyback | ohmy: I'm using qt5.4 on vivid. | 15:31 |
greyback | to make video playback work, I had to install one of these: https://launchpad.net/~mc3man/+archive/ubuntu/gstffmpeg-keep/+packages | 15:31 |
ohmy | greyback: sure i have already gstreamer ffmpeg | 15:44 |
ohmy | greyback: on video is displayer but the other window is white | 15:44 |
ohmy | greyback: its probably the way im loading qml's | 15:45 |
greyback | ohmy: I just load that file with "qml" | 15:45 |
ohmy | greyback: sure im using QQmlApplicationEngine load | 15:46 |
ohmy | greyback: it works perfectly, im trying now to change MediaPlayer and use Camera element | 15:50 |
ohmy | greyback: really thanks | 15:50 |
greyback | ohmy: welcome! | 15:50 |
=== chihchun is now known as chihchun_afk | ||
dubstar_04 | what channel do i need to flash to get the wily branch? | 16:43 |
dubstar_04 | ubuntu-touch/devel-proposed/ubuntu? | 16:44 |
ahoneybun | the App Dev School workshops are out of date no? | 17:13 |
=== zsombi_ is now known as zsombi | ||
mr-tt | can anyone tell me how to change the text of a text object from c++ code? | 17:19 |
balloons | dubstar_04, that should get you wily | 17:29 |
balloons | even just ubuntu-touch/devel/ubuntu should | 17:29 |
dubstar_04 | balloons, thanks. | 17:33 |
ahoneybun | how much of this is still good: https://docs.google.com/document/d/1jgn1nJeBjgQO3RzDMZ44wM606u6u02U6bVgtaSHkUA0/edit ? | 17:45 |
ahayzen | popey, is there any other purpose other than crediting the authors for https://code.launchpad.net/~popey/music-app/add-authors/+merge/263910 ? .. eg a hook in click to link to this and then display the authors in the copyright info in system-settings? | 17:56 |
popey | ahayzen: two fold, thanking, but also, I want to link to it from a website | 17:57 |
popey | rather than have a list of contributors on the website | 17:57 |
popey | because the list is long and it makes the page look bad :) | 17:57 |
ahayzen | popey, ah cool :-) hopefully we'll be able to have a hook in click/snappy one day :-) | 17:57 |
popey | yeah! | 17:57 |
ahayzen | popey, did you auto generate this from the bzr history ? | 17:59 |
popey | yes | 17:59 |
popey | also, sed, sort, uniq etc | 17:59 |
ahayzen | sweet \o/ | 17:59 |
popey | might get the new icon in soon, wonder if anyone will notice the music one, it's quite subtle | 18:02 |
ahayzen | probably won't...i hardly did lol | 18:02 |
popey | heh | 18:02 |
popey | i had to double check it was the new one :) | 18:02 |
ahayzen | popey, after https://code.launchpad.net/~ahayzen/music-app/fix-1470755-playlist-0-append/+merge/263707 i sense us wanting to land a click anyway | 18:02 |
popey | which must mean the old one was already awesome | 18:02 |
ahoneybun | hey all is "delegate: Subtitled " dead | 18:02 |
ahoneybun | ? | 18:02 |
popey | ahayzen: that would be great, post OTA5 | 18:03 |
ahayzen | popey, it'll hopefully be in tonight, just some OCD from me/victor in the comments at the moment :-) | 18:03 |
popey | haha | 18:03 |
ahoneybun | ahayzen: ^ | 18:04 |
ahayzen | zsombi, hi, have you been able to look at bug 1469471 and bug 1468100 both are related to the new listitems and the first is blocking it from landing in music | 18:05 |
ubot5 | bug 1469471 in ubuntu-ui-toolkit (Ubuntu) "Checkbox shown in the ListView Multiselect mode does not obey selected property" [Undecided,Confirmed] https://launchpad.net/bugs/1469471 | 18:05 |
ubot5 | bug 1468100 in ubuntu-ui-toolkit (Ubuntu) "ListItems with trailing but no leading actions, after swiping right break selectMode" [Undecided,Confirmed] https://launchpad.net/bugs/1468100 | 18:05 |
ahayzen | ahoneybun, https://developer.ubuntu.com/api/apps/qml/sdk-15.04/Ubuntu.Components.ListItems.Subtitled/ ? | 18:06 |
ahoneybun | Subtitled is not a type | 18:07 |
ahoneybun | the SDK says | 18:07 |
ahoneybun | I'm following a old guide so it might be that | 18:07 |
ahayzen | ahoneybun, check the import is right | 18:07 |
ahoneybun | import QtQuick.XmlListModel 2.0 ? | 18:08 |
ahayzen | import Ubuntu.Components.ListItems 1.0 | 18:08 |
ahoneybun | weird | 18:09 |
ahayzen | OMG Neverball is working on mako! .. see you next week folks i've got some gaming todo lol | 18:09 |
ahoneybun | so it does not like the "as ListItem" at the end anymore | 18:09 |
ahoneybun | lol | 18:09 |
ahoneybun | yay it work!!!! | 18:09 |
ahayzen | ahoneybun, if you were using as ListItem then you need todo ListItem.Subtitled { | 18:10 |
* ahoneybun is making a Full Circle Mag app | 18:10 | |
ahoneybun | trying anyway | 18:10 |
=== dpm is now known as dpm-afk | ||
ahoneybun | ahayzen: / | 18:34 |
ahoneybun | http://pastebin.ubuntu.com/11837276/ | 18:34 |
ahoneybun | it is telling me ArticleContent is not a type | 18:35 |
ahayzen | ahoneybun, where is the file ArticleContent.qml ? | 18:38 |
ahoneybun | it is not a file | 18:38 |
ahoneybun | oh | 18:38 |
ahoneybun | right naming crap | 18:38 |
ahayzen | also the curly braces situation at the bottom looks fun | 18:39 |
ahoneybun | ? | 18:39 |
ahayzen | L60-66 look like they have appeared overtabbed... probably just the conversion to pastebin | 18:39 |
ahoneybun | same here | 18:40 |
ahoneybun | something that the SDK did I think | 18:41 |
ahayzen | yeah just ignore it, just some minor OCD on my behalf :-) | 18:42 |
ahoneybun | works all well now | 18:42 |
ahoneybun | thanks ahayzen | 18:42 |
ahayzen | no problem :-) | 18:43 |
ahoneybun | ahayzen: now I have a working feed from the Full Circle Mag in my app :) | 18:43 |
ahayzen | sweet \o/ | 18:45 |
ahoneybun | now to work on the Issues tab... | 18:45 |
ahoneybun | no clue on how that would work | 18:45 |
ahoneybun | ahayzen: http://imgur.com/yQGJtbr | 18:46 |
ahayzen | ahoneybun, i gtg will be back later if your still having issues | 18:47 |
ahoneybun | ok | 18:49 |
ahoneybun | thanks | 18:49 |
zsombi | ahayzen: no, I did not, but I'll check 'em asap!!! | 18:58 |
zsombi | ahayzen: nice catches btw!!! | 19:00 |
zsombi | kalikiana: forgot to update API file? https://code.launchpad.net/~ubuntu-sdk-team/ubuntu-ui-toolkit/shortcuts/+merge/262413 | 19:03 |
kalikiana | zsombi: grrrr I was sure I did.... apparently I didn't commit that | 19:06 |
zsombi | :) | 19:06 |
zsombi | kalikiana: also one comment on https://code.launchpad.net/~ubuntu-sdk-team/ubuntu-ui-toolkit/noDoCleanup/+merge/264053 | 19:07 |
kalikiana | zsombi: fix pushed | 19:08 |
zsombi | kalikiana: happroved | 19:10 |
kalikiana | zsombi: note that I'm not technically "fixing" anything, I'm removing references to an obsolete bug ;-) more importantly, won't changing the list type break apps? when up to now they would only emit a warning | 19:11 |
kalikiana | zsombi: I guess we can try go UCAction all the way.. and see if that goes thru | 19:23 |
zsombi | kalikiana: the API was documented as list<Action>, the bug was marked by t1mp as won't fix by mistake. We were supposed to work only with list<Action> not with list<Object>. So if we fix the bug (which I've marked as valid and in progress) then we need to fix the type as well | 19:46 |
zsombi | kalikiana: also, you were dealing with this bug https://bugs.launchpad.net/ubuntu/+source/telephony-service/+bug/1372061 | 19:47 |
ubot5 | Launchpad bug 1372061 in unity8 (Ubuntu) "SMS notification: time format not translatable" [High,In progress] | 19:47 |
zsombi | kalikiana: do you remember where did you left with it? | 19:47 |
zsombi | kalikiana: let's catch up tomorrow on it | 19:48 |
kalikiana | zsombi: we discussed it, and were debating whether i18n.relativeTime(timestamp).string would re-evaluate correctly but I never see any code from dednick trying that approach | 19:51 |
t1mp | zsombi:what did I mark as Won't Fix? | 19:52 |
zsombi | t1mp: check the bug above | 19:52 |
zsombi | kalikiana: I see... we have to help dednick to get that done... if we can still... | 19:53 |
t1mp | zsombi: https://bugs.launchpad.net/ubuntu/+source/telephony-service/+bug/1372061 ? It is not marked as Won't Fix | 19:53 |
ubot5 | Launchpad bug 1372061 in unity8 (Ubuntu) "SMS notification: time format not translatable" [High,In progress] | 19:53 |
zsombi | t1mp: yes, no longer, as I did revive it :) | 19:54 |
t1mp | weird, I don't see it in the history either | 19:54 |
zsombi | t1mp: and we were not talking about that bug, sorry :) | 19:54 |
t1mp | ahh | 19:54 |
zsombi | t1mp: https://bugs.launchpad.net/ubuntu/+source/ubuntu-ui-toolkit/+bug/1369874 | 19:54 |
ubot5 | Launchpad bug 1369874 in ubuntu-ui-toolkit (Ubuntu) "[Unity Dependency] Cleanup workarounds made to accept any QObject as Action or ActionContext." [Medium,In progress] | 19:55 |
zsombi | t1mp: that was the one :) | 19:55 |
t1mp | hmm, okay | 19:55 |
zsombi | kalikiana: hmm... can we get dednick on line at all? | 19:55 |
t1mp | I don't remember the details. Seemed like the bug was not valid any more because we don't use the unity actions any more | 19:56 |
zsombi | t1mp: the bug was about to remind us to fix the API | 19:56 |
zsombi | not that we use or not unity actions | 19:57 |
zsombi | we kept it till we get apps cleaned to not to use unity Actions | 19:57 |
zsombi | and that was fixed | 19:57 |
zsombi | t1mp: but our API still uses list<QObject> and not list<Action> | 19:58 |
zsombi | ok, let's reload this tomorrow | 19:58 |
kalikiana | zsombi: I've seen him before, let's assume he didn't disappear from the earth, but he might just be away :-D | 20:00 |
zsombi | kalikiana: in the worst case we have to do the changes, based on the MR we rejected | 20:00 |
zsombi | kalikiana: shortcust MR landed in staging :) | 20:01 |
* zsombi eod | 20:04 | |
kalikiana | ya | 20:05 |
kalikiana | y | 20:05 |
* zsombi eo sweating day :D | 20:05 | |
kalikiana | +1000 | 20:06 |
t1mp | zsombi: seems like the bug is actually saying to use list<QObject> instead of list<Action> | 20:12 |
TLyngeJ | According to https://launchpad.net/ubuntu-phone-coreapps/ there is a calendar app for Ubuntu Touch. The question is, where do I find it on the phone? | 21:24 |
popey | TLyngeJ: its not pre-installed, its in the store | 21:29 |
TLyngeJ | Bah, your right :-) Just assumed "Core apps" would mean it got installed when I flashed the gizmo. Anyway, thanks. | 21:31 |
DF__ | No one knows here how to create a web service?? | 21:46 |
=== salem_ is now known as _salem |
Generated by irclog2html.py 2.7 by Marius Gedminas - find it at mg.pov.lt!