News for hackers. Stuff that matters.
Re:Video uploads now available across GitHub by foobar33333 on Sunday May 23, 2021 @01:47AM (#27252717)
It's a good start but it's a shame they are limiting file types at all. We have been using GitLab which has allowed this for a while and we use it to share webm files which unfortunately still appear to be blacklisted by github.
Re:Video uploads now available across GitHub by EduardoBautista on Sunday May 23, 2021 @02:06AM (#27252777)
Webm can’t be played on safari, so I imagine it’s for compatibility reasons.
Re:Video uploads now available across GitHub by tcptraceroute on Sunday May 23, 2021 @02:30AM (#27252869)
Thankfully this is no longer the case - Safari has support for WebM as of macOS 11.3.
Re:Video uploads now available across GitHub by opheliate on Sunday May 23, 2021 @03:09AM (#27252999)
Safari on mobile unfortunately still doesn’t seem to support .webm playback as of today.
Re:Video uploads now available across GitHub by PurpleFoxy on Sunday May 23, 2021 @03:17AM (#27253025)
Linux distros by default don’t support mp4. I’d say those are more common GitHub users.
Re:Video uploads now available across GitHub by masklinn on Sunday May 23, 2021 @03:50AM (#27253160)
The limited whitelist of video formats is IME secondary to that of uploads in general. Having to put archives in archives because github rejects the original one is painfully dumb.

Had that recently, as GitHub still has no support for private upload I wanted to upload an age-encrypted tarball of the logs / repro (incidentally this otherwise works extremely well as github exposes public keys through an endpoint, you can just age with a few `-r$(curl …)` and you have a file decryptable by all the specified github users, really convenient).

But then I had to zip the entire thing again…

Re:Video uploads now available across GitHub by namibj on Sunday May 23, 2021 @08:58AM (#27254704)
Huh? I assume you mean commit signing keys? I only found ssh pubkeys. What endpoint gives out the PGP keys?
Re:Video uploads now available across GitHub by masklinn on Sunday May 23, 2021 @12:52PM (#27256495)
> I assume you mean commit signing keys?

No.

> I only found ssh pubkeys.

Yes.

> What endpoint gives out the PGP keys?

I neither know nor care.

Re:Video uploads now available across GitHub by eyelidlessness on Sunday May 23, 2021 @01:52AM (#27252734)
Honest question because I might be behind on how common environments behave: is webm the format your OS/device/workflow produces by default or one you convert to for sharing/optimization?
Re:Video uploads now available across GitHub by PurpleFoxy on Sunday May 23, 2021 @03:02AM (#27252971)
Webm is one of the formats my screen recorder supports and seems to be the one my coworkers use. It’s pretty convenient since it works without having to install proprietary codecs and it even works on safari now.
Re:Video uploads now available across GitHub by jgalt212 on Sunday May 23, 2021 @09:17AM (#27254824)
Yes, webm is much much better than GIFs for the same purpose.

Webmy.com is my giphy clone, but using webm.

Re:Video uploads now available across GitHub by leipert on Sunday May 23, 2021 @02:12AM (#27252796)
Not GP, but on a Mac, which produces mov per default.

Started using Kap to record to webm: https://getkap.co/

Re:Video uploads now available across GitHub by eyelidlessness on Sunday May 23, 2021 @02:23AM (#27252844)
Sorry, to clarify, all of my devices are Apple so I expect .mov with H264/H265 encoding. I’m wondering if other devices encode to webm without conversion now, and it’s a format people expect to be able to exchange by default.
Re:Video uploads now available across GitHub by onli on Sunday May 23, 2021 @03:07AM (#27252988)
The Android emulator when doing a screen recording can only select between .gif and .webm, at least on my system. So especially when working on an Android app I would expect that, yes.
Re:Video uploads now available across GitHub by PurpleFoxy on Sunday May 23, 2021 @03:09AM (#27252995)
Webm and webp have become pretty standard usage on the internet now. Imgur, reddit and many other major sites use it by default when support is detected. Usually when I save an image in the browser it will be webp.
Re:Video uploads now available across GitHub by toastal on Sunday May 23, 2021 @04:08AM (#27253236)
And just it time for AV1. 11th-gen Intel chips have hardware decoding too.
Re:Video uploads now available across GitHub by j-james on Sunday May 23, 2021 @02:27PM (#27257306)
Webm files can be uploaded by renaming them to mp4s.
Re:Video uploads now available across GitHub by p00lb0y on Sunday May 23, 2021 @02:44AM (#27252918)
Why use "blacklisted" here? Why not just say not allowed...
Re:Video uploads now available across GitHub by PurpleFoxy on Sunday May 23, 2021 @03:01AM (#27252967)
Blacklisted is the specific terminology for when a website rejects certain file types. I guess in githubs case it would be that webm is not whitelisted since only 2 formats are permitted.
Re:Video uploads now available across GitHub by darkwater on Sunday May 23, 2021 @03:46AM (#27253144)
But since in this case it only allows certain other formats, it's the wrong wording.
Re:Video uploads now available across GitHub by mids_hn on Sunday May 23, 2021 @03:21AM (#27253042)
Because it's a real word that is applied in this case.
Re:Video uploads now available across GitHub by IshKebab on Sunday May 23, 2021 @03:56AM (#27253181)
They're free to use real specific words that aren't actually offensive if they want.

Although in this case I would have thought GitHub uses a whitelist rather than a blacklist, so they should have said "webm isn't whitelisted".

(Notice how that is different to "webm is blacklisted" but your alternative wouldn't have captured that distinction.)