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

I can't download my record #39

Open boubakerBS opened 5 months ago

boubakerBS commented 5 months ago

Is there an existing issue for this?

Bug description

image if i click download for the second record ( the browser page is crashed

Steps To Reproduce

jimage if i click download for the second record ( the browser page is crashed

Environment including version

- Beesy: v0.0.14 
- OS: Linux
- Browser: chromed

Attachments

No response

piyu-sh commented 5 months ago

Hey @boubakerBS , thanks for raising an issue.

Noah-Nelson commented 4 months ago

Hello! I might be encountering the same issue.

IMPORTANT: I forgot to stop the recording before ending the call. Seems a likely source of the problem for me.

Screen capture of download with console output: Screen recording 2024-05-23 11.12.45 AM.webm

Possibly related, either the Beesy: Recordings tab or sometimes this tab (GitHub) would crash with this or a similar error message if I navigate away from the tab while it is trying to download: Screenshot 2024-05-23 11 14 09 AM

piyu-sh commented 4 months ago

Hi @Noah-Nelson ,

Thanks for adding a detailed comment, it really helped. To clarify a few things:

So the issue most probably is that the video file is huge, almost 1.5gb and your system is running out of ram when Beesy is trying to process that video in memory that's why the tab crashes when you're trying to download.

Could you please share a few details

Noah-Nelson commented 4 months ago

Hi, thanks for the response!

  1. The video is still there. It is my most recent recording from Thursday, May 23: beesy_recording-2024_05_23_09_32_03-uwr_hgzj_miw.webm
  2. I have about 4.5 GB available memory out of about 7.75 GB
  3. Unfortunately, closing all other applications and browser tabs did not do the trick. It still crashed the single chrome tab for Beesy recordings without downloading the video file.

On Sat, May 25, 2024 at 5:14 AM Piyush @.***> wrote:

Hi @Noah-Nelson https://github.com/Noah-Nelson ,

Thanks for adding a detailed comment, it really helped. To clarify a few things:

  • Console error says missing duration - You can ignore this warning, it comes up even if video is downloaded
  • I forgot to stop the recording before ending the call - Even if you forgot to stop, Beesy still saves the recording in recording tab, so you're safe there, but yes the video size is huge because of that probably
  • Possibly related, either the Beesy: Recordings tab or sometimes this tab (GitHub) would crash - yes this might be a problem

So the issue most probably is that the video file is huge, almost 1.5gb and your system is running out of ram when Beesy is trying to process that video in memory that's why the tab crashes when you're trying to download.

Could you please share a few details

  • Have you deleted that video from recording tab ? If not, we can still help you retrieve it
  • How much ram does your system has ?
  • Could you try downloading that video by closing all other programs on your system and all other tabs in the browser ? So the only thing open on your system when that download is running should be chrome with this tab.

— Reply to this email directly, view it on GitHub https://github.com/pi-ra/beesy-issue-tracker/issues/39#issuecomment-2131235610, or unsubscribe https://github.com/notifications/unsubscribe-auth/BHS24FBLB56AZIDG3JJ6BR3ZEB6CZAVCNFSM6AAAAABHINCC3GVHI2DSMVQWIX3LMV43OSLTON2WKQ3PNVWWK3TUHMZDCMZRGIZTKNRRGA . You are receiving this because you were mentioned.Message ID: @.***>

piyu-sh commented 4 months ago

Hey @Noah-Nelson ,

Great that you haven't deleted it, let me help you download your recording first.

  1. Go to the recordings page and open devtools by right clicking anywhere and then clicking 'Inspect' in the context menu
  2. Click on the console panel
  3. Now copy paste this code into that console
    
    (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/webm',
    });
    chrome.downloads.download({url: URL.createObjectURL(blb), filename: fileName});

})('your_filename_here')


4. Replace 'your_filename_here' in above code with the filename you want to download e.g. 'beesy_recording-2024_04_03_16_46_43-rcs_bqux_qhd.webm'
5. And then press enter, hopefully the recording should start downloading in a minute or so considering its a huge file.

Let me know how it goes.
Noah-Nelson commented 4 months ago

Thank you for this, it worked! Two follow-up questions:

  1. Is there any particular reason the recording did not download locally on its own? Would you venture it's because I forgot to end the recording, because of the size of it, or something else?
  2. When I bother to record meetings, they tend to be meetings with external clients/users, and typically go 1-1.5 hours. This was the case with this recording as well. You mentioned that it was quite large. Are there other factors I could control to limit video file size besides the duration of the recording?

Thanks again for all your help, Noah

On Wed, May 29, 2024 at 10:59 AM Piyush @.***> wrote:

Hey @Noah-Nelson https://github.com/Noah-Nelson ,

Great that you haven't deleted it, let me help you download your recording first.

  1. Go to the recordings page and open devtools by right clicking anywhere and then clicking 'Inspect' in the context menu
  2. Something like this should open up image.png (view on web) https://github.com/pi-ra/beesy-issue-tracker/assets/7107647/e76320a0-356b-42fb-947a-27f03edf699f
  3. Click on the console panel
  4. Now copy paste this code into that console

(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/webm', }); chrome.downloads.download({url: URL.createObjectURL(blb), filename: fileName});

})('your_filename_here')

  1. Replace 'your_filename_here' in above code with the filename you want to download e.g. 'beesy_recording-2024_04_03_16_46_43-rcs_bqux_qhd.webm'
  2. And then press enter, hopefully the recording should start downloading in a minute or so considering its a huge file.

Let me know how it goes.

— Reply to this email directly, view it on GitHub https://github.com/pi-ra/beesy-issue-tracker/issues/39#issuecomment-2137972550, or unsubscribe https://github.com/notifications/unsubscribe-auth/BHS24FDIODDJF755NTZ325LZEYJPZAVCNFSM6AAAAABHINCC3GVHI2DSMVQWIX3LMV43OSLTON2WKQ3PNVWWK3TUHMZDCMZXHE3TENJVGA . You are receiving this because you were mentioned.Message ID: @.***>

piyu-sh commented 4 months ago

Great that you were able to download it ! @Noah-Nelson

The recording you downloaded might not be seekable in media player(i.e. you would not see the timestamps while playing it). This is due to browser limitations. To fix this, could you please try to use below option in Beesy settings ?

Screenshot 2024-06-01 005731

If the browser tab still crashes while fixing this, let me know.

And to your ques:

  1. Might be wrong, but I think recordings didn't download because chrome was running out of memory while processing the video. As I mentioned above the video you downloaded wouldn't have timestamps, to fix that we run an operation in memory and that might have caused it to crash.
  2. You can try playing with the video config/audio config settings in Beesy to see if some format is taking up less size. But if you try those, I'd strongly suggest trying them out on non important meetings first so you can see if it's the right setting for you.

Rest assured, we'll also be thinking of how to tackle this issue.

arunpr90 commented 2 months ago

Hey @Noah-Nelson ,

Great that you haven't deleted it, let me help you download your recording first.

  1. Go to the recordings page and open devtools by right clicking anywhere and then clicking 'Inspect' in the context menu
  2. Click on the console panel
  3. Now copy paste this code into that console
(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/webm',
  });
  chrome.downloads.download({url: URL.createObjectURL(blb), filename: fileName});

})('your_filename_here')
  1. Replace 'your_filename_here' in above code with the filename you want to download e.g. 'beesy_recording-2024_04_03_16_46_43-rcs_bqux_qhd.webm'
  2. And then press enter, hopefully the recording should start downloading in a minute or so considering its a huge file.

Let me know how it goes.

It's working for files than 300mb but now working for files more than 500mb.

When i try to download, the browser stops working / freezer.

piyu-sh commented 1 month ago

hey @arunpr90 , sorry for the late reply, could you please help us with a few things ?