You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Copy file name to clipboardExpand all lines: blog/25-11-15/ffmpeg-in-the-browser/ffmpeg-in-the-browser.html
+24-6Lines changed: 24 additions & 6 deletions
Original file line number
Diff line number
Diff line change
@@ -486,11 +486,17 @@ <h4>
486
486
</h4>
487
487
<ul>
488
488
<li>
489
-
<b>WebCodecs (recommended):</b> Native browser API. Minimal code, no external library downloads, good performance.
489
+
<b>
490
+
WebCodecs (recommended):
491
+
</b>
492
+
Native browser API. Minimal code, no external library downloads, good performance.
490
493
Requires you to parse or otherwise obtain SPS/PPS for the decoder config.
491
494
</li>
492
495
<li>
493
-
<b>Broadway (JS/asm.js/WASM):</b> A historical JavaScript H.264 decoder compiled from Android’s C decoder via Emscripten.
496
+
<b>
497
+
Broadway (JS/asm.js/WASM):
498
+
</b>
499
+
A historical JavaScript H.264 decoder compiled from Android’s C decoder via Emscripten.
494
500
Runs fully in JS without browser codecs, but is heavier and slower compared to hardware/native paths.
495
501
Useful if WebCodecs isn’t available or you need a pure-JS path.
496
502
</li>
@@ -519,14 +525,23 @@ <h4>
519
525
</h4>
520
526
<ul>
521
527
<li>
522
-
<b>From container:</b> If your H.264 comes from MP4, read the avcC box (AVCDecoderConfigurationRecord). It contains SPS/PPS you can pass as description.
528
+
<b>
529
+
From container:
530
+
</b>
531
+
If your H.264 comes from MP4, read the avcC box (AVCDecoderConfigurationRecord). It contains SPS/PPS you can pass as description.
0 commit comments