CN103517027A - Video data processing method and electronic equipment - Google Patents

Video data processing method and electronic equipment Download PDF

Info

Publication number
CN103517027A
CN103517027A CN201210227019.0A CN201210227019A CN103517027A CN 103517027 A CN103517027 A CN 103517027A CN 201210227019 A CN201210227019 A CN 201210227019A CN 103517027 A CN103517027 A CN 103517027A
Authority
CN
China
Prior art keywords
byte
processor
frame
frame head
video data
Prior art date
Legal status (The legal status is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the status listed.)
Granted
Application number
CN201210227019.0A
Other languages
Chinese (zh)
Other versions
CN103517027B (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.)
Lenovo Beijing Ltd
Original Assignee
Lenovo Beijing 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 Lenovo Beijing Ltd filed Critical Lenovo Beijing Ltd
Priority to CN201210227019.0A priority Critical patent/CN103517027B/en
Publication of CN103517027A publication Critical patent/CN103517027A/en
Application granted granted Critical
Publication of CN103517027B publication Critical patent/CN103517027B/en
Active legal-status Critical Current
Anticipated expiration legal-status Critical

Links

Images

Abstract

The invention discloses a video data processing method and electronic equipment, and is applied to the field of electronic equipment application. The video data processing method and electronic equipment are used for framing video data flows. The method comprises the steps that a first processor obtains a coding and decoding type from a second processor end, and frame header identification information of the video data flows transmitted in a video calling process is defined in the coding and decoding type; the first processor carries out framing on the video data flows according to the frame header identification information; the first processor carries out decoding on framed data frames. The video data processing method and the electronic equipment are mainly used for decoding the video data flows.

Description

