<p>I've reproduced this issue in a simple sandbox: <a href="https://codesandbox.io/s/practical-driscoll-veyc2" rel="nofollow noreferrer">https://codesandbox.io/s/practical-driscoll-veyc2</a> (you'll have to open <a href="https://veyc2.csb.app/" rel="nofollow noreferrer">https://veyc2.csb.app/</a> in a new tab to have the screen recording functionality to work).</p>
<p>When using this sandbox to encode the mediastream to <code>video/webm;codecs=&quot;h264&quot;</code>, the resulting video plays fine on a Macbook Pro with an intel chipset. However, when transferring that same file to an m1 macbook with hardware acceleration enabled, the video fails to play. You can transfer it by right clicking the video player, show controls, then press download under controls.</p>
<p>When disabling hardware acceleration, or when creating a new recording and encoding it to h264 from that same m1 machine, the video plays fine.</p>
<p>Why does a h264 encoded video recorded with HTML MediaRecorder on an Intel macbook not play on an m1 macbook with hardware acceleration enabled?</p>

CC BY-SA 4.0
2021-04-24T10:35:12.903Z
Contact Apple for support. Your question is off-topic here as it's not about video *production* but about a problem/limitation with your device.
Matt
CC BY-SA 4.0
2021-04-24T20:36:27.793Z
It's a problem with the encoding though, rather than decoding, since other h264 videos not created (produced) using mediarecorder work fine
Tom
CC BY-SA 4.0
2021-04-25T11:07:23.197Z
If you believe it's more likely to be MediaRecorder's fault, you could file a bug report there. The fact remains this question isn't really suitable for the site, no matter if it's a device limitation or software bug. Try other tools in the meantime.
Matt
<encoding><h.264>
Why does a h264 encoded video recorded with HTML MediaRecorder on an Intel macbook not play on an m1 macbook with hardware acceleration enabled?
Tom
# Why does a h264 encoded video recorded with HTML MediaRecorder on an Intel macbook not play on an m1 macbook with hardware acceleration enabled?

(Asked by: username_0 on 2021-04-23)

I've reproduced this issue in a simple sandbox: <https://codesandbox.io/s/practical-driscoll-veyc2> (you'll have to open <https://veyc2.csb.app/> in a new tab to have the screen recording functionality to work).

When using this sandbox to encode the mediastream to `video/webm;codecs="h264"`, the resulting video plays fine on a Macbook Pro with an intel chipset. However, when transferring that same file to an m1 macbook with hardware acceleration enabled, the video fails to play. You can transfer it by right clicking the video player, show controls, then press download under controls.

When disabling hardware acceleration, or when creating a new recording and encoding it to h264 from that same m1 machine, the video plays fine.

Why does a h264 encoded video recorded with HTML MediaRecorder on an Intel macbook not play on an m1 macbook with hardware acceleration enabled?

**Tags:** encoding, h.264

> **Comments:**
> **username_1**: Contact Apple for support. Your question is off-topic here as it's not about video *production* but about a problem/limitation with your device.  
> **username_0**: It's a problem with the encoding though, rather than decoding, since other h264 videos not created (produced) using mediarecorder work fine  
> **username_1**: If you believe it's more likely to be MediaRecorder's fault, you could file a bug report there. The fact remains this question isn't really suitable for the site, no matter if it's a device limitation or software bug. Try other tools in the meantime.  

---

## 0 answers

