Looking for breakthrough ideas for innovation challenges? Try Patsnap Eureka!

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

A frame start and acquisition module technology, applied in the video field, can solve problems such as unable to decode and play video, and having no video description information

Inactive Publication Date: 2015-07-22
TVM BEIJING EDUCATION SCI & TECH CO LTD
View PDF1 Cites 5 Cited by
  • Summary
  • Abstract
  • Description
  • Claims
  • Application Information

AI Technical Summary

Problems solved by technology

However, since the video stream is directly transmitted instead of the video file, there is no file header, and there is no description information of the video
The teacher cannot decode and play the video without description information

Method used

the structure of the environmentally friendly knitted fabric provided by the present invention; figure 2 Flow chart of the yarn wrapping machine for environmentally friendly knitted fabrics and storage devices; image 3 Is the parameter map of the yarn covering machine
View more

Image

Smart Image Click on the blue labels to locate them in the text.
Viewing Examples
Smart Image
  • Method and device for extracting SPS (standard positioning services) and PPS (precise positioning services) from H264 frames
  • Method and device for extracting SPS (standard positioning services) and PPS (precise positioning services) from H264 frames
  • Method and device for extracting SPS (standard positioning services) and PPS (precise positioning services) from H264 frames

Examples

Experimental program
Comparison scheme
Effect test

Embodiment 1

[0063] figure 2 A flowchart of a method for extracting SPS from an H264 frame is provided in Embodiment 1 of the present invention, including:

[0064] Step S201: starting from the start position of the H264 frame, determine the number N of NAL units and the start position of each NAL unit according to the synchronization code;

[0065] Step S202: Traverse the NAL headers of N NAL units according to the start position of each NAL unit;

[0066] Step S203: determine whether the current NAL header is 0x67, if so, the NAL unit is a NAL unit of SPS, and the position of the NAL unit is recorded as the position of the NAL unit of SPS; otherwise it is not the NAL unit of SPS;

[0067] Step S204: Save the SPS data in the first cache according to the location of the NAL unit of the SPS.

[0068] In the technical solution provided by Embodiment 1 of the present invention, since the NAL header of the NAL unit of the SPS is 0x67, if the NAL header of the NAL unit is 0x67, the NAL unit ...

Embodiment 2

[0070] Such as image 3 A flowchart of a method for extracting PPS from an H264 frame is provided in Embodiment 2 of the present invention, including:

[0071] Step S301: starting from the start position of the H264 frame, determine the number N of NAL units and the start position of each NAL unit according to the synchronization code;

[0072] Step S302: Traverse the NAL headers of N NAL units according to the start position of each NAL unit;

[0073] Step S303: determine whether the current NAL header is 0x68, if so, the NAL unit is a NAL unit of PPS, and the position of the NAL unit is recorded as the position of the NAL unit of PPS; otherwise it is not the NAL unit of PPS;

[0074] Step S304: Save the PPS data in the second cache according to the location of the NAL unit of the PPS.

[0075] In the technical solution provided by Embodiment 2 of the present invention, since the NAL header of the NAL unit of the PPS is 0x68, if the NAL header of the NAL unit is 0x68, the N...

the structure of the environmentally friendly knitted fabric provided by the present invention; figure 2 Flow chart of the yarn wrapping machine for environmentally friendly knitted fabrics and storage devices; image 3 Is the parameter map of the yarn covering machine
Login to View More

PUM

No PUM Login to View More

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

technical field [0001] The present invention relates to the field of video technology, in particular to a method and device for extracting SPS and PPS from H264 frames. Background technique [0002] With the development of Internet technology, there are more and more Internet applications, and the forms are becoming more and more diverse. Due to the convenience, speed and low cost of distance teaching, it is more and more popular among teachers and students. Through the Internet, students can easily obtain teaching materials for learning. In order to improve the interactivity of distance teaching, teachers and students often use video and voice to communicate on the Internet. For example, after the connection between the student terminal and the teacher terminal is established, the student terminal turns on the camera to record the video and uploads it to the teacher terminal in real time. However, since the video stream is directly transmitted instead of the video file, t...

Claims

the structure of the environmentally friendly knitted fabric provided by the present invention; figure 2 Flow chart of the yarn wrapping machine for environmentally friendly knitted fabrics and storage devices; image 3 Is the parameter map of the yarn covering machine
Login to View More

Application Information

Patent Timeline
no application Login to View More
IPC IPC(8): H04N21/44H04N21/84
CPCH04N21/44008H04N21/84
Inventor 张金良
Owner TVM BEIJING EDUCATION SCI & TECH CO LTD
Who we serve
  • R&D Engineer
  • R&D Manager
  • IP Professional
Why Patsnap Eureka
  • Industry Leading Data Capabilities
  • Powerful AI technology
  • Patent DNA Extraction
Social media
Patsnap Eureka Blog
Learn More
PatSnap group products