Patent ID: 11902636
Assignee: PETAL CLOUD TECHNOLOGY CO., LTD.
Field: Audio-visual technology (Electrical engineering)
Classification: CPC H | IPC H

Claim 5:
6. The method according to claim 1, wherein determining the subtitle start time point and the subtitle end time point of each subtitle segment from the subtitle file corresponding to the long video comprises:
obtaining a dialog start time point and a dialog end time point of each dialog from the subtitle file corresponding to the long video, and using the dialog start time point of a first dialog as a subtitle start time point of a first subtitle segment;
calculating a segmentation time point by shifting the dialog start time point of the first dialog backward by a fixed duration, and if the segmentation time point falls within a dialog in the subtitle file, determining that a dialog end time point of the dialog is a subtitle end time point of the first subtitle segment; and
sequentially using a dialog following a subtitle end time point of a previous subtitle segment as a current dialog, and performing the following operations on the current dialog:
calculating a segmentation time point by shifting a dialog start time point of the current dialog backward by the fixed duration; and
if the segmentation time point falls within the current dialog, determining that the current dialog end time point of the current dialog is a subtitle end time point of a current subtitle segment.