# US 2022/0294841 A1 · Methods and systems for codec detection in video streams

> Agents: this data is available as JSON from the patentgrep API and MCP server — see https://patentgrep.com/llms.txt

- Number: US 2022/0294841 A1
- Document ID: US20220294841A1
- Status: Published application
- Kind: A1
- Application number: 17/824,269
- Filed: 2022-05-25
- Published: 2022-09-15
- Earliest claimed: 2019-05-21
- Assignees: Genetec Inc.
- Applicants: Genetec Inc.
- Inventors: Pierre RACZ; Julien VARY
- Web page: https://patentgrep.com/patent/US20220294841A1

## CPC

- H04L 65/70: Media network packetisation
- G08B 13/19656: {Network used to communicate with a camera, e.g. WAN, LAN, Internet}
- G08B 13/19667: {Details realated to data compression, encryption or encoding, e.g. resolution modes for reducing data volume to lower transmission bandwidth or memory requirements}
- G08B 13/19686: {Interfaces masking personal details for privacy, e.g. blurring faces, vehicle license plates}
- H04L 47/196: {Integration of transport layer protocols, e.g. TCP and UDP}
- H04L 65/65: Network streaming protocols, e.g. real-time transport protocol [RTP] or real-time control protocol [RTCP]
- H04L 65/762: {at the source (reformatting of additional data in video distribution servers H04N21/2355)}
- H04L 65/765: {intermediate}
- H04L 69/22: Parsing or analysis of headers
- H04N 19/70: characterised by syntax aspects related to video coding, e.g. related to compression standards
- H04N 21/231: Content storage operation, e.g. caching movies for short term storage, replicating data over plural servers, prioritizing data for deletion
- H04N 21/23418: {involving operations for analysing video streams, e.g. detecting features or characteristics (television picture signal circuitry for scene change detection H04N5/147; filtering for image enhancement G06T5/00; methods or arrangements for recognising scenes G06V20/00; arrangements characterised by components specially adapted for monitoring, identification or recognition of video in broadcast systems H04H60/59)}
- H04N 21/234309: {by transcoding between formats or standards, e.g. from MPEG-2 to MPEG-4 or from Quicktime to Realvideo (conversion of standards in analog television systems H04N7/01)}
- H04N 21/238: Interfacing the downstream path of the transmission network, e.g. adapting the transmission rate of a video stream to network bandwidth; Processing of multiplex streams {(hybrid fiber coaxial [HFC] networks for downstream channel allocation for video distribution H04L12/2801; flow control in packet networks H04L47/10; real-time communication protocols in data switching networks H04L65/00; scheduling or organising the servicing of application requests H04L67/60)}
- H04N 21/2402: {Monitoring of the downstream path of the transmission network, e.g. bandwidth available (traffic monitoring in data switching networks H04L43/00; monitoring data switching networks utilization H04L43/0876)}
- H04N 21/64322: {IP}
- H04N 21/64784: {Data processing by the network (data processing in packet switching systems H04L12/56; flow control in packet networks H04L47/10; intermediate storage or scheduling H04L49/90; provisioning of proxy services in data packet switching networks H04L67/56)}
- H04L: TRANSMISSION OF DIGITAL INFORMATION, e.g. TELEGRAPHIC COMMUNICATION (arrangements common to telegraphic and telephonic communication H04M)
- G08B: SIGNALLING SYSTEMS, e.g. PERSONAL CALLING SYSTEMS; ORDER TELEGRAPHS; ALARM SYSTEMS
- H04N: PICTORIAL COMMUNICATION, e.g. TELEVISION

## Abstract

Method and apparatus for carrying out the method receiving packets, each of the packets comprising a header and a payload. For a particular packet among the packets, the method includes processing at least the header of the particular packet to determine a flow associated with the particular packet; attempting to determine a payload structure based on the flow, the payload structure associated with transport of coded video data in the payload of the particular packet; and if the attempting is successful, repackaging coded video data contained in the payload of the particular packet into a new packet and forwarding the new packet to an external system or storing the new packet in memory.

## Claims

### Claim at position 1

-133. (canceled)

### Claim 134

A method carried out by a device for connection to a network that supports communication of packets between at least one first entity and at least one second entity, the method comprising:
receiving the packets;
identifying, based on information contained in at least a payload of respective ones of the received packets, those of the received packets that are packets of interest;
grouping the payloads of the packets of interest into streams of packets, the payloads of those of the received packets that are not packets of interest not being so grouped; and
transmitting the streams of packets to a third destination for processing, the third destination being different from the first and second entities.

### Claim 135 (depends on 134)

The method defined in claim 134, wherein for a particular packet that is a packet of interest, the identifying, grouping and transmitting is carried out in no more time than the time between receiving the particular packet and receiving the next packet.

### Claim 136 (depends on 134)

