Skip to content

Decoder gives "Duration invalid" error #4

Description

@gregburman-sony

Hi, I'm playing around with the executables as described in usage.md, to see how the pipeline works. I generated a dummy wav file which is just a sine wave with a frequency of 85 Hz over a duration of 1 second, sampled at 44100 Hz.

I ran Encoder.exe to generate an hmpg file as follows:

.\Encoder.exe -f .\sine_wave_85Hz.wav -o sine_wave_85Hz.hmpg --binary

I then tried running Decoder.exe as follows:

.\Decoder.exe -f sine_wave_85Hz.hmpg -o sine_wave_85Hz.hjif 

I then get the following output:

> .\Decoder.exe -f .\sine_wave_85Hz.hmpg -o .\sine_wave_85Hz.hjif
The file to process is : .\sine_wave_85Hz.hmpg
.\sine_wave_85Hz.hmpg: File does not comply with standard ISO/IEC 23090-31.
More information are provided in file: .\sine_wave_85Hz.log

.\sine_wave_85Hz.log has the following contents:

MIHSUnit_Silent error: Duration invalid. Error code: 72

Am I possibly using the executables incorrectly, e.g. by using an incorrectly generated wav file?

I'm running this on Windows 11 Enterprise, version 23H2. I compiled and built the code with Visual Studio 2022.

Activity

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions