Wednesday, 2014-07-16

*** tpb has joined #timvideos00:00
*** mparuszewski has quit IRC00:22
mithroCarlFK: ping?00:59
mithroopps00:59
mithroCarlFK: ping?00:59
CarlFKmithro: here00:59
*** FeltonChris has joined #timvideos01:18
*** tariq786 has quit IRC03:30
*** tariq786 has joined #timvideos03:33
*** mparuszewski has joined #timvideos04:04
aps-sidsCarlFK: that was not related to dvswitch, just found it interesting :)04:38
CarlFKaps-sids: I have no context.. so... let me know if you need anything ;)04:42
aps-sidssure. I'm suddenly working on C after months of Python :P04:43
shenkia grown ups language04:44
shenkiaps-sids: can you feel your beard growing already?04:44
aps-sidsshenki: I'm a Sikh (religion). We don't trim hair ;)04:44
aps-sidsSo, I already have a full grown beard04:45
shenkiaps-sids: sure, but perhaps it will get longer? :) I was just being silly04:45
aps-sids#WaysToKillAJoke :P04:45
shenki:D04:45
shenkiaps-sids: what is the c you're hacking on?04:46
aps-sidsshenki: porting gst-plugin-dvswitch to 1.004:46
shenkicool. have the apis changed much?04:47
aps-sidsshenki: Don't know if we can call it "much", but they are quite different04:49
shenkiokay04:49
*** tija has joined #timvideos05:44
*** mparuszewski has quit IRC06:12
*** slomo has joined #timvideos06:47
*** slomo has quit IRC07:33
aps-sidsAny C ninjas here?07:33
*** tija has quit IRC07:36
mithroaps-sids: shenki is a C person07:39
mithroaps-sids: I also know a bit of C07:39
aps-sidsmithro: I have a doubt here. See this variable "parent_class"  here -- https://github.com/aps-sids/gst-plugins-dvswitch/blob/master/src/gstdvswitchsrc.c#L25807:40
tpbTitle: gst-plugins-dvswitch/src/gstdvswitchsrc.c at master · aps-sids/gst-plugins-dvswitch · GitHub (at github.com)07:40
aps-sidsI believe its coming from the header file07:40
aps-sidsBut when I have ported some part of this file, I get this error: 'parent_class' undeclared07:41
mithrodoes it come from https://github.com/aps-sids/gst-plugins-dvswitch/blob/master/src/gstdvswitchsrc.h#L146 ?07:41
tpbTitle: gst-plugins-dvswitch/src/gstdvswitchsrc.h at master · aps-sids/gst-plugins-dvswitch · GitHub (at github.com)07:41
aps-sidsmithro: does that mean the class is not initialized properly?07:42
aps-sidss/initialized/instantiated07:42
aps-sidsmithro: yes, I think so07:42
aps-sidsits coming from gstdvswitchsrc.h07:43
mithroI don't quite know what G_OBJECT_CLASS does07:43
mithro#define G_OBJECT_CLASS(class)       (G_TYPE_CHECK_CLASS_CAST ((class), G_TYPE_OBJECT, GObjectClass))07:44
mithrohttps://developer.gnome.org/gobject/stable/gobject-The-Base-Object-Type.html#G-OBJECT-CLASS:CAPS07:44
tpbTitle: GObject Reference Manual: GObject (at developer.gnome.org)07:44
aps-sidsmithro: I'm don't understand why parent_class variable is undeclared if its still there in gstdvswitchsrc.h file07:45
aps-sidss/I'm/I07:46
aps-sidsmithro: these are the initial changes I did  https://github.com/aps-sids/gst-plugins-dvswitch/commit/471b9ba7f2d90ed282bcdc5988f2b7f8baf7078a07:46
tpbTitle: initial changes · 471b9ba · aps-sids/gst-plugins-dvswitch · GitHub (at github.com)07:46
mithroaps-sids: did you see there was a "porting-to-1.0" branch in the repo?07:47
mithrooh, wait that is your branch :P07:48
aps-sidsyeah :P07:48
aps-sidsthere are more API changes there, I think I need to do those first07:49
* shenki reads scrollback07:52
mithrohow can I replicate your compile error?07:54
aps-sidsgit clone07:54
aps-sids./autogen.sh07:54
aps-sidsmake07:54
aps-sidsin the porting-to-1.0 branch, of course07:55
mithroaps-sids: on your branch?07:55
aps-sidsyes07:55
mithrowhat are you using to compile on it?07:57
*** tija has joined #timvideos07:58
aps-sidsmithro: not sure what you mean. I just do make and get this -- http://paste.ubuntu.com/7802291/08:00
tpbTitle: Ubuntu Pastebin (at paste.ubuntu.com)08:00
mithromy guess at the moment is that when you replaced GST_BOILERPLATE_FULL it left parent_class not in the right place08:02
shenkiurgh. gobject != c08:07
shenki:)08:07
aps-sidsmithro: found the solution. We need to add  "#define gst_dvswitch_src_parent_class parent_class"  before G_DEFINE_TYPE_WITH_CODE (in place of GST_BOILERPLATE_FULL)08:07
shenkithe way that the source sink is declared is different to the source one08:08
shenkierr, the way that the sink class is declared is different to the source one08:08
mithroaps-sids: how did you figure that out?08:12
mithroaps-sids: this is definitely a question that slomo / thaytan is best to answer08:15
aps-sidsmithro: I'm reading docs for writing plugins in 0.10 and 1.0 simultaneously :D08:16
aps-sidsand also looking through already ported library plugins08:16
mithroyeah08:16
mithroI found https://bugs.webkit.org/show_bug.cgi?id=69630 which seems to do the same08:16
tpbTitle: Bug 69630 [GStreamer] webkitwebsrc: avoid GST_BOILERPLATE_FULL (at bugs.webkit.org)08:16
*** slomo has joined #timvideos08:20
*** slomo has joined #timvideos08:20
mithroshenki: speak of the devil08:20
*** tija has quit IRC09:07
shenkimithro: hrm?09:15
*** tija has joined #timvideos09:24
mithroopps09:28
mithros/shenki/slomo/09:28
mithroshenki: got a moment to take a look at some stuff?09:35
shenkimithro: yep09:41
aps-sidsmithro: DVSwitch component is ported (no compile errors), now I'm working on DVSink10:34
mithroaps-sids: awesome!10:35
aps-sidsmithro: I've pushed the code btw, you can have a look if you want.10:39
tijashenki: https://drive.google.com/file/d/0B0zz3gJ27U-VdzEwLUdJTFFkSDg/edit?usp=sharing10:44
tpbTitle: guvcview_video-8.mkv - Google Drive (at drive.google.com)10:44
shenkitija: sweet!10:47
shenkitija: why is the frame rate so low?10:47
tija100% encoding quality plus I have not added my changed image buffer10:48
tijacheck the encoded frame size10:48
shenkiyou should do a blog post with some screenshots ;)10:51
shenki:)10:51
shenki1.47MB10:51
shenkiis that larger than the input?10:51
tijashenki/mithro: Have you done endurance testing of HDMI2USB? When I was testing it sometimes the guvcplayer would give this error " Could not grab image (select timeout): Resource temporarily unavailable" and when I restarted the player things started to work. This error is not reproducible easily10:52
shenkitija: you made the same mistake with verilog as you did with the c files10:52
shenkitija: for the comments10:52
shenkitija: here's a new rule: before you push a commit, you should make sure it builds ;)10:53
shenkitija: hrm, i haven't seen that error10:53
tijashenki: I have a better rule: Before coding add license :P10:53
tijashenki: Image size is highly depended on the kind of image being streamed.10:57
shenkitija: oh? you did some tests to show that?10:57
tijaFor the test pattern it is way higher10:57
shenkitija: https://github.com/shenki/HDMI2USB/commits/ajit-debug-v210:58
tpbTitle: Commits · shenki/HDMI2USB · GitHub (at github.com)10:58
shenkiwe should get someone else to take a look, and then we can merge it10:59
*** FeltonChris has quit IRC11:01
*** FeltonChris has joined #timvideos11:04
tijashenki: the video is recorded using guvcviewer and hdmi2usb. Do you find the quality acceptable?11:14
*** rohitksingh has joined #timvideos11:14
shenkitija: yep, the quality is good11:20
*** FeltonChris has quit IRC12:06
*** tija has quit IRC12:47
aps-sidsmithro: Can you test dvswitch now?12:51
aps-sidsCarlFK: you up?13:17
CarlFKjust woke up..13:17
aps-sidsCarlFK: cool, you can help with testing gst-dvswitch plugin?13:18
aps-sidsported to 1.013:19
CarlFKkinda - have you tested it?13:19
CarlFKhttps://github.com/CarlFK/dvsmon/blob/master/Vagrantfile13:21
tpbTitle: dvsmon/Vagrantfile at master · CarlFK/dvsmon · GitHub (at github.com)13:21
CarlFKI would start with that - I need to make coffee and feed the cat.. I'll be around13:21
aps-sidsCarlFK: Internet is really sloppy here and I don't know exactly how to use dvswitch :( You can take your time, no worries. I'll work on some other components till then.13:25
CarlFKaps-sids: do you have vagrant installed?13:26
aps-sidsno13:26
aps-sidsI'm already running a VM in windows13:27
CarlFKhttp://www.vagrantup.com/downloads.html13:29
tpbTitle: Download Vagrant - Vagrant (at www.vagrantup.com)13:29
CarlFKrun that in windows too13:30
CarlFKyou will probably switch from what ever you are currently doing to "already running a VM in windows"13:30
aps-sidsokay13:31
CarlFKand also have something that will use  https://github.com/CarlFK/dvsmon/blob/master/Vagrantfile13:31
tpbTitle: dvsmon/Vagrantfile at master · CarlFK/dvsmon · GitHub (at github.com)13:31
*** Niharika has joined #timvideos13:32
CarlFKaps-sids: what VM are you using ?13:39
aps-sidsCarlFK: VMware13:40
aps-sidsfor ubuntu 12.0413:40
aps-sidsok vagrant installed, I need to restart13:40
aps-sidsOkay vagrant installed13:44
CarlFKcd into https://github.com/CarlFK/dvsmon/blob/master/Vagrantfile  and do "vagrant up"13:46
tpbTitle: dvsmon/Vagrantfile at master · CarlFK/dvsmon · GitHub (at github.com)13:46
CarlFKVagrantfile  is all you need, so you can wget it or however you dl files in windows13:47
CarlFKhttps://www.vagrantup.com/vmware13:47
tpbTitle: VMware Vagrant Environments - Vagrant (at www.vagrantup.com)13:47
CarlFK"Every purchase of the Vagrant VMware provider..."   purchase?   huh.  you may need to get virtualbox13:48
aps-sidsinstalling virtualbox now :|13:51
aps-sidsbringing box up13:57
CarlFKback14:01
aps-sidsokay, I'm at precise login14:02
CarlFKwhat did you do to get there ?14:04
aps-sidsvagrant up, it downloaded the box and installed it14:04
aps-sidsI'm really sorry, I need to leave right now. Just put in the steps, I'll do them later.14:05
CarlFKhmm.. gui or text login?14:05
aps-sidstext login14:05
aps-sidswhats user and pass?14:05
CarlFKvagrant up should have been the steps.  it should have brought up a gui and logged you in... I'll run it here and verify14:06
aps-sidsits still downloading some files I guess14:06
aps-sidsthe updates and all14:06
aps-sidsI need to leave now. Will do it later14:07
CarlFKah  .then yeah, it should just work14:07
*** mparuszewski has joined #timvideos14:27
*** rohitksingh has quit IRC14:50
*** rohitksingh has joined #timvideos14:51
*** Niharika has left #timvideos16:49
*** slomo has quit IRC17:17
*** Palash has joined #timvideos18:26
*** slomo has joined #timvideos18:36
*** slomo has joined #timvideos18:36
*** Palash has quit IRC18:41
*** mparuszewski has quit IRC20:22
*** rohitksingh has quit IRC20:54
*** rohitksingh1 has joined #timvideos20:54
*** mparuszewski has joined #timvideos20:55
*** slomo has quit IRC22:35
*** FeltonChris has joined #timvideos22:53
*** CarlFK has quit IRC22:58
*** CarlFK has joined #timvideos23:41
*** ChanServ sets mode: +v CarlFK23:41
*** rohitksingh1 has quit IRC23:54
*** FeltonChris has quit IRC23:59

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