10 ms·
Video uploads now available across GitHub
- foobar33333 5y agoIt'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.
- eyelidlessness 5y agoHonest 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?
- leipert 5y agoNot GP, but on a Mac, which produces mov per default. Started using Kap to record to webm: https://getkap.co/ https://getkap.co/
- eyelidlessness 5y agoSorry, 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.
- onli 5y agoThe 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.
- PurpleFoxy 5y agoWebm 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.
- toastal 5y agoAnd just it time for AV1. 11th-gen Intel chips have hardware decoding too.
- PurpleFoxy 5y agoWebm 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.
- jgalt212 5y agoYes, webm is much much better than GIFs for the same purpose. Webmy.com is my giphy clone, but using webm.
- EduardoBautista 5y agoWebm can’t be played on safari, so I imagine it’s for compatibility reasons.
- tcptraceroute 5y agoThankfully this is no longer the case - Safari has support for WebM as of macOS 11.3.
- opheliate 5y agoSafari on mobile unfortunately still doesn’t seem to support .webm playback as of today.
- PurpleFoxy 5y agoLinux distros by default don’t support mp4. I’d say those are more common GitHub users.
- p00lb0y 5y agoWhy use "blacklisted" here? Why not just say not allowed...
- PurpleFoxy 5y agoBlacklisted 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.
- darkwater 5y agoBut since in this case it only allows certain other formats, it's the wrong wording.
- mids_hn 5y agoBecause it's a real word that is applied in this case.
- IshKebab 5y agoThey'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.)
- masklinn 5y agoThe 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…
- j-james 5y agoWebm files can be uploaded by renaming them to mp4s.
- orta 5y agoBig fan, as a very active GitHub user the conversion to GIF for screen grabs had been a constant paper-cut
- aardvarkr 5y agoIs it really that hard to use screen2gif?
- whateveracct 5y agogifs are hard to look good and make small, in my experience
- deleted 5y ago[deleted]
- edflsafoiewq 5y agoffmpeg has the best gif output I've found.
- tehbeard 5y agoStill much larger than the equivalent video, and without any audio or pause/scrub functionality.
- whateveracct 5y agoBut it's still big. And if you try to get a decent one to sub-1MB, you'll likely either have to sacrifice quality quite a bit. Especially if the gif is anything complicated. ffmpeg can work videos down much better
- taspeotis 5y agoAs a past user of Screen2Gif I can say on Windows ShareX does a very good job of screen capture and recording.
- 5y ago
- bastawhiz 5y agoI really hope this comes to GHE!
- Ansil849 5y ago> Today, we’re announcing that the ability to upload video is generally available for everyone across GitHub. Now you can upload .mp4 and .mov files in issues, pull requests, discussions, and more. Is there a filesize limit?
- IshKebab 5y agoYes, but as I recall it's fairly reasonable (maybe 10MB?). A huge pain for GIFs which are huge, but it should be fine for videos.
- deleted 5y ago[deleted]
- hparadiz 5y agoDope. Will make writing guides so much easier. And I do mean written guides. Just sometimes they could use a little context with short clips.
- marsven_422 5y agoPorn in 3...2...1
- cudgy 5y agoWill GitHub become an alternative to YouTube?
- tjpnz 5y agoIt might for security professionals given YouTube's hostile policy towards content on "hacking".
- DyslexicAtheist 5y agogithub/MSFT don't have an impeccable track record either: https://github.com/github/site-policy/pull/397#issuecomment-836948850 https://github.com/github/site-policy/pull/397#issuecomment-... I'd imagine the moment some OSINT outfits or activists start uploading footage of conflicts (perhaps to be referenced in future reports or studies) they will censor it - not because they have to, but because they don't have the staff/know-how to assure that the videos are what they claim to be.
- meowkit 5y agoBeing a video streaming alternative seems antithetical to the whole code repository thing. Smart thing to do would be to take a vertical chunk of hacker/dev/bug fix content that youtube has neglected over the years.
- TeeMassive 5y agoctrl-f of 'lfs' yielded no results, are those files gonna clutter git repos?
- PurpleFoxy 5y agoGitHub issues are not stored in git. This is just video attachments in the text of issues.
- TeeMassive 5y agoAh. Thanks for the info.
- petepete 5y agoDidn't realise it was a beta feature and have been uploading them for months. Such a great feature, a ten second clip can save paragraphs of ineffective description.
- BiteCode_dev 5y agoYou still need the explanation, videos are not accessible nor search engine friendly. It's a good complement though.
- lloydatkinson 5y agoWhy is that relevant for private repositories?
- moooo99 5y agoAccessibility is, search engine friendliness isn't. But being able to search the available documentation instead of clicking through videos can still be a nice touch. Also, since making a video requires a bit more effort than changing a few lines of text, video documentation often gets outdated fairly quickly. But nevertheless, in some instances, videos are definitely the way to go.
- fomine3 5y agoPossibly GitHub could make video more accessible by OCRring videos for search.
- BiteCode_dev 5y agoGithub features a search engine.
- Animats 5y agoOh, nice. Just what's needed for game dev bug reports.
- joshxyz 5y agoSweet jesus, fucking love you github. Was surprised i can upload images already, this one is way way cooler.
- euph0ria 5y agoAny tips on the best software for Windows to record video? Would be nice to be able to record a part of the screen. Also, I am very wary about what I install so please no obscure software.
- dstaley 5y agoOBS has a slight learning curve, but I find that it's able to do everything I need, including screen region recording, single window recording, and overlaying/switching between screen and webcam.
- CDSlice 5y agoWindows actually has screen recording software built in now with the XBox Game Bar. It’s meant for recording games but there isn’t any reason that you can’t use it for other programs.
- euph0ria 5y agoTried it and it was 700mb for a few minutes of recording.. didn't find any way to tweak that
- GordonS 5y agoHmm, I just tried it for the first time yesterday, and was actually quite impressed. I made a screen recoding of a desktop app, with me talking over it the whole time. The quality of both video and audio was good, and the file size was something like 5-10MB. I can't believe I've been using Windows 10 for so long and didn't even know about this - I kind of wish they'd change the name TBH; would also make it seem more reasonable to be installed be default on Enterprise eds!
- r_singh 5y agoI wonder if Google search is going to be the primary interface through which people will end up reaching some of the helpful videos.
- oefrha 5y agoIt's kind of funny that you still can't upload plain text files with arbitrary extensions when even videos are allowed. Like, try to upload a .json: > We don’t support that file type. Try again with a GIF, JPEG, JPG, MOV, MP4, PNG, CSV, DOCX, FODG, FODP, FODS, FODT, GZ, LOG, MD, ODF, ODG, ODP, ODS, ODT, PDF, PPTX, TXT, XLS, XLSX or ZIP. How hard can it be to just allow plain text regardless of file name?
- r_singh 5y agoLink to a gist?
- contriban 5y agoI’m sure HN users are aware that there are ways to share files online. File upload exists on the form but it has been arbitrarily limited.
- ravenstine 5y agoEven just friggin' allowing JSON and XML extensions would solve 80% of this problem. At my work I frequently have to change the extension to .json.txt to get it to work.
- FractalHQ 5y agoYou can upload JSON via the GH API
- metaodi 5y agoWonder if this will work for GitHub Pages as well. I've been using video uploads for issues but when I tried the same for some documentation on GitHub Pages I had to use <video> tags instead.
- dzhiurgis 5y agoLittle pet peeve, but one can't upload pics to Github wiki without first dropping it into PR, then copying resulting link.
- contriban 5y agoIf you tweet that at @natfriedman or find the product manager, they’ll add it soon. They just added file uploads to the file editor so they might also add it to the wiki (if they haven’t already)