CN104517306B - animation playing method and device - Google Patents

animation playing method and device Download PDF

Info

Publication number
CN104517306B
CN104517306B CN201310452135.7A CN201310452135A CN104517306B CN 104517306 B CN104517306 B CN 104517306B CN 201310452135 A CN201310452135 A CN 201310452135A CN 104517306 B CN104517306 B CN 104517306B
Authority
CN
China
Prior art keywords
animation
sub
sequence identification
talk
cross
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.)
Expired - Fee Related
Application number
CN201310452135.7A
Other languages
Chinese (zh)
Other versions
CN104517306A (en
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.)
New Founder Holdings Development Co ltd
Beijing Founder Electronics Co Ltd
Original Assignee
Peking University Founder Group Co Ltd
Beijing Founder Electronics 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 Peking University Founder Group Co Ltd, Beijing Founder Electronics Co Ltd filed Critical Peking University Founder Group Co Ltd
Priority to CN201310452135.7A priority Critical patent/CN104517306B/en
Publication of CN104517306A publication Critical patent/CN104517306A/en
Application granted granted Critical
Publication of CN104517306B publication Critical patent/CN104517306B/en
Expired - Fee Related legal-status Critical Current
Anticipated expiration legal-status Critical

Links

Classifications

    • GPHYSICS
    • G06COMPUTING; CALCULATING OR COUNTING
    • G06TIMAGE DATA PROCESSING OR GENERATION, IN GENERAL
    • G06T13/00Animation

Landscapes

  • Physics & Mathematics (AREA)
  • General Physics & Mathematics (AREA)
  • Engineering & Computer Science (AREA)
  • Theoretical Computer Science (AREA)
  • Processing Or Creating Images (AREA)

Abstract

The present invention provides a kind of animation playing method and device.Wherein, methods described includes:Instructed according to the division received, whole section of animation is divided at least two cross-talk animations, and be each cross-talk cartoon setting sequence identification according to playing sequence;Obtain the broadcasting speed of each cross-talk animation;According to the sequence identification, the broadcasting speed that each cross-talk animation got is respectively adopted correspondingly plays each cross-talk animation.Then the embodiment of the present invention obtains the broadcasting speed of each cross-talk animation, realization plays each cross-talk animation using different broadcasting speeds, improves flexibility ratio and broadcasting diversity that whole section of animation plays by the way that the whole section of animation is divided into more cross-talk animations.

Description

