CN102196268B - Method, device and system for processing multimedia data - Google Patents

Method, device and system for processing multimedia data Download PDF

Info

Publication number
CN102196268B
CN102196268B CN 201110116709 CN201110116709A CN102196268B CN 102196268 B CN102196268 B CN 102196268B CN 201110116709 CN201110116709 CN 201110116709 CN 201110116709 A CN201110116709 A CN 201110116709A CN 102196268 B CN102196268 B CN 102196268B
Authority
CN
China
Prior art keywords
medium data
code stream
data frame
compressed encoding
multimedia
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
CN 201110116709
Other languages
Chinese (zh)
Other versions
CN102196268A (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.)
Chengdu Huawei Technology Co Ltd
Original Assignee
Huawei Symantec Technologies 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 Huawei Symantec Technologies Co Ltd filed Critical Huawei Symantec Technologies Co Ltd
Priority to CN 201110116709 priority Critical patent/CN102196268B/en
Publication of CN102196268A publication Critical patent/CN102196268A/en
Application granted granted Critical
Publication of CN102196268B publication Critical patent/CN102196268B/en
Active legal-status Critical Current
Anticipated expiration legal-status Critical

Links

Abstract

The invention provides a method, device and system for processing multimedia data. The method comprises the following steps of: receiving a code stream transmitted by an encoding end, wherein the code stream comprises a plurality of multimedia data frames stored according to a multimedia container format, and the plurality of multimedia data frames are obtained by compression encoding of source data; identifying the compression encoding format of each multimedia data frame in the code stream according to a code stream detection characteristic base and extracting each multimedia data frame, wherein the code stream detection characteristic base comprises characteristic information for identifying the compression encoding format used by the multimedia data frames; and acquiring the source data according to each extracted multimedia data frame and the used compression encoding format thereof. Through the method, device and system for processing the multimedia data, disclosed by the embodiment of the invention, the direct acquisition of the source data by identification and extraction of video frames from an original bit stream to be played with any video container format is realized, and the compatibility is provided.

Description

