#dev 2021-11-17
2021-11-17 UTC
akevinhuang, Seirdy, nertzy, Matt4, [schmarty], [chrisaldrich], [tantek], [jacky], pfefferle, [snarfed], [KevinMarks], [jeremycherfas], IWSlackGateway, [Paul_Walk], [grantcodes], [chrisbergr], Matt5, [KevinMarks]1, [grantcodes]1, [KevinMarks]2 and edburns[d] joined the channel
[schmarty], [snarfed], [KevinMarks] and willnorris joined the channel
# petermolnar I wonder what's simpler: record satellite or utc time, location, and historical daylight saving time changes, or store time and actual timezone (not RFC 3339 style +01:00, but CET, CEST, etc)
# petermolnar or would RFC 3339 style (+01:00) and location be enough?
# [KevinMarks] RFC 3339 is safer as otherwise you need to have the timezone daylight saving transition for that year around at render time too, and they're highly variable.
# @mauricerenck Yesterday @getkirby 3.6 was released. An update with some impact as the panel now works differently - at least from developer perspective. This had some impact on my plugins. So, here's an overview on what changed: https://maurice-renck.de/tech/2021/kirby-3-6-ist-da
#kirby #podcaster #komments #webmentions (twitter.com/_/status/1460913436599230465)
Mila, tetov-irc, MarkJR84[d], chenghiz_, Allie, Agnessa[d], barryf[d], kogepan, jjuran, strugee_, GWG, schmudde, akevinhuang, akevinhuang2, sayanarijit[d], [tantek]2, [grantcodes], [jacky]1, [chrisaldrich]1 and [chrisbergr] joined the channel
# [schmarty] whispers "add videos to quillllll"
# [schmarty] there are even more distinctions to make like: what about on-the-device (so the client and website don't have to fool with it)? and when you say "website" - you could push it into the micropub media endpoint, or the micropub endpoint, or build process for the site, or a video CDN, or ...
# capjamesg[d] What is transcoding? (a question for aaronpk, not loqi :D)
# Loqi It looks like we don't have a page for "transcoding? (a question for aaronpk, not loqi :D)" yet. Would you like to create it? (Or just say "transcoding? (a question for aaronpk, not loqi :D) is ____", a sentence describing the term)
# Loqi It looks like we don't have a page for "transcoding" yet. Would you like to create it?_ (Or just say "transcoding is ____", a sentence describing the term)
# Loqi ok, I added "[[video]]" to a brand new "See Also" section of /transcoding https://indieweb.org/wiki/index.php?diff=77870&oldid=77869
# Loqi ok, I added "[[transcoding]]" to the "See Also" section of /video https://indieweb.org/wiki/index.php?diff=77871&oldid=76125
Seirdy joined the channel
# capjamesg[d] That way other people could benefit from the code you write.
# capjamesg[d] I didn’t even think about this for video uploads via Micropub.
# capjamesg[d] My media endpoint only accepts images right now.
# stevestreza ffmpeg can transcode to an HLS stream and then those files can just get served through whatever static file server, the amount of work to do a one-time conversion is not that much, you just end up with a lot of little files for each source video
# stevestreza oh for sure, just that the "turn it into HLS files" part of that sentence is both the hard part and the part that ffmpeg can do for you :)
# stevestreza right. if ffmpeg couldn't one-liner that task it would be the hard part. the rest is just storing those files and associating them with the source media so they can be linked into a post. which makes it easier than it looks
# [tantek]2 even not counting video, the whole mobile posting of stuff is *still* harder than it should be. see [schmarty] keynote from IWS 2019 for a good overview
kogepan joined the channel
# [schmarty] the iOS photo picker opening in the browser context always seems to start at the same place of all recent photos :|
# aaronpk quill also does a neat trick which is it queries your media endpoint to see if there is a photo recently uploaded, so sometimes i will use Shortcuts to send a photo to my media endpoint from within some other app like Lightroom, then I open quill and the photo is ready to be included in a post
# [schmarty] ooh yeah i could vibe with that (once i update my media endpoint to work with the query feature lol)
# aaronpk but as i'm thinking through this maybe it makes more sense to create a little standalone mini private youtube-like site that accepts file uploads and then converts that to HLS files at a few bitrates. the workflow would be share a video from my phone to that site, then log in to that site and find the latest video and you'd get a little interface to add text and tags and such which would then make a
# [schmarty] i'm curious what you would send in the micropub post. something like `video: [url-to-the-playlist-file]`?
# [schmarty] and your site would recognize that's an HLS video and spit out the appropriate markup and JS to play it
# [schmarty] (vs like an mp4 video which could get a `<video>` tag)
# [tantek]2 it's been a while since I posted a video and I don't remember my process for doing so. I do remember that whatever I did happened to create a video file that "just" worked across browsers
# [tantek]2 right I think it was an mp4 video, and yes I used a <video> tag on my site, because "JS to play it" is a non-starter IMO
# [tantek]2 as in *requiring* JS to play it
# [tantek]2 I guess if the use-case is mobile posting I'm not really worried about posting "huge" videos
# aaronpk https://caniuse.com/?search=HLS for some reason Android Chrome does, but not desktop chrome
# [tantek]2 those sound like different use-cases (mobile vs huge video)
# stevestreza HLS/DASH also help a lot when you want multiple bitrates and seamlessly switching between them, and better scrubbing support
# [schmarty] iOS started defaulting to hevc video instead of h264 a while back and although there is a setting to make the media library use "compatible" formats (jpeg instead of heic, mp4 instead of hevc) it seems like iOS 15 is ignoring that setting in some cases 😭
# [tantek]2 what is portability
# [tantek]2 huh
# [tantek]2 any chance of adding a "How to" to https://indieweb.org/data_portability to get your iOS device to record in more portable formats by default? (jpeg & mp4)
# [KevinMarks] MP4 is a container format that can have multiple different audio and video codecs in. You want h264 video for maximum portability
# [schmarty] KevinMarks: good point on container format vs codec.
# [schmarty] i think i'm leaning towards putting this functionality on my micropub media endpoint
# [schmarty] accept anything that looks like a video, use ffmpeg to normalize the format and codecs, return the URL for the normalized file.
# [schmarty] for sure. i upload tiny videos now but i could see setting a threshold at which it switches to HLS
# [schmarty] then again i already run all my image URLs on my site through an image proxy, so it is tempting to fiddle up all the videos through a video proxy (which i assume i will have to build)
KartikPrabhu joined the channel
# Seb[d] it is not `application/www-url-formencoded` nor `application/www-form-urlencoded`, it is `application/x-www-form-urlencoded` and you should just copy and paste values like that from the spec because that saves you hours of debugging.
# Seb[d] (this was a note to self)
# Seb[d] IndieAuth
# Seb[d] Trying to get rid of Indieauth.com for my site
# Seb[d] haha no, no worries
# capjamesg[d] Can anyone set up a domain registrar?
# [chrisbergr] If one doesn't have an h-feed on the home page, is there a way to link to the appropriate subpage so that readers (and bridgy, if applicable) can handle it?
# [chrisbergr] Oh, it is really that simple? 🙂 I thought this link is only for rss/atom ...
# [chrisbergr] Just noticed rss/atom has rel=alternate... I don't know what I was thinking. Thanks for the help
# [chrisbergr] But rel=feed does not uses any type attribute, such as "microformats2", right?
# [chrisbergr] The bridgy page does not notice it, but maybe other consumer will require one? If I just add a type, should it be "mf2" ord "microformats2"?
# KartikPrabhu yeah text/html is what I use
# [chrisbergr] Okay, I see
# jamietanna[m] Seb[d] I meant to say mind updating https://indieweb.org/consent_screen with your new IndieAuth consent screen? ☺
# Seb[d] but I haven't CSS'ed it yet.
# [snarfed] [chrisbergr] aaronpk funny, we had a conversation about rel values and mime types for h-feed pages not long ago, details in https://chat.indieweb.org/dev/2021-09-27#t1632775025804300 (scroll up)
# jamietanna[m] All good Seb, just thought I'd mention as it's nice to see different approaches
# [snarfed] (which Bridgy doesn't fully support yet; details in https://github.com/snarfed/bridgy/issues/1071 )
# Seb[d] jamietanna: I'll look at it tomorrow while/after blogging about the new setup
# Seb[d] I did not know about the page, so good to add it indeed
# [tantek]2 snarfed, this is as a result of feedback from a link rel=alternate consumer that if they were going to look for h-feed in addition to Atom/RSS that it was more work to look for a rel=feed rather than the set of rel=alternate links with their MIME types
# [tantek]2 I think we should consider deprecating rel=feed accordingly, because it may be leading publishers down a path that consuming code may note take the effort to implement
# [chrisbergr] So right now I'm thinking about using both.
# [chrisbergr] <link rel="feed" type="text/html" href="<?php echo $feed_url; ?>" />
# [chrisbergr] <link rel="alternate" type="text/mf2+html" href="<?php echo $feed_url; ?>" />
# [tantek]2 that's likely ok to experiment with. if you have analytics, consider adding a ?utm_rel=feed or something to see if anyone bothers to consume from rel=feed
# [chrisbergr] That is a very good idea.
# [chrisbergr] If I try to add my own page to an aperture channel using microformats as source, it does not show any entries. I guess it is not following this links in the head
# [tantek]2 Sounds like a good feature request to file as an issue on Aperture 🙂
# [tantek]2 at least rel="alternate" type="text/mf2+html" discovery
# [chrisbergr] There is at least thos one: https://github.com/aaronpk/Aperture/issues/78
# [chrisbergr] I'll open one for text/mf2+html discovery
tetov-irc joined the channel