CN202085275U - Compressed code stream analyzer - Google Patents

Compressed code stream analyzer Download PDF

Info

Publication number
CN202085275U
CN202085275U CN 201120167382 CN201120167382U CN202085275U CN 202085275 U CN202085275 U CN 202085275U CN 201120167382 CN201120167382 CN 201120167382 CN 201120167382 U CN201120167382 U CN 201120167382U CN 202085275 U CN202085275 U CN 202085275U
Authority
CN
China
Prior art keywords
module
bit stream
code stream
compressed bit
analysis 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.)
Expired - Lifetime
Application number
CN 201120167382
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.)
BEIJING RESEARCH INST OF AUTOMATIC MEASUREMENT TECHNOLOGY
Original Assignee
BEIJING RESEARCH INST OF AUTOMATIC MEASUREMENT TECHNOLOGY
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 BEIJING RESEARCH INST OF AUTOMATIC MEASUREMENT TECHNOLOGY filed Critical BEIJING RESEARCH INST OF AUTOMATIC MEASUREMENT TECHNOLOGY
Priority to CN 201120167382 priority Critical patent/CN202085275U/en
Application granted granted Critical
Publication of CN202085275U publication Critical patent/CN202085275U/en
Anticipated expiration legal-status Critical
Expired - Lifetime legal-status Critical Current

Links

Images

Landscapes

  • Compression Or Coding Systems Of Tv Signals (AREA)

Abstract

The utility model discloses a compressed code stream analyzer. Compressed codes flow into a function selecting module from a code stream input interface, the function selecting module is respectively connected with a real-time analyzing displaying module, a tracking analyzing module, a fidelity analyzing module, a buffer analyzing module, an alarm function module, an image analyzing module, a container analyzing module, a code stream display function module and a batch mode processing analyzing module, a compressed code stream flows into a corresponding function module selected by a user to be processed, and output results of the corresponding functional module are input to a display screen to be displayed. The compressed code stream analyzer is capable of completely checking the compressed code stream and metadata in a continuous, uniform and configurable manner, discovers various errors during checking of the compressed code stream to generate error files and displays discovered error details to the user and a content encoder, and accordingly is more excellent than existing products on the aspects of functions and convenience in use.

Description

