CN101075258A - Method and device for generating video microform - Google Patents

Method and device for generating video microform Download PDF

Info

Publication number
CN101075258A
CN101075258A CN 200710102089 CN200710102089A CN101075258A CN 101075258 A CN101075258 A CN 101075258A CN 200710102089 CN200710102089 CN 200710102089 CN 200710102089 A CN200710102089 A CN 200710102089A CN 101075258 A CN101075258 A CN 101075258A
Authority
CN
China
Prior art keywords
video
file
unit
animation
generating apparatus
Prior art date
Legal status (The legal status is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the status listed.)
Pending
Application number
CN 200710102089
Other languages
Chinese (zh)
Inventor
梁柱
Current Assignee (The listed assignees may be inaccurate. Google has not performed a legal analysis and makes no representation or warranty as to the accuracy of the list.)
Tencent Technology Shenzhen Co Ltd
Original Assignee
Tencent Technology Shenzhen Co Ltd
Priority date (The priority date is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the date listed.)
Filing date
Publication date
Application filed by Tencent Technology Shenzhen Co Ltd filed Critical Tencent Technology Shenzhen Co Ltd
Priority to CN 200710102089 priority Critical patent/CN101075258A/en
Publication of CN101075258A publication Critical patent/CN101075258A/en
Pending legal-status Critical Current

Links

Images

Abstract

A method for generating video schematic diagram includes collecting multi-frame data from video file to obtain corresponding multiple static-picture, preparing said multiple static-picture to be cartoon file and using prepared cartoon file as video schematic diagram of said video. The device used for realizing said method is also disclosed.

Description

