#GWGThe amount will be changeable in my plan on the authorize screen, so I suppose that 14 as a default is fine
#GWGHow does OAuth handle it? Can a client tell you something that indicates what token type it should give?
#aaronpkno you wouldn't want the client to have any control over that. usually that's set by policies on the authorization server, which might depend on the client type or the user or the scopes issued
[fluffy] joined the channel
#GWGaaronpk: I know you wouldn't want the client...but how do I know what the client type is?
#gRegorMy server defaults to 14 days and lets you check a box to make it not expire. There's also a UI to expire individual tokens or all at once.
#aaronpkthe only indication you have in indieauth is the client_id URL and what scopes it's requesting
#GWGI'm more thinking of knowing whether a client is unattended or attended. So Quill vs OwnYourSwarm
#aaronpkanother example would be letting those apps get long lived tokens but limtiing the token lifetime on apps like quill that only work when the user is actively using them anyway
alex11 and barnaby joined the channel
#barnabyI’m posting a video to my site rather than yt for the first time in forever, trying to figure out what settings will get me the best results in the least space
#barnabygot a bunch of transcoding jobs queued up in handbrake
#barnabyso far, nothing has been smaller than the original 1080p mov file which DaVinci Resolve gave me
#barnabythe 1080p webm ended up being 190MB vs 133MB for the .mov
#barnabywhich is especially weird as I’m pretty sure the webm is 30fps and the (much smaller) original was 50fps
#aaronpkI don't remember, it's been a while since I touched any of that. I think actually most of the time i've posted videos on my site it's either from instagram or just whatever my phone records not transcoded
#aaronpkfor long videos i've sliced them up for HLS
#barnabythose were with the VP8 encoder, I’ll try one with VP9 and see if it makes any difference
#[snarfed]Bridgy Publish currently only supports mp4 videos w/Twitter right now. I think they required that at some point, but maybe they’ve relaxed it since?
#barnabyI just tried posting one, seems to be taking a while, but it took 3:30 to upload to my site so I imagine it will take some time to upload to twitter
#petermolnarbe memory limits - eg php-fpm -, but the python ones could go completely rogue.
#petermolnar> more likely my webmention endpoint tried something stupid like loading an 85MB file :/ - I'm still extremely tempted to respond with a certain gzip to queries like obvious wordpress sniffing on my static site, but the malicious person in me wonders how many webmention receivers could deal with a gzip bomb without taking down the server behind them. Depending on the implementation, there should
#petermolnarit's a good thing that unlike in xml and yaml, there is no option to make a recursive json.
[tantek] joined the channel
#GWGpetermolnar: I actually do a head on mine to check type and I limit size
#barnabyGWG: yeah pretty sure that’s what I’ll be implementing after I’m done cooking :D
#barnabyunless it turns out to be a different issue
#barnabyI might also just filter out URLs ending with common media extensions e.g. png mp3 mp4 etc from webmention processing altogether
#barnabyI originally thought it might be interesting to send them so that people could get notified if I hotlink their content, but I don’t think anyone does that
#petermolnarGWG: can I test your webmention endpoint?
#GWGBut I put a lot of safety measures into that code
#GWGIncluding refusing to download media mime types
#petermolnar::insert Shaggy's Are you challenging me?! picture::
[jacky], [schmarty], gRegor, hendursa1, [Ana_Rodrigues] and [tw2113_Slack_] joined the channel
#barnabyokay, the bit rate definitely explains the video size difference! my video is 6Mb/s, the twitter sample is more like 1, which explains the vast size difference
#Loqitantek has 18 karma in this channel over the last year (62 in all channels)
#barnabyanyone know how the “Constant quality: RF [x]” slider works in handbrake?
#barnabywhat seem like small changes on it can result in vast file size and quality differences
#sknebelit uses some video quality estimation thing to evaluate how individual pieces of the video look after compression, and adjusts the bitrate for the pieces until they all hit a specific quality value
#sknebelnot the clearest text, at least for my sleepy brain, but some details that match what I remembered
#barnabyat least for this video, it looks like RF 20-35 is the range where the quality is still acceptable, but the file size starts dropping dramatically
#[snarfed]yup, video upload seems ok, but when bridgy then tried to tweet with it, twitter replied “Not valid video”
#[snarfed]gotta run but I can look later. apologies for the trouble!
#barnabyno worries, thanks a lot for the live support!
#barnabyI’ll resist the temptation to post it manually, so we can test it again later :)
#barnabyhmm or maybe I’ll try posting it manually, to see if the twitter web UI complains about the video file
#barnabythat way we know if it’s just twitter not liking my particular hamster video file, or a bridgy issue
#barnabyhuh well the twitter web video upload UI is somewhat lacking
#barnabyI posted it, and the form just greys out, with no progress or activity indicator
#barnabyokay, twitter web upload worked eventually, so it looks like it’s not an issue with that particular file
#[tantek]at some point I gave up on posting video because it got so involved
#barnabyyeah me too. not something I can motivate myself to do very often, but in the case of the hamsters, it made sense. It’s not something I’d put on youtube, but is something I want on my site