Hacktoberfest 2026:メンテナが10月に向けて印を付けた、オープンで初心者向けの issue。 Hacktoberfest の issue を見る

Bug report: Time end subsecond parsing bug (losing leading zero in milliseconds)

オープン 初心者向け
#772 コメント 1 件 リアクション 0 件 担当者 0 名 GitHub で見る

まだ誰も着手していません。

評価

難易度
2/5
見積もり時間
1〜3時間
初心者へのやさしさ
65/100
issue の種類
バグ
明瞭さ
明確に書かれている
活発さ
活発
技術スタック
python
領域
backend

調査の方向性

End time フィールドの文字列から秒への変換を見つけ、Start time の変換と比較してください。02:02:56.077 で再現し、生成された引数に 7376.077 が保持されることを確認してください。報告されている他の入力も確認してください。End time が先頭のゼロを削除せずに、期待される FFmpeg 引数を生成すれば完了です。

索引モデルが issue の本文から書いたものです。

説明

bug

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:

  1. Set Start time to 02:02:53.117 -> Generates correct FFmpeg arg: -ss 7373.117 (Works perfectly!)
  2. Set End time to 02:02:56.077 -> Generates INCORRECT FFmpeg arg: -to 7376.77 instead of 7376.077.
  3. Set End time to 02:02:56.07 -> Generates INCORRECT FFmpeg arg: -to 7376.7.
  4. 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!

主要言語
Python
スター
1.6k
フォーク
78
PR マージ指標
30日以内にマージされた PR はありません

環境構築

このプロジェクトには開発コンテナ、Dockerfile、コントリビューションガイドがありません。まず README を読み、一般的な手順ははじめてのコントリビューションガイドを参照してください。

はじめの一歩

  1. issue を最後まで読み、次にプロジェクトのコントリビューションガイドを読みます。
  2. 着手することを issue にコメントします — 二人が同じ作業をするのを防げます。
  3. リポジトリをフォークし、ブランチを切って変更します。
  4. issue 番号を参照したプルリクエストを送ります。

cdgriffith/FastFlix のほかの issue

cdgriffith/FastFlix の issue をすべて見る

似ている issue

Python の issue をもっと見る

新しい issue をメールで受け取る

初心者向けの GitHub issue を短くまとめたダイジェスト。