QutEcoacoustics / audio-analysis

The audio analysis code (AnalysisPrograms.exe) for the QUT Ecoacoustics Research Group
https://ap.qut.ecoacoustics.info/
Apache License 2.0
53 stars 12 forks source link

Failed parsing 'N/A' to get FORMAT duration #558

Open msarker3 opened 1 year ago

msarker3 commented 1 year ago

Describe the bug

I am analysing large numbers of .flac files. I've successfully run 406 minutes ( 6h 45 min, 1.99GB) and 122 minutes ( 2h 1min, 611MB) audio segments. However, I am getting the following error running other recording which are 240 minutes (4hrs, 164 MB) audio segments.

System.FormatException: Failed parsing 'N/A' to get FORMAT duration.

and there was just a 1 minute audio file in the output folder which is also corrupted.

Expected behavior

I'm using audio2csv and Towsey.acoustics.yml script so I would expect acoustic indices calculated with FCS images, as happened with the previous audio segments. I would need the FCS image to detect frog calling in the output folder

Diagnostics

Instructions

✅ I have followed the instructions for reporting a bug

I have attached a log:

Log_20201107T000000+1100REC-30.1228+145.4222.txt

The operating system I'm using is:

Windows 11 Home

The version of AnalysisPrograms.exe I'm using is:

QUT Ecoacoustics Analysis Programs - version 21.7.0.4 (RELEASE build, 2021-07-05T04:44:31.8653927+00:00)

The data used can be found:

Data can be shared privately, if necessary.

The command I used:

PS E:\3_30.12216_145.42189_dry_land\20201107_AAO_-30.1228+145.4222> C:\AP\AnalysisPrograms.exe audio2csv 20201107T000000+1100_REC_-30.1228+145.4222.flac Towsey.Acoustic.yml .\IndicesOutput_20201107T000000+1100_REC_-30.1228+145.4222

The config file I used:

No idea how to get the config file.

Screenshots

SR1 SR2

Additional Details

atruskie commented 1 year ago

Hi @msarker3.

Thanks for filing an issue.

Can you provide a sample file?

I'm going to take a wild guess and say this is the FL010 bug we've previously documented at https://openecoacoustics.org/resources/known-problems/frontier_labs/fl010/

I make another tool called EMU: https://github.com/QutEcoacoustics/emu/. It can repair the files with certain problems too. See https://github.com/QutEcoacoustics/emu/blob/master/docs/fixes.md#check-if-a-file-is-affected-by-the-fl010-metadata-bug

Let me know if I guessed correctly, otherwise send a sample file please.