Tuesday, 2014-11-04

*** tpb has joined #timvideos00:00
*** hyades_ has joined #timvideos01:05
CarlFKmithro: me in TV shirt http://www.meetup.com/ChicagoPythonistas/photos/25211602/#42208317201:33
tpbTitle: Photos - Chicago Pythonistas (Chicago, IL) - Meetup (at www.meetup.com)01:33
CarlFKsome day I'll get one while I am doing video things01:34
shenkimithro: hey01:37
shenkimithro: where are the servers at?01:37
*** flavioribeiro has quit IRC01:45
mithroshenki: everything has been moved apart from the large backup partition01:52
mithroshenki: those 893 bad blocks have caused more damage then I would have thought01:57
shenkimithro: yeah? what damage?02:02
mithroshenki: I'll send you the fsck output02:03
mithrohyades: ping?02:32
hyades_mithro: pong02:33
mithrohyades_: were in the world are you? and what type of cost is flights to get to new zealand in Janurary?02:34
hyades_mithro: I'm in chennai India.Got no idea about the cost.02:36
mithrohyades_: could you do me up a quick estimate?02:36
hyades_mithro: probably this http://goo.gl/CA9KFx.02:48
tpbTitle: International Flights Air Tickets, Cheap International Air fares at MakeMyTrip (at goo.gl)02:48
*** tija_ has joined #timvideos05:01
*** rohitksingh has joined #timvideos06:41
mithroshenki: I'm just doing the real fsck on hopper's root disk. Will boot it up and see what the damage is shortly07:10
mithroshenki: I have a backup from hopper.root-backup-20140928 we could restore things from if needed - but that is over a month old07:12
shenkimithro: yeah. i guess we could diff the files between those two images07:13
shenkimithro: and where there are differences, decide if it's due to corruption or newer data07:14
mithroshenki: ns1.mithis.com is back07:14
mithroshenki: I'm not sure the best approach to do that?07:16
shenkimithro: to do what? the diff?07:34
mithroshenki: yeah07:34
mithroI mean I can put the old backup on a volume and them mount them side-by-side07:34
shenkimithro: mount them both ro in the host, and use diff -rq ?07:35
mithroshenki: I think that is going to give a lot of output07:35
shenkimithro: yeah. it's a starting point though07:36
mithroshenki: okay, I'll do that when the fsck finishs07:40
*** slomo has joined #timvideos08:06
*** flavioribeiro has joined #timvideos08:43
mithropuck: ping?08:47
*** tija_ has quit IRC09:51
*** flavioribeiro has quit IRC09:58
*** flavioribeiro has joined #timvideos10:18
*** rohitksingh has joined #timvideos14:11
*** rohitksingh1 has joined #timvideos14:16
*** rohitksingh has quit IRC14:16
CarlFKwhat ubuntu release should I use for gst-switch?14:25
*** rohitksingh1 has quit IRC14:29
*** rohitksingh has joined #timvideos14:29
hyades_CarlFK: right now I have only tested for 12.0414:36
hyades_build process fails in 14.0414:36
*** rohitksingh1 has joined #timvideos14:38
CarlFKI have a 14.10 I can test on, would that have any value?14:38
*** rohitksingh has quit IRC14:40
*** rohitksingh has joined #timvideos14:41
hyades_CarlFK:  am trying out on 14.04.14:41
hyades_CarlFK: also trying out with a latest gstreamer version14:41
CarlFKshould I be using wget https://raw.github.com/timvideos/gst-switch/master/scripts/install2.sh or yours?14:41
tpb<http://ln-s.net/-x:f> (at raw.github.com)14:42
*** rohitksingh1 has quit IRC14:42
hyades_CarlFK: the first file needs a small edit14:43
CarlFKis there any reason to use it?14:44
*** rohitksingh has quit IRC14:45
*** rohitksingh has joined #timvideos14:45
CarlFKhyades_: do we need to build all the gstreamer deps vs. using what is in the repos?14:49
*** rohitksingh1 has joined #timvideos14:49
*** rohitksingh has quit IRC14:49
hyades_CarlFK: can you just use that install2.sh as reference and run the commands?14:50
hyades_use /timvideos instead of /hyades14:50
CarlFKwhy not use yours?14:50
hyades_there is a pending pull request to timvideos/master14:52
tpbTitle: Updated Readme, fixes by hyades · Pull Request #26 · timvideos/gst-switch · GitHub (at github.com)14:52
hyades_I had opened it long back14:52
hyades_CarlFK: for now use https://raw.githubusercontent.com/hyades/gst-switch/master/scripts/install2.sh14:55
CarlFKwill do14:56
hyades_CarlFK: so you using 14.04 or 12.04?14:56
CarlFKbecause it is handy14:57
hyades_CarlFK: travis uses 12.04. gst-switch built fine on it.14:57
CarlFKE: Package 'ffmpeg' has no installation candidate14:59
CarlFKI have a feeling that isn't really needed, but pulls in some other package that is15:00
hyades_yea, it not really needed for gst-switch15:02
hyades_was used in some integration tests though15:03
CarlFKso I skipped all the gs building and did cd gst-switch; ./autogen.sh15:06
CarlFKconfigure.ac:29: error: required file './ltmain.sh' not found15:06
hyades_CarlFK: what about the rest of the gstreamer stack?15:07
CarlFKI was going to see if it worked with packaged versions15:08
hyades_some issues I had faced while trying on 14.0415:09
tpbTitle: gst-switch/issues.txt at buildfix · hyades/gst-switch · GitHub (at github.com)15:09
CarlFKmake[3]: Entering directory `/home/aahuja/build/gst-plugins-bad/gst/mpegtsdemux'15:11
CarlFKthats building gsteamer things, which I am hoping doesn't need to be done any more15:11
hyades_CarlFK:  the script builds all gstreamer components one by one, followed by gst-switch15:12
CarlFKif gst-switch is relying on some non-standard gstreamer stuff, gst-switch should be fixed so it doesn't15:12
hyades_CarlFK: surely.15:13
CarlFKif I understand history, gst-switch started before gstreamer1.0 was released and packaged15:13
hyades_CarlFK: notice the checkouts in the https://github.com/hyades/gst-switch/blob/master/.travis-setup.sh15:15
tpb<http://ln-s.net/-wGT> (at github.com)15:15
hyades_CarlFK: gst-switch wont build with latest gstreamer version as of now15:15
CarlFKthat's really bad15:15
CarlFKalso I don't think I am even getting to that problem, I think the gst-switch build scripts are broken15:16
hyades_broken while using latest gstreamer ?15:17
CarlFKit isn'15:17
CarlFKI don't think it is even trying to do anything with gstreamer yet15:18
hyades_CarlFK: brb in 10-15 mins, going home15:18
CarlFKjust a sec..15:18
CarlFKgstswitchptz.c:30:44: fatal error: gst/speakertrack/gstcamcontrol.h: No such file or directory15:36
mithroCarlFK: the build scripts *only* work on Ubuntu 12.04 - nobody has gotten an updated script for Ubuntu 14.04 yet - I believe hyades was working on that15:38
mithroCarlFK: using the build script on 14.04 is not really a useful exercise15:41
CarlFKi think the current script should be thrown out and work on getting ./autogen.sh; ./configure; make working15:41
CarlFKwhich may mean wrapping all the speakertrack code in ifdef so that .. um.. ./configure I think can skip it if the dependencies don't exist15:45
CarlFKor if that's a problem, get the dependencies packaged15:46
CarlFKbut first, breakfast \15:46
apsmithro: Why are you suddenly up for very late these days? Are you traveling in a different timezone?15:47
mithroCarlFK: see https://github.com/mithro/gst-switch/blob/master/scripts/install.sh15:48
tpbTitle: gst-switch/install.sh at master · mithro/gst-switch · GitHub (at github.com)15:48
mithroCarlFK: there are two steps which need work there15:48
mithroanyway I should be asleep like 3 hours ago as aps is pointing out15:48
mithrogot it be up in like 6 hours :/15:49
hyades_CarlFK: im back15:50
mithroCarlFK: the second fixme is a bit of an effort, but it's all git mundging and stuff15:50
CarlFKI think speakertrack/ptz is blocking progress and should just be dropped as any sort of requirement15:57
hyades_CarlFK: so we maintain two different version, with/without speakertrack ?16:01
CarlFKhyades_: no, we forget about speakertrack until gst-switch is stable, and then if someone wants to use speakertrack16:02
*** scrollback2 has quit IRC16:11
*** 21WAAFN5M has joined #timvideos16:13
CarlFKwoah... I think I did it.16:14
CarlFKdeleted:    tools/gstswitchptz.c16:14
CarlFKdeleted:    tools/gstswitchptz.cpp16:14
CarlFKdeleted:    tools/gstswitchptz.h16:14
CarlFKgit diff tools/Makefile.am16:15
CarlFK-bin_PROGRAMS = gst-switch-srv gst-switch-ui gst-switch-cap gst-switch-ptz16:15
CarlFK+bin_PROGRAMS = gst-switch-srv gst-switch-ui gst-switch-cap16:15
CarlFKand the 4 ptz things below starting with -gst_switch_ptz_SOURCES16:15
CarlFK./autogensh; make .. compiled everything, no errors16:16
*** slomo_ has joined #timvideos16:19
hyades_CarlFK: gst-switch used to work earlier too!16:20
CarlFKhow much do you know about automake ?16:22
*** slomo has quit IRC16:22
CarlFKlike can you A) detect if gstswitchptz is installed, if not B) skip building the stuff I deleted ?16:23
CarlFKbbl - need to dig out a laptop16:24
CarlFKpfft - git clone https://github.com/hyades/gst-switch.git; vim tools/Makefile.am ...16:37
CarlFK-bin_PROGRAMS = gst-switch-srv gst-switch-ui gst-switch-cap gst-switch-ptz16:38
CarlFK+bin_PROGRAMS = gst-switch-srv gst-switch-ui gst-switch-cap16:38
CarlFKnow it builds on 14.416:38
CarlFKusing gst libs from repo16:38
hyades_CarlFK: so we need to detect now16:40
CarlFKif you want.. personally I am ok with leaving that ignored16:41
CarlFKand really, I would prefer no time was spent on it till gst-switch is being used in production16:42
hyades_CarlFK: sounds fine.16:56
hyades_CarlFK: you are suing ubuntu repo gstreamer?17:04
CarlFKsudo apt-get install libgstreamer1.0-dev and libgstreamer-plugins-base1.0-dev17:05
CarlFKapt-cache policy and17:06
CarlFK  Installed: 1.2.2-4.117:06
CarlFKthe 14.4 test was on a headless box so I can't see what happens if I run the gui.  I am now installing 14.4 on a laptop17:31
*** slomo_ has quit IRC18:12
hyades_CarlFK: do you get warnings like these18:12
hyades_libEGL warning: DRI2: xcb_connect failed18:13
hyades_running gst-switch without speakertrack18:13
CarlFKthe last time I ran gst-switch was March.  installing 14.4 now so I can try again, it's about 80%18:14
CarlFKI didn't even try to run it on the headless box18:15
hyades_I ran it on a headless one, it ran all fine18:16
hyades_just checking some outputs18:16
CarlFKmeh, I'll need to see the GUI anyway, so may as well skip trying 1/2 of it and not know whats going on18:19
*** slomo has joined #timvideos18:21
hyades_CarlFK: anything which is broken?18:53
CarlFKjust getting to trying to build now18:54
hyades_probably you can try running cd python-api, make integration18:54
hyades_that will test server18:54
CarlFKconfigure: error: GDK X11 header (gdk/gdkx.h) is required18:55
CarlFKim trying to figure out what is really needed18:56
CarlFKlike not ffmpeg18:56
hyades_CarlFK: try this https://raw.githubusercontent.com/hyades/gst-switch/buildfix_without_speakertrack/.travis-setup.sh18:59
CarlFKgit clone http://git.chromium.org/webm/libvpx.git  bleck18:59
hyades_CarlFK: ffmpeg and python-scipy are packages which are only required for integration tests. Gst-switch has no dependency on them.19:02
CarlFKsudo apt-get install libgstreamer1.0-dev libgstreamer-plugins-base1.0-dev libgtk-3-dev19:03
CarlFKthat may be all that is needed19:03
CarlFKplus some of this: https://github.com/CarlFK/veyepar/blob/master/setup/nodes/pxe/shaz/var/www/d-i/oneiric/preseed_carl.cfg#L7719:05
tpbTitle: veyepar/preseed_carl.cfg at master · CarlFK/veyepar · GitHub (at github.com)19:05
hyades_i guess these things are on line 12 https://github.com/hyades/gst-switch/blob/buildfix_without_speakertrack/.travis-setup.sh19:07
tpbTitle: gst-switch/.travis-setup.sh at buildfix_without_speakertrack · hyades/gst-switch · GitHub (at github.com)19:07
hyades_CarlFK: will have to narrow down the list anyways if possible19:08
CarlFKhttp://paste.debian.net/plain/130296  that got installed as part of the os install19:08
hyades_ah fine19:09
CarlFKwhere are the docs that describe what to run?19:13
CarlFKpretty sure I have seen them.. just can't find them now19:14
hyades_CarlFK: you mean the gst-switch-srv parts?19:16
CarlFKi guess19:16
tpbTitle: gst-switch/README.md at buildfix_without_speakertrack · hyades/gst-switch · GitHub (at github.com)19:17
hyades_you will need feeding pipelines too19:17
CarlFKyeah, that.  saw the "Installing" and moved on19:17
CarlFKgst-switch-srv --video-input-port=3000 --audio-input-port=4000 --control-port=500019:18
CarlFKit doesn't have defaults?19:18
hyades_yup, its given in the readme19:20
CarlFKhmm, then I think it should say "Start gst-switch server as:  gst-switch-srv" and leave off all the ports settings19:22
CarlFKgst-switch-ui - window opens.. it's kinda funky looking.19:25
CarlFK"The gst-switch Capture  Implements speaker tracking"  how about just "use a cam" ?19:26
hyades_CarlFK: you setup this box locally?19:31
CarlFKwell, on a laptop sitting next to me19:33
hyades_kk, i was putting it on a remote vm19:35
hyades_so it runs fine?19:36
CarlFKall i see is the yucky looking gui19:36
hyades_did you get the warning libEGL warning: DRI2: xcb_connect failed19:36
CarlFKno idea how to attach a camera19:36
hyades_you put in feeds?19:36
hyades_gst-launch-1.0 videotestsrc ! \19:37
hyades_                video/x-raw, width=300, height=200 !\19:37
hyades_                gdppay !19:37
hyades_                tcpclientsink port={0}19:37
CarlFKwhere did you find that?19:37
hyades_this is a sample one19:37
CarlFKif I ask you what it is, will you tell me where you found it? ;)19:38
hyades_I had written it :)19:38
CarlFKadd it to the README or something19:38
CarlFKwell.. make sure it works first19:39
CarlFKgst-launch-1.0 videotestsrc ! video/x-raw, width=300, height=200 gdppay tcpclientsink port={0}19:39
CarlFKWARNING: erroneous pipeline: no element "video"19:39
hyades_port will be 300019:39
CarlFKi need to make lunch, ill be back in 10 min19:39
hyades_CarlFK: try gst-launch-1.0 videotestsrc ! video/x-raw, width=300, height=200 gdppay tcpclientsink port=300020:06
CarlFKgst-launch-1.0 videotestsrc ! video/x-raw, width=300, height=200 gdppay tcpclientsink port=300020:06
CarlFKWARNING: erroneous pipeline: no element "video"20:06
CarlFKI wonder if don't have the basic gstreamer stuff installed20:06
hyades_CarlFK: probably sudo apt-get -y install gstreamer1.0.* libgstreamer.*1.0.*20:11
CarlFK(02:14:48 PM) __tim: CarlFK, you need a ! before gdppay20:16
hyades_and also after it20:17
hyades_CarlFK: so now it works?20:21
CarlFKtrying upload a screen shot and rsync is bing dumb20:25
CarlFKthat's encouraging, but.. um...20:26
hyades_put in a couple of these inputs20:28
hyades_what apt-get install should I put in to install everything except  gstreamer1.0-plugins-bad ?20:30
hyades_install everything in gstreamer1.020:31
CarlFKsudo apt-get install libgstreamer1.0-dev libgstreamer-plugins-base1.0-dev20:32
CarlFKI also have gstreamer1.0-plugins-good gstreamer1.0-plugins-bad20:33
hyades_will this add good,base, ugly?20:33
CarlFKbut I don't know if either are needed.20:33
CarlFKI expect it needs -good, no idea about -bad20:33
hyades_videotestsrc lies in base20:34
*** flavioribeiro has quit IRC20:36
hyades_CarlFK: its my time to sleep too!20:36
CarlFKbefore ou go...20:36
CarlFK[ 6360.964040] Out of memory: Kill process 11004 (gst-launch-1.0) score 768 or sacrifice child20:36
CarlFK[ 6360.964045] Killed process 11004 (gst-launch-1.0) total-vm:3226420kB, anon-rss:1239156kB, file-rss:72kB20:36
hyades_do you have a .data file that got created?20:38
CarlFKany idea where it would be?20:39
CarlFKalso.. I started up 2 videotestsrc, it looked like this for over 30 seconds before the images showed up -20:41
hyades_I got no idea what you ran to free that memory20:41
hyades_yea, that happens, try opening the srv and ui at almost same time20:42
CarlFKoh my20:42
CarlFKat least the build process is not crazy20:42
hyades_let the speakertrack come in :)20:43
CarlFKopening the srv and ui .. I think there needs to be some delay?20:46
hyades_yea *almost* some delay20:46
hyades_2-3 secs is fine20:46
CarlFKcan you add a script so I don't have to fork and not have my patch accepted20:46
tpbTitle: Ubuntu Pastebin (at paste.ubuntu.com)20:49
CarlFKsleep 2 didn't seem to be enough.  5 is.  yuck20:49
hyades_okay. What was the memory problem though?20:50
CarlFKwell.. it isn't the 2/5 thing.  its that something bad happens if it is too much20:50
CarlFKI wonder if lots of delay between srv and ui caused the out of memory problem?20:51
CarlFKthe first time it may have been a few minutes20:51
hyades_never experienced any memory problems. But most probably the delay will be linked to your sleep interval20:53
CarlFKis it buffering the data during the delay, or discarding it?20:55
hyades_not sure20:56
hyades_probably feeding it another src will tell you20:58
CarlFKlets see if I can add the timeoverlay20:58
CarlFKwell. yes.  and added some more sleeps.. and boom21:01
CarlFK[ 8938.061202] gst-switch-srv[11629]: segfault at 10000 ip 00007f8c358eb297 sp 00007fffde87cc30 error 4 in libglib-2.0.so.0.4002.0[7f8c35887000+106000]21:01
hyades_some more sleeps?21:02
hyades_sudo apt-get -y install libglib2.0-dev gir1.2-glib-2.0 libgirepository1.0-dev libglib2.0-0 for doing a gdb21:05
CarlFKhttp://paste.ubuntu.com/8824826/  more sleeps21:12
tpbTitle: Ubuntu Pastebin (at paste.ubuntu.com)21:12
CarlFKbut isn't very reproducible. i don't know what's going on21:14
hyades_do you kill these later on?21:15
CarlFKhmm.. i guess the sources don't die when the server goes away.. so no21:17
hyades_they become defunc and close21:18
hyades_you kill server, that should be fine21:18
CarlFKah, I was wondering why I could only find the 2 current ones21:18
*** flavioribeiro has joined #timvideos21:18
hyades_mithro: just put up a vm. Put in ubuntu repos of gstreamer, except -bad (No checkouts or building from source). Output http://paste.ubuntu.com/8824898/21:23
tpbTitle: Ubuntu Pastebin (at paste.ubuntu.com)21:23
hyades_CarlFK: im sleeping now21:24
CarlFKsee ya21:24
*** CarlFK has left #timvideos21:26
mithrohyades: that VM build does both installing gst1.0 and build from source?21:38
*** CarlFK has joined #timvideos21:41
*** ChanServ sets mode: +v CarlFK21:41
*** flavioribeiro has quit IRC21:45
mithroCarlFK: if you can come up with a configure option which disables speaker track, I'll accept the patch22:04
CarlFKI have no interest in working on that now22:05
CarlFKI am having trouble seeing any of this working any time soon22:05
CarlFKthe only good thing I see is I can get from a blank laptop to something to see much faster22:06
mithrohyades_ / CarlFK: if you get it building on trusty, I'll get the CI working on tarvis22:06
mithroCarlFK: how much RAM does your laptop have?22:06
mithroCarlFK: gst-switch probably needs a minimum of ~4g22:07
mithroCarlFK: actually, figuring out the build process on trusty will probably mean gst-switch gets some love22:07
CarlFKlooks like 2 gig22:08
CarlFKyeah, so lets forget the speaker track thing till it gets enough love to be usable22:09
CarlFKcuz without it, it seems to be the typical: apt-get install some-dev; git clone; automake.sh (which I guess runs ./configure) mak22:10
CarlFKI am reinstalling trusty on the test laptop, I'll try to work out what the apt-get stuff is needed22:11
mithroCarlFK: oh, it's likely gst-switch-srv crashes if your missing the correct gstreamer plugins needed internally22:12
mithroCarlFK: if you get a reproducible crash, I can attach gdb and find out if that is the case22:13
*** slomo has quit IRC22:13
mithroCarlFK: gst-switch *should* only buffer a 2 frames internally. However, there are some queues which may buffer more frames which needs analysis22:13
mithrobe back in 2 hours22:17
CarlFKk - I should have a sane build process by then22:18
CarlFKand will work on repo the crash22:18
mithroCarlFK: the best way to get me to work on gst-switch is to send pull requests23:07
mithropuck: ping?23:11
mithropuck: I can't remeber where in NZ you are?23:11
mithropuck: aah logs say Wellington23:12
mithropuck: and do you work for Catalyst?23:13
puckmithro:  yes to all those questions23:14
CarlFKNo package 'gio-2.0' found - any idea what package provides that (or better yet, how do I find it myself)23:16
mithropuck: are you coming to Linux.conf.au? If not why not? :P23:18
mithropuck: did you also see the info about the TimVideos hackfest? It's going to be at your employer's offices in Auckland23:19
puckI'm organising the Debian minconf23:19
puckWhen is the hack fest? I'm running a mini-debconf the weekend before LCA23:19
mithropuck: it's the week before LCA23:20
puckWhat days?23:20
mithropuck: including that weekend23:20
puckI may or may not be able to come up - we'll be driving up with the family and hopefully doing a house swap with a colleague23:20
mithropuck: at the moment, I'm planning to start from 5th January23:21
*** flavioribeiro has joined #timvideos23:32
puckCool. I'll likely to be in town on the 8th.23:32
puckI'll be around for the week after LCA as well23:33
mithropuck: if there is any chance you can rock up earlier, we would probably have time get into a state where you are able to use your board for recording.23:33
puckI might be able to23:33
mithropuck: okay, that would be awesome23:37
mithroI also just contacted by some guys in Wellington asking about the stuff too23:38
puckIt'll depend on if I can do the house swap for earlier23:38
puck(I don't really want to make my wife have to drive up the country on her own with the kids!)23:38
puckOh, who's that?23:38
mithropuck: yeah, understandable23:38
mithroDanny Adair and Marek Kuziel23:39
puckCool. Danny is actually based further north than Auckland23:39
mithroaps / hyades_: are you guys still students?23:45

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