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

Claim 9:
10. An electronic device, comprising:
one or more processors, one or more memories, and a display, wherein
the one or more memories are coupled to the one or more processors, and the one or more memories are configured to store data and instructions for the one or more processors to invoke;
the one or more processors are configured to:
determine a video start time point and a video end time point of each scene of a long video;
determine a subtitle start time point and a subtitle end time point for each subtitle segment from a subtitle file corresponding to the long video;
for each scene in the long video, determine, based on a video start time point and a video end time point of the scene, at least one subtitle segment corresponding to the scene, wherein the at least one subtitle segment corresponding to the scene comprises at least one dialog in the subtitle file;
adjust the video start time point and the video end time point of the scene based on the subtitle start time point and the subtitle end time point of the at least one subtitle segment, to obtain an adjusted video start time point and an adjusted video end time point of the scene;
split the long video based on the adjusted video start time point and the adjusted video end time point of each scene, to generate a plurality of short videos; and
after generating the plurality of short videos, for any short video, determine, based on a video start time point and a video end time point of the short video, at least one subtitle segment corresponding to the short video, and
if a ratio of a total duration of the at least one subtitle segment to a total duration of the short video is greater than a specified threshold, store the short video; and

the display is configured to display the short video based on an indication of the processor.