*** tpb has joined #timvideos | 00:00 | |
*** iiie0 has quit IRC | 00:50 | |
*** iiie has quit IRC | 00:50 | |
parx | Sewar did you make it home from PyOhio in one piece? | 01:00 |
---|---|---|
parx | Sewar, we should make up for the meeting that was skipped for PyOhio. Set a time with iiie when he returns. | 01:12 |
* iiie2 returns | 01:16 | |
*** iiie2 is now known as iiie | 01:16 | |
*** parx has left #timvideos | 01:26 | |
*** mithro has joined #timvideos | 01:27 | |
*** iiie0 has joined #timvideos | 02:32 | |
*** iiie1 has joined #timvideos | 02:32 | |
*** hyades has quit IRC | 03:00 | |
*** iiie1 has quit IRC | 03:10 | |
*** iiie0 has quit IRC | 03:10 | |
*** hyades has joined #timvideos | 03:29 | |
*** mithro has quit IRC | 03:34 | |
*** hyades_ has joined #timvideos | 03:55 | |
*** hyades has quit IRC | 03:56 | |
mithro-work | Sewar, http://www.youtube.com/watch?v=a713rcagoYU | 03:59 |
tpb | Title: Secrets of the testing masters - YouTube (at www.youtube.com) | 03:59 |
*** hyades_ has quit IRC | 04:11 | |
*** hyades has joined #timvideos | 04:33 | |
*** iiie0 has joined #timvideos | 06:40 | |
*** iiie1 has joined #timvideos | 06:40 | |
*** iiie1 has quit IRC | 07:18 | |
*** mithro has joined #timvideos | 09:03 | |
*** tvCommitBot has joined #timvideos | 10:00 | |
tvCommitBot | [HDMI2USB] mithro force-pushed master from 52a9512 to deca68a: http://git.io/5pOFhQ | 10:00 |
tvCommitBot | HDMI2USB/master af88f24 Jahanzeb Ahmad: First Commit for new repository... | 10:00 |
tvCommitBot | HDMI2USB/master 685692f Jahanzeb Ahmad: prebuild moved to separate repository | 10:00 |
tvCommitBot | HDMI2USB/master d2f3085 Jahanzeb Ahmad: Bug fixed for loading hex file. | 10:00 |
*** tvCommitBot has left #timvideos | 10:00 | |
*** tvCommitBot has joined #timvideos | 10:01 | |
tvCommitBot | [HDMI2USB] mithro deleted r1 at fcc5801: http://git.io/iS_yWw | 10:01 |
*** tvCommitBot has left #timvideos | 10:01 | |
*** tvCommitBot has joined #timvideos | 10:01 | |
tvCommitBot | [HDMI2USB] mithro deleted r2 at eec7072: http://git.io/2-x7Rw | 10:01 |
*** tvCommitBot has left #timvideos | 10:01 | |
*** mithro has quit IRC | 10:37 | |
*** hyades has quit IRC | 11:05 | |
*** bananadine has joined #timvideos | 11:54 | |
*** bananadine has quit IRC | 11:59 | |
*** hyades has joined #timvideos | 12:48 | |
hyades | mithro-work, thr? | 13:09 |
*** hyades has quit IRC | 13:53 | |
*** mithro has joined #timvideos | 13:58 | |
*** hyades has joined #timvideos | 13:59 | |
mithro | ~seen bananadine | 13:59 |
tpb | mithro: bananadine was last seen in #timvideos 22 hours, 27 minutes, and 44 seconds ago: <bananadine> alright! | 13:59 |
hyades | mithro, i was installing gst-switch on a VM | 14:00 |
mithro | hyades, and? | 14:00 |
hyades | i realized that the bad plugin has been recently modified | 14:00 |
hyades | on duzy's repo | 14:00 |
hyades | and now it gives me an error while doing 'make' | 14:00 |
mithro | well, that is bad | 14:02 |
mithro | can you reproduce it more then once? | 14:02 |
hyades | yeah | 14:02 |
hyades | i have a local copy of the bad plugins as it appeared at that time | 14:03 |
hyades | mithro, 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 |
mithro | hyades, api is pretty much always written in all capitals | 14:06 |
mithro | Sewar, ping? | 14:06 |
mithro | Sewar, I'm guessing your probably asleep | 14:06 |
mithro | hyades, why do you have random number seqeuences in your post? | 14:07 |
mithro | 1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 ? | 14:07 |
hyades | lol, where? | 14:08 |
Sewar | mithro, pong | 14:08 |
mithro | Just before each gist | 14:08 |
mithro | it seems like they didn't embed properly | 14:08 |
hyades | line numbers :) | 14:08 |
mithro | Sewar, did I tell you that you need to do a midterm report, or did it slip my mind? | 14:08 |
mithro | hyades, ahh it appears better now I reloaded | 14:08 |
mithro | must have been missing a stylesheet or something | 14:09 |
Sewar | I don't recall that | 14:09 |
Sewar | I will write one this week | 14:09 |
mithro | hyades, using gists for your code snippets is an awesome idea! | 14:09 |
Sewar | any tips for what the report should include? besides listing progress | 14:11 |
*** bananadine has joined #timvideos | 14:33 | |
*** bananadine has quit IRC | 14:50 | |
*** bananadine has joined #timvideos | 14:50 | |
*** bananadine has quit IRC | 14:56 | |
*** hyades has quit IRC | 15:07 | |
*** hyades has joined #timvideos | 15:07 | |
*** bananadine has joined #timvideos | 15:11 | |
*** bananadine has quit IRC | 15:15 | |
*** bananadine has joined #timvideos | 15:21 | |
bananadine | had a crappy connection today | 15:22 |
mithro | Sewar, | 15:24 |
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 |
mithro | bananadine, anything quick before I go? | 15:24 |
bananadine | oh well | 15:26 |
bananadine | after tomorrows work | 15:26 |
bananadine | the number of errors reduced | 15:27 |
bananadine | i have this one now tho | 15:27 |
bananadine | File "/home/max/Desktop/flumotion-porting/flumotion/cache/component/ce3674c6e72abf5ee4623ad5cbb17040/flumotion/component/feedcomponent010.py", line 503, in set_master_clock | 15: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 function | 15:27 |
bananadine | return info.invoke(*args, **kwargs) | 15:27 |
bananadine | exceptions.ValueError: -1 not in range 0 to 4294967295 | 15:27 |
bananadine | checked Gst.CLOCK_TIME_NONE in ipython | 15:27 |
bananadine | it's -1 | 15:27 |
bananadine | in the old gst 0.10 | 15:28 |
bananadine | the value was: 18446744073709551615L | 15:28 |
bananadine | what do you suggest mithro ? | 15:30 |
bananadine | also, when should i fill the evaluation form? | 15:30 |
hyades | i filled mine :) | 15:30 |
bananadine | great | 15:31 |
mithro | bananadine, I think -1 is probably the equivalent to 18446744073709551615L when you take into proper signedness | 15:31 |
mithro | My guess is self.pipeline.set_start_time doesn't take a Gst.CLOCK_TIME_NONE? | 15:31 |
mithro | what does the documentation say? | 15:32 |
bananadine | it should take it | 15:32 |
bananadine | http://gstreamer.freedesktop.org/data/doc/gstreamer/head/gstreamer/html/GstElement.html#gst-element-set-start-time | 15:33 |
tpb | <http://ln-s.net/-bal> (at gstreamer.freedesktop.org) | 15:33 |
bananadine | mithro, did ya see? | 15:39 |
mithro | bananadine, yes | 15:39 |
mithro | >>> 2**32 | 15:40 |
mithro | 4294967296 | 15:40 |
bananadine | what's with the numbers | 15:41 |
bananadine | what are you telling me | 15:41 |
mithro | <bananadine> exceptions.ValueError: -1 not in range 0 to 4294967295 | 15:41 |
mithro | However | 15:41 |
mithro | typedef guint64 GstClockTime; | 15:41 |
mithro | so not sure why set_start_time doesn't take | 15:42 |
mithro | 0, 2**64 | 15:42 |
bananadine | maybe i should go over at #gstreamer | 15:42 |
mithro | bananadine, can you check your .gir file has something like | 15: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 |
bananadine | yep | 15:45 |
bananadine | it has | 15:45 |
mithro | bananadine, what happens if you try and give it a | 15:46 |
mithro | 2**64-1 ? | 15:46 |
mithro | >>> 2**64 | 15:46 |
bananadine | you mean | 15:46 |
mithro | 18446744073709551616L | 15:46 |
bananadine | istead of Gst.Clock | 15:47 |
bananadine | ? | 15:47 |
bananadine | exceptions.ValueError: 18446744073709551616 not in range 0 to 4294967295 | 15:50 |
bananadine | mithro, how about if i put 0? | 15:50 |
mithro | -1 in unsigned int64 == 18446744073709551615 == 2**64 - 1 | 15:51 |
bananadine | yea i got that | 15:51 |
bananadine | but | 15:51 |
bananadine | the function won't take that | 15:51 |
mithro | 18446744073709551616 != 18446744073709551615 | 15:51 |
mithro | bananadine, for some reason it think it is a int32 | 15:52 |
mithro | -1 in unsigned int32 == 4294967295 == 2**32 - 1 | 15:53 |
bananadine | wait | 15:54 |
bananadine | wait | 15:54 |
bananadine | 2**64 - 1 works | 15:54 |
bananadine | it's done | 15:56 |
mithro | bananadine, you might want to report a bug on why it's saying | 15:56 |
bananadine | where should i do that? | 15:56 |
mithro | xxx not in range 0 to 4294967295 when is clearly accepts 0->2**64-1 | 15:56 |
mithro | https://wiki.gnome.org/GObjectIntrospection#Reporting_bugs | 15:57 |
tpb | <http://ln-s.net/-bbL> (at wiki.gnome.org) | 15:57 |
bananadine | alright | 15:57 |
bananadine | btw | 15:57 |
bananadine | now i'm only left with 2 erros | 15:57 |
bananadine | errors* | 15:57 |
bananadine | Traceback (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_probe | 15: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 function | 15:57 |
bananadine | return info.invoke(*args, **kwargs) | 15:57 |
bananadine | TypeError: unknown type GstIntRange | 15:57 |
bananadine | and an internal data flow one | 15:58 |
bananadine | which i think is due this one | 15:58 |
bananadine | cuz this stops the audio encoder | 15:58 |
mithro | bananadine, I have a working patch for gst-python which fixes that issue | 15:59 |
bananadine | awesome | 16:00 |
bananadine | how do i apply it? | 16:00 |
mithro | are you using gst-python installed from packages? | 16:02 |
mithro | or your own self compiled version? | 16:02 |
bananadine | installed from packages | 16:02 |
bananadine | well how am i using gst-python exactly? | 16:02 |
bananadine | or do you mean PyGi? | 16:02 |
mithro | I mean gst-python | 16:04 |
bananadine | so | 16:06 |
bananadine | i'm using it installed from packages | 16:06 |
bananadine | i haven't compiled anything gst-python | 16:07 |
bananadine | mithro, where can i find the patch and how do i apply it? | 16:11 |
mithro | bananadine, it is not that easy | 16:11 |
bananadine | ah | 16:12 |
mithro | bananadine, where is "in_rate" used? | 16:18 |
mithro | maybe you could hardcode the value for now? | 16:18 |
bananadine | in the encoder | 16:19 |
bananadine | i'll find out what the value is | 16:20 |
bananadine | and fake it | 16:20 |
bananadine | 44100 | 16:23 |
bananadine | yea figures | 16:23 |
bananadine | it's what i give in the planet file | 16:23 |
bananadine | ok so | 16:25 |
bananadine | there's still an internal data flow error | 16:25 |
bananadine | it happens at the muxer | 16:25 |
bananadine | all other components are happy | 16:25 |
bananadine | mithro, i'll paste the output | 16:27 |
bananadine | http://pastebin.com/YuRcs9HU | 16:27 |
tpb | Title: INFO [ 5037] jelly Jul 30 18:23:53 - Pastebin.com (at pastebin.com) | 16:27 |
bananadine | could it be something with the probes? | 16:28 |
mithro | bananadine, sorry - I have no idea | 16:31 |
mithro | Internal data flow error. often means it couldn't create the pipeline you where after | 16:31 |
mithro | or you where missing the converters on the input/output | 16:31 |
bananadine | i need to check the muxer files | 16:32 |
*** tvCommitBot has joined #timvideos | 16:33 | |
tvCommitBot | [HDMI2USB] mithro pushed 2 new commits to master: http://git.io/kOl-Pg | 16:33 |
tvCommitBot | HDMI2USB/master f63631a Tim 'mithro' Ansell: Fixing the README name. | 16:33 |
tvCommitBot | HDMI2USB/master 9a07c9a Tim 'mithro' Ansell: Adding information to the README file. | 16:33 |
*** tvCommitBot has left #timvideos | 16:33 | |
mithro | bananadine, I highly recommend getting flumotion to log the pipelines | 16:35 |
bananadine | how? | 16:35 |
mithro | bananadine, after you get his working - I'm also going to make you learn how to use the python logging module properly | 16:35 |
bananadine | mithro, how do i get flumotion to log the pipelines? | 16:36 |
mithro | bananadine, you need to find the correct place | 16:36 |
mithro | bananadine, and then logging.info(<string>) | 16:37 |
bananadine | oh ok | 16:37 |
hyades | mithro, logging works with py.test? | 16:38 |
mithro | hyades, I assume so | 16:38 |
hyades | i earlier had logging in my code, later replaced them with print thinking opposite | 16:39 |
bananadine | mithro, so when i put logging.info(<string>) somewhere in the code | 16:41 |
bananadine | what should i expect in the output? | 16:41 |
bananadine | INFO:root:<string> ? | 16:42 |
bananadine | how does that help me? | 16:42 |
bananadine | btw | 16:51 |
bananadine | mithro, it's the probes | 16:51 |
bananadine | i bet it's them | 16:52 |
bananadine | you know the thing yesterday | 16:52 |
bananadine | with the probe_id | 16:52 |
bananadine | https://github.com/bananadine/flumotion/blob/master/flumotion/component/feedcomponent.py#L975 | 16:53 |
tpb | <http://ln-s.net/-bcu> (at github.com) | 16:53 |
*** hyades has quit IRC | 16:53 | |
*** tvCommitBot has joined #timvideos | 16:53 | |
tvCommitBot | [HDMI2USB] mithro pushed 1 new commit to master: http://git.io/tlFBpw | 16:53 |
tvCommitBot | HDMI2USB/master ebb86ac Tim 'mithro' Ansell: Small fix to description. | 16:53 |
*** tvCommitBot has left #timvideos | 16:53 | |
bananadine | this class is imported by ogg.py (the muxer component) | 16:54 |
bananadine | and look in the class | 16:54 |
mithro | bananadine, be careful of jumping to conclusions you can lose a lot of time that way | 16:54 |
mithro | bananadine, but if you really think there is something up there, do look into it | 16:54 |
mithro | bananadine, it can also be useful to diff the new code verse the old code | 16:54 |
mithro | bananadine, to get a refersher of what you have actually changed | 16:54 |
bananadine | https://github.com/bananadine/flumotion/commit/5a1ac72140408aeb84be09cc99de792c01390fcd | 16:55 |
tpb | <http://ln-s.net/-bd1> (at github.com) | 16:55 |
bananadine | look at the changes in the feedcomponent | 16:55 |
bananadine | especially those in the MuxerComponent class | 16:55 |
mithro | I need to be in bed | 16:57 |
bananadine | alright | 16:57 |
bananadine | i'll remind you tomorrow | 16:57 |
bananadine | :) | 16:57 |
mithro | bananadine, you should have it working by tomorrow! | 16:57 |
mithro | btw | 16:57 |
mithro | looking at that code | 16:57 |
mithro | your doing | 16:57 |
mithro | for elem in self.get_input_elements(): | 16:58 |
mithro | then | 16:58 |
mithro | self.block_probe_id = pad.add_probe(Gst.PadProbeType.BLOCK, self._on_eater_blocked, None) | 16:58 |
mithro | + | 16:58 |
mithro | can you see why that is a problem? | 16:58 |
bananadine | hmm | 16:59 |
bananadine | no | 16:59 |
bananadine | sorry, no | 16:59 |
bananadine | :/ | 16:59 |
mithro | what does this code do? | 16:59 |
bananadine | is it the self? | 16:59 |
mithro | a = 1 | 16:59 |
bananadine | yes | 16:59 |
mithro | for i in [1, 2, 3]: | 16:59 |
mithro | a = i | 16:59 |
mithro | what is a after the loop? | 16:59 |
bananadine | i give the return value of add probe to self.block_probe_id | 17:00 |
mithro | bananadine, you doing this *inside* a loop | 17:00 |
bananadine | ahhh | 17:01 |
bananadine | right | 17:01 |
bananadine | riight | 17:01 |
mithro | you probably want something like | 17:01 |
mithro | self.block_probe_ids = {} | 17:01 |
mithro | for x in y: | 17:01 |
mithro | self.block_probes_ids[x] = pad.add_probe(blah | 17:02 |
bananadine | then when i remove the probes | 17:02 |
bananadine | i need to do it in a for loop right? | 17:02 |
*** hyades has joined #timvideos | 17:02 | |
bananadine | to remove them all | 17:02 |
mithro | to remove them all | 17:02 |
mithro | for x in self.block_probe_ids: | 17:02 |
mithro | pad.remove_probe(self.block_probe_ids[x], blah) | 17:02 |
mithro | or something like that | 17:02 |
bananadine | right | 17:03 |
mithro | now I *really* must go | 17:03 |
mithro | bananadine, I don't think it's related - but this problem will only occur when input_elements > 1 | 17:03 |
mithro | IE maybe something like the muxer | 17:03 |
bananadine | alright | 17:03 |
*** bananadine has quit IRC | 17:11 | |
*** Jahanzeb has joined #timvideos | 17:22 | |
*** iiie0 has joined #timvideos | 17:50 | |
*** iiie0 has left #timvideos | 17:50 | |
*** iiie0 has joined #timvideos | 17:51 | |
*** Jahanzeb has left #timvideos | 18:03 | |
*** hyades has quit IRC | 18:04 | |
*** hyades has joined #timvideos | 18:11 | |
*** hyades has quit IRC | 18:15 | |
*** hyades has joined #timvideos | 18:33 | |
*** hyades has quit IRC | 19:26 | |
*** hyades has joined #timvideos | 19:37 | |
*** hyades has quit IRC | 20:41 | |
*** hyades has joined #timvideos | 20:42 | |
*** CarlFK has joined #timvideos | 20:57 | |
*** hyades has quit IRC | 21:13 |
Generated by irclog2html.py 2.12.1 by Marius Gedminas - find it at mg.pov.lt!