A-Good-Company / decon

GNU General Public License v3.0
2 stars 2 forks source link

OPUS file format not supported for Audio transcription #3

Open A-Good-Company opened 7 months ago

A-Good-Company commented 7 months ago
"message": "Invalid file format. Supported formats: ['flac', 'm4a', 'mp3', 'mp4', 'mpeg', 'mpga', 'oga', 'ogg', 'wav', 'webm']",

Also, runtime error looks crappy

ERROR
Cannot read properties of undefined (reading 'length')
TypeError: Cannot read properties of undefined (reading 'length')
    at Object.jsonToSubs (webpack-internal:///./src/utils/openai.js:68:39)
    at Object.detectText (webpack-internal:///./src/utils/openai.js:56:19)
    at async Proxy.handleDetectText (webpack-internal:///./node_modules/babel-loader/lib/index.js??clonedRuleSet-40.use[0]!./node_modules/vue-loader/dist/index.js??ruleSet[0].use[0]!./src/components/VideoTile.vue?vue&type=script&lang=js:31:22)