Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

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

Open
msarker3 opened this issue Aug 2, 2023 · 1 comment
Open

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

msarker3 opened this issue Aug 2, 2023 · 1 comment

Comments

@msarker3
Copy link

msarker3 commented Aug 2, 2023

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+1100_REC_-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
Copy link
Member

atruskie commented Aug 2, 2023

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.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants