ffmpegwasm / ffmpeg.wasm

FFmpeg for browser, powered by WebAssembly
https://ffmpegwasm.netlify.app
MIT License
13.49k stars 775 forks source link

Throw error: Unhandled Promise Rejection: DataCloneError on Safari for iOS #584

Open frmachao opened 9 months ago

frmachao commented 9 months ago

Describe the bug

When I use ffmpeg.wasm on Safari or Chrome on iOS, an error occurs during the execution of ffmpeg.load({coreURL}).

To Reproduce

  1. Access [video.frmachao.top](https://video.frmachao.top/) using Safari on IOS.
  2. Click on the upload button, and after successful upload, click on the compress button.
  3. Wait for the error to appear in the console.

Expected behavior It works fine on desktop Safari and Chrome, and I also hope it can work on browsers on the iOS platform.

Screenshots image

Smartphone (please complete the following information):

Additional context ffmpeg/core version 0.12.2