Wednesday, 2014-07-16

*** tpb has joined #timvideos00:00
*** mparuszewski has quit IRC00:22
mithroCarlFK: ping?00: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
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
*** 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 --
tpbTitle: gst-plugins-dvswitch/src/gstdvswitchsrc.c at master · aps-sids/gst-plugins-dvswitch · GitHub (at
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 ?07:41
tpbTitle: gst-plugins-dvswitch/src/gstdvswitchsrc.h at master · aps-sids/gst-plugins-dvswitch · GitHub (at
aps-sidsmithro: does that mean the class is not initialized properly?07: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
tpbTitle: GObject Reference Manual: GObject (at
aps-sidsmithro: I'm don't understand why parent_class variable is undeclared if its still there in gstdvswitchsrc.h file07:45
aps-sidsmithro: these are the initial changes I did
tpbTitle: initial changes · 471b9ba · aps-sids/gst-plugins-dvswitch · GitHub (at
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-sidsin the porting-to-1.0 branch, of course07:55
mithroaps-sids: on your branch?07: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 --
tpbTitle: Ubuntu Pastebin (at
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
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
mithroI found which seems to do the same08:16
tpbTitle: Bug 69630 [GStreamer] webkitwebsrc: avoid GST_BOILERPLATE_FULL (at
*** 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
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
tpbTitle: guvcview_video-8.mkv - Google Drive (at
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
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
tpbTitle: Commits · shenki/HDMI2USB · GitHub (at
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
tpbTitle: dvsmon/Vagrantfile at master · CarlFK/dvsmon · GitHub (at
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-sidsI'm already running a VM in windows13:27
tpbTitle: Download Vagrant - Vagrant (at
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
CarlFKand also have something that will use
tpbTitle: dvsmon/Vagrantfile at master · CarlFK/dvsmon · GitHub (at
*** 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  and do "vagrant up"13:46
tpbTitle: dvsmon/Vagrantfile at master · CarlFK/dvsmon · GitHub (at
CarlFKVagrantfile  is all you need, so you can wget it or however you dl files in windows13:47
tpbTitle: VMware Vagrant Environments - Vagrant (at
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
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 2.12.1 by Marius Gedminas - find it at!