Video processing method and apparatus
AssigneesBeijing Jingdong Shangke Information Technology Co., Ltd., Beijing Jingdong Century Trading Co., Ltd.
InventorJunfu Wang
Life of this patent
Estimating the term…
Abstract
The present disclosure relates to the technical field of multimedia, and provides a video processing method and apparatus. The video processing method according to the present disclosure includes: performing semantic analysis on subtitles of a video to acquire compressed subtitles; determining a weight of each frame of images in the video based on a preset image processing strategy; acquiring a shortened video images by extracting a plurality of image frames in an order of the weights of all frames of images from high to low, according to a preset video shortening proportion; and generating a shortened video according to the shortened video images and the compressed subtitles.
Claims12
A video processing method, comprising:
- performing semantic analysis on subtitles of a video to acquire compressed subtitles;
- determining a weight of each frame of images in the video based on a preset image processing strategy;
- acquiring a shortened video images by extracting a plurality of image frames in an order of the weights of all frames of images from high to low, according to a preset video shortening proportion;
- and
- generating a shortened video according to the shortened video images and the compressed subtitles,
- wherein the preset image processing strategy comprises:
- determining a weight assignment strategy according to a type tag of the video;
- and
- performing one or more of the following operations according to the weight assignment strategy:
- increasing a weight of each close-up image frame according to the weight assignment strategy;
- increasing a weight of each facial expression image frame according to the weight assignment strategy;
- or,
- increasing a weight of each wide-angle image frame according to the weight assignment strategy.
A video processing method, comprising:
- performing semantic analysis on subtitles of a video to acquire compressed subtitles;
- determining a weight of each frame of images in the video based on a preset image processing strategy;
- acquiring a shortened video images by extracting a plurality of image frames in an order of the weights of all frames of images from high to low, according to a preset video shortening proportion;
- and
- generating a shortened video according to the shortened video images and the compressed subtitles,
- wherein the video processing method further comprises:
- adjusting the weight of each frame of images according to video playing behavior information of a user, and re-generating the shortened video images according to all the image frames after the weight of each frame of images is adjusted, so as to update the shortened video;
- or
- adjusting a weight of each image frame through an item-based collaborative filtering algorithm and a machine learning algorithm, and generating the shortened video images according to all the image frames after the weight of each frame of images is adjusted, so as to update the shortened video;
- or
- acquiring playing behavior information of a user on videos with a same type tag, and updating the weight assignment strategy of the user on the videos with the same type tag according to the playing behavior information of the user, adjusting a weight of each image frame in the videos with the same type tag according to the updated weight assignment strategy, and generating a user personalized shortened video images according to all the image frames after the weight of each frame of images is adjusted, so as to generate a user personalized shortened video.
A video processing method, comprising:
- performing semantic analysis on subtitles of a video to acquire compressed subtitles;
- determining a weight of each frame of images in the video based on a preset image processing strategy;
- acquiring a shortened video images by extracting a plurality of image frames in an order of the weights of all frames of images from high to low, according to a preset video shortening proportion;
- and
- generating a shortened video according to the shortened video images and the compressed subtitles,
- wherein the video processing method further comprises:
- updating a weight assignment strategy for a type of users, according to playing behavior information of the type of users on one of a same video and videos with a same type tag;
- adjusting a weight of each image frame in all videos having the same type tag which corresponds to the one of the same video and the videos with the same type tag, according to a updated weight assignment strategy;
- and
- generating a user type personalized shortened video images according to all the image frames after the weight of each frame of images is adjusted, so as to generate a user type personalized shortened video.
A video processing apparatus, comprising:
- a processor;
- and
- a memory coupled to the processor and storing instructions that when executed by the processor, cause the processor to:
- perform semantic analysis on subtitles of a video to acquire compressed subtitles;
- determine a weight of each frame of images in the video based on a preset image processing strategy;
- acquire a shortened video images by extracting a plurality of image frames in an order of the weights of all frames of images from high to low, according to a preset video shortening proportion;
- and
- generate a shortened video according to the shortened video images and the compressed subtitles,
- wherein the preset image processing strategy comprises:
- determining a weight assignment strategy according to a type tag of the video;
- and
- performing one or more of the following operations according to the weight assignment strategy:
- increasing a weight of each close-up image frame according to the weight assignment strategy;
- increasing a weight of each facial expression image frame according to the weight assignment strategy;
- or,
- increasing a weight of each wide-angle image frame according to the weight assignment strategy.
A video processing apparatus, comprising:
- a processor;
- and
- a memory coupled to the processor and storing instructions that when executed by the processor, cause the processor to:
- perform semantic analysis on subtitles of a video to acquire compressed subtitles;
- determine a weight of each frame of images in the video based on a preset image processing strategy;
- acquire a shortened video images by extracting a plurality of image frames in an order of the weights of all frames of images from high to low, according to a preset video shortening proportion;
- and
- generate a shortened video according to the shortened video images and the compressed subtitles,
- wherein the memory further storing instructions that when executed by the processor, cause the processor to:
- adjust the weight of each frame of images according to video playing behavior information of a user, and re-generate the shortened video images according to all the image frames after the weight of each frame of images is adjusted, so as to update the shortened video;
- or
- adjust a weight of each image frame through an item-based collaborative filtering algorithm and a machine learning algorithm, and generating the shortened video images according to all the image frames after the weight of each frame of images is adjusted, so as to update the shortened video;
- or
- acquire playing behavior information of a user on videos with a same type tag, and updating the weight assignment strategy of the user on the videos with the same type tag according to the playing behavior information of the user, adjust a weight of each image frame in the videos with the same type tag according to the updated weight assignment strategy, and generate a user personalized shortened video images according to all the image frames after the weight of each frame of images is adjusted, so as to generate a user personalized shortened video.
A video processing apparatus, comprising:
- a processor;
- and
- a memory coupled to the processor and storing instructions that when executed by the processor, cause the processor to:
- perform semantic analysis on subtitles of a video to acquire compressed subtitles;
- determine a weight of each frame of images in the video based on a preset image processing strategy;
- acquire a shortened video images by extracting a plurality of image frames in an order of the weights of all frames of images from high to low, according to a preset video shortening proportion;
- and
- generate a shortened video according to the shortened video images and the compressed subtitles,
- wherein the memory further storing instructions that when executed by the processor, cause the processor to:
- update a weight assignment strategy for a type of users, according to playing behavior information of the type of users on one of a same video and videos with a same type tag;
- adjust a weight of each image frame in all videos having the same type tag which corresponds to the one of the same video and the videos with the same type tag, according to a updated weight assignment strategy;
- and
- generate a user type personalized shortened video images according to all the image frames after the weight of each frame of images is adjusted, so as to generate a user type personalized shortened video.
A non-transitory computer-readable storage medium storing computer instructions which, when executed by a processor, cause the processor to:
- perform semantic analysis on subtitles of a video to acquire compressed subtitles;
- determine a weight of each frame of images in the video based on a preset image processing strategy;
- acquire a shortened video images by extracting a plurality of image frames in an order of the weights of all frames of images from high to low, according to a preset video shortening proportion;
- and
- generate a shortened video according to the shortened video images and the compressed subtitles,
- wherein the non-transitory computer-readable storage medium stores computer instructions which, when executed by a processor, cause the processor to:
- adjust the weight of each frame of images according to video playing behavior information of a user, and re-generate the shortened video images according to all the image frames after the weight of each frame of images is adjusted, so as to update the shortened video;
- or
- acquire playing behavior information of a user on videos with a same type tag, and updating the weight assignment strategy of the user on the videos with the same type tag according to the playing behavior information of the user, adjust a weight of each image frame in the videos with the same type tag according to the updated weight assignment strategy, and generate a user personalized shortened video images according to all the image frames after the weight of each frame of images is adjusted, so as to generate a user personalized shortened video.
Dependencies are inferred from the claim text.