AudioToTextSubtitlesProvider: max file size value of 25 MB hardcoded
Los mantenedores suelen responder en 1 día
Nadie ha tomado este issue todavía.
Evaluación
- Dificultad
- 2/5
- Tiempo estimado
- 1-3 horas
- Aptitud para principiantes
- 68/100
Línea de trabajo
El issue apunta a la comprobación del tamaño en AudioToTextSubtitlesProvider, pero no indica la ruta del archivo. Encuentra ese proveedor y lee primero la comprobación y las pruebas cercanas. Actualiza la gestión del tamaño en el cliente para que se puedan enviar entradas más grandes y, después, verifica que la generación de subtítulos funcione o que el error de la API se comunique claramente.
Escrito por el modelo de indexación a partir del texto del issue.
Descripción
Which version of integration_openai are you using?
5.0.0
Which version of Nextcloud are you using?
35.0.3
Which browser are you using? In case you are using the phone App, specify the Android or iOS version and device please.
not relevant
Describe the Bug
When submitting an MP3 file for Subtitle generation that is larger than 25 MB the sytem logs the following:
A TaskProcessing core:audio2text:subtitles task with id failed with the following message: Filesize of input is too large. Max is 25MB"
Of course there may be a limit in OpenAI but as this app is targeting all compatible APIs, I think this control shoudn't be there on the client side. In my opinion it is up to the server to let the client know that the file is oversized.
$fileSize = intval($input['input']->getSize());
// Maximum file size for OpenAI is 25MB. (https://developers.openai.com/api/docs/guides/speech-to-text)
if ($fileSize > 25 * 1000 * 1000) {
throw new UserFacingProcessingException(
'Filesize of input is too large. Max is 25MB',
0,
null,
$this->l->t('The input file size is too large. A maximum of 25MB is allowed.'),
);
}
Expected Behavior
The file is subtitled or the server responds with a proper error message.
To Reproduce
Try to generate subtitles on a file larger than 25MB.
- Lenguaje dominante
- PHP
- Estrellas
- 78
- Forks
- 42
- Merge medio
- 2 d 21 h
- PR fusionados (30 d)
- 5
Preparar el entorno
- Sin Dockerfile ni archivo de Docker Compose
- Sin plantilla de pull request
- Leer la guía de contribución
Primeros pasos
- Lee el issue completo y luego la guía de contribución del proyecto.
- Comenta en el issue que vas a ocuparte — evita que dos personas hagan lo mismo.
- Haz un fork del repositorio y trabaja en una rama.
- Abre un pull request que haga referencia al número del issue.
Más de nextcloud/integration_openai
-
Dificultad 2/5 1-3 horas Aptitud para principiantes 76/100
nextcloud/integration_openai#480 ·
Los mantenedores suelen responder en 1 día
-
Dificultad 1/5 Menos de una hora Aptitud para principiantes 92/100
nextcloud/integration_openai#471 · 3 comentarios ·
Los mantenedores suelen responder en 1 día
-
Vllm rejecting requests that have empty tools listPosiblemente ocupada Un pull request vinculado a esta issue está abierto o ya se fusionó. Abiertobug
Dificultad 2/5 1-3 horas Aptitud para principiantes 76/100
nextcloud/integration_openai#448 · 3 comentarios · 2 reacciones ·
Los mantenedores suelen responder en 1 día
-
Chunked text processing silently drops the end of long textsPosiblemente ocupada @nonofr91 la tomó hoy. Abierto
Dificultad 2/5 1-3 horas Aptitud para principiantes 35/100
nextcloud/integration_openai#478 ·
Los mantenedores suelen responder en 1 día
-
Solve 2 transcription problems: Video input and big inputPosiblemente ocupada @danafon la tomó hace 1 día. Abiertobug enhancement priority: high
Dificultad 5/5 Más de una semana Aptitud para principiantes 35/100
nextcloud/integration_openai#472 · 1 asignado ·
Los mantenedores suelen responder en 1 día
Todos los issues de nextcloud/integration_openai
Issues similares
-
Document lexicon.default.userconfig and lexicon.default.userconfig.enforced in config.sample.phpAbiertoenhancement feature: settings good first issue
Dificultad 1/5 1-3 horas Aptitud para principiantes 88/100
Los mantenedores suelen responder en 1 día
-
Dificultad 2/5 1-3 horas Aptitud para principiantes 70/100
Los mantenedores suelen responder en 1 día
-
a11y
Dificultad 2/5 1-3 horas Aptitud para principiantes 68/100
omeka/plugin-Contribution#84 ·
-
bug
Dificultad 2/5 1-3 horas Aptitud para principiantes 76/100
recca0120/vscode-phpunit#620 ·
Los mantenedores suelen responder en 1 día
-
Validation rule generation for recursive Data objects is unbounded (O(payload depth))Posiblemente ocupada @irfanm96 la tomó hoy. Abierto
Dificultad 2/5 1-3 horas Aptitud para principiantes 68/100
spatie/laravel-data#1226 ·