CN106470353B - Multimedia data processing method and device and electronic equipment - Google Patents

Multimedia data processing method and device and electronic equipment Download PDF

Info

Publication number
CN106470353B
CN106470353B CN201610857720.9A CN201610857720A CN106470353B CN 106470353 B CN106470353 B CN 106470353B CN 201610857720 A CN201610857720 A CN 201610857720A CN 106470353 B CN106470353 B CN 106470353B
Authority
CN
China
Prior art keywords
data
special efficacy
data frame
frame
medium
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
CN201610857720.9A
Other languages
Chinese (zh)
Other versions
CN106470353A (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.)
Beijing Kingsoft Internet Security Software Co Ltd
Original Assignee
Beijing Kingsoft Internet Security Software 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 Beijing Kingsoft Internet Security Software Co Ltd filed Critical Beijing Kingsoft Internet Security Software Co Ltd
Priority to CN201610857720.9A priority Critical patent/CN106470353B/en
Publication of CN106470353A publication Critical patent/CN106470353A/en
Application granted granted Critical
Publication of CN106470353B publication Critical patent/CN106470353B/en
Active legal-status Critical Current
Anticipated expiration legal-status Critical

Links

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/4312Generation of visual interfaces for content selection or interaction; Content or additional data rendering involving specific graphical features, e.g. screen layout, special fonts or colors, blinking icons, highlights or animations
    • 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/435Processing of additional data, e.g. decrypting of additional data, reconstructing software from modules extracted from the transport stream
    • 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/4402Processing 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 reformatting operations of video signals for household redistribution, storage or real-time display
    • 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/45Management operations performed by the client for facilitating the reception of or the interaction with the content or administrating data related to the end-user or to the client device itself, e.g. learning user preferences for recommending movies, resolving scheduling conflicts
    • H04N21/462Content or additional data management, e.g. creating a master electronic program guide from data received from the Internet and a Head-end, controlling the complexity of a video stream by scaling the resolution or bit-rate based on the client capabilities
    • 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/47End-user applications
    • H04N21/472End-user interface for requesting content, additional data or services; End-user interface for interacting with content, e.g. for content reservation or setting reminders, for requesting event notification, for manipulating displayed content
    • H04N21/47205End-user interface for requesting content, additional data or services; End-user interface for interacting with content, e.g. for content reservation or setting reminders, for requesting event notification, for manipulating displayed content for manipulating displayed content, e.g. interacting with MPEG-4 objects, editing locally
    • 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/47End-user applications
    • H04N21/485End-user interface for client configuration
    • H04N21/4854End-user interface for client configuration for modifying image parameters, e.g. image brightness, contrast

Landscapes

  • Engineering & Computer Science (AREA)
  • Multimedia (AREA)
  • Signal Processing (AREA)
  • Databases & Information Systems (AREA)
  • Human Computer Interaction (AREA)
  • Television Signal Processing For Recording (AREA)

Abstract

The embodiment of the invention discloses a multimedia data processing method, a device and electronic equipment thereof, wherein the method comprises the following steps: acquiring a target data special effect selected in the multimedia data special effect set; acquiring a target data frame of multimedia data which is requested to be played currently; and adding the target data special effect to the data content of the target data frame, and outputting the data content added with the target data special effect. By adopting the method and the device, the addition of the later-stage data special effect to the multimedia data is not needed, the data files needing to be processed are reduced, the addition efficiency of the data special effect is improved, and the storage space needed by the multimedia data is saved.

Description

