Chrome/Electron don't normally support H.265 videos. I want the user to be able to play .mov files recorded by Apple devices in my app. How can I do this?
Possible approaches:
- Use ffmpeg to transcode to H.264 in real-time, which will be resource intensive (not ideal)
- Use WebAssembly to render the video in a
<canvas>tag (not ideal) - Fork and manually add H.265 codec support to Chrome/Electron (overkill)
- Use a native module that renders the video in a
<canvas>orBrowserView
from Supporting HEVC/H.265 videos in Electron
No comments:
Post a Comment