The method defined in claim 134, wherein the third destination is a memory or a video management system.

### Claim 137 (depends on 134)

The method defined in claim 134, wherein the payload of each of the packets of interest comprises IoT data.

### Claim 138 (depends on 134)

The method defined in claim 134, wherein the payload of each of the packets of interest comprises video data.

### Claim 139 (depends on 138)

The method defined in claim 138, wherein the information contained in at least the payload of respective ones of the received packets comprises codec-identifying information.

### Claim 140

A method comprising:
identifying, in a plurality of received packets conveying frames, certain ones of the frames that are related to one another;
identifying, in the related frames, portions of the related frames that are in accordance with at least one structure of interest;
assembling said portions of the related frames into at least one stream of new packets; and
storing the at least one stream of new packets in memory or sending the at least one stream of new packets to an external entity.

### Claim 141 (depends on 140)

The method defined in claim 140, wherein the at least one structure of interest spans multiple ones of the related frames.

### Claim 142 (depends on 141)

The method defined in claim 141, wherein the at least one structure of interest spans multiple contiguous ones of the related frames.

### Claim 143 (depends on 142)

The method defined in claim 142, wherein the at least one structure of interest spans multiple ones of the related frames that are separated by at least one related frame where said structure of interest does not appear.

### Claim 144 (depends on 140)

The method defined in claim 140, wherein the at least one structure of interest is wholly contained within an individual one of the related frames.

### Claim 145 (depends on 144)

The method defined in claim 144, wherein the at least one structure of interest appears multiple times within an individual one of the related frames.

### Claim 146 (depends on 140)

The method defined in claim 140, further comprising consulting a memory to identify the at least one structure of interest.

### Claim 147 (depends on 140)

The method defined in claim 140, wherein the at least one structure of interest comprises a subset of structures indicated as being of interest in a larger set of structures.

### Claim 148 (depends on 140)

The method defined in claim 140, wherein each of the packets has a header and a payload, wherein related frames are identified based on headers of the packets.

### Claim 149 (depends on 148)

The method defined in claim 148, wherein frames are deemed to be related in case the headers of the respective packets identify the same flow.

### Claim 150 (depends on 140)

The method defined in claim 140, wherein the plurality of received packets comprises packets issued by various sources and destined for various destinations, wherein identifying certain ones of the received frames that are related to one another comprises identifying those of the received packets that have a common source and destination.

### Claim 151 (depends on 140)

The method defined in claim 140, wherein the at least one structure of interest comprises a set of structures, the method further comprising:
monitoring at least one computing condition;
based on at least one of the at least one computing condition being met, changing a size of the set.

### Claim 152 (depends on 12)

The method defined in claim 12, wherein the at least one computing condition includes at least one of a bandwidth condition, a memory condition and a processing speed condition.

### Claim 153 (depends on 140)

The method defined in claim 140, wherein the at least one structure of interest comprises a set of structures, the method further comprising:
monitoring at least one computing condition;
based on at least one of the at least one computing condition being met, changing which structures are in the set.

### Claim 154 (depends on 140)

The method defined in claim 140, the method further comprising:
monitoring at least one computing condition;
based on at least one of the at least one computing condition being met, assembling representative sub-portions of said portions of said related frames into the stream of new packets.

### Claim 155 (depends on 154)

The method defined in claim 154, wherein a given representative sub-portion of a given portion of a given frame that is in accordance with a given structure of interest is identified in a manner that depends on the given structure.

### Claim 156 (depends on 155)

The method defined in claim 155, further comprising extracting the representative sub-portions of said portions of said related frames.

### Claim 157 (depends on 156)

The method defined in claim 156, wherein the given structure comprises a video structure comprising at least i-frames and p-frames, and wherein the representative sub-portions comprise i-frames and not p-frames.

### Claim 158 (depends on 140)

The method defined in claim 140, wherein the at least one structure of interest comprises a plurality of structures of interest, each associated with a respective video codec.

### Claim 159 (depends on 140)

The method defined in claim 140, wherein the packets comprise IoT (Internet of Things) data.

### Claim 160 (depends on 140)

The method defined in claim 140, further comprising ignoring or discarding packets that do not include the related frames.

### Claim 161 (depends on 140)

The method defined in claim 140, further comprising ignoring or discarding packets that do not include said portions.

### Claim 162

A non-transitory computer-readable storage medium storing computer-readable instructions which, when read and executed by a processor of a computing entity, cause the computing entity to carry out a method that comprises:
identifying, in a plurality of received packets conveying frames, certain ones of the frames that are related to one another;
identifying, in the related frames, portions of the related frames that are in accordance with at least one structure of interest;
assembling said portions of the related frames into at least one stream of new packets; and
storing the at least one stream of new packets in memory or sending the at least one stream of new packets to an external entity.
