CN106331834B - Multimedia data processing method and equipment thereof - Google Patents

Multimedia data processing method and equipment thereof Download PDF

Info

Publication number
CN106331834B
CN106331834B CN201610913577.0A CN201610913577A CN106331834B CN 106331834 B CN106331834 B CN 106331834B CN 201610913577 A CN201610913577 A CN 201610913577A CN 106331834 B CN106331834 B CN 106331834B
Authority
CN
China
Prior art keywords
picture
multimedia
attribute
data
multimedia view
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.)
Active
Application number
CN201610913577.0A
Other languages
Chinese (zh)
Other versions
CN106331834A (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.)
Tencent Music Entertainment Technology Shenzhen Co Ltd
Original Assignee
Tencent Music Entertainment 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 Music Entertainment Technology Shenzhen Co Ltd filed Critical Tencent Music Entertainment Technology Shenzhen Co Ltd
Priority to CN201610913577.0A priority Critical patent/CN106331834B/en
Publication of CN106331834A publication Critical patent/CN106331834A/en
Application granted granted Critical
Publication of CN106331834B publication Critical patent/CN106331834B/en
Active legal-status Critical Current
Anticipated expiration legal-status Critical

Links

Images

Classifications

    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04NPICTORIAL COMMUNICATION, e.g. TELEVISION
    • H04N21/00Selective content distribution, e.g. interactive television or video on demand [VOD]
    • H04N21/40Client devices specifically adapted for the reception of or interaction with content, e.g. set-top-box [STB]; Operations thereof
    • H04N21/43Processing of content or additional data, e.g. demultiplexing additional data from a digital video stream; Elementary client operations, e.g. monitoring of home network or synchronising decoder's clock; Client middleware
    • H04N21/431Generation of visual interfaces for content selection or interaction; Content or additional data rendering
    • H04N21/4318Generation of visual interfaces for content selection or interaction; Content or additional data rendering by altering the content in the rendering process, e.g. blanking, blurring or masking an image region
    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04MTELEPHONIC COMMUNICATION
    • H04M1/00Substation equipment, e.g. for use by subscribers
    • H04M1/72Mobile telephones; Cordless telephones, i.e. devices for establishing wireless links to base stations without route selection
    • H04M1/724User interfaces specially adapted for cordless or mobile telephones
    • H04M1/72403User interfaces specially adapted for cordless or mobile telephones with means for local support of applications that increase the functionality
    • H04M1/72427User interfaces specially adapted for cordless or mobile telephones with means for local support of applications that increase the functionality for supporting games or graphical animations
    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04MTELEPHONIC COMMUNICATION
    • H04M1/00Substation equipment, e.g. for use by subscribers
    • H04M1/72Mobile telephones; Cordless telephones, i.e. devices for establishing wireless links to base stations without route selection
    • H04M1/724User interfaces specially adapted for cordless or mobile telephones
    • H04M1/72403User interfaces specially adapted for cordless or mobile telephones with means for local support of applications that increase the functionality
    • H04M1/7243User interfaces specially adapted for cordless or mobile telephones with means for local support of applications that increase the functionality with interactive means for internal management of messages
    • H04M1/72439User interfaces specially adapted for cordless or mobile telephones with means for local support of applications that increase the functionality with interactive means for internal management of messages for image or video messaging
    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04NPICTORIAL COMMUNICATION, e.g. TELEVISION
    • H04N21/00Selective content distribution, e.g. interactive television or video on demand [VOD]
    • H04N21/40Client devices specifically adapted for the reception of or interaction with content, e.g. set-top-box [STB]; Operations thereof
    • H04N21/43Processing of content or additional data, e.g. demultiplexing additional data from a digital video stream; Elementary client operations, e.g. monitoring of home network or synchronising decoder's clock; Client middleware
    • H04N21/433Content storage operation, e.g. storage operation in response to a pause request, caching operations
    • H04N21/4331Caching operations, e.g. of an advertisement for later insertion during playback
    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04NPICTORIAL COMMUNICATION, e.g. TELEVISION
    • H04N21/00Selective content distribution, e.g. interactive television or video on demand [VOD]
    • H04N21/40Client devices specifically adapted for the reception of or interaction with content, e.g. set-top-box [STB]; Operations thereof
    • H04N21/43Processing of content or additional data, e.g. demultiplexing additional data from a digital video stream; Elementary client operations, e.g. monitoring of home network or synchronising decoder's clock; Client middleware
    • H04N21/44Processing of video elementary streams, e.g. splicing a video clip retrieved from local storage with an incoming video stream, rendering scenes according to MPEG-4 scene graphs
    • H04N21/44004Processing of video elementary streams, e.g. splicing a video clip retrieved from local storage with an incoming video stream, rendering scenes according to MPEG-4 scene graphs involving video buffer management, e.g. video decoder buffer or video display buffer

