CN102063924A - Method and device for playing animation - Google Patents
Method and device for playing animation Download PDFInfo
- Publication number
- CN102063924A CN102063924A CN2009102377571A CN200910237757A CN102063924A CN 102063924 A CN102063924 A CN 102063924A CN 2009102377571 A CN2009102377571 A CN 2009102377571A CN 200910237757 A CN200910237757 A CN 200910237757A CN 102063924 A CN102063924 A CN 102063924A
- Authority
- CN
- China
- Prior art keywords
- animation file
- play
- duration
- playing duration
- animation
- 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.)
- Granted
Links
Images
Landscapes
- Processing Or Creating Images (AREA)
Abstract
The invention provides a method and device for playing animation, which is used for solving the problem that an animation file is manufactured repeatedly. In the method, the playing time of the animation file is set to be a configurable parameter, thus the playing time of the same animation file is set to be different times in accordance with different requirements. When playing the animation, by regulating the playing frame rate of the animation file, the playing for the different times can be realized. According to the invention, the animation file can be prevented manufacturing repeatedly, thus greatly improving manufacturing efficiency and saving human resources and manufacturing resources.
Description
Technical field
The present invention relates to the information dissemination technology field, particularly relate to the method and apparatus that a kind of animation is play.
Background technology
Animation is meant that by the static picture of many frames when playing continuously, naked eyes produce illusion because of vision, and take for the works of picture activity with certain speed (as 16 of per seconds).In order to obtain movable picture, all trickle change can be arranged between each picture.
At present, animation has just been stipulated the reproduction time length (hereinafter referred playing duration) of animation file in the process of making, and for example the playing duration of animation file A is 50 seconds, and the playing duration of animation file B is 1 minute and 10 seconds.
But user's demand is in continuous variation, and for example, certain user wishes that animation file A is 50 seconds in the playing duration in the morning, and playing duration in the afternoon changes 1 minute and 10 seconds into; Perhaps, user's first wishes that the playing duration of animation file A is 50 seconds, and user's second wishes that then the playing duration of animation file A is 1 minute and 10 seconds, and it is 30 seconds that while user third requires the playing duration of animation file A again.
At the different demands of different user, present solution is: the animation file of making corresponding playing duration at each demand separately.Like this, just bring following problem: same animation file may be only owing to the difference of playing duration repeats to make repeatedly, caused Production Time and made a large amount of wastes of resource, influenced producer's work efficiency.
Summary of the invention
Technical matters to be solved by this invention provides the method and apparatus that a kind of animation is play, to solve the problem that animation file repeats to make.
In order to address the above problem, the invention discloses the method that a kind of animation is play, comprising:
Obtain the appointment playing duration of animation file;
The normal play duration of described appointment playing duration and this animation file is compared;
If the two is unequal, then adjust the play frame rate of this animation file, play then.
Wherein, obtain before the appointment playing duration of animation file, also comprise:
The playing duration of animation file is set to configurable parameter;
At same animation file, specify different playing duration according to different demands.
Wherein, adjust the play frame rate of this animation file, comprising:
If specify playing duration greater than the normal play duration, then reduce the play frame rate of this animation file.
Wherein, adjust the play frame rate of this animation file, comprising:
If specify playing duration less than the normal play duration, then increase the play frame rate of this animation file.
The device that the present invention also provides a kind of animation to play comprises:
The playing duration acquiring unit is used to obtain the appointment playing duration of animation file;
Comparing unit is used for the normal play duration of described appointment playing duration and this animation file is compared;
The frame per second adjustment unit is used for adjusting the play frame rate of this animation file when the two is unequal;
Broadcast unit is used for playing this animation file according to adjusted frame per second.
Described device also comprises:
Parameter configuration unit, the playing duration that is used for animation file is set to configurable parameter; Then, specify different playing duration according to different demands at same animation file.
Wherein, described frame per second adjustment unit comprises:
Frame per second reduces the unit, is used for reducing the play frame rate of this animation file when specifying playing duration greater than the normal play duration.
Wherein, described frame per second adjustment unit also comprises:
Frame per second increases the unit, is used for increasing the play frame rate of this animation file when specifying playing duration less than the normal play duration.
Compared with prior art, the present invention has the following advantages:
The playing duration of the present invention's animation file is set to configurable parameter, like this, the playing duration of same animation file just can be set to different durations according to different demands, when playing, by adjusting the play frame rate of this animation file, just can realize the broadcast of different durations.
Therefore, the present invention has avoided repeating to make animation file, has improved make efficiency greatly, but saves manpower simultaneously and make resource.
Description of drawings
Fig. 1 is the method flow diagram that the embodiment of the invention one described a kind of animation is play;
Fig. 2 is the method flow diagram that the embodiment of the invention two described a kind of animations are play;
Fig. 3 is the structure drawing of device that the embodiment of the invention three described a kind of animations are play.
Embodiment
For above-mentioned purpose of the present invention, feature and advantage can be become apparent more, the present invention is further detailed explanation below in conjunction with the drawings and specific embodiments.
At same animation file, owing to the difference of playing duration needs the problem of making again, the invention provides a kind of improved animation playing method, can satisfy the broadcast of different time length.
Be elaborated below by embodiment.
Embodiment one:
The improved basis of the present invention is: the playing duration of animation file is set to configurable parameter, and promptly the playing duration of an animation file no longer is a fixed value, but a variable value can be set to different values by the user.For example, same animation file, user A can be provided with its playing duration t=30 second, and user B can be provided with its playing duration t=35 second.Based on this, present embodiment provides following playing flow.
With reference to Fig. 1, be the method flow diagram that the described a kind of animation of the embodiment of the invention is play.
Described " appointment playing duration " promptly refers to the playing duration that the user sets, and the user's request difference specifies playing duration also different.
After described " normal play duration " is meant that an animation file completes, play the time span that needs according to normal broadcasting speed, under the normal play situation, the beholder can obtain best result of browse.
Relatively specify playing duration and normal play duration, if the appointment playing duration that certain user sets meets the normal play duration of this animation file just, promptly the two equates, then can play according to normal broadcasting speed.
If the appointment playing duration that certain user sets does not meet the normal play duration of this animation file just, be that the two is unequal, then needn't make an animation file that meets this appointment playing duration again, but adjust the animation frame per second, thereby play at the appointed time according to the playing duration of this appointment.
When adjusting play frame rate, because frame per second is inversely proportional to playing duration, so specifically adjustment process is as follows:
If specify playing duration greater than the normal play duration, then reduce the play frame rate of this animation file.Promptly reduce broadcasting speed;
If specify playing duration less than the normal play duration, then increase the play frame rate of this animation file, promptly increase broadcasting speed.
By above processing, the playing duration of same animation file just can be set to different durations according to different demands, when playing, by adjusting the play frame rate of this animation file, just can realize the broadcast of different durations.Therefore, the present invention has avoided repeating to make animation file, has improved make efficiency greatly, but saves manpower simultaneously and make resource.
Embodiment two:
Present embodiment is specifically described by way of example.
With reference to Fig. 2, be the method flow diagram that the embodiment of the invention two described a kind of animations are play.
Broadcast with beauty contest is an example, and before match was really started broadcasting, its opening was at first to play some stunt animations usually, occurs the printed words of " * * year global beauty contest " after this animation plays, and really draws back the prelude of match then.Like this, just require to stipulate the playing duration of this animation, the printed words of " * * global beauty contest of year " because after specifying duration, will regularly broadcast.
The normal play duration of supposing this section animation is t, and channel A requirement playing duration is t1, and it is t2 that channel B requires playing duration, and t1>t, t2<t.Channel A broadcasts live, and channel B relayed at second day, so the reproduction time of channel A is early than channel B.
The player method of this animation file is as follows:
Step 202 compares t1 and normal play duration t;
For example, the normal play frame per second was 25 frame/seconds, and adjusted play frame rate was 23 frame/seconds, had so just prolonged reproduction time;
Step 206 compares t2 and normal play duration t;
For example, the normal play frame per second was 25 frame/seconds, and adjusted play frame rate was 28 frame/seconds, had so just shortened reproduction time;
Above-mentioned treatment scheme can be applied in a plurality of scenes, has improved cartoon making efficient.
Embodiment three:
At the explanation of said method embodiment, the present invention also provides corresponding device thereof embodiment.
With reference to Fig. 3, be the structure drawing of device that the embodiment of the invention three described a kind of animations are play.
Described moving-image playback device comprises:
Playing duration acquiring unit 31 is used to obtain the appointment playing duration of animation file;
Comparing unit 32 is used for the normal play duration of described appointment playing duration and this animation file is compared;
Frame per second adjustment unit 33 is used for adjusting the play frame rate of this animation file when the two is unequal;
Broadcast unit 34 is used for playing this animation file according to adjusted frame per second.
Described playing device can also comprise:
Parameter configuration unit 35, the playing duration that is used for animation file is set to configurable parameter;
Then, specify different playing duration according to different demands at same animation file.
Wherein, frame per second adjustment unit 33 can comprise:
Frame per second reduces the unit, is used for reducing the play frame rate of this animation file when specifying playing duration greater than the normal play duration; With,
Frame per second increases the unit, is used for increasing the play frame rate of this animation file when specifying playing duration less than the normal play duration.
Above-mentioned moving-image playback device can be controlled the reproduction time of animation file, thereby satisfy the requirement of different user to different playing duration by adjusting broadcasting speed; Simultaneously, avoid the making that repeats of animation file, improved make efficiency.
Each embodiment in this instructions all adopts the mode of going forward one by one to describe, and what each embodiment stressed all is and the difference of other embodiment that identical similar part is mutually referring to getting final product between each embodiment.For device embodiment, because it is similar substantially to method embodiment, so description is fairly simple, relevant part gets final product referring to the part explanation of method embodiment.
More than method and apparatus that a kind of animation provided by the present invention is play, be described in detail, used specific case herein principle of the present invention and embodiment are set forth, the explanation of above embodiment just is used for helping to understand method of the present invention and core concept thereof; Simultaneously, for one of ordinary skill in the art, according to thought of the present invention, the part that all can change in specific embodiments and applications, in sum, this description should not be construed as limitation of the present invention.
Claims (8)
1. the method that animation is play is characterized in that, comprising:
Obtain the appointment playing duration of animation file;
The normal play duration of described appointment playing duration and this animation file is compared;
If the two is unequal, then adjust the play frame rate of this animation file, play then.
2. method according to claim 1 is characterized in that, obtains before the appointment playing duration of animation file, also comprises:
The playing duration of animation file is set to configurable parameter;
At same animation file, specify different playing duration according to different demands.
3. method according to claim 1 is characterized in that, adjusts the play frame rate of this animation file, comprising:
If specify playing duration greater than the normal play duration, then reduce the play frame rate of this animation file.
4. method according to claim 1 is characterized in that, adjusts the play frame rate of this animation file, comprising:
If specify playing duration less than the normal play duration, then increase the play frame rate of this animation file.
5. the device that animation is play is characterized in that, comprising:
The playing duration acquiring unit is used to obtain the appointment playing duration of animation file;
Comparing unit is used for the normal play duration of described appointment playing duration and this animation file is compared;
The frame per second adjustment unit is used for adjusting the play frame rate of this animation file when the two is unequal;
Broadcast unit is used for playing this animation file according to adjusted frame per second.
6. device according to claim 5 is characterized in that, also comprises:
Parameter configuration unit, the playing duration that is used for animation file is set to configurable parameter;
Then, specify different playing duration according to different demands at same animation file.
7. device according to claim 5 is characterized in that, described frame per second adjustment unit comprises:
Frame per second reduces the unit, is used for reducing the play frame rate of this animation file when specifying playing duration greater than the normal play duration.
8. device according to claim 7 is characterized in that, described frame per second adjustment unit also comprises:
Frame per second increases the unit, is used for increasing the play frame rate of this animation file when specifying playing duration less than the normal play duration.
Priority Applications (1)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
CN200910237757.1A CN102063924B (en) | 2009-11-18 | 2009-11-18 | Method and device for playing animation |
Applications Claiming Priority (1)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
CN200910237757.1A CN102063924B (en) | 2009-11-18 | 2009-11-18 | Method and device for playing animation |
Publications (2)
Publication Number | Publication Date |
---|---|
CN102063924A true CN102063924A (en) | 2011-05-18 |
CN102063924B CN102063924B (en) | 2015-07-15 |
Family
ID=43999162
Family Applications (1)
Application Number | Title | Priority Date | Filing Date |
---|---|---|---|
CN200910237757.1A Expired - Fee Related CN102063924B (en) | 2009-11-18 | 2009-11-18 | Method and device for playing animation |
Country Status (1)
Country | Link |
---|---|
CN (1) | CN102063924B (en) |
Cited By (5)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN104517306A (en) * | 2013-09-27 | 2015-04-15 | 北大方正集团有限公司 | Method and device for playing animation |
CN104980794A (en) * | 2015-06-30 | 2015-10-14 | 北京金山安全软件有限公司 | Video splicing method and device |
CN105007532A (en) * | 2015-06-30 | 2015-10-28 | 北京东方艾迪普科技发展有限公司 | Animation playing method and device |
CN111182343A (en) * | 2019-12-09 | 2020-05-19 | 腾讯科技(深圳)有限公司 | Method and apparatus for playing animation material, storage medium, and electronic apparatus |
CN115514985A (en) * | 2022-09-20 | 2022-12-23 | 广东省宏视智能科技有限公司 | Video processing method and device, electronic equipment and storage medium |
Family Cites Families (3)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN1396742A (en) * | 2002-08-02 | 2003-02-12 | 清华大学 | Speed-variable playing method based on stream medium technique for player |
CN101119323A (en) * | 2007-09-21 | 2008-02-06 | 腾讯科技(深圳)有限公司 | Method and device for solving network jitter |
CN101459852B (en) * | 2008-12-22 | 2011-04-13 | 华为技术有限公司 | Method and device for predicting video service occurrence delay |
-
2009
- 2009-11-18 CN CN200910237757.1A patent/CN102063924B/en not_active Expired - Fee Related
Cited By (6)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN104517306A (en) * | 2013-09-27 | 2015-04-15 | 北大方正集团有限公司 | Method and device for playing animation |
CN104980794A (en) * | 2015-06-30 | 2015-10-14 | 北京金山安全软件有限公司 | Video splicing method and device |
CN105007532A (en) * | 2015-06-30 | 2015-10-28 | 北京东方艾迪普科技发展有限公司 | Animation playing method and device |
CN105007532B (en) * | 2015-06-30 | 2018-11-30 | 艾迪普(北京)文化科技股份有限公司 | A kind of method and apparatus of animation play |
CN111182343A (en) * | 2019-12-09 | 2020-05-19 | 腾讯科技(深圳)有限公司 | Method and apparatus for playing animation material, storage medium, and electronic apparatus |
CN115514985A (en) * | 2022-09-20 | 2022-12-23 | 广东省宏视智能科技有限公司 | Video processing method and device, electronic equipment and storage medium |
Also Published As
Publication number | Publication date |
---|---|
CN102063924B (en) | 2015-07-15 |
Similar Documents
Publication | Publication Date | Title |
---|---|---|
US11615131B2 (en) | Method and system for storytelling on a computing device via social media | |
KR101746165B1 (en) | Method and apparatus for processing video images | |
CN102063924A (en) | Method and device for playing animation | |
CN114866817B (en) | Method, system, and storage medium for improving video transitions | |
US8872888B2 (en) | Content transmission apparatus, content transmission method, content reproduction apparatus, content reproduction method, program and content delivery system | |
US20090210904A1 (en) | Control Of Multimedia Content Delivery | |
US20140210801A1 (en) | Methods and apparatuses for controlling display refresh rate | |
CN106937130A (en) | A kind of system and method that advertisement is delivered in net cast | |
CN105282051B (en) | A kind of bandwidth adjusting method and bandwidth server | |
CN108769727A (en) | A kind of live video preloading method and device | |
CN106612452A (en) | Audio-video synchronizing method and device of set top box | |
CN112383790B (en) | Live broadcast screen recording method and device, electronic equipment and storage medium | |
CN106658030B (en) | A kind of playback method and equipment of the composite video comprising SCVF single channel voice frequency multi-channel video | |
CN112333536A (en) | Audio and video editing method, equipment and computer readable storage medium | |
CN105187689A (en) | Method for synchronizing ultra-high-definition video played jointly by multiple terminals | |
CN102447839A (en) | Quartz Composer-based video production method and device | |
US11310554B2 (en) | Processing video and audio streaming data | |
CN104796734A (en) | Real-time interactive smart television program combined recommendation system and method | |
CN102063923B (en) | Adaptive playing method and device of animation | |
US8570436B2 (en) | Information processing device, information processing method, and program | |
CN104717556A (en) | Scene-confirmation-based poster screen playing method | |
CN109194975B (en) | Audio and video live broadcast stream following method and device | |
CN105679213A (en) | Split-screen displaying and playing method of display screen and player | |
CN102523416A (en) | Seamless playing method for multiple segments of media streams | |
CN103428581B (en) | Television program playing method and playing device |
Legal Events
Date | Code | Title | Description |
---|---|---|---|
C06 | Publication | ||
PB01 | Publication | ||
C10 | Entry into substantive examination | ||
SE01 | Entry into force of request for substantive examination | ||
C14 | Grant of patent or utility model | ||
GR01 | Patent grant | ||
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: 20150715 Termination date: 20161118 |