*** tpb has joined #timvideos | 00:00 | |
*** mparuszewski has quit IRC | 00:22 | |
mithro | CarlFK: ping? | 00:59 |
---|---|---|
mithro | opps | 00:59 |
mithro | CarlFK: ping? | 00:59 |
CarlFK | mithro: here | 00:59 |
*** FeltonChris has joined #timvideos | 01:18 | |
*** tariq786 has quit IRC | 03:30 | |
*** tariq786 has joined #timvideos | 03:33 | |
*** mparuszewski has joined #timvideos | 04:04 | |
aps-sids | CarlFK: that was not related to dvswitch, just found it interesting :) | 04:38 |
CarlFK | aps-sids: I have no context.. so... let me know if you need anything ;) | 04:42 |
aps-sids | sure. I'm suddenly working on C after months of Python :P | 04:43 |
shenki | a grown ups language | 04:44 |
shenki | aps-sids: can you feel your beard growing already? | 04:44 |
aps-sids | shenki: I'm a Sikh (religion). We don't trim hair ;) | 04:44 |
aps-sids | So, I already have a full grown beard | 04:45 |
shenki | aps-sids: sure, but perhaps it will get longer? :) I was just being silly | 04:45 |
aps-sids | #WaysToKillAJoke :P | 04:45 |
shenki | :D | 04:45 |
shenki | aps-sids: what is the c you're hacking on? | 04:46 |
aps-sids | shenki: porting gst-plugin-dvswitch to 1.0 | 04:46 |
shenki | cool. have the apis changed much? | 04:47 |
aps-sids | shenki: Don't know if we can call it "much", but they are quite different | 04:49 |
shenki | okay | 04:49 |
*** tija has joined #timvideos | 05:44 | |
*** mparuszewski has quit IRC | 06:12 | |
*** slomo has joined #timvideos | 06:47 | |
*** slomo has quit IRC | 07:33 | |
aps-sids | Any C ninjas here? | 07:33 |
*** tija has quit IRC | 07:36 | |
mithro | aps-sids: shenki is a C person | 07:39 |
mithro | aps-sids: I also know a bit of C | 07:39 |
aps-sids | mithro: I have a doubt here. See this variable "parent_class" here -- https://github.com/aps-sids/gst-plugins-dvswitch/blob/master/src/gstdvswitchsrc.c#L258 | 07:40 |
tpb | Title: gst-plugins-dvswitch/src/gstdvswitchsrc.c at master · aps-sids/gst-plugins-dvswitch · GitHub (at github.com) | 07:40 |
aps-sids | I believe its coming from the header file | 07:40 |
aps-sids | But when I have ported some part of this file, I get this error: 'parent_class' undeclared | 07:41 |
mithro | does it come from https://github.com/aps-sids/gst-plugins-dvswitch/blob/master/src/gstdvswitchsrc.h#L146 ? | 07:41 |
tpb | Title: gst-plugins-dvswitch/src/gstdvswitchsrc.h at master · aps-sids/gst-plugins-dvswitch · GitHub (at github.com) | 07:41 |
aps-sids | mithro: does that mean the class is not initialized properly? | 07:42 |
aps-sids | s/initialized/instantiated | 07:42 |
aps-sids | mithro: yes, I think so | 07:42 |
aps-sids | its coming from gstdvswitchsrc.h | 07:43 |
mithro | I don't quite know what G_OBJECT_CLASS does | 07:43 |
mithro | #define G_OBJECT_CLASS(class) (G_TYPE_CHECK_CLASS_CAST ((class), G_TYPE_OBJECT, GObjectClass)) | 07:44 |
mithro | https://developer.gnome.org/gobject/stable/gobject-The-Base-Object-Type.html#G-OBJECT-CLASS:CAPS | 07:44 |
tpb | Title: GObject Reference Manual: GObject (at developer.gnome.org) | 07:44 |
aps-sids | mithro: I'm don't understand why parent_class variable is undeclared if its still there in gstdvswitchsrc.h file | 07:45 |
aps-sids | s/I'm/I | 07:46 |
aps-sids | mithro: these are the initial changes I did https://github.com/aps-sids/gst-plugins-dvswitch/commit/471b9ba7f2d90ed282bcdc5988f2b7f8baf7078a | 07:46 |
tpb | Title: initial changes · 471b9ba · aps-sids/gst-plugins-dvswitch · GitHub (at github.com) | 07:46 |
mithro | aps-sids: did you see there was a "porting-to-1.0" branch in the repo? | 07:47 |
mithro | oh, wait that is your branch :P | 07:48 |
aps-sids | yeah :P | 07:48 |
aps-sids | there are more API changes there, I think I need to do those first | 07:49 |
* shenki reads scrollback | 07:52 | |
mithro | how can I replicate your compile error? | 07:54 |
aps-sids | git clone | 07:54 |
aps-sids | ./autogen.sh | 07:54 |
aps-sids | make | 07:54 |
aps-sids | in the porting-to-1.0 branch, of course | 07:55 |
mithro | aps-sids: on your branch? | 07:55 |
aps-sids | yes | 07:55 |
mithro | what are you using to compile on it? | 07:57 |
*** tija has joined #timvideos | 07:58 | |
aps-sids | mithro: not sure what you mean. I just do make and get this -- http://paste.ubuntu.com/7802291/ | 08:00 |
tpb | Title: Ubuntu Pastebin (at paste.ubuntu.com) | 08:00 |
mithro | my guess at the moment is that when you replaced GST_BOILERPLATE_FULL it left parent_class not in the right place | 08:02 |
shenki | urgh. gobject != c | 08:07 |
shenki | :) | 08:07 |
aps-sids | mithro: 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 |
shenki | the way that the source sink is declared is different to the source one | 08:08 |
shenki | err, the way that the sink class is declared is different to the source one | 08:08 |
mithro | aps-sids: how did you figure that out? | 08:12 |
mithro | aps-sids: this is definitely a question that slomo / thaytan is best to answer | 08:15 |
aps-sids | mithro: I'm reading docs for writing plugins in 0.10 and 1.0 simultaneously :D | 08:16 |
aps-sids | and also looking through already ported library plugins | 08:16 |
mithro | yeah | 08:16 |
mithro | I found https://bugs.webkit.org/show_bug.cgi?id=69630 which seems to do the same | 08:16 |
tpb | Title: Bug 69630 [GStreamer] webkitwebsrc: avoid GST_BOILERPLATE_FULL (at bugs.webkit.org) | 08:16 |
*** slomo has joined #timvideos | 08:20 | |
*** slomo has joined #timvideos | 08:20 | |
mithro | shenki: speak of the devil | 08:20 |
*** tija has quit IRC | 09:07 | |
shenki | mithro: hrm? | 09:15 |
*** tija has joined #timvideos | 09:24 | |
mithro | opps | 09:28 |
mithro | s/shenki/slomo/ | 09:28 |
mithro | shenki: got a moment to take a look at some stuff? | 09:35 |
shenki | mithro: yep | 09:41 |
aps-sids | mithro: DVSwitch component is ported (no compile errors), now I'm working on DVSink | 10:34 |
mithro | aps-sids: awesome! | 10:35 |
aps-sids | mithro: I've pushed the code btw, you can have a look if you want. | 10:39 |
tija | shenki: https://drive.google.com/file/d/0B0zz3gJ27U-VdzEwLUdJTFFkSDg/edit?usp=sharing | 10:44 |
tpb | Title: guvcview_video-8.mkv - Google Drive (at drive.google.com) | 10:44 |
shenki | tija: sweet! | 10:47 |
shenki | tija: why is the frame rate so low? | 10:47 |
tija | 100% encoding quality plus I have not added my changed image buffer | 10:48 |
tija | check the encoded frame size | 10:48 |
shenki | you should do a blog post with some screenshots ;) | 10:51 |
shenki | :) | 10:51 |
shenki | 1.47MB | 10:51 |
shenki | is that larger than the input? | 10:51 |
tija | shenki/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 easily | 10:52 |
shenki | tija: you made the same mistake with verilog as you did with the c files | 10:52 |
shenki | tija: for the comments | 10:52 |
shenki | tija: here's a new rule: before you push a commit, you should make sure it builds ;) | 10:53 |
shenki | tija: hrm, i haven't seen that error | 10:53 |
tija | shenki: I have a better rule: Before coding add license :P | 10:53 |
tija | shenki: Image size is highly depended on the kind of image being streamed. | 10:57 |
shenki | tija: oh? you did some tests to show that? | 10:57 |
tija | For the test pattern it is way higher | 10:57 |
shenki | tija: https://github.com/shenki/HDMI2USB/commits/ajit-debug-v2 | 10:58 |
tpb | Title: Commits · shenki/HDMI2USB · GitHub (at github.com) | 10:58 |
shenki | we should get someone else to take a look, and then we can merge it | 10:59 |
*** FeltonChris has quit IRC | 11:01 | |
*** FeltonChris has joined #timvideos | 11:04 | |
tija | shenki: the video is recorded using guvcviewer and hdmi2usb. Do you find the quality acceptable? | 11:14 |
*** rohitksingh has joined #timvideos | 11:14 | |
shenki | tija: yep, the quality is good | 11:20 |
*** FeltonChris has quit IRC | 12:06 | |
*** tija has quit IRC | 12:47 | |
aps-sids | mithro: Can you test dvswitch now? | 12:51 |
aps-sids | CarlFK: you up? | 13:17 |
CarlFK | just woke up.. | 13:17 |
aps-sids | CarlFK: cool, you can help with testing gst-dvswitch plugin? | 13:18 |
aps-sids | ported to 1.0 | 13:19 |
CarlFK | kinda - have you tested it? | 13:19 |
CarlFK | https://github.com/CarlFK/dvsmon/blob/master/Vagrantfile | 13:21 |
tpb | Title: dvsmon/Vagrantfile at master · CarlFK/dvsmon · GitHub (at github.com) | 13:21 |
CarlFK | I would start with that - I need to make coffee and feed the cat.. I'll be around | 13:21 |
aps-sids | CarlFK: 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 |
CarlFK | aps-sids: do you have vagrant installed? | 13:26 |
aps-sids | no | 13:26 |
aps-sids | I'm already running a VM in windows | 13:27 |
CarlFK | http://www.vagrantup.com/downloads.html | 13:29 |
tpb | Title: Download Vagrant - Vagrant (at www.vagrantup.com) | 13:29 |
CarlFK | run that in windows too | 13:30 |
CarlFK | you will probably switch from what ever you are currently doing to "already running a VM in windows" | 13:30 |
aps-sids | okay | 13:31 |
CarlFK | and also have something that will use https://github.com/CarlFK/dvsmon/blob/master/Vagrantfile | 13:31 |
tpb | Title: dvsmon/Vagrantfile at master · CarlFK/dvsmon · GitHub (at github.com) | 13:31 |
*** Niharika has joined #timvideos | 13:32 | |
CarlFK | aps-sids: what VM are you using ? | 13:39 |
aps-sids | CarlFK: VMware | 13:40 |
aps-sids | for ubuntu 12.04 | 13:40 |
aps-sids | ok vagrant installed, I need to restart | 13:40 |
aps-sids | Okay vagrant installed | 13:44 |
CarlFK | cd into https://github.com/CarlFK/dvsmon/blob/master/Vagrantfile and do "vagrant up" | 13:46 |
tpb | Title: dvsmon/Vagrantfile at master · CarlFK/dvsmon · GitHub (at github.com) | 13:46 |
CarlFK | Vagrantfile is all you need, so you can wget it or however you dl files in windows | 13:47 |
CarlFK | https://www.vagrantup.com/vmware | 13:47 |
tpb | Title: 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 virtualbox | 13:48 |
aps-sids | installing virtualbox now :| | 13:51 |
aps-sids | bringing box up | 13:57 |
CarlFK | back | 14:01 |
aps-sids | okay, I'm at precise login | 14:02 |
CarlFK | what did you do to get there ? | 14:04 |
aps-sids | vagrant up, it downloaded the box and installed it | 14:04 |
aps-sids | I'm really sorry, I need to leave right now. Just put in the steps, I'll do them later. | 14:05 |
CarlFK | hmm.. gui or text login? | 14:05 |
aps-sids | text login | 14:05 |
aps-sids | whats user and pass? | 14:05 |
CarlFK | vagrant up should have been the steps. it should have brought up a gui and logged you in... I'll run it here and verify | 14:06 |
aps-sids | its still downloading some files I guess | 14:06 |
aps-sids | the updates and all | 14:06 |
aps-sids | I need to leave now. Will do it later | 14:07 |
CarlFK | ah .then yeah, it should just work | 14:07 |
*** mparuszewski has joined #timvideos | 14:27 | |
*** rohitksingh has quit IRC | 14:50 | |
*** rohitksingh has joined #timvideos | 14:51 | |
*** Niharika has left #timvideos | 16:49 | |
*** slomo has quit IRC | 17:17 | |
*** Palash has joined #timvideos | 18:26 | |
*** slomo has joined #timvideos | 18:36 | |
*** slomo has joined #timvideos | 18:36 | |
*** Palash has quit IRC | 18:41 | |
*** mparuszewski has quit IRC | 20:22 | |
*** rohitksingh has quit IRC | 20:54 | |
*** rohitksingh1 has joined #timvideos | 20:54 | |
*** mparuszewski has joined #timvideos | 20:55 | |
*** slomo has quit IRC | 22:35 | |
*** FeltonChris has joined #timvideos | 22:53 | |
*** CarlFK has quit IRC | 22:58 | |
*** CarlFK has joined #timvideos | 23:41 | |
*** ChanServ sets mode: +v CarlFK | 23:41 | |
*** rohitksingh1 has quit IRC | 23:54 | |
*** FeltonChris has quit IRC | 23:59 |
Generated by irclog2html.py 2.12.1 by Marius Gedminas - find it at mg.pov.lt!