*** tpb has joined #timvideos | 00:00 | |
*** iiie has quit IRC | 00:52 | |
mithro | hey CarlFK | 01:50 |
---|---|---|
*** iiie has joined #timvideos | 01:52 | |
CarlFK | mithro: pong | 01:55 |
mithro | hey iiie, you about? | 01:55 |
mithro | so what is the deal with this streaming? | 01:55 |
mithro | IE do you need me to explain anything further? | 01:55 |
iiie | Hey! | 01:55 |
iiie | There was a setting about the max stream connections, do I need to change anything for a higher max, or is it higher by default now? | 01:56 |
mithro | it should be 1000 by default now | 01:56 |
iiie | Awesome! | 01:56 |
mithro | you can check the configuration | 01:56 |
iiie | Will do, is it the general config, or something else for flumotion? | 01:57 |
mithro | flumotion-config/pusher I think | 01:57 |
iiie | great | 01:58 |
mithro | ~seen bananadine | 02:06 |
tpb | mithro: bananadine was last seen in #timvideos 2 days, 11 hours, 9 minutes, and 39 seconds ago: <bananadine> hey mithro, you around here? | 02:06 |
CarlFK | mithro: you around for a few hours? | 02:17 |
mithro | yes | 02:17 |
CarlFK | I want to make a sandwich, then try to hook my collecer box to dvsiwtch and ec2 | 02:17 |
CarlFK | bb in 10ish | 02:17 |
mithro | 10ish minutes or at what ever 10pm is your time? | 02:17 |
iiie | 21:18 carl's time right now, my guess is ~ 40 minutes | 02:19 |
mithro | fair enough | 02:20 |
CarlFK | 40? | 02:29 |
CarlFK | heh - both about the same | 02:29 |
mithro | wb | 02:30 |
CarlFK | ok, I have dvswitch running and the collector box.. um.. it is on. | 04:02 |
mithro | CarlFK, so what is the configuration on the collector box? | 04:03 |
CarlFK | installed ubuntu and ran streaming-system/tools/setup/runall.sh | 04:04 |
mithro | CarlFK, okay you need a configuration file | 04:04 |
CarlFK | $ touch config.ini | 04:06 |
CarlFK | done :) | 04:06 |
mithro | no | 04:06 |
mithro | you need a flumotion configuration file | 04:06 |
mithro | which tells flumotion how to collect the data and where to send it | 04:07 |
CarlFK | is there a sample, or one left over from pycon? | 04:07 |
mithro | templates can be found in | 04:07 |
mithro | https://github.com/timvideos/streaming-system/tree/master/tools/flumotion-config/pusher | 04:07 |
tpb | <http://ln-s.net/-7P$> (at github.com) | 04:07 |
mithro | Specifically | 04:07 |
mithro | https://github.com/timvideos/streaming-system/blob/master/tools/flumotion-config/pusher/collector.xml <-- for the collector.xml | 04:07 |
tpb | <http://ln-s.net/-7P+> (at github.com) | 04:08 |
mithro | with just an individual machine you can fill it out manually | 04:08 |
mithro | but if you have like 5 streams, then use the pusher to actually generate the configuration automatically from the config.json values | 04:08 |
mithro | make sense? | 04:10 |
CarlFK | yes, but not really sure what to do. | 04:11 |
CarlFK | I am editing collector.xml | 04:11 |
mithro | Flumotion has two configuration files | 04:12 |
CarlFK | <property name="uri">dvswitch://%(flumotion-mixer)s:2000</property> | 04:12 |
mithro | /usr/local/etc/flumotion/managers/default/planet.xml | 04:12 |
mithro | and | 04:12 |
mithro | /usr/local/etc/flumotion/workers/default.xml | 04:12 |
mithro | the file you are currently editing is the "planet.xml" one | 04:12 |
mithro | so once you have it right you need to put it at that location on the collector | 04:13 |
CarlFK | does pushconfig.py take command line params and fill in the %(foo)s tokens? | 04:16 |
mithro | no | 04:16 |
mithro | it reads from your config.json and fills in the %(foo)s tokens | 04:16 |
mithro | then calls scp to copy them to the machines | 04:16 |
mithro | CarlFK, making any progress | 04:30 |
mithro | ? | 04:30 |
CarlFK | mithro: what reads config.json ? | 04:36 |
CarlFK | config.py | 04:36 |
CarlFK | 47: public_config = myloc+'/config.json' | 04:36 |
mithro | yes config.py | 04:38 |
mithro | it merges both config.json and config.private.json | 04:38 |
CarlFK | cp streaming-system/tools/flumotion-config/pusher/collector.xml /usr/local/etc/flumotion/managers/default/planet.xml | 04:45 |
CarlFK | right? | 04:45 |
mithro | yes | 04:45 |
mithro | you'll also need to update the worker configuration if you changed the username/password | 04:47 |
mithro | CarlFK, any luck? | 04:55 |
mithro | you need to restart flumotion after the configuration changes | 04:55 |
CarlFK | http://piratepad.net/C28HTTdqSt | 04:58 |
tpb | Title: PiratePad: C28HTTdqSt (at piratepad.net) | 04:58 |
CarlFK | flumotion-mixer is the only one I can figure out | 04:58 |
mithro | flumotion-user/password is just a username and password needed to secure the encoder/collector | 04:59 |
mithro | flumotion-encoder is the IP address of the ec2 encoding machine | 05:00 |
mithro | flumotion-password-crypt is the password run through the crypt command | 05:00 |
mithro | anything I missed? | 05:00 |
CarlFK | what uses the user/pw? | 05:05 |
mithro | flumotion | 05:05 |
CarlFK | does something else need to know that user/pw? | 05:06 |
mithro | yes the register and watchdog commands both use that password | 05:09 |
CarlFK | sudo apt-get install apache2-utils - need that somewhere | 05:11 |
CarlFK | do I want htpasswd -d Force CRYPT encryption of the password. ? | 05:14 |
mithro | CarlFK, the pusher would normally generate that for you if you where not doing it by hand | 05:14 |
*** mithro- has joined #timvideos | 05:30 | |
*** yocto has joined #timvideos | 05:31 | |
mithro | hello yocto | 05:31 |
yocto | hello | 05:33 |
mithro | do you have any questions? | 05:38 |
mithro | CarlFK, any luck? | 05:39 |
CarlFK | mithro whats the ip/url of my ec2 machine ?:) | 05:41 |
mithro | you'd have to check it changes everytime the machine restarts | 05:42 |
CarlFK | oh boy... | 05:42 |
mithro | I probably turned them off to save you money | 05:43 |
mithro | so they are likely not running | 05:43 |
yocto | mithro, give me more opinion about my proposal? | 05:46 |
mithro | yocto, couple of things | 05:59 |
mithro | your timeline needs more work | 05:59 |
mithro | This means you should be saying "I will show that XYZ", where XYZ is something you can specifically demonstrate to your mentor and not something like "everything works". | 05:59 |
yocto | list them all. | 05:59 |
yocto | I modified my timeline, I will improve it. | 06:01 |
yocto | others? | 06:01 |
mithro | Can you provide some example API | 06:02 |
mithro | This API would be useful for doing testing of the gst-switch server | 06:02 |
mithro | can you explain how it might be used | 06:02 |
yocto | example API? just interface, not include internal implement? | 06:03 |
mithro | yes | 06:04 |
yocto | OK. I see. If there is no accident, I will add it before tomorrow night. | 06:08 |
yocto | more? | 06:08 |
mithro | that is probably enough for now | 06:08 |
yocto | add example API to where? proposal? | 06:09 |
mithro | yes | 06:09 |
yocto | OK, Thanks. | 06:10 |
yocto | Bye. | 06:10 |
CarlFK | mithro: I am in my ec2 console... i see lots of instances from pycon - only www is running | 06:32 |
mithro | yeah, I think I shut the remaining down so they didn't cost you money | 06:32 |
CarlFK | guessing I want to turn on logs, www, preview, and a room, like mission ? | 06:33 |
mithro | you don't need logs or preview right away | 06:34 |
mithro | but if you want the full system running, yes you'll need to turn on logs and preview too | 06:35 |
mithro | (logs does the IRC logs) | 06:35 |
mithro | (preview does the little preview images on the front page) | 06:35 |
*** yocto has left #timvideos | 06:36 | |
*** rihen has joined #timvideos | 06:52 | |
rihen | Hello mithro | 06:52 |
CarlFK | EC2 Instance: mission (i-b59966c7) - running, initializing | 06:52 |
CarlFK | where do I find it's hostname? | 06:53 |
rihen | Hi CarlFK :) | 06:53 |
CarlFK | hi rihen | 06:53 |
CarlFK | ahh, "public dns" | 06:53 |
rihen | mithro you there ? | 06:54 |
mithro | yes, but kinda busy | 06:55 |
CarlFK | <property name="host">ec2-54-224-130-74.compute-1.amazonaws.com</property> | 06:56 |
CarlFK | <property name="username"> whats my user name? | 06:56 |
mithro | in flumotion config? | 06:56 |
rihen | mithro can raise any views on my proposal here http://www.google-melange.com/gsoc/proposal/review/google/gsoc2013/rihnapstor/1 | 06:56 |
tpb | <http://ln-s.net/-7Rd> (at www.google-melange.com) | 06:56 |
CarlFK | yes | 06:57 |
mithro | CarlFK, what ever you sent in the config? | 06:57 |
CarlFK | nothing yet | 06:58 |
mithro | what do you mean? | 06:58 |
CarlFK | er.. I thought this was the user/pw needed to connect to ec2 | 06:59 |
mithro | the username/password in flumotion is unrelated to the user/pass needed to connect to ec2 | 07:00 |
CarlFK | ok. | 07:00 |
CarlFK | /usr/local/etc/flumotion/managers/default/planet.xml I think that is ready | 07:01 |
mithro | for the collector or the encoder? | 07:01 |
CarlFK | that is on the collector box | 07:01 |
mithro | so the encoder also has a planet.xml | 07:02 |
mithro | which is different obviously | 07:02 |
CarlFK | does it need to be changed from pycon to get somehing going now? | 07:04 |
mithro | depends if you changed the username/password or just reused the one from pycon | 07:04 |
CarlFK | all I did was start mission | 07:06 |
CarlFK | so same user/pw, right ? | 07:06 |
mithro | so the username/password on the collector has to be the one of the encoder | 07:07 |
mithro | because this all goes over the public internet you can't just have a free for all like dv-switch does | 07:07 |
CarlFK | do I have the user/pw somewhere? | 07:09 |
mithro | dunno | 07:09 |
mithro | I'm sure iiie does | 07:09 |
iiie | one second | 07:10 |
CarlFK | yay! | 07:10 |
CarlFK | brb, need to grab a snack | 07:10 |
mithro | looks like I deleted my copy stupidly | 07:10 |
iiie | no worries, it'll take me a minute | 07:10 |
rihen | mithro tommorow slot request day (GSoC 2013),so I wanted to ask who will mentor my project ? | 07:13 |
CarlFK | back | 07:18 |
iiie | CarlFK, PMed you the user / pass on the ec2 that you linked | 07:18 |
CarlFK | got em | 07:19 |
mithro | iiie, the ssh or flumotion password? | 07:19 |
iiie | flumotion | 07:20 |
iiie | I've a key for ssh | 07:20 |
iiie | I can download the planet.xml and email it out, or I can add you to authorized keys (given a key) | 07:22 |
* iiie has access, but not a password | 07:23 | |
rihen | rihen: brb | 07:25 |
*** rihnapstor has joined #timvideos | 07:26 | |
*** hyades has joined #timvideos | 07:26 | |
mithro | hi hyades | 07:26 |
rihnapstor | mithro: my gsoc proposal here http://www.google-melange.com/gsoc/proposal/review/google/gsoc2013/rihnapstor/1 | 07:27 |
tpb | <http://ln-s.net/-7Rd> (at www.google-melange.com) | 07:27 |
mithro | rihnapstor, yes i know | 07:27 |
rihnapstor | mithro: ok :) | 07:28 |
mithro | we have been reviewing all the applications | 07:28 |
rihnapstor | ok | 07:28 |
hyades | hi mithro | 07:30 |
shenki | mithro: have you come across this hardware? http://milkymist.org/3/ | 07:38 |
tpb | Title: Milkymist Labs (at milkymist.org) | 07:38 |
mithro | shenki, nope! | 07:38 |
shenki | mithro: it uses a spartan6, the little board they have for programming it might be interesting for us | 07:39 |
mithro | shenki, yeah, we use a "better" version of the same chip | 07:44 |
*** rihen has left #timvideos | 08:19 | |
CarlFK | mithro: assuming I have all the configs setup.. how do I restart flumotion ? | 08:39 |
mithro | sudo /etc/init.d/flumotion restart | 08:42 |
iiie | sudo service flumotion restart | 08:44 |
* iiie likes service | 08:44 | |
CarlFK | * Restarting Flumotion Streaming Server flumotion [fail] | 08:47 |
mithro | I have two guesses | 08:47 |
mithro | 1) you didn't update the worker config | 08:48 |
mithro | 2) something else went wrong :P | 08:48 |
CarlFK | worker config ? | 08:48 |
iiie | manager and worker, they make a difference then | 08:49 |
mithro | logs will be at | 08:50 |
mithro | /usr/local/var/log/flumotion | 08:51 |
mithro | flumotion was built with the idea that a manager could control multiple worker computers | 08:51 |
mithro | these days all manager and workers just end up on the same machine | 08:51 |
iiie | hm, okay I'll check mission | 08:51 |
iiie | okay, the encoder probably didn't start (service) | 08:53 |
CarlFK | http://dpaste.de/riscN/ | 08:53 |
tpb | Title: dpaste.de: Snippet #226554 (at dpaste.de) | 08:53 |
CarlFK | AttributeError: 'EPollReactor' object has no attribute 'listenWith' | 08:53 |
iiie | started | 08:53 |
CarlFK | sudo service flumotion restart ... same error | 08:55 |
mithro | where did you install flumotion from? | 08:55 |
iiie | CarlFK, what mithro was saying is that there is a worker config, that is separate from the manager config; the paths I've given were for the manager apparently | 08:55 |
mithro | and what version of linux are you running? | 08:56 |
CarlFK | Linux cnt3 3.8.0-19-generic #29-Ubuntu SMP Wed Apr 17 18:16:28 UTC 2013 x86_64 x86_64 x86_64 | 08:56 |
mithro | CarlFK, I mean distro version | 08:56 |
CarlFK | rarring | 08:56 |
iiie | cat /etc/issue | 08:57 |
mithro | well, I've never tested flumotion under rarring | 08:57 |
mithro | and it looks like flumotion doesn't run under it | 08:57 |
mithro | it's probably fixed in a later version of flumotion then the one in my repository | 08:59 |
CarlFK | k, ill install quantl | 08:59 |
mithro | (that is dieing in twisted) | 08:59 |
mithro | I'm using precise | 08:59 |
mithro | LTS FTW | 08:59 |
CarlFK | precice it is | 09:00 |
mithro | with an LTS you only have to upgrade every ~2-3 years | 09:00 |
mithro | rather then every 6 months | 09:00 |
CarlFK | scp juser@cnt3:/usr/local/etc/flumotion/managers/default/planet.xml ... installing precise now | 09:05 |
mithro | okay | 09:09 |
mithro | I think I'm going to head home and get some dinner | 09:09 |
mithro | be back in 20 | 09:09 |
*** mithro- has quit IRC | 09:14 | |
CarlFK | I am going to sleep | 09:19 |
iiie | night | 09:25 |
*** mithro- has joined #timvideos | 09:29 | |
mithro- | I'm back | 09:32 |
mithro- | CarlFK, any luck? | 09:32 |
iiie | mithro-, CarlFK said he's going to sleep | 09:33 |
*** iiie has quit IRC | 09:36 | |
mithro- | ahh | 09:46 |
mithro- | fair enough | 09:46 |
mithro- | He should turn off power to the EC2 instance so it doesn't charge him over night | 09:47 |
*** hyades has quit IRC | 10:27 | |
*** aps-sids has quit IRC | 10:27 | |
*** Sewar has quit IRC | 10:27 | |
*** mithro has quit IRC | 10:27 | |
*** hyades has joined #timvideos | 10:27 | |
*** aps-sids has joined #timvideos | 10:27 | |
*** Sewar has joined #timvideos | 10:27 | |
*** mithro has joined #timvideos | 10:27 | |
*** hyades has quit IRC | 10:33 | |
*** aps-sids has quit IRC | 10:33 | |
*** Sewar has quit IRC | 10:33 | |
*** mithro has quit IRC | 10:33 | |
*** rihnapstor has quit IRC | 10:33 | |
*** CarlFK has quit IRC | 10:34 | |
*** mithro- has quit IRC | 10:34 | |
*** hyades has joined #timvideos | 10:34 | |
*** aps-sids has joined #timvideos | 10:34 | |
*** Sewar has joined #timvideos | 10:34 | |
*** mithro has joined #timvideos | 10:34 | |
*** mithro- has joined #timvideos | 10:36 | |
*** CarlFK has joined #timvideos | 10:36 | |
*** mithro- has quit IRC | 11:14 | |
*** hyades has quit IRC | 11:35 | |
*** hyades has joined #timvideos | 11:39 | |
CarlFK | im awake | 14:27 |
*** rihnapstor has joined #timvideos | 15:05 | |
*** rihnapstor has quit IRC | 15:14 | |
*** rihnapstor has joined #timvideos | 15:27 | |
CarlFK | I am off for a while. Later I will have a few hours to work on setting up streaming | 16:13 |
*** rihnapstor has quit IRC | 16:14 | |
*** CarlFK has quit IRC | 16:27 | |
*** CarlFK has joined #timvideos | 16:28 | |
*** CarlFK has quit IRC | 18:00 | |
*** CarlFK has joined #timvideos | 18:06 | |
*** CarlFK has quit IRC | 19:27 | |
*** CarlFK has joined #timvideos | 19:30 | |
*** CarlFK has quit IRC | 19:31 | |
*** CarlFK has joined #timvideos | 19:31 | |
*** iiie has joined #timvideos | 19:47 | |
*** Sewar has quit IRC | 19:54 | |
*** Sewar has joined #timvideos | 20:36 | |
*** Juggerr has joined #timvideos | 20:49 | |
*** CarlFK has quit IRC | 21:08 | |
*** hyades has quit IRC | 23:11 | |
*** CarlFK has joined #timvideos | 23:25 | |
CarlFK | im back | 23:28 |
iiie | Welcome back CarlFK | 23:44 |
iiie | I'm still less than 200 feet from the Pacific | 23:45 |
iiie | :) | 23:45 |
CarlFK | I just bough an Eron? chair :p | 23:46 |
CarlFK | but alas, I don't have a desk .. so the chair is over there, and I am still here on the couch | 23:46 |
iiie | I seem to remember that being a good thing | 23:46 |
iiie | aeron | 23:47 |
iiie | I need to get a different desk and a reasonable chair for home. I have a card table for a desk and hard used office chair. I should prompt my family to keep an eye out. | 23:49 |
iiie | Well chair-wise, desk-wise I want a pre-made desktop, but I might build the legs, shelves and cubbies / drawers | 23:51 |
iiie | Did the collector start working? | 23:51 |
CarlFK | I nuked it :) | 23:53 |
CarlFK | rebuilding now... | 23:54 |
CarlFK | I think the only file I messed with is planet.xml - I copied it so I can put it back in a jiffy | 23:55 |
CarlFK | sudo make-ssl-cert generate-default-snakeoil | 23:59 |
CarlFK | what does that do? | 23:59 |
Generated by irclog2html.py 2.5 by Marius Gedminas - find it at mg.pov.lt!