rfcx / arbimon-uploader

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

Uploader - error uploading very short file #225

Closed koonchaya closed 5 months ago

koonchaya commented 5 months ago

Original report: https://rfcx.slack.com/archives/C03FD1WD02J/p1718123083670039

I was just trying to upload an audio file via the arbimon uploader and its come up with an error 'Validation errors: Parameter 'sample_count' should be an integer'. It is a 30minute clip from a longer .wav file that I cropped in R. I (Carly) also tried to upload the file myself and got the same error

Example file https://rfcx.slack.com/archives/C03FD1WD02J/p1718123145781889?thread_ts=1718123083.670039&cid=C03FD1WD02J

Image

Fix in https://github.com/rfcx/ingest-service/issues/81

Tooseriuz commented 5 months ago

it as expected that the last files is 0.000031 second and null sample count it can split into 31 files same as ingest service Screenshot 2567-06-13 at 17 18 40

from

ffprobe -i out030.wav -show_entries stream=sample_count -show_entries format=duration -v quiet -of csv="p=0"

the result is


0.000031

the first line should be sample_count but it is empty so it means null

carlybatist commented 5 months ago

@koonchaya is this closed since this ticket is completed - https://github.com/rfcx/ingest-service/issues/81

koonchaya commented 5 months ago

This fix hasn't been deployed to production yet.