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

AMR audio attached through form throw an error when converted #4598

Open
JacquelineMorrissette opened this issue Aug 22, 2023 · 1 comment
Open
Assignees
Labels
Back end bug Things broken and not working as expected

Comments

@JacquelineMorrissette
Copy link
Contributor

JacquelineMorrissette commented Aug 22, 2023

Description

Converting an .amr audio file that has been uploaded to a submission in Enketo produces an error:

detail "Conversion is not supported for application/octet-stream"

Steps to Reproduce

  1. Create a with an audio field
  2. Save and deploy
  3. Open the form in Enketo and upload an .amr file
  4. Submit the form and go to the conversion endpoint /api/v2/assets/{asset_uid}/data/{data_id}/attachments/?xpath=Path_to_audio_question&format=mp3
  5. Receive error

Expected behavior

The browser should open an MP3 file

Actual behavior

detail "Conversion is not supported for application/octet-stream"

Additional details

FFMPEG might just need an additional codec installed to make this happen, or it might be as easy as re-checking the MIME-type on .amr files

@JacquelineMorrissette JacquelineMorrissette added bug Things broken and not working as expected Back end labels Aug 22, 2023
@JacquelineMorrissette
Copy link
Contributor Author

Assigned to @noliveleger for delegation

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Back end bug Things broken and not working as expected
Projects
None yet
Development

No branches or pull requests

2 participants