olivierfriard/BORIS

Failure to Generate Waveform or Spectrogram from VideoPad Exports

Opened this issue · 12 comments

I'm not sure if this is a bug with BORIS or an issue with the video editing software I use (VideoPad), but am not sure where else to ask about it. I'm researching bat sociality and need to watch combined video from two cameras and high frequency audio (192 kHZ) already synced up in VideoPad, which I was hoping to export to BORIS where I would code behavior and calls. Unfortunately, when I try to visualize the spectrogram and waveform, BORIS says the file has an unknown format. I've tried both .mp4 and .mov files; the problem exists for both. The .mp4 had one channel and the .mov had two channels.

To Reproduce

  1. In an existing project, create a new observation.
  2. Select VideoPad export as first player.
  3. When creating the new observation, choose to generate spectrogram and waveform for first player.

Expected behavior
I expected BORIS to be able to generate the spectrogram and waveform; upon testing the individual audio file BORIS has no problem. It only fails to visualize spectrogram/waveform with videopad exports.

Screenshots
error (says the same thing for waveform):
trial 1 BORIS spectrogram error
.mov attempt properties:
trial 1 properties
.mp4 attempt properties:
trial 9 properties

Desktop (please complete the following information):

  • OS: Windows 10
  • BORIS v.8.27.1

Hi,
thank you for reporting this.
Is it possible to access the files?

Please give me access to the files

thanks for the files.
I will check this as soon as possible

The issue is due to a bug in the wave module for version of Python < 3.12.
I must switch from Python 3.11 to 3.12 for the Windows deployment, I think that a new release of BORIS that fixed this issue will be available in few days.
Thank you for your collaboration

Hi,
I updated the v. 8.27.1 with Python 3.12 (see https://www.boris.unito.it/download/)
Please try and let me know and the issue is fixed.

Hi,
I will add the possibility to generate the spectrogram/waveform from an arbitrary player in a future version.