rfcx / arbimon-uploader

Desktop application for ingesting audio to RFCx platform
Apache License 2.0
0 stars 0 forks source link

Uploader will not allow to upload >1 hour-long file #232

Closed koonchaya closed 2 months ago

koonchaya commented 2 months ago

From: wah63@cornell.edu

I have 2.2TB of soundscape recordings from Madre de Dios, Peru, that I would like to upload. However, for whatever reason it seems that my hour-long recordings are actually one hour + 0.384 seconds! I have no idea why they have this extra fraction of a second, but it means they are getting caught by the "audio duration is longer than one hour, please split files into shorter durations" filter, which prevents me from uploading them, even though in the uploader the duration rounds to 1:00. Do you have any suggestions for resolving this issue? I don't know how to efficiently cut the 0.384 seconds off of every single recording (there are several thousand!). Is there a piece of code that can do this, or perhaps a way to slightly modify the Arbimon code to allow a half second over an hour without flagging? They were recorded with SWIFT units, if that matters. Thank you!