*** tpb has joined #timvideos | 00:00 | |
*** cr1901 has joined #timvideos | 00:12 | |
*** sb0 has joined #timvideos | 04:03 | |
jea | CarlFK: ping | 04:40 |
---|---|---|
CarlFK | jea: pong | 04:40 |
jea | I'm attempting to setup veyepar for pyconau | 04:42 |
jea | and was hoping you would be able to explain a few things | 04:43 |
CarlFK | sure | 04:43 |
jea | so from Ryan's list, first thing is syncing the schedule | 04:43 |
jea | he mentioned a script in dj/scripts, but i'm not sure which one it is yet | 04:44 |
CarlFK | addeps.py, but first... | 04:45 |
*** sb0 has quit IRC | 04:45 | |
CarlFK | python ck_setup.py | 04:45 |
jea | ok | 04:45 |
CarlFK | that does a sanity check that the dirs, db, stuff.. is in place | 04:45 |
CarlFK | it has red yellow green results. in general, red stuff needs to be fixed. yellow probably does too but can wait or ignored | 04:47 |
*** micolous has joined #timvideos | 04:47 | |
*** ChanServ sets mode: +v micolous | 04:47 | |
jea | right. looks like I need to run mk_dirs then get a credits_image | 04:47 |
CarlFK | maybe | 04:47 |
CarlFK | often the ~/Videos is on some other mount and it hasn't been mounted yet | 04:48 |
jea | I'll drop the images in later after Ryan gets them to me | 04:48 |
jea | ah, that might be it | 04:48 |
jea | I did mount something, but it could be at the wrong level | 04:49 |
CarlFK | I guess it won't matter.. may as well run it | 04:49 |
CarlFK | hmm | 04:49 |
jea | where does it get the client slug and show slug from? | 04:50 |
jea | I think I need to change them to match what the rsync folders are names | 04:50 |
CarlFK | veyepar.cfg | 04:50 |
jea | *named | 04:50 |
CarlFK | um... | 04:50 |
CarlFK | what's an rsync folder ? | 04:51 |
jea | ah, when we ran rsync last night, it put things into a pyconau/pyconau2016 structure, but veyepar is looking for pycon_au/pyconau_2016 | 04:51 |
*** sb0 has joined #timvideos | 04:51 | |
jea | so I need to get them both the same | 04:52 |
CarlFK | sigh... | 04:52 |
CarlFK | if you change the .cfg, you will cut lose the data that is already there | 04:53 |
jea | ah, that doesn't sound good | 04:53 |
jea | Ryan says it is fine, because we haven't touched any of the data yet | 04:54 |
CarlFK | if you rename the dirs.. the next rsync is going to .. make new dirs | 04:54 |
CarlFK | I got a bad feeling about this | 04:54 |
xfxf | i'm here sort of | 04:55 |
xfxf | so the dirs need to remain the same | 04:55 |
xfxf | but the database can be removed / replaced | 04:55 |
xfxf | that's fine | 04:55 |
xfxf | we've done no QA yet | 04:55 |
CarlFK | i guess... | 04:56 |
jea | what is the command to do the database setup? | 04:57 |
*** danielki has joined #timvideos | 05:07 | |
jea | ok, that is all sorted | 05:08 |
CarlFK | python ck_setup.py | 05:14 |
jea | so I think I have everything setup now. I presume the dirname for the location is just the single directory name, not the full path? | 05:18 |
CarlFK | um.. what dirname? | 05:18 |
CarlFK | oh, location table.. | 05:18 |
jea | yep | 05:18 |
CarlFK | leave that blank | 05:18 |
jea | oh | 05:19 |
jea | so how does it know which directory is which room? | 05:19 |
CarlFK | or did someone make up their own dirnames ? | 05:19 |
CarlFK | slug of the name of the room | 05:19 |
jea | oh right | 05:19 |
jea | I'll fix the slug to match the label | 05:20 |
CarlFK | umm... | 05:20 |
CarlFK | I guess that will work | 05:20 |
jea | eg. Room 106 is coming in as r2mix | 05:20 |
CarlFK | wtf | 05:20 |
CarlFK | yeah, someone made up new and improved names. yay. | 05:21 |
jea | now for an association script | 05:22 |
CarlFK | not needed | 05:23 |
CarlFK | hit the web server, go to the first talk | 05:23 |
CarlFK | query runs at that time | 05:23 |
CarlFK | oh wait.. | 05:23 |
CarlFK | association is that step | 05:24 |
CarlFK | I am guessing you need to run.. | 05:24 |
CarlFK | hang on. | 05:24 |
jea | actually, i need to update the schedule, then i need to do the associations | 05:25 |
CarlFK | don't call it that | 05:25 |
CarlFK | well | 05:26 |
jea | ok. is there another name? | 05:26 |
CarlFK | https://github.com/CarlFK/veyepar/blob/master/README | 05:26 |
tpb | Title: veyepar/README at master · CarlFK/veyepar · GitHub (at github.com) | 05:26 |
CarlFK | veyepar/dj/scripts$ python adddv.py | 05:26 |
CarlFK | guessing thats what you need | 05:27 |
CarlFK | did you run mkdirs.py ? | 05:27 |
CarlFK | that will tell us if the r2mix is setup right | 05:27 |
jea | running mkdirs just created a directory called /home/videoteam/Videos/veyepar/pyconau/pyconau2016/dv/r1mix | 05:28 |
CarlFK | if you end up with room_106 | 05:28 |
jea | the directory we have is called /home/videoteam/Videos/veyepar/pyconau/pyconau2016/r1mix | 05:28 |
CarlFK | yeah.. swell. | 05:29 |
jea | I presume I should just move the folders with the dv files into dv? | 05:29 |
CarlFK | sigh | 05:29 |
CarlFK | the problem is the source is still broken | 05:30 |
CarlFK | so the next time it gets copied, it is going to re-copy the files you moved somewhere else | 05:30 |
jea | ok, ryan sorted that out | 05:31 |
jea | used links instead | 05:31 |
CarlFK | I was thinking that. | 05:31 |
CarlFK | but now you have a loop right ? | 05:32 |
jea | no, i don't think so | 05:32 |
CarlFK | can you get to pyconau2016/dv/dv ? | 05:32 |
CarlFK | im having trouble doing it in my head | 05:33 |
jea | nope. we made the symlinks within dv, but not to the top level. just a link for each room | 05:33 |
CarlFK | k | 05:33 |
jea | yeah, I can understand | 05:33 |
CarlFK | python adddv.py | 05:33 |
jea | done | 05:34 |
CarlFK | that's going to walk the tree looking for files (more than just dv.. bad file name) | 05:34 |
CarlFK | veyepar/dj/scripts$ python tsdv.py | 05:34 |
CarlFK | that tries to figure out the start time and length | 05:34 |
jea | ah, that looks better | 05:34 |
CarlFK | oh... | 05:35 |
CarlFK | and it needs the cut list log | 05:35 |
CarlFK | im curious what and where that is | 05:35 |
jea | um, I'm not sure what that is | 05:35 |
jea | I can certainly see the videos in the web interface now for a talk | 05:35 |
jea | so it looks like it has done something right | 05:35 |
jea | I got a lot of libva info messages when running tsdv.py, but I think I can ignore them alright | 05:36 |
CarlFK | https://github.com/CarlFK/veyepar/blob/master/dj/scripts/adddv.py | 05:36 |
tpb | Title: veyepar/adddv.py at master · CarlFK/veyepar · GitHub (at github.com) | 05:36 |
CarlFK | on the screen, does it look like the same .ts file is choped up into a few parts ? | 05:37 |
jea | yes it does | 05:37 |
CarlFK | each .ts is 30 min long, there is a log file of time stamps that need..yay. | 05:37 |
jea | i have 3 entries for one ts file, for example | 05:38 |
CarlFK | cool | 05:38 |
jea | is there a thing i can run to generate the previews that work in the web browser? | 05:38 |
jea | and/or is it worth doing that, or should i access the raw videos intead? | 05:38 |
jea | *instead | 05:38 |
CarlFK | if os.path.splitext(f)[1] == ".log": self.mark_file(os.path.join(d,f),show,location) | 05:38 |
CarlFK | (thats how the log file got read. was trying to figure out what file name it was looking for | 05:39 |
jea | yep, found a cut-list.log file that seems to have the information in it | 05:39 |
CarlFK | yay. | 05:40 |
CarlFK | https://github.com/CarlFK/veyepar/blob/master/dj/scripts/sync_rax.py | 05:40 |
tpb | Title: veyepar/sync_rax.py at master · CarlFK/veyepar · GitHub (at github.com) | 05:40 |
CarlFK | thats kinda what you want.. but you don't need to upload the files anywhere | 05:40 |
CarlFK | cuz the web server has access to the local fs | 05:41 |
CarlFK | im looking at it.. | 05:41 |
jea | ah right. i can play around a bit then to see if i can make it work with a local path | 05:42 |
CarlFK | https://github.com/CarlFK/veyepar/blob/master/dj/scripts/sync_rax.py | 05:42 |
tpb | Title: veyepar/sync_rax.py at master · CarlFK/veyepar · GitHub (at github.com) | 05:43 |
CarlFK | it should default to just woking | 05:43 |
CarlFK | it = default server setup | 05:43 |
CarlFK | # self.raw_files(show) | 05:43 |
CarlFK | uncomment that, # comment the next line self.episodes(show) | 05:43 |
CarlFK | """ make a low bitrate version of the raw file for previewing over the web """ | 05:45 |
CarlFK | oh hell.. webm... | 05:45 |
CarlFK | (debconf doesnt like mp4 | 05:45 |
jea | webm is fine for chrome | 05:47 |
CarlFK | give me a sec to 'fix' | 05:47 |
CarlFK | yeah, but it takes forever to encode | 05:47 |
jea | ok | 05:47 |
jea | ah right | 05:48 |
jea | i didn't realise that | 05:48 |
jea | I'll be in and out a bit because I am helping to setup a room, but will reply when I'm back | 05:48 |
CarlFK | k | 05:48 |
CarlFK | pushed (but not tested.. whoop) | 05:52 |
jea | ok, let me pull and try it out | 06:13 |
jea | CarlFK: couldn't run because I don't have swift in the pw.py file | 06:16 |
CarlFK | dam. | 06:16 |
CarlFK | jea: stuff a dummy entry in there | 06:17 |
CarlFK | it shouldn't actually try to auth | 06:17 |
jea | oh, maybe i need to set a rax_id on the client somewhere | 06:21 |
jea | ok, doing that helped, but it still tried to authenticate | 06:22 |
CarlFK | oh right, it wants to get a list of what is already up there.. sec... | 06:22 |
CarlFK | this code does 100 things, and I only ever need a few at any one time | 06:22 |
jea | yeah | 06:23 |
jea | I do that a lot too | 06:23 |
CarlFK | 216 self.init_rax(show | 06:24 |
CarlFK | lets see if that will just work... | 06:24 |
jea | comment that line out? | 06:24 |
jea | yep, that worked | 06:25 |
jea | i'll let that run | 06:25 |
jea | thanks CarlFK | 06:26 |
CarlFK | yay! | 06:26 |
*** danielki has quit IRC | 09:28 | |
*** danielki has joined #timvideos | 09:50 | |
*** danielki has quit IRC | 10:02 | |
*** danielki has joined #timvideos | 10:14 | |
*** Bertl_zZ is now known as Bertl | 10:22 | |
*** rohitksingh has joined #timvideos | 10:29 | |
*** danielki has quit IRC | 10:57 | |
*** danielki has joined #timvideos | 11:10 | |
*** cr1901 has quit IRC | 11:58 | |
*** cr1901 has joined #timvideos | 12:12 | |
*** CarlFK has quit IRC | 12:43 | |
*** danielki has quit IRC | 16:03 | |
*** CarlFK has joined #timvideos | 16:16 | |
*** ChanServ sets mode: +v CarlFK | 16:16 | |
CarlFK | xfxf: jea - I'm up, need anything ? | 16:19 |
*** danielki has joined #timvideos | 17:29 | |
*** rohitksingh has quit IRC | 17:49 | |
*** rohitksingh has joined #timvideos | 18:04 | |
*** danielki has quit IRC | 18:16 | |
*** rohitksingh has quit IRC | 19:22 | |
*** danielki has joined #timvideos | 19:37 | |
*** danielki has quit IRC | 21:31 | |
shenki | mithro: ping | 23:19 |
mithro | shenki: pong | 23:20 |
shenki | mithro: what commands do I want to run? | 23:21 |
mithro | shenki: Hold on a sec | 23:22 |
mithro | shenki: You got Xilinx set up? | 23:24 |
shenki | mithro: yeah, i think so | 23:25 |
mithro | shenki: Try this -> https://gist.github.com/mithro/604da515edc1061a77a8ee6c1fe729e6 | 23:28 |
tpb | Title: Script to get all the enjoy-digital repos and set up a conda environment for using them in · GitHub (at gist.github.com) | 23:28 |
shenki | mithro: do i comment out the repos i don't need? | 23:30 |
mithro | shenki: You could I guess | 23:30 |
shenki | ERROR: size of Miniconda3-latest-Linux-x86_64.sh should be 32912085 bytes | 23:31 |
mithro | shenki: "rm Miniconda3-latest-Linux-x86_64.sh" and run again? | 23:32 |
shenki | mithro: im really confused. there's no such file in my pwd | 23:33 |
shenki | $ ls -la /home/joel/dev/timvideos/softcore-micropython/conda | 23:33 |
shenki | ls: cannot access '/home/joel/dev/timvideos/softcore-micropython/conda': No such file or directory | 23:33 |
mithro | you are not at the stage of having that yet | 23:34 |
mithro | you failed at line 37 | 23:34 |
mithro | shenki: Updated my script again | 23:35 |
shenki | mithro: ok, working now | 23:35 |
* shenki drinks coffee | 23:35 | |
mithro | shenki: once that is done | 23:36 |
mithro | in the top level directory; do | 23:36 |
mithro | "echo PATH=$PWD/conda/bin:$PATH" | 23:36 |
shenki | ok | 23:38 |
mithro | shenki: I've almost got the Makefile working | 23:46 |
shenki | mithro: which makefile? | 23:48 |
mithro | the micropython one | 23:48 |
shenki | ok. same. are you starting from minimal? | 23:52 |
xfxf | "micropython": lols, is joel actually porting micropython to the opsis? ;-) | 23:53 |
xfxf | mithro: did you get my message btw. joel has another opsis we can use | 23:53 |
shenki | yep | 23:53 |
mithro | xfxf: yes, it sounds like the other joel has it under control? | 23:55 |
xfxf | mithro: he wanted to find you to know what firmware to flash. have you spoken to him in the last 15 mins? | 23:55 |
xfxf | he was trying to find you | 23:55 |
mithro | nope | 23:55 |
xfxf | okay, so i don't know what's happening in that room where we had the faulty opsis | 23:56 |
xfxf | what was the plan? | 23:56 |
xfxf | i've just had volunteers ask me | 23:56 |
jea | i can see mithro now, but ill talk to him after this talk | 23:56 |
xfxf | okay | 23:56 |
shenki | + git submodule -q foreach git fetch-all | 23:56 |
shenki | git: 'fetch-all' is not a git command. See 'git --help'. | 23:56 |
xfxf | jea: where are you? | 23:56 |
shenki | mithro: ^ | 23:57 |
jea | back of 105 | 23:57 |
mithro | shenki: oh, https://github.com/mithro/rcfiles/blob/master/bin/git-fetch-all | 23:57 |
tpb | Title: rcfiles/git-fetch-all at master · mithro/rcfiles · GitHub (at github.com) | 23:57 |
mithro | jea: I'll head out now | 23:57 |
xfxf | jea: do you know what was happening re that faulty room? last i looked it had no plugged in opsis at the back | 23:57 |
*** cr1901 has quit IRC | 23:59 | |
jea | xfxf: just not getting input for some reason. looking now | 23:59 |
Generated by irclog2html.py 2.13.1 by Marius Gedminas - find it at mg.pov.lt!