pi-ra / beesy-issue-tracker

Beesy: Record Google Meets - Issue Tracker
https://chrome.google.com/webstore/detail/beesy-record-google-meets/eabicnldgjknbifdgmnieblkbnggfnde
14 stars 1 forks source link

Out of memory issue #42

Closed NagarajKamath closed 1 month ago

NagarajKamath commented 1 month ago

Is there an existing issue for this?

Bug description

When my gmeet ends, beesy doesn't download the video automatically and also when I try to download it manually it says out of memory issue, but when I checked my task manager for cpu, ram and disk utilization, they are below 20% so no issue on system end. So seems to be issue from beesy end. Previously I had set the video format as webm and it was working fine when I set it to mp4, my issue started... please resolve this issue.

Steps To Reproduce

When my gmeet ends, beesy doesn't download the video automatically and also when I try to download it manually it says out of memory issue, but when I checked my task manager for cpu, ram and disk utilization, they are below 20% so no issue on system end. So seems to be issue from beesy end. Previously I had set the video format as webm and it was working fine when I set it to mp4, my issue started... please resolve this issue.

Environment including version

- Beesy: 0.0.14
- OS: windows 11
- Browser:chrome
- Media Player:vc

Attachments

No response

piyu-sh commented 1 month ago

Hi @NagarajKamath , could you please help share a few things:

NagarajKamath commented 1 month ago

It was around 35 minutes for one video and 50min-1hour for another video. One s 212 mb and another is 1.36GB. Since some of the mobile isn't supporting webm, my users wee not able to access the video in webm format, So I switched to mp4. Screenshot 2024-08-19 231304 Screenshot 2024-08-19 231822

I have attached screenshot. But Yes I was able to download the video using the console method you have shared. I have used this code:

(async function downloadFile(fileName){ const opfsHandle = await navigator.storage.getDirectory() const recDir = await opfsHandle.getDirectoryHandle('beesy_recordings') const fileToDownloadHandle = await recDir.getFileHandle(fileName); const fileToDownload = await fileToDownloadHandle.getFile() const ab = await fileToDownload.arrayBuffer(); const blb = new Blob([ab], { type: 'video/mp4', }); chrome.downloads.download({url: URL.createObjectURL(blb), filename: fileName});

})('your_filename_here')

//////////////////////////////////////////////////////////////////// So issue is resolved as I was able to download both the files. ///////////////////////////////////////////////////////////////////

piyu-sh commented 1 month ago

@NagarajKamath Glad that you were able to download both files !

Can you please try playing those videos if those are seekable in media player ? (For context , read this comment)

NagarajKamath commented 1 month ago

Yes they are working fine.