A kind of multimedia data processing method and its device, electronic equipment
Technical field
The present invention relates to electronic technology fields more particularly to a kind of multimedia data processing method and its device, electronics to set It is standby.
Background technique
It, can by the multimedia application in the terminals such as mobile phone and tablet computer as electronic technology is constantly developed and perfect It, with the development of technology, can be to multimedia to carry out output displaying to a variety of multi-medium datas (such as: video, picture etc.) Data add different data special efficacys to enrich in the form of the showing of multi-medium data.In existing data special efficacy adding procedure, The addition that data special efficacy can be just carried out after obtaining complete multi-medium data is generally required, such as: it is directed to video data, is needed It will be after obtaining the complete data content of video data, then different data special efficacys is added to data content.Due to multimedia number According to the addition of special effects data be required to the later period and handled, increase data file to be treated, affect data special efficacy Addition efficiency, simultaneously because every kind of data special efficacy can generate the multi-medium data of a special efficacy version, therefore for same A multi-medium data needs to store the multi-medium data of multiple special efficacy versions to meet the viewing demand of user, increases more matchmakers Memory space needed for volume data.
Summary of the invention
The embodiment of the present invention provides a kind of multimedia data processing method and its device, electronic equipment, without to multimedia Data carry out the addition of later data special efficacy, reduce data file to be treated, promote the addition efficiency of data special efficacy, save Memory space needed for multi-medium data.
First aspect of the embodiment of the present invention provides a kind of multimedia data processing method, it may include:
Obtain the target data special efficacy selected in multi-medium data special efficacy set, the multi-medium data special efficacy set In be previously stored at least one data special efficacy;
Obtain the target data frame for the multi-medium data that current request plays;
The target data special efficacy added to the data content of the target data frame, and to being added to the target data The data content of special efficacy is exported.
Second aspect of the embodiment of the present invention provides a kind of apparatus for processing multimedia data, it may include:
Special efficacy acquiring unit, it is described for obtaining the target data special efficacy selected in multi-medium data special efficacy set At least one data special efficacy is previously stored in multi-medium data special efficacy set;
Data frame acquiring unit, the target data frame of the multi-medium data for obtaining current request broadcasting;
Content output unit adds the target data special efficacy for the data content to the target data frame, and right The data content for being added to the target data special efficacy is exported.
The third aspect of the embodiment of the present invention provides a kind of electronic equipment, it may include: shell, processor, memory, circuit Plate and power circuit, wherein the circuit board is placed in the space interior that the shell surrounds, the processor and the storage Device is arranged on the circuit board;The power circuit, for each circuit or the device power supply for the electronic equipment;It is described Memory is for storing executable program code;The processor is by reading the executable program generation stored in the memory Code runs program corresponding with the executable program code, for executing following steps:
Obtain the target data special efficacy selected in multi-medium data special efficacy set, the multi-medium data special efficacy set In be previously stored at least one data special efficacy;
Obtain the target data frame for the multi-medium data that current request plays;
The target data special efficacy added to the data content of the target data frame, and to being added to the target data The data content of special efficacy is exported.
In embodiments of the present invention, by obtaining target data frame during current request plays multi-medium data, Selected target data special efficacy is added to the data content of target data frame, finally to the data for being added to target data special efficacy Content is exported, and the addition for carrying out data special efficacy to multi-medium data in real time in multi-medium data playing process is realized, Reduce data file to be treated, improves the addition efficiency of data special efficacy, storage needed for saving multi-medium data Space.
Detailed description of the invention
In order to more clearly explain the embodiment of the invention or the technical proposal in the existing technology, to embodiment or will show below There is attached drawing needed in technical description to be briefly described, it should be apparent that, the accompanying drawings in the following description is only this Some embodiments of invention for those of ordinary skill in the art without creative efforts, can be with It obtains other drawings based on these drawings.
Fig. 1 is a kind of flow diagram of multimedia data processing method provided in an embodiment of the present invention;
Fig. 2 is a kind of structural schematic diagram of apparatus for processing multimedia data provided in an embodiment of the present invention;
Fig. 3 is the structural schematic diagram of a kind of electronic equipment provided in an embodiment of the present invention.
Specific embodiment
Following will be combined with the drawings in the embodiments of the present invention, and technical solution in the embodiment of the present invention carries out clear, complete Site preparation description, it is clear that described embodiments are only a part of the embodiments of the present invention, instead of all the embodiments.It is based on Embodiment in the present invention, it is obtained by those of ordinary skill in the art without making creative efforts every other Embodiment shall fall within the protection scope of the present invention.
Multimedia data processing method provided in an embodiment of the present invention can be applied to multi-medium datas such as video, pictures The scene of data special efficacy is added during exporting display, such as: apparatus for processing multimedia data is obtained in multi-medium data spy Target data special efficacy selected in effect set, the apparatus for processing multimedia data obtain the multimedia number that current request plays According to target data frame, the apparatus for processing multimedia data adds the number of targets to the data content of the target data frame According to special efficacy, and to the scene etc. that the data content for being added to the target data special efficacy is exported.It realizes in multimedia number According to the addition for carrying out data special efficacy in playing process to multi-medium data in real time, reduce data file to be treated, is promoted The addition efficiency of data special efficacys, memory space needed for saving multi-medium data.
The present embodiments relate to apparatus for processing multimedia data may include: tablet computer, smart phone, notebook Computer, palm PC and mobile internet device (MID) etc. have the mobile terminal including multi-medium data playing function and set It is standby.
Referring to Figure 1, for the embodiment of the invention provides a kind of flow diagrams of multimedia data processing method.Such as figure Shown in 1, the embodiment of the present invention the method may include following steps S101- step S103.
S101 obtains the target data special efficacy selected in multi-medium data special efficacy set;
Specifically, the available user of apparatus for processing multimedia data mesh selected in multi-medium data special efficacy set Mark data special efficacy, it is to be understood that at least one data special efficacy, institute are previously stored in the multi-medium data special efficacy set State the special-effect being not present in the reality that data special efficacy is usually gone out by software development.
S102 obtains the target data frame for the multi-medium data that current request plays;
Specifically, the number of targets for the multi-medium data that the available current request of apparatus for processing multimedia data plays According to frame, the multi-medium data includes at least one data frame, at least one described data frame is preferably at least a yuv data Frame, YUV are used to optimize the transmission of colour-video signal, specially luminance signal (i.e. Y) and two colour difference signal B-Y (i.e. U) With R-Y (i.e. V), it should be noted that for the multi-medium data, can first carry out special effects data before the play-out starts Selection is also possible to carry out the selection or switching of special effects data in playing process, can be understood as to the switching of special effects data Before the target data special efficacy for getting user's selection, the user is got for the multi-medium data in the multimedia Historical data special efficacy selected in data special efficacy set, the historical data special efficacy are different from the target data special efficacy Data special efficacy.
Further, in the first feasible embodiment of the embodiment of the present invention, for first before the play-out starts It carries out the selection of special effects data and is directed to the multimedia if it does not exist when that is, described multi-medium data is in preparation broadcast state The selected historical data special efficacy of data, then the apparatus for processing multimedia data can carry out the multi-medium data Decoding, and target data frame is obtained after the decoding, it is to be understood that the target data frame can be suitable according to play time First data frame of the multi-medium data that sequence obtains.
In second of feasible embodiment of the embodiment of the present invention, for the progress special effects data in playing process Selection or switching, i.e., the multi-medium data that current request plays are in the multimedia that in playing process or current request plays Data are in playing process, and there is the historical data special efficacy that the multi-medium data played for current request selected, then The apparatus for processing multimedia data can again be decoded multi-medium data, and obtain target data frame after the decoding, It is understood that the target data frame can be first of the multi-medium data obtained according to play time sequence Data frame.Alternatively, the apparatus for processing multimedia data can recorde the target data frame currently exported in the multimedia number According at least one data frame in location information, and multi-medium data is decoded based on the location information, is being decoded The target data frame of the location information instruction is reacquired afterwards, it is to be understood that the target data frame is is remembered The data frame of the location information instruction of record, the location information is preferably current play time point.
Certainly, in order to guarantee the playing efficiency of multi-medium data, data buffer storage, the data buffer storage can be previously provided with It can store for multi-medium data according at least one data frame obtained after the decoding of play time sequence, such as: decoding The multi-medium data obtains 10 data frames and stores into the data buffer storage, meanwhile, selecting target data special efficacy When, the target data special efficacy can be added to the data content of the data frame of at least one in data buffer storage respectively, improved The addition efficiency of data special efficacy.
It is opened in the third feasible embodiment of the embodiment of the present invention in broadcasting based on above-mentioned data buffer storage The selection of special effects data is first carried out before beginning is directed to institute if it does not exist when that is, described multi-medium data is in preparation broadcast state The selected historical data special efficacy of multi-medium data is stated, then the apparatus for processing multimedia data can be in data buffer storage First data frame is obtained according to play time sequence, and first data frame is determined as target data frame, Ke Yili Solution, the target data frame can be first data of the multi-medium data obtained according to play time sequence Frame.
Based on above-mentioned data buffer storage, in the 4th kind of feasible embodiment of the embodiment of the present invention, for playing The selection or switching of special effects data are carried out in journey, i.e., the multi-medium data that current request plays is in playing process, or is worked as The multi-medium data that preceding request plays is in playing process, and it is selected to there is the multi-medium data played for current request Historical data special efficacy, then the apparatus for processing multimedia data needs to empty data buffer storage, again according to play time sequence Multi-medium data is decoded to obtain at least one data frame, at least one described data frame is stored to the data and is delayed In depositing, first data frame is obtained according to play time sequence in data buffer storage, and first data frame is determined as Target data frame.Alternatively, the apparatus for processing multimedia data can recorde the location information of the target data frame currently exported, Data buffer storage is emptied, and multi-medium data is decoded based on the location information to obtain at least one data frame, by institute It states at least one data frame to store into the data buffer storage, obtains first number according to play time sequence in data buffer storage It is determined as target data frame according to frame, and by first data frame, it is to be understood that the target data frame is is recorded Location information instruction data frame, the location information is preferably current play time point.
S103 adds the target data special efficacy to the data content of the target data frame, and to being added to the mesh The data content of mark data special efficacy is exported.
In embodiments of the present invention, by obtaining target data frame during current request plays multi-medium data, Selected target data special efficacy is added to the data content of target data frame, finally to the data for being added to target data special efficacy Content is exported, and the addition for carrying out data special efficacy to multi-medium data in real time in multi-medium data playing process is realized, Reduce data file to be treated, improves the addition efficiency of data special efficacy, storage needed for saving multi-medium data Space;By obtaining based on various ways realization to the target data frame for needing to add target data special efficacy, number is enriched According to the addition manner of special efficacy, meet a variety of demands that user is directed to the addition of data special efficacy, promotes user experience;By using data The mode of caching is decoded storage to data frame in advance, ensure that the playing efficiency of multi-medium data, and then improves data The addition efficiency of special efficacy.
Fig. 2 is referred to, for the embodiment of the invention provides a kind of structural schematic diagrams of apparatus for processing multimedia data.Such as figure Shown in 2, the apparatus for processing multimedia data 1 of the embodiment of the present invention may include: special efficacy acquiring unit 11, data frame acquisition Unit 12 and content output unit 13
Special efficacy acquiring unit 11, for obtaining the target data special efficacy selected in multi-medium data special efficacy set;
In the specific implementation, the available user of the special efficacy acquiring unit 11 is selected in multi-medium data special efficacy set Target data special efficacy, it is to be understood that it is special that at least one data are previously stored in the multi-medium data special efficacy set It imitates, the special-effect being not present in the reality that the data special efficacy is usually gone out by software development.
Data frame acquiring unit 12, the target data frame of the multi-medium data for obtaining current request broadcasting;
In the specific implementation, the target for the multi-medium data that the available current request of the data frame acquiring unit 12 plays Data frame, the multi-medium data include at least one data frame, at least one described data frame is preferably at least a YUV number According to frame, YUV is used to optimize the transmission of colour-video signal, specially luminance signal (i.e. Y) and two colour difference signal B-Y (i.e. U) and R-Y (i.e. V), it should be noted that for the multi-medium data, can first carry out special effects data before the play-out starts Selection, be also possible in playing process carry out special effects data selection or switching, the switching of special effects data is understood that Before the target data special efficacy for getting user's selection, to get the user for the multi-medium data in more matchmakers Historical data special efficacy selected in volume data special efficacy set, the historical data special efficacy are different from the target data special efficacy Data special efficacy.
Further, in the first feasible embodiment of the embodiment of the present invention, for first before the play-out starts It carries out the selection of special effects data and is directed to the multimedia if it does not exist when that is, described multi-medium data is in preparation broadcast state The selected historical data special efficacy of data, then the data frame acquiring unit 12 can solve the multi-medium data Code, and target data frame is obtained after the decoding, it is to be understood that the target data frame can be for according to play time sequence First data frame of the multi-medium data obtained.
In second of feasible embodiment of the embodiment of the present invention, for the progress special effects data in playing process Selection or switching, i.e., the multi-medium data that current request plays are in the multimedia that in playing process or current request plays Data are in playing process, and there is the historical data special efficacy that the multi-medium data played for current request selected, then The data frame acquiring unit 12 can again be decoded multi-medium data, and obtain target data frame after the decoding, can With understanding, the target data frame can be first number of the multi-medium data obtained according to play time sequence According to frame.Alternatively, the data frame acquiring unit 12 can recorde the target data frame currently exported in the multi-medium data Location information at least one data frame, and multi-medium data is decoded based on the location information, it weighs after the decoding Newly obtain the target data frame of the location information instruction, it is to be understood that the target data frame is recorded The data frame of location information instruction, the location information is preferably current play time point.
Certainly, in order to guarantee the playing efficiency of multi-medium data, data buffer storage, the data buffer storage can be previously provided with It can store for multi-medium data according at least one data frame obtained after the decoding of play time sequence, such as: decoding The multi-medium data obtains 10 data frames and stores into the data buffer storage, meanwhile, selecting target data special efficacy When, the target data special efficacy can be added to the data content of the data frame of at least one in data buffer storage respectively, improved The addition efficiency of data special efficacy.
It is opened in the third feasible embodiment of the embodiment of the present invention in broadcasting based on above-mentioned data buffer storage The selection of special effects data is first carried out before beginning is directed to institute if it does not exist when that is, described multi-medium data is in preparation broadcast state The selected historical data special efficacy of multi-medium data is stated, then the data frame acquiring unit 12 can press in data buffer storage First data frame is obtained according to play time sequence, and first data frame is determined as target data frame, it is possible to understand that , the target data frame can be first data frame of the multi-medium data obtained according to play time sequence.
Based on above-mentioned data buffer storage, in the 4th kind of feasible embodiment of the embodiment of the present invention, for playing The selection or switching of special effects data are carried out in journey, i.e., the multi-medium data that current request plays is in playing process, or is worked as The multi-medium data that preceding request plays is in playing process, and it is selected to there is the multi-medium data played for current request Historical data special efficacy, then the data frame acquiring unit 12 needs to empty data buffer storage, again according to play time sequence pair Multi-medium data is decoded to obtain at least one data frame, at least one described data frame is stored to the data buffer storage In, first data frame is obtained according to play time sequence in data buffer storage, and first data frame is determined as mesh Mark data frame.Alternatively, the data frame acquiring unit 12 can recorde the location information of the target data frame currently exported, empty Data buffer storage, and multi-medium data is decoded based on the location information to obtain at least one data frame, by described in extremely A few data frame is stored into the data buffer storage, obtains first data according to play time sequence in data buffer storage Frame, and first data frame is determined as target data frame, it is to be understood that the target data frame is recorded The data frame of location information instruction, the location information is preferably current play time point.
Content output unit 13 adds the target data special efficacy for the data content to the target data frame, and The data content for being added to the target data special efficacy is exported.
In embodiments of the present invention, by obtaining target data frame during current request plays multi-medium data, Selected target data special efficacy is added to the data content of target data frame, finally to the data for being added to target data special efficacy Content is exported, and the addition for carrying out data special efficacy to multi-medium data in real time in multi-medium data playing process is realized, Reduce data file to be treated, improves the addition efficiency of data special efficacy, storage needed for saving multi-medium data Space;By obtaining based on various ways realization to the target data frame for needing to add target data special efficacy, number is enriched According to the addition manner of special efficacy, meet a variety of demands that user is directed to the addition of data special efficacy, promotes user experience;By using data The mode of caching is decoded storage to data frame in advance, ensure that the playing efficiency of multi-medium data, and then improves data The addition efficiency of special efficacy.
Fig. 3 is referred to, for the embodiment of the invention provides the structural schematic diagrams of a kind of electronic equipment.As shown in figure 3, this hair The electronic equipment of bright embodiment may include: shell 300, circuit board 301, processor 302, communication bus 303, input set Standby 304, output equipment 305 and memory 306, wherein circuit board 301 is placed in the space interior that shell 300 surrounds, processor 302, communication bus 303, memory 306, input equipment 304 and output equipment 305 are arranged on circuit board 301;Communication bus 303 for realizing the connection communication between these components.Wherein, memory 306 can be high speed RAM memory, be also possible to Non-labile memory (non-volatile memory), for example, at least a magnetic disk storage.Memory 306 is optional It can also be that at least one is located remotely from the storage device of aforementioned processor 302.Wherein, processor 302 can be retouched in conjunction with Fig. 2 The apparatus for processing multimedia data stated stores executable program code in memory 306;And processor 302 is by reading storage The executable program code stored in device 306 runs program corresponding with executable program code, for executing following step It is rapid:
It controls input equipment 304 and obtains the target data special efficacy selected in multi-medium data special efficacy set, it is described more At least one data special efficacy is previously stored in media data special efficacy set;
Obtain the target data frame for the multi-medium data that current request plays;
It controls output equipment 305 and the target data special efficacy is added to the data content of the target data frame, and to adding The data content of the target data special efficacy has been added to be exported.
In an alternate embodiment of the invention, when the historical data selected there is no the multi-medium data played for current request When special efficacy, the processor 302 calls the executable program code stored in memory 306 to execute and obtains what current request played It is specific to execute following operation when the target data frame of multi-medium data:
The multi-medium data is decoded, and obtains target data frame after the decoding.
In an alternate embodiment of the invention, when the historical data selected there is no the multi-medium data played for current request When special efficacy, the processor 302 calls the executable program code stored in memory 306 to execute and obtains what current request played It is specific to execute following operation when the target data frame of multi-medium data:
First data frame is obtained according to play time sequence in data buffer storage, and first data frame is determined For target data frame;
Wherein, be stored in the data buffer storage for multi-medium data according to play time sequence decoding after obtain to A few data frame.
In an alternate embodiment of the invention, special when there is the historical data that the multi-medium data played for current request selected When effect, or when current request play multi-medium data be in playing process, and exist for current request broadcasting it is more When the historical data special efficacy that media data selected, the processor 302 calls the executable program generation stored in memory 306 It is specific to execute following operation when code executes the target data frame for obtaining the multi-medium data that current request plays:
Again multi-medium data is decoded, and obtains target data frame after the decoding;Alternatively,
The location information of the target data frame currently exported is recorded, and multi-medium data is carried out based on the location information Decoding obtains the target data frame of the location information instruction after the decoding.
In an alternate embodiment of the invention, special when there is the historical data that the multi-medium data played for current request selected When effect, or when current request play multi-medium data be in playing process, and exist for current request broadcasting it is more When the historical data special efficacy that media data selected, the processor 302 calls the executable program generation stored in memory 306 It is specific to execute following operation when code executes the target data frame for obtaining the multi-medium data that current request plays:
Data buffer storage is emptied, multi-medium data is decoded according to play time sequence to obtain at least one number again According to frame, at least one described data frame is stored into the data buffer storage, is obtained in data buffer storage according to play time sequence First data frame is taken, and first data frame is determined as target data frame;Alternatively,
The location information for recording the target data frame currently exported empties data buffer storage, and is based on the location information pair Multi-medium data is decoded to obtain at least one data frame, at least one described data frame is stored to the data buffer storage In, first data frame is obtained according to play time sequence in data buffer storage, and first data frame is determined as mesh Mark data frame.
In embodiments of the present invention, by obtaining target data frame during current request plays multi-medium data, Selected target data special efficacy is added to the data content of target data frame, finally to the data for being added to target data special efficacy Content is exported, and the addition for carrying out data special efficacy to multi-medium data in real time in multi-medium data playing process is realized, Reduce data file to be treated, improves the addition efficiency of data special efficacy, storage needed for saving multi-medium data Space;By obtaining based on various ways realization to the target data frame for needing to add target data special efficacy, number is enriched According to the addition manner of special efficacy, meet a variety of demands that user is directed to the addition of data special efficacy, promotes user experience;By using data The mode of caching is decoded storage to data frame in advance, ensure that the playing efficiency of multi-medium data, and then improves data The addition efficiency of special efficacy.
Those of ordinary skill in the art will appreciate that realizing all or part of the process in above-described embodiment method, being can be with Relevant hardware is instructed to complete by computer program, the program can be stored in a computer-readable storage medium In, the program is when being executed, it may include such as the process of the embodiment of above-mentioned each method.Wherein, the storage medium can be magnetic Dish, CD, read-only memory (Read-Only Memory, ROM) or random access memory (Random Access Memory, RAM) etc..
The above disclosure is only the preferred embodiments of the present invention, cannot limit the right model of the present invention with this certainly It encloses, therefore equivalent changes made in accordance with the claims of the present invention, is still within the scope of the present invention.

