🍋
Menu
Video

B-Frame

Bidirectional Predicted Frame

A video frame that references both preceding and following frames for highly efficient compression.

รายละเอียดทางเทคนิค

Video processing of b-frame involves multiple interdependent parameters: codec, container, resolution, frame rate, bitrate, color space, and audio track configuration. The MediaSource Extensions (MSE) API enables adaptive streaming in browsers, while the WebCodecs API provides low-level access to hardware encoders/decoders. Understanding b-frame is critical for balancing visual quality against bandwidth and storage constraints — a 1-minute 4K video at high quality can exceed 500 MB unoptimized.

ตัวอย่าง

```html
<!-- B-Frame: HTML5 video with format fallback -->
<video controls preload="metadata">
  <source src="video.webm" type="video/webm; codecs=vp9,opus">
  <source src="video.mp4"  type="video/mp4">
  Your browser does not support HTML5 video.
</video>
```

เครื่องมือที่เกี่ยวข้อง

คำศัพท์ที่เกี่ยวข้อง