CN104796765A - Method and device for extracting SPS (standard positioning services) and PPS (precise positioning services) from H264 frames - Google Patents

Method and device for extracting SPS (standard positioning services) and PPS (precise positioning services) from H264 frames Download PDF

Info

Publication number
CN104796765A
CN104796765A CN201510197273.4A CN201510197273A CN104796765A CN 104796765 A CN104796765 A CN 104796765A CN 201510197273 A CN201510197273 A CN 201510197273A CN 104796765 A CN104796765 A CN 104796765A
Authority
CN
China
Prior art keywords
nal unit
sps
nal
pps
acquisition module
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.)
Pending
Application number
CN201510197273.4A
Other languages
Chinese (zh)
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.)
TVM Beijing Education Technology Co Ltd
Original Assignee
TVM Beijing Education Technology 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 TVM Beijing Education Technology Co Ltd filed Critical TVM Beijing Education Technology Co Ltd
Priority to CN201510197273.4A priority Critical patent/CN104796765A/en
Publication of CN104796765A publication Critical patent/CN104796765A/en
Pending legal-status Critical Current

Links

Classifications

    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04NPICTORIAL COMMUNICATION, e.g. TELEVISION
    • H04N21/00Selective content distribution, e.g. interactive television or video on demand [VOD]
    • H04N21/40Client devices specifically adapted for the reception of or interaction with content, e.g. set-top-box [STB]; Operations thereof
    • H04N21/43Processing of content or additional data, e.g. demultiplexing additional data from a digital video stream; Elementary client operations, e.g. monitoring of home network or synchronising decoder's clock; Client middleware
    • H04N21/44Processing of video elementary streams, e.g. splicing a video clip retrieved from local storage with an incoming video stream, rendering scenes according to MPEG-4 scene graphs
    • H04N21/44008Processing of video elementary streams, e.g. splicing a video clip retrieved from local storage with an incoming video stream, rendering scenes according to MPEG-4 scene graphs involving operations for analysing video streams, e.g. detecting features or characteristics in the video stream
    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04NPICTORIAL COMMUNICATION, e.g. TELEVISION
    • H04N21/00Selective content distribution, e.g. interactive television or video on demand [VOD]
    • H04N21/80Generation or processing of content or additional data by content creator independently of the distribution process; Content per se
    • H04N21/83Generation or processing of protective or descriptive data associated with content; Content structuring
    • H04N21/84Generation or processing of descriptive data, e.g. content descriptors

Abstract

The invention discloses a method and a device for extracting SPS (standard positioning services) and PPS (precise positioning services) from H264 frames and aims to transmit video description information to a remote teaching opposite terminal before video transmission, thus the terminal can normally play a video. The method includes: from the start of the H264 frames, determining the number N of NAL (network abstract layer) units and the start of each NAL unit according to synchronous codes; according to the start of each NAL unit, traversing NAL headers of the NAL units; according to the information of the NAL headers of the NAL units, locating the NAL units in an SPS (sequence parameter set) and a PPS (picture parameter set); according to the positions of the NAL units in the SPS and the PPS, storing SPS data and PPS data in a first buffer and a second buffer, respectively. The method allows the video from the opposite terminal to be normally decoded and played during remote teaching.

Description

