ffmpeg.wasm icon indicating copy to clipboard operation
ffmpeg.wasm copied to clipboard

Unable to process RAW .MOV file created from iPhoneX. pthread error thrown

Open syedadeel2 opened this issue 3 years ago • 4 comments

Describe the bug Using this to convert videos, its working so far good except any raw format. I created short 8 seconds vid via iPhoneX which is .mov, yun420p and it went to 22 frames and thrown pthread error. Not sure how to fix it.

To Reproduce Steps to reproduce the behavior:

  1. Record any video from iPhoneX with 4K at 30 FPS
  2. Open the demo app for test https://ffmpegwasm.netlify.app/#demo (I have created my own using react but demo have same issue)
  3. Open the DevTool and you will see the error.

Expected behavior As I tried to convert that format with same command on my windows via cmd its working good, but on web its not.

Screenshots image

Desktop (please complete the following information):

  • OS: Windows
  • Browser chrome

Smartphone (please complete the following information):

  • Device: iPhoneX
  • OS: iOS14
  • Browser Safari & Chrome

Additional context Add any other context about the problem here.

syedadeel2 avatar Jun 10 '22 06:06 syedadeel2

Adding someone also did a test and that person wrote his/her experience on website here:

Same issue as mine https://cocktailmake.github.io/posts/ffmpeg-wasm/

syedadeel2 avatar Jun 11 '22 06:06 syedadeel2

Is it solved?

coder-xiaotian avatar Jun 25 '23 05:06 coder-xiaotian

Hey bro! I find a way! Adding the "-preset ultrafast" argument can solve this problem.

coder-xiaotian avatar Jun 26 '23 09:06 coder-xiaotian

wow, oom error is gone as long as you set the -preset above and including superfast

iketiunn avatar Apr 14 '24 07:04 iketiunn