collab-project / videojs-wavesurfer

video.js plugin that adds a navigable waveform for audio and video files
https://collab-project.github.io/videojs-wavesurfer
MIT License
365 stars 54 forks source link

File size is around 5g, browser crashes, memory exceeds #171

Open code565 opened 1 year ago

code565 commented 1 year ago

Description

File size is around 5g, browser crashes, memory exceeds

Steps to reproduce

let player = videojs('myClip', this.options, function() { let msg = 'Using video.js ' + videojs.VERSION + ' with videojs-wavesurfer ' + videojs.getPluginVersion('wavesurfer') + ' and wavesurfer.js ' + WaveSurfer.VERSION; videojs.log(msg); this.player = player // load wav file from url player.src({src: require('../../../../../static/1.6G.wav'), type: 'audio/wav'});

thijstriemstra commented 8 months ago

This is a wavesurfer.js issue that might be fixed in a 7.x version or newer but that isn't supported (yet).