3 ms·
If you're publishing videos on your own website, making sure there's an mp4 (h264) and maybe a webm (vp8/vp9) source inside a `<video>` element is good enough.
by spartanatreyu 5y ago
If you're publishing videos on your own website, making sure there's an mp4 (h264) and maybe a webm (vp8/vp9) source inside a `<video>` element is good enough.
You can probably add an av1 source in 2-3 years.
If you really need to pull things out of a video, you can either read the bytes directly from a blob, or render the video to a canvas and pull the pixel data out of there. Don't worry, there is a 0.00001% chance of you needing to do this.
You will likely never touch anything like a codec from JS ever.