Animation playing method and device
Technical field
The present invention relates to multimedia application technology, more particularly to a kind of animation playing method and device.
Background technology
At present, perhaps course content has become more universal demonstration mode in animated show speech, for example with animation Mode show evolution of process or history of industrial development etc..But in the prior art, whole animation is after completing, It can only use fixed speed(Such as frame/second)To play whole section of animation, the mode that whole section of animation plays is single, flexibility compared with Difference.
The content of the invention
The present invention provides a kind of animation playing method and device, to realize that whole section of animation is broadcast using different broadcasting speeds Put, improve the flexibility ratio that animation plays.
The first aspect of the invention is to provide a kind of animation playing method, including:
Instructed according to the division received, whole section of animation is divided at least two cross-talk animations, and be according to playing sequence Each cross-talk cartoon setting sequence identification;
Obtain the broadcasting speed of each cross-talk animation;
According to the sequence identification, the broadcasting speed that each cross-talk animation got is respectively adopted correspondingly plays each cross-talk and moved Draw.
Another aspect of the present invention is to provide a kind of moving-image playback device, including:
Division module, for according to the division instruction received, whole section of animation to be divided into at least two cross-talk animations, and pressing It is each cross-talk cartoon setting sequence identification according to playing sequence;
Acquisition module, for obtaining the broadcasting speed of each cross-talk animation;
Playing module, for the broadcasting speed pair of each cross-talk animation got according to the sequence identification, to be respectively adopted Each cross-talk animation should be played.
As shown from the above technical solution, the embodiment of the present invention by the whole section of animation by being divided into more cross-talk animations, so The broadcasting speed of each cross-talk animation is obtained afterwards, is realized and is played each cross-talk animation using different broadcasting speeds, improves whole section of animation The flexibility ratio and broadcasting diversity of broadcasting.
Brief description of the drawings
Fig. 1 is the schematic flow sheet for the animation playing method that the embodiment of the present invention one provides;
Fig. 2 is the schematic flow sheet for the animation playing method that the embodiment of the present invention two provides;
Fig. 3 is the schematic diagram of the animation example provided in an embodiment of the present invention with slip axle;
Fig. 4 is the schematic diagram of the animation example provided in an embodiment of the present invention without slip axle;
Fig. 5 is the structural representation for the moving-image playback device that the embodiment of the present invention three provides;
Fig. 6 is the structural representation for the moving-image playback device that the embodiment of the present invention four provides.
Embodiment
The technical scheme that various embodiments of the present invention provide is to realize that a complete animation can be adopted in playing process Played out with different broadcasting speeds, to improve the flexibility of animation broadcasting.For example, the animation of a historical evolution Demonstration, a usual historical process can be divided into different phase, and the event that each stage occurs is different, and primary and secondary is different, important hair The content of exhibition stage demonstration need to be more detailed, and broadcasting speed is possible will be slower than insignificant developing stage broadcasting speed.Using Technical scheme provided by the invention, can solve the demand of this kind of flash demo, play out in a flexible way, and then improve The diversity that animation plays, it can also protrude the speech emphasis of demonstrator.To make the purpose of the embodiment of the present application, technical scheme and excellent Point is clearer, below in conjunction with the accompanying drawing in the embodiment of the present application, the technical scheme in the embodiment of the present application is carried out it is clear, It is fully described by.
As shown in figure 1, the schematic flow sheet for the animation playing method that the embodiment of the present invention one provides.Described in the present embodiment one The executive agent of method can be moving-image playback device.As shown in figure 1, the method described in the present embodiment one includes:
Step 101, according to the division instruction received, whole section of animation is divided at least two cross-talk animations, and according to broadcasting It is each cross-talk cartoon setting sequence identification to put forward sequence.
Wherein, the whole section of animation refers to a complete animation, and moving-image playback device instructs according to the division received, The animation of the completion is divided at least two cross-talk animations, in order to subsequently play each cross-talk animation using different speed.
Step 102, the broadcasting speed for obtaining each cross-talk animation.
Specifically, a kind of possible implementation method of this step is as follows:Receive and carry setting for sequence identification and broadcasting speed Put instruction;Instructed according to described set, obtain the broadcasting speed of sub- animation corresponding to the sequence identification.
Or if also include before this step 102:Receive the configuring request for carrying sequence identification and audio-frequency information;Root It is that sub- animation configures the audio-frequency information corresponding to the sequence identification according to the configuring request, to play the sub- animation When simultaneously play the audio-frequency information.Correspondingly, the alternatively possible implementation method of this step 102 is as follows:It is dynamic to obtain the son The totalframes of picture;Obtain the audio-frequency information playing duration played simultaneously with the sub- animation;According to the totalframes of the sub- animation With the audio-frequency information playing duration, broadcasting speed corresponding to the sub- animation is calculated.
Step 103, according to the sequence identification, the broadcasting speed that each cross-talk animation got is respectively adopted corresponding plays Each cross-talk animation.
Then the present embodiment obtains the broadcasting speed of each cross-talk animation by the way that the whole section of animation is divided into more cross-talk animations Degree, realization play each cross-talk animation using different broadcasting speeds, improve flexibility ratio and broadcasting diversity that whole section of animation plays.
As shown in Fig. 2 the schematic flow sheet for the animation playing method that the embodiment of the present invention two provides.Similarly, this implementation The executive agent for the methods described that example two provides can be moving-image playback device.As shown in Fig. 2 the present embodiment two is based on above-mentioned reality Apply example one, in the step 102, obtain the broadcasting speed of each cross-talk animation after, in addition to:
Step 201, reception carry the play instruction of playing progress rate value.
Specifically, the playing progress rate value can be specifically a percent value, if whole section of animation is 100%, the broadcasting Progress value can be the arbitrary value in 0%~100%.As shown in figure 3, the play instruction can be user by dragging animation Shuffle button 2 on slip axle 1 is inputted to moving-image playback device.Or for the dynamic of no slip axle as shown in Figure 4 For picture, the play instruction can also be user directly sent by keyboard to the moving-image playback device carry play into The play instruction of angle value, the playing progress rate value are the value that the user is directly inputted by keyboard.
Step 202, according to the playing progress rate value, determine play position corresponding to the playing progress rate value.
Wherein, the play position includes:Play position in sequence identification and sub- animation.Specifically, one kind of this step Possible implementation is:According to the corresponding relation of default playing progress rate value and play position, the playing progress rate value pair is obtained The play position answered.The corresponding relation of the playing progress rate value and play position is pre-stored with moving-image playback device.It is described The corresponding relation of playing progress rate value and play position can be manually set and be stored in the moving-image playback device.Or Person, another possible implementation of this step are:According to the playing progress rate value, broadcast using described in the calculating of default computational methods Put play position corresponding to angle value into.The default computational methods can be manually set.
If step 203, the sequence identification are the last mark that sorts, using sub- animation corresponding to the sequence identification Broadcasting speed, play the frame after play position in the sub- animation;Otherwise, using sub- animation corresponding to the sequence identification Broadcasting speed, the frame after play position in the sub- animation is played, and use comes the remaining order after the sequence identification The broadcasting speed of the corresponding sub- animation of mark correspondingly plays sub- animation corresponding to the remaining sequence identification.
Need exist for explanation be:Each embodiment provided by the invention can also support that whole section of animation is divided into a cross-talk moves The situation of picture.Specifically, when the whole section of animation is divided into a cross-talk animation, prior art is similar to, using acquisition To the broadcasting speed of this cross-talk animation play whole section of animation.
One of ordinary skill in the art will appreciate that:Realizing all or part of step of above-mentioned each method embodiment can lead to The related hardware of programmed instruction is crossed to complete.Foregoing program can be stored in a computer read/write memory medium.The journey Sequence upon execution, execution the step of including above-mentioned each method embodiment;And foregoing storage medium includes:ROM, RAM, magnetic disc or Person's CD etc. is various can be with the medium of store program codes.
As shown in figure 5, the structural representation for the moving-image playback device that the embodiment of the present invention three provides.As shown in figure 5, this reality Applying the device described in example three includes:Division module 10, acquisition module 20 and playing module 30.Wherein, the division module 10 is used According to the division instruction received, whole section of animation is divided at least two cross-talk animations, and be each cross-talk according to playing sequence Cartoon setting sequence identification.The acquisition module 20 is used for the broadcasting speed for obtaining each cross-talk animation.The playing module 30 is used According to the sequence identification, the broadcasting speed that each cross-talk animation got is respectively adopted correspondingly plays each cross-talk animation.
Then the embodiment of the present invention obtains broadcasting for each cross-talk animation by the way that the whole section of animation is divided into more cross-talk animations Put speed, realize and play each cross-talk animation using different broadcasting speeds, improve flexibility ratio and play more that whole section of animation play Sample.
Acquisition module described in above-described embodiment includes:Receiving unit and acquiring unit.Wherein, the receiving unit is used The setting instruction of sequence identification and broadcasting speed is carried in reception.The acquiring unit is used to be instructed according to described set, and obtains Take the broadcasting speed of sub- animation corresponding to the sequence identification.
Further, the moving-image playback device described in above-described embodiment also includes:First receiving module and configuration module. Wherein, first receiving module is used to receive the setting instruction for carrying sequence identification and broadcasting speed.The configuration module For being instructed according to described set, the broadcasting speed of sub- animation corresponding to the sequence identification is obtained.Correspondingly, above-described embodiment Acquisition module includes described in one:First acquisition unit, second acquisition unit and computing unit.Wherein, described first list is obtained Member is used for the totalframes for obtaining the sub- animation.The second acquisition unit is used to obtain the sound played simultaneously with the sub- animation Frequency information playing duration.The computing unit is used for totalframes and the audio-frequency information playing duration according to the sub- animation, Calculate broadcasting speed corresponding to the sub- animation.
As shown in fig. 6, the structural representation for the moving-image playback device that the embodiment of the present invention four provides.As shown in fig. 6, this hair Bright example IV is based on above-described embodiment three, in addition to:Second receiving module 40 and determining module 50.Wherein, described second connect Module 40 is received to be used to receive the play instruction for carrying playing progress rate value.The determining module 50 is used for according to the playing progress rate Value, determines play position corresponding to the playing progress rate value, wherein, the play position includes:In sequence identification and sub- animation Play position, wherein, the play position includes:Play position in sequence identification and sub- animation.The playing module 30 is also used In when the sequence identification is to sort last mark, using the broadcasting speed of sub- animation corresponding to the sequence identification, broadcast Put the frame after play position in the sub- animation;When the sequence identification is not to sort last mark, using the order The broadcasting speed of sub- animation corresponding to mark, the frame after play position in the sub- animation is played, and use and come the order The broadcasting speed that remaining sequence identification after mark corresponds to sub- animation correspondingly plays sub corresponding to the remaining sequence identification move Draw.
Further, the determining module 50 is specifically used for closing according to default playing progress rate value is corresponding with play position System, obtains play position corresponding to the playing progress rate value;Or according to the playing progress rate value, using default calculating side Method calculates play position corresponding to the playing progress rate value.
In the above-described embodiments, the description to each embodiment all emphasizes particularly on different fields, and does not have the portion being described in detail in some embodiment Point, it may refer to the associated description of other embodiment.
Finally it should be noted that:Various embodiments above is merely illustrative of the technical solution of the present invention, rather than its limitations;To the greatest extent The present invention is described in detail with reference to foregoing embodiments for pipe, it will be understood by those within the art that:Its according to The technical scheme described in foregoing embodiments can so be modified, either which part or all technical characteristic are entered Row equivalent substitution;And these modifications or replacement, the essence of appropriate technical solution is departed from various embodiments of the present invention technology The scope of scheme.

