Monday, 8 February 2021

Supporting HEVC/H.265 videos in Electron

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:

  1. Use ffmpeg to transcode to H.264 in real-time, which will be resource intensive (not ideal)
  2. Use WebAssembly to render the video in a <canvas> tag (not ideal)
  3. Fork and manually add H.265 codec support to Chrome/Electron (overkill)
  4. Use a native module that renders the video in a <canvas> or BrowserView


from Supporting HEVC/H.265 videos in Electron

No comments:

Post a Comment