Multimedia data processing method, device and system
Technical field
The invention belongs to technical field of data processing, relate in particular to a kind of multimedia data processing method, device and system.
Background technology
The more common video Container Format of depositing video file has at present: flv (FLASH VIDEO, the FLASH video), mp4, ts, mkv etc., multiple video data stream and the audio data stream that obtains according to different compressed encoding format compressions leaves in the video container according to the video Container Format.The decode procedure of video file mainly comprises following two large steps:
The first step is video container decoding (referred to as the container decoding), at first carries out demultiplexing and namely a plurality of audio and video data streams of a video file the inside is separated; And then from isolated each audio and video data streams the inside audio, video data is one by one extracted and obtains the various decoding parametrics of audio, video data decoding needs;
Second step is audio, video data decoding (namely decompressing), choosing corresponding codec (CODEC) according to the decoding parametric that acquires in the first step decodes frame by frame to audio, video data, one-frame video data is exactly piece image after decoding, one frame voice data is one section sound clip after decoding, and the input data that most decoder can be accepted generally are exactly one-frame video data or a frame voice data.
Therefore, a complete decoding software is exactly the big collection of video container decoder and video and audio coding (CODEC) such as player.
But, different from common video, video container in the monitoring field is privately owned often, and the video Container Format of namely monitoring in the field is privately owned often, and the video file that encapsulates according to privately owned video Container Format is not according to the open form of standard the Frame of compression to be deposited.It mainly is that the privately owned decoding software that usage monitoring producer provides is play its privately owned video file (being the video file of privately owned video Container Format) one to one such as privately owned player that prior art is decoded to the video file of privately owned video Container Format, namely, to decode to the video file of privately owned video Container Format, the privately owned player that can only use producer oneself to provide could be play, and the multimedia player of standard such as VLC (Video Lan Client) and KMPLAYER etc. can't correctly play.
Like this, because the video Container Format of each monitoring producer is different, and the monitoring producer on the market is too many, if every family provides a player, the user may need to manage a plurality of players, needs the player of management more, and management complexity is just higher.Equally, in non-supervised field, if the video Container Format is different, also can there be same problem.
Summary of the invention
For the defects of prior art, the embodiment of the invention provides a kind of multimedia data processing method, device and system.
The embodiment of the invention provides a kind of multimedia data processing method, comprising:
Received code end transmitted stream, described code stream comprise a plurality of multi-medium data frames of depositing according to the multimedia container form, and described a plurality of multi-medium data frames carry out compressed encoding to source data and obtain;
Identify the used compressed encoding form of each multi-medium data frame in the described code stream and from described code stream, extract each multi-medium data frame according to code stream detection feature storehouse, wherein, described code stream detection feature storehouse comprises the characteristic information for the used compressed encoding form of identification multi-medium data frame;
Obtain described source data according to each multi-medium data frame that extracts and used compressed encoding form thereof.
The embodiment of the invention provides a kind of apparatus for processing multimedia data, comprising:
Receiver module is used for received code end transmitted stream, and described code stream comprises a plurality of multi-medium data frames of depositing according to the multimedia container form, and described a plurality of multi-medium data frames carry out compressed encoding to source data and obtain;
Acquisition module, be used for identifying the used compressed encoding form of each multi-medium data frame of described code stream and from described code stream, extracting each multi-medium data frame according to code stream detection feature storehouse, and obtain described source data according to each multi-medium data frame that extracts and used compressed encoding form thereof, wherein, described code stream detection feature storehouse comprises the characteristic information for the used compressed encoding form of identification multi-medium data frame.
The embodiment of the invention provides a kind of multimedia data processing system, comprise coding side and above-mentioned apparatus for processing multimedia data, described coding side is used for that source data is carried out compressed encoding and obtains a plurality of multi-medium data frames, and a plurality of multi-medium data frames that obtain are deposited the generation code stream according to predetermined multimedia container form.
The characteristic information of the embodiment of the invention by the various Multimedia Compression coded formats of storing in the code stream detection feature storehouse carries out detection and identify to the compressed encoding form of each multi-medium data frame in the code stream, thereby can identify the compressed encoding form of each multi-medium data frame in the code stream, then just can get access to source data according to each Frame that extracts and used compressed encoding form thereof, thereby skipped video container decoding step of the prior art, by with the coupling of the characteristic information of various Multimedia Compression coded formats, realize the direct effect of from the bit stream original to be played of any video Container Format, identifying and extracting the multi-medium data frame and then obtain source data, had compatibility.Simultaneously, can solve in the prior art need to decode with man-to-man privately owned player to the code stream with privately owned video Container Format and obtain the defective that source data is brought.
Description of drawings
In order to be illustrated more clearly in the embodiment of the invention or technical scheme of the prior art, the below will do one to the accompanying drawing of required use in embodiment or the description of the Prior Art and introduce simply, apparently, accompanying drawing in the following describes is some embodiments of the present invention, for those of ordinary skills, under the prerequisite of not paying creative work, can also obtain according to these accompanying drawings other accompanying drawing.
Fig. 1 is the flow chart of the multimedia data processing method of the embodiment of the invention;
Fig. 2 uses code stream detection feature storehouse to carry out that code stream is surveyed and the schematic diagram of decoding in the multimedia data processing method of the embodiment of the invention;
Fig. 3 is the structural representation of the apparatus for processing multimedia data of the embodiment of the invention;
Fig. 4 is the structural representation of the apparatus for processing multimedia data of another embodiment of the present invention;
Fig. 5 is the structural representation of the apparatus for processing multimedia data of further embodiment of this invention;
Fig. 6 is the structural representation of the multimedia data processing system of the embodiment of the invention.
Embodiment
In order to make purpose of the present invention, technical scheme and advantage clearer, below in conjunction with drawings and the embodiments, the present invention is further elaborated.Should be appreciated that embodiment described herein only is used for explaining the present invention, be not intended to limit the present invention.For convenience of description, the embodiment of the invention is take the monitoring field as example.But obviously not as limit, when in other field, having the skimble-scamble situation of video container, also can use the embodiment of the invention.
The embodiment of the invention is privately owned often for the video container in the monitoring field in the prior art (or video Container Format), video file according to privately owned video Container Format encapsulation can only could decode and play with the privately owned player (being decoding software) that monitoring producer oneself provides, the multimedia player of standard such as VLC, KMPLAYER etc. can't correctly play, thereby cause the user may need to manage a plurality of players, the defective that management complexity is higher, proposed a solution namely the characteristic information by the various Multimedia Compression coded formats of storing in the code stream detection feature storehouse compressed encoding form of each multi-medium data frame in the code stream is carried out detection and identify, realized from the code stream of any video Container Format, directly extracting each multi-medium data frame to obtain the effect of source data, avoided with privately owned player the video file of privately owned video Container Format being decoded, had compatibility.
Multimedia in following examples of the present invention can be audio frequency, video, picture, also can be any composition of sound, video, picture.
Fig. 1 is the flow chart of the multimedia data processing method of the embodiment of the invention, and as shown in Figure 1, the method comprises:
Step 100, received code end transmitted stream, described code stream comprise a plurality of multi-medium data frames of depositing according to predetermined multimedia container form, and described a plurality of multi-medium data frames carry out compressed encoding to source data and obtain;
Coding side carries out compressed encoding (source data of mentioning in the various embodiments of the present invention can be video file) according to the Multimedia Compression coded format of standard to source data first, for example audio compression coded format of the Multimedia Compression coded format MP3 of standard (Moving Pic ture Experts Group Audio Layer III, dynamic image expert compression standard audio frequency aspect 3), AAC-LC (Advanced Audio Coding-Low Complexity, low complexity aac encoding) etc., the video compression coding form H.264, MPEG (Motion Picture Experts Group, dynamic image panel of expert) 4 and MJPEG (Motion Joint Photographic Experts Group, dynamic syndicated imagery specialists group) etc., source data (is that the used compressed encoding form of a plurality of multi-medium data frames can be different through forming a plurality of multi-medium data frames with various Multimedia Compression coded formats behind the compressed encoding, also can be identical), again each multi-medium data frame is deposited according to predetermined multimedia container form and formed code stream and the transmission with a definite sequence, wherein, the multimedia container form comprises standard multimedia Container Format and private multimedia Container Format, for example, the standard multimedia Container Format is open standard, it can be FLV, MP4, TS, MKV, each multi-medium data frame is that good according to the rules order is deposited in the standard multimedia container; And be to deposit each multi-medium data frame according to the self-defining arbitrarily off-gauge order of each producer in the private multimedia Container Format.
Step 101, identify the used compressed encoding form of each multi-medium data frame in the described code stream and from described code stream, extract each multi-medium data frame according to code stream detection feature storehouse, wherein, described code stream detection feature storehouse comprises the characteristic information for the used compressed encoding form of identification multi-medium data frame;
Decoding end receives after the coding side transmitted stream, can in real time or (for example store first the again video file to storing) in non real-time code stream is carried out the code stream detection, identify the used compressed encoding form of each multi-medium data frame that obtains through compressed encoding in the code stream, to obtain source data.
Step 102 is obtained described source data according to each multi-medium data frame that extracts and used compressed encoding form thereof.Then, just can play.
The code stream detection feature storehouse that decoding end is safeguarded according to self is surveyed code stream, the characteristic information of various Multimedia Compression coded formats has been deposited in the inside, code stream detection feature storehouse, be specially the used Multimedia Compression coded format of each multi-medium data frame in the code stream is identified, and from code stream, extract each multi-medium data frame, to obtain source data.
The multimedia data processing method that present embodiment provides, characteristic information by the various Multimedia Compression coded formats of storing in the code stream detection feature storehouse carries out detection and identify to the compressed encoding form of each multi-medium data frame in the code stream, thereby can identify the compressed encoding form of each multi-medium data frame in the code stream, then just can get access to source data according to each Frame that extracts and used compressed encoding form thereof, thereby skipped video container decoding step of the prior art, by with the coupling of the characteristic information of various Multimedia Compression coded formats, realized directly from the bit stream original to be played of any video Container Format, identifying and extracting the multi-medium data frame to obtain the effect of source data, had compatibility.Simultaneously, can solve in the prior art need to decode with man-to-man privately owned player to the code stream with privately owned video Container Format and obtain the defective that source data is brought.
Further, Fig. 2 uses code stream detection feature storehouse to carry out that code stream is surveyed and the schematic diagram of decoding in the multimedia data processing method of the embodiment of the invention, as shown in Figure 2, the characteristic information of various Multimedia Compression coded formats has been deposited in the inside, code stream detection feature storehouse, described characteristic information comprises the header file information of Multimedia Compression form, the form of intermediate file and the form of ends file, such as the Multimedia Compression coded format of standard H.264, header file information, the form of intermediate file and the form of ends file of MPEG4 and MJPEG etc.Then, when in step 101, identifying the used compressed encoding form of each multi-medium data frame in the described code stream according to code stream detection feature storehouse, for each the multi-medium data frame in the code stream, can be according to following information one of at least: the form of header file information, intermediate file and the form of ends file, each compressed encoding form in this multi-medium data frame and the described code stream detection feature storehouse is mated, determine that the used compressed encoding form of this multi-medium data frame is the compressed encoding form that is complementary.Particularly, can adopt following various ways to identify a compressed encoding form that the multi-medium data frame is used:
Mode 1: the header file information of compressed encoding form in the header file information of this multi-medium data frame and the code stream detection feature storehouse relatively respectively, the form of the intermediate file of compressed encoding form in the form of the intermediate file of this multi-medium data frame and the code stream detection feature storehouse, whether the form of the ends file of compressed encoding form is consistent in the form of the ends file of this multi-medium data frame and the code stream detection feature storehouse, if all consistent, the compressed encoding form of then determining this multi-medium data frame and current comparison is complementary, and the used compressed encoding form of this multi-medium data frame is the compressed encoding form that this is complementary.
In actual applications, comparative sequence can carry out according to demand, for example, the header file information of the header file information of this multi-medium data frame and current compressed encoding form at first relatively, the form of the intermediate file of the form of the intermediate file of this multi-medium data frame and current compressed encoding form relatively again, the form of the form of the final relatively ends file of this multi-medium data frame and the ends file of current compressed encoding form; Also can compare first the form of both intermediate files, more relatively header file information, the last form of ends file relatively; By that analogy.
Can also be first the header file information of each compressed encoding in the header file information of this multi-medium data frame and the code stream detection feature storehouse is complete after, obtain consistent a plurality of compressed encoding forms, and then the form of the intermediate file of this multi-medium data frame relatively obtained consistent a plurality of compressed encoding forms with the form of the intermediate file of these a plurality of compressed encoding forms that obtain, at last with the form of the form of the ends file of this multi-medium data frame and the ends file of a plurality of compressed encoding forms that relatively obtain for the second time relatively, finally obtain all consistent compressed encoding forms of three category informations.Obviously, equally also can compare first the form of intermediate file, more relatively header file information, the last form of ends file relatively; The like.
For example, the header file information that gets access to a multi-medium data frame in the code stream is " 00.00.01 ", at first, the header file information of this multi-medium data frame is compared with the header file information of the various Multimedia Compression coded formats of the inside, code stream detection feature storehouse respectively, if judge " 00.00.01 " and Multimedia Compression coded format H.264, the header file information of MPEG4 and MJPEG is consistent, then continue with the form of the intermediate file of this multi-medium data frame respectively with code stream detection feature storehouse in the Multimedia Compression coded format H.264, MPEG4, the form of the intermediate file of MJPEG compares, if judge with H.264 consistent with the intermediate file format of MJPEG, then continue with the ends file form of this multi-medium data frame respectively with code stream detection feature storehouse in H.264, the form of the ends file of MJPEG compares, if judge unanimously with the form of H.264 ends file, then can determine that H.264 the used compressed encoding form of this Frame is this moment.
Mode 2: respectively relatively in the header file information of this multi-medium data frame and the code stream detection feature storehouse in the form of the intermediate file of the header file information of compressed encoding form, this multi-medium data frame and the code stream detection feature storehouse form of the intermediate file of compressed encoding form whether consistent, if all consistent, the compressed encoding form of then determining this multi-medium data frame and current comparison is complementary, and the used compressed encoding form of this multi-medium data frame is the compressed encoding form that this is complementary.
Perhaps, respectively relatively in the form of the intermediate file of this multi-medium data frame and the code stream detection feature storehouse in the form of the ends file of the form of the intermediate file of compressed encoding form, this multi-medium data frame and the code stream detection feature storehouse form of the ends file of compressed encoding form whether consistent, if all consistent, the compressed encoding form of then determining this multi-medium data frame and current comparison is complementary, and the used compressed encoding form of this multi-medium data frame is the compressed encoding form that this is complementary.
Perhaps, compare respectively both header file information and the form of ends file, by that analogy.
Equally, in actual applications, comparative sequence also can carry out according to demand, with mode 1, repeats no more here.
Mode 3: the header file information of each compressed encoding form in the header file information of this multi-medium data frame and the code stream detection feature storehouse relatively, determine that the used compressed encoding form of this multi-medium data frame is the compressed encoding form that is complementary.
Perhaps, relatively the form of the intermediate file of each compressed encoding form in the form of the intermediate file of this multi-medium data frame and the code stream detection feature storehouse determines that the used compressed encoding form of this multi-medium data frame is the compressed encoding form that is complementary.
Perhaps, relatively the form of the ends file of each compressed encoding form in the form of the ends file of this multi-medium data frame and the code stream detection feature storehouse determines that the used compressed encoding form of this multi-medium data frame is the compressed encoding form that is complementary.
In actual applications, a Frame (Frame) can be comprised of the head (Slice Header) of frame head (Frame Header), a plurality of Slice (sheet), each Slice and the afterbody (Tail) of frame.Wherein, above-mentioned header file can be thought frame head, and above-mentioned intermediate file can be thought head, and above-mentioned ends file can be thought afterbody.Obviously, intermediate file also can be the combination of head and sheet, can also be sheet, and the embodiment of the invention is not done restriction to this.
Based on above-described embodiment, need to be in identifying code stream the used compressed encoding form of each multi-medium data frame and from code stream, extracting after each multi-medium data frame, just can obtain source data (corresponding step 102) according to each multi-medium data frame that extracts and used compressed encoding form thereof, present embodiment is introduced two kinds of processing procedures (corresponding to step 102) of obtaining source data, as shown in Figure 2:
Wan Shiyi:
With each multi-medium data frame of extracting under the condition that does not decompress, the order of depositing according to open standard multimedia Container Format defined is deposited generation standard code stream, for example deposit each multi-medium data frame according to the order of depositing of FLV, MP4, TS or MKV regulation, for the multimedia player of standard such as VLC, KMPLAYER etc. can carry out container decoding to standard code stream and get access to after each multi-medium data frame, and each multi-medium data frame being decompressed gets access to source data and play again.
The multimedia data processing method that present embodiment provides, from described code stream, get access to after each multi-medium data frame, each multi-medium data frame that gets access to is deposited generation standard code stream according to the standard multimedia Container Format more rapidly, thereby realized privately owned video code flow is transferred to fast the video code flow of standard, do not need to use privately owned player, and directly can play with existing standard player.
Mode two:
The data decoder (CODEC) that each multi-medium data frame that extracts is sent to corresponding compressed encoding form decompresses and obtains source data, sends to H.264 in the decoder compressed data frames H.264 decompressed such as the H.264 compressed data frames that will extract from code stream and obtains source data.
The multimedia data processing method that present embodiment provides, from described code stream, get access to after each multi-medium data frame, directly each multi-medium data frame that extracts is decompressed by the decoder corresponding with the used compressed encoding form of Frame, finally realize to use the decoder of various standard compression coded formats that privately owned video file is decoded, avoided using privately owned player.
One of ordinary skill in the art will appreciate that: all or part of step that realizes said method embodiment can be finished by the relevant hardware of program command, aforesaid program can be stored in the computer read/write memory medium, this program is carried out the step that comprises said method embodiment when carrying out; And aforesaid storage medium comprises: the various media that can be program code stored such as ROM, RAM, magnetic disc or CD.
Fig. 3 is the structural representation of the apparatus for processing multimedia data of the embodiment of the invention, as shown in Figure 3, this device comprises: receiver module 11 and acquisition module 12, wherein, receiver module 11 is used for received code end transmitted stream, this code stream comprises a plurality of multi-medium data frames of depositing according to the multimedia container form, and described a plurality of multi-medium data frames carry out compressed encoding to source data and obtain; Acquisition module 12 is used for identifying the used compressed encoding form of each multi-medium data frame of described code stream and extract each multi-medium data frame from described code stream according to code stream detection feature storehouse, and obtain described source data according to each multi-medium data frame that extracts and used compressed encoding form thereof, wherein, described code stream detection feature storehouse comprises the characteristic information for the used compressed encoding form of identification multi-medium data frame.The apparatus for processing multimedia data that present embodiment provides is arranged in the decoding end of the multimedia data processing method embodiment that the embodiment of the invention provides.
The function of the apparatus for processing multimedia data that present embodiment provides and handling process can referring to said method embodiment, repeat no more herein.
The apparatus for processing multimedia data that present embodiment provides, characteristic information by the various Multimedia Compression coded formats of storing in the code stream detection feature storehouse carries out detection and identify to the compressed encoding form of each multi-medium data frame in the code stream, thereby can identify the compressed encoding form of each multi-medium data frame in the code stream, then just can get access to source data according to each Frame that extracts and used compressed encoding form thereof, thereby skipped video container decoding step of the prior art, by the coupling to the feature of various Multimedia Compression forms in the monitoring field, realized directly from the bit stream original to be played of any video Container Format, identifying and extracting the effect that frame of video is obtained source data, had compatibility.Simultaneously, can solve in the prior art need to decode with man-to-man privately owned decoding software to the code stream with privately owned video Container Format and obtain the defective that source data is brought.
Fig. 4 is the structural representation of the apparatus for processing multimedia data of another embodiment of the present invention.The characteristic information that is stored in the code stream detection feature storehouse specifically can comprise: the header file information of Multimedia Compression coded format, the form of intermediate file and the form of ends file; Then as shown in Figure 4, based on above-described embodiment, described acquisition module 12 comprises: comparing unit 121, be used for each the multi-medium data frame for code stream, according to following information one of at least: the form of header file information, intermediate file and the form of ends file, each compressed encoding form in this multi-medium data frame and the described code stream detection feature storehouse is mated, determine that the used compressed encoding form of this multi-medium data frame is the compressed encoding form that is complementary.Like this, just can identify the compressed encoding form of each multi-medium data frame in the code stream.Implementation can referring to the mode 1-3 among the said method embodiment, repeat no more here particularly.
Further, acquisition module 12 also comprises memory cell 122, is used for storage code stream detection feature storehouse.
The apparatus for processing multimedia data that present embodiment provides, by will the Frame in the code stream and the characteristic information of the various Multimedia Compression coded formats deposited of the inside, code stream detection feature storehouse compare, realize from the code stream of any video Container Format Direct Recognition and extracted each multi-medium data frame, and and then can obtain the effect of source data, thereby avoided with privately owned player the video file of privately owned video Container Format being decoded, had compatibility.
Fig. 5 is the structural representation of the apparatus for processing multimedia data of further embodiment of this invention, as shown in Figure 5, based on above-described embodiment, in order further to obtain source data, described acquisition module 12 also comprises: generation unit 123, and generation unit 123 is used for obtaining source data according to one of following dual mode:
Mode one: deposit each multi-medium data frame according to the compressed encoding form of normal video Container Format and each multi-medium data frame and generate the standard code stream, for standard player described standard code stream is carried out container decoding and get access to after each multi-medium data frame, each multi-medium data frame is decompressed get access to described source data again;
Mode two: use decompresses to described each multi-medium data frame with the corresponding data decoder of compressed encoding form of each multi-medium data frame, gets access to described source data.
The apparatus for processing multimedia data that present embodiment provides, by the video code flow of privately owned video Container Format being transferred fast to the video code flow of normal video container, realized not needing to use privately owned player, and directly with existing standard player privately owned video file has been play.
Fig. 6 is the structural representation of the multimedia data processing system of the embodiment of the invention, as shown in Figure 6, this system comprises: apparatus for processing multimedia data 1 and coding side 2, wherein coding side 2 is used for according to various Multimedia Compression coded formats the source data coding being obtained a plurality of multi-medium data frames, the a plurality of multi-medium data frames that obtain are deposited the described code stream of generation according to predetermined video Container Format, the apparatus for processing multimedia data that apparatus for processing multimedia data 1 can adopt above-described embodiment to provide, the concrete structure of each equipment and function and handling process in the multimedia data processing system that present embodiment provides, can referring to the embodiment of said method and equipment, repeat no more herein.
The multimedia data processing system that present embodiment provides, characteristic information by the various Multimedia Compression coded formats of storing in the code stream detection feature storehouse carries out detection and identify to the compressed encoding form of each multi-medium data frame in the code stream, thereby can identify the compressed encoding form of each multi-medium data frame in the code stream, then just can get access to source data according to each Frame that extracts and used compressed encoding form thereof, thereby skipped video container decoding step of the prior art, by the coupling to the feature of various Multimedia Compression coded formats in the monitoring field, realized directly from the bit stream original to be played of any video Container Format, identifying and extracting the effect that frame of video is obtained source data, had compatibility.Simultaneously, can solve in the prior art need to decode with man-to-man privately owned decoding software to the code stream with privately owned video Container Format and obtain the defective that source data is brought.
One of ordinary skill in the art will appreciate that all or part of step that realizes in above-described embodiment method is to come the relevant hardware of instruction to finish by program, this program can be stored in the computer read/write memory medium, as: ROM/RAM, magnetic disc, CD etc.
Obviously, those skilled in the art can carry out various changes and modification to the present invention and not break away from the spirit and scope of the present invention.Like this, if of the present invention these are revised and modification belongs within the scope of claim of the present invention and equivalent technologies thereof, then the present invention also is intended to comprise these changes and modification interior.