The processing method of video data and electronic equipment
Technical field
The present invention relates to electronic apparatus application field, relate in particular to a kind of processing method and electronic equipment of video data.
Background technology
Along with the development of 3G (Third Generation) Moblie technology (3rd-generation is called for short 3G) and popularizing of smart mobile phone, increasing people starts to experience the new business enjoyment that 3G brings, and video calling is exactly one of business wherein.In video calling technology, most crucial agreement is exactly 3G-H.324M protocol suite, and this protocol suite has defined the agreement of a series of audio data streams and transmission of streams of video data.
At present, the framework of video calling technology mainly contains two kinds: the one, 3G-H.324M protocol stack operates in baseband chip (Modem) side, and the 2nd, 3G-H.324M protocol stack operates in application process chip (AP) side.For 3G-H.324M protocol stack, operate in the framework of Modem side, AP side is obtained video data stream by device channels from Modem side, then to the broadcasting of decoding of this video data stream.
At AP side joint, receive in the process of Modem side-looking frequency data stream, AP side cannot be known the frame length of video data stream, therefore to there is no rule cutting apart of video data stream, the Frame being partitioned into is a part for a frame sometimes, sometimes be more or two frames or three frames of a frame, cause thus Frame decoding to make mistakes.
Summary of the invention
Embodiments of the invention provide a kind of processing method and electronic equipment of video data, can carry out correct frame to the video data stream receiving and cut apart, thereby guarantee to be correctly decoded Frame.
For achieving the above object, embodiments of the invention adopt following technical scheme:
A processing method for video data, is applied to electronic equipment, and described electronic equipment at least comprises first processor and the second processor, and described electronic equipment can carry out video calling, and described method comprises:
Described first processor obtains code/decode type from described the second processor end, has defined the frame head identification information of the video data stream of transmitting in described video call process in described code/decode type;
Described first processor carries out framing according to described frame head identification information to described video data stream;
The Frame of described first processor after to framing decoded.
, described electronic equipment comprises first processor and the second processor, described first processor comprises:
Acquiring unit, for obtaining code/decode type from described the second processor end, has defined the frame head identification information of the video data stream of transmitting in described video call process in described code/decode type;
Described acquiring unit is also for obtaining described video data stream;
Processing unit, carries out framing for the described video data stream of described acquiring unit being obtained according to described frame head identification information;
Decoding unit, for decoding to the Frame after described processing unit framing.
The processing method of the video data that the embodiment of the present invention provides and electronic equipment, can to video data stream, carry out correct frame according to the frame head identification information receiving cuts apart, thereby guarantee to be correctly decoded Frame, avoid occurring the discontinuous phenomenon that reduces user's experience that waits of mosaic or image.
Accompanying drawing explanation
In order to be illustrated more clearly in the embodiment of the present invention or technical scheme of the prior art, to the accompanying drawing of required use in embodiment or description of the Prior Art be briefly described below, apparently, accompanying drawing in the following describes is only some embodiments of the present invention, for those of ordinary skills, do not paying under the prerequisite of creative work, can also obtain according to these accompanying drawings other accompanying drawing.
Fig. 1 is the flow chart of the processing method of video data in the embodiment of the present invention;
Fig. 2 is the flow chart of the processing method of another video data in the embodiment of the present invention;
Fig. 3 is the schematic diagram of framing in the embodiment of the present invention;
Fig. 4 is the schematic diagram of another framing in the embodiment of the present invention;
Fig. 5 is the schematic diagram of another framing in the embodiment of the present invention;
Fig. 6 is the structural representation of electronic equipment in the embodiment of the present invention;
Fig. 7 is another structural representation of electronic equipment in the embodiment of the present invention;
Fig. 8 is the structural representation of electronic equipment in embodiment of the present invention application scenarios.
Embodiment
Below in conjunction with the accompanying drawing in the embodiment of the present invention, the technical scheme in the embodiment of the present invention is clearly and completely described, obviously, described embodiment is only the present invention's part embodiment, rather than whole embodiment.Embodiment based in the present invention, those of ordinary skills, not making the every other embodiment obtaining under creative work prerequisite, belong to the scope of protection of the invention.
The framework that the embodiment of the present invention operates in Modem side for 3G-H.324M protocol stack provides a kind of processing method of data message, can carry out correct framing to the video data stream of obtaining.As shown in Figure 1, described method comprises the steps:
101, first processor obtains code/decode type from the second processor end.
Before first processor obtains video data stream from the second processor end, first processor obtains code/decode type from the second processor end.In described code/decode type, defined the frame head identification information of the video data stream of transmitting in video call process.
102, first processor carries out framing according to frame head identification information to video data stream.
First processor obtains video data stream from the second processor end, and the frame head identification information of take in code/decode type is foundation, search in video data stream frame head byte, according to former and later two frame head bytes that find, obtain the frame length of a Frame, and this Frame carried out to framing.
103, the Frame of first processor after to framing decoded.
The Frame of first processor after to framing decoded, and then on display, plays.Because the Frame of decoding is the Frame of a complete frame length, so the phenomenon such as the image showing after decoding there will not be mosaic or picture is discontinuous.
In actual applications, the processing method of the video data that the embodiment of the present invention provides can be applied in video calling technology, described first processor can be processed (AP) chip for application, described the second processor can be baseband chip (Modem), described application process chip and described baseband chip can be placed within an electronic equipment video data stream is processed, and also can be placed in respectively within two electronic equipments, to carry out respectively function separately and have each other data exchange capability.In embodiments of the present invention, described application process chip and described baseband chip are processed video data stream based on 3G-H.324M protocol stack, H.263 accessible data type includes but are not limited to, MPEG4 and H264, meanwhile, in practical application processing video data stream can based on protocol stack be also not limited to 3G-H.324M.
In prior art, because 3G-H.324M protocol stack operates in baseband chip side, so application process chip cannot be known the frame length of each Frame, during decoding, cannot to Frame, decode according to frame length.Cause thus application process chip that a part for one frame or a few frame are decoded as a Frame, causing decoding to make mistakes affects display effect.Frequent mosaic and the discontinuous phenomenon of picture occurring is unacceptable for the higher video data service of the requirement of real-times such as Video chat.
The processing method of the video data that the embodiment of the present invention provides, can obtain the code/decode type of baseband chip side and therefrom obtain frame head identification information, according to the frame head byte in described frame head sign information searching video data stream, using this as framing according to the video data stream receiving is carried out to framing, then according to correct frame length, video data stream is decoded, the situation of avoiding occurring the reduction service quality such as mosaic (Quality of Service is called for short QoS) occurs.
Further, the embodiment of the present invention also provides a kind of processing method of video data, and described method is that as shown in Figure 2, described method comprises the steps: to the further expanding of method shown in Fig. 1
201, first processor obtains code/decode type from the second processor end.
This step is identical with the implementation of step 101 shown in Fig. 1, repeats no more herein.
In addition, first processor can also obtain decoding configuration information (Decoder Configuration Information is called for short DCI) when obtaining code/decode type, and described DCI is for the decoding of subsequent data frame.It should be noted that, in the decode procedure of MPEG4 type and H264 type, relate to described DCI, and H.263 in the decode procedure of type, do not relate to described DCI.For the data flow of MPEG4 type, described DCI comprises: virtual objects VO, virtual objects sequence VOS, video object layer VOL and object video group layer GVOP; For the data flow of H264 type, described DCI comprises: sequence parameter set SPS and picture parameter set PPS.
202, the standard frame leader that first processor obtains in frame head identification information is known.
In the frame head identification information that first processor defines from described code/decode type, obtain standard frame leader and know, described standard frame leader knowledge is used for identifying frame head byte.
203, first processor is identified at and in video data stream, travels through frame head sign according to standard frame head.
First processor obtains video data stream from the second processor end, and one by one each byte is traveled through according to the order of receiving video data stream, according to traversing result, obtains frame head byte.Concrete: first processor judges in byte whether carry frame head sign, if do not carry frame head sign, this byte is not frame head byte; If carried frame head sign, described frame head sign is known and compared with described standard frame leader, if described frame head sign is known different from described standard frame leader, this byte is not frame head byte, if described frame head sign is sensible same with described standard frame leader, this byte is frame head byte.
204, first processor is cut apart between frame head byte and postamble byte.
After finding frame head byte, first processor is cut apart between frame head byte and postamble byte, described postamble byte is the previous byte adjacent with described frame head byte, and at least one byte that described frame head byte arrives before an adjacent frame head byte before described frame head byte forms a Frame.It should be noted that, the start byte that described frame head byte is next Frame, described postamble byte is the last bit byte of a upper Frame.
As shown in Figure 3, first processor order travels through numbering ten bytes of 1 to 10, and wherein the frame head of ten bytes sign is followed successively by G1, S2, NF3, A1, H475, D8, E48, G23, A1 and KJ78.The standard frame head that first processor obtains is designated A1, and, when first processor traverses No. 4 bytes, the frame head of No. 4 bytes sign is sensible same with standard frame leader, and No. 4 bytes are frame head byte.First processor is cut apart between No. 3 bytes and No. 4 bytes, if No. 4 byte place Frames are designated to 1 number frame, and the postamble byte that No. 3 bytes are 0 number frame, No. 4 bytes are the frame head byte of 1 number frame.When first processor traverses No. 9 bytes, No. 9 byte is similarly frame head byte, and first processor is cut apart between No. 8 bytes and No. 9 bytes, and No. 8 bytes are the postamble byte of 1 number frame, and No. 9 bytes are the frame head byte of 2 number frames.Complete thus the framing to 1 number frame, then according to identical traversal and partitioning scheme, subsequent byte is proceeded to framing.
It should be noted that, the standard frame leader that dissimilar video data stream framing is used is known different, and the result of framing is also different thus.In addition, the length of Frame determines by carrying the byte position that standard frame leader knows, and the length of a plurality of Frames that same type video data stream framing goes out is strictly not identical.
205, the Frame of first processor after to framing decoded.
First processor is decoded to Frame according to the order of framing, and for example, for the framing situation shown in Fig. 3, first processor order is decoded to 0 number frame, 1 number frame, 2 number frames.Optionally, in to the decode procedure of Frame, first processor can be with the DCI information auxiliary decoder obtaining in step 201, and specific implementation is not done too much introduction.
Decoded Frame is converted to corresponding picture signal and is presented on screen, for example, for HDTV (High-Definition Television), can be converted to HDMI (High Definition Multimedia Interface) (High Definition Multimedia Interface is called for short HDMI) signal and be presented on the screen of HDTV (High-Definition Television).Because first processor is the decoding of Frame being carried out according to correct frame length, so there will not be the situations such as the discontinuous or mosaic of picture.And in the prior art, the screen of take demonstration 20 frames per second are example: the duration that every frame shows is 0.05s, starts to show that the initial time of the first frame is 0s if establish.If first processor is decoded the 4th frame and the 5th frame as a frame, screen can be during 0.15s to 0.20s (time that shows the 4th frame) the 4th frame and the 5th frame are shown as a frame, and during the 0.20s to 0.25s that should show the 5th frame, do not show any frame, cause thus during 0.15s to 0.20s, occurring mosaic, during 0.20s to 0.25s, occur the phenomenon that picture is stagnated.
Optionally, after byte of the every traversal of first processor, frame length counter can be added to 1, for example, when the numerical value of frame length counter reaches default frame length maximum (6), the byte of first processor last traversal before frame length counter the reaches default frame length maximum postamble byte that is as the criterion, a rear byte adjacent with the accurate postamble byte frame head byte that is as the criterion, first processor is cut apart between accurate frame head byte and accurate postamble byte, and at least one byte before accurate frame head byte forms a Frame.
Only there is dividing of statement in above-mentioned accurate frame head byte and aforementioned frame head byte, frame head byte is for know the frame head byte finding according to standard frame leader, and the frame head byte of accurate frame head byte for finding according to frame length counter, both essence is identical, is all frame head byte.Above-mentioned differentiation is only for ease of statement, and in practical application, both do not have different.
Owing to the reason such as losing in transmitting procedure, in video data stream byte, may not carry frame head sign, now need frame length maximum rule to carry out framing to video data stream.The length of each frame is frame length maximum (for example 6).Concrete, as shown in Figure 4, to number 15 bytes of 1 to 15 and all do not carry frame head sign, first processor is 0 at No. 1 byte time frame long counter of traversal.After 1 byte of the every traversal of first processor, just time frame long counter is added to 1.When first processor has traveled through after No. 6 bytes, frame length counter reaches maximum 6, the accurate postamble byte that No. 6 bytes are 1 number frame, and No. 7 bytes are the accurate frame head byte of 2 number frames.First processor is cut apart between No. 6 bytes and No. 7 bytes, and by frame length counter O reset.Then since No. 7 bytes, proceed traversal, form thus 2 number frames, 3 number frames, 4 number frames ...
Compare with the framing mode shown in Fig. 3, the Frame frame length that the framing mode shown in Fig. 4 is organized is out fixing identical, is the maximum of frame length counter.
Further, can also to video data stream, carry out framing in conjunction with the technical scheme shown in Fig. 3 and Fig. 4.As shown in Figure 5, first processor receives numbering 15 bytes of 1 to 15 successively, the frame head sign that wherein No. 2 bytes and No. 9 bytes are carried and standard frame leader sensible with, be all frame head byte, all the other bytes are not all carried frame head sign, and default frame length maximum is 6.It is frame head byte that first processor traverses No. 2 bytes, cuts apart and obtains after 0 number frame, by frame length counter O reset, then since No. 2 byte traversals (No. 2 byte is traversed 2 times) between No. 1 byte and No. 2 bytes.When first processor has traveled through after No. 7 bytes, frame length counter reaches maximum, and the accurate postamble byte of first processor using No. 7 bytes as 1 number frame cut apart between No. 7 bytes and No. 8 bytes, obtains 1 number frame, and by frame length counter O reset.Then since No. 8 byte traversals.When first processor traverses No. 9 bytes, find that No. 9 bytes are frame head byte, between No. 8 bytes and No. 9 bytes, cut apart, the 2 number frames that obtain only having No. 8 bytes to form, by that analogy it.
In the implementation shown in Fig. 5, when first processor is after cutting apart between postamble byte and frame head byte, and all need frame length counter O reset after cutting apart between accurate postamble byte and accurate frame head byte, need only first processor and cut apart, just by frame length counter O reset.Although do like this, can produce indivedual ultrashort Frames (for example 2 number frames), can on the basis of knowing framing according to standard frame leader, avoid occurring ultra-long data frame.The angle of experiencing from user, the effectiveness loss that the effectiveness loss that the caused picture of ultrashort Frame accelerates that user is caused stops user causing much smaller than the caused picture of ultra-long data frame, so can accept the appearance of indivedual ultrashort Frames in practical application.
Frame head sign packets of information described in the embodiment of the present invention is drawn together but is not limited to code/decode type.
The processing method of the video data that the embodiment of the present invention provides, can obtain the code/decode type of baseband chip side and therefrom obtain frame head identification information, according to the frame head byte in described frame head sign information searching video data stream, using this as framing according to the video data stream receiving is carried out to framing, then according to correct frame length, video data stream is decoded, avoid the situation that occurs the reduction QoS such as mosaic to occur.
In addition, while not carrying frame head sign in video data stream byte, the processing method of the video data that the embodiment of the present invention provides, can also carry out framing to video data stream byte according to frame length maximum rule, avoid occurring ultra-long data frame, can further improve the QoS quality of video playback.
The embodiment of the present invention provides a kind of electronic equipment, and as shown in Figure 6, described electronic equipment comprises: first processor 61 and the second processor 62, and wherein, described first processor 61 further comprises:
Acquiring unit 611, for obtaining code/decode type from described the second processor 62 ends.In described code/decode type, defined the frame head identification information of the video data stream of transmitting in video call process.
Described acquiring unit 611 is also for obtaining video data stream.
Processing unit 612, carries out framing for the video data stream of described acquiring unit 611 being obtained according to described frame head identification information.The frame head identification information that described processing unit 612 be take in code/decode type is foundation, search in video data stream frame head byte, according to former and later two frame head bytes that find, obtain the frame length of a Frame, and this Frame carried out to framing.
Decoding unit 613, for decoding to the Frame after described processing unit 612 framings.
Further, described acquiring unit 611 is specifically for obtaining described the second processor 62 and the described code/decode type that negotiation obtains according to 3G-H.324M protocol stack of making a start from described the second processor 62 ends.
Further, as shown in Figure 7, described processing unit 612 also comprises:
Obtain subelement 6121, for obtaining the standard frame leader of the frame head identification information that described acquiring unit 611 obtains, know.Described obtaining obtained standard frame leader in the frame head identification information that subelement 6121 defines from described code/decode type and known, and described standard frame leader is known and is used for identifying frame head byte.
Traversal subelement 6122, travels through frame head sign for the video data stream of obtaining at described acquiring unit 611.
Judgment sub-unit 6123, for judge frame head sign that described traversal subelement 6122 traverses with described in whether obtain the standard frame leader knowledge that subelement 6121 gets identical.
Described traversal subelement 6122 travels through each byte one by one according to the order of receiving video data stream, and described judgment sub-unit 6123 obtains frame head byte according to traversing result.Concrete, described judgment sub-unit 6123 judges in byte whether carry frame head sign, if do not carry frame head sign, this byte is not frame head byte; If carried frame head sign, described frame head sign is known and compared with described standard frame leader, if described frame head sign is known different from described standard frame leader, this byte is not frame head byte, if described frame head sign is sensible same with described standard frame leader, this byte is frame head byte.
Cut apart subelement 6124, for the frame head sign that traverses when the described traversal subelement 6122 of described judgment sub-unit 6123 judgement with described in obtain the sensible while of standard frame leader that subelement 6121 obtains, between frame head byte and postamble byte, cut apart.
After finding frame head byte, the described subelement 6124 of cutting apart is cut apart between frame head byte and postamble byte, described frame head byte for the frame head sign that traverses when the described traversal subelement 6122 of described judgment sub-unit 6123 judgement with described in obtain the sensible while of standard frame leader that subelement 6121 obtains, the byte of described traversal subelement 6122 current traversals.Described postamble byte is the previous byte adjacent with described frame head byte, and at least one byte that described frame head byte arrives before an adjacent frame head byte before described frame head byte forms a Frame.It should be noted that, the start byte that described frame head byte is next Frame, described postamble byte is the last bit byte of a upper Frame.
Count sub-element 6125, for after byte of the every traversal of described traversal subelement 6122, adds one by frame length counter.
Described cut apart subelement 6124 also for, when the numerical value of described frame length counter reaches default frame length maximum, between accurate frame head byte and accurate postamble byte, cut apart.The byte of described traversal subelement 6122 last traversal before frame length counter the reaches default frame length maximum postamble byte that is as the criterion, a rear byte adjacent with the accurate postamble byte frame head byte that is as the criterion, the described subelement 6124 of cutting apart is cut apart between accurate frame head byte and accurate postamble byte, and at least one byte before accurate frame head byte forms a Frame.
Further, described count sub-element 6125 also for:
When the described subelement 6124 of cutting apart is after cutting apart between frame head byte and postamble byte, or, when the described subelement 6124 of cutting apart is after cutting apart between accurate frame head byte and accurate postamble byte, by frame length counter O reset.
Further, described acquiring unit 611 is also for obtaining decoding configuration information DCI from described the second processor 62 ends, described DCI comprises virtual objects VO, virtual objects sequence VOS, video object layer VOL and object video group layer GVOP, or described DCI comprises sequence parameter set SPS and picture parameter set PPS, described DCI decodes for 613 pairs of described Frames of described decoding unit.
The electronic equipment that the embodiment of the present invention provides, can obtain the code/decode type of baseband chip side and therefrom obtain frame head identification information, according to the frame head byte in described frame head sign information searching video data stream, using this as framing according to the video data stream receiving is carried out to framing, then according to correct frame length, video data stream is decoded, avoid the situation that occurs the reduction QoS such as mosaic to occur.
In addition, while not carrying frame head sign in video data stream byte, the electronic equipment that the embodiment of the present invention provides, can also carry out framing to video data stream byte according to frame length maximum rule, avoid occurring ultra-long data frame, can further improve the QoS quality of video playback.
The electronic equipment that the embodiment of the present invention provides, include but are not limited to mobile phone and the computer with video data stream processing and Presentation Function, can be applied in the video calling technology based on 3G-H.324M protocol stack, can realize the embodiment of the method shown in any width in Fig. 1 to Fig. 5.
In an application scenarios of the embodiment of the present invention, as shown in Figure 8, electronic equipment comprises application process chip 81 and baseband chip 82, described application process chip 81 has the function of first processor 61 shown in Fig. 6 or Fig. 7, and described baseband chip 82 has the function of the second processor 62 shown in Fig. 6 or Fig. 7.
Described baseband chip 82 comprises:
Protocol stack memory 821, for storing 3G-H.324M protocol stack;
The data storage 822 being connected with described protocol stack memory 821, for sending video data stream to described application process chip 81;
The control storage 823 being connected with described protocol stack memory 821, for sending code/decode type and/or DCI information to described application process chip 81.
Described application process chip 81 comprises:
The data sink 811 (being equivalent to acquiring unit 611) being connected with data storage 822 described in described baseband chip 82, the video data stream sending for receiving described data storage 822;
The control receiver 812 (being equivalent to acquiring unit 611) being connected with control storage 823 described in described baseband chip 82, the code/decode type and/or the DCI information that for receiving described control storage 823, send;
The resolver 813 being connected with described control receiver 812, the code/decode type and/or the DCI information that for resolving described control receiver 812, receive;
The framer 814 (being equivalent to processing unit 612) being connected with described data sink 811 and described resolver 813 respectively, knows for the standard frame leader parsing according to described resolver 813 video data stream that described data receiver unit 811 is received and travels through and cut apart;
The decoder 815 (being equivalent to decoding unit 613) being connected with described framer 814 and described resolver 813 respectively, the Frame for the DCI information of resolving according to described resolver 813 after to described framer 814 framings is decoded;
The display 816 being connected with described decoder 815, for showing the decoded data frame signal of described decoder 815.
In practical application, the structure of electronic equipment is not limited to the structure shown in Fig. 8.
Those skilled in the art can be well understood to, for convenience and simplicity of description, only the division with above-mentioned each functional module is illustrated, in practical application, can above-mentioned functions be distributed and by different functional modules, completed as required, the internal structure that is about to device is divided into different functional modules, to complete all or part of function described above.The system of foregoing description, the specific works process of device and unit, can, with reference to the corresponding process in preceding method embodiment, not repeat them here.
In the several embodiment that provide in the application, should be understood that, disclosed system, apparatus and method, can realize by another way.For example, device embodiment described above is only schematic, for example, the division of described module or unit, be only that a kind of logic function is divided, during actual realization, can have other dividing mode, for example a plurality of unit or assembly can in conjunction with or can be integrated into another system, or some features can ignore, or do not carry out.Another point, shown or discussed coupling each other or direct-coupling or communication connection can be by some interfaces, indirect coupling or the communication connection of device or unit can be electrically, machinery or other form.
The described unit as separating component explanation can or can not be also physically to separate, and the parts that show as unit can be or can not be also physical locations, can be positioned at a place, or also can be distributed in a plurality of network element.Can select according to the actual needs some or all of unit wherein to realize the object of the present embodiment scheme.
In addition, each functional unit in each embodiment of the present invention can be integrated in a processing unit, can be also that the independent physics of unit exists, and also can be integrated in Yi Ge unit two or more unit.Above-mentioned integrated unit both can adopt the form of hardware to realize, and also can adopt the form of SFU software functional unit to realize.
If the form of SFU software functional unit of usining described integrated unit realizes and during as production marketing independently or use, can be stored in a computer read/write memory medium.Understanding based on such, the all or part of of the part that technical scheme of the present invention contributes to prior art in essence in other words or this technical scheme can embody with the form of software product, this computer software product is stored in a storage medium, comprise that some instructions are with so that a computer equipment (can be personal computer, server, or the network equipment etc.) or processor (processor) carry out all or part of step of method described in each embodiment of the present invention.And aforesaid storage medium comprises: USB flash disk, portable hard drive, read-only memory (ROM, Read-Only Memory), the various media that can be program code stored such as random access memory (RAM, Random Access Memory), magnetic disc or CD.
The above; be only the specific embodiment of the present invention, but protection scope of the present invention is not limited to this, is anyly familiar with those skilled in the art in the technical scope that the present invention discloses; can expect easily changing or replacing, within all should being encompassed in protection scope of the present invention.Therefore, protection scope of the present invention should be as the criterion with the protection range of described claim.