Claims (6)

  1. A kind of 1. animation playing method, it is characterised in that including:
    Instructed according to the division received, whole section of animation is divided into more cross-talk animations, and be that each cross-talk moves according to playing sequence Draw and sequence identification is set;
    Obtain the broadcasting speed of each cross-talk animation;
    According to the sequence identification, the broadcasting speed that each cross-talk animation got is respectively adopted correspondingly plays each cross-talk animation;
    Before the broadcasting speed for obtaining each cross-talk animation, in addition to:
    Receive the configuring request for carrying sequence identification and audio-frequency information;
    It is that sub- animation configures the audio-frequency information corresponding to the sequence identification, with described in broadcasting according to the configuring request The audio-frequency information is played during sub- animation simultaneously;
    Correspondingly, the broadcasting speed for obtaining each cross-talk animation, including:
    Obtain the totalframes of the sub- animation;
    Obtain the audio-frequency information playing duration played simultaneously with the sub- animation;
    According to the totalframes of the sub- animation and the audio-frequency information playing duration, calculate and speed is played corresponding to the sub- animation Degree.
  2. 2. according to the method for claim 1, it is characterised in that described to obtain broadcasting speed corresponding to each cross-talk animation, bag Include:
    Receive the setting instruction for carrying sequence identification and broadcasting speed;
    Instructed according to described set, obtain the broadcasting speed of sub- animation corresponding to the sequence identification.
  3. 3. method according to claim 1 or 2, it is characterised in that after the broadcasting speed for obtaining each cross-talk animation, Also include:
    Receive the play instruction for carrying playing progress rate value;
    According to the playing progress rate value, play position corresponding to the playing progress rate value is determined, wherein, the play position bag Include:Play position in sequence identification and sub- animation;
    If the sequence identification is the last mark of sorting, using the broadcasting speed of sub- animation corresponding to the sequence identification, Play the frame after play position in the sub- animation;Otherwise, using the broadcasting speed of sub- animation corresponding to the sequence identification, broadcast Put the frame after play position in the sub- animation, and it is dynamic using the corresponding son of remaining sequence identification come after the sequence identification The broadcasting speed of picture correspondingly plays sub- animation corresponding to the remaining sequence identification.
  4. A kind of 4. moving-image playback device, it is characterised in that including:
    Division module, for according to the division instruction received, whole section of animation to be divided into at least two cross-talk animations, and according to broadcasting It is each cross-talk cartoon setting sequence identification to put forward sequence;
    Acquisition module, for obtaining the broadcasting speed of each cross-talk animation;
    Playing module, for according to the sequence identification, the broadcasting speed that each cross-talk animation got is respectively adopted correspondingly to be broadcast Put each cross-talk animation;
    First receiving module, the configuring request of sequence identification and audio-frequency information is carried for receiving;
    Configuration module, for according to the configuring request, being that sub- animation configures the audio-frequency information corresponding to the sequence identification, To play the audio-frequency information simultaneously when playing the sub- animation;
    Correspondingly, the acquisition module, including:
    First acquisition unit, for obtaining the totalframes of the sub- animation;
    Second acquisition unit, for obtaining the audio-frequency information playing duration played with the sub- animation simultaneously;
    Computing unit, for the totalframes according to the sub- animation and the audio-frequency information playing duration, calculate the sub- animation Corresponding broadcasting speed.
  5. 5. moving-image playback device according to claim 4, it is characterised in that the acquisition module, including:
    Receiving unit, the setting instruction of sequence identification and broadcasting speed is carried for receiving;
    Acquiring unit, for being instructed according to described set, obtain the broadcasting speed of sub- animation corresponding to the sequence identification.
  6. 6. the moving-image playback device according to claim 4 or 5, it is characterised in that also include:
    Second receiving module, the play instruction of playing progress rate value is carried for receiving;
    Determining module, for according to the playing progress rate value, determining play position corresponding to the playing progress rate value, wherein, institute Stating play position includes:Play position in sequence identification and sub- animation;
    The playing module, it is additionally operable to when the sequence identification is to sort last mark, it is corresponding using the sequence identification Sub- animation broadcasting speed, play the frame after play position in the sub- animation;When the sequence identification is last not for sequence Mark when, using the broadcasting speed of sub- animation corresponding to the sequence identification, play in the sub- animation after play position Frame, and the broadcasting speed for correspond to using the remaining sequence identification come after the sequence identification sub- animation correspondingly plays described remain Sub- animation corresponding to remaining sequence identification.