A kind of compressed bit stream analyzer
Technical field
The utility model relates to a kind of code stream analysis instrument, relates in particular to a kind ofly can check compressed bit stream analyzer with error analysis to the compressed bit stream of multiple form comprehensively, belongs to video analysis instrument technical field.
Background technology
Only defined the syntactic structure and the decode procedure of compressed bit stream in the prior art, cataloged procedure and algorithm there is no definition.Different developers can adopt diverse algorithm, so the parameter in the compressed bit stream has very big flexibility, and this will ask decoder can be correctly decoded the code stream of conformance with standard grammatical norm.For the correctness of verifying syntactic element in the compressed bit stream and the decoding capability of decoder, need analyze and test compressed bit stream and decoder, whether meet corresponding standard to judge compressed bit stream and decoder.
Along with the extensive use of digital video technology, increase day by day at analysis, the diagnostic requirements of compressed bit stream.Numerous technical staff press for a kind of special code stream analysis instrument, can be used for being familiar with code flow structure, and utilization protocal analysis instrument carries out simple, conventional detection to Digital Video System, thereby guarantees that Digital Video System normally moves.The code stream analysis instrument can and solve intermittent failure that be difficult for discovering most in the Digital Video System, very complicated with minimum time diagnosis; Provide compressed bit stream deep analysis comprehensively, whether the work of checking Digital Video System is normal, and the various faults that occurred between installation of investigation equipment and trial run period reduce development cost and also increase usefulness.Therefore, the code stream analysis instrument is one of useful tool of the numerous technical staff in digital video field.
At present, the code stream analysis instrument on the market is based on external product, the MTS4EA code stream analysis instrument that typical products such as U.S. Imtech (TEKTRONIX) release etc.Aspect main flow container/encapsulation format, MTS4EA code stream analysis instrument is only supported a few container/encapsulation format, for example it only supports these several container/encapsulation format of MPEG-2PA, MPEG-2TS, MP4, ASF and 3GP, and the container/encapsulation format of this code stream analysis instrument support has MPEG-1 System Stream, MPEG-2PS, MPEG-2TS, MP4, ASF, 3GP and AVI.In to video standard class and the level other realization aspect, MTS4EA code stream analysis instrument do not realize decoding and analysis of MPEG 4 standards in the interlacing compressed bit stream, therefore MTS4EA can't support the interlacing compressed bit stream of MPEG4, and this code stream analysis instrument is supported this function, has finished the decoding and the analysis of MPEG4 interlacing compressed bit stream.Aspect the ins and outs that in analytic process, provide, the macro block checking tool of MTS4EA code stream analysis instrument just comes out Y and U, the V component extraction of selected macro block, and show the final decoded data matrix of these 3 components, do not provide the forming process of these 3 final decoded data matrixes of component, promptly do not provide the preceding matrix of these 3 component re-quantizations preceding matrix, the matrix behind the re-quantization, DCT inverse-transform matrix, prediction matrix and filtering etc., can not satisfy the demand of real work fully.
In the patent No. is 200520039319.1 Chinese utility model patent, a kind of code stream decoding analyzing and processing equipment of compressing image data is disclosed, comprise and analyze decoder module, main control module, display terminal and input and output adaptation module, wherein: the input and output adaptation module, be used to finish ASI input that transmitting-receiving meets the DVB standard and dateout and receive the DVB standard walk abreast the TS signal bit stream, be used to export Analog Composite Video and component video signal, four road stereo audio signals, and be used for equipment being controlled with code stream and import by Ethernet; Analyze decoder module, be used to look audio decoder and code stream analysis; Main control module links to each other with external host, realizes monitoring, debugging, communication function, communicate by letter with the Ethernet input interface module by universal serial bus, and control of video D/A module; Display terminal is used for Chinese and English and shows, tree-shaped display menu realizes that LCD and OSD show synchronously.This utility model adopts Embedded hardware designs to realize, and is rational in infrastructure, has Scalable Performance and convenient, flexible mode of operation preferably.
In addition, in application number is 200910161863.6 Chinese invention patent application, disclose a kind of code stream analysis device, comprised decoder storehouse, assembly module and the subscriber interface module formed by more than one decoder.Described assembly module is used for the corresponding decoder of code stream selection according to input, and according to operation indication from subscriber interface module, call the interface unit of decoder storehouse correspondence, and receive data, export described data to subscriber interface module from the decoder storehouse; Described subscriber interface module is used to provide the user visible human-computer interaction interface, receives the operation indication from the user, exports described operation indication to assembly module; And on described human-computer interaction interface, show data from assembly module.This code stream analysis device can be supported the multimedia code stream of multiple coding standard.
Summary of the invention
Technical problem to be solved in the utility model is to provide a kind of compressed bit stream analyzer.This compressed bit stream analyzer can be checked and error analysis the compressed bit stream of multiple form comprehensively.
For realizing above-mentioned purpose, the utility model adopts following technical scheme:
A kind of compressed bit stream analyzer is characterized in that:
Comprise real-time analysis display module, trace analysis module, fidelity analysis module, buffer analysis module, alarm function module, image analysis module, function selecting module and display screen in the described compressed bit stream analyzer; Wherein,
Described function selecting module is connected with described image analysis module with described real-time analysis display module, described trace analysis module, described fidelity analysis module, described buffer analysis module, described alarm function module respectively, and the output result of described real-time analysis display module, described trace analysis module, described fidelity analysis module, described buffer analysis module, described alarm function module and described image analysis module sends in the described display screen and externally shows.
Wherein more preferably, also comprise the vessel analysis module in the described compressed bit stream analyzer; Described vessel analysis module connects described function selecting module on the one hand, connects described display screen on the other hand.
Wherein more preferably, also comprise batch mode Treatment Analysis module in the described compressed bit stream analyzer; Described batch mode Treatment Analysis module connects described function selecting module on the one hand, connects described display screen on the other hand.
Wherein more preferably, also comprise code stream Presentation Function module in the described compressed bit stream analyzer; Described code stream Presentation Function module connects described function selecting module on the one hand, connects described display screen on the other hand.
Compressed bit stream analyzer provided by the utility model can be checked compressed bit stream and metadata with continuous unanimity, configurable mode comprehensively, the various wrong generation error file that when checking compressed bit stream, will find, and the incorrect details of being found presented to user and content encoding person, still be that the ease of use aspect all is better than existing product from function aspects.
Description of drawings
The utility model is described in further detail below in conjunction with the drawings and specific embodiments.
Fig. 1 is the module diagram of compressed bit stream analyzer provided by the utility model;
Fig. 2 is the assay surface sectional drawing of this compressed bit stream analyzer at interlacing compressed bit stream in the mpeg 4 standard;
Fig. 3 is in the existing MTS4EA code stream analysis instrument, the assay surface sectional drawing of macro block checking tool;
Fig. 4 is in this compressed bit stream analyzer, the assay surface sectional drawing of macro block checking tool.
Embodiment
As shown in Figure 1, compressed bit stream analyzer provided by the utility model comprises functional modules such as real-time analysis display module, trace analysis module, fidelity analysis module, buffer analysis module, alarm function module, image analysis module, vessel analysis module, code stream Presentation Function module and batch mode Treatment Analysis module.In addition, also comprise code stream input interface, function selecting module and display screen.Wherein, the code stream input interface is connected with function selecting module, and compressed video code flow is sent in the function selecting module through the code stream input interface.Function selecting module is connected with real-time analysis display module, trace analysis module, fidelity analysis module, buffer analysis module, alarm function module, image analysis module, vessel analysis module, code stream Presentation Function module and batch mode Treatment Analysis module respectively, compressed bit stream is sent into the corresponding function module of user's selection and handled, the output result of the corresponding function module sends in the display screen and externally shows.
In this compressed bit stream analyzer, the input signal of real-time analysis display module is compressed video code flow and control signal.By the affirmation to control signal, the real-time analysis display module carries out computings such as entropy decoding, inverse scan, re-quantization, inverse transformation, motion compensation to the macroblock layer data of video code flow, obtains various data and analyzes and show, forms the output result at last.This output result comprises macro block information demonstration, macro block demonstration, macroblock motion vector demonstration, macroblock coding frequency, frame information demonstration etc.Macro block checking tool in the real-time analysis display module extracts the image of selected macro block, the image and the rectangle data of difference display brightness and aberration piece, and can write down matrix, the matrix behind the re-quantization, DCT inverse-transform matrix before this macro block re-quantization successively, the data that form in its coding calculating process form with matrix is shown.
The input signal of trace analysis module is compressed video code flow and control signal.The effect of this module is compressed bit stream is decoded and resolved the various detailed information of output code flow.The trace analysis module meets all the elements in the code stream parsing and the explanation of video encoding and decoding standard, all correct bits can find accurate semantic the parsing on corresponding video encoding and decoding standard, every bit that does not meet the standard code span will produce alarm prompt and record in wrong file.
The input signal of fidelity analysis module is video code flow, unpressed original YUV code stream and control signal (being used to select vision residual error sign, fidelity to measure option etc.).The fidelity analysis module can be decoded and obtains the yuv data of each frame video code flow.By doing difference computing, Y-PSNR computing etc. with unpressed original YUV code stream, the absolute difference and (SAD) etc. of Y-PSNR (PSNR), each frame of each frame among the result can be obtained exporting, and decoded picture, reference picture, residual image of each frame etc. can be exported respectively.
The input signal of buffer analysis module is video code flow and control signal.It extracts class and rank designator, object video type indicator from video code flow; Perhaps from the VBV parameter set, obtain key data and calculate various buffer register characteristic curves.In addition, the buffer analysis module can also be keyed in numerical value to simulate specific decoder hardware, is used for checking the accordance of buffer standard.
The input signal of alarm function module is video code flow and control signal.The effect of this module is video code flow is detected and the analysis of video standard accordance in real time, searches the wrong or non-compliant place in the video code flow, and corresponding alarm prompt is provided.These alarm prompts tell which type of fault alarm appears in the user, and the fault alarm rank is divided into Fatals, Errors, Warnings, Infos.The alarm function module particular location of alarm in code stream that can point out faults, and tell the user with suitable suggestion for revision.The user can revise parameter or algorithm like this, thoroughly eliminates this fault alarm.
The input signal of image analysis module is video code flow and control signal.It has kept parameter distribution in macro block level and the frame level coding calculating process, has externally exported the data such as skew, macroblock coding frequency, motion vector histogram, DCT frequency, intra-frame macro block coding frequency of spatial distribution, the space quantization device of spatial distribution, the bit/coded macroblocks of bit/macro block and record corresponding graphic data when video code flow is decoded.
The vessel analysis module can be resolved various container/encapsulation format, and the tree of checking container/encapsulation format figure is provided, and opens the MP4/3GPP/ASF/AVI file and observe its structure and extract video track.Be opened if there is one in these files, program in this document or track tabulation will show.The video track that is extracted can be used as an independent file and preserves.
The input signal of code stream Presentation Function module is video code flow and control signal.Its effect is that directly video code flow being carried out binary system, hexadecimal and ASCII shows, and can provide table and data source thereof to show.
The input signal of batch mode Treatment Analysis module is video code flow and control signal.When video encoder and Video Decoder are debugged, often need to use identical video sequence to carry out same retest, observe whereby what variation/improvement/deterioration has taken place in each Video Decoder/video encoder.The batch mode that batch mode Treatment Analysis module is provided can make the user that batch processing is set: retest automatically, output tracking file.If alarm/mistake/gross mistake in video, in a single day occurs, can generate the output report file.Batch mode Treatment Analysis module can be created YUV decoded video output file, so that compare test and regression test, for example relatively between the video encoder/Video Decoder of different editions what difference etc. is arranged.
Defined a plurality of functional module switch events in this compressed bit stream analyzer, these switch events are kept in the function selecting module.By giving particular value to each switch events, just can send control signal corresponding by function selecting module, corresponding functional module is brought into operation, and obtain final output result.
The output result of above-mentioned each functional module comprises video, data, chart, figure and curve etc.Utilize each functional module, this compressed bit stream analyzer can be analyzed any level in the compressed bit stream and the data that go up Anywhere and parameter; The various wrong generation error file that in to Content inspection, will find, and the incorrect details of being found presented to user and content encoding person (comprising specific type of error and position), the suggestion for revision that holds water can also be provided; The encoder performance that produces this compressed bit stream is provided the pattern analysis of curve chart and data.
In a specific embodiment of the present utility model, above-mentioned each functional module can be with general FPGA (Field-Programmable Gate Array, field programmable gate array) and RTOS (Real-time operating system, real-time system) be the basis, realize based on the embedded hardware platform; Also relevant functional module can be made into the relevant hardware integrated circuit board, this hardware integrated circuit board communicates by pci bus and industrial computer, thereby realizes the analytic function of compressed bit stream.Concrete hardware designs is the routine techniques that those of ordinary skills can both grasp, and does not just describe in detail at this.
Below by with the comparison of MTS4EA code stream analysis instrument, the technical characterstic of this compressed bit stream analyzer is described in further detail.
MTS4EA code stream analysis instrument can be supported following video encoding standard: H.264/AVC, H.263, H.261, MPEG4, MPEG2 and WMV9/VC-1.Support to container/encapsulation format comprises: MPEG-2PS, MPEG-2TS, MP4, ASF, 3GP.This compressed bit stream analyzer can be supported following video encoding standard: H.264/AVC, H.263, MPEG4, MPEG2, MPEG 1 and WMV9/VC-1.Support to container/encapsulation format comprises: MPEG-1 System Stream, MPEG-2PS, MPEG-2TS, MP4, ASF, 3GP and AVI.But MTS4EA code stream analysis instrument is not supported the analysis of interlacing compressed bit stream in the mpeg 4 standard, and this compressed bit stream analyzer can be supported the analysis of interlacing compressed bit stream in the mpeg 4 standard, and corresponding assay surface sectional drawing as shown in Figure 2.
As shown in Figure 3, the macro block checking tool of MTS4EA code stream analysis instrument just comes out Y, U and the V component extraction of selected macro block, and show the final decoded data matrix of these 3 components simultaneously, but does not provide the forming process of these 3 final rectangle datas.As shown in Figure 4, the macro block checking tool of this compressed bit stream analyzer can extract the image of selected macro block independent demonstration, also can show Y, U and V component image respectively.It shows the rectangle data that forms in Y, U and three kinds of component decode procedures of V respectively.Select one of them component arbitrarily, can write down the preceding matrix of this component re-quantization, the matrix behind the re-quantization, DCT inverse-transform matrix, prediction matrix, the preceding matrix of filtering and final decoded data matrix successively.
This compressed bit stream analyzer carries out computings such as entropy decoding, inverse scan, re-quantization, inverse transformation, motion compensation to compressed bit stream to be tested, the various parameters that obtain are resolved according to the syntax and semantics structure of stipulating in the corresponding video coding standard, and taxonomic revision as a result shown be convenient to the tester and check.Can check video and metadata with continuous unanimity, configurable mode so comprehensively.When content was checked, this compressed bit stream analyzer can be with the various wrong generation error file of finding, and the incorrect details of being found (comprising specific type of error and position) is presented to user and content encoding person.
Above compressed bit stream analyzer provided by the utility model is had been described in detail.For one of ordinary skill in the art, any conspicuous change of under the prerequisite that does not deviate from the utility model connotation it being done all will constitute to the utility model infringement of patent right, with corresponding legal responsibilities.