Claims (9)

1. a multimedia data processing method is characterized in that, comprising:
Received code end transmitted stream, described code stream comprise a plurality of multi-medium data frames of depositing according to the multimedia container form, and described a plurality of multi-medium data frames carry out compressed encoding to source data and obtain;
Identify the used compressed encoding form of each multi-medium data frame in the described code stream and from described code stream, extract each multi-medium data frame according to code stream detection feature storehouse, wherein, described code stream detection feature storehouse comprises the characteristic information for the used compressed encoding form of identification multi-medium data frame;
Obtain described source data according to each multi-medium data frame that extracts and used compressed encoding form thereof.
2. multimedia data processing method according to claim 1 is characterized in that, described characteristic information comprises: the header file information of compressed encoding form, the form of intermediate file and the form of ends file; Describedly identify according to code stream detection feature storehouse that the used compressed encoding form of each multi-medium data frame comprises in the described code stream:
For each the multi-medium data frame in the code stream, according to following information one of at least: the form of header file information, intermediate file and the form of ends file, each compressed encoding form in this multi-medium data frame and the described code stream detection feature storehouse is mated, determine that the used compressed encoding form of this multi-medium data frame is the compressed encoding form that is complementary.
3. multimedia data processing method according to claim 1 and 2 is characterized in that, each multi-medium data frame that described basis extracts and used compressed encoding form thereof obtain described source data and comprise:
Deposit each multi-medium data frame according to standard multimedia Container Format and the used compressed encoding form of each multi-medium data frame and generate the standard code stream, for the standard multimedia player described standard code stream is carried out the container decoding and get access to again each multi-medium data frame to be decompressed after each multi-medium data frame and get access to described source data; Perhaps,
Use the data decoder corresponding with the used compressed encoding form of each multi-medium data frame that described each multi-medium data frame is decompressed, get access to described source data.
4. multimedia data processing method according to claim 3, it is characterized in that, described compressed encoding form comprise following one of at least: H.264, MPEG4 and MJPEG, and described standard multimedia Container Format comprise following one of at least: FLV, MP4, TS, MKV.
5. an apparatus for processing multimedia data is characterized in that, comprising:
Receiver module is used for received code end transmitted stream, and described code stream comprises a plurality of multi-medium data frames of depositing according to the multimedia container form, and described a plurality of multi-medium data frames carry out compressed encoding to source data and obtain;
Acquisition module, be used for identifying the used compressed encoding form of each multi-medium data frame of described code stream and from described code stream, extracting each multi-medium data frame according to code stream detection feature storehouse, and obtain described source data according to each multi-medium data frame that extracts and used compressed encoding form thereof, wherein, described code stream detection feature storehouse comprises the characteristic information for the used compressed encoding form of identification multi-medium data frame.
6. apparatus for processing multimedia data according to claim 5 is characterized in that, described characteristic information comprises: the header file information of compressed encoding form, the form of intermediate file and the form of ends file; Described acquisition module comprises:
Comparing unit, be used for each the multi-medium data frame for code stream, according to following information one of at least: the form of header file information, intermediate file and the form of ends file, each compressed encoding form in this multi-medium data frame and the described code stream detection feature storehouse is mated, determine that the used compressed encoding form of this multi-medium data frame is the compressed encoding form that is complementary.
7. apparatus for processing multimedia data according to claim 6 is characterized in that, described acquisition module also comprises:
Memory cell is used for storing described code stream detection feature storehouse.
8. according to claim 6 or 7 described apparatus for processing multimedia data, it is characterized in that described acquisition module also comprises:
Generation unit, be used for depositing each multi-medium data frame according to standard multimedia Container Format and the used compressed encoding form of each multi-medium data frame and generate the standard code stream, for the standard multimedia player described standard code stream is carried out the container decoding and get access to again each multi-medium data frame to be decompressed after each multi-medium data frame and get access to described source data; Perhaps, for the corresponding data decoder of the used compressed encoding form of use and each multi-medium data frame described each multi-medium data frame is decompressed, get access to described source data.
9. multimedia data processing system, it is characterized in that, comprise: coding side and such as each described apparatus for processing multimedia data of claim 5 to 8, described coding side is used for that source data is carried out compressed encoding and obtains a plurality of multi-medium data frames, and a plurality of multi-medium data frames that obtain are deposited the generation code stream according to predetermined multimedia container form.
CN 201110116709 2011-05-06 2011-05-06 Method, device and system for processing multimedia data Active CN102196268B (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN 201110116709 CN102196268B (en) 2011-05-06 2011-05-06 Method, device and system for processing multimedia data

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN 201110116709 CN102196268B (en) 2011-05-06 2011-05-06 Method, device and system for processing multimedia data

Publications (2)

Publication Number Publication Date
CN102196268A CN102196268A (en) 2011-09-21
CN102196268B true CN102196268B (en) 2013-03-20

Family

ID=44603553

Family Applications (1)

Application Number Title Priority Date Filing Date
CN 201110116709 Active CN102196268B (en) 2011-05-06 2011-05-06 Method, device and system for processing multimedia data

Country Status (1)

Country Link
CN (1) CN102196268B (en)

Families Citing this family (6)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN103237012B (en) * 2013-03-29 2017-01-18 苏州皓泰视频技术有限公司 Method for processing multimedia data on basis of free components
US9875723B2 (en) 2013-08-13 2018-01-23 Mediatek Inc. Data processing apparatus for transmitting/receiving randomly accessible compressed pixel data groups over display interface and related data processing method
CN104363511B (en) * 2014-11-28 2017-06-23 北京奇艺世纪科技有限公司 A kind of method and system of broadcasting F4v videos online in a mobile device
CN105163169B (en) * 2015-09-16 2018-08-07 暴风集团股份有限公司 A kind of method and system for the data encapsulation format being suitable for transmission
CN108093258B (en) * 2018-01-11 2020-06-16 珠海全志科技股份有限公司 Code stream data decoding method, computer device and computer readable storage medium
CN111787396A (en) * 2020-07-28 2020-10-16 北京金山云网络技术有限公司 Video stream parsing method and device

Citations (3)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN101118777A (en) * 2007-08-22 2008-02-06 北京中星微电子有限公司 Playing method of multimedia container format file and indexes reading method thereof
CN101552791A (en) * 2009-05-22 2009-10-07 腾讯科技(深圳)有限公司 Method and system for playing multiple media file
CN101888540A (en) * 2009-05-13 2010-11-17 中兴通讯股份有限公司 Method and device for bearing transport streams TS in streaming media files

Family Cites Families (2)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
US8019200B2 (en) * 2006-11-06 2011-09-13 Creative Technology Ltd Method and system for media file conversion
US20090327344A1 (en) * 2008-06-26 2009-12-31 Microsoft Corporation Media foundation source reader

Patent Citations (3)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN101118777A (en) * 2007-08-22 2008-02-06 北京中星微电子有限公司 Playing method of multimedia container format file and indexes reading method thereof
CN101888540A (en) * 2009-05-13 2010-11-17 中兴通讯股份有限公司 Method and device for bearing transport streams TS in streaming media files
CN101552791A (en) * 2009-05-22 2009-10-07 腾讯科技(深圳)有限公司 Method and system for playing multiple media file

Also Published As

Publication number Publication date
CN102196268A (en) 2011-09-21

Similar Documents

Publication Publication Date Title
CN102196268B (en) Method, device and system for processing multimedia data
CN101198045B (en) Stream media digital watermarking system
US20060078288A1 (en) System and method for embedding multimedia editing information in a multimedia bitstream
US20060059509A1 (en) System and method for embedding commercial information in a video bitstream
CN1941144B (en) Data recording and reproducing apparatus and method therefor
CN106060628A (en) DirectShow-based method and system supporting variable coding
CN104853132A (en) Delay video recording method and system
CN105898320A (en) Panorama video decoding method and device and terminal equipment based on Android platform
US20180131981A1 (en) Electronic apparatus and operating method thereof
US20060056506A1 (en) System and method for embedding multimedia compression information in a multimedia bitstream
JP6145748B2 (en) Video playback device and video recording device
CN114710629A (en) Device for realizing ultrahigh-definition video format conversion and image-text superposition
CN101802803B (en) Method and apparatus for generating and reproducing media object-based metadata
CN106034252B (en) A kind of Streaming Media processing method and processing device
CN102955809A (en) Method and system for editing and playing media files
CN102047662A (en) Encoder
WO2007052413A1 (en) Video reproduction device, video reproduction method, video reproduction program, and recording medium containing the video reproduction program
TWI552573B (en) Coding of video and audio with initialization fragments
CN201813499U (en) Digital set top box with multimedia movie playing function
JP6440034B2 (en) Method and apparatus for reproducing video data
CN103391483A (en) Intelligent broadcasting monitoring system for blind watermarks of audios and videos
CN113965776B (en) Multi-mode audio and video format high-speed conversion method and system
CN205430517U (en) Video processing hardware platform
CN105049806A (en) Method for designing embedded video monitoring system
CN100384246C (en) Digital image decoding device and its method

Legal Events

Date Code Title Description
CB02 Change of applicant information

Address after: 611731 Chengdu high tech Zone, Sichuan, West Park, Qingshui River

Applicant after: HUAWEI DIGITAL TECHNOLOGIES (CHENG DU) Co.,Ltd.

Address before: 611731 Chengdu high tech Zone, Sichuan, West Park, Qingshui River

Applicant before: CHENGDU HUAWEI SYMANTEC TECHNOLOGIES Co.,Ltd.

COR Change of bibliographic data

Free format text: CORRECT: APPLICANT; FROM: CHENGDU HUAWEI SYMANTEC TECHNOLOGIES CO., LTD. TO: HUAWEI DIGITAL TECHNOLOGY (CHENGDU) CO., LTD.

TR01 Transfer of patent right

Effective date of registration: 20220831

Address after: No. 1899 Xiyuan Avenue, high tech Zone (West District), Chengdu, Sichuan 610041

Patentee after: Chengdu Huawei Technologies Co.,Ltd.

Address before: 611731 Qingshui River District, Chengdu hi tech Zone, Sichuan, China

Patentee before: HUAWEI DIGITAL TECHNOLOGIES (CHENG DU) Co.,Ltd.