Abstract

The embodiment of the invention discloses a multimedia data processing method and equipment thereof, wherein the method comprises the following steps: extracting picture elements in first picture data, and loading the picture elements by adopting a first multimedia view; acquiring a variation attribute for the picture element; and controlling the picture elements to be output in the first multimedia view according to the change attribute and based on a preset first playing time period. By adopting the invention, the number of pictures played by the animation can be reduced, the memory consumption and the resource occupancy rate of the terminal are reduced, and the performance of playing the animation is ensured.

Description

Multimedia data processing method and equipment thereof
Technical Field
The present invention relates to the field of computer technologies, and in particular, to a multimedia data processing method and a device thereof.
Background
With the continuous development and improvement of computer technology, terminals such as mobile phones and tablet computers become an indispensable part of people's lives, and people can not only communicate with each other by using the terminals, but also transmit files, pick up images, play animation and the like. In the existing animation playing process, a series of pictures related to the animation are usually designed in advance, and are sequentially switched within a specified time, so that the effect of human visual persistence is utilized to achieve the effect of animation display. However, there are often some simple animation parts in an animated presentation, such as: the object is moved simply, gradually disappears and the like, and often a plurality of pictures are required to be combined and displayed, so that the memory consumption and the resource occupancy rate of the terminal are increased, and the performance of playing the animation cannot be guaranteed.
Disclosure of Invention
The embodiment of the invention provides a multimedia data processing method and equipment thereof, which can reduce the number of pictures played by animation, reduce the memory consumption and resource occupancy rate of a terminal and ensure the performance of animation playing.
A first aspect of an embodiment of the present invention provides a multimedia data processing method, which may include:
extracting picture elements in first picture data, and loading the picture elements by adopting a first multimedia view;
acquiring a variation attribute for the picture element;
and controlling the picture elements to be output in the first multimedia view according to the change attribute and based on a preset first playing time period.
A second aspect of an embodiment of the present invention provides a multimedia data processing apparatus, which may include:
the first data loading unit is used for extracting picture elements in the first picture data and loading the picture elements by adopting a first multimedia view;
an attribute acquisition unit configured to acquire a variation attribute for the picture element;
and the first data output unit is used for controlling the picture elements to be output in the first multimedia view according to the change attribute and based on a preset first playing time period.
In the embodiment of the invention, after the picture elements in the first picture data are extracted, the picture elements are loaded by adopting the first multimedia view, the picture elements can be controlled to be output in the first multimedia view according to the change attribute by acquiring the change attribute aiming at the picture elements in the first picture data and based on the preset first playing time period, and the simple animation playing based on the first picture data is realized. By adding the change attribute aiming at the picture elements in the picture data, the simple animation display of the picture elements can be completed, the number of pictures played by the animation is effectively reduced, the required memory consumption and the resource occupancy rate can be reduced in the animation playing process, and the animation playing performance is further ensured.
Drawings
In order to more clearly illustrate the embodiments of the present invention or the technical solutions in the prior art, the drawings used in the description of the embodiments or the prior art will be briefly described below, it is obvious that the drawings in the following description are only some embodiments of the present invention, and for those skilled in the art, other drawings can be obtained according to the drawings without creative efforts.
Fig. 1 is a flowchart illustrating a multimedia data processing method according to an embodiment of the present invention;
FIG. 2 is a flow chart of another multimedia data processing method according to an embodiment of the present invention;
FIG. 3 is a schematic structural diagram of a multimedia data processing apparatus according to an embodiment of the present invention;
FIG. 4 is a schematic structural diagram of another multimedia data processing apparatus according to an embodiment of the present invention;
fig. 5 is a schematic structural diagram of another multimedia data processing apparatus according to an embodiment of the present invention.
Detailed Description
The technical solutions in the embodiments of the present invention will be clearly and completely described below with reference to the drawings in the embodiments of the present invention, and it is obvious that the described embodiments are only a part of the embodiments of the present invention, and not all of the embodiments. All other embodiments, which can be derived by a person skilled in the art from the embodiments given herein without making any creative effort, shall fall within the protection scope of the present invention.
The multimedia data processing method provided by the embodiment of the invention can be applied to scenes for playing simple animations, such as: the method comprises the steps that a multimedia data processing device extracts picture elements in first picture data, a first multimedia view is adopted to load the picture elements, the multimedia data processing device obtains change attributes aiming at the picture elements, the multimedia data processing device controls scenes and the like of the picture elements output in the first multimedia view according to the change attributes and based on a preset first playing time period, simple animation display of the picture elements can be completed by adding the change attributes aiming at the picture elements in the picture data, the number of pictures played by animation is effectively reduced, required memory consumption and resource occupancy rate can be reduced in the animation playing process, and accordingly performance of animation playing is guaranteed.
The multimedia data processing device related to the embodiment of the invention can comprise terminal devices such as a tablet Personal Computer (PC), a smart phone, a palm computer and a Mobile Internet Device (MID).
The following describes the multimedia data processing method according to an embodiment of the present invention in detail with reference to fig. 1 and fig. 2.
Referring to fig. 1, a flow chart of a multimedia data processing method according to an embodiment of the present invention is shown. As shown in fig. 1, the method of the embodiment of the present invention may include the following steps S101 to S103.
S101, extracting picture elements in first picture data, and loading the picture elements by adopting a first multimedia view;
specifically, the multimedia data processing device may extract a picture element in first picture data, and load the picture element by using a first multimedia view, where the first multimedia view is preferably a view frame for outputting and displaying the picture element in the first picture data, the first picture data is preferably a basic picture, and may include one or more picture elements, and the picture element is preferably a part of the first picture data that needs to be changed. Further, the multimedia data processing apparatus may perform decomposition processing on first picture data to obtain picture elements in the picture data, create a first multimedia view, load the picture elements using the first multimedia view, and set a first playing time period of the first multimedia view, where it is understood that the first playing time period is a total time period in which the picture elements in the first multimedia view are output in a variable manner, a view frame size of the first multimedia view is the same as a size of the picture elements, and the number of the first multimedia views is the same as the number of the picture elements.
S102, obtaining the change attribute aiming at the picture element;
specifically, the multimedia data processing apparatus may obtain a variation attribute for the picture element, where the variation attribute may include at least one of a motion attribute and a display effect, and the motion attribute may include a motion trajectory, a motion rate, and the like, where the motion trajectory is used to control a moving direction of the picture element, and the motion rate is used to control a rate when the picture element moves along the motion trajectory, for example: uniform movement, fast first, slow second, and the like, and the display effect may include at least one of a color gradient display effect and a size gradient display effect, where the color gradient display effect is used to control color change of the picture element, for example: fade away, fade display, etc., the size fade display effect being used to control the size change of the picture element.
It can be understood that one change attribute may be set for the same picture element, or multiple change attributes may be set, and the change attributes may be added specifically according to actual animation requirements. Through the diversified addition of the variable attributes, the display of the animation effect is enriched.
S103, controlling the picture elements to be output in the first multimedia view according to the change attribute and based on a preset first playing time period;
specifically, the multimedia data processing device may control, according to the variation attribute and based on a preset first playing time period, the picture element to output in the first multimedia view, and further, when the variation attribute is a motion attribute, the multimedia data processing device may control, based on the preset first playing time period, the picture element to perform mobile output in the first multimedia view according to the motion attribute; when the change attribute is a display effect, the multimedia data processing apparatus may control the picture element to perform a fade effect output in the first multimedia view according to the display effect based on a preset first play time period.
It is to be understood that the variation attribute may correspond to each time in the first playing time period in a one-to-one manner, and for each time in the first playing time period, the multimedia data processing apparatus may control the picture element to be output in the first multimedia view at the time according to the variation attribute at the time.
In the embodiment of the invention, after the picture elements in the first picture data are extracted, the picture elements are loaded by adopting the first multimedia view, the picture elements can be controlled to be output in the first multimedia view according to the change attribute by acquiring the change attribute aiming at the picture elements in the first picture data and based on the preset first playing time period, and the simple animation playing based on the first picture data is realized. By adding the change attribute aiming at the picture elements in the picture data, the simple animation display of the picture elements can be completed, the number of pictures played by the animation is effectively reduced, the required memory consumption and the resource occupancy rate can be reduced in the animation playing process, and the animation playing performance is further ensured; through the diversified addition of the variable attributes, the display of the animation effect is enriched.
Referring to fig. 2, a flow chart of another multimedia data processing method according to an embodiment of the invention is shown. As shown in fig. 2, the method of the embodiment of the present invention may include the following steps S201 to S205.
S201, extracting picture elements in first picture data, and loading the picture elements by adopting a first multimedia view;
specifically, the multimedia data processing device may extract a picture element in first picture data, and load the picture element by using a first multimedia view, where the first multimedia view is preferably a view frame for outputting and displaying the picture element in the first picture data, the first picture data is preferably a basic picture, and may include one or more picture elements, and the picture element is preferably a part of the first picture data that needs to be changed. Further, the multimedia data processing apparatus may perform decomposition processing on first picture data to obtain picture elements in the picture data, create a first multimedia view, load the picture elements using the first multimedia view, and set a first playing time period of the first multimedia view, where it is understood that the first playing time period is a total time period in which the picture elements in the first multimedia view are output in a variable manner, a view frame size of the first multimedia view is the same as a size of the picture elements, and the number of the first multimedia views is the same as the number of the picture elements.
S202, obtaining the change attribute aiming at the picture element;
specifically, the multimedia data processing apparatus may obtain a variation attribute for the picture element, where the variation attribute may include at least one of a motion attribute and a display effect, and the motion attribute may include a motion trajectory, a motion rate, and the like, where the motion trajectory is used to control a moving direction of the picture element, and the motion rate is used to control a rate when the picture element moves along the motion trajectory, for example: uniform movement, fast first, slow second, and the like, and the display effect may include at least one of a color gradient display effect and a size gradient display effect, where the color gradient display effect is used to control color change of the picture element, for example: fade away, fade display, etc., the size fade display effect being used to control the size change of the picture element.
It can be understood that one change attribute may be set for the same picture element, or multiple change attributes may be set, and the change attributes may be added specifically according to actual animation requirements. Through the diversified addition of the variable attributes, the display of the animation effect is enriched.
S203, controlling the picture elements to be output in the first multimedia view according to the change attribute and based on a preset first playing time period;
specifically, the multimedia data processing device may control, according to the variation attribute and based on a preset first playing time period, the picture element to output in the first multimedia view, and further, when the variation attribute is a motion attribute, the multimedia data processing device may control, based on the preset first playing time period, the picture element to perform mobile output in the first multimedia view according to the motion attribute; when the change attribute is a display effect, the multimedia data processing apparatus may control the picture element to perform a fade effect output in the first multimedia view according to the display effect based on a preset first play time period.
It is to be understood that the variation attribute may correspond to each time in the first playing time period in a one-to-one manner, and for each time in the first playing time period, the multimedia data processing apparatus may control the picture element to be output in the first multimedia view at the time according to the variation attribute at the time.
S204, creating a second multimedia view, loading at least two second picture data by adopting the second multimedia view, and setting a second playing time period of the second multimedia view;
specifically, the multimedia data processing device may also play a complex animation, and further, the multimedia data processing device may create a second multimedia view, load at least two second picture data using the second multimedia view, and set a second play time period of the second multimedia view, where the second multimedia view is preferably a view frame for outputting and displaying the second picture data, the second picture data is multiple pictures required for playing the animation, and the second play time period is a total time period required for sequentially outputting the second picture data in the second multimedia view.
S205, based on the second playing time period, and according to a preset playing rate, controlling the second picture data to be sequentially output in the second multimedia view;
specifically, the multimedia data processing device may control, based on the second playing time period and according to a preset playing rate, the second picture data to be sequentially output in the second multimedia view, where the preset playing rate may be a preset rate of picture carousel.
It is understood that the first multimedia view and the second multimedia view are not sequentially executed in the process of outputting the animation, and are only respectively executed as required by the current animation, for example: if the former part of the animation is simple animation and the latter part is complex animation, the steps S201 to S203 of the embodiment of the present invention are executed first, and then the steps S204 and S205 of the embodiment of the present invention are executed; if the former part of the animation is a complex animation and the latter part is a simple animation, steps S204 and S205 of the embodiment of the present invention are performed first, and then steps S201 to S203 of the embodiment of the present invention are performed.
In the embodiment of the invention, after the picture elements in the first picture data are extracted, the picture elements are loaded by adopting the first multimedia view, the picture elements can be controlled to be output in the first multimedia view according to the change attribute by acquiring the change attribute aiming at the picture elements in the first picture data and based on the preset first playing time period, and the simple animation playing based on the first picture data is realized. By adding the change attribute aiming at the picture elements in the picture data, the simple animation display of the picture elements can be completed, the number of pictures played by the animation is effectively reduced, the required memory consumption and the resource occupancy rate can be reduced in the animation playing process, and the animation playing performance is further ensured; through the diversified addition of the variable attributes, the display of animation effect is enriched; the playing mode of the animation can be increased on the basis of ensuring the playing performance of the animation by combining the simple animation and the complex animation for playing, and the playing content of the animation is enriched.
The following describes a multimedia data processing device according to an embodiment of the present invention in detail with reference to fig. 3 and 4. It should be noted that, the multimedia data processing apparatus shown in fig. 3 and fig. 4 is used for executing the method of the embodiment of the present invention shown in fig. 1 and fig. 2, for convenience of description, only the portion related to the embodiment of the present invention is shown, and details of the technology are not disclosed, please refer to the embodiment of the present invention shown in fig. 1 and fig. 2.
Referring to fig. 3, a schematic structural diagram of a multimedia data processing apparatus according to an embodiment of the present invention is provided. As shown in fig. 3, the multimedia data processing apparatus 1 according to an embodiment of the present invention may include: a first data loading unit 11, an attribute acquiring unit 12, and a first data output unit 13.
A first data loading unit 11, configured to load first picture data using a first multimedia view;
in a specific implementation, the first data loading unit 11 may extract a picture element in first picture data, and load the picture element by using a first multimedia view, where the first multimedia view is preferably a view frame for outputting and displaying the picture element in the first picture data, the first picture data is preferably a basic picture, and may include one or more picture elements, and the picture element is preferably a part of the first picture data that needs to be changed. Further, the first data loading unit 11 may perform decomposition processing on first picture data to obtain picture elements in the picture data, create a first multimedia view, load the picture elements using the first multimedia view, and set a first playing time period of the first multimedia view, where it is understood that the first playing time period is a total time period for outputting a picture element change in the first multimedia view, a view frame size of the first multimedia view is the same as a size of the picture elements, and the number of the first multimedia views is the same as the number of the picture elements.
An attribute acquiring unit 12 configured to acquire a variation attribute for the picture element;
in a specific implementation, the attribute obtaining unit 12 may obtain a variation attribute for the picture element, where the variation attribute may include at least one of a motion attribute and a display effect, and the motion attribute may include a motion track and a motion rate, where the motion track is used to control a moving direction of the picture element, and the motion rate is used to control a rate when the picture element moves along the motion track, for example: uniform movement, fast first, slow second, and the like, and the display effect may include at least one of a color gradient display effect and a size gradient display effect, where the color gradient display effect is used to control color change of the picture element, for example: fade away, fade display, etc., the size fade display effect being used to control the size change of the picture element.
It can be understood that one change attribute may be set for the same picture element, or multiple change attributes may be set, and the change attributes may be added specifically according to actual animation requirements. Through the diversified addition of the variable attributes, the display of the animation effect is enriched.
A first data output unit 13, configured to control, according to the variation attribute and based on a preset first playing time period, the picture element to be output in the first multimedia view;
in a specific implementation, the first data output unit 13 may control, according to the variation attribute, the picture element to be output in the first multimedia view based on a preset first playing time period, and further, when the variation attribute is a motion attribute, the first data output unit 13 may control, according to the preset first playing time period, the picture element to be output in the first multimedia view in a moving manner according to the motion attribute; when the variation attribute is a display effect, the first data output unit 13 may control the picture element to perform a fade effect output in the first multimedia view according to the display effect based on a preset first play time period.
It is to be understood that the variation attribute may correspond to each time in the first playing time period in a one-to-one manner, and for each time in the first playing time period, the first data output unit 13 may control the picture element to be output in the first multimedia view at the time according to the variation attribute at the time.
In the embodiment of the invention, after the picture elements in the first picture data are extracted, the picture elements are loaded by adopting the first multimedia view, the picture elements can be controlled to be output in the first multimedia view according to the change attribute by acquiring the change attribute aiming at the picture elements in the first picture data and based on the preset first playing time period, and the simple animation playing based on the first picture data is realized. By adding the change attribute aiming at the picture elements in the picture data, the simple animation display of the picture elements can be completed, the number of pictures played by the animation is effectively reduced, the required memory consumption and the resource occupancy rate can be reduced in the animation playing process, and the animation playing performance is further ensured; through the diversified addition of the variable attributes, the display of the animation effect is enriched.
Referring to fig. 4, a schematic structural diagram of another multimedia data processing apparatus according to an embodiment of the present invention is provided. As shown in fig. 4, the multimedia data processing apparatus 1 according to an embodiment of the present invention may include: a first data loading unit 11, an attribute acquiring unit 12, a first data outputting unit 13, a second data loading unit 14, and a second data outputting unit 15; the specific structures of the first data loading unit 11, the attribute obtaining unit 12, and the first data output unit 13 may refer to the description of the embodiment shown in fig. 3, and are not described herein again.
A second data loading unit 14, configured to create a second multimedia view, load at least two second picture data using the second multimedia view, and set a second playing time period of the second multimedia view;
in a specific implementation, the multimedia data processing apparatus 1 may also play a complex animation, and further, the second data loading unit 14 may create a second multimedia view, load at least two pieces of second picture data using the second multimedia view, and set a second playing time period of the second multimedia view, where the second multimedia view is preferably a view frame for outputting and displaying the second picture data, the second picture data is multiple pictures required for playing the animation, and the second playing time period is a total time period required for sequentially outputting the second picture data in the second multimedia view.
A second data output unit 15, configured to control, based on the second playing time period and according to a preset playing rate, the second picture data to be sequentially output in the second multimedia view;
in a specific implementation, the second data output unit 15 may control the second picture data to be sequentially output in the second multimedia view according to a preset play rate based on the second play time period, where the preset play rate may be a preset rate of picture carousel.
It is understood that the first multimedia view and the second multimedia view are not sequentially executed in the process of outputting the animation, and are only respectively executed as required by the current animation, for example: if the former part of the animation is simple animation and the latter part is complex animation, the first data loading unit 11, the attribute obtaining unit 12 and the first data output unit 13 are controlled to execute corresponding steps, and then the second data loading unit 14 and the second data output unit 15 are controlled to execute corresponding steps; if the former part of the animation is a complex animation and the latter part is a simple animation, the second data loading unit 14 and the second data output unit 15 are controlled to execute corresponding steps, and then the first data loading unit 11, the attribute obtaining unit 12 and the first data output unit 13 are controlled to execute corresponding steps.
In the embodiment of the invention, after the picture elements in the first picture data are extracted, the picture elements are loaded by adopting the first multimedia view, the picture elements can be controlled to be output in the first multimedia view according to the change attribute by acquiring the change attribute aiming at the picture elements in the first picture data and based on the preset first playing time period, and the simple animation playing based on the first picture data is realized. By adding the change attribute aiming at the picture elements in the picture data, the simple animation display of the picture elements can be completed, the number of pictures played by the animation is effectively reduced, the required memory consumption and the resource occupancy rate can be reduced in the animation playing process, and the animation playing performance is further ensured; through the diversified addition of the variable attributes, the display of animation effect is enriched; the playing mode of the animation can be increased on the basis of ensuring the playing performance of the animation by combining the simple animation and the complex animation for playing, and the playing content of the animation is enriched.
Referring to fig. 5, a schematic structural diagram of another multimedia data processing apparatus according to an embodiment of the present invention is provided. As shown in fig. 5, the multimedia data processing apparatus 1000 may include: at least one processor 1001, such as a CPU, at least one network interface 1004, a user interface 1003, memory 1005, at least one communication bus 1002. Wherein a communication bus 1002 is used to enable connective communication between these components. The user interface 1003 may include a Display screen (Display) and a Keyboard (Keyboard), and the optional user interface 1003 may also include a standard wired interface and a standard wireless interface. The network interface 1004 may optionally include a standard wired interface, a wireless interface (e.g., WI-FI interface). The memory 1005 may be a high-speed RAM memory or a non-volatile memory (non-volatile memory), such as at least one disk memory. The memory 1005 may optionally be at least one memory device located remotely from the processor 1001. As shown in fig. 5, the memory 1005, which is a kind of computer storage medium, may include therein an operating system, a network communication module, a user interface module, and a data processing application program.
In the multimedia data processing apparatus 1000 shown in fig. 5, the user interface 1003 is mainly used as an interface for providing input for a user, and acquiring data input by the user; and the processor 1001 may be configured to invoke a data processing application stored in the memory 1005 and specifically perform the following operations:
extracting picture elements in first picture data, and loading the picture elements by adopting a first multimedia view;
acquiring a variation attribute for the picture element;
and controlling the picture elements to be output in the first multimedia view according to the change attribute and based on a preset first playing time period.
In an embodiment, when the processor 1001 extracts a picture element in the first picture data and loads the picture element using the first multimedia view, the following operations are specifically performed:
decomposing first picture data to obtain picture elements in the picture data;
creating a first multimedia view, loading picture elements by adopting the first multimedia view, and setting a first playing time period of the first multimedia view;
wherein a view frame size of the first multimedia view is the same as a size of the picture element.
In one embodiment, when the processor 1001 obtains the variation attribute for the picture element, it specifically performs the following operations:
acquiring at least one of a motion attribute and a display effect for the picture element;
wherein the motion attributes comprise a motion track and a motion rate; the display effect includes at least one of a color gradation display effect and a size gradation display effect.
In an embodiment, when the processor 1001 performs control of outputting the picture element in the first multimedia view according to the change attribute and based on a preset first playing time period, the following operations are specifically performed:
when the change attribute is a motion attribute, controlling the picture element to perform mobile output in the first multimedia view according to the motion attribute based on a preset first playing time period; and/or
And when the change attribute is a display effect, controlling the picture element to perform gradual change effect output in the first multimedia view according to the display effect based on a preset first playing time period.
In one embodiment, the processor 1001 further performs the steps of:
creating a second multimedia view, loading at least two second picture data by adopting the second multimedia view, and setting a second playing time period of the second multimedia view;
and controlling the second picture data to be sequentially output in the second multimedia view according to a preset playing speed based on the second playing time period.
In the embodiment of the invention, after the picture elements in the first picture data are extracted, the picture elements are loaded by adopting the first multimedia view, the picture elements can be controlled to be output in the first multimedia view according to the change attribute by acquiring the change attribute aiming at the picture elements in the first picture data and based on the preset first playing time period, and the simple animation playing based on the first picture data is realized. By adding the change attribute aiming at the picture elements in the picture data, the simple animation display of the picture elements can be completed, the number of pictures played by the animation is effectively reduced, the required memory consumption and the resource occupancy rate can be reduced in the animation playing process, and the animation playing performance is further ensured; through the diversified addition of the variable attributes, the display of animation effect is enriched; the playing mode of the animation can be increased on the basis of ensuring the playing performance of the animation by combining the simple animation and the complex animation for playing, and the playing content of the animation is enriched.
It will be understood by those skilled in the art that all or part of the processes of the methods of the embodiments described above can be implemented by a computer program, which can be stored in a computer-readable storage medium, and when executed, can include the processes of the embodiments of the methods described above. The storage medium may be a magnetic disk, an optical disk, a Read-Only Memory (ROM), a Random Access Memory (RAM), or the like.
The above disclosure is only for the purpose of illustrating the preferred embodiments of the present invention, and it is therefore to be understood that the invention is not limited by the scope of the appended claims.

