Video playing method and apparatus, electronic device, and storage medium
AssigneeTencent Technology (Shenzhen) Company Limited
InventorFanyang Kong
Life of this patent
Estimating the term…
Abstract
A video playing method and apparatus, an electronic device, and a storage medium are provided. The method includes: playing a target video; and according to a playing progress of the target video and starting position information and ending position information about a bullet comment adjustment video segment in the target video, a bullet comment display effect corresponding to the bullet comment adjustment video segment, to adjust a blocking degree of bullet comments blocking the bullet comment adjustment video segment in a display region of the target video when the target video is played to the bullet comment adjustment video segment.
Claims18
A video playing method, performed by a terminal device, the method comprising:
- playing a target video;
- dividing the target video into one or more video segments with an analysis duration;
- obtaining video information about the target video, the video information including content attractiveness representation information about the target video associated with a bullet comment density, the content attractiveness representation information indicating attractiveness of content of the target video for a plurality of viewers, and the plurality of viewers including different viewers that have viewed the target video and/or produced bullet comments on the target video;
- calculating the bullet comment density by dividing a total bullet comment quantity within a video segment by the analysis duration, bullet comments being comments entered by the plurality of viewers and displayed on a screen together with the target video;
- determining, based on the video information, a bullet comment adjustment video segment based on the bullet comment density of the content attractiveness representation information;
- and
- controlling, according to a playing progress of the target video and starting position information and ending position information about the bullet comment adjustment video segment in the target video, a bullet comment display effect corresponding to the bullet comment adjustment video segment, to adjust a blocking degree of bullet comments blocking the bullet comment adjustment video segment in a display region of the target video when the target video is played to the bullet comment adjustment video segment.
An electronic device, comprising at least one memory and at least one processor, the at least one memory storing an application program, the at least one processor being configured to run the application program in the at least one memory to perform:
- playing a target video;
- dividing the target video into one or more video segments with an analysis duration;
- obtaining video information about the target video, the video information including content attractiveness representation information about the target video associated with a bullet comment density, the content attractiveness representation information indicating attractiveness of content of the target video for a plurality of viewers, and the plurality of viewers including different viewers that have viewed the target video and/or produced bullet comments on the target video;
- calculating the bullet comment density by dividing a total bullet comment quantity within a video segment by the analysis duration, bullet comments being comments entered by the plurality of viewers and displayed on a screen together with the target video;
- determining, based on the video information, a bullet comment adjustment video segment based on the bullet comment density of the content attractiveness representation information;
- and
- controlling, according to a playing progress of the target video and starting position information and ending position information about the bullet comment adjustment video segment in the target video, a bullet comment display effect corresponding to the bullet comment adjustment video segment, to adjust a blocking degree of bullet comments blocking the bullet comment adjustment video segment in a display region of the target video when the target video is played to the bullet comment adjustment video segment.
A non-transitory storage medium, storing a plurality of instructions, the instructions being configured to be loaded by a processor, to perform:
- playing a target video;
- dividing the target video into one or more video segments with an analysis duration;
- obtaining video information about the target video, the video information including content attractiveness representation information about the target video associated with a bullet comment density, the content attractiveness representation information indicating attractiveness of content of the target video for a plurality of viewers, and the plurality of viewers including different viewers that have viewed the target video and/or produced bullet comments on the target video;
- calculating the bullet comment density by dividing a total bullet comment quantity within a video segment by the analysis duration, bullet comments being comments entered by the plurality of viewers and displayed on a screen together with the target video;
- determining, based on the video information, a bullet comment adjustment video segment based on the bullet comment density of the content attractiveness representation information;
- and
- controlling, according to a playing progress of the target video and starting position information and ending position information about the bullet comment adjustment video segment in the target video, a bullet comment display effect corresponding to the bullet comment adjustment video segment, to adjust a blocking degree of bullet comments blocking the bullet comment adjustment video segment in a display region of the target video when the target video is played to the bullet comment adjustment video segment.
Dependencies are inferred from the claim text.