Video thumbnails generation method and video thumbnails generating apparatus
Technical field
The present invention relates to generate technical field, particularly a kind of video thumbnails generation method and a kind of video thumbnails generating apparatus of the thumbnail of video file.
Background technology
In recent years, Internet development provides a platform easily for resource sharing.It has been present rather well received a kind of website in the internet that video is shared the website.Share in the website at video, the user can watch video, issue video and carry out other operation.
Share in the webpage of website at video, come display video file summarily with video thumbnails usually, its purpose is to allow the user understand the general content of video file more intuitively than literal.Establish hyperlink between the video playback page or leaf of video thumbnails and display video details, the user clicks video thumbnails, just can enter the broadcast page of this video by hyperlink, thereby sees the details of video in the video playback page or leaf.
In existing video is shared the website, all be to adopt the static images of first frame of video or other frame as video thumbnails.
But the static images of a frame often can not provide enough information, and user Dan Congyi frame static images is difficult to know the content of this video, does not reach the purpose of display video file summarily.
Summary of the invention
In view of this, the present invention proposes a kind of video thumbnails generation method, in order to providing the abundant information of video, so that display of video content summarily.The present invention also will propose a kind of video thumbnails generating apparatus.
The invention provides a kind of video thumbnails generation method, this method may further comprise the steps:
A. from video file, gather the multiframe data, obtain many corresponding static images;
B. described many static images are made animation file, as the video thumbnails of described video.
This method further comprised the step that acquisition time is set before steps A.In steps A, gather according to set acquisition time.
Further comprise the step of many static images of being gathered being carried out convergent-divergent after the steps A.And/or, in step B, further comprise the step of described animation file being carried out convergent-divergent.
After step B, further comprise described animation file is published to step on the webpage.
In the step that described animation file is published on the webpage, the broadcast size of described animation file is set further.
The present invention also provides a kind of video thumbnails generating apparatus, and this video thumbnails generating apparatus comprises collecting unit and animation generation unit, wherein:
Described collecting unit is used for gathering the multiframe data from video file, obtains many corresponding static images, and offers described animation generation unit;
Described animation generation unit is used for described many static images are made animation file, as the video thumbnails of described video.
This video thumbnails generating apparatus further comprises: first unit for scaling is used for many static images that described collecting unit is gathered are carried out convergent-divergent, and described many static images behind the convergent-divergent is offered described animation generation unit; And/or second unit for scaling is used for the animation file that described animation generation unit is generated is carried out convergent-divergent.
This video thumbnails generating apparatus further comprises: first is provided with the unit, is used for described collecting unit is provided with; And/or second is provided with the unit, is used for described animation generation unit is provided with.
This video thumbnails generating apparatus further comprises: release unit is used for the animation file that described animation generation unit is generated is published to webpage.
Described release unit is further used for being provided with the broadcast size of described animation file.
From such scheme as can be seen, because the present invention gathers the multiframe data from video file, obtain corresponding many static images, then described many static images are made into animation file, video thumbnails as described video, with compare as video thumbnails with individual static images in the prior art, the present invention can provide abundant video information, thus display of video content summarily.In addition, the present invention enriches the form of expression of video thumbnails widely by proposing new video thumbnails.And the present invention preferably adopts the animation file of GIF form, the resource of being utilized can be dropped to minimum, thereby can not bring very big resource consumption to network.
Description of drawings
Fig. 1 is the schematic flow sheet according to the video thumbnails generation method of the embodiment of the invention;
Fig. 2 is the structural representation according to the video thumbnails generating apparatus of the embodiment of the invention.
Embodiment
For making the purpose, technical solutions and advantages of the present invention clearer, the present invention is described in more detail by the following examples.
Core concept of the present invention is that many static images of collection from video file utilize these static images to make animation file, with the video thumbnails of this animation file as described video file then.
In embodiments of the present invention, described video file can be the video file of Flash animation file, Motion Picture Experts Group (MPEG) format video file, AVI form, the video file of RM form, the video file of DAT form, the video file of ASF form, the video file of WMV form, video file of MOV form or the like, and the present invention is not limited to the video file of above-mentioned form.
In embodiments of the present invention, the animation file that is generated can be the Flash animation file, or GIF(Graphic Interchange format) (GIF) file etc.Equally, the present invention is not limited to the animation file of above-mentioned form.The Flash animation file is compared with gif file, and the Flash animation file needs more resources when playing, so the present invention preferably adopts the animation of gif file as video thumbnails.In the object lesson below, be that example is described with the GIF animation file.
Fig. 1 is the schematic flow sheet according to the video thumbnails generation method of the embodiment of the invention.With reference to Fig. 1, this flow process may further comprise the steps:
Step 101, used acquisition time when setting is gathered many static images from video file, for example: being provided with since first frame, 10 seconds time of interval successively is acquisition time, it is acquisition time that the individual time point of any N (N is the natural number greater than 1) perhaps is set in the reproduction time of video, and perhaps the content according to video is provided with acquisition time so that gather the better static images of reflecting video key content.The embodiment of the invention is not limited to above-mentioned acquisition time set-up mode.
In addition, the embodiment of the invention is provided with acquisition time before can also noting be used in each collection, but adopts the acquisition time of acquiescence, and for example, 10 seconds time is acquisition time to acquiescence at interval successively since first frame.So, just needn't be before each the collection spended time and energy remove to be provided with acquisition time, thereby can accelerate the formation speed of video thumbnails.
Step 102, according to the set acquisition time or the acquisition time of acquiescence, from video file, gather the multiframe data, obtain many corresponding static images, here might as well suppose that having gathered N opens static images, and the static images gathered is adopted bitmap (BMP) form to transmit and preserves.
For instance, the length of video file is 1 minute, the acquisition time that is provided with in the step 101 is for since first frame, one minor tick 10 seconds, that is to say to gather frame data at 0,10,20,30,40,50,60 second respectively and obtain a static images, collects 7 BMP static images altogether.
It should be noted that, the embodiment of the invention is not done special requirement for the form of the static images of being gathered, except the BMP form, also can adopt other form, for example joint photographic experts group (JPEG) form, GIF form or tagged image file format (TIFF) etc.In the present embodiment, be that example is described with the BMP form.
Step 103 after the static images that collects many BMP forms, can further be carried out zoom operations to these BMP form static images, thereby be obtained the BMP form static images of suitable size.
Can use common neighbor method, bilinear interpolation (Bi-Linear) and bicubic spline interpolation interpolation methods such as (Bi-Cubic) to realize that can adopt other method to realize, the present invention does not limit this yet for the image zoom in this step.
Step 104 will be made animation file through many BMP form static images that top step obtains, and with the video thumbnails of made animation file as described video file.
Here be that example is described with the animation file of making the GIF form.Reproduction time at first is set at interval, perhaps is not provided with and uses the broadcast momentary intervals of acquiescence, the reproduction time that is provided with of hypothesis is spaced apart 1 second here.Then, at interval resulting this N is opened the BMP static images according to 1 second reproduction time and make a GIF animation file.
Step 105 is carried out zoom operations to made GIF animation file, obtains the GIF animation behind the convergent-divergent.Zoom method in this step can adopt the Zoom method described in the step 103, repeats no more here.
It should be noted that in the present embodiment, also can not carry out the zoom operations of step 103 and step 105.
Step 106 is published to resulting GIF animation on the webpage, for example is published to video and shares on the webpage.
In the process of issue, the broadcast size of animation file can further be set, thereby make the needs of its suitable page.
Fig. 2 is the structural representation according to the video thumbnails generating apparatus 200 of the embodiment of the invention.
As shown in Figure 2, video thumbnails generating apparatus 200 comprises collecting unit 210 and animation generation unit 220 at least.Wherein, collecting unit 210 is gathered the multiframe data from video file, obtains many corresponding static images, and offers animation generation unit 220.Animation generation unit 220 is made into animation file with many static images, with the video thumbnails of made animation file as video.
Video thumbnails generating apparatus 200 can further include first unit 230 is set.First is provided with unit 230 is used for collecting unit 210 is provided with, and the acquisition time of collecting unit 210 is set for example described in above-mentioned steps 101, and other parameter perhaps is set.
Video thumbnails generating apparatus 200 can further include second unit 240 is set.Second is provided with unit 240 is used for animation generation unit 220 is provided with, and the parameters such as reproduction time interval of animation generation unit 220 for example are set.
Continuation is with reference to figure 2, and video thumbnails generating apparatus 200 can further include first unit for scaling 250.First unit for scaling 250 is connected between collecting unit 210 and the animation generation unit 220, and the static images that is used for collecting unit 210 is collected carries out zoom operations, and the static images after the convergent-divergent is offered animation generation unit 220.
Video thumbnails generating apparatus 200 can further include second unit for scaling 260.Second unit for scaling 260 is connected with animation generation unit 220, is used for animation generation unit 220 made animation files are carried out zoom operations, thereby obtains the animation file behind the convergent-divergent.
In video thumbnails generating apparatus 200 shown in Figure 2, can further include release unit 270.When not having second unit for scaling 260, this release unit 270 is connected with animation generation unit 220, is used for the animation file that animation generation unit 220 is generated is published to the webpage of sharing the website such as video.When having second unit for scaling 260, this release unit 270 is connected with second unit for scaling 260, is used for that generated and be published to webpage through the animation file of second unit for scaling, 260 convergent-divergents with animation generation unit 220.
In addition, release unit 270 can also further be provided with the broadcast size of animation file in the process of issue, for example will be that the animation file of 1024 pixels * 768 pixel sizes is arranged to play with the size of 320 pixels * 240 pixels originally.
The above only is preferred embodiment of the present invention, and is in order to restriction the present invention, within the spirit and principles in the present invention not all, any modification of being done, is equal to replacement, improvement etc., all should be included within protection scope of the present invention.