Claims (8)

1. A method for processing multimedia data, comprising:
when first picture data belong to simple animations, extracting picture elements in the first picture data, and loading the picture elements by adopting a first multimedia view;
acquiring a variation attribute for the picture element; the change attribute comprises a motion attribute and a display effect;
based on a preset first playing time period, controlling the picture elements to perform mobile output in the first multimedia view according to the motion attributes and controlling the picture elements to perform gradient effect output in the first multimedia view according to the display effect;
when the second picture data belong to the complex animation, creating a second multimedia view, loading at least two second picture data by adopting the second multimedia view, and setting a second playing time period of the second multimedia view;
and controlling the second picture data to be sequentially output in the second multimedia view according to a preset playing speed based on the second playing time period.
2. The method of claim 1, wherein the extracting the picture element from the first picture data and loading the picture element in the first multimedia view comprises:
decomposing first picture data to obtain picture elements in the picture data;
creating a first multimedia view, loading picture elements by adopting the first multimedia view, and setting a first playing time period of the first multimedia view;
wherein a view frame size of the first multimedia view is the same as a size of the picture element.
3. The method of claim 1, wherein the obtaining the variation attribute for the picture element comprises:
acquiring at least one of a motion attribute and a display effect for the picture element;
wherein the motion attributes comprise a motion track and a motion rate; the display effect includes at least one of a color gradation display effect and a size gradation display effect.
4. The method according to claim 3, wherein said controlling the picture element to be output in the first multimedia view according to the variation attribute and based on a preset first playing time period comprises:
when the change attribute is a motion attribute, controlling the picture element to perform mobile output in the first multimedia view according to the motion attribute based on a preset first playing time period; and/or
And when the change attribute is a display effect, controlling the picture element to perform gradual change effect output in the first multimedia view according to the display effect based on a preset first playing time period.
5. A multimedia data processing apparatus, characterized by comprising:
the first data loading unit is used for extracting picture elements in first picture data when the first picture data belong to simple animation, and loading the picture elements by adopting a first multimedia view;
an attribute acquisition unit configured to acquire a variation attribute for the picture element; the change attribute comprises a motion attribute and a display effect;
a first data output unit, configured to control, based on a preset first playing time period, the picture element to perform mobile output in the first multimedia view according to the motion attribute and control the picture element to perform gradual change effect output in the first multimedia view according to the display effect;
the second data loading unit is used for creating a second multimedia view when a second picture belongs to the complex animation, loading at least two second picture data by adopting the second multimedia view, and setting a second playing time period of the second multimedia view;
and the second data output unit is used for controlling the second picture data to be sequentially output in the second multimedia view according to a preset playing rate based on the second playing time period.
6. The device of claim 5, wherein the first data loading unit is specifically configured to:
decomposing first picture data to obtain picture elements in the picture data;
creating a first multimedia view, loading picture elements by adopting the first multimedia view, and setting a first playing time period of the first multimedia view;
wherein a view frame size of the first multimedia view is the same as a size of the picture element.
7. The apparatus according to claim 5, wherein the attribute acquiring unit is specifically configured to acquire at least one of a motion attribute and a display effect variation attribute for the picture element;
wherein the motion attributes comprise a motion track and a motion rate; the display effect includes at least one of a color gradation display effect and a size gradation display effect.
8. The device of claim 7, wherein the first data output unit is specifically configured to:
when the change attribute is a motion attribute, controlling the picture element to perform mobile output in the first multimedia view according to the motion attribute based on a preset first playing time period; and/or
And when the change attribute is a display effect, controlling the picture element to perform gradual change effect output in the first multimedia view according to the display effect based on a preset first playing time period.
CN201610913577.0A 2016-10-20 2016-10-20 Multimedia data processing method and equipment thereof Active CN106331834B (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN201610913577.0A CN106331834B (en) 2016-10-20 2016-10-20 Multimedia data processing method and equipment thereof

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN201610913577.0A CN106331834B (en) 2016-10-20 2016-10-20 Multimedia data processing method and equipment thereof

Publications (2)

Publication Number Publication Date
CN106331834A CN106331834A (en) 2017-01-11
CN106331834B true CN106331834B (en) 2020-02-07

Family

ID=57818053

Family Applications (1)

Application Number Title Priority Date Filing Date
CN201610913577.0A Active CN106331834B (en) 2016-10-20 2016-10-20 Multimedia data processing method and equipment thereof

Country Status (1)

Country Link
CN (1) CN106331834B (en)

Families Citing this family (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN109151547B (en) * 2018-08-30 2021-07-23 广州虎牙信息科技有限公司 Carousel method, carousel device, terminal and storage medium

Citations (6)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN101193250A (en) * 2006-11-27 2008-06-04 三星电子株式会社 System, method and medium generating frame information for moving images
CN102136154A (en) * 2010-11-18 2011-07-27 彭浩明 Cartoon manufacture method and device
CN102467377A (en) * 2010-11-08 2012-05-23 上海无戒空间信息技术有限公司 Animation production method
CN104123742A (en) * 2014-07-21 2014-10-29 徐才 Method and player for translating static cartoon picture into two dimensional animation
CN104835187A (en) * 2015-05-19 2015-08-12 北京三六三互动教育科技有限公司 Animation editor and editing method thereof
CN105069104A (en) * 2015-05-22 2015-11-18 福建中科亚创通讯科技有限责任公司 Dynamic cartoon generation method and system

Family Cites Families (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
US20090251468A1 (en) * 2008-04-03 2009-10-08 Peled Nachshon Animating of an input-image to create personal worlds

Patent Citations (6)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN101193250A (en) * 2006-11-27 2008-06-04 三星电子株式会社 System, method and medium generating frame information for moving images
CN102467377A (en) * 2010-11-08 2012-05-23 上海无戒空间信息技术有限公司 Animation production method
CN102136154A (en) * 2010-11-18 2011-07-27 彭浩明 Cartoon manufacture method and device
CN104123742A (en) * 2014-07-21 2014-10-29 徐才 Method and player for translating static cartoon picture into two dimensional animation
CN104835187A (en) * 2015-05-19 2015-08-12 北京三六三互动教育科技有限公司 Animation editor and editing method thereof
CN105069104A (en) * 2015-05-22 2015-11-18 福建中科亚创通讯科技有限责任公司 Dynamic cartoon generation method and system

Also Published As

Publication number Publication date
CN106331834A (en) 2017-01-11

Similar Documents

Publication Publication Date Title
CN108010112B (en) Animation processing method, device and storage medium
CN111294663B (en) Bullet screen processing method and device, electronic equipment and computer readable storage medium
CN111193876B (en) Method and device for adding special effect in video
CN109309842B (en) Live broadcast data processing method and device, computer equipment and storage medium
CN106658139B (en) Focus control method and device
US20220241689A1 (en) Game Character Rendering Method And Apparatus, Electronic Device, And Computer-Readable Medium
CN110750664B (en) Picture display method and device
CN111803951A (en) Game editing method and device, electronic equipment and computer readable medium
CN106095229A (en) The display packing of a kind of mobile terminal and device
CN112486611A (en) Page switching display method and device, storage medium and electronic equipment
CN109993817B (en) Animation realization method and terminal
CN113411664A (en) Video processing method and device based on sub-application and computer equipment
CN101976195B (en) Method and device for setting user interface
CN110782387B (en) Image processing method and device, image processor and electronic equipment
CN106293658B (en) Interface component generation method and equipment
CN106331834B (en) Multimedia data processing method and equipment thereof
CN106909263A (en) The interactive display method and system of 3-D view
CN109388737B (en) Method and device for sending exposure data of content item and storage medium
CN113645476A (en) Picture processing method and device, electronic equipment and storage medium
CN113559498A (en) Three-dimensional model display method and device, storage medium and electronic equipment
CN109091866B (en) Display control method and device, computer readable medium and electronic equipment
CN114697568B (en) Special effect video determining method and device, electronic equipment and storage medium
CN107291468B (en) Method for playing power-on/power-off animation, terminal and computer readable storage medium
CN111866403A (en) Video graphic content processing method, device, equipment and medium
JP6395971B1 (en) Modification of graphical command token

Legal Events

Date Code Title Description
PB01 Publication
PB01 Publication
C10 Entry into substantive examination
SE01 Entry into force of request for substantive examination
GR01 Patent grant
GR01 Patent grant