Claims (7)

1. a kind of multimedia data processing method characterized by comprising
The target data special efficacy selected in multi-medium data special efficacy set is obtained, it is pre- in the multi-medium data special efficacy set First it is stored at least one data special efficacy;
Obtain the target data frame for the multi-medium data that current request plays;
The target data special efficacy added to the data content of the target data frame, and to being added to the target data special efficacy Data content exported;
Wherein, the target data frame for obtaining the multi-medium data that current request plays, comprising:
Whether multi-medium data of the judgement in playing process includes selected historical data special efficacy, if it is:
The location information for recording the target data frame currently exported empties data buffer storage, and based on the location information to more matchmakers Volume data is decoded to obtain at least one data frame, at least one described data frame is stored into the data buffer storage, First data frame is obtained according to play time sequence in data buffer storage, and first data frame is determined as number of targets According to frame.
2. the method according to claim 1, wherein the mesh for obtaining the multi-medium data that current request plays Mark data frame, comprising:
Whether the multi-medium data for judging that current request plays includes selected historical data special efficacy, if it is not, then to described Multi-medium data is decoded, and obtains target data frame after the decoding.
3. the method according to claim 1, wherein the mesh for obtaining the multi-medium data that current request plays Mark data frame, comprising:
Whether the multi-medium data for judging that current request plays includes selected historical data special efficacy, if it is not, then in data First data frame is obtained according to play time sequence in caching, and first data frame is determined as target data frame;
Wherein, it is stored in the data buffer storage for multi-medium data according at least one obtained after the decoding of play time sequence A data frame.
4. a kind of apparatus for processing multimedia data characterized by comprising
Special efficacy acquiring unit, for obtaining the target data special efficacy selected in multi-medium data special efficacy set, more matchmakers At least one data special efficacy is previously stored in volume data special efficacy set;
Data frame acquiring unit, the target data frame of the multi-medium data for obtaining current request broadcasting;
Content output unit adds the target data special efficacy for the data content to the target data frame, and to addition The data content of the target data special efficacy is exported;
Wherein, the data frame acquiring unit is specifically used for:
Whether multi-medium data of the judgement in playing process includes selected historical data special efficacy, if it is:
The location information for recording the target data frame currently exported empties data buffer storage, and based on the location information to more matchmakers Volume data is decoded to obtain at least one data frame, at least one described data frame is stored into the data buffer storage, First data frame is obtained according to play time sequence in data buffer storage, and first data frame is determined as number of targets According to frame.
5. device according to claim 4, which is characterized in that the data frame acquiring unit, which is specifically used for judgement, currently asks Whether the multi-medium data for asking broadcasting includes selected historical data special efficacy, if it is not, then carrying out to the multi-medium data Decoding, and target data frame is obtained after the decoding.
6. device according to claim 4, which is characterized in that the data frame acquiring unit, which is specifically used for judgement, currently asks Whether the multi-medium data for asking broadcasting includes selected historical data special efficacy, if it is not, then according to broadcasting in data buffer storage Time sequencing obtains first data frame, and first data frame is determined as target data frame;
Wherein, it is stored in the data buffer storage for multi-medium data according at least one obtained after the decoding of play time sequence A data frame.
7. a kind of electronic equipment characterized by comprising shell, processor, memory, circuit board and power circuit, wherein The circuit board is placed in the space interior that the shell surrounds, and the processor and the memory are arranged in the circuit board On;The power circuit, for each circuit or the device power supply for the electronic equipment;The memory is for storing and can hold Line program code;The processor is held to run with described by reading the executable program code stored in the memory The corresponding program of line program code, for executing following steps:
The target data special efficacy selected in multi-medium data special efficacy set is obtained, it is pre- in the multi-medium data special efficacy set First it is stored at least one data special efficacy;
Whether multi-medium data of the judgement in playing process includes selected historical data special efficacy, if it is:
The location information for recording the target data frame currently exported empties data buffer storage, and based on the location information to more matchmakers Volume data is decoded to obtain at least one data frame, at least one described data frame is stored into the data buffer storage, First data frame is obtained according to play time sequence in data buffer storage, and first data frame is determined as number of targets According to frame;
The target data special efficacy added to the data content of the target data frame, and to being added to the target data special efficacy Data content exported.
CN201610857720.9A 2016-09-27 2016-09-27 Multimedia data processing method and device and electronic equipment Active CN106470353B (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN201610857720.9A CN106470353B (en) 2016-09-27 2016-09-27 Multimedia data processing method and device and electronic equipment

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN201610857720.9A CN106470353B (en) 2016-09-27 2016-09-27 Multimedia data processing method and device and electronic equipment

Publications (2)

Publication Number Publication Date
CN106470353A CN106470353A (en) 2017-03-01
CN106470353B true CN106470353B (en) 2019-11-05

Family

ID=58230713

Family Applications (1)

Application Number Title Priority Date Filing Date
CN201610857720.9A Active CN106470353B (en) 2016-09-27 2016-09-27 Multimedia data processing method and device and electronic equipment

Country Status (1)

Country Link
CN (1) CN106470353B (en)

Families Citing this family (5)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN107749956B (en) * 2017-09-27 2020-06-09 北京嗨动视觉科技有限公司 Video source switching special effect implementation device and video source switching special effect implementation method
CN109492577B (en) * 2018-11-08 2020-09-18 北京奇艺世纪科技有限公司 Gesture recognition method and device and electronic equipment
CN109379624B (en) * 2018-11-27 2021-03-02 Oppo广东移动通信有限公司 Video processing method and device, electronic equipment and storage medium
CN111263190A (en) * 2020-02-27 2020-06-09 游艺星际(北京)科技有限公司 Video processing method and device, server and storage medium
CN113507637A (en) * 2021-07-13 2021-10-15 北京字跳网络技术有限公司 Media file processing method, device, equipment, readable storage medium and product

Citations (8)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN103391414A (en) * 2013-07-24 2013-11-13 杭州趣维科技有限公司 Video processing device and processing method applied to mobile phone platform
CN103402100A (en) * 2013-08-23 2013-11-20 北京奇艺世纪科技有限公司 Video processing method and mobile terminal
CN104168501A (en) * 2014-08-14 2014-11-26 厦门美图之家科技有限公司 Method for video playback of mobile terminal
CN104394324A (en) * 2014-12-09 2015-03-04 成都理想境界科技有限公司 Special-effect video generation method and device
CN104703043A (en) * 2015-03-26 2015-06-10 努比亚技术有限公司 Video special effect adding method and device
CN104754394A (en) * 2015-02-01 2015-07-01 苏州乐聚一堂电子科技有限公司 Vision-synchronized special effect system and vision-synchronized special effect handling method
CN104822094A (en) * 2015-02-06 2015-08-05 苏州乐聚一堂电子科技有限公司 Polyrhythm special-effect system and polyrhythm special-effect processing method
CN105072486A (en) * 2015-08-24 2015-11-18 北京金山安全软件有限公司 Method and device for adding visual effect to spliced video

Family Cites Families (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JP2001306342A (en) * 2000-04-20 2001-11-02 Victor Co Of Japan Ltd Method, system for processing effect of digital data in network, effect server, user terminal, recording medium in which effect processing program of digital data is recorded and recording medium in which processing program in effect server and user terminal is recorded

Patent Citations (8)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN103391414A (en) * 2013-07-24 2013-11-13 杭州趣维科技有限公司 Video processing device and processing method applied to mobile phone platform
CN103402100A (en) * 2013-08-23 2013-11-20 北京奇艺世纪科技有限公司 Video processing method and mobile terminal
CN104168501A (en) * 2014-08-14 2014-11-26 厦门美图之家科技有限公司 Method for video playback of mobile terminal
CN104394324A (en) * 2014-12-09 2015-03-04 成都理想境界科技有限公司 Special-effect video generation method and device
CN104754394A (en) * 2015-02-01 2015-07-01 苏州乐聚一堂电子科技有限公司 Vision-synchronized special effect system and vision-synchronized special effect handling method
CN104822094A (en) * 2015-02-06 2015-08-05 苏州乐聚一堂电子科技有限公司 Polyrhythm special-effect system and polyrhythm special-effect processing method
CN104703043A (en) * 2015-03-26 2015-06-10 努比亚技术有限公司 Video special effect adding method and device
CN105072486A (en) * 2015-08-24 2015-11-18 北京金山安全软件有限公司 Method and device for adding visual effect to spliced video

Also Published As

Publication number Publication date
CN106470353A (en) 2017-03-01

Similar Documents

Publication Publication Date Title
CN106470353B (en) Multimedia data processing method and device and electronic equipment
CN113457160B (en) Data processing method, device, electronic equipment and computer readable storage medium
US10929460B2 (en) Method and apparatus for storing resource and electronic device
CN109840879B (en) Image rendering method and device, computer storage medium and terminal
CN110381326B (en) Video system, processing method, device and computer readable medium
CN102364905B (en) Data reproducing method, device and mobile terminal
CN107333163A (en) A kind of method for processing video frequency and device, a kind of terminal and storage medium
US20210136432A1 (en) Method for recharging live streaming account, terminal, and storage medium
US20170168660A1 (en) Voice bullet screen generation method and electronic device
CN110602543A (en) Method and apparatus for displaying material, storage medium, and electronic apparatus
CN110505511A (en) It is a kind of to play the method, apparatus of video, system in webpage and calculate equipment
CN106162357A (en) Obtain the method and device of video content
CN112619130A (en) Multi-scene playback method and device for game
CN110740346A (en) Video data processing method, device, server, terminal and storage medium
CN113630630A (en) Method, device and equipment for processing dubbing information of video commentary
CN110876078A (en) Animation picture processing method and device, storage medium and processor
CN112770168B (en) Video playing method, related device and equipment
CN114501100A (en) Live broadcast page skipping method and system
CN111346377A (en) Recording and playback method and device for online game, server and terminal
CN112402954A (en) Video data processing method, device and system
CN108786113B (en) Data playing method and device, storage medium and electronic device
CN103297516A (en) Multi-type providing method, multi-type providing system and multi-type providing device of applications
CN111954041A (en) Video loading method, computer equipment and readable storage medium
CN113992638B (en) Synchronous playing method and device for multimedia resources, storage position and electronic device
WO2022257365A1 (en) Video generation method and apparatus, storage medium, and electronic apparatus

Legal Events

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