Closed daoxi closed 1 year ago
The reason for the difference in lyric timestamp between the origin and the translated is that the server source file is not match, that's what you're say about [00:00.01]
.
If the timestamp is difference, the program can't match the original and translation lyrics in pairs. This scenario not easy to deal it.
The reason for the difference in lyric timestamp between the origin and the translated is that the server source file is not match, that's what you're say about
[00:00.01]
.If the timestamp is difference, the program can't match the original and translation lyrics in pairs. This scenario not easy to deal it.
I see, something is probably wrong on the server side of the lyrics sources (which is definitely the fault of QQ/NetEase Music).
Would it be possible to solve this issue by trying to match the original and translated lyric timestamps within an user-defined tiny interval (e.g. [00:00.01]
, or [00:00.02]
, or [00:00.05]
, etc.)? That will make the original/translated lyrics matching more tolerant of inaccuracy.
For example, if the interval is [00:00.02]
, then the original lyric at [00:14.47]
will be matched with [00:14.45]
/[00:14.46]
/[00:14.47]
/[00:14.48]
/[00:14.49]
translated lyric (there's typically (99%) only one match, because the lyrics' timestamps are typically more than [00:00.02]
apart).
I understand this isn't a perfect solution, but I can't think of a better way to deal with this issue.
So, as of now there are 3 options to deal with untranslated lyric lines, when I choose the last option (i.e. "填充原文") and the "仅显示译文" lyrics mode, something strange happens:
For this song for example, there are 3 extra/duplicate original lyric lines in translated lyrics, at
[01:12.78]
,[01:19.02]
, and[03:18.90]
respectively, in these 3 timestamps the translated lyric already exists (although the time is off by 0.01 second ([00:00.01]
) for unknown reason) and thus the original lyric shouldn't be used to fill in these 3 timestamps.This issue also seems to happen in other lyrics mode too. Another test example would be this song, in which there're more extra/duplicate original lyric lines in translated lyrics.
Version tested: v4.8