Claims (12)

1. a processing method for video data, is applied to electronic equipment, and described electronic equipment at least comprises first processor and the second processor, and described electronic equipment can carry out video calling, it is characterized in that, described method comprises:
Described first processor obtains code/decode type from described the second processor end, has defined the frame head identification information of the video data stream of transmitting in described video call process in described code/decode type;
Described first processor carries out framing according to described frame head identification information to described video data stream;
The Frame of described first processor after to framing decoded.
2. method according to claim 1, is characterized in that, described first processor obtains code/decode type from described the second processor end, comprising:
Described first processor obtains described the second processor and the described code/decode type that negotiation obtains according to 3G-H.324M protocol stack of making a start from described the second processor end.
3. method according to claim 2, is characterized in that, described first processor carries out framing according to described frame head identification information to described video data stream, comprising:
The standard frame leader that described first processor obtains in described frame head identification information is known;
Described first processor travels through frame head sign in described video data stream;
When frame head sign and the described sensible while of standard frame leader that described first processor traverses, the byte at described frame head sign place is frame head byte, the previous byte adjacent with described frame head byte is postamble byte, described first processor is cut apart between described frame head byte and described postamble byte, and at least one byte before described frame head byte forms a Frame.
4. method according to claim 3, is characterized in that, while traveling through frame head sign in described video data stream at described first processor, described method further comprises:
Described first processor, after byte of every traversal, adds one by frame length counter;
When the numerical value of described frame length counter reaches default frame length maximum, the byte of described first processor last traversal before described frame length counter the reaches described default frame length maximum postamble byte that is as the criterion, a rear byte adjacent with the described accurate postamble byte frame head byte that is as the criterion, described first processor is cut apart between described accurate frame head byte and described accurate postamble byte, and at least one byte before described accurate frame head byte forms a Frame.
5. method according to claim 4, is characterized in that, while traveling through frame head sign in described video data stream at described first processor, described method further comprises:
When described first processor is after cutting apart between described frame head byte and described postamble byte, or, when described first processor is after cutting apart between described accurate frame head byte and described accurate postamble byte, described first processor is by described frame length counter O reset.
6. according to the method described in any one in claim 1 to 5, it is characterized in that, at described first processor, from described the second processor end, obtain the process of code/decode type, described method further comprises:
Described first processor obtains decoding configuration information DCI from described the second processor end, described DCI comprises virtual objects VO, virtual objects sequence VOS, video object layer VOL and object video group layer GVOP, or described DCI comprises sequence parameter set SPS and picture parameter set PPS, described DCI decodes to described Frame for described application chip.
7. an electronic equipment, described electronic equipment comprises first processor and the second processor, it is characterized in that, described first processor comprises:
Acquiring unit, for obtaining code/decode type from described the second processor end, has defined the frame head identification information of the video data stream of transmitting in described video call process in described code/decode type;
Described acquiring unit is also for obtaining described video data stream;
Processing unit, carries out framing for the described video data stream of described acquiring unit being obtained according to described frame head identification information;
Decoding unit, for decoding to the Frame after described processing unit framing.
8. first processor according to claim 7, is characterized in that, described acquiring unit is specifically for obtaining described the second processor and the described code/decode type that negotiation obtains according to 3G-H.324M protocol stack of making a start from described the second processor end.
9. first processor according to claim 8, is characterized in that, described processing unit comprises:
Obtain subelement, for obtaining the standard frame leader of the described frame head identification information that described acquiring unit obtains, know;
Traversal subelement, travels through frame head sign for the described video data stream of obtaining at described acquiring unit;
Judgment sub-unit, for judge frame head sign that described traversal subelement traverses with described in whether obtain the described standard frame leader knowledge that subelement gets identical;
Cut apart subelement, for when described judgment sub-unit, judge frame head sign that described traversal subelement traverses with described in obtain the described sensible while of standard frame leader that subelement obtains, between frame head byte and postamble byte, cut apart, wherein, the byte at described frame head sign place is described frame head byte, the previous byte adjacent with described frame head byte is described postamble byte, and at least one byte before described frame head byte forms a Frame.
10. first processor according to claim 9, is characterized in that, described processor also comprises:
Count sub-element, for after byte of the every traversal of described traversal subelement, adds one by frame length counter;
Described cut apart subelement also for, when the numerical value of described frame length counter reaches default frame length maximum, between accurate frame head byte and accurate postamble byte, cut apart, it is described accurate postamble byte that described frame length counter reaches the byte finally traveling through before described default frame length maximum, a rear byte adjacent with described accurate postamble byte is described accurate frame head byte, and at least one byte before described accurate frame head byte forms a Frame.
11. first processors according to claim 10, is characterized in that, described count sub-element also for:
When the described subelement of cutting apart is after cutting apart between described frame head byte and described postamble byte, or, when the described subelement of cutting apart is after cutting apart between described accurate frame head byte and described accurate postamble byte, by described frame length counter O reset.
12. according to the first processor described in any one in claim 7 to 11, it is characterized in that, described acquiring unit is also for obtaining decoding configuration information DCI from described the second processor end, described DCI comprises virtual objects VO, virtual objects sequence VOS, video object layer VOL and object video group layer GVOP, or described DCI comprises sequence parameter set SPS and picture parameter set PPS, described DCI decodes to described Frame for described decoding unit.
CN201210227019.0A 2012-06-29 2012-06-29 Video data processing method and electronic equipment Active CN103517027B (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN201210227019.0A CN103517027B (en) 2012-06-29 2012-06-29 Video data processing method and electronic equipment

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN201210227019.0A CN103517027B (en) 2012-06-29 2012-06-29 Video data processing method and electronic equipment

Publications (2)

Publication Number Publication Date
CN103517027A true CN103517027A (en) 2014-01-15
CN103517027B CN103517027B (en) 2017-05-24

Family

ID=49898955

Family Applications (1)

Application Number Title Priority Date Filing Date
CN201210227019.0A Active CN103517027B (en) 2012-06-29 2012-06-29 Video data processing method and electronic equipment

Country Status (1)

Country Link
CN (1) CN103517027B (en)

Cited By (3)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN104883623A (en) * 2015-04-30 2015-09-02 北京小鸟看看科技有限公司 Video control method and circuit for head-mounted display
CN114338828A (en) * 2020-09-30 2022-04-12 中国电子科技集团公司第五十四研究所 Communication method, communication equipment and computer storage medium
CN115334180A (en) * 2022-10-11 2022-11-11 成都利普芯微电子有限公司 Data transmission circuit, constant current drive chip and display system

Citations (4)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN1780197A (en) * 2004-11-25 2006-05-31 中国传媒大学信息工程学院 Self-adaptive mixed channel coding-decoder and method thereof
CN101986388A (en) * 2010-09-06 2011-03-16 建荣集成电路科技(珠海)有限公司 MP3 intelligent error detection method
CN102301730A (en) * 2011-07-18 2011-12-28 华为技术有限公司 Method, device and system for transmitting and processing multichannel AV
CN102510323A (en) * 2011-09-22 2012-06-20 航天科工惯性技术有限公司 Frame identifying method for serial data

Patent Citations (4)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN1780197A (en) * 2004-11-25 2006-05-31 中国传媒大学信息工程学院 Self-adaptive mixed channel coding-decoder and method thereof
CN101986388A (en) * 2010-09-06 2011-03-16 建荣集成电路科技(珠海)有限公司 MP3 intelligent error detection method
CN102301730A (en) * 2011-07-18 2011-12-28 华为技术有限公司 Method, device and system for transmitting and processing multichannel AV
CN102510323A (en) * 2011-09-22 2012-06-20 航天科工惯性技术有限公司 Frame identifying method for serial data

Cited By (5)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN104883623A (en) * 2015-04-30 2015-09-02 北京小鸟看看科技有限公司 Video control method and circuit for head-mounted display
CN104883623B (en) * 2015-04-30 2018-12-18 北京小鸟看看科技有限公司 A kind of head-mounted display video control method and circuit
CN114338828A (en) * 2020-09-30 2022-04-12 中国电子科技集团公司第五十四研究所 Communication method, communication equipment and computer storage medium
CN115334180A (en) * 2022-10-11 2022-11-11 成都利普芯微电子有限公司 Data transmission circuit, constant current drive chip and display system
CN115334180B (en) * 2022-10-11 2022-12-20 成都利普芯微电子有限公司 Data transmission circuit, constant current drive chip and display system

Also Published As

Publication number Publication date
CN103517027B (en) 2017-05-24

Similar Documents

Publication Publication Date Title
CN101938626B (en) Video session terminal, system, and method
CN104702976A (en) Video playing method and equipment
KR101614862B1 (en) Transmitting and receiving method of multimedia video data and corresponding device
CN1381970A (en) Method and system for allocating medium data at different network
CN104780422A (en) Streaming media playing method and streaming media player
CN103327021B (en) Method, devices and system of multi-device interaction
US10021433B1 (en) Video-production system with social-media features
CN102088631B (en) Live and demand broadcast method of digital television (TV) programs as well as related device and system
EP4258621A1 (en) Data processing method and apparatus, and communication node and storage medium
CN103517027A (en) Video data processing method and electronic equipment
CN113259779B (en) Video processing method, device, equipment and storage medium
CN103200458A (en) Television program message display method and user equipment
CN104184980A (en) Data processing method and electronic device
US20160373685A1 (en) Video Controller, Playback Controller and Display System
CN110659080B (en) Page display method and device, electronic equipment and storage medium
CN104506920A (en) Method and device for playing omnimedia data information
CN104185033A (en) Method, device and system for processing multiple images of television
US20230291940A1 (en) Systems, apparatus and methods to enhance delivery and presentation of content
CN108235082A (en) A kind of vehicle-mounted audio and video projection system and method
CN115278332A (en) Display device, playing device and data transmission method
WO2021093882A1 (en) Video meeting method, meeting terminal, server, and storage medium
KR101671311B1 (en) Cloud stream service system, apparatus and cloud streaming service method thereof
EP3637734B1 (en) Video data display method and device
CN105578287A (en) Transport method and device for high-rate transport stream and high-definition digital television
CN105812922A (en) Multimedia file data processing method, system, player and client

Legal Events

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