Method and the device of SPS and PPS is extracted in a kind of H264 frame
Technical field
The present invention relates to video technique field, particularly in a kind of H264 frame, extract method and the device of SPS and PPS.
Background technology
Along with the development of Internet technology, internet, applications gets more and more, and form is also more and more diversified.Because remote teaching has the features such as convenient and swift, low cost, be more and more subject to liking of numerous teachers and students, by the Internet, student can obtain resources material easily and learn.Interactive in order to improve remote teaching, between current teachers and students, the normal video that adopts exchanges on the internet with voice mode.After student side and teacher side connect, student side opens camera recorded video, and is uploaded to teacher side in real time.But owing to being direct transmitting video-frequency flow, instead of video file, so there is no file header, just there is no the descriptor of video yet.Teacher side cannot be decoded to video when not having descriptor and play.Therefore in order to make teacher side decode to video and to play, must before transmission video, video presentation information is sent to teacher side, to make the more enough file headers according to this video presentation information generating video of teacher side, thus reaches the object of normal play video.In addition because H264 has very high data compression ratio, in network transmission process want bandwidth less, therefore be widely used in Network Video Transmission.
In sum, be badly in need of a kind of method extracting video presentation information from H264 frame, before transmission video, video presentation information sent to remote teaching opposite end, thus reach the object of opposite end energy normal play video.
Summary of the invention
The invention provides the method and the device that extract SPS and PPS in a kind of H264 frame, in order to before transmission video, video presentation information is sent to remote teaching opposite end, thus realize the object of opposite end energy normal play video.
The invention provides a kind of method extracting SPS and PPS in H264 frame, comprising:
From H264 frame starting position, according to number N and each NAL unit starting position of synchronous code determination NAL unit;
According to each NAL unit starting position, travel through the NAL head of N number of NAL unit;
According to the NAL header of NAL unit, the position of the NAL unit of positioning sequence parameter set SPS and picture parameter set PPS;
According to the position of the NAL unit of SPS and PPS, SPS and PPS data are kept at respectively in the first buffer memory, the second buffer memory.
Some beneficial effects of the embodiment of the present invention can comprise:
According to H264 frame structure, descriptor SPS and the PPS data of video are extracted from this frame, and before transmission of video flow data to the opposite end of remote teaching, this video presentation information is sent to opposite end, the video stream data received according to the video presentation information received, thus can be play normally in opposite end.
In one embodiment, described synchronous code is the 0x00 00 00 01 of 4 bytes.
In this embodiment, by simply searching the synchronous code 0,x00 00 00 01 in H264 frame, namely can navigate to the positional information of each NAL unit, then according to the NAL header of NAL unit, obtain SPS and PPS data and preserve, the opposite end giving remote teaching to be transmitted.
In one embodiment, the described NAL header according to NAL unit, the method of the position of the NAL unit of location SPS is: judge whether current NAL head is 0x67, is, this NAL unit is the NAL unit of SPS, and the position of recording this NAL unit is the position of the NAL unit of SPS; Otherwise not the NAL unit of SPS.
In this embodiment, because the NAL head of the NAL unit of SPS is 0x67, therefore, if the NAL head of NAL unit is 0x67, then this NAL unit is the NAL unit of SPS.Thus reach the object obtaining SPS data.
In one embodiment, the described NAL header according to NAL unit, the method of the position of the NAL unit of location PPS is: judge whether current NAL head is 0x68, is, this NAL unit is the NAL unit of PPS, and the position of recording this NAL unit is the position of the NAL unit of PPS; Otherwise not the NAL unit of PPS.
In this embodiment, because the NAL head of the NAL unit of PPS is 0x68, therefore, if the NAL head of NAL unit is 0x68, then this NAL unit is the NAL unit of PPS.Thus reach the object obtaining PPS data.
The present invention also provides the device extracting SPS and PPS in a kind of H264 frame, comprising: NAL unit data obtaining module, NAL head acquisition module, position acquisition module and preservation module;
Described NAL unit data obtaining module, for from H264 frame starting position, according to number N and each NAL unit starting position of synchronous code determination NAL unit, and sends to described NAL head acquisition module by information;
Described NAL head acquisition module, for receiving the number N of the NAL unit that described NAL unit data obtaining module is sent and each NAL unit starting position, and according to each NAL unit starting position, travel through the NAL head of N number of NAL unit, and NAL header is sent to described position acquisition module;
Described position acquisition module, for receiving the NAL header that described NAL head acquisition module is sent, the position of the NAL unit of location SPS and PPS, and this information is sent to described preservation module;
SPS and PPS data, for the position of the NAL unit according to SPS and PPS, are kept in the first buffer memory, the second buffer memory by described preservation module respectively.
In one embodiment, described position acquisition module comprises SPS position acquisition module and PPS position acquisition module;
Described SPS position acquisition module, receives the NAL header that described NAL head acquisition module is sent, the position of the NAL unit of location SPS, and this position is sent to described preservation module;
Described PPS position acquisition module, receives the NAL header that described NAL head acquisition module is sent, the position of the NAL unit of location PPS, and this position is sent to described preservation module.
In one embodiment, described SPS position acquisition module comprises SPS identifying unit and SPS position record cell;
Described SPS identifying unit, for judging whether current NAL head is 0x67, is, judges the NAL unit of this NAL unit as SPS, and sends the first notification message to SPS position record cell, otherwise be not the NAL unit of SPS;
Described SPS position record cell, for according to described first notification message, is recorded as the position of the NAL unit of SPS by the position of current NAL unit, and the position of the NAL unit of SPS is sent to described preservation module.
In one embodiment, described PPS position acquisition module comprises PPS identifying unit and PPS position record cell;
Described PPS identifying unit, for judging whether current NAL head is 0x68, is, judges the NAL unit of this NAL unit as PPS, and sends the second notification message to SPS position record cell, otherwise be not the NAL unit of PPS;
Described PPS position record cell, for according to described second notification message, is recorded as the position of the NAL unit of PPS by the position of current NAL unit, and the position of the NAL unit of PPS is sent to described preservation module.
Other features and advantages of the present invention will be set forth in the following description, and, partly become apparent from specification, or understand by implementing the present invention.Object of the present invention and other advantages realize by structure specifically noted in write specification, claims and accompanying drawing and obtain.
Below by drawings and Examples, technical scheme of the present invention is described in further detail.
Accompanying drawing explanation
Accompanying drawing is used to provide a further understanding of the present invention, and forms a part for specification, together with embodiments of the present invention for explaining the present invention, is not construed as limiting the invention.In the accompanying drawings:
Fig. 1 is the flow chart extracting the method for SPS and PPS in the embodiment of the present invention in a kind of H264 frame;
Fig. 2 extracts the flow chart of the method for SPS in a kind of H264 frame for providing in the embodiment of the present invention one;
Fig. 3 extracts the flow chart of the method for PPS in a kind of H264 frame for providing in the embodiment of the present invention two;
Fig. 4 is the structural representation extracting the device of SPS and PPS in the embodiment of the present invention one in a kind of H264 frame;
Fig. 5 is the structural representation of position acquisition module in the embodiment of the present invention;
Fig. 6 is the structural representation of SPS position acquisition module in the embodiment of the present invention;
Fig. 7 is the structural representation of PPS position acquisition module in the embodiment of the present invention.
Embodiment
Below in conjunction with accompanying drawing, the preferred embodiments of the present invention are described, should be appreciated that preferred embodiment described herein is only for instruction and explanation of the present invention, is not intended to limit the present invention.
Fig. 1 is the flow chart extracting the method for SPS and PPS in the embodiment of the present invention in a kind of H264 frame.As shown in Figure 1, the method comprises the following steps S101-S104:
Step S101: from H264 frame starting position, according to number N and each NAL unit starting position of synchronous code determination NAL unit.
The function of H264 is divided into two-layer: video coding layer (VCL, Video Coding Layer) and network abstraction layer (NAL, Network Abstraction Layer).The output of VCL data and coded treatment, it represents by the video data sequences after compressed encoding.Before VCL transfer of data or storage, the VCL data of these codings, elder generation is mapped or encapsulate in NAL unit.
Each NAL unit comprises a raw byte sequence load (RBSP, Raw Byte SequencePayload), one group of NAL header corresponding to Video coding.NAL header (byte) defines the type of RBSP unit, and the remainder of NAL unit is RBSP data.The encoded video sequence of H264 comprises a series of NAL unit.But owing to not providing its length information in NAL unit, actual transmission, storage system need to increase the demarcation that extra head (synchronous code) realizes each NAL unit.Thus can according to the number N of synchronous code determination NAL unit and each NAL unit starting position.
Step S102: according to each NAL unit starting position, travels through the NAL head of N number of NAL unit.
Wherein, NAL header defines the type of RBSP unit, occupies the length of a byte, can be expressed as follows: 0AABBBBB according to bit from high extremely low arrangement.Wherein, AA is for representing whether this NAL can abandon (with or without by NAL reference thereafter), 00b represents does not have reference role, discardable, as B slice, SEI etc., non-zero---comprises 01b, 10b, 11b---and represents that this NAL is not discardable, as SPS, PPS, I Slice, P Slice etc.
At present, the value of conventional NAL head is as follows:
0x67(SPS);0x68(PPS);0x65(IDR);0x61(non-IDR Slice);0x01(B Slice);0x06(SEI);0x09(AU Delimiter)。
Step S103: according to the NAL header of NAL unit, the position of the NAL unit of positioning sequence parameter set SPS and picture parameter set PPS.
Wherein, the parameter that what positioning sequence parameter set SPS comprised is for a continuous programming code video sequence, as the constraint of identifier seq_parameter_set_id, frame number and POC, reference frame number, decoded picture size and frame field coding mode select mark etc.
What picture parameter set PPS was corresponding is certain piece image or a few width image in a sequence, and its parameter is as identifier pic_parameter_set_id, optional seq_parameter_set_id, entropy code model selection mark, sheet group number, initial quantization parameters and deblocking filtering coefficient adjustment mark etc.
The NAL head corresponding according to SPS is the NAL head that 0x67 and PPS is corresponding is 0x68, can locate the position of the NAL unit of the two.
SPS and PPS data are kept in the first buffer memory, the second buffer memory by step S104: according to the position of the NAL unit of SPS and PPS respectively.
The technical scheme that the embodiment of the present invention provides, according to H264 frame structure, descriptor SPS and the PPS data of video are extracted from this frame, and before transmission of video flow data to the opposite end of remote teaching, this video presentation information is sent to opposite end, the video stream data received according to the video presentation information received, thus can be play normally in opposite end.
In one embodiment, synchronous code is the 0x00 00 00 01 of 4 bytes.
Wherein, the syntax format of what avi file and MPEG TS broadcasting stream were taked is byte stream, namely before NAL unit, increase the synchronous code of 0,x00 00 00 01, then one that reads from avi file or MPEG TS PES wrap H.264 frame of video exist with form below:
00 00 00 01 06...00 00 00 01 67...00 00 00 01 68...00 00 00 01 65...
Wherein, 00 00 00 01 06... are SEI information, and 00 00 00 01 67... are SPS, and 00 00 00 01 68... are PPS, and 00 00 00 01 65... are IDR Slice.
The technical scheme that the embodiment of the present invention provides, by simply searching the synchronous code 0x0,000 00 01 in H264 frame, namely can navigate to the positional information of each NAL unit, then according to the NAL header of NAL unit, obtain SPS and PPS data and preserve, the opposite end giving remote teaching to be transmitted.
Embodiment one
Fig. 2 extracts the flow chart of the method for SPS in a kind of H264 frame for providing in the embodiment of the present invention one, comprising:
Step S201: from H264 frame starting position, according to number N and each NAL unit starting position of synchronous code determination NAL unit;
Step S202: according to each NAL unit starting position, travels through the NAL head of N number of NAL unit;
Step S203: judge whether current NAL head is 0x67, is, this NAL unit is the NAL unit of SPS, and the position of recording this NAL unit is the position of the NAL unit of SPS; Otherwise not the NAL unit of SPS;
SPS data are kept in the first buffer memory by step S204: according to the position of the NAL unit of SPS.
The technical scheme that the embodiment of the present invention one provides, because the NAL head of the NAL unit of SPS is 0x67, therefore, if the NAL head of NAL unit is 0x67, then this NAL unit is the NAL unit of SPS.Thus reach the object obtaining SPS data.
Embodiment two
If Fig. 3 is for providing the flow chart extracting the method for PPS in a kind of H264 frame in the embodiment of the present invention two, comprising:
Step S301: from H264 frame starting position, according to number N and each NAL unit starting position of synchronous code determination NAL unit;
Step S302: according to each NAL unit starting position, travels through the NAL head of N number of NAL unit;
Step S303: judge whether current NAL head is 0x68, is, this NAL unit is the NAL unit of PPS, and the position of recording this NAL unit is the position of the NAL unit of PPS; Otherwise not the NAL unit of PPS;
PPS data are kept in the second buffer memory by step S304: according to the position of the NAL unit of PPS.
The technical scheme that the embodiment of the present invention two provides, because the NAL head of the NAL unit of PPS is 0x68, therefore, if the NAL head of NAL unit is 0x68, then this NAL unit is the NAL unit of PPS.Thus reach the object obtaining PPS data.
To sum up the false code of embodiment one and embodiment two is as follows:
Corresponding to the method extracting SPS and PPS in a kind of H264 frame that above-described embodiment provides, the embodiment of the present invention also provides the device extracting SPS and PPS in a kind of H264 frame, as shown in Figure 4, comprising: NAL unit data obtaining module 41, NAL head acquisition module 42, position acquisition module 43 and preservation module 44;
NAL unit data obtaining module 41, for from H264 frame starting position, according to number N and each NAL unit starting position of synchronous code determination NAL unit, and sends to NAL head acquisition module 42 by information;
NAL head acquisition module 42, for receiving the number N of the NAL unit that NAL unit data obtaining module 41 is sent and each NAL unit starting position, and according to each NAL unit starting position, travel through the NAL head of N number of NAL unit, and NAL header is sent to position acquisition module 43;
Position acquisition module 43, for receiving the NAL header that NAL head acquisition module 42 is sent, the position of the NAL unit of location SPS and PPS, and this information is sent to preservation module 44;
Preserve module 44, for the position of the NAL unit according to SPS and PPS, SPS and PPS data are kept at respectively in the first buffer memory, the second buffer memory.
In one embodiment, as shown in Figure 5, position acquisition module 43 comprises SPS position acquisition module 51 and PPS position acquisition module 52;
SPS position acquisition module 51, receives the NAL header that NAL head acquisition module 42 is sent, the position of the NAL unit of location SPS, and this position is sent to preservation module 44;
PPS position acquisition module 52, receives the NAL header that NAL head acquisition module 42 is sent, the position of the NAL unit of location PPS, and this position is sent to preservation module 44.
In one embodiment, as shown in Figure 6, SPS position acquisition module 51 comprises SPS identifying unit 61 and SPS position record cell 62;
SPS identifying unit 61, for judging whether current NAL head is 0x67, is, judges the NAL unit of this NAL unit as SPS, and sends the first notification message to SPS position record cell 62, otherwise be not the NAL unit of SPS;
SPS position record cell 62, for according to the first notification message, is recorded as the position of the NAL unit of SPS by the position of current NAL unit, and the position of the NAL unit of SPS is sent to preservation module 44.
In one embodiment, as shown in Figure 7, PPS position acquisition module 52 comprises PPS identifying unit 71 and PPS position record cell 72;
PPS identifying unit 71, for judging whether current NAL head is 0x68, is, judges the NAL unit of this NAL unit as PPS, and sends the second notification message to SPS position record cell 72, otherwise be not the NAL unit of PPS;
PPS position record cell 72, for according to the second notification message, is recorded as the position of the NAL unit of PPS by the position of current NAL unit, and the position of the NAL unit of PPS is sent to preservation module 44.
The device of SPS and PPS is extracted in a kind of H264 frame that the embodiment of the present invention provides, according to H264 frame structure, descriptor SPS and the PPS data of video are extracted from this frame, and before transmission of video flow data to the opposite end of remote teaching, this video presentation information is sent to opposite end, the video stream data received according to the video presentation information received, thus can be play normally in opposite end.
Those skilled in the art should understand, embodiments of the invention can be provided as method, system or computer program.Therefore, the present invention can adopt the form of complete hardware embodiment, completely software implementation or the embodiment in conjunction with software and hardware aspect.And the present invention can adopt in one or more form wherein including the upper computer program implemented of computer-usable storage medium (including but not limited to magnetic disc store and optical memory etc.) of computer usable program code.
The present invention describes with reference to according to the flow chart of the method for the embodiment of the present invention, equipment (system) and computer program and/or block diagram.Should understand can by the combination of the flow process in each flow process in computer program instructions realization flow figure and/or block diagram and/or square frame and flow chart and/or block diagram and/or square frame.These computer program instructions can being provided to the processor of all-purpose computer, special-purpose computer, Embedded Processor or other programmable data processing device to produce a machine, making the instruction performed by the processor of computer or other programmable data processing device produce device for realizing the function of specifying in flow chart flow process or multiple flow process and/or block diagram square frame or multiple square frame.
These computer program instructions also can be stored in can in the computer-readable memory that works in a specific way of vectoring computer or other programmable data processing device, the instruction making to be stored in this computer-readable memory produces the manufacture comprising command device, and this command device realizes the function of specifying in flow chart flow process or multiple flow process and/or block diagram square frame or multiple square frame.
These computer program instructions also can be loaded in computer or other programmable data processing device, make on computer or other programmable devices, to perform sequence of operations step to produce computer implemented process, thus the instruction performed on computer or other programmable devices is provided for the step realizing the function of specifying in flow chart flow process or multiple flow process and/or block diagram square frame or multiple square frame.
Obviously, those skilled in the art can carry out various change and modification to the present invention and not depart from the spirit and scope of the present invention.Like this, if these amendments of the present invention and modification belong within the scope of the claims in the present invention and equivalent technologies thereof, then the present invention is also intended to comprise these change and modification.