CN201310452135.7A 2013-09-27 2013-09-27 animation playing method and device Expired - Fee Related CN104517306B (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN201310452135.7A CN104517306B (en) 2013-09-27 2013-09-27 animation playing method and device

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN201310452135.7A CN104517306B (en) 2013-09-27 2013-09-27 animation playing method and device

Publications (2)

Publication Number Publication Date
CN104517306A CN104517306A (en) 2015-04-15
CN104517306B true CN104517306B (en) 2018-01-02

Family

ID=52792548

Family Applications (1)

Application Number Title Priority Date Filing Date
CN201310452135.7A Expired - Fee Related CN104517306B (en) 2013-09-27 2013-09-27 animation playing method and device

Country Status (1)

Country Link
CN (1) CN104517306B (en)

Families Citing this family (6)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN105657518A (en) * 2016-02-04 2016-06-08 厦门幻世网络科技有限公司 Method and device for playing cartoons
CN106528201B (en) * 2016-10-10 2019-12-13 网易(杭州)网络有限公司 Method and device for loading animation in game
CN106534964B (en) * 2016-11-23 2020-02-14 广东小天才科技有限公司 Method and device for adjusting speech rate
CN107562417A (en) * 2017-09-11 2018-01-09 苏州乐米信息科技股份有限公司 The regulation and control method and device of animation broadcasting speed
WO2019127376A1 (en) * 2017-12-29 2019-07-04 深圳市大疆创新科技有限公司 Video acquisition method, control terminal, aircraft, and system
CN110750743A (en) * 2019-09-25 2020-02-04 腾讯科技(深圳)有限公司 Animation playing method, device, equipment and storage medium

Family Cites Families (6)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN101466010B (en) * 2009-01-15 2010-10-27 华为终端有限公司 Method for playing video on mobile terminal and mobile terminal
CN102063924B (en) * 2009-11-18 2015-07-15 新奥特(北京)视频技术有限公司 Method and device for playing animation
CN102270352B (en) * 2010-06-02 2016-12-07 腾讯科技(深圳)有限公司 The method and apparatus that animation is play
CN101957752B (en) * 2010-09-03 2014-08-27 广州市千钧网络科技有限公司 FLASH video previewing method and system thereof, and FLASH player
CN102156786B (en) * 2011-04-19 2012-08-29 东北大学 Method for manufacturing steelmaking and continuous casting process control type virtual equipment of digital steel mill
CN102520864A (en) * 2011-12-16 2012-06-27 北京新媒传信科技有限公司 Method for continuously playing images and device

Also Published As

Publication number Publication date
CN104517306A (en) 2015-04-15

Similar Documents

Publication Publication Date Title
CN104517306B (en) animation playing method and device
CN106935254B (en) Display control method, system and the media player of media player progress bar
CN108597530A (en) Sound reproducing method and device, storage medium and electronic device
CN106445460B (en) Control method and device
CN109120950A (en) Video splicing method and device, terminal equipment and storage medium
CN104335157A (en) Information display device, display switch method, and display switch program
CN111459454B (en) Interactive object driving method, device, equipment and storage medium
US20140089804A1 (en) Interactive creation of a movie
CN105551071A (en) Method and system of face animation generation driven by text voice
CN107861714A (en) The development approach and system of car show application based on IntelRealSense
CN107004035A (en) Method for playing music, device and music player devices
CN108230428A (en) E-book rendering method, electronic equipment and storage medium based on augmented reality
CN103430217A (en) Input support device, input support method, and recording medium
CN103596044A (en) Method, device and system for processing and displaying video file
CN107358457A (en) A kind of advertisement broadcast method, apparatus and system
CN104317392B (en) A kind of information control method and electronic equipment
CN104952471A (en) Method, device and equipment for synthesizing media file
EP4192021A1 (en) Audio data processing method and apparatus, and device and storage medium
CN107045867A (en) Automatic composing method, device and terminal device
CN109654692A (en) A kind of control method of air-conditioning, device, storage medium and air-conditioning
WO2018095195A1 (en) Method and device for customizing packaging box
CN110309238A (en) Point of interest interactive approach, system, electric terminal and storage medium in music
CN107454447A (en) A kind of plug-in loading method of player, device and television set
CN107666616A (en) A kind of advertisement placement method and device based on video content
US20160188288A1 (en) Method and mobile device for playing music based on movement

Legal Events

Date Code Title Description
C06 Publication
PB01 Publication
C10 Entry into substantive examination
SE01 Entry into force of request for substantive examination
GR01 Patent grant
GR01 Patent grant
TR01 Transfer of patent right
TR01 Transfer of patent right

Effective date of registration: 20220620

Address after: 3007, Hengqin international financial center building, No. 58, Huajin street, Hengqin new area, Zhuhai, Guangdong 519031

Patentee after: New founder holdings development Co.,Ltd.

Patentee after: BEIJING FOUNDER ELECTRONICS Co.,Ltd.

Address before: 100871, Beijing, Haidian District, Cheng Fu Road, No. 298, Zhongguancun Fangzheng building, 9 floor

Patentee before: PEKING UNIVERSITY FOUNDER GROUP Co.,Ltd.

Patentee before: BEIJING FOUNDER ELECTRONICS Co.,Ltd.

CF01 Termination of patent right due to non-payment of annual fee
CF01 Termination of patent right due to non-payment of annual fee

Granted publication date: 20180102