Unlock instant, AI-driven research and patent intelligence for your innovation.

Video frame extracting method and device, electronic device and storage medium

A video and target video technology, applied in the field of video processing, can solve the problem of slow video frame extraction, and achieve the effect of improving user experience, ensuring quality, and reducing pressure

Inactive Publication Date: 2019-04-23
BAIDU ONLINE NETWORK TECH (BEIJIBG) CO LTD
View PDF5 Cites 9 Cited by
  • Summary
  • Abstract
  • Description
  • Claims
  • Application Information

AI Technical Summary

Problems solved by technology

[0004] Embodiments of the present invention provide a video frame extraction method, device, electronic equipment, and storage medium to solve the problem of slow video frame extraction speed in the prior art

Method used

the structure of the environmentally friendly knitted fabric provided by the present invention; figure 2 Flow chart of the yarn wrapping machine for environmentally friendly knitted fabrics and storage devices; image 3 Is the parameter map of the yarn covering machine
View more

Image

Smart Image Click on the blue labels to locate them in the text.
Viewing Examples
Smart Image
  • Video frame extracting method and device, electronic device and storage medium
  • Video frame extracting method and device, electronic device and storage medium
  • Video frame extracting method and device, electronic device and storage medium

Examples

Experimental program
Comparison scheme
Effect test

Embodiment 1

[0024] figure 1 It is a flow chart of a video frame extraction method provided by Embodiment 1 of the present invention. This embodiment is applicable to video frame extraction, and the method can be executed by a video frame extraction device, which can be implemented by software and / or Or hardware implementation, and can be configured in an electronic device, the electronic device can be a smart device such as a computer, a tablet computer or a mobile phone that can run a browser, such as figure 1 As shown, the method includes:

[0025] S110. Obtain the target video of the frame to be extracted through the browser.

[0026] A browser may be an application program running on an electronic device for displaying information resources, and these information resources may be web pages, pictures, video and audio, or other content. In the embodiment of the present invention, the browser can specifically be some content distribution platforms or websites, which can send various re...

Embodiment 2

[0037] figure 2 It is a flow chart of a video frame extraction method provided in Embodiment 2 of the present invention. This embodiment further optimizes the video frame extraction method on the basis of the foregoing embodiments. Such as figure 2 As shown, the video frame extraction method includes:

[0038] S210. Obtain the target video of the frame to be extracted through the browser.

[0039] S220. Extract the original width and original height of the target video through a specific method provided by the video object in the scripting language of the browser.

[0040] Among them, the scripting language is a programming language used to control software applications. The scripts are usually saved in text (such as ASCII), and are interpreted or compiled only when called. Exemplarily, the script of the Web application includes: JavaScript, VBScript, Perl, PHP, Python, Ruby and other scripting languages. Browsers in electronic devices of different systems or d...

Embodiment 3

[0050] image 3 It is a flow chart of a video frame extraction method provided in Embodiment 3 of the present invention. This embodiment further optimizes the video frame extraction method on the basis of the above embodiments. Such as image 3 As shown, the video frame extraction method includes:

[0051] S310. Obtain the target video of the frame to be extracted through the browser.

[0052] S320. Obtain the video duration of the target video, and calculate the video jump duration of each frame drawing according to the preset number and the video duration.

[0053] When the target video is obtained, specific tools and methods can be used to obtain the duration of the target video. For example, the specific method provided in the Video object supported by the browser can be used to obtain it. For example, the video.videoDuration method can be used to set the length of the returned video ( in seconds). Further, the video jump duration of each extracted frame can ...

the structure of the environmentally friendly knitted fabric provided by the present invention; figure 2 Flow chart of the yarn wrapping machine for environmentally friendly knitted fabrics and storage devices; image 3 Is the parameter map of the yarn covering machine
Login to View More

PUM

No PUM Login to View More

Abstract

The embodiment of the invention discloses a video frame extracting method and device, an electronic device and a storage medium. The video frame extracting method comprises the following steps: obtaining a target video through a browser, wherein the frames of the target video is to be extracted; and calling a video processing element supported by the browser to perform frame extracting on the target video to obtain a preset number of images. According to the embodiment of the invention, the video processing element supported by the browser is used at the front end to realize the frame extracting; therefore, the frame extracting speed of the video is greatly improved, and the pressure of the back end frame extracting service is reduced; and using the front end fast frame extracting based onthe original video file can ensure the quality of the images to the utmost extent, therefore, the user experience is improved.

Description

technical field [0001] Embodiments of the present invention relate to the technical field of video processing, and in particular, to a video frame extraction method, device, electronic equipment, and storage medium. Background technique [0002] With the rapid development of Internet technology, the Internet has entered a new era of content distribution, and short video content is currently the hottest form of content on social media. Video accounts for a large proportion of content distribution. Content authors upload a large number of videos through content platforms and distribute them through content platforms to provide video content consumption services for a wider range of users. Before the content is released, the content author often sets a picture as the cover picture of the video to inform readers of the content of the video and attract readers. The cover image needs to have a high degree of correlation with the video. Therefore, the image in the video is usually...

Claims

the structure of the environmentally friendly knitted fabric provided by the present invention; figure 2 Flow chart of the yarn wrapping machine for environmentally friendly knitted fabrics and storage devices; image 3 Is the parameter map of the yarn covering machine
Login to View More

Application Information

Patent Timeline
no application Login to View More
Patent Type & Authority Applications(China)
IPC IPC(8): H04N21/2343H04N21/44H04N21/8543
CPCH04N21/2343H04N21/44H04N21/44004H04N21/8543
Inventor 李利周廷帅
Owner BAIDU ONLINE NETWORK TECH (BEIJIBG) CO LTD