JavaCV Audio and Video Development Guide: Use JavaCV to read the Hikvision platform or Hikvision webcam sdk callback video TS code stream and parse the preview image

"JavaCV Audio and Video Development Guide" Column Directory Navigation
"JavaCV Audio and Video Development Guide" Column Introduction and Table of Contents

JavaCV audio and video development guide

Preface

Two years ago, a blogger wrote about how to use JavaCV to parse various h264 naked streams, "JavaCV Audio and Video Development Guide: Use javacv to read GB28181, Hikvision Dahua platform and webcam sdk callback video streams and parse preview images", but with the Time has changed, and various manufacturers' SDKs have also been iteratively upgraded. For example, now the Hikvision SDK callback no longer contains H264 naked streams, but only PS and TS streams and RTP (RTP can also include PS\TS\H264\H265 naked streams)

Brief description of PS stream and TS stream encapsulation format

Although the SDK manual documents of major manufacturers have introduced it, some concepts have not been elaborated. Let's talk about what these streams are and what they are used for.

The ps stream and the TS stream are a pair of sister encapsulation formats, and they are both members of the MPEG-2 (ISO/IEC 13818-2) standard protocol family.

ISO/IEC 13818-2 standard see below

Guess you like

Origin blog.csdn.net/eguid_1/article/details/131087602