collab-project / videojs-record

video.js plugin for recording audio/video/image files
https://collab-project.github.io/videojs-record
MIT License
1.4k stars 315 forks source link

ffmpeg.wasm plugin needs upgrading to 0.12+ #697

Closed michi88 closed 9 months ago

michi88 commented 1 year ago

Description

The API has changed from 0.12+. Examples are also not working as it uses the latest ffmpeg version (//unpkg.com/@ffmpeg/core/dist/ffmpeg-core.js results in Cannot find "/dist/ffmpeg-core.js" in @ffmpeg/core@0.12.3) .

see: https://ffmpegwasm.netlify.app/docs/migration

Steps to reproduce

https://collab-project.github.io/videojs-record/demo/video-only-ffmpegwasm.html

Error output

ReferenceError: FFmpeg is not defined

Let me know if you'd like a PR.

Thanks for your work on the plugin!

dparker2 commented 9 months ago

Various demos simply do not work because of using latest unpkg links. Audio specific ones using wavesurfer has the same issue

thijstriemstra commented 9 months ago

Various demos simply do not work because of using latest unpkg links. Audio specific ones using wavesurfer has the same issue

Should be fixed with #704