Y
HN Search
Hacker News Search
new
|
comments
|
top
|
jobs
DaleCurtis
searching Neon…
1.
▲
2.
▲
3.
▲
4.
▲
5.
▲
6.
▲
5 ms
·
1.
▲
by
DaleCurtis
4mo ago
FWIW, the getUserMedia() portion of such a setup remains the same, so you don't lose AEC or anything else coupled there.
2.
▲
by
DaleCurtis
9mo ago
Ah, I didn't realize that always happened. I thought it was only if you did something that might have OS specific rendering characteristics (text-draws, etc). Maybe having an ImageEncoder API might be worthwhile after all then https:&
3.
▲
by
DaleCurtis
9mo ago
FWIW, you can do this with a few lines of JS in the browser using canvas.drawImage() from an img element followed by canvas.toBlob().
4.
▲
by
DaleCurtis
1y ago
Thanks for writing this! It skips my favorite edgy product name though, the X-Fi Fatal1ty cards: https://en.wikipedia.org/wiki/Sound_Blaster_X-Fi :)
5.
▲
by
DaleCurtis
1y ago
If only that were true, battery usage would be much better :) Just consider the prominence of content like tiktoks/shorts/reels/etc alone.
6.
▲
by
DaleCurtis
1y ago
Unfortunately canvas (rgb'ish) can't overlay as efficiently as <video> (yuv'ish), so there is some power cost relative to the lowest power video overlays. It really only matters in long form content where nothing else o
7.
▲
by
DaleCurtis
2y ago
The code in Chromium which handles this suspension is here: https://source.chromium.org/chromium/chromium/src/+/main:med... Basically after detecting silence for 30 seconds or so it switches from a sink
8.
▲
by
DaleCurtis
2y ago
Chrome supports HEVC with transparency on macOS since VideoToolbox does. Other platform decoders don't support it though.
9.
▲
by
DaleCurtis
2y ago
What a fun excursion :) You can also use the ImageDecoder API: https://developer.mozilla.org/en-US/docs/Web/API/ImageDecode... and VideoFrame.copyTo: https://developer.mozilla.org/en-US&#
10.
▲
by
DaleCurtis
2y ago
I still remembered my id from all those years ago, 1569200. I was excited to read others were logging in with their old numbers, so I tried the password I thought I had used, but no luck. Feeling adventurous, I dug through my archives and f
11.
▲
by
DaleCurtis
3y ago
IIRC, that bot used to be called bugdroid. I forget when it switched over, probably somewhere in 2020.
12.
▲
by
DaleCurtis
3y ago
Very cool! I think it's missing some entries though. I'm pretty sure we've had at least one in third_party/ffmpeg. Those fixes often land upstream first which might make tracking difficult.
13.
▲
by
DaleCurtis
3y ago
Even if you have crash reporting disabled there should be a .dmp generated somewhere in the user profile directory. Manually uploading that to a bug at https://crbug.com/new would allow a Chrome developer to debug it. If yo
14.
▲
by
DaleCurtis
3y ago
Often Chrome doesn't know when more frames are needed either, so it's not something we could add an API for unfortunately. Yes, just feeding inputs 1 by 1 for each dequeue event until you get the number of outputs you want in your
15.
▲
by
DaleCurtis
3y ago
> Ideally I'd like to be able to set the CBR / VBR bitrate What's wrong with the existing VBR/CBR modes? https://developer.mozilla.org/en-US/docs/Web/API/VideoEncode... > I don&
16.
▲
by
DaleCurtis
3y ago
* Hmm, what kind of scheme are you thinking beyond per frame QP? Does an abstraction on top of QP work for the case you have in mind? * Reference frame control seems to be https://github.com/w3c/webcodecs/issues&#x
17.
▲
by
DaleCurtis
3y ago
Please file an issue at https://crbug.com/new with the details and we can take a look. Are you rendering frames in order? Android may have some quirks due to legacy MediaCodec restrictions around how we more commonly need f
18.
▲
by
DaleCurtis
3y ago
The amount of frames necessary is going to depend on the codec and bitstream parameters. If it's H264 or H265, there's some more discussion and links here: https://github.com/w3c/webcodecs/issues/698
19.
▲
by
DaleCurtis
3y ago
Thanks for the nice write up! I work on the WebCodecs team at Chrome. I'm glad to hear it's mostly working for you. If you (or anyone else) has specific requests for new knobs regarding "We may need more encoding options, lik
20.
▲
by
DaleCurtis
3y ago
We're starting to see a move towards this with HEIF / AVIF containers, however in cases where "every bit must be saved" the general purpose containers like ISO-BMFF introduce some wastage that is unappealing.
21.
▲
by
DaleCurtis
3y ago
It may just work in Firefox on OS with xHE-AAC support since they already rely on the system for AAC decoding IIRC. canPlayType/isTypeSupported probably indicate no support unless they've explicitly added support though. I'm
22.
▲
by
DaleCurtis
3y ago
Chrome has supported xHE-AAC since 2020 on Android, 2022 on macOS, and added support on Windows last week.
23.
▲
by
DaleCurtis
4y ago
It's a plug-in to the Windows ID3D11VideoProcessor API, https://source.chromium.org/chromium/chromium/src/+/main:ui/...
24.
▲
by
DaleCurtis
4y ago
I think you can skip the transcode step entirely in favor of transmux with BMP too.
25.
▲
by
DaleCurtis
4y ago
Chrome has something similar here: https://source.chromium.org/chromium/chromium/src/+/main:chr... We accept contributions from other sites (e.g., Vimeo, Dailymotion, etc) who wanted to replace their lon
26.
▲
by
DaleCurtis
5y ago
Yes, it was originally for decoding information only. https://developer.mozilla.org/en-US/docs/Web/API/MediaCapabi... is on the way. I believe the latest Safari preview has it implemented and Chromium sh
27.
▲
by
DaleCurtis
5y ago
+1 to changing maybe to a shrug :) MediaCapabilities is the new way to ask the "can I play this" question: https://developer.mozilla.org/en-US/docs/Web/API/Media_Capab... It returns a boolean f
28.
▲
by
DaleCurtis
5y ago
FWIW, MediaCapabilities is the new way to ask the "can I play this" question: https://developer.mozilla.org/en-US/docs/Web/API/Media_Capab... It returns a boolean for whether a codec is support
29.
▲
by
DaleCurtis
5y ago
Neat project! You could use WebCodec's ImageDecoder plus some custom controls to do this all in JavaScript without transcoding if you wanted. Otherwise you could use VideoEncoder and MSE for native video support. https://dev
30.
▲
How video rendering works in Chromium
(developer.chrome.com)
2 points
by
DaleCurtis
5y ago
|
0 comments
More ›