Wednesday, 2015-10-28

*** tpb has joined #timvideos00:00
mithroThe HDMI2USB can do [email protected]00:01
tumbleweedI don't know if that telecine hack is something other cameras do, if so, one may want the HDMI2USB to be able to reverse it00:02
mithrotelecine hack?00:03
mithrotumbleweed: you mean the camera is doing pull-down00:03
tumbleweedyeah, they call it pf24. e.g.
tpbTitle: What's the best way to deal with Canon pf24 files? | Adobe Community (at
mithrotumbleweed: yeah - it should be actually pretty trivial to take that input and convert it to real [email protected] output00:15
*** CarlFK has joined #timvideos00:46
*** ChanServ sets mode: +v CarlFK00:46
mithroseaLne: FYI ->
tpbTitle: mithro/HDMI2USB-TOFE-HDMI4 · GitHub (at
CarlFKmithro:  flterm --port /dev/ttyVIZ0 --speed 11520001:05
CarlFKUnable to open serial port: No such file or directory01:05
CarlFKsure enough, it doesn't exist01:05
mithroCarlFK: I've explained how /dev/ttyVIZ0 works a bunch of times01:05
CarlFKyeah, this was working a few days ago01:06
mithroCarlFK: check dmesg01:07
CarlFKmithro: er.. hang on.  git pull is pulling new stuff, so trying with current files now01:08
mithroCarlFK: this has nothing to do with the stuff in git01:08
CarlFKI was wondering about that01:08
mithroCarlFK: It's provided by
tpbTitle: mithro/exar-uart-driver · GitHub (at
mithroCarlFK: and has very little to do with the HDMI2USB project really01:09
CarlFKmithro: [email protected]:~/src/tv$ apt-cache policy vizzini-dkms01:11
CarlFK  Installed: 1.0.0-5~ppa2~ubuntu14.0401:11
CarlFKwhoops. wrong host01:12
CarlFK[email protected]:~/HDMI2USB-firmware-prebuilt/atlys/firmware/unstable$ apt-cache policy vizzini-dkms01:13
CarlFK  Installed: 1.0.0-5~ppa2~ubuntu14.0401:13
CarlFK500 trusty/main amd64 Packages01:13
tpbTitle: Index of /timvideos/fpga-support/ubuntu (at
CarlFKok, fresh box, it is working01:33
tumbleweedCarlFK: I'd be interested if you have a box where it isn't working01:52
CarlFKtumbleweed: I do.  and it was working a week ago01:52
CarlFKi think...01:52
CarlFKit might have a public ipv601:53
tumbleweedalso, I probably need to get my atlys to work before the debconf video sprint :P01:53
CarlFKgive me 20 min to hack up a schedule consumer01:53
tumbleweedbut right now is not the time for *that* one01:53
CarlFKna, I got that one down (well, on a trusty box)01:53
CarlFKI hear mithro's openocd patches landed.    you don't even want to look at my packaing job, it will make you cry01:54
* tumbleweed needs to go grab something to eat. Back in half an hour or so01:55
mithroI have openocd in conda now01:55
mithroIf you take a look at the openocd branch, that makes openocd the default programmer01:56
CarlFKtumbleweed: I'll be home in 30 min and can get you ssh access to the box that isn't ttyVIZing03:00
tumbleweedthat works03:01
mithroCarlFK: have you looked at dmesg yet?03:07
*** CarlFK has quit IRC03:07
*** CarlFK has joined #timvideos03:25
*** ChanServ sets mode: +v CarlFK03:25
CarlFKhome.. give me a moment to unpack03:27
*** automatical has quit IRC03:46
tumbleweedgetting anywhere?04:00
mithrotumbleweed: Carl seems to have yet to check dmesg or if even the module is loaded / loadable04:04
CarlFKI got ... recruited ;)04:06
CarlFKname": "Opportunities in Openness. Driving positive change in local communities.",04:06
CarlFKroom": "",04:06
CarlFKit is happening ... outside!04:06
CarlFK"Thunder Talks" ?!04:09
CarlFKtrist booting04:22
CarlFKtumbleweed: what is your ghithub username?04:24
tumbleweedCarlFK: stefanor04:25
CarlFK[email protected]:~$ ssh-import-id gh:stefanor04:26
CarlFKdo you know about that?04:26
CarlFKssh -A -p 2227 [email protected]04:27
xfxfhey CarlFK are you running any >1tb drives in your laptops?04:29
xfxfi can only find two 2gb models that'll fit most laptops; one is a WD green so it's disqualified automatically, the other is a seagate whose reliability i question04:30
tumbleweedCarlFK: seems firewalled04:31
tumbleweedyou said something about ipv6?04:31
CarlFKtumbleweed: that was at ps1...04:32
CarlFKtumbleweed: sorry, got the port wrong.  try 272204:32
CarlFKxfxf: no, just 1T04:33
tumbleweedthat's more like it :)04:33
CarlFKxfxf: osdc expected:492 g04:33
CarlFKso 1t should be fine04:33
CarlFKtumbleweed: this is now just forensics04:35
CarlFKif I want it working I will reinstall the OS and start over04:36
CarlFKbut I think it is worth figuring out why it is broken04:36
xfxfCarlFK: this isn't for this, it's for future events where i expect i'll be capturing in HD04:37
xfxfi have a dedicated encode/storage PC but it's not practical to bring to interstate events i can't drive to04:37
tumbleweedCarlFK: so, you have a vizzini.ko for the previous kernel, but not the current one04:37
CarlFKtumbleweed: what should happen when apt-get upgrade pulls down a new kernel?04:38
tumbleweedyeah, it should04:38
tumbleweedcan haz root?04:38
tumbleweedI assume I can sudo but I can't remember your sudo password04:39
tumbleweedvirtualbox, 4.3.10, 3.13.0-65-generic, x86_64: installeddkms.conf: Error! No 'BUILT_MODULE_NAME' directive specified for record #0.04:40
tumbleweedguessing that's it04:40
tumbleweedError! Bad conf file.04:40
tumbleweedcan I kill virtualbox-dkms ?04:40
CarlFKvirtualbox... this sounds familiar...  like "let me bla bla up a vm..."04:41
tumbleweedno, it wasn't virtualbox04:42
tumbleweed I guess04:47
tpbTitle: #651973 - BUILT_MODULE_NAME[#] required if linux-headers-* is installed/updated after the foo-dkms package - Debian Bug report logs (at
tpbTitle: DKMS fixes by stefanor · Pull Request #3 · mithro/exar-uart-driver · GitHub (at
tumbleweedCarlFK: I'll upload that to the PPA now05:07
CarlFKoh cool, I didn't realized there was a fix05:07
tumbleweedthere wasn't :P05:08
CarlFKlol - yay bugfix!05:08
CarlFKI thought it was because this schedule data is making me rage05:09
CarlFK2799             if event['conf_key']==21:05:09
CarlFK2801                 event['location'] = 'Derwent 1'05:09
CarlFKI was able to figure that out by looking at how FF renders the html05:10
CarlFKand hope that is how the presenter figures out where to stand and talk05:10
tumbleweedmithro: ta05:10
* tumbleweed was amused to discover that dkms won't automatically build against new kernels, by default05:11
CarlFKcuz there are a handful of items in the json that don't have a room specified, and I don't see any other clue ... so ..05:11
xfxfthe optics and lens in those consumer cameras is going to suck for recording non-well lit venes05:18
xfxfthere's a reason i splash $2k on my cameras05:18
xfxfand for what they are/do they're cheap05:18
xfxfs/is going/are going/05:18
xfxfCarlFK: i got a dude fixing the source data now05:19
tumbleweedyeah, you can't beat a large lens05:19
xfxfmostly just filling in wrong/missing rooms05:19
xfxfCarlFK: i paid 2.5k new for one of my dvx200b's back in 2009 when they still cost that much new05:20
xfxfso you're probably going to end up dissapointed looking at new cameras under that05:20
xfxfrelative product performance to price doesn't tend to change over time05:21
xfxfrelative in terms of tech available at the time05:21
CarlFKI figured it was something like that05:21
xfxfif you want to go cost effective05:22
xfxfi'd be looking at an older HDV camera that can do 720p out05:22
xfxfHDV is 1080i max05:22
CarlFKthe $300 one is that05:22
xfxfa lot of people will be getting rid of good cameras with good optics because they want full 1080p + newer formats/codecs05:22
xfxfprobably worth looking at that then, as long as it will actually do 720p out via the HDMI05:23
CarlFKthe $300 may be good for me to experiment with.05:23
xfxfyeah for $300 sounds like a no brainer05:23
xfxfworst case scenario sell it again05:23
xfxfoh mlt05:23
xfxfthis is a useful error05:23
xfxfLOG: MLTDISABLED <b>swfdec</b> : this is an <b>optional</b> module that provides ... dunno ... . To enable it, try installing a package called something like ... dunno ....05:24
xfxfERROR: One or more required MLT modules could not be enabled05:24
CarlFKI love that error ;)05:24
CarlFKI have stopped building and use the one that comes from the shotcut tarball05:24
xfxfi'm updating your script to actually install everything it needs - i'll send  PR back so i don't have to do this dance agin05:24
tumbleweedCarlFK: PPA package published, and installed on that box of yours05:25
CarlFKtumbleweed: thanks tons.    that thing was bugging me in a I am getting stressed out not understanding what could be going on05:26
xfxfCarlFK: you probably want to update your install documentation, it's quite out of date now05:26
CarlFKxfxf: well.. I kinda want to bust it up into two or 3 separate parts: web server, encoder, and something else I can't remember05:27
xfxfyeah, nod, makes sense05:28
xfxfit's just eating time trying to get an instance working, working through errors and poking through code05:28
xfxfand yeah i know i can bug you but i need to understand the changes, so i'll do that if i get stuck05:29
CarlFKyou should poke me when you bump so I can tell you what's going on05:29
xfxfif i get too stuck i will - just again helps me to dig into this to understand i05:37
xfxfrather than asking you the same dumb questions every 2-3 months05:37
CarlFK$800  Sony HVR-HD1000U
tpbTitle: Sony HVR-HD1000U Digital HD HDV Camcorder (slightly used) (at
CarlFKhmm, no xlr in05:39
tumbleweedminijack, though05:41
xfxfno xlr in shouldn't matter - hdmi2usb isn't getting the audio from the camera05:43
xfxfwe're unfortunately still going to have to drag around mixers, which i was hoping to eradicate05:43
tumbleweedxlr in is usually from a mixer. It means the audio and video are naturally in sync05:44
xfxffortunately you can get quite light ones these days05:44
CarlFKreviews" it's not great in low light rooms. Camera is great for shooting outside and in great lighting"05:44
xfxftumbleweed: sure, but we typically usually feed xlr in from a venue mixer to the camera05:44
xfxfand capture audio/video from firewire05:44
xfxfwe can't do that with hdmi2usb, it'll need to be injected into a sound card/device05:44
xfxfwhich changes the setup a little05:45
tumbleweed"can't" is presumably a bit strong there05:45
tumbleweedbandwidth the issue?05:45
xfxfi asked the other day and was told no05:45
xfxfif we can - that would be amazing05:45
xfxfmeans much simpler cabling/setups/less equipment05:45
CarlFKmithro said "later"05:45
xfxfokay, good05:46
CarlFKxfxf: I am thinking to run xlr into the camera, use the camera's limiter and gain and vu meter, then analog out into a usb audio device05:46
xfxfi'm not aware of cameras that will do 'analog out'05:46
CarlFKor maybe firewire ... which makes me cry05:46
xfxfif you mean the hadphone jck you probably don't want do to that, it'll sound rubbish05:46
xfxfand if you mean the audio/video out jacks they're usually non-existant on HD cameras05:47
CarlFKthe dvx100 does it. that one I just posted: Audio L/R Output: RCAx205:47
xfxfsome of the HDV models might be a diff story tho as they're sort of transitional between SD and HD05:47
xfxfdvx100 isn't a HD camera05:47
xfxfi'm talking HD specifically, sorry05:48
xfxfer, HDMI05:48
CarlFKthat one I just posted: Audio L/R Output: RCAx205:48
xfxfit's not a standard thing rhough iirc05:48
xfxfthat said happy to be corrected05:48
xfxfxlr into camera with 2x RCA out sounds workable05:49
xfxfbbl, this laptop is running out of disk i/o and is lagging hard05:49
xfxfi'll keep typing liek an idiot05:49
CarlFKhmm, looking over the $1200 panasoncs I have been looking at, no audio out05:51
xfxfyou may just need to get a small USB sound card that takes USB in and has a compressor onboard05:52
xfxfthere's a bunch of them around05:52
mithrotumbleweed: did you upload to the PPA?05:52
xfxfusually fairly light, too05:52
tumbleweedmithro: yep05:52
CarlFK  Audio Output Connector: RCA pin jack x2 (Ch1/Ch2, 316 mV, 600 Ω)05:53
tpbTitle: Panasonic AG-AF100A Digital Cinema Camcorder AG-AF100APJ B (at
CarlFKI knew there was a reason to spend an extra $500 on that one ;)05:53
tumbleweeddon't think there's a huge value in going through a camera just for its compressor and vu meter05:54
tumbleweedbut then hdim2usb also isn't really targetted at camera capture05:54
tumbleweeddon't forget you need a lens :P05:54  $175005:55
CarlFKhey.. wheres the http?!05:55
tpbTitle: Panasonic AF100 (with 60p UPGRADE) camera + Fujinon lens FULL PACKAGE (at
tumbleweedthat's a weird looking body05:55
CarlFKright!  it looks like a ray gun05:56
mithrotumbleweed: copied to the other distro versions too?05:56
tumbleweedmithro: yep05:57
CarlFKI like that putting audio into the camera is a known working everything so that when things are wonky it helps isolate where the problem is.  like being able to plug headphones into the camera has become my normal place to monitor audio05:57
xfxftumbleweed: if hdmi2usb isn't targeted at camera capture, how are cameras intended to be captured?06:16
CarlFKit is targeted at camera capture06:19
tumbleweedI'd have said it's targetted at laptop capture06:20
tumbleweedand could do camera capture, as many cameras output HDMI06:21
tumbleweednot doing audio is a bit of an issue for camera capture :P06:21
tumbleweedyou don't need HDMI-out again, so you do have many more capture options06:21
tumbleweed(even if they're all awful)06:22
CarlFKI was tempted to look into others for Nodeshow, but meh.  there isn't a mixer ready06:23
seaLnexfxf: i've used 2x HGST Travelstar 1Tb laptop drives for the last 2 years and they have been fine07:23
seaLnemithro: would it make sense to collect kicad libs/mods that we create in the tofe template repository?07:25
seaLnemithro: your "stick it on github" for the mini-dp was a bit vague :)07:25
mithroseaLne: I mean - just put it up in a temporary github repo or gist or something07:28
tpbTitle: TE-2129320 · GitHub (at
mithroGuess I should order some of the parts so I can do a paper fit07:31
CarlFKseaLne: I haven't fogotten i owe you some debugging help.  but not now.  I need to get to bed.07:34
seaLnefor a pleasant change its datasheet was pretty understandable07:34
mithroseaLne: BTW how good is your git?07:36
seaLnepretty basic07:37
mithroseaLne: okay, let me construct a special repo for the VGA board07:38
mithroI'll basically merge the TOFE template and Rohit's repo07:40
seaLnei had some problems with the rename script when i had a quick look yesterday btw
tpbTitle: KDE Paste (at
seaLnenot looked at that properly though07:43
xfxfhaving problems trying to do PROG=fpgalink make load08:02
xfxfon latest git08:02
tpbTitle: Pastebin | IRCCloud (at
xfxfand i uninstalled the ixo-usb-jtag package08:02
xfxfunsure whether this is how i should still flash the device?08:03
seaLnei think its needed for getting to the jtag stage?08:03
xfxfi'll brb in about 2 hours to try setup again (have a test setup ready for last day of osdc, keen to attempt recording)08:03
seaLnemithro: i'm assuming high speed tofe boards will need to be 4 layer. due to the connections on both sides?08:07
mithroYou can't use ixo-usb-jtag with PROG=fpgalink08:07
mithroI'll be around in 30 ish minutes08:09
mithroseaLne: if your careful you might be able to get away with 2 layer but it isn't worth the effort, the price difference is just not worth the time.08:10
seaLnemithro: k, thats what i thought. and trying to debug random problems later wouldn't be fun08:12
mithroseaLne: ask Rohit :-)08:32
*** se6astian|away is now known as se6astian08:35
*** rohitksingh has joined #timvideos08:43
mithrospeaking of the devil, Hi rohitksingh08:46
*** tvCommitBot has joined #timvideos08:46
tvCommitBot[HDMI2USB-vmodvga] mithro pushed 2 new commits to master:
tvCommitBotHDMI2USB-vmodvga/master 2dfaa90 Tim 'mithro' Ansell: Removing files which shouldn't be committed.08:46
tvCommitBotHDMI2USB-vmodvga/master a9cdafc Tim 'mithro' Ansell: Removing from unused directories.08:46
*** tvCommitBot has left #timvideos08:46
rohitksinghmithro: hi!08:47
*** tvCommitBot has joined #timvideos08:48
tvCommitBot[HDMI2USB-vmodvga] mithro pushed 1 new commit to master:
tvCommitBotHDMI2USB-vmodvga/master 472ffa1 Tim 'mithro' Ansell: Rename PCB to board.08:48
*** tvCommitBot has left #timvideos08:48
rohitksinghwhat am i missing? :)08:48
seaLnerohitksingh: preperation for tofe i think08:49
rohitksinghseaLne: oh! awesome! and hi!08:50
seaLnerohitksingh: 07:38:37     @mithro | I'll basically merge the TOFE template and Rohit's repo08:51
rohitksinghgood idea! i haven't looked at TOFE template in kicad...lemme check08:53
tpbTitle: timvideos/HDMI2USB-TOFE-kicad-template · GitHub (at
mithrorohitksingh: cleaning up your repository a bit08:58
mithroseaLne / rohitksingh:
tpbTitle: timvideos/HDMI2USB-TOFE-VGA · GitHub (at
mithroseaLne: just need to clean up the board directory and move the things which should be libraries into the ../libraries directory09:04
mithroseaLne: let me rephrase that, you'll just need to up the board directory and move the things which should be libraries into the ../libraries directory09:05
seaLnemithro: thanks09:07
*** rohitksingh has quit IRC09:25
*** rohitksingh has joined #timvideos09:40
mithroseaLne: you should have push access to that repo09:42
seaLnei was assuming i should do things in a fork and file pull requests though as a workflow?09:44
seaLnemithro: how are you supposed to have connectors on the edge and have the keepout area? i'd assume connectors are ok in there?09:46
*** rohitksingh has quit IRC09:51
seaLnethat seems to be the way the pci(e) cards i have lieing around do it09:52
mithroseaLne: merging doesn't work so well with schematics / pcb design09:53
mithroseaLne: so found its better to just use a central repository09:53
mithroseaLne: follow what PCI cards do and you should be fine09:54
*** rohitksingh has joined #timvideos10:05
seaLnerohitksingh: did the vga pass through output work ok?10:16
rohitksinghseaLne: yeah, we have tested well!10:17
rohitksinghatleast with the monitors we tested :)10:18
seaLnepreviously when i'd looked at similar circuitry it was recomended to use transistors and pull up resistors which takes up lots more room10:21
seaLnei guess the output isn't really essential for this and if it caused problems you'd just disconnect it10:21
xfxfmithro or any others, still around?10:25
xfxfI'll head back to the area with the av gear if somebody can help me debug why hdmi2usb isn't working10:26
xfxf19:05:20 <@mithro> You can't use ixo-usb-jtag with PROG=fpgalink10:26
xfxfI'm not - uninstalled it10:26
mithroxfxf: okay10:30
mithroxfxf: what is the error?10:30
mithroI'm currently tidying up my place so when my mum arrives tomorrow I can pretend I'm an adult10:31
xfxfpasted above earlier - went out for dinner, just got back10:31
xfxfshould I be using fpgalink or the new method by using your branch?10:32
xfxfthe name of which escapes me10:32
mithroxfxf: use the fpgalink one10:41
mithroxfxf: did you power cycle the Atlys board after uninstalling ixo-usb-jtag10:41
xfxfok, what am i doing wrong?10:41
mithroxfxf: other open is openocd10:41
xfxfnot sure, but i'll try aain10:42
xfxfapparently not; it's working not.  not sure why i didn't think of that10:43
mithroPlease do10:43
xfxfer, it's working now rather, this keyboard sucks10:44
tpbTitle: Pastebin | IRCCloud (at
xfxfload-lm32 same10:45
tpbTitle: Pastebin | IRCCloud (at
tpbTitle: Pastebin | IRCCloud (at
xfxfthere is /dev/ttyACM0 though10:47
mithroxfxf: see the issue tumbleweed and CarlFK were discussing earlier10:50
mithroxfxf: update the exart package10:50
tpbTitle: Wednesday, 2015-10-28 (at
xfxfright, ta10:53
tpbTitle: Pastebin | IRCCloud (at
xfxfsomething funky happening though11:15
xfxfi'm having to unplug and plug in devices and reset the output resolution on the camera a few times before hdmi2usb sees it11:15
xfxfassuming something going wierd with negotiation11:16
xfxfghetto mixing works11:19
xfxfas soon as i enabled the encoder, the little LCD i'm using with output0 starts freaking out11:20
xfxfdisable encoder, picture back to normal again11:20
_florent_xfxf: the atlys does not have enough DDR bandwidth to enable all in/out ports together and the encoder11:22
_florent_you have to disable at least one input or output port11:22
xfxfthis is input0, input1, output0, encoder11:22
xfxfnot using output111:22
xfxfhmm, is this something we can overcome, or a hardware limitation btw?11:22
_florent_but is your output1 just unplugged or disabled? (in your pastebin it's enabled)11:23
xfxf'output0 off'11:24
_florent_and if you disconnect one input, same behaviour?11:24
xfxfoh hmm, unable to reproduce now11:25
xfxfperhaps i did have both outputs enabled11:25
_florent_this is something that is not happening on the Opsis (more DDR bandwidth), but we need to try higher frequencies for the DDR controller to get that working on the atlys.11:25
xfxfright, makes sense11:25
xfxfta for explanatin11:26
xfxfneat, will probably write up a basic pyserial script tonight to automate swapping inputs11:26
xfxfthis isn't critical for capture tomorrow, just taking the opportunity while here to test this11:26
mithroxfxf: if you do, link your stuff from
tpbTitle: Create a HDMI2USB GUI controller · Issue #41 · timvideos/HDMI2USB-misoc-firmware · GitHub (at
xfxfwill do11:31
xfxfyou're handy with gstreamer, know a working pipeline to save the hdmi2usb stream to disk?11:31
xfxfpreferably encoding to an intermediate format given raw mjpeg frames will be huge11:31
xfxffiguring it out now, you may know quicker11:31
*** rohitksingh has quit IRC11:33
mithroxfxf: I'd try saving raw mjpeg to disk first and see how much space it is taking up11:35
mithroxfxf: then go to something like webm11:35
xfxfwe did the math the other day and it'll be huge, but nod, doing that first11:35
mithroxfxf: #gstreamer is a good place to get help with that too btw11:35
*** rohitksingh has joined #timvideos11:48
*** Bertl_zZ is now known as Bertl12:05
mithroxfxf: can we close then?12:16
tpbTitle: input0 appears to be broken · Issue #114 · timvideos/HDMI2USB-misoc-firmware · GitHub (at
*** se6astian is now known as se6astian|away12:54
*** se6astian|away is now known as se6astian12:57
*** rohitksingh has quit IRC13:05
*** rohitksingh has joined #timvideos13:21
*** rohitksingh has quit IRC15:06
CarlFKwakes up, checks osdc data.. still empty rooms.15:16
*** rohitksingh has joined #timvideos15:17
GChrissxfxf: I'm handy w/ gstreamer pipelines. is a good place to start15:29
tpbTitle: GST cookbook - XiphWiki (at
CarlFKGChriss: do you have one of the hdmi2usb boards?  (Atlys or Opsis)15:41
GChrissNo, but usually videotestsrc can be used as a stand-in for testing purposes15:47
CarlFKGChriss: the data coming over usb needs to be.. um.. taken into account?15:51
GChrissthe brunt of the work is figuring out what the pipeline you want should look like and stitching it together, editing as needed for CPU stability.  assuming the usb data transfer is not CPU-intensive it should be OK15:54
CarlFKGChriss: this pipeline works for reading from hdmi2usb and converting to dv15:54
tpbTitle: Ubuntu Pastebin (at
CarlFKcan you remove the dv and replace with filesink?15:55
GChrissa channel PSA for anyone interested in gstreamer pipelines: it's important to place a queue (with increased buffer size defaults -- see GST cookbook) between every element that does something with the datastreem.  without queues elements will block on each other which is akin to running a car engine without oil15:58
* GChriss looks at hdmi2usb pipleine15:58
CarlFKyou can chuck the audio - or if you can read in from a usb sound device (or alsa or whatever layer) that would be great16:01
GChrissgoing for lunch but see if the following does what you're expecting on your system:16:30
GChrissgst-launch-1.0 videotestsrc is-live=true ! video/x-raw,framerate=\(fraction\)30000/1001,width=1280,height=720 ! queue max-size-bytes=100000000 max-size-time=0 ! videorate ! video/x-raw,pixel-aspect-ratio=\(fraction\)32/27 ! queue max-size-bytes=100000000 max-size-time=0 ! videoscale ! video/x-raw,width=720,height=480 ! queue max-size-bytes=100000000 max-size-time=0 ! videoconvert ! queue max-size-bytes=100000000 max-size-time=0 ! avenc_dvvideo ! queu16:30
GChrissI'll need to build dvswitchsink and such16:30
CarlFKI don't think you understand16:32
CarlFKthis is to run without dvswitch.  without dv anything.  so no width=720,height=48016:33
CarlFKalso, your paste got cut off at: "... ! avenc_dvvideo ! queu"16:34
*** Bertl is now known as Bertl_oO16:58
GChrissoops, ok.
tpbTitle: GST cookbook - XiphWiki (at
CarlFKGChriss: thanks.. checking...17:19
*** se6astian is now known as se6astian|away17:22
GChrissI guess the 'DV NTSC' par is a DV NTSC thing, can add on-screen display if needed17:23
GChriss30FPS needed or is a reduced framerate ok?17:24
CarlFKgood Q...17:25
CarlFKrunning on a Intel(R) Core(TM)2 Duo CPU     T7500  @ 2.20GHz17:28
CarlFKtop shows both cores 50% id17:28
CarlFKso current pipeline is ok17:28
GChrissanther question: do the Opsis and/or hdmi2usb boards drop/add samples as needed to stay synced to real-world time?  or all frames are processed/sent through to v4l2?17:29
CarlFKI don't know17:29
CarlFKgst-launch 80%17:30
GChrissgnome-system-monitor is a bit better than top for visualizing what's going on: you're looking for 'smooth/flowing' cpu utilization lines17:31
GChrissas opposed to ones that stick to 100% for more than a second or two, sharp jumps, hills and valleys17:31
CarlFKgnome-system-monitor ... both cpu are around 50% =- at most 5%17:33
CarlFKno spikes17:33
GChrissthat's a stable pipeline (but monitor over several hours and also switch to real video input)17:33
GChrisswith complex motion17:34
GChrissnot really an issue if it's just jpeg encoding but it's possible that video encoders can stall under certain conditions (slow pans seem to be the most problematic)17:35
GChrisson the "drop/add samples" question: if the answer is 'no/not currently' it might be possible to implement a simple rtsp server on the boards; gstreamer can pull in frames using rtspsrc17:36
GChrissit's important for a/v sync17:37
CarlFKrtsp server on the boards - can you bring that up on the list?18:05
CarlFKsounds like you know what you are talking about.  I kinda know, but don't really have anything to offer the conversation18:06
CarlFKbb in 1018:08
*** CarlFK has quit IRC18:12
*** CarlFK has joined #timvideos18:42
*** ChanServ sets mode: +v CarlFK18:42
*** rohitksingh has quit IRC19:11
*** CarlFK has quit IRC19:30
*** CarlFK has joined #timvideos19:42
*** ChanServ sets mode: +v CarlFK19:42
xfxfGChriss: ta, there's some extra magic needing to get it working with v4l2src though22:25
xfxfassuming some yuv stuff based off what v4l-conf is telling me22:26
xfxfah, neat, got something working22:39
GChrissin theory recording from hdmi2usb can be done w/ embedded hardware: ~$40 Allwinner-based SoC board, jpeg encoding w/ Cedrus-based hw acceleration (working I believe, but no GStreamer integration as of yet), and SATA connection to a HDD22:50
CarlFKGChriss: all this recording stuff is temporary22:55
CarlFKthe ultimate plan is to feed a live video mixer like
tpbTitle: DVswitch (at
xfxfGChriss: you still around?23:07
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`.mkv23:07
xfxfthat works... sort of23:07
xfxfas in, i'm getting video, audio captured, but the video plays back super slow, as in, 10fps23:07
xfxfand yes i've intentionally gutted out the jpegenc stuff, i'm just trying to save the raw mjpeg from hdmi2usb for now23:08
xfxfi'll add in encoders etc once that's working23:08
xfxfi couldn't find a working video=x-raw/whatever line, even matching info from v4l-conf, hence jpegparse23:09
xfxfi'm assuming it's probably inferring the framerate or something wrong?23:09
xfxf(or maybe it's something else)23:09
xfxfoh and with a jpegdec after jpegparse, and with your original jpegenc, same issue23:10
xfxfCarlFK: i'm running hdmi2usb through a vga > hdmi scaler, output is 1280x800 (16:10 projectors here), [email protected] forced out of the scaler.  even with rescaling the capture of this talk (small terminal text) looks so much better than dv it's not funny23:21
xfxfas soon as i get a working gstreamer pipeline i'll upload some actual capture23:22
CarlFKxfxf: did you try
tpbTitle: GST cookbook - XiphWiki (at
CarlFKit worked for me, but hdmi2usb static test pattern.  so I can't tell if playback is slow23:31
xfxfit's not capturing from hdmi2usb23:31
xfxfnote 'videotestsrc'23:31
xfxfyou need extra bits in the pipeline to deal with the specific format data coming out of the hdmi2usb23:32
xfxfwhat i pasted is that modified for hdmi2usb23:32
xfxfwhich works. just again, video plays back at a suuuper slow speed and out of sync with the audio23:32
CarlFKdammit.  I didn't play that close attention23:33
xfxfif somebody sees this - would appreciate help.  at an event, everything's plugged into the hdmi2usb, great opportunity to actually test this at an event23:37
xfxfjust need a working gstreamer pipeline to actually save the video + mux in alsa audio from an external sound card23:37
mithroCarlFK: that thing in the cookbook doesn't use the mjpeg pathway?23:58
mithroxfxf: take the one out of the dvsource-v4l-other23:59
CarlFKmithro: um.. du know.23:59
mithrovideotestsrc is-live=true ! video/x-raw <---23:59
CarlFKit didn't use v4l.  I haven't tired anything else.23:59

Generated by 2.13.1 by Marius Gedminas - find it at!