*** tpb has joined #timvideos | 00:00 | |
*** CarlFK has joined #timvideos | 01:02 | |
*** ChanServ sets mode: +v CarlFK | 01:02 | |
*** CarlFK has quit IRC | 01:06 | |
*** CarlFK has joined #timvideos | 01:14 | |
*** ChanServ sets mode: +v CarlFK | 01:14 | |
*** Guest33900 is now known as tiago | 02:05 | |
*** tiago is now known as Guest87994 | 02:06 | |
*** Guest87994 is now known as tvaz | 02:07 | |
*** CarlFK has quit IRC | 02:12 | |
*** mithro has quit IRC | 03:06 | |
*** mithro has joined #timvideos | 03:08 | |
*** ChanServ sets mode: +o mithro | 03:08 | |
*** mithro_ has joined #timvideos | 03:50 | |
*** ChanServ sets mode: +o mithro_ | 03:50 | |
*** mithro has quit IRC | 03:52 | |
*** mithro_ is now known as mithro | 03:53 | |
*** CarlFK has joined #timvideos | 04:24 | |
*** ChanServ sets mode: +v CarlFK | 04:24 | |
mithro | CarlFK: ping? | 04:26 |
---|---|---|
CarlFK | mithro: 1/3 here.. PS1 | 04:40 |
*** Niharika has joined #timvideos | 04:42 | |
*** tija has joined #timvideos | 05:52 | |
*** slomo has joined #timvideos | 06:40 | |
*** tija has quit IRC | 07:04 | |
*** CarlFK has quit IRC | 07:22 | |
*** CarlFK has joined #timvideos | 07:30 | |
*** ChanServ sets mode: +v CarlFK | 07:30 | |
*** slomo_ has joined #timvideos | 08:29 | |
*** slomo has quit IRC | 08:31 | |
*** slomo_ has quit IRC | 08:38 | |
*** slomo has joined #timvideos | 08:50 | |
*** slomo has joined #timvideos | 08:50 | |
*** Niharika has quit IRC | 09:36 | |
*** slomo_ has joined #timvideos | 10:51 | |
*** slomo has quit IRC | 10:54 | |
*** slomo_ has quit IRC | 12:13 | |
*** slomo has joined #timvideos | 12:13 | |
mithro | wow, I didn't know that justin.tv spawned Twitch | 12:15 |
aps-sids | yeah, saw on HN few days back | 12:16 |
aps-sids | mithro: Did you see my mail? (regarding wrapping up flumotion project) | 12:17 |
mithro | aps-sids: possibly | 12:27 |
aps-sids | mithro: reply maybe :P | 12:34 |
mithro | aps-sids: the email "Porting Flumotion - getting ready for submission" ? | 12:38 |
aps-sids | mithro: yes | 12:41 |
mithro | aps-sids: has Carl sent you a request to do a wrap up report yet? | 12:41 |
aps-sids | no | 12:42 |
* mithro beats CarlFK with a stick | 12:43 | |
*** Niharika has joined #timvideos | 13:08 | |
mithro | hi Niharika | 14:22 |
mithro | techman83: ping? | 14:22 |
mithro | aps-sids: ping? | 14:23 |
aps-sids | mithro: o/ | 14:23 |
mithro | aps-sids: did that email help? | 14:24 |
aps-sids | mithro: yes, thanks. | 14:24 |
mithro | aps-sids: of course we hope you're interested in keeping working on your project after GSoC finishes | 14:24 |
Niharika | Hi mithro! I deployed the app on skay | 14:25 |
Niharika | Skay´s box* | 14:25 |
Niharika | For now. | 14:25 |
aps-sids | mithro: I surely am interested. | 14:25 |
mithro | Niharika: great! has skay talked to you about doing a end of GSoC report? | 14:27 |
Niharika | mithro: Not yet. | 14:27 |
mithro | Niharika: okay, please ask her about it | 14:27 |
Niharika | mithro: Will do. | 14:27 |
mithro | aps-sids: you had a bunch of questions | 14:28 |
mithro | aps-sids: about flumotion things | 14:28 |
mithro | aps-sids: deinterlacing is pretty mandatory | 14:29 |
aps-sids | mithro: yeah, let me get my notebook | 14:29 |
aps-sids | mithro: yeah, I understand that. I was wondering if we can put the effects directly in pipeline here https://github.com/aps-sids/flumotion-orig/blob/porting-to-gst1.0/flumotion/component/producers/dvswitch/dvswitch.py#L100-L108 | 14:30 |
tpb | Title: flumotion-orig/dvswitch.py at porting-to-gst1.0 · aps-sids/flumotion-orig · GitHub (at github.com) | 14:30 |
mithro | aps-sids: possibly, but why does changing it's location effect things? | 14:31 |
aps-sids | mithro: right now, it's being used as an effectbin where there is a caps negotiation problem. If we put directly in pipeline, they act as individual components and it works | 14:32 |
aps-sids | mithro: btw these are the videos I saved from stream without using any effects -- https://drive.google.com/folderview?id=0B91wDGhdXuQfWEFicUVqT3A3aFU&usp=sharing | 14:33 |
tpb | Title: GSoC test video files (at drive.google.com) | 14:33 |
mithro | aps-sids: what is the negotiation problem? | 14:34 |
aps-sids | mithro: Here's a grep of debug log -- http://paste.ubuntu.com/7972654/ Search for "negotiation" | 14:36 |
tpb | Title: Ubuntu Pastebin (at paste.ubuntu.com) | 14:36 |
mithro | aps-sids: did you put some prints / debugging on "class DeinterlaceBin(gst.Bin):" to see what is getting called / not called there? | 14:39 |
aps-sids | mithro: I walked through it using pdb, and thus I figured out that there is this problem if any of these effects are there | 14:42 |
mithro | aps-sids: this is just a GstBin implemented in python right? | 14:43 |
aps-sids | yes | 14:43 |
mithro | aps-sids: so, looking at your log the thing fails because videorate is getting data before caps negotiation happened? | 14:45 |
aps-sids | yes | 14:45 |
aps-sids | mithro: basically removing this part fixes the error -- https://github.com/aps-sids/flumotion-orig/blob/porting-dvswitch/flumotion/component/producers/dvswitch/dvswitch.py#L136-L159 | 14:46 |
tpb | Title: flumotion-orig/dvswitch.py at porting-dvswitch · aps-sids/flumotion-orig · GitHub (at github.com) | 14:46 |
mithro | so, why is that happening? | 14:46 |
aps-sids | Don't know, I tried setting caps as well | 14:47 |
aps-sids | If any of these effects is there, there is a negtiation issue | 14:47 |
aps-sids | mithro: also, there is this thing which might be related to this issue. does this line look wrong to you? -- https://github.com/aps-sids/flumotion-orig/blob/porting-to-gst1.0/flumotion/component/effects/deinterlace/deinterlace.py#L116 (this exists before the porting started) | 14:49 |
tpb | Title: flumotion-orig/deinterlace.py at porting-to-gst1.0 · aps-sids/flumotion-orig · GitHub (at github.com) | 14:49 |
mithro | aps-sids: "negotiation issue" you mean you get the videorate complaining about getting data before caps? | 14:50 |
aps-sids | yes | 14:50 |
mithro | aps-sids: is caps negotiation occuring at all? | 14:52 |
aps-sids | mithro: I think it's not | 14:52 |
mithro | aps-sids: then, why not? | 14:53 |
mithro | is https://github.com/aps-sids/flumotion-orig/blob/porting-to-gst1.0/flumotion/component/effects/deinterlace/deinterlace.py#L130 ever called? | 14:53 |
tpb | Title: flumotion-orig/deinterlace.py at porting-to-gst1.0 · aps-sids/flumotion-orig · GitHub (at github.com) | 14:53 |
aps-sids | yes, you're looking at wrong branch, dvswitch has a different branch https://github.com/aps-sids/flumotion-orig/blob/porting-dvswitch/flumotion/component/effects/deinterlace/deinterlace.py#L196 | 14:54 |
tpb | Title: flumotion-orig/deinterlace.py at porting-dvswitch · aps-sids/flumotion-orig · GitHub (at github.com) | 14:54 |
mithro | what about _replaceDeinterlacer ? | 14:55 |
mithro | L197 concerns me | 14:56 |
mithro | what is self then? | 14:57 |
aps-sids | just a sec | 14:58 |
aps-sids | mithro: this is self, <DeinterlaceBin object at 0x7ff55015a410 (flumotion+component+effects+deinterlace+deinterlace+DeinterlaceBin at 0x18141d0)> | 15:04 |
mithro | why doesn't it have a self.debug? | 15:04 |
aps-sids | mithro: that's what I am not able to fidn out. it doesn't have .info, .debug like methods which other flumotion components have | 15:05 |
aps-sids | s/fidn/find | 15:05 |
mithro | aps-sids: where is the original code? | 15:06 |
aps-sids | mithro: https://github.com/aps-sids/flumotion-orig/blob/master/flumotion/component/effects/deinterlace/deinterlace.py#L195 | 15:06 |
tpb | Title: flumotion-orig/deinterlace.py at master · aps-sids/flumotion-orig · GitHub (at github.com) | 15:06 |
mithro | so, gst.Bin must have previously provided these methods? | 15:07 |
aps-sids | mithro: I don't thing so. These seem to be coming from flumotion | 15:09 |
mithro | aps-sids: class DeinterlaceBin(gst.Bin): | 15:10 |
mithro | they must have been coming from gst.Bin because that is the only thing we inherit from? unless something is setting the methods on the class manually | 15:10 |
aps-sids | mithro: you are right | 15:13 |
aps-sids | It's from gst.Bin and its no longer there in Gst.Bin | 15:13 |
*** rohitksingh has joined #timvideos | 15:14 | |
*** slomo has quit IRC | 15:14 | |
mithro | aps-sids: okay | 15:18 |
mithro | aps-sids: so it's probably good idea to find out where it went | 15:18 |
aps-sids | mithro: What about this line? https://github.com/aps-sids/flumotion-orig/blob/porting-to-gst1.0/flumotion/component/effects/deinterlace/deinterlace.py#L116 I think it should be colorfilter instead of colorspace. | 15:22 |
tpb | Title: flumotion-orig/deinterlace.py at porting-to-gst1.0 · aps-sids/flumotion-orig · GitHub (at github.com) | 15:22 |
mithro | aps-sids: yes, that seems right | 15:24 |
aps-sids | mithro: umm. you mean existing thing is right or it should be changed? this is like this since unported version | 15:25 |
mithro | I think you are right in that it should be changed to colorfilter | 15:25 |
aps-sids | ok | 15:26 |
mithro | otherwise when the _replaceDeInterlace is called the pipeline will be broken | 15:26 |
mithro | assuming that "caps" component is passthru | 15:26 |
aps-sids | I don't know how this works in production on timvideos.us :| | 15:27 |
mithro | aps-sids: it problem only occurs when replace deinterlace is called | 15:27 |
mithro | aps-sids: and it's only means that the caps are not being correctly filtered | 15:29 |
aps-sids | mithro: "__tim> aps-sids, I don't know where that method came from, don't remember there being a gst_bin_debug(). What does it do?" | 15:31 |
mithro | aps-sids: use python inspection to find out where it comes from | 15:31 |
aps-sids | Type: method_descriptor | 15:32 |
aps-sids | String form: <method 'debug' of 'gst.Object' objects> | 15:32 |
aps-sids | Docstring: <no docstring> | 15:32 |
aps-sids | mithro: anyway, these method are just for printing stuff | 15:35 |
mithro | aps-sids: yes, your still calling it in a number of places | 15:36 |
mithro | aps-sids: which probably proves those code paths are not being used | 15:37 |
mithro | IE the "def _replaceDeinterlacer" is never getting called | 15:41 |
mithro | aps-sids: I wonder if L196 needs a return | 15:44 |
mithro | aps-sids: IE if "event_is_flumotion_reset" is returning true for the caps stuff accidently | 15:44 |
aps-sids | let me check that | 15:45 |
mithro | aps-sids: it could also be | 15:45 |
*** rohitksingh1 has joined #timvideos | 15:45 | |
mithro | aps-sids: that you can't just for READY/PLAY state on the videorate now | 15:45 |
mithro | aps-sids: IE you have to wait until after the caps where set | 15:45 |
mithro | rohitksingh1: ping? | 15:46 |
*** rohitksingh has quit IRC | 15:46 | |
rohitksingh1 | mithro: Hi! | 15:47 |
mithro | rohitksingh1: how are things going? | 15:47 |
aps-sids | mithro: this is being called for 3 different events - GST_EVENT_STREAM_START, GST_EVENT_CAPS and GST_EVENT_SEGMENT | 15:48 |
aps-sids | mithro: event_is_flumotion_reset is false for all of them | 15:49 |
rohitksingh1 | mithro: I had gone to college today. Yesterday I soldered the main IC and remaining components. Bypass caps are left to be soldered. They are very closely placed and take much time | 15:49 |
mithro | rohitksingh1: did you boot up the board and test the power supply before doing the main IC? | 15:51 |
rohitksingh1 | mithro: Yeah. That was the only reason why I soldered power supply first this time. Power supply is working fine | 15:52 |
mithro | aps-sids: so I think your function behaves differently to the old system | 15:52 |
mithro | aps-sids: what did "set_setcaps_function" use to do when the callback returned true/false? | 15:52 |
*** rohitksingh1 is now known as rohitksingh | 15:53 | |
mithro | aps-sids: and did it push the event any further? | 15:55 |
aps-sids | mithro: from gstreamer manual - "Sets the given setcaps function for the pad. The setcaps function will be called whenever a buffer with a new media type is pushed or pulled from the pad. The pad/element needs to update its internal structures to process the new media type. If this new type is not acceptable, the setcaps function should return FALSE. " | 15:55 |
mithro | aps-sids: and how does that compare to getting called your new way? | 15:55 |
aps-sids | here setcaps is the GstPadSetCapsFunction to set. | 15:55 |
mithro | aps-sids: you are not doing anything with the return code of the _sinkSetCaps function | 15:56 |
aps-sids | mithro: porting guide saya,, "gst_pad_set_setcaps_function() => changes to => GST_EVENT_CAPS in event handler" | 15:59 |
aps-sids | So, I'm using this -- http://gstreamer.freedesktop.org/data/doc/gstreamer/head/gstreamer/html/GstPad.html#gst-pad-set-event-function-full | 15:59 |
tpb | Title: GStreamer 1.0 Core Reference Manual: GstPad (at gstreamer.freedesktop.org) | 15:59 |
mithro | aps-sids: does the porting guide say anything more? | 16:00 |
aps-sids | mithro: nothing else about setcaps function | 16:01 |
mithro | aps-sids: this is where someone like slomo / thaytan / #gstreamer can answer more | 16:01 |
mithro | aps-sids: but I think you have issues in your eventfunc at the moment | 16:02 |
aps-sids | mithro: when I had asked earlier, someone on #gstreamer said, "in your pad event handler, call the function you would pass to the set_setcaps_function when the caps event arrives" | 16:05 |
aps-sids | So, I couldn't make anything else out of it | 16:05 |
mithro | aps-sids: two parts are missing from that | 16:05 |
mithro | aps-sids: your currently doing "self._srcPad.push_event(event)" | 16:06 |
mithro | aps-sids: which I'm unsure if it's right | 16:06 |
aps-sids | mithro: this is from unported code. not sure if we need to remove it | 16:07 |
mithro | aps-sids: so - yeah - as I said I think you have issues in that function | 16:08 |
mithro | aps-sids: which is why I said I think you need a return on line 196 | 16:08 |
mithro | anyway, I need to head to bed | 16:10 |
mithro | gnight! | 16:10 |
aps-sids | cya | 16:11 |
Niharika | I updated my streaming-system repo and tried to do a make serve to get it running, and I ran into this error: https://www.dropbox.com/s/337m0di2vc3zv9x/Screenshot%202014-08-14%2021.40.23.png | 16:14 |
skay | I just got that too | 16:16 |
skay | I can activate the virtualenv by hand though | 16:17 |
skay | going to read through the Makefile now to see what it is doing once it tries to activate the venv | 16:17 |
Niharika | Okay. | 16:17 |
skay | ugh, I hate reading Makefiles | 16:18 |
CarlFK | that looks familiar | 16:18 |
skay | CarlFK: it doesn't activate the virtualenv so then doesn't get to the part where it runs syncdb or runserver | 16:18 |
CarlFK | https://github.com/CarlFK/streaming-system Vagrantfile | 16:18 |
tpb | Title: CarlFK/streaming-system · GitHub (at github.com) | 16:18 |
CarlFK | there is still something not right else it would have been merged | 16:19 |
skay | oh I remember some of this -- the python 2.6 is hard coded | 16:21 |
skay | which I don't have installed | 16:22 |
skay | oh hell, I hate reading this makefile | 16:24 |
skay | I'm vaguely remembering more of it | 16:24 |
skay | does this require me to be running bash? | 16:26 |
skay | I can't remember if [ -f filename ] works in zsh or if there needs to be [[ | 16:26 |
skay | Niharika: I'm going to try using CarlFK's Vagrantfile to see if that just works | 16:30 |
Niharika | skay: Okay! Tell me if it does. | 16:30 |
skay | Niharika: hold on a bit. I'm talking to CarlFK in person and it isn't clear to me that attempting to bring things up on a vagrant box is going to help by putting things in a sandbox like that | 16:35 |
Niharika | skay: No worries. | 16:35 |
skay | Niharika: I haven't figured out what is going on when I try doing things with make. Meanwhile, I went through and did some of the steps by hand to see what would happen | 16:55 |
Niharika | skay: Okay. I think I´ll go to bed for now and try to see what´s up tomorrow. | 16:56 |
skay | http://pastebin.com/7U2d1nPh | 16:56 |
tpb | Title: paste of my history 9746 source bin/activate 9747 tig 9748 ./manage.p - Pastebin.com (at pastebin.com) | 16:56 |
skay | that's the history | 16:56 |
skay | ignore the numbers, also tig | 16:57 |
Niharika | Okay. | 16:57 |
skay | thaalso source bin/activate sinc eI already did that and the history was from something else and I mean to paste | 16:57 |
skay | ./manage.py runserver 0.0.0.0:8000 | 16:57 |
skay | so, after all that, the server is running | 16:58 |
skay | and I don't know what is going on with the Makefile | 16:58 |
Niharika | Okay. That´s good news. | 16:58 |
skay | see you tomorrow | 16:58 |
Niharika | Take care. Thanks. Bye! | 16:58 |
*** Niharika has left #timvideos | 17:03 | |
*** rohitksingh has quit IRC | 17:57 | |
*** mparuszewski has joined #timvideos | 19:42 | |
*** CarlFK has quit IRC | 22:33 |
Generated by irclog2html.py 2.12.1 by Marius Gedminas - find it at mg.pov.lt!