Claims (6)

1. compressed bit stream analyzer is characterized in that:
Comprise real-time analysis display module, trace analysis module, fidelity analysis module, buffer analysis module, alarm function module, image analysis module, function selecting module and display screen in the described compressed bit stream analyzer; Wherein,
Described function selecting module is connected with described image analysis module with described real-time analysis display module, described trace analysis module, described fidelity analysis module, described buffer analysis module, described alarm function module respectively, and the output result of described real-time analysis display module, described trace analysis module, described fidelity analysis module, described buffer analysis module, described alarm function module and described image analysis module sends in the described display screen and externally shows.
2. compressed bit stream analyzer as claimed in claim 1 is characterized in that:
Also comprise the code stream input interface in the described compressed bit stream analyzer, described code stream input interface is connected with described function selecting module.
3. compressed bit stream analyzer as claimed in claim 1 or 2 is characterized in that:
Also comprise the vessel analysis module in the described compressed bit stream analyzer; Described vessel analysis module connects described function selecting module on the one hand, connects described display screen on the other hand.
4. compressed bit stream analyzer as claimed in claim 1 or 2 is characterized in that:
Also comprise batch mode Treatment Analysis module in the described compressed bit stream analyzer; Described batch mode Treatment Analysis module connects described function selecting module on the one hand, connects described display screen on the other hand.
5. compressed bit stream analyzer as claimed in claim 1 or 2 is characterized in that:
Also comprise code stream Presentation Function module in the described compressed bit stream analyzer; Described code stream Presentation Function module connects described function selecting module on the one hand, connects described display screen on the other hand.
6. compressed bit stream analyzer as claimed in claim 1 is characterized in that:
Has the macro block checking tool in the described real-time analysis display module.
CN 201120167382 2011-05-23 2011-05-23 Compressed code stream analyzer Expired - Lifetime CN202085275U (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN 201120167382 CN202085275U (en) 2011-05-23 2011-05-23 Compressed code stream analyzer

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN 201120167382 CN202085275U (en) 2011-05-23 2011-05-23 Compressed code stream analyzer

Publications (1)

Publication Number Publication Date
CN202085275U true CN202085275U (en) 2011-12-21

Family

ID=45345889

Family Applications (1)

Application Number Title Priority Date Filing Date
CN 201120167382 Expired - Lifetime CN202085275U (en) 2011-05-23 2011-05-23 Compressed code stream analyzer

Country Status (1)

Country Link
CN (1) CN202085275U (en)

Cited By (2)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN102802019A (en) * 2012-07-27 2012-11-28 深圳市同洲电子股份有限公司 Code stream analyzing method and device
CN108540735A (en) * 2018-06-12 2018-09-14 福州大学 The soft veritification card systems of Video Decoder IP based on FPGA and verification method

Cited By (4)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN102802019A (en) * 2012-07-27 2012-11-28 深圳市同洲电子股份有限公司 Code stream analyzing method and device
CN102802019B (en) * 2012-07-27 2016-02-03 深圳市同洲电子股份有限公司 Code stream analyzing method and device
CN108540735A (en) * 2018-06-12 2018-09-14 福州大学 The soft veritification card systems of Video Decoder IP based on FPGA and verification method
CN108540735B (en) * 2018-06-12 2023-12-29 福州大学 FPGA-based video decoder IP soft verification system and verification method

Similar Documents

Publication Publication Date Title
CN101778307B (en) Device for testing functions of set top box
CN102572503B (en) Automatic test system for functions of television set and method thereof
CN201986083U (en) Device for automatically detecting circuit board
CN101616331B (en) Method for testing video frequency frame rate and audio-video synchronous performance
CN102026017B (en) Efficient test method for video decoding
CN102780914A (en) Automatic test system for digital display systems
CN102833543B (en) Device and method for detecting video coding format of video and audio media files
CN102256158A (en) Automatic television circuit board function testing method and system
CN104834597A (en) Method and system for measuring application response duration
TW201913355A (en) System module and method structured on customized display frame of Non-invasive data extraction system providing the basic functions of a plurality of KVM switches by utilizing a signal receiving device and an HID (Human Interface Device) simulation device
CN102300117A (en) Automatic testing system and testing method for set-top box
CN202085275U (en) Compressed code stream analyzer
CN108769672A (en) A kind of audio and video Auto-Test System and method instead of human perception
CN104333732B (en) A kind of distributed video analysis method and system
CN116126580A (en) Touch display control method, device, equipment and storage medium
CN103856771A (en) Image signal testing method and device
CN102790904A (en) Integrated multi-picture digital video monitoring method and system
CN102098544A (en) Image display method of television wall
CN104237760B (en) Testing device and testing method for semiconductor components
CN101634677B (en) Digital instrument based on UVC transmission protocol and use method thereof
CN102348127B (en) Television picture quality detection system and method
CN103716635A (en) Method and device for improving intelligent analysis performance
CN102158726A (en) Time delay detection method and device of encoder
CN203191489U (en) Parallel testing system
US20130300399A1 (en) Signal switching device and electronic appratus using the same

Legal Events

Date Code Title Description
C14 Grant of patent or utility model
GR01 Patent grant
CX01 Expiry of patent term

Granted publication date: 20111221

CX01 Expiry of patent term