Claims (8)

1. extract a method of SPS and PPS in H264 frame, it is characterized in that, comprise the steps:
From H264 frame starting position, according to number N and each NAL unit starting position of synchronous code determination NAL unit;
According to each NAL unit starting position, travel through the NAL head of N number of NAL unit;
According to the NAL header of NAL unit, the position of the NAL unit of positioning sequence parameter set SPS and picture parameter set PPS;
According to the position of the NAL unit of SPS and PPS, SPS and PPS data are kept at respectively in the first buffer memory, the second buffer memory.
2. extract the method for SPS and PPS in a kind of H264 frame as claimed in claim 1, it is characterized in that, described synchronous code is the 0x00 00 00 01 of 4 bytes.
3. in a kind of H264 frame as claimed in claim 1 or 2, extract the method for SPS and PPS, it is characterized in that, the described NAL header according to NAL unit, the method of the position of the NAL unit of location SPS is: judge whether current NAL head is 0x67, be that this NAL unit is the NAL unit of SPS, and the position of recording this NAL unit is the position of the NAL unit of SPS; Otherwise not the NAL unit of SPS.
4. in a kind of H264 frame as claimed in claim 3, extract the method for SPS and PPS, it is characterized in that, the described NAL header according to NAL unit, the method of the position of the NAL unit of location PPS is: judge whether current NAL head is 0x68, be that this NAL unit is the NAL unit of PPS, and the position of recording this NAL unit is the position of the NAL unit of PPS; Otherwise not the NAL unit of PPS.
5. extract a device of SPS and PPS in H264 frame, it is characterized in that, comprising: NAL unit data obtaining module, NAL head acquisition module, position acquisition module and preservation module;
Described NAL unit data obtaining module, for from H264 frame starting position, according to number N and each NAL unit starting position of synchronous code determination NAL unit, and sends to described NAL head acquisition module by information;
Described NAL head acquisition module, for receiving the number N of the NAL unit that described NAL unit data obtaining module is sent and each NAL unit starting position, and according to each NAL unit starting position, travel through the NAL head of N number of NAL unit, and NAL header is sent to described position acquisition module;
Described position acquisition module, for receiving the NAL header that described NAL head acquisition module is sent, the position of the NAL unit of location SPS and PPS, and this information is sent to described preservation module;
SPS and PPS data, for the position of the NAL unit according to SPS and PPS, are kept in the first buffer memory, the second buffer memory by described preservation module respectively.
6. extract the device of SPS and PPS in a kind of H264 frame as claimed in claim 5, it is characterized in that, described position acquisition module comprises SPS position acquisition module and PPS position acquisition module;
Described SPS position acquisition module, receives the NAL header that described NAL head acquisition module is sent, the position of the NAL unit of location SPS, and this position is sent to described preservation module;
Described PPS position acquisition module, receives the NAL header that described NAL head acquisition module is sent, the position of the NAL unit of location PPS, and this position is sent to described preservation module.
7. extract the device of SPS and PPS in a kind of H264 frame as claimed in claim 6, it is characterized in that, described SPS position acquisition module comprises SPS identifying unit and SPS position record cell;
Described SPS identifying unit, for judging whether current NAL head is 0x67, is, judges the NAL unit of this NAL unit as SPS, and sends the first notification message to SPS position record cell, otherwise be not the NAL unit of SPS;
Described SPS position record cell, for according to described first notification message, is recorded as the position of the NAL unit of SPS by the position of current NAL unit, and the position of the NAL unit of SPS is sent to described preservation module.
8. extract the device of SPS and PPS in a kind of H264 frame as claimed in claims 6 or 7, it is characterized in that, described PPS position acquisition module comprises PPS identifying unit and PPS position record cell;
Described PPS identifying unit, for judging whether current NAL head is 0x68, is, judges the NAL unit of this NAL unit as PPS, and sends the second notification message to SPS position record cell, otherwise be not the NAL unit of PPS;
Described PPS position record cell, for according to described second notification message, is recorded as the position of the NAL unit of PPS by the position of current NAL unit, and the position of the NAL unit of PPS is sent to described preservation module.
CN201510197273.4A 2015-04-23 2015-04-23 Method and device for extracting SPS (standard positioning services) and PPS (precise positioning services) from H264 frames Pending CN104796765A (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN201510197273.4A CN104796765A (en) 2015-04-23 2015-04-23 Method and device for extracting SPS (standard positioning services) and PPS (precise positioning services) from H264 frames

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN201510197273.4A CN104796765A (en) 2015-04-23 2015-04-23 Method and device for extracting SPS (standard positioning services) and PPS (precise positioning services) from H264 frames

Publications (1)

Publication Number Publication Date
CN104796765A true CN104796765A (en) 2015-07-22

Family

ID=53561218

Family Applications (1)

Application Number Title Priority Date Filing Date
CN201510197273.4A Pending CN104796765A (en) 2015-04-23 2015-04-23 Method and device for extracting SPS (standard positioning services) and PPS (precise positioning services) from H264 frames

Country Status (1)

Country Link
CN (1) CN104796765A (en)

Cited By (3)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN105307050A (en) * 2015-10-26 2016-02-03 何震宇 HEVC-based network streaming media application system and method
CN108419041A (en) * 2017-02-09 2018-08-17 北京视联动力国际信息技术有限公司 A kind of method and apparatus of video data processing
CN110719495A (en) * 2018-07-13 2020-01-21 视联动力信息技术股份有限公司 Video data processing method and system

Citations (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN101036392A (en) * 2004-09-03 2007-09-12 诺基亚公司 Parameter set and picture header in video coding

Patent Citations (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN101036392A (en) * 2004-09-03 2007-09-12 诺基亚公司 Parameter set and picture header in video coding

Non-Patent Citations (2)

* Cited by examiner, † Cited by third party
Title
LARRYXIE2000: "《H264 NAL头解析》", 《H264 NAL头解析》 *
SUNNYLGZ: "《H264中的SPS、PPS提取与作用》", 《H264中的SPS、PPS提取与作用》 *

Cited By (5)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN105307050A (en) * 2015-10-26 2016-02-03 何震宇 HEVC-based network streaming media application system and method
CN105307050B (en) * 2015-10-26 2018-10-26 何震宇 A kind of network flow-medium application system and method based on HEVC
CN108419041A (en) * 2017-02-09 2018-08-17 北京视联动力国际信息技术有限公司 A kind of method and apparatus of video data processing
CN108419041B (en) * 2017-02-09 2021-07-30 视联动力信息技术股份有限公司 Video data processing method and device
CN110719495A (en) * 2018-07-13 2020-01-21 视联动力信息技术股份有限公司 Video data processing method and system

Similar Documents

Publication Publication Date Title
US10979691B2 (en) Circular fisheye video in virtual reality
KR102614207B1 (en) Signaling critical video information in network video streaming using MIME type parameters
US10679415B2 (en) Enhanced signaling of regions of interest in container files and video bitstreams
TW201838419A (en) Signalling of video content including sub-picture bitstreams for video coding
CN109155865A (en) The first inlet signal in most interested region in the picture transmits
US20160381398A1 (en) Generating and transmitting metadata for virtual reality
TWI703854B (en) Enhanced high-level signaling for fisheye virtual reality video in dash
US20110182366A1 (en) Multi-View Media Data
CN107534801A (en) For handling the method, apparatus and computer program product of image sequence track
CN105637885A (en) Multi-layer video file format designs
TWI711303B (en) Enhanced high-level signaling for fisheye virtual reality video
CN107147916B (en) Method for transmitting H.265 coding video data on transmission layer
CN102427545A (en) Format for recording stereoscopic or synthetic video data with related metadata
CN104394426A (en) Rate playing method and device of stream media
CN101686391A (en) Video coding/decoding method and device as well as video playing method, device and system
RU2767300C2 (en) High-level transmission of service signals for video data of "fisheye" type
US20200228837A1 (en) Media information processing method and apparatus
CN109963176B (en) Video code stream processing method and device, network equipment and readable storage medium
JP2015519807A (en) Identifying parameter sets in video files
TW202133614A (en) Storage and delivery of video data for video coding
CN104796765A (en) Method and device for extracting SPS (standard positioning services) and PPS (precise positioning services) from H264 frames
US20240080487A1 (en) Method, apparatus for processing media data, computer device and storage medium
JP6319083B2 (en) Image decoding apparatus, image decoding method, image encoding apparatus, and image encoding method
US20230025664A1 (en) Data processing method and apparatus for immersive media, and computer-readable storage medium
CN105163169A (en) Data package format method and system suitable for transmission

Legal Events

Date Code Title Description
C06 Publication
PB01 Publication
EXSB Decision made by sipo to initiate substantive examination
SE01 Entry into force of request for substantive examination
RJ01 Rejection of invention patent application after publication
RJ01 Rejection of invention patent application after publication

Application publication date: 20150722