Tuesday, 2014-01-21

*** tpb has joined #timvideos00:00
mithroCarlFK, a video source doesn't have audio00:58
mithrobe back in 1 hour01:00
*** mithro has quit IRC01:06
*** mithro has joined #timvideos01:26
mithroCarlFK, back now01:30
mithroCarlFK, I think you meant https://github.com/timvideos/dvsource-v4l2-other01:31
tpbTitle: timvideos/dvsource-v4l2-other · GitHub (at github.com)01:31
mithroCarlFK, send a pull request and I'll merge01:31
CarlFKmithro: im back too01:55
CarlFKpull requests coming up01:55
CarlFKmithro: I am trying to add audio to the test feed02:03
mithroCarlFK, I don't really want to add audio to the test feed02:03
CarlFKwhy not?02:03
mithroCarlFK, because the *real* source will never have audio02:04
mithroCarlFK, I would be happy for a dvsource-test source type thing02:04
mithroCarlFK, I'm already in progress to split dvsource-v4l2-other into a library and dvsource-v4l2-other and dvsource-gst02:04
mithroCarlFK, I assume you actually want a dvsource-fake ?02:07
CarlFKmy first goal is to get rid of the red !02:07
CarlFKa real dv cam does have audio02:07
CarlFKso I think the v4l needs to supply something, even if it is just silence02:08
mithroCarlFK, sorry went to lunch03:12
mithroCarlFK, back now, you still around?03:12
CarlFKyep03:12
mithroCarlFK, can you send a screenshot of the red !03:14
mithroCarlFK, I'm on a pretty old dvswitch, so don't get anything like that03:15
CarlFKmithro: ever seen what happens if you don't set the audio on the camera and twinpact to the same bitrate?03:15
mithroCarlFK, nope!03:15
CarlFKhmm03:15
mithroCarlFK, is that even possible? I thought DV only had one bitrate for audio?03:16
mithros/DV/standard compliant DV/03:16
CarlFKdo you have a twinpact handy?03:16
CarlFKSwitch B,4 - 48kHz 16 bit / 32kHz 12 bit03:17
CarlFK16 bit is 2 chan, 12 bit is 403:18
mithroCarlFK, not at this very second03:20
mithrowow you are correct03:20
mithroAudio can be stored in either of two forms: 16-bit Linear PCM stereo at 48 kHz sampling rate (768 kbit/s per channel, 1.5 Mbit/s stereo), or four nonlinear 12-bit PCM channels at 32 kHz sampling rate (384 kbit/s per channel, 1.5 MBit/s for four channels). In addition, the DV specification also supports 16-bit audio at 44.1 kHz (706 kbit/s per channel, 1.4 Mbit/s stereo), the same sampling rate used for CD audio.[7] In practice, the03:20
mithro48 kHz stereo mode is used almost exclusively.03:20
mithroCarlFK, so what happens if you give dvswitch different audio formats?03:22
CarlFKhttp://veyepar.nextdayvideo.com/site_media/static/veyepar/temp/dvsbang.png03:22
tpb<http://ln-s.net/AXSp> (at veyepar.nextdayvideo.com)03:22
CarlFKnormally dvswitch will use the first source as a reference, and check that additional sources match it so that you can switch between them03:23
CarlFKif the additional ones are off, red (!) on the thumb03:23
CarlFKI am surprised that the first source is throwing that03:23
mithroCarlFK, okay - I'll add an empty audio source03:25
CarlFKyay.03:25
mithroCarlFK, silence okay? Or do you need an actual tone?03:28
CarlFKI would prefer a tone03:28
CarlFKtest the VU meeter (did you see how lilttle it is?)03:28
mithroumm....03:29
mithro       -d, --rate=48000|32000|4410003:29
mithro              Specify the sample rate, in Hz.  The default is 48000.03:29
mithro       -d, --delay=DELAY03:29
mithro              Specify the time by which audio should be delayed, in seconds.  The delays in live audio and video sources need to be closely matched03:29
mithro              in order that the audio and video signals will be synchronised in the output of DVswitch.  The default is 0.2.03:29
CarlFKUsage: dvsource-alsa [-h HOST] [-p PORT] [-s ntsc|pal] \03:29
CarlFK           [-r 48000|32000|44100] [-d DELAY] [DEVICE]03:29
CarlFKmy pull request was to change your -? to -s (for system)03:30
CarlFKbut I pretty much need to fork, clone, edit, test, commit, push and pull request03:30
CarlFKcan you just change -f --format to -s --system (and the 2 or so places .format is used ?03:31
mithroCarlFK, is --system read from the config file in some way?03:34
CarlFKyes - just like host and port03:37
mithroCarlFK, what is the name? MIXER_HOST and MIXER_PORT03:38
CarlFKgood q.. maybe I am wrong about that.. looking at the source a 2nd time https://alioth.debian.org/plugins/scmgit/cgi-bin/gitweb.cgi?p=dvswitch/dvswitch.git;a=blob;f=src/dvsource-alsa.c;h=692983b6358d01a10a78f0f1139eb61312f656ea;hb=HEAD03:41
tpb<http://ln-s.net/AXTK> (at alioth.debian.org)03:41
CarlFKhey look, you can put a file here too: read_config("/etc/dvswitchrc"03:48
mithroCarlFK, yeah, I found that part03:58
CarlFKmithro: here is what I got from #gstreamer http://pastebin.com/4AVu35E004:23
tpbTitle: gst-launch-0.10 videotestsrc is-live=true pattern=18 ! queue leaky=2 max-si - Pastebin.com (at pastebin.com)04:23
mithroCarlFK, it looks like gstreamer doesn't support the 12bit format of DV audio04:24
mithro(as in can't generate it)04:24
CarlFKthat is pretty much OK04:26
CarlFKI am the only one that tried to use it.. I was hoping to be able to save 4 audio tracks from different sources04:27
CarlFKnow I just use audio cables to do that mixing and save 2 mono tracks - 1 from the sound board, one from a mic on the camera04:28
mithroCarlFK, why don't you just use a USB mixer thingy?04:37
mithroCarlFK, btw it doesn't look like you are on the dvswitch branch04:38
CarlFKusb mixer - I have stopped using "that" (for various values of that) and gone with pugging mixer out into 1 channel of the camera's audio in.  and then use the mic on the camera for the 2nd channel.04:40
CarlFK.   when I encode, I copy channel 1 over channel 204:40
CarlFKbut if channel 1 is ever broken, I can use channel 204:41
CarlFKit will suck, but it is better than nothing04:41
mithroCarlFK, do you have "gst-inspect-1.*" on your system ?04:47
CarlFKyes - lots of output04:48
CarlFKwant to see?04:48
CarlFKhttp://paste.ubuntu.com/6789792/04:50
tpbTitle: Ubuntu Pastebin (at paste.ubuntu.com)04:50
mithrogst-inspect-1.0 avmux_dv04:50
CarlFK$ gst-inspect-1.0 avmux_dv04:53
CarlFKNo such element or plugin 'avmux_dv'04:53
mithrogst-inspect-1.0 libav04:55
CarlFKNo such element or plugin 'libav'04:55
mithrooh04:55
mithroapt-get install gstreamer1.0-libav ?04:56
CarlFKhttp://paste.ubuntu.com/6789810/04:56
tpbTitle: Ubuntu Pastebin (at paste.ubuntu.com)04:56
CarlFKbtw, this is super cool: $ gst-inspect-1.0 avmux_dv|pastebinit04:57
mithroCarlFK, okay - that confirms it has the same bug I'm seeing04:57
mithroCarlFK, looks like 44.1kHz doesn't work either....05:22
CarlFKhow about 48k?05:25
mithro48k works05:29
*** ilan has quit IRC05:33
CarlFKis that checked in yet?05:34
mithrohttps://bugzilla.gnome.org/show_bug.cgi?id=72267205:37
tpb<http://ln-s.net/AXXF> (at bugzilla.gnome.org)05:37
mithroCarlFK, will any moment05:42
*** tvCommitBot has joined #timvideos05:44
tvCommitBot[dvsource-v4l2-other] none pushed 3 new commits to master: http://git.io/81be4g05:44
tvCommitBotdvsource-v4l2-other/master f7f3590 Tim Ansell: Initial commit05:44
tvCommitBotdvsource-v4l2-other/master 152e63c Tim 'mithro' Ansell: Merge remote-tracking branch 'origin/master'05:44
tvCommitBotdvsource-v4l2-other/master d49c09c Tim 'mithro' Ansell: Adding usage test to README.05:44
*** tvCommitBot has left #timvideos05:44
*** tvCommitBot has joined #timvideos05:45
tvCommitBot[dvsource-v4l2-other] mithro pushed 6 new commits to dvswitchsink: http://git.io/_A-BVg05:45
tvCommitBotdvsource-v4l2-other/dvswitchsink 4347e61 Tim 'mithro' Ansell: Fixing two comments.05:45
tvCommitBotdvsource-v4l2-other/dvswitchsink 9096f40 Tim 'mithro' Ansell: Changing from --format to --system to be consistent with dvsource-alsa.05:45
tvCommitBotdvsource-v4l2-other/dvswitchsink 2523c35 Tim 'mithro' Ansell: Adding helpful instructions about which packages to install.05:45
*** tvCommitBot has left #timvideos05:45
*** ilan has joined #timvideos05:56
CarlFKmithro: got it. works as hoped.  no ! and if I play the stream I get audio06:19
mithroCarlFK, great06:57
*** NickB_ is now known as NickB07:05
mithroNickB, ping?07:27
NickBmithro: Heya, saw your mail. Haven't replied yet08:07
mithroNickB, no worries! Just wanted to confirm that you where the Nick from Perth08:08
NickBYep, that's the one, LG500, http://www.wklaser.com/pro_183.aspx08:09
tpbTitle: LG500(STAND) laser engraver-Laser engraving machines-Products-Laser engraving machine|Laser cutting machine|CNC router-G.Weike Laser (at www.wklaser.com)08:09
NickBand the big brother LC129008:09
mithroI've sent an enquiry to G.Weike/wklaser about getting the LG500(DESK) model08:16
mithrothey are currently getting me a price for door-to-door shipping08:25
NickBmithro: Replied, for introduction/posterity.08:26
NickBLooks like JINAN G WEIKE SCIENCE08:26
NickB...shipped straight to us?08:27
NickBvia Singapore08:27
NickBSHIPPER08:27
NickB: JINAN G.WEIKE SCIENCE & TECHNOLOGY08:27
mithroyeah,that sounds like the same people08:27
mithroAs I've read on the internet, the two following fees are a bit of a killer :(08:28
mithroPort Services Charge 720.00 AUD08:28
mithroTerminal Handling Charge 210.00 AUD08:28
NickBWell, nice to get a breakdown. Not toooo bad on $4000-$11000 worth of gear. I guess the $720+GST is the nominal "shipping" charge.08:31
mithroThe "shipping" charge is actually probably like $20008:35
mithrothe Port Services Charge / Terminal Handling Charge is to get your stuff out of the port that it arrived in Australia08:36
mithroso I'm hoping that if they do door-to-door shipping that will be taken care for me08:36
NickBahhh. So shipping is Origin CFS & THC08:36
NickB? 240.00 USD08:37
NickB?08:37
mithroNickB, yeah - that looks right08:37
NickBOrigin Consignment For Shipping & Terminal Handling Charge,  maybe?08:37
NickBI wonder if Fremantle port is any better or worse than Sydney...08:38
*** ilan has quit IRC10:18
*** ilan has joined #timvideos10:18
*** ilan has quit IRC10:30
*** ilan has joined #timvideos10:33
*** ilan has quit IRC10:47
*** ilan has joined #timvideos10:49
*** thaytan has joined #timvideos12:05
thaytan:)12:05
mithrothaytan, the biggest reason I haven't already ordered the desktop model of the LG500 we played with at the artifactory is shipping12:07
thaytandesktop model too?12:07
mithrohttp://www.wklaser.com/pro_180.aspx <----12:07
tpbTitle: LG500(DESK) laser engraver-Laser engraving machines-Products-Laser engraving machine|Laser cutting machine|CNC router-G.Weike Laser (at www.wklaser.com)12:07
mithroThe one they have at the artifactory is http://www.wklaser.com/pro_183.aspx12:08
tpbTitle: LG500(STAND) laser engraver-Laser engraving machines-Products-Laser engraving machine|Laser cutting machine|CNC router-G.Weike Laser (at www.wklaser.com)12:08
thaytanahar12:11
mithrothe actual device is $2800 with bits, sea transport is $50, but then you end up with $700 in fees to get it out of the Sydney sea port12:15
mithrothe sea port fees are pretty much the same despite the size of the item12:18
thaytan:-/12:31
mithrojust have to convince some friends to get one also at the same time :)12:33
mithroit might actually end up being cheaper to air freight it rather then sea freight12:45
thaytanI won't be any time soon12:49
*** mithro has quit IRC13:02
*** mithro has joined #timvideos13:46
CarlFKmithro: can you do 2 things to  https://github.com/timvideos/dvsource-v4l2-other/blob/dvswitchsink/README.md17:50
tpbTitle: dvsource-v4l2-other/README.md at dvswitchsink · timvideos/dvsource-v4l2-other · GitHub (at github.com)17:50
CarlFK1. remove/replace the help syntax17:50
CarlFK2. um.. I think it has more dependencies ?17:50
CarlFKif you think what is there is correct, I'll give it a shot on a vanilla Saucy box.. or whatever release you want17:51
CarlFKI am trying to send emails to collect some $, which I should do before I do any real work on things like Edit a Readme17:54
*** mithro has quit IRC18:29
*** Super_Roach has joined #timvideos20:04
*** SuperRoach has quit IRC20:07
*** Super_Roach is now known as SuperRoach21:28

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