Thursday, 2015-10-29

*** tpb has joined #timvideos00:00
mithrothen it has nothing to do with hdmi2usb capture then?00:00
CarlFKheck if I know.  is uses videotestsrc00:01
CarlFKmaybe I can just swap that, but generally that never just works.00:01
mithroCarlFK: what is the jpeg caps thing you need for dvsource-v4l2-other and why haven't you sent a patch to fix the documentation?00:04
CarlFKmithro: -c="image/jpeg,width=1280,height=720"00:06
CarlFKshort on time00:07
*** tvCommitBot has joined #timvideos00:10
tvCommitBot[dvsource-v4l2-other] mithro pushed 1 new commit to master: http://git.io/vWbRJ00:10
tvCommitBotdvsource-v4l2-other/master 678131d Tim Ansell: Adding information about mjpeg based v4l2 devices00:10
*** tvCommitBot has left #timvideos00:10
mithroCarlFK: took me 2 minutes00:10
mithroxfxf: https://github.com/timvideos/dvsource-v4l2-other/blob/master/README.md#quick-start-with-mjpeg-devices-such-as-hdmi2usbtv00:10
tpbTitle: dvsource-v4l2-other/README.md at master · timvideos/dvsource-v4l2-other · GitHub (at github.com)00:10
mithrov4l2src device=/dev/video0 ! image/jpeg,width=1280,height=720 ! decodebin !00:12
*** travis-ci has joined #timvideos00:12
travis-ci[timvideos/HDMI2USB-misoc-firmware/master#255] (bb302c0): The build was broken. (https://travis-ci.org/timvideos/HDMI2USB-misoc-firmware/builds/88017669)00:12
*** travis-ci has left #timvideos00:12
CarlFKthats why you should do it and not me :)00:13
CarlFKmithro: xfxf isn't using dvswitch00:13
CarlFKhe wants to save the full res to disk00:14
CarlFKso probably some of that and some of https://wiki.xiph.org/GST_cookbook#hdmi2usb_capture_.28timvideos.us.2900:14
tpbTitle: GST cookbook - XiphWiki (at wiki.xiph.org)00:14
mithroCarlFK: it would have taken you the same amount of time and you wouldn't had to ask me like 3 times00:15
mithro_florent_: Did you just break the firmware? :P00:15
mithromain.c:(.text.startup+0x2c): undefined reference to `print_board_dna'00:16
mithromain.c:(.text.startup+0x2c): relocation truncated to fit: R_LM32_CALL against undefined symbol `print_board_dna'00:16
xfxfmithro: the above doesn't really help me00:26
mithroxfxf: the above gives you the part you need to get the data out of the HDMI2USB, what do you want to do with it?00:29
CarlFKmithro:  he wants to save the full res to disk00:29
xfxfit doesn't give me anything00:29
xfxfit already told me what i know00:30
xfxfgst-launch-1.0 v4l2src device=/dev/video1 ! jpegparse ! queue max-size-bytes=100000000 max-size-time=0 ! matroskamux name=mux alsasrc device='hw:1,0' ! audio/x-raw,channels=2,rate=48000 ! audioconvert ! vorbisenc ! queue ! mux. mux. ! queue max-size-bytes=100000000 max-size-time=0 ! filesink location=hdmi2usb_recording_`date +%s`.mkv00:30
xfxf^ that00:30
xfxfis 'sort' of doing what i want00:30
xfxfexcept the framerate is like 5fps and out of sync with the audio (which sounds fine)00:30
xfxfshoving in a image/jpeg,width=1280,height=720 pipeline doesn't fix this00:31
xfxfthe line in that wiki article is for dvswitch.  not doing that, have negative interest in using dvswitch with hdmi2usb00:31
mithroWhy are you using jpeg parse?00:31
mithroYour missing a decodebin too00:31
xfxfbecause without that i'd get errors00:31
xfxfsure, can you let me know the correct pipeline?00:31
xfxfmy gstreamer pipeline knowledge is rudimentary at best00:32
xfxfi understand the concept, i'm not familiar with all of the pieces required00:32
mithroReplace everything before the matroskamux with the line I gave you00:32
xfxfwhich line?  i only see a dvswitch line in that wiki article00:33
CarlFKxfxf: I'll try this and let you know if something seems to work00:33
mithro11:09 a.m. <@mithro> v4l2src device=/dev/video0 ! image/jpeg,width=1280,height=720 ! decodebin !00:33
mithroRemove the audio bit until you have the video working first00:34
xfxfsure, ta00:34
mithroxfxf: compare to what the encoder on the HDMI2USB is saying00:34
xfxfokay, that seems to save a file, but neither vlc or mplayer will play it00:36
xfxfhttps://www.irccloud.com/pastebin/Y04rRCTY/00:37
tpbTitle: Pastebin | IRCCloud (at www.irccloud.com)00:37
mithroxfxf: well, you just piped raw frames into a file00:38
mithrogst-launch-1.0 v4l2src device=/dev/video1 ! image/jpeg,width=1280,height=720 ! decodebin ! matroskamux ! filesink location=hdmi2usb_recording_`date +%s`.mkv00:41
xfxfdoesn't appear to work either00:41
xfxfwhen playing back00:41
xfxfhttps://www.irccloud.com/pastebin/LBh4KlLg/00:42
tpbTitle: Pastebin | IRCCloud (at www.irccloud.com)00:42
mithroavprobe the file?00:42
xfxfhttps://www.irccloud.com/pastebin/h5lVrtzc/00:42
tpbTitle: Pastebin | IRCCloud (at www.irccloud.com)00:42
mithrovlc != avprobe?00:42
xfxfhttps://www.irccloud.com/pastebin/xkkVHyT2/00:42
tpbTitle: Pastebin | IRCCloud (at www.irccloud.com)00:42
CarlFKmithro: want to ssh into my box so you can try this stuff yourself ?00:42
mithroCarlFK: not particularly00:43
mithroxfxf: okay - so it is just vlc that doesn't like that file then00:43
mithrogst-launch-1.0 v4l2src device=/dev/video1 ! image/jpeg,width=1280,height=720 ! matroskamux ! filesink location=hdmi2usb_recording_`date +%s`.mkv00:43
xfxfor mplayer00:43
mithroxfxf: if you do that you'll get a mkv file with jpeg frames in it00:44
xfxfok00:44
xfxfthat one seems to work00:44
mithroxfxf: run avprobe on the file afterwards and check00:44
*** Bertl_oO is now known as Bertl_zZ00:44
xfxfhttps://www.irccloud.com/pastebin/oKJCZB6F/00:45
tpbTitle: Pastebin | IRCCloud (at www.irccloud.com)00:45
xfxfokay,ta, i'll try recombining with my alsa muxer00:45
mithroxfxf: yeah00:45
xfxfwait, wat, that doesn't seem that much different to the original thing i pasted00:46
mithroxfxf: not much difference in off by 1 errors either :P00:47
xfxfah, decodebin is removed00:47
xfxfheh inded00:47
xfxfindeed*00:47
xfxfi just didn't see the difference at all initially00:47
mithrodecodebin converts the jpegs back into raw video00:48
xfxfah, right00:48
mithroso if you want to reencode the video, you'll need it again00:48
xfxfright00:51
xfxfyay, this is working00:51
xfxffriggin' huge though00:51
xfxf1 min was like 350mb00:51
mithroIt is going at 480Mbit/s00:51
xfxfya00:52
mithroso, now you just need to dump a encoder in between the matroska mux and the decodebin00:52
mithroxfxf: any luck?00:57
xfxfhaven't done that yet but i can probably figure that part out fine00:58
xfxfjust sorting other issues00:58
xfxfthere's a total of 2 volunteers for this event00:58
xfxfwhich is making things interesting00:58
GChrissxfxf, CarlFK, mithro: I'm back.  so, um, things are working?01:00
CarlFKno.01:00
CarlFKGChriss: want to ssh into the box so you can try things?01:00
GChrissI do suggest expanding decodebin into indiviual elements01:00
mithroGChriss: CarlFK and xfxf have Atlys boards, not Opsis boards01:00
mithroGChriss: and xfxf has things working as far as I can tell, don't know what carl is trying to do01:01
CarlFKmithro: same as xfxf01:01
CarlFKand no he does not have things working01:01
mithro11:48 AM <xfxf> yay, this is working01:02
mithro11:48 AM <xfxf> friggin' huge though01:02
CarlFKwell, not working good enough.01:02
CarlFKGChriss: what's your gitub id?01:03
mithroCarlFK: the next part is trivial and has nothing to do with the HDMI2USB01:03
mithroCarlFK: it's just standard gstreamer01:04
GChrissI'm playing w/ self-hosting.  might be up: code.openvideo.pro01:04
CarlFKthen type it and I'll cut/paste it01:04
mithroGChriss: were did you get to testing the other night?01:04
GChriss(sorry, in a conversation with my brother, one sec)01:05
CarlFKbb in 10 min01:06
mithroOh wait01:09
mithroI might be confusing GChriss and G33KatWork ?01:09
mithrobblr going to lunch01:11
xfxfmithro: whoa, can hdmi2usb work without external power (hdmi powered?)01:12
xfxfi unplugged its power trying to reset it and it's still shoving input0 to output001:12
GChrissok, back for real this time01:12
mithroxfxf: I had that happen the other day too01:13
mithroxfxf: BTW you mean the "Atlys board"01:14
xfxfyes01:14
mithroxfxf: I think something is back driving the 5v through the HDMI port01:14
mithroWhich is kind of bad01:15
GChrissmithro: re: "GChriss: were did you get to testing the other night?"  creating a gstreamer pipeline for CarlFK/xfxf?  I got as far as something that worked on my local machine w/o hardware, pasted to Xiph wiki01:15
GChrissmithro: ah, yes, you may have confused me w/ G33KatWork.  no worries01:15
mithroGChriss: it appears so, you don't have any hardware right?01:16
GChrissdifferent, semi-unrelated hardware01:16
xfxfmithro: what is the right order to get encoding working in a script?01:17
xfxfi have01:17
xfxfPROG=fpgalink make load; make load-fx2; make load-lm3201:17
xfxfthat gets me a prompt but no v4l device01:17
xfxfi quit, make load-fx2; make connect-lm3201:17
xfxfthen its fine01:17
xfxfby encoding i mean the encoder on hdmi2usb01:18
xfxf+ the v4l device showing01:18
xfxfer, the latter only rather01:18
mithroPROG=fpgalink make load-gateware; make load-fx2; make connect-lm32; should work01:33
CarlFKprolly need to enable the encoder cuz it defaults to off01:34
xfxfit doesn't, have to do steps above01:54
xfxfand iirc the v4l device appearing is seperate to encoder being on/off01:55
xfxfoh, some interesting data for you as well mithro01:55
xfxfthe projectors used at this venue are 16:1001:55
xfxfthey do wierd things to 16:9 resolutions01:55
xfxf720p gets chopped off at the edges01:55
xfxfthis is same venue as lca201701:56
*** travis-ci has joined #timvideos02:02
travis-ci[mithro/HDMI2USB-misoc-firmware/master#29] (bb302c0): The build failed. (https://travis-ci.org/mithro/HDMI2USB-misoc-firmware/builds/88029424)02:02
*** travis-ci has left #timvideos02:02
mithroxfxf: we can add scaling / padding stuff if we can get people to contribute02:02
xfxfyeah, figured - it's not critical now, i just shoved a scaler in front02:03
xfxfbut just making you aware if you're not already that 720p isn't always 100% guaranteed to work02:03
xfxfbut it's probably the closest res to being that02:03
xfxfhey02:03
xfxfi've written a super basic pyserial/tkinter frontend to change inputs02:03
xfxfis there anything special i need to do to talk to the device?02:04
xfxfopening a serial connection to /dev/ttyV-whatever it is at 115200 isn't sufficient02:04
xfxf+ same as minicom02:04
xfxfi note flterm uses a --kernel paramater?02:04
xfxfparameter*02:04
mithroxfxf: that is only to load a kernel02:04
xfxfis that just for initial load, or every time we wish to connect?02:04
xfxfright02:04
mithroxfxf: put your code up somewhere?02:05
xfxfoutside of 115200 what other serial options should i be setting?02:05
xfxfoh god its awful code02:05
xfxfbut sure02:05
xfxfi can reproduce by trying to use minicom though02:05
xfxfhttps://www.irccloud.com/pastebin/HOL6v68f/02:09
tpbTitle: Pastebin | IRCCloud (at www.irccloud.com)02:09
mithroxfxf: and what output do you get?02:09
xfxfthe only output are my 'print's, which work as expected02:10
xfxfisn't doing anything to hdmi2usb though02:10
xfxfand tryingto connect to it with minicom doesn't work eithr02:10
xfxfwhoa lag02:10
mithroI don't see you ever reading from the serial port?02:11
xfxfi'm not, just writing02:12
xfxfthat said it's been a while since i've used pyserial02:12
xfxfi can figure that out02:12
mithroxfxf: so, how do you know it isn't giving you errors or something?02:12
xfxfi just need to know if anything special is required to talk to it02:12
xfxfif not, i'll keep debugging02:12
xfxfagain, my first step after hitting this was to try with minicom02:12
xfxfi cannot talk to it with minicom02:13
xfxfhence pinging you02:13
xfxfand ya, next step is to implement a display that reads from the serial port, but i'm 10 minutes into writing this :P02:13
xfxfnote EXPECT= is defined but i'm doing nothing with it02:14
xfxfwhich i should probs rename02:14
mithrohrm....02:14
mithroSerialException: device reports readiness to read but returned no data (device disconnected?)02:14
mithroxfxf: what about "screen /dev/ttyVIZ0 115200" ?02:22
mithroxfxf: you might need to turn off hardware flow control?02:23
xfxfah, possibly02:24
mithroxfxf: okay - I have minicom working here02:26
xfxfwhat settings?02:26
mithrohrm... minicom is acting weird....02:28
mithroit works for a bit then stops....02:29
xfxffix it :P02:29
xfxfin all seriousness02:29
xfxfwhat is flterm doing differently to minicom?02:29
mithroxfxf: why are we using minicom? everything else seems to work fine?02:29
xfxfbecause i am trying to debug why pyserial isn't working02:33
xfxfgoing back to a known quantity (i.e. minicom) is how i'm debugging there's an issue at hdmi2usb somewhere02:33
mithrookay - the minicom was failing when screen was also attached to the serial port02:34
mithrowhere does minicom store its config files?02:36
xfxf~/.minicom/ i'd assume02:39
xfxfwhat settings are you using to talk to it?02:39
mithroxfxf: nope02:40
mithroxfxf: no hardware flow control, 11520002:40
xfxfaah02:41
xfxfyes02:41
xfxfturning off hardware flow control fixes it02:42
xfxfwoo02:42
xfxfghetto mixing02:42
xfxfhaha02:42
GChrissok, so working with CarlFK using real hardware we have the following updated pipeline:02:43
GChrisshttps://wiki.xiph.org/GST_cookbook#HDMI2USB.tv_capture_.28timvideos.us.2902:43
tpbTitle: GST cookbook - XiphWiki (at wiki.xiph.org)02:43
mithroxfxf: so your script works now?02:45
GChriss^-- at least capturing at 15FPS, not sure if the board can go higher @ JPEG quality 8502:46
xfxfmithro: yes02:46
xfxfi'm recording a talk right now with it02:47
mithroxfxf: are you reading anything back from the comm port?02:47
xfxfnot implemented yet02:48
xfxfbut i will02:48
xfxfalso i know you told me not to, but i'm using a hdmi exender02:52
xfxfworking fine02:52
CarlFKxfxf: hdmi over cat5?02:53
xfxfthis just passes thru data tho, doesn't appear to have laptops negotiate directly with it02:53
xfxfyes02:53
xfxfalthough02:53
xfxfthis is slightly diff02:53
xfxfbecause behind the hdmi extender is a scaler/splitter02:54
mithroxfxf: add the following to your script02:55
mithrohttps://www.irccloud.com/pastebin/NDexUgGI/02:55
tpbTitle: Pastebin | IRCCloud (at www.irccloud.com)02:55
mithroIn the keyHandler bit02:55
xfxfright, nod02:55
xfxfyeah this is mega early, handling everything better i'll do02:55
xfxfsorry was saying before, had to run to solve an issue before02:58
xfxfi'm usinga hdmi scaler/spitter02:58
xfxfscaler is forced to 720p and goes to hdmi2usb02:58
xfxfother output goes to projector02:59
xfxfso i guess i'm cheating around any issue a extender might introduce02:59
xfxfscaler will just be shoving out 720p50 no matter what hdmi2usb tells it02:59
xfxfor any devices between it02:59
mithroxfxf: yes you are03:03
mithrowhich means you aren't really testing anything all that useful03:03
xfxfi'm testing _a_ usecase for this03:05
xfxfi can't jam the hdmi2usb directly into the presenter chain due to venue equipment here03:05
mithroxfxf: you might as well be using something like the magwell device then?03:06
xfxfmagwell device?03:06
xfxfi care about being able to use this *now*03:06
xfxfwhich is what i'm doing03:06
CarlFKwhat sort of fps should we be able to get from the atlys?03:10
mithroCarlFK: what do you mean?03:11
CarlFKmithro: at quality 50, should we see 30fps?03:12
mithroCarlFK: Depends on if the JPEG can compress the input at quality 50 to fit into 480Mbit or not03:12
mithroyou could get 30fps at quality 100 if jpeg can compress it enough03:13
CarlFKk03:13
CarlFKdoes motion affect this?03:13
GChriss"motion" is a inter-frame thing, jpeg "image complexity" is another03:14
GChrisswaterfalls and fire are the some of the hardest thing to encode on both counts03:15
xfxfcan we test this?  this needs to perform in all situations at some defined rate03:15
xfxfhaving the device freak out mid-conference won't be fun03:15
CarlFKxfxf: doing that now03:16
xfxfalso if this is something that could change as part of development on the board, should testing this be part of the automated test suite?03:17
mithroxfxf: if you can figure out a way to automate the testing, then please go ahead and implement it03:24
xfxfwhat happens if the jpeg encoder can't keep up, the framerate changes?03:24
xfxfor something else?03:24
GChrissxfxf: at least on the gstreamer side there's an element to create a perfect stream even if the input framerate falters/increases: videorate03:32
xfxfah, that's nice to know, thanks03:32
GChrissit's required working with elphel cameras, which produce anything from 0.5 - 60+ FPS on the fly depending on lighting and camera controls03:33
GChrissthat said I'm not sure how to get the HDMI2USB board above 15FPS.  maybe a v4l2-related issue?  I'm new to the board03:35
xfxfframerate=25/1 or 30/1 didn't work for me03:41
xfxfquestion GChriss given you seem to be pretty switched on with gstreamer03:41
mithroxfxf: What does "didn't work for me" actually mean?03:42
mithroI can't seem to make this reliable -> https://gist.github.com/mithro/0717f9a0b39a538e1e6d03:42
tpbTitle: Modified Ryans script · GitHub (at gist.github.com)03:42
mithroOccasionally pyserial just won't return data03:43
xfxfis there any way to implement functionality into a filesink so i can trigger an event (perhaps a key push, or something else) that'll close the current file, open up a new file, write whatever header data out is required for the encapsulation format, and start streaming new data to it?03:43
xfxfmithro: your read didn't work, i left that uncommented03:43
xfxfby reliable i mean i just recorded an entire talk with it03:43
xfxfre functionality above, i want to recreate a 'cut' without having to stop the whole gstreamer pipeline + run it again (which takes a few seconds to start)03:44
GChrissxfxf: yes, but you have to have python chops (or similar programing) skills03:45
xfxfi.e. push or do something, a new file starts being written out with minimal frames lost03:45
xfxfright, i can do python03:45
CarlFKxfxf: GChriss  - what about sending a SIGHUP or some such signal?03:45
CarlFKxfxf: I have been thinking about this cut thing...03:46
xfxfer, s/uncommented/commented/ above, mithro - i'm still testing recording so i'll muck about with implementing more functionality later03:46
xfxfi'll turn it into a ghetto dvswitch03:46
xfxfso it'll invoke the gstreamer pipeline too03:46
CarlFKbreaking the file is really just a way to send time stamps to veyepar03:46
xfxfah, i guess so03:47
xfxfas you're using mlt03:47
CarlFKthere are some handy side effects03:47
xfxfi'd like to still break the file though03:47
xfxfmakes it easier to copy around files03:47
CarlFKI would like it too.. but it isn't happing03:47
xfxfand means your veyepar implementation works with third party devices that save down to files, not just this03:47
CarlFKmeh03:47
CarlFKbreak the files during breaks when we don't care if we lose 5 seconds of content03:48
xfxfit's more volunteers breaking talks too early03:48
CarlFKmeh03:48
xfxfi'd prefer to do this as properly as possible03:48
xfxfi'm okay with compromises but i'm sure there's a solution here03:49
CarlFKwell do it! :D03:49
CarlFKtill then.. I am trying to figure out how to work with what we have03:49
CarlFKand a text file of cut times might be good enough03:49
*** GChriss has quit IRC03:49
*** GChriss has joined #timvideos03:50
GChrissok back, power outage03:50
CarlFKdoh03:50
xfxfi kinda like cutting the file anyway03:50
CarlFKyou didn't miss anything03:50
CarlFKxfxf: agree, but it isn't happening today.03:50
xfxfit is03:50
xfxfi'm restarting the script :P03:50
GChrissgst-launch is a rapid prototyping tool, gstreamer proper is really a programming thing03:50
CarlFKlol03:50
xfxfGChriss: yeah, understood, probably worth me learning more about it then03:50
CarlFKxfxf:  you are losing frames.03:51
xfxfGChriss: if you say you can do this in python or whatever has gstreamer bindings tho then that's good, means this is achievable03:51
CarlFKif MaZderMind will add the cutbuton to vocto, and all it does is write time stamps to a file ...03:51
CarlFKI think we have a mixer03:52
xfxfCarlFK: i hear the argument you're making but i've been burnt enough in the past to know when i am shaving yaks03:52
GChriss_cleanly_.  there's shared interest in fixing gstreamer up specifically for conferences but it's not implemented03:52
xfxfi think this is at least spending some time trying to solve03:52
xfxfGChriss: good to hear03:52
CarlFKxfxf: what?03:52
xfxfCarlFK: you're saying not to bother trying to implement the cut functionality, no?03:52
xfxfi've been burnt in the past trying to save entire days as a single file so i'd prefer to try implementing it still03:53
CarlFKxfxf: for now03:53
GChrisspersonally I'm excited about the prospect of openFrameworks integration with live pipelines.  tap a face, type in who's speaking, add a few keywords, monitor the livestream, etc, from a tablet03:53
CarlFKxfxf: vocto chunks it into  5 min blocks03:53
xfxferk03:54
CarlFKyeah, I am not thrilled about that.  but again... it exists03:54
xfxfmy goal is basic switching as rapidly as possible03:54
xfxfhence this, the switcher/scaler/etc03:54
xfxfonce that works then i'll iterate out into more complexity03:55
CarlFKI don't think using hdmi2usb for mixing is a good idea03:55
xfxfwhy?03:55
xfxfit has two HDMI inputs03:55
xfxfwe usually have two HDMI sources03:55
xfxfwe can't get two streams from it at the same time03:56
CarlFKfor the moment, I want to save the sources03:56
xfxfand post-produce?03:56
CarlFKno03:56
xfxfbecause f*k that, i don't :)03:56
CarlFKwell.. for the moement, yes03:56
xfxfhave fun :)03:56
CarlFKbut I think we are weeks away from a mixer03:57
xfxfi would hope so too but i'm working off what i have now03:57
xfxfif my work is thrown away in 4 weeks then i don't care, better outcome for everyone03:57
xfxfif it's not at least i have an option i can confidently recommend to conferences moving forward03:57
CarlFKnot if you soak up GChriss's time :003:57
xfxfbeing in "this will work anyday soon now" territory makes me extraordinarily uncomfortable03:58
CarlFKI see your project right up there with gst-switch03:58
xfxfnone of this seems difficult to implement03:58
CarlFKwell.. reality suggests othewise03:58
CarlFKvocto would have been used in production a week or so ago but client call or something yanked MaZderMind away03:59
CarlFKdebconf is going to hack on it in a few weeks03:59
xfxfif it is i'm absolutely fine abandoning the effort03:59
xfxfthat's fine, if that's ready, rad, will switch to it03:59
CarlFKwell don't suck up reasources in your abandon ware :)03:59
CarlFKvocto builds and runs pretty cleanly04:00
GChrissI'll volunteer that the folks over at pitivi are really well versed with gstreamer pipelines (and, um, #gstreamer too but they're usually hacking away at the next gstreamer release)04:00
CarlFKGChriss: we need someone like you to actually do stuff04:01
GChrissi just glue things together!  but happy to help04:01
CarlFKhttps://github.com/voc/voctomix04:01
tpbTitle: voc/voctomix · GitHub (at github.com)04:01
CarlFKlike add a button to it's UI04:01
CarlFKthat does something04:02
CarlFKand MaZderMind (lead) will accept04:02
CarlFKwhich is currently up for debate04:02
CarlFKpersonally, I would like to see it log a time stamp to a text file04:03
CarlFKideally it would send a signal to the process writing the file04:04
CarlFKand end/start a new file04:04
CarlFKthe lack of Cut button is a blocker for quite a few people/events04:04
GChrissagreed04:07
GChrissI will volunteer that if you jot down the wall time when you know you will create a break in the file later that is most of the work04:07
CarlFK?04:07
GChrissthe `! filesink location=recording_`date +%s`.mkv part records the unix timestamp of when the recording was started as part of the file04:08
mithroxfxf: rotating files is hard04:08
CarlFKGChriss: take a look at: http://veyepar.nextdayvideo.com/main/recording_sheets/311/.pdfosdc2015_recording_sheets.pdf04:09
GChrissso convert "wall time of the break" to unix timestamp, do a subtraction, and you get durations to chop from the main file04:09
CarlFKGChriss: that pdf gets printed and put next to the mixer (in the room where the talk is )04:10
CarlFKsomeone writes down the hh:mm:ss  on the paper when the video should start04:10
GChriss^== I promise I was never this organized04:10
CarlFKat the end of the day, that data gets put into a django app that has the hh:mm:ss in the db, along with the false starts (are we ready  yes.  start...   start now.. hey!!! start talking!!!  20 seconds later...  startnow!04:11
CarlFKso there may be a few start times to pick from in the db.  the one written on the paper is what gets [x]apply04:12
CarlFKsame for the end. it isn't always obvious, so there may be a few choices.  the one on the paper [x]apply, hit save, onto the next one.04:12
CarlFKwe could write a little bash script that basically does this04:13
CarlFKbut having it in it's own ... gui?  will be problematic04:13
CarlFKhmm... I may want to hack up that shell script for Node conf in 20 days04:16
xfxfhttps://usercontent.irccloud-cdn.com/file/nU0KW03w/20151029_151839.jpg04:34
CarlFKI see dvswitch :p04:34
mithroIs that Chris and Katie?04:35
xfxfyes04:39
*** Sewar has quit IRC04:58
xfxfhttps://youtu.be/iQhhdhz232Q04:59
xfxfbe good to raise it over 15fps05:00
mithroxfxf: what are you using to do that?05:03
xfxfthe gstreamer pipeline + my script05:03
mithroxfxf: your script to do the switching?05:04
mithroand just a gstreamer pipeline direct to youtube?05:05
mithroxfxf: so, I get the behavior here were if you don't read from the serial port, writes eventually stop working05:05
mithroxfxf: I'm guessing you are not seeing that?05:07
*** Sewar has joined #timvideos05:16
xfxfnope05:17
xfxfand nah I saved it to disk, encoded to mp4 using ffmpeg, then manually uploaded05:18
xfxfthis is a veeery early test05:18
mithroxfxf: oh, so it wasn't a life stream05:18
mithroI just assumed it was live05:19
GChrissxfxf: you're using today (yesterday's) piplines? have you tried uploading the mkv directly to youtube?05:24
GChrissnot sure if it works w/o transcoding but worth a try05:24
CarlFKGChriss: xfxf and mithro live in the future.  everything we do we did yesterday ;)05:25
GChrissit's going to take me a while to wrap my head around this05:25
xfxfmithro: doing one step at a time. will def try streaming it next w/ flumotion05:28
GChriss"worth a try" ==> probably better with short videos05:29
mithroxfxf: what frame rate is the encoder on the atlys reporting?05:32
mithroseaLne: it would be good to understand why the rename script didn't work for you05:34
mithroanyone handy with ruby or python and know the github API?05:43
CarlFKmithro: github API rings a bell but I can't remember where.  what are you looking to do?05:48
mithroCarlFK: I need a tool which will help manage the hooks for all the repos under the timvideos organisation05:48
mithroCarlFK: basically, want to make sure that all the HDMI2USB-*** repos are set up correctly with IRC and email hooks05:49
CarlFKmithro: hmm.. I am still drawing a blank. but it is 1am, and  I am starting to blank on everything05:52
mithroCarlFK: Hooks are things which run when you push stuff into a github repo05:53
mithroCarlFK: the things which make the IRC announcements occur05:54
CarlFKmithro: yeah, I get what you want.  I am pretty sure I have talked with someone in the last few weeks that has said "git api"05:54
CarlFKand they probably know python.05:54
mithroCarlFK: well, see if you can rope them in for me :)05:55
mithroI'll also poke in #github and see if something already exists05:55
CarlFKmithro: of course.  but first I ahve to remember what country I was in ;)05:55
CarlFK #github is a good idea.  I get good results normally05:55
*** springermac has quit IRC07:17
*** springermac has joined #timvideos07:19
*** se6astian|away is now known as se6astian08:19
*** Bertl_zZ is now known as Bertl08:26
*** rohitksingh has joined #timvideos08:30
*** rohitksingh has quit IRC08:56
*** travis-ci has joined #timvideos09:11
travis-ci[timvideos/HDMI2USB-misoc-firmware/master#256] (8a2bf53): The build was fixed. (https://travis-ci.org/timvideos/HDMI2USB-misoc-firmware/builds/88069255)09:11
*** travis-ci has left #timvideos09:11
*** rohitksingh has joined #timvideos09:12
xfxfmithro: sorry, equipment all unplugged now. now i can actually record something i'm gonna start attacking local user groups now09:16
xfxfso i can provide more debug info09:16
*** rohitksingh has quit IRC09:26
*** rohitksingh has joined #timvideos09:39
mithroBertl: ping? It appears I can't count....11:46
*** Bertl is now known as Bertl_oO12:25
*** se6astian is now known as se6astian|away16:09
*** se6astian|away is now known as se6astian17:36
*** rohitksingh has quit IRC17:50
*** rohitksingh has joined #timvideos18:05
*** rohitksingh has quit IRC19:00
*** Bertl_oO is now known as Bertl_zZ20:18
*** se6astian is now known as se6astian|away22:17

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