/srv/irclogs.ubuntu.com/2011/06/14/#ubuntu-us-mi.txt

rick_h_snap-l jcastro so you guys all set for tomorrow ride wise?01:39
rick_h_don't need me to run over?01:39
snap-lrick_h_: Nah, I'm cool01:40
snap-lJoDee isn't going to class tomorrow, so I have a cara01:40
snap-land jcastro is getting a ride from me01:41
rick_h_ok, cool01:41
jjessehey kdis :)01:41
jjessekids :)01:41
snap-lThanks for checking, though01:41
greg-gjjesse: heya there!01:43
jjessewhats up greg-g01:44
greg-gnot much, just working on my slides for tomorrow night's MUG meeting01:46
jjessecool01:47
jjesseam i still online?02:09
greg-gappear to be02:12
greg-gnot anymore02:22
snap-ljjessse: You are now offline. ;)02:23
greg-ghey, everyone who is going should say so here: http://loco.ubuntu.com/events/team/974/detail/   :)02:26
greg-gsmoser: widox Blazeix _stink_ jcastro Wolfger ^^02:29
jcastroON IT02:33
jcastrosnap-l: good news craig bologna02:34
jcastrosnap-l: I have a car, I can drive tomorrow if you want02:34
slestak_netbookhola guys.  got a tip there was a pretty avid pylons user lurking02:44
slestak_netbookbeen beating my head against the wall with a nosetest for an http post02:44
rick_h_heh, possibly02:44
rick_h_what's up?02:44
brousch1rick_h_ is the bizomb02:45
slestak_netbookhelping out w rhodecode, a foss hgweb replacement02:46
slestak_netbookquashing a bug in the ldap auth module02:46
slestak_netbookwhile i was there, thought i would fill in some unittest stubs02:46
slestak_netbooki am not a webdev, but i am trying to pitch in02:47
rick_h_gotcha02:47
slestak_netbookthis is pylons 1.0, using webhelpers forms02:47
slestak_netbooksec, cat02:47
slestak_netbookim getting an http 200 when i call self.app.post02:48
slestak_netbookive checked routes and controller mapping pretty closely02:48
rick_h_ok, and you're expecting a 302 or something?02:48
slestak_netbookthat is a redirect?02:49
rick_h_yea02:49
slestak_netbookim expecting the db to be updated,. but my dict of formdata is not being commited to the spqlite db02:49
slestak_netbookusing sa02:49
rick_h_so things to check, if they're doing a redirect make sure you're getting the 30202:50
rick_h_if not, make sure they're not checking for a submit button or something in the POST values02:50
slestak_netbooki know im getting a 20002:50
rick_h_and you're note actually triggering the post02:50
rick_h_right, but are they redirecting?02:50
slestak_netbooklemme see02:50
rick_h_most forms do, so might be a sign there's something missing in the step02:50
slestak_netbook https://bitbucket.org/slestak/rhodecode02:51
rick_h_k, but where am I looking ?02:51
slestak_netbookim looking, i didint know if you wanted it02:52
slestak_netbookyes, they are redirecting in the controller to ldap_home02:53
rick_h_file/line number?02:53
rick_h_controllers/?02:53
slestak_netbookhttps://bitbucket.org/https://bitbucket.org/slestak/rhodecode/src/3aa8ac731ad8/rhodecode/controllers/admin/ldap_settings.pyslestak/rhodecode/src/3aa8ac731ad8/rhodecode/controllers/admin/ldap_settings.py02:54
slestak_netbookthat doesnt look right02:54
slestak_netbookadmin/ldap_settings02:54
slestak_netbookim sry, i need to put kgardner to bed.  shes awaiting with book in hand02:55
rick_h_k02:55
rick_h_for when you get back:02:56
rick_h_from looking at this I'd say that you're getting an error of one sort of another02:56
rick_h_all of them are set to 'flash' so you should see them in the html of the response02:56
rick_h_so I'd log.debug(str(response) form your untit test02:57
rick_h_and see what's coming back at you02:57
slestak_netbookyou can use the logger in nosetests too?  wasnt sure abt that02:57
rick_h_yea, just make sure to tell it to output log info02:57
slestak_netbookyeah, with -s02:58
slestak_netbookback in a bit02:58
rick_h_ nosetests --with-id -v -s -x --with-pylons test_psql.ini qmail_app/tests02:58
rick_h_is my usual nosetest command02:58
snap-ljcastro: I have a car as well03:15
snap-lI can still pick you up if you want03:15
jcastrook03:26
slestak_netbookgonna add thaqt debug03:28
rick_h_slestak_netbook: you following what I mean?03:28
slestak_netbooki did some looking around github and bb and not a lot of projects fill in their testing03:28
slestak_netbookyeah, i think so.03:29
rick_h_heh, yea :(03:29
rick_h_but we all love people that add to testing :)03:29
slestak_netbooki see some tests that are setting the status in the post call03:30
rick_h_they do status=302?03:30
slestak_netbookhttps://bitbucket.org/russellballestrini/pylowiki/src/ab49079b3da4/pylowiki/tests/functional/test_login.py03:30
slestak_netbookyes03:30
rick_h_yea, that'll blow up if anytrhing but a 302 comes back03:30
slestak_netbookhe doesnt have any asserts in there so i think its a wip03:31
rick_h_it's an auto assert03:31
rick_h_bonus for calling the request03:31
rick_h_I use that all the time03:31
rick_h_http://pythonpaste.org/webtest/#what-is-tested-by-default03:32
rick_h_man, this node.js thing is just too fast. Poor server goes boom03:33
slestak_netbooki need to find the hadle to log.  not available in my test harness as log.debug03:35
rick_h_you can also just print it03:35
rick_h_have to find the output03:36
slestak_netbookyou find pylons old schoolers resistant to port to pyramid?03:36
rick_h_oh, log only shows with a failing test03:36
rick_h_so make sure you assert False03:36
rick_h_I'm not sure, work people are "ugh, learning another system"03:36
rick_h_but it's not like this is java03:36
rick_h_I don't know how adoption overall is going03:36
slestak_netbookthis fellow i am helping i think has no desire to port03:37
slestak_netbooki think its trying to make me log in again03:41
rick_h_k, that might be03:42
rick_h_so you need to send auth or go through the login page first03:42
slestak_netbooki have a helper to login, i think i am just looking at the login link in the response03:43
rick_h_ah, ok03:43
slestak_netbookim looking at the ldap settings form03:43
slestak_netbooki can see the listboxes03:44
rick_h_k, look for a div/something with "flash"03:44
slestak_netbooki see that, there is no message to flash03:45
slestak_netbookthe post was not valid, should not have the 200, so i know sth fouled up03:45
slestak_netbookthx for the assist.  im going to look at this a bit more and get some sleep03:49
rick_h_k, let me know if you find it03:50
slestak_netbookrick_h_: got it04:36
slestak_netbooki wasnt comleting enough of my form toget past validation04:36
slestak_netbookonce i completely filled in param, it worked04:37
brouschrick_h_: did you sort our slestak last night?12:56
brouschsort out12:56
greg-gbrousch: it looks like from the scroll back that rick_h_ helped and then slestak got it working in the end13:09
brouschcool13:11
brouschhad some more pain trying to use unity last night13:12
rick_h_brousch: yea, think he got it13:13
rick_h_and fun on the unity pain13:13
brouschaptana pydev (eclipse) requires sun-java6. there is no sun-java6 in ubuntu any more. there's a ppa, but apparently it doesn't have 64 bit sun-java6. so it seemed to work with open-jdk, except only the Window menu shows up13:14
rick_h_my boss tried to install/get it and gets a blank screen on startup13:14
rick_h_he's a bit cranky13:14
rick_h_hah, so the solution is to not use aptana, come home to vim! :)13:15
brouschi had blank screens in 2 cases: nvidia-96 drivers (still not available) and a monitor that's not strictly supported13:15
rick_h_we haven't gotten you switched yet? Did you watch my screencasts?13:15
brouschi need eclipse for android if nothing else13:15
brouschi am memorizing vim shortcuts at the rate of 1/month ;)13:16
rick_h_move up to 1/wk13:16
rick_h_that's the trick13:16
rick_h_after a while you get your set13:16
rick_h_I find different people have slightly different sets13:16
brouschi learn one when something is annoying to do, like delete a very long line13:17
brouschor go to the bottom of a file13:17
rick_h_good ones I use a ton13:18
rick_h_dtX is another good know to have on hand13:18
brouschdeath trap?13:19
rick_h_dt[somechar]13:19
rick_h_delete up until you hit this character13:19
greg-ghuh, neat13:19
brouschah, nice13:19
rick_h_df[char] will include that character i the deletion13:20
rick_h_I tend to use dt though, have to always think about the f version13:21
rick_h_anyway, very useful in changeing a value in a csv, email addresses, things with stop characters like @,/ and such13:21
brouschhow would i go the middle part of a long line?13:22
brouschgt?13:22
rick_h_f[somechar]13:23
rick_h_I tend to use that13:23
rick_h_pick a character in the middle and aim for it13:23
rick_h_; will repeat the last f command13:23
rick_h_so in a csv, I might do f, and then hit ;;; until I get to the right field13:23
brouschis that a colon or semi-colon? my coffee-deprived eyes cannot tell13:23
rick_h_semi13:23
rick_h_don't like to have to use modifier keys, needs more keystrokes13:24
brouschyeah13:25
brouschand i'm a bad typist13:25
snap-lbrousch: What's the link to your keyboard shotcut guide for UNity?13:25
brouschit was in one of jcastro's askubuntu threads13:26
snap-lRight, but you coallated it.13:26
brouschhttp://clusterbleep.net/files/Ubuntu_11.04_Unity_Cheat_Sheet.pdf13:27
snap-lThank you. :)13:27
brouschnp13:27
brouschthe askubuntu threads are in the footer of that13:27
brouschi like the desktop wallpaper version someone made13:28
brouschi can switch to an empty workspace and check it quickly13:28
snap-lGot a link to that as well? :)13:29
* snap-l is cribbing resources together. ;P)13:29
rick_h_I smell MUG mtf reuse13:29
rick_h_/mtf/mtg13:29
snap-l*whistles*13:29
snap-lI'm totally giving Ben credit13:29
brouschhttp://askubuntu.com/questions/28086/unity-keyboard-mouse-shortcuts13:29
rick_h_it's all good, it's in the loco13:29
snap-lrick_h_: exactly. :)13:30
brouschjcastro compiled the commands. these are just different versions of his work13:30
brouschso make sure you give him credit ;)13:32
snap-lHe'll be there, so he can take credit if he wants. ;)13:33
Wolfgerdt should be easy to remember... "delete to". But that makes me want to think of df as "delete from", and it sounds like that's not what it does. :\13:34
rick_h_yea, df doesn't click with me like dt does13:34
_stink_i just think 'delete find'13:34
_stink_i use them about the same amount13:35
rick_h_yea, I mean it's kind of amazing how personal vim is13:35
_stink_but it's funny how different folks settle into different uses13:35
_stink_yeah13:35
_stink_that13:35
rick_h_there's a common base, but people do settle into their own uses13:35
brouschon the bright side, i do have my 12 wokspaces on unity now13:46
brouschand my system monitor13:46
brouschhm, i can boot into classic mode to see if the aptana menu issue is due to unity or openjdk13:47
greg-g12?!14:00
greg-gthough, I guess I do also, since I have 6 workspaces, but 2 monitors14:05
brouschi rarely use more than 6, but once in a while i use 1014:06
rick_h_I like having the limits. Once in a while I run out of space14:07
rick_h_but usually it's a sign to put something down/away14:07
rick_h_"I'll just leave this open and jump back to it in a min...well it's really going to be a while"14:07
brouschyeah, mine fill up with collections of chrome tabs for a specific meeting14:07
jcastrosnap-l: just google for "power user guide unity"14:22
rick_h_ok, ppa talk written. Ugh, feels short14:22
brouschspeak slowly14:23
rick_h_hah, well I have one slide that's "Story Time"14:23
rick_h_so will have to really go on during taht14:23
brouschare mug meetings recorded?14:24
* rick_h_ skips that one14:25
snap-ljcastro: Yeah, I found that.14:25
snap-ljcastro: Just wanted to illuminate the hard work of Mr. West-side, brousch14:26
snap-lbrousch: depends14:27
jcastroWEST SIDE!14:27
jcastroI like Grand Rapids, I would live there14:27
snap-lgib tries to record them / broadcast them14:27
snap-ljcastro: Yeah, I like GR14:27
snap-lsave for the conservatives. ;)14:27
brouschapparently we have jobs here, too14:27
snap-land American Pie14:27
snap-lThat must be a current release over there.14:28
snap-lYou're gonna love Kiss.14:28
snap-l;)14:28
brouschwe just started playing this new band on the radio, Rush i think it's called :P14:28
brouschi suspect it's oriented to frat boys and sorority girls14:29
snap-lI don't know if you've been at a Rush concert, but it is decidedly not sorority girls who attend.14:30
snap-lThere's two types of women at Rush concerts: True fans, and "my SO dragged me here"14:31
snap-lThe band has actually asked folks that if they're going to drag their non-Rush-loving partners to the show, to please not sit in the front row14:31
brouschso, old women and old wives?14:31
snap-lnothing in the world is more of a downer during a show than a cross-armed, stern looking female in the front row14:32
brouschit seems silly to drag someone to an expensive concert if they don't want to go14:32
snap-lbrousch: I wouldn't go there if I were you.14:32
snap-lJoDee's a huge Rush fan too. :)14:32
snap-lThis system that I'm testing requires me to use a different e-mail address (can't share e-mail addresses between accounts)14:37
snap-lI have 28 lines in my /etc/postfix/virtual file.14:37
rick_h_man, I could of sworn there was a pure python message queue thing when I checked out queues a while ago14:40
rick_h_can't find it for the life of me now14:40
brouschpymq?14:42
rick_h_no, looks like I'm thinking of beanstalkd which isn't python, just works with it14:43
rick_h_don't see anything pure python/memory14:43
rick_h_pymq requires mysql14:43
rick_h_hmm, but it is in the ubuntu repo so maybe I'll try it out again14:44
rick_h_oh yummy, node.js client14:46
jrwrenya'll talk too much :p14:49
snap-ljrwren: Shush14:49
WolfgerI believe the phrase you are looking for is "cork it, jrwren"14:50
jrwren*gasp*14:51
jcastroSNAP-L15:17
jcastrohttp://outloud.fm/Metalheads15:17
jcastroJOIN ME15:17
jcastron0p: you too15:17
snap-lI'm sorry, but they only have sign-up via twitter or Facebook15:27
snap-land I'm not giving my twitter creds to any application15:27
snap-lThanks, though. :)15:28
brouschfreetard!15:28
snap-lPragmatic15:28
Wolfgersecure15:28
snap-lI don't want some application to suddenly spam people about some service I signed up for 2 yars ago15:28
snap-lyars = pirate years.15:29
brouschhttps://twitter.com/settings/applications15:30
brouschrevoke it15:30
snap-lbrousch: Honestly, sites that only accept twitter / facebook, and don't support openID need to suck it15:34
brouschi have heard those options pitched to startups as the best way to get people to signup15:35
snap-lIf best way you mean the way to keep curmudgeons out, then yes, it's the best way.15:38
Wolfgerbrousch: As a startup, you are a fool not to have those options.... but don't make those your only options. That's just lazy.15:39
snap-lAlso, it's stupid to build your platform off another company15:40
brouschwell you're handing off auth to FB and twitter so you don't have to have your own solution15:41
snap-lbuilding it off of two should be a sign to your handlers that you might hurt yourself.15:41
jrwrensnap-l: exactly!  no FB or Twitter auth.15:43
jrwrenif you don't accept more auth, then fuk u, i ain't using yoru service15:44
brouschyour daily wtf http://www.youtube.com/watch?v=Pube5Aynsls15:49
brousch:( http://sourceforge.net/15:57
snap-lbrousch: What about it, other than it's taking a while to load?16:03
_stink_i got a placeholder saying stuff is slow, and didn't get the front page16:04
snap-lHuh... I got the front page.16:05
brouschi got a melting anvil16:06
_stink_hah, didn't even notice what that was16:07
jcastrosnap-l: where are you? we need your input16:09
jcastrohttp://outloud.fm/Metalheads#16:09
brouschthat made me laugh outloud16:10
snap-ljcastro: Have you read the above? :)16:17
jcastrough16:17
snap-lSeriously, not signing into a service that requires twitter or facebook to join16:17
jcastroyou suck16:17
snap-ljcastro: Yes, yes I do16:17
jcastrobut yeah, that does suck16:18
snap-lAnyone know of any location for small m4v files?16:22
snap-lI need something less than 600K16:22
brouschlocation?16:26
snap-lPlace where one might find said files.16:26
snap-lI'm trying archive.org, but finding something that granular is proving difficult.16:27
brouschi can easily make some16:27
brouschyou want like a 10 second clip at full res, or a downsized longer clip?16:27
snap-lSomething that will show up on an iPhone, 10 seconds is fine16:28
snap-land something that I can distribute. ;)16:28
jcastrohow is the internet at the new mug place?16:28
snap-ljcastro: Spotty16:28
snap-lsome times it's fine, and othertimes it's non-existent16:28
snap-landif Gib is broadcasting, it turns to shit.16:28
_stink_hah16:29
snap-lBig Blue Button is neat, but it totally blue-balls the internet.16:29
brouschgeez, even that 8 second intro from yesterday is 3MB16:30
jrwrensnap-l: I can make you a small 600k m4v if you like16:31
snap-lThe more the merrier16:31
jrwrenwhat bitrate would you like?16:31
snap-lWhatever an iPhone will accept16:31
jrwrensnap-l: if you just want to try a stream: http://delays.xmtp.net/~jrwren/sp.mp4 is what I was experimenting with for iphone. but its a reasonably large file.16:31
jrwreniphone will accept pretty much any bitrate.16:32
snap-lHas to be under 600K, unfortunately16:32
brouschwhat video is under 600k?16:32
brouschmust be 5 frames16:32
snap-lbrousch: really shitty videos16:32
jrwrenwhy under 600k?16:32
snap-lIt's a size requirement for the system I'm testing16:32
snap-lWhichis fine for animated gif files, and even some mp3 files16:33
snap-lbut for video, it's a real PITA16:33
snap-ltried using ffmpeg, but I don't think it has a m4v encoder.16:34
jrwrenm4v is just a container ya know.16:34
jrwrenand signifies that it is probably iphone compat16:34
jrwren http://delays.xmtp.net/~jrwren/sp600.m4v16:35
brouschyou can just rename a .mp4 to m4v16:35
snap-lbrousch: Are they  equivalent16:36
jrwrenits just a file ext.16:36
jrwrenits meaningless.16:36
snap-ljrwren: hah. :)16:37
jrwrenits true.16:37
snap-l(just downloaded what you encoded)16:37
jrwrenhere... let me change it to mpg.16:37
jrwrenit will work.16:37
jrwrensnap-l: oh... HA! :)16:37
jrwrensnap-l: yeah, I was surprised about what I got for 600k :)16:37
snap-lActually, it's 615K16:37
jrwrensorry.16:38
snap-lnp16:38
jrwreni told it 60000016:38
snap-lActually, let me try something16:38
jrwrenffmpeg must not count the header.16:38
jrwrenyou want to smaller?16:38
snap-lJust created a blender animation16:38
jrwrenor you can do it yourself with this16:38
jrwrenffmpeg -i input.avi -acodec aac -ab 128k -vcodec mpeg4 -b 800k -mbd 2 -flags +mv4+aic -trellis 1 -cmp 2  -subcmp 2 -s 320x180 -metadata title=X -strict experimental -threads 2 -fs 600000 output.m4v16:38
jrwrenremove the -fs 600000 to do the whoel file.16:38
snap-lI have a mp4 file that is 15K16:38
jrwrenchange the -fs 600000 to -fs 590000 to get less than 600k16:38
snap-lmight just rename it to m4v and see what happens16:39
snap-lsince it appears m4v is just Apple's proprietary extensions for mp416:39
snap-l(which would figure)16:39
snap-lThank you, though. I really appreciate it!16:39
brouschjrwren: nice ffmpeg command16:41
brouschhm, does that make h264 or mpeg4?16:42
brouschi should say, does it make mpeg4 part 2 or mpeg4 part 10 (h264) video?16:45
brouschjrwren: i think your command makes mpeg4 part 2 video. you need the libx264 vcodec for h26416:47
brouschcheck out http://h264.code-shop.com/trac/wiki/Encoding#Ffmpegx264profileBaselinelevel3.0iPhone16:48
snap-lOh, very nice.16:49
snap-lbrousch: I will eat your children.18:18
snap-l"Will it be televised?"18:18
brouschi wanted the twitters to know about it18:19
snap-lheh18:19
brouschand gave you the opportunity to post a link to the video stream (if it exists)18:19
snap-lHopefully it will, on someone's 4G myfi18:19
snap-lsadly, it'll likely cream the bandwidth of the ESD18:19
brouschdangit18:20
snap-lBTW: http://openmetalcast.com/2011/06/14/open-metalcast-episode-23-fighting-narwhals/18:26
brouschwhat weapon do you use to fight a narwhal?18:31
snap-lAnger18:38
brouschdespite all your rage, you're still just a narwhal in a tank18:41
jrwrenbrousch: shit, you are right... but iphone plays it :)18:42
jrwrenbrousch: but TY so much... I can probably do much better and have less Xfer if I move to h26418:43
brouschi use mpeg4 as my "works everywhre" codec18:43
jrwrenwhy not h264?18:43
brouschediting h264 drives some editor bonkers18:44
brouschat least last time i tried them (openshot, kdenlive, pitivi, cinelerra, etc)18:45
brouschthey all work well with mpeg4 part 218:45
jrwrenbrousch: what is crazy is that x264 you linked actually encodes faster than the mpeg4p2 that i was using.18:47
jrwrenoh wait, no. just started out faster.18:48
jrwrenoh EDITORS.18:48
jrwrenbut if i only care about playback, then h264 is great.18:48
brouschright18:48
brouschand i think editing has improved in the last year18:48
brouschi think that encoder is a two pass, so it does a quick pass then a slower one18:49
jrwrenall with 1 ffmpeg command?18:51
jrwrenusually you have to -pass 1 and -pass 218:51
jrwrenbut I'm more of a mencoder guy.18:51
jrwrenthis move to ffmpeg is new to me.18:51
brouschyou're right, i don't see 2 passes there18:52
brouschi used to use encoder, but i had too many instances of audio getting out of sync with the video18:53
brouschmencoder18:53
jrwreni never had that18:59
jrwreni just never found a good iphone compat h264 cmd line19:00
snap-lAnd good evening19:33
snap-ler, afternoon19:33
snap-lI have used a lorem generator today19:35
snap-lI feel accomplished.19:35
jrwrenthe one built into MSWORD?19:35
snap-lNo, a website19:36
snap-lBut that's interesting19:37
jrwrenbrousch: actually, the h264 is about 2fps faster than mpeg4v2 that i was using.19:39
jrwren16 v 14fps.19:39
jrwrenE8500 used to be fast, LOL19:39
brouschthe playback is faster or the encoding?19:42
devinheitmuellerjrwren: were you able to find a m4v file that met your needs?19:43
rick_h_man, so close, but postgresql still hates me today19:55
brouschsee, it's not just mysql19:56
rick_h_heh, ah true19:57
brouschyou should switch to mongo!19:57
rick_h_but at least I'm trying to do something you can't do in mysql19:57
rick_h_create custom group aggregate functions without writing C19:57
brouschug, so if i'm writing docs in rst, should i add line breaks at 80 characters?19:58
brouschpita to chage a word in the middle of a paragraph19:59
rick_h_gq19:59
brouschhow do i specify what is a paragraph?20:01
rick_h_I just v to highlight the line/next20:01
rick_h_you can do paragraphs with { or something I think20:02
brouschhm, i'll give this a try20:02
rick_h_http://www.ukuug.org/events/linux2004/programme/paper-SMyers/Linux_2004_slides/vim_tips/#slide1520:03
snap-ldevinheitmueller: I was looking, and yes, i think I found something that worked.20:03
snap-lThanks!20:03
devinheitmuellernp20:03
devinheitmuellerIf you've got copyright/redistribution issue, let me know and I can record some colorbars for you in an ipod compatible format.20:03
snap-lActually, if you would send me that, that would be great20:04
devinheitmuellerI can do it after the MUG meeting tonight.20:04
snap-lthe file i sent to the ipod came across as unknown when sent via MMS20:04
snap-lAwesome. Thanks!20:04
devinheitmuellerYou want that in NTSC?  or PAL?20:04
devinheitmuellerAlso, what resolution do you want?20:05
snap-lheh20:06
snap-lNTSC, suitable for an iPhone20:07
snap-l(I have NFC what res an iphone handles)20:07
devinheitmuellerok20:07
brouschah, it's one of those things i have to type really fast to make work right20:08
brouschrick_h_: nice, gqap seems to do what i need20:10
jrwreni encode 320x180 for iphone20:10
brouschi can tell you what imovie spits out for its "iphone" format20:11
* snap-l wishes he had a mac to make this much easier20:12
brousch480x270, h264, aac, bitrate 89420:13
* rick_h_ winds up to smack snap-l 20:14
rick_h_where's the trout when you need one20:14
snap-lrick_h_: Oh, pshaw20:14
devinheitmuellerYou should be able to do 640x480 on the iphone.20:14
snap-lHell, with the retina display, I thikn you could do full HD.20:14
devinheitmuellerHandbrake has all the presets for the various devices.  Will reboot into my mac.  one minute...20:14
snap-lit would just be REAALLLLLYYYY TINY20:14
brouschhere's your target according to imovie: http://dl.dropbox.com/u/101667/Screen%20shot%202011-06-14%20at%203.14.25%20PM.png20:15
brouschyeah, the 270 probably depends on the original file's aspect ratio20:15
devinheitmuellerOk, so iphone is indeed 480x27220:16
devinheitmuelleripod is 320x17620:16
snap-linteresting20:16
devinheitmuellerbitrate varies by device.20:16
devinheitmuelleripod=700, iphone/ipod touch=960, iphone 4 and ipad = 250020:17
brouschdevinheitmueller: are you getting this from a web page?20:18
devinheitmuellerI'm just clicking through the handbrake presets.20:19
brouschbecause that's usefull info you're spouting ;)20:19
devinheitmuellerI cannot cite them as "authoritative" as it's possible that the HandBrake people didn't follow the Apple specs.  But it's "reliable enough".20:19
brouschreliable is better than authoritative20:20
brouschaka theoretical20:20
devinheitmuellerDon't I know it.  :-)20:20
devinheitmuellerAlso, I can cheat.  I built a hardware product which encodes arbitrary video to iPod format in realtime.20:21
devinheitmuellerso, for example, to prep snap-l's colorbars video, I just have to plug my signal generator into the s-video port of the device, and out comes a file suitable for the iPod/iPad.20:21
snap-lOh, nice.20:22
brouschgeez20:22
rick_h_that definitely sounds like cheating20:22
devinheitmuellerYup.20:22
devinheitmuellerOf course in fairness, I had to make the product work in the first place, in which time I probably could have transcoded a few thousand videos via handbrake.  ;-)20:23
devinheitmuellerhttp://hauppauge.com/site/products/data_broadway.html20:23
snap-lbroadway the not-so-hard way.20:25
brouschdoes it work on linux?20:27
snap-lIt's an embedded device20:28
devinheitmuellerit's a network enabled product.  It doesn't connect directly to a PC.20:28
devinheitmuellerIf you click on the gallery, you will see a picture that shows a network diagram.20:29
Milyardonot sure if trolling, or serious20:29
devinheitmuellerMilyardo: pardon?20:29
Milyardo@brousch20:29
devinheitmuellerIt *should* work with Linux, but it's not really tested.20:30
devinheitmuellerIn theory, it should even work with MythTV (as it implements the HD-HomeRun network protocol)20:30
devinheitmuellerprobably one of the biggest challenges under Linux is that it delivers H.264 video, and many Linux browsers don't support it.  That said, I developed large portions of it from my Linux desktop, using VLC for the actual playback.20:35
greg-ghome time, then travel to MUG time21:07
rick_h_woot21:12
brouschwe were just playing with wolfram alpha. it s sriously cool http://www.wolframalpha.com/input/?i=%284%2F3+*+%28a%2Bb%29%29+%3D+%28a%2B3b%2921:18
jrwrenbrousch: is that imovie 894 bitrate a&v or just video + 128audio or what?21:22
brouschjrwren: that was audio and video, codecs chosen by imovie for their iphone export preset21:23
jrwrencool.21:23
jrwrendo you know how they balance the a/v?  is it 798video 96 audio? or other?21:24
brouschso according to devinheitmueller's earlier comment, the 894 fits just under the 960 max bitrate for iphone21:24
brouschjrwren: i think it's 128bit audio21:24
devinheitmuellerWhich format do you want to know?21:25
devinheitmuelleripod is 700/16021:25
jrwreni'm trying a 96bit aac and 400bit video.  i want to see if I notice the difference21:25
devinheitmuelleriphone is 960/12821:25
jrwrendevinheitmueller: according to whom?21:25
devinheitmuelleragain, handbrake21:27
devinheitmuellerThese are defaults.  audio bitrates tend to be configurable.21:27
brouschdevinheitmueller: do you know of a source for info like that for android devices?21:28
devinheitmuellerbrousch: no, the presets in handbrake are just for Apple products.21:29
devinheitmuellerThere can be much more variance in Android supported formats, since there are many different processors used in those devices.21:29
devinheitmueller(each with different max bitrates)21:29
brouschright21:29
devinheitmuellerThat said, it's entirely possible that Google publishes such a guide with best practices - I do not know.21:30
brouschok21:30
devinheitmuellerWell, well.  Look what a google search for "android audio video bitrates" comes back with as its first hit....21:31
devinheitmuellerhttp://developer.android.com/guide/appendix/media-formats.html21:31
devinheitmuellerrecommendations at the bottom of the page.21:31
jrwreni checked out handbrake, but I did not see any video bitrates specified21:35
jrwrenhttps://trac.handbrake.fr/wiki/BuiltInPresets#iphone    <-- no video bitrate that I can find.21:35
jrwrenbut that is still just handbrakes defaults... which is great to use as a reference.21:36
jrwrenso far I'm very happy with my 400/96 encode.21:36
jrwrenI never dreamed of the day I'd have enough outgoing bandwidth to stream thiskind of thing, but ty comcast.21:36
devinheitmuellerIf you run the GUI, you can click on the various modes and then see what their underlying settings translate to.21:37
devinheitmueller(including bitrates)21:37
jrwrenright, but I do not thing the UI is telling the truth.21:37
jrwrenI guess I'm saying I trust the docs more than I trust the UI.21:37
jrwrenwhich is probably foolish.21:37
jrwrenyou can ask the UI to show you the CLI, can't you. I'd trust that ;)21:37
jrwrenalso, I don't know waht handbrake UI are you suing.21:38
jrwrenbut mine does not show video bitrate for iphone.21:38
devinheitmuellerI haven't looked at the command line docs, but I bet "-X" is the video bitrate, and "-B" is the audio bitrate for each channel.21:38
jrwrenit shows "constant quality.21:38
jrwren-B is audio, yes.21:38
jrwren-X is NOT21:38
jrwrenyou can handbrakeCLI --help 2>&1|less and find what -X does.21:38
devinheitmuellerYeah, I'm not in front of a Linux box, so no I cannot.  That said, I bet the bitrate is in there.21:39
jrwrenits not.21:39
jrwreni am in front of both windows and linux and I checked :)21:39
jrwrenhandbrake uses variable bitrate with a quality setting of 60% aka, -q 2021:39
jrwrensee the -q option of HandbrakeCLI21:40
brouschjrwren: can you specify a profile to use? my guess is iphone targets the same profile as android, Baseline Profile21:47
brouschdoesn't look like it21:48
brouschh264 really hurts me mind21:51
devinheitmuellerbrousch: welcome to my world.  :-)21:51
brouschoh, i waded around in it for a while a year or so ago21:52
brouschnow i just let avidemux do it for me21:52
brouschthis page seems very nformative https://sites.google.com/site/linuxencoding/x264-encoding-guide21:54
jrwreni dont' know anything about android.21:59
jrwrenbut I'd imagine it is just like iphone but supports more options :)21:59
brouschwell they both support baseline profile22:00
jrwrenweird use of mplayer instead of mencoder on that site.22:00
jrwreni don't even know what "baseline profile" means22:00
brouschwhich defines a bunch of constraints22:00
brouschhttp://en.wikipedia.org/wiki/H.264/MPEG-4_AVC#Profiles22:00
devinheitmuellerthat's really the challenge.  Typically those devices support a *subset* of the available profiles, and expect the content preparer to meet those expectations.22:01
jrwrenoh, well that one you linked for iphone is at least HiP I think.22:02
jrwreni see 8x8 and 4x4 options.22:02
brouschi'm gonna flee before my head asplodes22:02
jrwrenyeah, i don't really case about the details.22:03
jrwreni just want low bitrate high quality on my phone :)22:03
jrwrenand I have that. HURRAY!22:03
rick_h_Blazeix: dude23:29
greg-ghere we go!23:29
rick_h_watch out...dude23:29
Blazeixgood luck!23:31
rick_h_Blazeix: finally heard back from the js uuid libary guy23:32
rick_h_he says he's not interested in adding v3 support23:32
Blazeixyeah, not too surprised. I don't think any of his algorithms actually hashed user input.23:42
Blazeixit was more of the 'random generator' kind23:42
rick_h_right, well it's all the other uuid specs :(23:43
rick_h_moved on, but figured I'd let you know since you went down that path23:43

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