Bug report: Time end subsecond parsing bug (losing leading zero in milliseconds)
Nadie ha tomado este issue todavía.
Evaluación
- Dificultad
- 2/5
- Tiempo estimado
- 1-3 horas
- Aptitud para principiantes
- 65/100
Línea de trabajo
Encuentra la conversión del campo End time de cadena a segundos y compárala con la conversión de Start time. Reproduce el problema con 02:02:56.077 y confirma que el argumento generado conserva 7376.077; comprueba también las demás entradas indicadas. La tarea estará completa cuando End time genere los argumentos FFmpeg esperados sin eliminar los ceros iniciales.
Escrito por el modelo de indexación a partir del texto del issue.
Descripción
FastFlix Version:
Operating System:
Describe the bug
A clear and concise description of what the bug is.
To Reproduce
Steps to reproduce the behavior
Screenshots
If applicable, add screenshots to help explain your problem.
Logs (If applicable) In FastFlix you can go to Help > Open Log Directory and sort by latest to find the newest log file to add here.
Please make sure to remove any personal information or video names in the screenshots and logs!
Description:
There is a serious bug in the "End time" (Конец) field parsing logic. FastFlix incorrectly parses milliseconds if there is a leading zero right after the dot, causing huge shifting errors in the generated FFmpeg command.
Steps to reproduce:
- Set Start time to 02:02:53.117 -> Generates correct FFmpeg arg: -ss 7373.117 (Works perfectly!)
- Set End time to 02:02:56.077 -> Generates INCORRECT FFmpeg arg: -to 7376.77 instead of 7376.077.
- Set End time to 02:02:56.07 -> Generates INCORRECT FFmpeg arg: -to 7376.7.
- Set End time to 02:02:56.0077 -> Generates INCORRECT FFmpeg arg: -to 7376.77.
Root cause:
The internal parser for the End Time field completely ignores or strips the leading zero right after the decimal point, treating .077 as .77 (shifting 77ms to 770ms). It seems the parser treats the input value mathematically as a float or uses an incorrect divisor (/ 100 instead of / 1000), or removes the zero during string manipulation.
Please fix the End time string-to-seconds conversion logic to match the flawless behavior of the Start time field. Thank you!
- Lenguaje dominante
- Python
- Estrellas
- 1.6k
- Forks
- 78
- Métricas de merge de PR
- Sin PR fusionados en 30 d
Preparar el entorno
Este proyecto no incluye contenedor de desarrollo, Dockerfile ni guía de contribución, así que la configuración corre por tu cuenta: empieza por su README y consulta nuestra guía para la primera contribución para los pasos generales.
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 cdgriffith/FastFlix
-
Dificultad 2/5 1-3 horas Aptitud para principiantes 78/100
cdgriffith/FastFlix#768 ·
-
`-log_level` typoAbierto
Dificultad 1/5 Menos de una hora Aptitud para principiantes 85/100
cdgriffith/FastFlix#767 ·
-
bug
Dificultad 2/5 1-3 horas Aptitud para principiantes 76/100
cdgriffith/FastFlix#739 · 1 reacción ·
-
bug
Dificultad 2/5 1-3 horas Aptitud para principiantes 55/100
cdgriffith/FastFlix#771 ·
-
feature request
Dificultad 4/5 3-5 días Aptitud para principiantes 48/100
cdgriffith/FastFlix#770 · 1 reacción ·
Todos los issues de cdgriffith/FastFlix
Issues similares
-
Link Checker ReportAbiertoautomated issue linkchecker report
Dificultad 2/5 1-3 horas Aptitud para principiantes 66/100
QuantEcon/lecture-python.myst#1098 ·
Los mantenedores suelen responder en 1 día
-
Dificultad 2/5 1-3 horas Aptitud para principiantes 82/100
-
[Bug]: Processing errors missing from Docker logs due to incorrect console-handler detectionAbiertobug
Dificultad 2/5 1-3 horas Aptitud para principiantes 82/100
podly-pure-podcasts/podly_pure_podcasts#279 ·
Los mantenedores suelen responder en 1 día
-
New template proposal: ljpAbiertotemplate-proposal
Dificultad 1/5 Menos de una hora Aptitud para principiantes 78/100
-
Dificultad 1/5 Menos de una hora Aptitud para principiantes 82/100
OpenShot/openshot-qt#6230 ·
Los mantenedores suelen responder en 1 día