Tuesday, 2013-07-30

*** tpb has joined #timvideos00:00
*** iiie0 has quit IRC00:50
*** iiie has quit IRC00:50
parxSewar did you make it home from PyOhio in one piece?01:00
parxSewar, we should make up for the meeting that was skipped for PyOhio.  Set a time with iiie when he returns.01:12
* iiie2 returns01:16
*** iiie2 is now known as iiie01:16
*** parx has left #timvideos01:26
*** mithro has joined #timvideos01:27
*** iiie0 has joined #timvideos02:32
*** iiie1 has joined #timvideos02:32
*** hyades has quit IRC03:00
*** iiie1 has quit IRC03:10
*** iiie0 has quit IRC03:10
*** hyades has joined #timvideos03:29
*** mithro has quit IRC03:34
*** hyades_ has joined #timvideos03:55
*** hyades has quit IRC03:56
mithro-workSewar, http://www.youtube.com/watch?v=a713rcagoYU03:59
tpbTitle: Secrets of the testing masters - YouTube (at www.youtube.com)03:59
*** hyades_ has quit IRC04:11
*** hyades has joined #timvideos04:33
*** iiie0 has joined #timvideos06:40
*** iiie1 has joined #timvideos06:40
*** iiie1 has quit IRC07:18
*** mithro has joined #timvideos09:03
*** tvCommitBot has joined #timvideos10:00
tvCommitBot[HDMI2USB] mithro force-pushed master from 52a9512 to deca68a: http://git.io/5pOFhQ10:00
tvCommitBotHDMI2USB/master af88f24 Jahanzeb Ahmad: First Commit for new repository...10:00
tvCommitBotHDMI2USB/master 685692f Jahanzeb Ahmad: prebuild moved to separate repository10:00
tvCommitBotHDMI2USB/master d2f3085 Jahanzeb Ahmad: Bug fixed for loading hex file.10:00
*** tvCommitBot has left #timvideos10:00
*** tvCommitBot has joined #timvideos10:01
tvCommitBot[HDMI2USB] mithro deleted r1 at fcc5801: http://git.io/iS_yWw10:01
*** tvCommitBot has left #timvideos10:01
*** tvCommitBot has joined #timvideos10:01
tvCommitBot[HDMI2USB] mithro deleted r2 at eec7072: http://git.io/2-x7Rw10:01
*** tvCommitBot has left #timvideos10:01
*** mithro has quit IRC10:37
*** hyades has quit IRC11:05
*** bananadine has joined #timvideos11:54
*** bananadine has quit IRC11:59
*** hyades has joined #timvideos12:48
hyadesmithro-work, thr?13:09
*** hyades has quit IRC13:53
*** mithro has joined #timvideos13:58
*** hyades has joined #timvideos13:59
mithro~seen bananadine13:59
tpbmithro: bananadine was last seen in #timvideos 22 hours, 27 minutes, and 44 seconds ago: <bananadine> alright!13:59
hyadesmithro, i was installing gst-switch on a VM14:00
mithrohyades, and?14:00
hyadesi realized that the bad plugin has been recently modified14:00
hyadeson duzy's repo14:00
hyadesand now it gives me an error while doing 'make'14:00
mithrowell, that is bad14:02
mithrocan you reproduce it more then once?14:02
hyadesi have a local copy of the bad plugins as it appeared at that time14:03
hyadesmithro, i put the midterm post at http://hyades.github.io/blog/SoC-Midterm-Evaluations/14:05
tpb<http://ln-s.net/-bZA> (at hyades.github.io)14:05
mithrohyades, api is pretty much always written in all capitals14:06
mithroSewar, ping?14:06
mithroSewar, I'm guessing your probably asleep14:06
mithrohyades, why do you have random number seqeuences in your post?14:07
mithro1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 ?14:07
hyadeslol, where?14:08
Sewarmithro, pong14:08
mithroJust before each gist14:08
mithroit seems like they didn't embed properly14:08
hyadesline numbers :)14:08
mithroSewar, did I tell you that you need to do a midterm report, or did it slip my mind?14:08
mithrohyades, ahh it appears better now I reloaded14:08
mithromust have been missing a stylesheet or something14:09
SewarI don't recall that14:09
SewarI will write one this week14:09
mithrohyades, using gists for your code snippets is an awesome idea!14:09
Sewarany tips for what the report should include? besides listing progress14:11
*** bananadine has joined #timvideos14:33
*** bananadine has quit IRC14:50
*** bananadine has joined #timvideos14:50
*** bananadine has quit IRC14:56
*** hyades has quit IRC15:07
*** hyades has joined #timvideos15:07
*** bananadine has joined #timvideos15:11
*** bananadine has quit IRC15:15
*** bananadine has joined #timvideos15:21
bananadinehad a crappy connection today15:22
mithro I like to think of it as a summary of all the blog posts they have done. It should be targeted at the general developing public (rather than the mentors). It should sell the work they have done so far, explain why they are/are not on schedule and explain what they plan to accomplish next.15:24
mithrobananadine, anything quick before I go?15:24
bananadineoh well15:26
bananadineafter tomorrows work15:26
bananadinethe number of errors reduced15:27
bananadinei have this one now tho15:27
bananadine  File "/home/max/Desktop/flumotion-porting/flumotion/cache/component/ce3674c6e72abf5ee4623ad5cbb17040/flumotion/component/feedcomponent010.py", line 503, in set_master_clock15:27
bananadine    self.pipeline.set_start_time(Gst.CLOCK_TIME_NONE)15:27
bananadine  File "/usr/lib/python2.7/dist-packages/gi/types.py", line 43, in function15:27
bananadine    return info.invoke(*args, **kwargs)15:27
bananadineexceptions.ValueError: -1 not in range 0 to 429496729515:27
bananadinechecked Gst.CLOCK_TIME_NONE in ipython15:27
bananadineit's -115:27
bananadinein the old gst 0.1015:28
bananadinethe value was:   18446744073709551615L15:28
bananadinewhat do you suggest mithro ?15:30
bananadinealso, when should i fill the evaluation form?15:30
hyadesi filled mine :)15:30
mithrobananadine, I think -1 is probably the equivalent to 18446744073709551615L when you take into proper signedness15:31
mithroMy guess is self.pipeline.set_start_time doesn't take a Gst.CLOCK_TIME_NONE?15:31
mithrowhat does the documentation say?15:32
bananadineit should take it15:32
tpb<http://ln-s.net/-bal> (at gstreamer.freedesktop.org)15:33
bananadinemithro, did ya see?15:39
mithrobananadine, yes15:39
mithro>>> 2**3215:40
bananadinewhat's with the numbers15:41
bananadinewhat are you telling me15:41
mithro<bananadine> exceptions.ValueError: -1 not in range 0 to 429496729515:41
mithrotypedef guint64 GstClockTime;15:41
mithroso not sure why set_start_time doesn't take15:42
mithro0, 2**6415:42
bananadinemaybe i should go over at #gstreamer15:42
mithrobananadine, can you check your .gir file has something like15:44
mithro    <alias name="ClockTime" c:type="GstClockTime">15:44
mithro      <doc xml:whitespace="preserve">A datatype to hold a time, measured in nanoseconds.</doc>15:44
mithro      <type name="guint64" c:type="guint64"/>15:44
mithro    </alias>15:44
bananadineit has15:45
mithrobananadine, what happens if you try and give it a15:46
mithro2**64-1 ?15:46
mithro>>> 2**6415:46
bananadineyou mean15:46
bananadineistead of Gst.Clock15:47
bananadineexceptions.ValueError: 18446744073709551616 not in range 0 to 429496729515:50
bananadinemithro, how about if i put 0?15:50
mithro-1 in unsigned int64 == 18446744073709551615 == 2**64 - 115:51
bananadineyea i got that15:51
bananadinethe function won't take that15:51
mithro18446744073709551616 != 1844674407370955161515:51
mithrobananadine, for some reason it think it is a int3215:52
mithro-1 in unsigned int32 == 4294967295 == 2**32 - 115:53
bananadine2**64 - 1 works15:54
bananadineit's done15:56
mithrobananadine, you might want to report a bug on why it's saying15:56
bananadinewhere should i do that?15:56
mithroxxx not in range 0 to 4294967295 when is clearly accepts 0->2**64-115:56
tpb<http://ln-s.net/-bbL> (at wiki.gnome.org)15:57
bananadinenow i'm only left with 2 erros15:57
bananadineTraceback (most recent call last):15:57
bananadine  File "/home/max/Desktop/flumotion-porting/flumotion/cache/vorbis-component/2b18938d80c0f3474d96f6eea8f6c471/flumotion/component/encoders/vorbis/vorbis010.py", line 75, in buffer_probe15:57
bananadine    in_rate = kaps[0].get_value('rate')15:57
bananadine  File "/usr/lib/python2.7/dist-packages/gi/types.py", line 43, in function15:57
bananadine    return info.invoke(*args, **kwargs)15:57
bananadineTypeError: unknown type GstIntRange15:57
bananadineand an internal data flow one15:58
bananadinewhich i think is due this one15:58
bananadinecuz this stops the audio encoder15:58
mithrobananadine, I have a working patch for gst-python which fixes that issue15:59
bananadinehow do i apply it?16:00
mithroare you using gst-python installed from packages?16:02
mithroor your own self compiled version?16:02
bananadineinstalled from packages16:02
bananadinewell how am i using gst-python exactly?16:02
bananadineor do you mean PyGi?16:02
mithroI mean gst-python16:04
bananadinei'm using it installed from packages16:06
bananadinei haven't compiled anything gst-python16:07
bananadinemithro, where can i find the patch and how do i apply it?16:11
mithrobananadine, it is not that easy16:11
mithrobananadine, where is "in_rate" used?16:18
mithromaybe you could hardcode the value for now?16:18
bananadinein the encoder16:19
bananadinei'll find out what the value is16:20
bananadineand fake it16:20
bananadineyea figures16:23
bananadineit's what i give in the planet file16:23
bananadineok so16:25
bananadinethere's still an internal data flow error16:25
bananadineit happens at the muxer16:25
bananadineall other components are happy16:25
bananadinemithro, i'll paste the output16:27
tpbTitle: INFO [ 5037] jelly Jul 30 18:23:53 - Pastebin.com (at pastebin.com)16:27
bananadinecould it be something with the probes?16:28
mithrobananadine, sorry - I have no idea16:31
mithroInternal data flow error. often means it couldn't create the pipeline you where after16:31
mithroor you where missing the converters on the input/output16:31
bananadinei need to check the muxer files16:32
*** tvCommitBot has joined #timvideos16:33
tvCommitBot[HDMI2USB] mithro pushed 2 new commits to master: http://git.io/kOl-Pg16:33
tvCommitBotHDMI2USB/master f63631a Tim 'mithro' Ansell: Fixing the README name.16:33
tvCommitBotHDMI2USB/master 9a07c9a Tim 'mithro' Ansell: Adding information to the README file.16:33
*** tvCommitBot has left #timvideos16:33
mithrobananadine, I highly recommend getting flumotion to log the pipelines16:35
mithrobananadine, after you get his working - I'm also going to make you learn how to use the python logging module properly16:35
bananadinemithro, how do i get flumotion to log the pipelines?16:36
mithrobananadine, you need to find the correct place16:36
mithrobananadine, and then logging.info(<string>)16:37
bananadineoh ok16:37
hyadesmithro, logging works with py.test?16:38
mithrohyades, I assume so16:38
hyadesi earlier had logging in my code, later replaced them with print thinking opposite16:39
bananadinemithro, so when i put logging.info(<string>) somewhere in the code16:41
bananadinewhat should i expect in the output?16:41
bananadineINFO:root:<string> ?16:42
bananadinehow does that help me?16:42
bananadinemithro, it's the probes16:51
bananadinei bet it's them16:52
bananadineyou know the thing yesterday16:52
bananadinewith the probe_id16:52
tpb<http://ln-s.net/-bcu> (at github.com)16:53
*** hyades has quit IRC16:53
*** tvCommitBot has joined #timvideos16:53
tvCommitBot[HDMI2USB] mithro pushed 1 new commit to master: http://git.io/tlFBpw16:53
tvCommitBotHDMI2USB/master ebb86ac Tim 'mithro' Ansell: Small fix to description.16:53
*** tvCommitBot has left #timvideos16:53
bananadinethis class is imported by ogg.py (the muxer component)16:54
bananadineand look in the class16:54
mithrobananadine, be careful of jumping to conclusions you can lose a lot of time that way16:54
mithrobananadine, but if you really think there is something up there, do look into it16:54
mithrobananadine, it can also be useful to diff the new code verse the old code16:54
mithrobananadine, to get a refersher of what you have actually changed16:54
tpb<http://ln-s.net/-bd1> (at github.com)16:55
bananadinelook at the changes in the feedcomponent16:55
bananadineespecially those in the MuxerComponent class16:55
mithroI need to be in bed16:57
bananadinei'll remind you tomorrow16:57
mithrobananadine, you should have it working by tomorrow!16:57
mithrolooking at that code16:57
mithroyour doing16:57
mithrofor elem in self.get_input_elements():16:58
mithro     self.block_probe_id = pad.add_probe(Gst.PadProbeType.BLOCK, self._on_eater_blocked, None)16:58
mithrocan you see why that is a problem?16:58
bananadinesorry, no16:59
mithrowhat does this code do?16:59
bananadineis it the self?16:59
mithroa = 116:59
mithrofor i in [1, 2, 3]:16:59
mithro  a = i16:59
mithrowhat is a after the loop?16:59
bananadinei give the return value of add probe to self.block_probe_id17:00
mithrobananadine, you doing this *inside* a loop17:00
mithroyou probably want something like17:01
mithroself.block_probe_ids = {}17:01
mithrofor x in y:17:01
mithro  self.block_probes_ids[x] = pad.add_probe(blah17:02
bananadinethen when i remove the probes17:02
bananadinei need to do it in a for loop right?17:02
*** hyades has joined #timvideos17:02
bananadineto remove them all17:02
mithroto remove them all17:02
mithrofor x in self.block_probe_ids:17:02
mithro  pad.remove_probe(self.block_probe_ids[x], blah)17:02
mithroor something like that17:02
mithronow I *really* must go17:03
mithrobananadine, I don't think it's related - but this problem will only occur when input_elements > 117:03
mithroIE maybe something like the muxer17:03
*** bananadine has quit IRC17:11
*** Jahanzeb has joined #timvideos17:22
*** iiie0 has joined #timvideos17:50
*** iiie0 has left #timvideos17:50
*** iiie0 has joined #timvideos17:51
*** Jahanzeb has left #timvideos18:03
*** hyades has quit IRC18:04
*** hyades has joined #timvideos18:11
*** hyades has quit IRC18:15
*** hyades has joined #timvideos18:33
*** hyades has quit IRC19:26
*** hyades has joined #timvideos19:37
*** hyades has quit IRC20:41
*** hyades has joined #timvideos20:42
*** CarlFK has joined #timvideos20:57
*** hyades has quit IRC21:13

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