Claims (10)

1, a kind of video thumbnails generation method is characterized in that, this method may further comprise the steps:
A. from video file, gather the multiframe data, obtain many corresponding static images;
B. described many static images are made animation file, as the video thumbnails of described video.
2, method according to claim 1 is characterized in that, this method further comprised the step that acquisition time is set before steps A;
In steps A, gather according to set acquisition time.
3, method according to claim 1 is characterized in that, further comprises the step of many static images of being gathered being carried out convergent-divergent after the steps A; And/or,
In step B, further comprise the step of described animation file being carried out convergent-divergent.
4, method according to claim 1 is characterized in that, further comprises described animation file is published to step on the webpage after step B.
5, method according to claim 4 is characterized in that, in the step that described animation file is published on the webpage, the broadcast size of described animation file is set further.
6, a kind of video thumbnails generating apparatus is characterized in that, this video thumbnails generating apparatus comprises collecting unit and animation generation unit, wherein:
Described collecting unit is used for gathering the multiframe data from video file, obtains many corresponding static images, and offers described animation generation unit;
Described animation generation unit is used for described many static images are made animation file, as the video thumbnails of described video.
7, video thumbnails generating apparatus according to claim 6 is characterized in that, this video thumbnails generating apparatus further comprises:
First unit for scaling is used for many static images that described collecting unit is gathered are carried out convergent-divergent, and described many static images behind the convergent-divergent is offered described animation generation unit; And/or,
Second unit for scaling is used for the animation file that described animation generation unit is generated is carried out convergent-divergent.
8, video thumbnails generating apparatus according to claim 6 is characterized in that, this video thumbnails generating apparatus further comprises:
First is provided with the unit, is used for described collecting unit is provided with; And/or,
Second is provided with the unit, is used for described animation generation unit is provided with.
9, video thumbnails generating apparatus according to claim 6 is characterized in that, this video thumbnails generating apparatus further comprises:
Release unit is used for the animation file that described animation generation unit is generated is published to webpage.
10, video thumbnails generating apparatus according to claim 9 is characterized in that, described release unit is further used for being provided with the broadcast size of described animation file.
CN 200710102089 2007-05-14 2007-05-14 Method and device for generating video microform Pending CN101075258A (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN 200710102089 CN101075258A (en) 2007-05-14 2007-05-14 Method and device for generating video microform

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN 200710102089 CN101075258A (en) 2007-05-14 2007-05-14 Method and device for generating video microform

Publications (1)

Publication Number Publication Date
CN101075258A true CN101075258A (en) 2007-11-21

Family

ID=38976310

Family Applications (1)

Application Number Title Priority Date Filing Date
CN 200710102089 Pending CN101075258A (en) 2007-05-14 2007-05-14 Method and device for generating video microform

Country Status (1)

Country Link
CN (1) CN101075258A (en)

Cited By (22)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
WO2010102525A1 (en) * 2009-03-13 2010-09-16 腾讯科技(深圳)有限公司 Method for generating gif, and system and media player thereof
CN102609899A (en) * 2012-03-01 2012-07-25 盛乐信息技术(上海)有限公司 Method and system for converting video to poster
CN102841911A (en) * 2011-05-03 2012-12-26 宏达国际电子股份有限公司 Handheld electronic device and method for calibrating input of webpage address
CN103971391A (en) * 2013-02-01 2014-08-06 腾讯科技(深圳)有限公司 Animation method and device
CN104010197A (en) * 2014-06-13 2014-08-27 广州金山网络科技有限公司 Method and device for generating video thumbnails
CN104159140A (en) * 2014-03-03 2014-11-19 腾讯科技(北京)有限公司 Video processing method, apparatus and system
CN104268917A (en) * 2014-09-28 2015-01-07 厦门幻世网络科技有限公司 Method and device for converting 3D animation into GIF dynamic graph
CN104540000A (en) * 2014-12-04 2015-04-22 广东欧珀移动通信有限公司 Method for generating dynamic thumbnail and terminal
CN104618788A (en) * 2014-12-29 2015-05-13 北京奇艺世纪科技有限公司 Method and device for displaying video information
CN104853245A (en) * 2015-05-08 2015-08-19 无锡天脉聚源传媒科技有限公司 Movie preview method and device thereof
CN105163205A (en) * 2015-07-17 2015-12-16 天脉聚源(北京)科技有限公司 Method and device for playing video file
CN105469381A (en) * 2014-09-11 2016-04-06 腾讯科技(深圳)有限公司 Information processing method and terminal
CN106021434A (en) * 2016-05-16 2016-10-12 乐视控股(北京)有限公司 Video poster display processing method and apparatus
CN106028094A (en) * 2016-05-26 2016-10-12 北京金山安全软件有限公司 Video content providing method and device and electronic equipment
CN106572380A (en) * 2016-10-19 2017-04-19 上海传英信息技术有限公司 User terminal and video dynamic thumbnail generating method
CN106792272A (en) * 2016-11-28 2017-05-31 维沃移动通信有限公司 The generation method and mobile terminal of a kind of video thumbnails
TWI586176B (en) * 2014-10-01 2017-06-01 大猩猩科技股份有限公司 Method and system for video synopsis from compressed video images
CN107707968A (en) * 2017-08-18 2018-02-16 广州爱美互动网络科技有限公司 A kind of video web page turns the data processing method and device of GIF pictures
CN109565613A (en) * 2016-06-24 2019-04-02 谷歌有限责任公司 The interesting moment pieces together in video
CN110839181A (en) * 2019-12-04 2020-02-25 湖南快乐阳光互动娱乐传媒有限公司 Method and system for converting video content into gif based on B/S architecture
WO2021169168A1 (en) * 2020-02-28 2021-09-02 海信视像科技股份有限公司 Video file preview method and display device
WO2022033137A1 (en) * 2020-08-11 2022-02-17 深圳市前海手绘科技文化有限公司 Method for generating gif file on basis of hand-drawn video

Cited By (29)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
WO2010102525A1 (en) * 2009-03-13 2010-09-16 腾讯科技(深圳)有限公司 Method for generating gif, and system and media player thereof
CN102841911A (en) * 2011-05-03 2012-12-26 宏达国际电子股份有限公司 Handheld electronic device and method for calibrating input of webpage address
CN102609899A (en) * 2012-03-01 2012-07-25 盛乐信息技术(上海)有限公司 Method and system for converting video to poster
CN103971391A (en) * 2013-02-01 2014-08-06 腾讯科技(深圳)有限公司 Animation method and device
CN104159140A (en) * 2014-03-03 2014-11-19 腾讯科技(北京)有限公司 Video processing method, apparatus and system
CN104010197A (en) * 2014-06-13 2014-08-27 广州金山网络科技有限公司 Method and device for generating video thumbnails
CN105469381A (en) * 2014-09-11 2016-04-06 腾讯科技(深圳)有限公司 Information processing method and terminal
CN105469381B (en) * 2014-09-11 2021-02-05 腾讯科技(深圳)有限公司 Information processing method and terminal
CN104268917A (en) * 2014-09-28 2015-01-07 厦门幻世网络科技有限公司 Method and device for converting 3D animation into GIF dynamic graph
CN104268917B (en) * 2014-09-28 2017-07-11 厦门幻世网络科技有限公司 A kind of method and its device that 3D animations are converted into GIF Dynamic Graphs
TWI586176B (en) * 2014-10-01 2017-06-01 大猩猩科技股份有限公司 Method and system for video synopsis from compressed video images
CN107465954B (en) * 2014-12-04 2019-09-06 Oppo广东移动通信有限公司 The generation method and Related product of dynamic thumbnail
CN107465954A (en) * 2014-12-04 2017-12-12 广东欧珀移动通信有限公司 The generation method and Related product of dynamic thumbnail
CN104540000A (en) * 2014-12-04 2015-04-22 广东欧珀移动通信有限公司 Method for generating dynamic thumbnail and terminal
CN104618788B (en) * 2014-12-29 2018-08-07 北京奇艺世纪科技有限公司 A kind of method and device of display video information
CN104618788A (en) * 2014-12-29 2015-05-13 北京奇艺世纪科技有限公司 Method and device for displaying video information
CN104853245A (en) * 2015-05-08 2015-08-19 无锡天脉聚源传媒科技有限公司 Movie preview method and device thereof
CN105163205A (en) * 2015-07-17 2015-12-16 天脉聚源(北京)科技有限公司 Method and device for playing video file
CN106021434A (en) * 2016-05-16 2016-10-12 乐视控股(北京)有限公司 Video poster display processing method and apparatus
CN106028094A (en) * 2016-05-26 2016-10-12 北京金山安全软件有限公司 Video content providing method and device and electronic equipment
CN109565613A (en) * 2016-06-24 2019-04-02 谷歌有限责任公司 The interesting moment pieces together in video
US11120835B2 (en) 2016-06-24 2021-09-14 Google Llc Collage of interesting moments in a video
CN109565613B (en) * 2016-06-24 2021-10-29 谷歌有限责任公司 Method for generating video collages and computer storage medium
CN106572380A (en) * 2016-10-19 2017-04-19 上海传英信息技术有限公司 User terminal and video dynamic thumbnail generating method
CN106792272A (en) * 2016-11-28 2017-05-31 维沃移动通信有限公司 The generation method and mobile terminal of a kind of video thumbnails
CN107707968A (en) * 2017-08-18 2018-02-16 广州爱美互动网络科技有限公司 A kind of video web page turns the data processing method and device of GIF pictures
CN110839181A (en) * 2019-12-04 2020-02-25 湖南快乐阳光互动娱乐传媒有限公司 Method and system for converting video content into gif based on B/S architecture
WO2021169168A1 (en) * 2020-02-28 2021-09-02 海信视像科技股份有限公司 Video file preview method and display device
WO2022033137A1 (en) * 2020-08-11 2022-02-17 深圳市前海手绘科技文化有限公司 Method for generating gif file on basis of hand-drawn video

Similar Documents

Publication Publication Date Title
CN101075258A (en) Method and device for generating video microform
CN1510927A (en) Method for sending intersting digital video selected zone by selected acuity
CN1451127A (en) Image retrieval/distribution system and image retrieval/distribution method
JP6590925B2 (en) How to create a video
US20090044128A1 (en) Adaptive publishing of content
CN103902664B (en) Page image rendering method and information providing method and device
JP2012114909A (en) Method and system of encoding and decoding media content
WO2014086223A1 (en) Video communication method and apparatus
WO2007076135A2 (en) Management of digital media using portable wireless devices in a client-server network
JP2003529173A (en) Video editing workflow method and apparatus
CN1327333A (en) Image data communication system and its method, image pick-up equipment and image data processing method
CN101266650A (en) An image storage method based on face detection
JP4131826B2 (en) High quality huge video transmission system on network and transmission method thereof
CN1417697A (en) Image display method and information equipment
CN103747259A (en) Video processing method and device
CN1505363A (en) Cellular telephone set, setting method of self-produced animation of consecutively taken pictures used in the same, and program to be used for the method
CN1764270A (en) Video monitoring method and system based on WAP browser
JP2008027049A (en) Information processing system, information processor, method, and program
JP5792326B2 (en) Reading service providing method, content providing server and system
US20090110314A1 (en) Image processing apparatus and image processing method
CN102855602B (en) Picture processing method and picture processing device
GB2367394A (en) Providing machine unintelligible human understandable information on a communications network
CN1581228A (en) Image processing method and apparatus
CN101971620A (en) A method of recording quality images
CN1207914C (en) Image processor image transmitting method and program

Legal Events

Date Code Title Description
C06 Publication
PB01 Publication
C10 Entry into substantive examination
SE01 Entry into force of request for substantive examination
C12 Rejection of a patent application after its publication
RJ01 Rejection of invention patent application after publication