*** tpb has joined #timvideos | 00:00 | |
*** tija has joined #timvideos | 00:04 | |
*** tija has quit IRC | 00:29 | |
shenki | aps-sids: i didn't get the system installed before going to bed | 00:47 |
---|---|---|
shenki | err | 00:47 |
shenki | that was to ayush5304, who is offline | 00:47 |
aps-sids | I wonder why don't other students use IRCcloud/bouncers :) | 00:48 |
shenki | aps-sids: you should educate them :) | 01:11 |
CarlFK | aps-sids: what bouncer do you use? | 01:29 |
aps-sids | CarlFK: I use IRCCloud over a free bouncer from bnc.im | 01:29 |
mithro | shenki: We should just make a AMI which includes the Xilinx tools | 01:30 |
CarlFK | aps-sids: thanks | 01:32 |
aps-sids | mithro: morning. You can talk about the error I mentioned yesterday? | 01:37 |
aps-sids | "GError: could not link identity to feeder:default-pay" | 01:37 |
mithro | aps-sids: yeah, sorry I didn't get back to it last night | 01:37 |
aps-sids | No issues, this is the pipeline code is creating and using, | 01:38 |
aps-sids | "videotestsrc is-live=true name=source ! identity name=identity silent=TRUE ! video/x-raw, format=(string)I420, width=(int)320, height=(int)240, framerate=(int)5, pixel-aspect-ratio=(int)1 ! gdppay name=feeder:default-pay ! multifdsink sync=false name=feeder:default buffers-max=500 buffers-soft-max=450 recover-policy=1" | 01:38 |
mithro | aps-sids: you want to look at the gstreamer pipeline the component is generating | 01:38 |
CarlFK | Is this the test stream? | 01:39 |
mithro | you can emulate that in gst-inspect | 01:39 |
aps-sids | CarlFK: yes mithro: let me try that | 01:39 |
mithro | aps-sids: make sure you are using gst-inspect-1.0 | 01:39 |
mithro | oh I mean gst-launch | 01:40 |
shenki | mithro: if you create an ami, does amazon host it for you? | 01:40 |
mithro | add -v to get a heap more information | 01:40 |
shenki | mithro: (for free) | 01:40 |
mithro | shenki: not sure | 01:40 |
shenki | if yes, then that is a great hack | 01:40 |
shenki | mithro: have you got your new server built? | 01:46 |
mithro | not yet | 01:46 |
mithro | aps-sids: that error means videotestsrc and identity were not able to negotiate common caps | 01:49 |
mithro | actually I mean identity and gdppay | 01:51 |
CarlFK | http://gstreamer.freedesktop.org/data/doc/gstreamer/head/gstreamer-plugins/html/gstreamer-plugins-identity.html identity — Pass data without modification | 01:51 |
tpb | Title: GStreamer Core Plugins 1.0 Plugins Reference Manual: identity (at gstreamer.freedesktop.org) | 01:51 |
CarlFK | what's the point? | 01:51 |
aps-sids | this is the output from gst-launch-1.0 http://paste.ubuntu.com/7584261/ | 01:51 |
tpb | Title: Ubuntu Pastebin (at paste.ubuntu.com) | 01:51 |
mithro | aps-sids: cut the last couple of things off the pipeline and add a fakesink and see if that works | 01:53 |
mithro | shenki: http://stackoverflow.com/questions/18650697/cost-of-storing-ami | 01:56 |
tpb | Title: amazon web services - Cost of storing AMI - Stack Overflow (at stackoverflow.com) | 01:56 |
shenki | mithro: right. so $1.44 per month to store a Xilinx install HDD in the cloud | 01:59 |
shenki | ($0.08 * 18GB) | 01:59 |
mithro | For S3, $0.0300 per GB ? | 02:01 |
Joelw | It'd probably be fine to use an S3-backed instance for a build server, since you don't really care about persistence | 02:02 |
Joelw | Just build the thing and shut the machine down straight away! :) | 02:02 |
shenki | it's not S3, it's the EBI | 02:02 |
shenki | Joelw: so you can have a hdd image in S3, mount it, and off you go? | 02:02 |
mithro | shenki: you can create S3 or EBI AMI images | 02:02 |
shenki | i don't get what you mean when you say "don't care about persistence" | 02:03 |
mithro | http://docs.aws.amazon.com/AWSEC2/latest/UserGuide/creating-an-ami-ebs.html | 02:03 |
tpb | Title: Creating an Amazon EBS-Backed Linux AMI - Amazon Elastic Compute Cloud (at docs.aws.amazon.com) | 02:03 |
Joelw | shenki: That's right! You create an EC2 instance, it copies over the S3 image, boots and mounts it. | 02:03 |
shenki | once it's installed, yeah, we don't care about any future writes to the install dir | 02:03 |
mithro | http://docs.aws.amazon.com/AWSEC2/latest/UserGuide/creating-an-ami-ebs.html | 02:03 |
shenki | cool | 02:03 |
tpb | Title: Creating an Amazon EBS-Backed Linux AMI - Amazon Elastic Compute Cloud (at docs.aws.amazon.com) | 02:03 |
Joelw | When you shut it down, any changes you made on the drive are thrown away. | 02:03 |
shenki | mithro: yeah, ive read those | 02:03 |
* shenki blocks tpb. too spammy | 02:03 | |
shenki | Joelw: ok | 02:04 |
mithro | Joelw: do you know what transfer costs you pay with launching an instance from S3? | 02:04 |
Joelw | mithro: I think that's free since it'll be within the AWS network and same region. | 02:04 |
mithro | Joelw: but that means your AMI has to be in S3 in the same region as you are launching right? | 02:05 |
Joelw | I *think* you have to copy the AMI to every region where you want to use it with EC2 | 02:06 |
shenki | mithro: i think we run the build system from the cheapest region | 02:06 |
shenki | mithro: once it's installed, interaction is minimal | 02:06 |
shenki | so the latency once hurt | 02:06 |
shenki | especially if i set up the scripting system i'm thinking of, where you run the build process with a post-commit hook | 02:07 |
mithro | shenki: but booting a machine, doing a build then shutting down the machine is pretty sucky for developement iteration (it's okay for buildbot type stuff) | 02:07 |
shenki | git push builder | 02:07 |
shenki | ta-da | 02:07 |
Joelw | Yeah, it's probably not ideal for people to be SSHing in and editing their code on the EC2 instance | 02:07 |
shenki | mithro: well, i suggest we set up a buildbot style system where people can do their development | 02:08 |
shenki | a run of ise takes a few minutes at best, so having to commit + push isn't a huge amount of overhead | 02:08 |
mithro | shenki: yes, I think we should have buildbot style stuff is good, but I think we want better for doing interactive developement? | 02:09 |
mithro | shenki: starting up an EC2 instance takes roughly 2-5 minutes IIRC | 02:09 |
shenki | mithro: if someone is doing development, then yeah, they can leave an instance running | 02:09 |
aps-sids | mithro: changing to fakesink only doesn't help. Removing many elements does.. I think I need to read the pipeline documentation again. | 02:09 |
mithro | from the error, the issue is between the identity and gdppay objects | 02:10 |
shenki | im not sure how 'interactive' vhdl development can be. you've been spoilt by your javascript coding environments mithro :) | 02:11 |
Joelw | :) | 02:11 |
mithro | shenki: if it takes 2 minutes to compile and run tests then another 2 minutes to start the machine just doubled the time it takes | 02:11 |
Joelw | I do 99% of my work in the simulator - it's only when I'm pretty sure it's all going to work that I'll bother trying it on hardware. | 02:12 |
shenki | mithro: yeah | 02:12 |
Joelw | Otherwise it's an hour of twiddling your thumbs, only to find that nothing happens. | 02:12 |
shenki | i think if you're doing run jobs that only take two minutes, then it would be fine doing them on your dev laptop | 02:13 |
shenki | it's where you're doing a high effort par job that takes an hour to complete that you'd use the cloud solution | 02:13 |
mithro | The EC2 instance should be 5-10 times faster then your laptop right? | 02:13 |
shenki | not sure. have to test it | 02:13 |
Joelw | Probably worth benchmarking that - it'd be a lot of effort if it was no faster than the average laptop! | 02:14 |
shenki | they're running on beefy server-class processors, shitloads of cache | 02:14 |
* shenki will try it with my 200MB ISE install after lunch | 02:14 | |
Joelw | Which instance type were you thinking of using? The cheap ones are pretty slow. | 02:15 |
shenki | Joelw: i was trying to work it out last night. we don't need more than a pair of CPUs, but we do want beefy CPUs | 02:16 |
shenki | I guess the advantage in buying a bigger one, but not using the CPUs, is you have a better chance of monopolising the sever | 02:17 |
aps-sids | mithro: removing identity and gdppay also causes error. This is running >> "videotestsrc ! identity ! gdppay ! multifdsink sync=false name=feeder:default buffers-max=500 buffers-soft-max=450 recover-policy=1" | 02:17 |
mithro | aps-sids: so keep adding back in things until it stops working? | 02:18 |
aps-sids | did that, adding anything to this errors | 02:18 |
Joelw | Probably C3.large or C3.xlarge? It's worth looking at the reserved instance pricing if you want to get a better machine and leave it on all the time. | 02:18 |
mithro | c3.large or c3.xlarge seems right | 02:20 |
mithro | c3.8xlarge if more processors helps | 02:21 |
aps-sids | I'll read some documentation and be back after breakfast | 02:21 |
mithro | http://www.adafruit.com/blog/2014/06/03/new-product-universal-qi-wireless-receiver-module/ | 02:22 |
mithro | aps-sids: what pipeline have you tried? | 02:22 |
aps-sids | This works, adding anything to this errors "videotestsrc ! identity ! gdppay ! multifdsink sync=false name=feeder:default buffers-max=500 buffers-soft-max=450 recover-policy=1" | 02:23 |
aps-sids | mithro: adding is-live=true and even is-live=false errors , false is the default value of is-live. weird. | 02:27 |
aps-sids | CarlFK: just a sec | 02:27 |
mithro | aps-sids: can you paste the complete pipelines? | 02:27 |
CarlFK | mithro: /j #gstreamer | 02:28 |
CarlFK | oh wait, you are there... | 02:28 |
aps-sids | mithro: see for example, this works >> "videotestsrc ! identity ! ximagesink" but this doesn't >> "videotestsrc is-live=false ! identity ! ximagesink" | 02:29 |
CarlFK | aps-sids: #gstreamer <-- | 02:29 |
*** tija has joined #timvideos | 02:32 | |
aps-sids | mithro: should I compile new gstreamer myself? this version thing is causing many problems. i have to write many library functions myself (as I mentioned in my latest and last blog post) | 02:35 |
aps-sids | gst-inspect-1.0 videotestsrc tells me is-live is a property | 02:37 |
mithro | aps-sids: your stuck on 12.04 until you can get flumotion ported | 02:37 |
mithro | aps-sids: being able to compile gstreamer yourself is probably a good thing to know how to do, but I'm unsure on how to get flumotion to use it | 02:37 |
mithro | http://cgit.freedesktop.org/gstreamer/gst-plugins-base/log/gst/videotestsrc | 02:38 |
mithro | CarlFK: why do you always say test with vagrant? it doesn't make any sense? | 02:40 |
CarlFK | it is easy | 02:40 |
CarlFK | vagrant up.. wait a min, vagrant ssh, try the command | 02:41 |
CarlFK | and for things with a Vagrantfile, it grabs the base image so that we are all using the same base image and don't have to reconcile differences | 02:43 |
aps-sids | CarlFK: can you please tell me output of this command on Ubuntu 14.04? | 03:19 |
aps-sids | gst-launch-1.0 -v videotestsrc is-live=true name=source ! identity name=identity silent=TRUE ! video/x-raw, format=(string)I420, width=(int)320, height=(int)240, framerate=(int)5, pixel-aspect-ratio=(int)1 ! gdppay name=feeder:default-pay ! multifdsink sync=false name=feeder:default buffers-max=500 buffers-soft-max=450 recover-policy=1 | 03:19 |
CarlFK | mithro: ^^^ there's another reason ;) | 03:20 |
CarlFK | bash: syntax error near unexpected token `(' | 03:20 |
CarlFK | hmm | 03:20 |
aps-sids | oops, it should be in quotes | 03:21 |
aps-sids | gst-launch-1.0 -v "videotestsrc is-live=true name=source ! identity name=identity silent=TRUE ! video/x-raw, format=(string)I420, width=(int)320, height=(int)240, framerate=(int)5, pixel-aspect-ratio=(int)1 ! gdppay name=feeder:default-pay ! multifdsink sync=false name=feeder:default buffers-max=500 buffers-soft-max=450 recover-policy=1" | 03:22 |
aps-sids | Ah, I found the error | 03:26 |
aps-sids | mithro: CarlFK: pipeline is wrong, Reason: Gst.Fraction is not implemented in Gstreamer 1.2.1, As mentioned in my latest blog post, I'm manually adding it. | 03:28 |
mithro | aps-sids: ? | 03:28 |
aps-sids | mithro: for some reason, overrides in this file are not available in my environment http://cgit.freedesktop.org/gstreamer/gst-python/tree/gi/overrides/Gst.py?h=1.2 | 03:29 |
tpb | Title: gstreamer/gst-python - Python bindings for GStreamer (at cgit.freedesktop.org) | 03:29 |
aps-sids | I'm guessing that's due to old gstreamer version | 03:29 |
mithro | aps-sids: do you have that file? | 03:29 |
aps-sids | its not there | 03:29 |
mithro | aps-sids: what was the error above? | 03:29 |
aps-sids | framerate=(int)5, pixel-aspect-ratio=(int)1 these should be (fraction) | 03:30 |
mithro | aps-sids: you can look at the history of Gst.py file | 03:33 |
mithro | http://cgit.freedesktop.org/gstreamer/gst-python/log/gi/overrides/Gst.py?h=1.2 | 03:33 |
tpb | Title: gstreamer/gst-python - Python bindings for GStreamer (at cgit.freedesktop.org) | 03:33 |
aps-sids | CarlFK: please do, ls /usr/lib/python2.7/dist-packages/gi/overrides/ | 03:47 |
CarlFK | theres a bunch of studd | 03:48 |
CarlFK | stuff | 03:49 |
CarlFK | sudo apt-get install vagrant | 03:50 |
CarlFK | http://paste.ubuntu.com/7584768/ | 03:50 |
tpb | Title: Ubuntu Pastebin (at paste.ubuntu.com) | 03:50 |
aps-sids | thanks | 03:50 |
CarlFK | I am going to sleep soon | 03:51 |
CarlFK | vagrant init trusty http://opscode-vm-bento.s3.amazonaws.com/vagrant/virtualbox/opscode_ubuntu-14.04_chef-provisionerless.box | 04:18 |
CarlFK | vagrant up; vagrant ssh | 04:18 |
CarlFK | Welcome to Ubuntu 14.04 LTS (GNU/Linux 3.13.0-24-generic x86_64) | 04:18 |
CarlFK | and I am out - see ya | 04:29 |
*** CarlFK has quit IRC | 04:29 | |
*** lukejohn has joined #timvideos | 04:57 | |
*** lukejohn has left #timvideos | 04:57 | |
aps-sids | mithro: around? | 06:14 |
mithro | aps-sids: kind of | 06:14 |
aps-sids | mithro: I'm stuck here. I'm not sure about how to implement this override myself. Tried but got some errors. I'm talking about this > http://cgit.freedesktop.org/gstreamer/gst-python/tree/gi/overrides/Gst.py#n193 Can you please suggest how to do it? | 06:16 |
tpb | Title: gstreamer/gst-python - Python bindings for GStreamer (at cgit.freedesktop.org) | 06:16 |
mithro | what errors are you getting? and what is your code? | 06:17 |
aps-sids | just a sec | 06:18 |
aps-sids | mithro: code --> https://github.com/aps-sids/flumotion-orig/commit/ce1d9b3de4881fe74cd55b22ca9c4a8273e4a22a | 06:21 |
aps-sids | error -- > http://pastebin.com/mcZATBYf | 06:21 |
tpb | Title: Implemented Gst.Fraction override · ce1d9b3 · aps-sids/flumotion-orig · GitHub (at github.com) | 06:21 |
tpb | Title: [Python] Traceback (most recent call last): File "/home/aps/workspace/gsoc/flumotion-o - Pastebin.com (at pastebin.com) | 06:21 |
mithro | Your missing the most important line in your code | 06:22 |
mithro | Fraction = override(Fraction) | 06:22 |
mithro | http://cgit.freedesktop.org/gstreamer/gst-python/tree/gi/overrides/Gst.py#n269 | 06:22 |
tpb | Title: gstreamer/gst-python - Python bindings for GStreamer (at cgit.freedesktop.org) | 06:22 |
aps-sids | I thought so, added "from gi.overrides import override" and "Fraction = override(Fraction)" still same error | 06:23 |
aps-sids | mithro: what I understand from error is that, in "class Fraction(Gst.Fraction):" Gst.Fraction must be a GObject subclass | 06:25 |
mithro | aps-sids: my current guess is you haven't gotten the override line correct | 06:25 |
mithro | aps-sids: you are correct | 06:25 |
aps-sids | I'll ammend the commit | 06:26 |
mithro | You want to print out what Gst.Fraction is too | 06:26 |
aps-sids | In [78]: Gst.Fraction() | 06:28 |
aps-sids | Out[78]: <gi.repository.Gst.Fraction at 0x1f03a50> | 06:28 |
aps-sids | new commit --> https://github.com/aps-sids/flumotion-orig/commit/da4e2cb84f4b883158c4fb17c5b31eecc2b745a6 | 06:28 |
tpb | Title: Implemented Gst.Fraction override · da4e2cb · aps-sids/flumotion-orig · GitHub (at github.com) | 06:28 |
mithro | is it a subclass of GObject? | 06:29 |
aps-sids | I don't think so | 06:30 |
mithro | aps-sids: well check, look at the object's parents | 06:31 |
aps-sids | In [91]: Gst.Fraction.__class__ | 06:31 |
aps-sids | Out[91]: gi.types.GObjectMeta | 06:31 |
mithro | This is before you try and modify it right? | 06:32 |
mithro | I think you need to do the following | 06:33 |
mithro | from ..importer import modules | 06:33 |
mithro | Gst = modules['Gst']._introspection_module | 06:33 |
mithro | then do your stuff | 06:33 |
mithro | then import gst | 06:34 |
aps-sids | I had tried this as well, got "Gst = modules['Gst']._introspection_module ,, KeyError: 'Gst' " | 06:35 |
aps-sids | mithro: In [91]: Gst.Fraction.__class__ Out[91]: gi.types.GObjectMeta .. this is after I committed these changes | 06:36 |
mithro | aps-sids: you did this *before* ever importing Gst? | 06:36 |
aps-sids | yes | 06:36 |
aps-sids | this key is there in ipython | 06:37 |
aps-sids | i mean i can see it there | 06:37 |
mithro | aps-sids: do you have an older version of that Gst.py file? | 06:37 |
aps-sids | I can't even locate this file | 06:38 |
aps-sids | https://www.irccloud.com/pastebin/Dh90Oxn6 | 06:39 |
tpb | Title: Pastebin: Dh90Oxn6 | IRCCloud (at www.irccloud.com) | 06:39 |
shenki | woah, the tubes are far less clogged today | 06:45 |
shenki | the xilinx installer is downloading at about 10MB/s; an order of magnitude faster than last night | 06:45 |
mithro | aps-sids: what if you put the one from head in that directory? | 06:47 |
aps-sids | mithro: that works | 06:58 |
aps-sids | mithro: should I continue like this? Replication of results by other users would require them to add this file manually. And I'm not sure if this file is there in newer Gstreamer versions. | 07:03 |
mithro | aps-sids: so you just need to figure out a way to make it work when its not in that directory | 07:03 |
*** slomo has joined #timvideos | 07:32 | |
*** slomo has joined #timvideos | 07:32 | |
*** sarwarc has joined #timvideos | 08:12 | |
*** slomo has quit IRC | 08:48 | |
*** slomo has joined #timvideos | 08:49 | |
*** rohitksingh has joined #timvideos | 08:54 | |
*** tija has joined #timvideos | 09:27 | |
tija | shenki: Did your changed UART driver work? | 09:42 |
shenki | tija: no, i haven't looked at it yet | 09:55 |
shenki | ive been playing with amazon ec2 | 09:55 |
tija | shenki: it did not work for me that's why I am asking | 09:55 |
shenki | tija: yeah, it hangs the kernel | 09:55 |
shenki | tija: the kernel prints a error about something not being initalised, but it is being initialised | 09:56 |
shenki | so more digging required | 09:56 |
tija | shenki: I wrote a mail to exar about driver update. Let's hope they come up with a new one soon. | 09:58 |
shenki | tija: good idea | 09:58 |
shenki | tija: did you tell them off for violating the copyright of the cdc-usb driver? | 09:58 |
shenki | they copied the source of the in-kernel driver and renamed most of it | 09:58 |
tija | shenki: no I did not want to be rude :D | 10:00 |
shenki | :) | 10:00 |
shenki | I'm joking :) | 10:00 |
tija | :D | 10:01 |
*** rohitksingh1 has joined #timvideos | 10:04 | |
*** rohitksingh has quit IRC | 10:05 | |
*** mparuszewski has quit IRC | 10:11 | |
*** tija has quit IRC | 10:34 | |
aps-sids | mithro: I've posted about Gst.Fraction thing on my blog. Please see if you can suggest some ideas - http://aps-sids.github.io/porting-flumotion/2014/06/04/problems-with-gst-fraction/ | 11:18 |
tpb | Title: Problems with Gst.Fraction | GSoC '14 Progress Blog (at aps-sids.github.io) | 11:18 |
*** tija has joined #timvideos | 11:22 | |
shenki | I got ISE installed on a ec2 instance | 12:45 |
shenki | tried to do a build on a free tier machine | 12:45 |
shenki | it's been pegged at 100% CPU for a few hours now; won't complete the ssh handshake | 12:46 |
*** tija has quit IRC | 13:12 | |
*** Niharika has joined #timvideos | 13:42 | |
*** sarwarc has quit IRC | 13:49 | |
*** CarlFK has joined #timvideos | 13:54 | |
*** ChanServ sets mode: +v CarlFK | 13:54 | |
*** rohitksingh has joined #timvideos | 14:39 | |
*** rohitksingh1 has quit IRC | 14:41 | |
*** sarwarc has joined #timvideos | 15:42 | |
slomo | aps-sids: just update your gst-python to 1.2.1 | 15:47 |
slomo | aps-sids: http://pastebin.com/sS69RmJa | 15:48 |
tpb | Title: >>> from gi.repository import Gst >>> Gst.Fraction (at pastebin.com) | 15:48 |
slomo | aps-sids: actually this was even in gst-python 1.2.0 already | 15:49 |
slomo | aps-sids: http://cgit.freedesktop.org/gstreamer/gst-python/tree/gi/overrides/Gst.py#n193 here's the magic code for that | 15:51 |
tpb | Title: gstreamer/gst-python - Python bindings for GStreamer (at cgit.freedesktop.org) | 15:51 |
*** slomo has quit IRC | 16:04 | |
*** ayush3504 has joined #timvideos | 16:15 | |
*** mparuszewski has joined #timvideos | 16:23 | |
*** slomo has joined #timvideos | 16:24 | |
*** slomo has joined #timvideos | 16:24 | |
*** sarwarc has quit IRC | 16:50 | |
*** Niharika has left #timvideos | 16:50 | |
*** sarwarc has joined #timvideos | 17:07 | |
*** slomo has quit IRC | 17:46 | |
*** sarwarc has quit IRC | 18:22 | |
*** sarwarc has joined #timvideos | 18:32 | |
*** sarwarc has joined #timvideos | 18:32 | |
*** sarwarc has quit IRC | 18:41 | |
*** sarwarc has joined #timvideos | 18:41 | |
*** slomo has joined #timvideos | 18:42 | |
*** slomo has joined #timvideos | 18:42 | |
*** ayush3504 has quit IRC | 18:55 | |
*** ayush3504 has joined #timvideos | 18:56 | |
*** sarwarc has quit IRC | 19:43 | |
*** rohitksingh1 has joined #timvideos | 20:39 | |
*** rohitksingh has quit IRC | 20:40 | |
*** rohitksingh1 is now known as rohitksingh | 20:46 | |
*** slomo has quit IRC | 20:58 | |
*** CarlFK has quit IRC | 23:26 | |
mithro | CARAM_: your blog no longer seems to support comments? | 23:42 |
*** rohitksingh has quit IRC | 23:49 |
Generated by irclog2html.py 2.12.1 by Marius Gedminas - find it at mg.pov.lt!