[go: up one dir, main page]

CN110430462B - Fast automatic setting method based on UHD decoder - Google Patents

Fast automatic setting method based on UHD decoder Download PDF

Info

Publication number
CN110430462B
CN110430462B CN201910712380.4A CN201910712380A CN110430462B CN 110430462 B CN110430462 B CN 110430462B CN 201910712380 A CN201910712380 A CN 201910712380A CN 110430462 B CN110430462 B CN 110430462B
Authority
CN
China
Prior art keywords
decoder
descriptor
enc
params
uhd
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 - Fee Related
Application number
CN201910712380.4A
Other languages
Chinese (zh)
Other versions
CN110430462A (en
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.)
Fuzhou University
Original Assignee
Fuzhou University
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 Fuzhou University filed Critical Fuzhou University
Priority to CN201910712380.4A priority Critical patent/CN110430462B/en
Publication of CN110430462A publication Critical patent/CN110430462A/en
Application granted granted Critical
Publication of CN110430462B publication Critical patent/CN110430462B/en
Expired - Fee Related legal-status Critical Current
Anticipated expiration legal-status Critical

Links

Images

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/434Disassembling of a multiplex stream, e.g. demultiplexing audio and video streams, extraction of additional data from a video stream; Remultiplexing of multiplex streams; Extraction or processing of SI; Disassembling of packetised elementary stream
    • H04N21/4345Extraction or processing of SI, e.g. extracting service information from an MPEG stream
    • 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 or rendering scenes according to encoded video stream scene graphs
    • H04N21/4402Processing of video elementary streams, e.g. splicing a video clip retrieved from local storage with an incoming video stream or rendering scenes according to encoded video stream scene graphs involving reformatting operations of video signals for household redistribution, storage or real-time display
    • 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/45Management operations performed by the client for facilitating the reception of or the interaction with the content or administrating data related to the end-user or to the client device itself, e.g. learning user preferences for recommending movies, resolving scheduling conflicts
    • H04N21/458Scheduling content for creating a personalised stream, e.g. by combining a locally stored advertisement with an incoming stream; Updating operations, e.g. for OS modules ; time-related management operations

Landscapes

  • Engineering & Computer Science (AREA)
  • Multimedia (AREA)
  • Signal Processing (AREA)
  • Databases & Information Systems (AREA)
  • Compression Or Coding Systems Of Tv Signals (AREA)

Abstract

本发明涉及一种基于UHD解码器的快速自动设置方法,包括以下步骤:步骤S1:在编码器端,将输入数据打包复用,形成传送码流;步骤S2:对传送码流的PMT进行修改调整,并在video循环中添加私有描述子enc_params;步骤S3:编码器输出传送码流至传输模块,通过无线信道进入解码器端的传输模块;步骤S4:解码器端接受编码器端输出的传送码流,启动解码;步骤S5:解码器在系统层过滤解码节目PMT表,分析是否存在enc_params描述子,若存在enc_params描述子,分析enc_params描述子,完成设置解码器参数;若不存在,则分别从系统层和编码层提取参数,根据数据的时序特性计算出非显性参数,并设置解码器。本发明根据不同的结果采取不同的分析提取方法,保证解码器可以正常处理和解码不同编码器输出的码流。

Figure 201910712380

The present invention relates to a fast automatic setting method based on UHD decoder, comprising the following steps: step S1: at the encoder end, the input data is packaged and multiplexed to form a transport code stream; step S2: the PMT of the transport code stream is modified Adjust, and add private descriptor enc_params in the video loop; Step S3: the encoder outputs the transmission code stream to the transmission module, and enters the transmission module of the decoder side through the wireless channel; Step S4: the decoder side accepts the transmission code output of the encoder end Stream, start decoding; Step S5: the decoder filters the decoding program PMT table at the system layer, analyzes whether there is an enc_params descriptor, if there is an enc_params descriptor, analyzes the enc_params descriptor, and completes setting the decoder parameters; The system layer and the coding layer extract parameters, calculate the non-dominant parameters according to the time series characteristics of the data, and set the decoder. The present invention adopts different analysis and extraction methods according to different results, so as to ensure that the decoder can normally process and decode the code streams output by different encoders.

Figure 201910712380

Description

Fast automatic setting method based on UHD decoder
Technical Field
The invention relates to a rapid automatic setting method based on a UHD decoder.
Background
With the development of the digital information age, people develop the requirements of image data to high speed and high resolution, ultra-high definition video becomes a great trend, and higher requirements are put forward for encoding and decoding of ultra-high definition video transmission.
In addition, some parameters are transmitted at a system layer of the code stream (such as PID, code stream type and the like), some parameters are transmitted at an encoding layer (such as scanning mode, frame rate and the like), and some parameters are not transmitted directly (i.e. non-explicit parameters) (such as delay mode). This causes difficulties in the correct setting of the decoder parameters and inconvenience in practical use.
Disclosure of Invention
In view of this, the present invention provides a fast automatic setting method based on a UHD decoder, which implements different analysis and extraction methods according to different results, and ensures that the decoder can normally process and decode code streams output by different encoders.
In order to achieve the purpose, the invention adopts the following technical scheme:
a fast automatic setup method based on UHD decoder, comprising the steps of:
step S1: at the encoder end, packing input data according to MPEG-2 system standard to form fixed length transmission packets, then multiplexing the data packets to form transmission code stream;
step S2, modifying and adjusting PMT of the transmission code stream by using expansibility, and adding a private descriptor enc _ params in a video loop;
step S3, the encoder outputs the transmission code stream to the transmission module, and enters the transmission module of the decoder end through the wireless channel;
step S4, the decoder receives the transmission code stream output by the encoder and starts decoding;
step S5, the decoder filters and decodes the program PMT table at the system layer, analyzes whether the enc _ params descriptor exists, if so, analyzes the enc _ params descriptor, and completes the setting of the decoder parameters;
if the enc _ params descriptor does not exist, extracting parameters from the system layer and the coding layer respectively, calculating a non-dominant parameter according to the time sequence characteristics of the data, setting a decoder, and finishing the setting of the decoder.
Further, the input data includes compressed UHD video, audio, text, and pictures.
Further, the descriptor enc _ params contains parameter setting information, including a sampling mode, sampling precision, resolution, frame rate, scanning mode, delay mode, and code rate control mode.
Further, the step S2 includes: a private descriptor enc _ params is added in a video loop, the descriptor definition conforms to the ISO/IEC 13818-1 standard, and the PMT segment length, the total length of the secondary descriptor and the cyclic redundancy check field are updated.
Compared with the prior art, the invention has the following beneficial effects:
the invention adopts different analysis and extraction methods according to different results, and ensures that the decoder can normally process and decode code streams output by different encoders.
Drawings
FIG. 1 is a flow diagram of the present invention;
FIG. 2 is a block diagram of the system mechanism in one embodiment of the invention.
Detailed Description
The invention is further explained below with reference to the drawings and the embodiments.
Referring to fig. 1, the present invention provides a fast automatic setup method based on UHD decoder, comprising the following steps:
step S1: at the encoder end, packing input data according to MPEG-2 system standard to form fixed length transmission packets, then multiplexing the data packets to form transmission code stream;
step S2, modifying and adjusting PMT of the transmission code stream by using expansibility, and adding a private descriptor enc _ params in a video loop; the descriptor definition follows the ISO/IEC 13818-1 standard, and simultaneously updates the PMT segment length, the total length of the secondary descriptor and the cyclic redundancy check field;
step S3, the encoder outputs the transmission code stream to the transmission module, and enters the transmission module of the decoder end through the wireless channel;
step S4, the decoder receives the transmission code stream output by the encoder and starts decoding;
step S5, the decoder filters and decodes the program PMT table at the system layer, analyzes whether the enc _ params descriptor exists, if so, analyzes the enc _ params descriptor, and completes the setting of the decoder parameters;
in this embodiment, if there is no enc _ params descriptor, parameters are extracted from the system layer and the coding layer, respectively, and the non-dominant parameter is calculated according to the time sequence characteristics of the data, specifically: the sampling mode, the sampling precision and the resolution ratio all extract corresponding parameters from the coding layer, for frame rate parameters, the encoder does not insert VUI parameters into the coding layer in a low-delay working mode, the decoder records all PTS data in the PES layer within a period of time, generally from 0.5 second to 1 second, then the minimum difference value in the PTS data is counted, and then the specific frame rate is obtained according to the interval where the minimum difference value is located.
In this embodiment, the input data includes video, audio, text, and pictures.
In this embodiment, the descriptor enc _ params includes parameter setting information, which includes a sampling mode, a sampling precision, a resolution, a frame rate, a scanning mode, a delay mode, and a code rate control mode.
The above description is only a preferred embodiment of the present invention, and all equivalent changes and modifications made in accordance with the claims of the present invention should be covered by the present invention.

Claims (4)

1.一种基于UHD解码器的快速自动设置方法,其特征在于,包括以下步骤:1. a fast automatic setting method based on UHD decoder, is characterized in that, comprises the following steps: 步骤S1:在编码器端,将输入数据按照MPEG-2系统标准打包,形成固定长度的传送包,然后将这些数据包进行复用,形成传送码流;Step S1: at the encoder end, the input data is packaged according to the MPEG-2 system standard to form a fixed-length transport packet, and then these packets are multiplexed to form a transport stream; 步骤S2:利用拓展性对传送码流的PMT进行修改调整,并在video循环中添加私有描述子enc_params;Step S2: utilize the extensibility to modify and adjust the PMT of the transport code stream, and add private descriptor enc_params in the video loop; 步骤S3:编码器输出传送码流至传输模块,通过无线信道进入解码器端的传输模块;Step S3: the encoder outputs the transmission code stream to the transmission module, and enters the transmission module of the decoder end through the wireless channel; 步骤S4:解码器端接受编码器端输出的传送码流,启动解码;Step S4: the decoder side accepts the transport code stream output by the encoder side, and starts decoding; 步骤S5:解码器在系统层过滤解码节目PMT表,分析是否存在enc_params描述子,若存在enc_params描述子,分析enc_params描述子,完成设置解码器参数;Step S5: the decoder filters and decodes the program PMT table at the system layer, analyzes whether there is an enc_params descriptor, if there is an enc_params descriptor, analyzes the enc_params descriptor, and completes setting the decoder parameters; 若不存在enc_params描述子,则分别从系统层和编码层提取参数,根据数据的时序特性计算出非显性参数,并设置解码器;完成解码器设置。If there is no enc_params descriptor, parameters are extracted from the system layer and the coding layer respectively, non-dominant parameters are calculated according to the timing characteristics of the data, and the decoder is set; the decoder setting is completed. 2.根据权利要求1所述的基于UHD解码器的快速自动设置方法,其特征在于:所述输入数据包括压缩后的UHD视频、音频、文字和图片。2 . The fast automatic setting method based on UHD decoder according to claim 1 , wherein the input data includes compressed UHD video, audio, text and pictures. 3 . 3.根据权利要求1所述的基于UHD解码器的快速自动设置方法,其特征在于:所述描述子enc_params含有参数设置信息,包括采样方式、采样精度、分辨率、帧率、扫描方式、延迟模式和码率控制模式。3. The fast automatic setting method based on UHD decoder according to claim 1, is characterized in that: described descriptor enc_params contains parameter setting information, including sampling mode, sampling precision, resolution, frame rate, scanning mode, delay mode and rate control mode. 4.根据权利要求1所述的基于UHD解码器的快速自动设置方法,其特征在于:所述步骤S2具为:在video循环中添加私有描述子enc_params,描述子定义遵循ISO/IEC 13818-1标准,同时更新PMT段长度、二级描述子总长度和循环冗余校验字段。4. the fast automatic setting method based on UHD decoder according to claim 1, is characterized in that: described step S2 has: add private descriptor enc_params in video loop, and descriptor definition follows ISO/IEC 13818-1 Standard, and update the PMT segment length, the total length of the secondary descriptor and the cyclic redundancy check fields.
CN201910712380.4A 2019-08-02 2019-08-02 Fast automatic setting method based on UHD decoder Expired - Fee Related CN110430462B (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN201910712380.4A CN110430462B (en) 2019-08-02 2019-08-02 Fast automatic setting method based on UHD decoder

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN201910712380.4A CN110430462B (en) 2019-08-02 2019-08-02 Fast automatic setting method based on UHD decoder

Publications (2)

Publication Number Publication Date
CN110430462A CN110430462A (en) 2019-11-08
CN110430462B true CN110430462B (en) 2021-08-31

Family

ID=68412357

Family Applications (1)

Application Number Title Priority Date Filing Date
CN201910712380.4A Expired - Fee Related CN110430462B (en) 2019-08-02 2019-08-02 Fast automatic setting method based on UHD decoder

Country Status (1)

Country Link
CN (1) CN110430462B (en)

Family Cites Families (3)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
KR100565614B1 (en) * 2003-09-17 2006-03-29 엘지전자 주식회사 How to send and receive captions
KR101435840B1 (en) * 2007-08-24 2014-08-29 엘지전자 주식회사 Digital broadcasting system and data processing method
GB2539462B (en) * 2015-06-16 2019-04-03 Canon Kk Obtaining media data and metadata from encapsulated bit-streams wherein operating point descriptors can be dynamically set

Also Published As

Publication number Publication date
CN110430462A (en) 2019-11-08

Similar Documents

Publication Publication Date Title
US20240212697A1 (en) Audio decoder, apparatus for generating encoded audio output data and methods permitting initializing a decoder
CN103702013B (en) Frame synchronization method for multiple channels of real-time videos
CN104618786A (en) Audio/video synchronization method and device
US7012650B2 (en) Start/stop audio encoder apparatus and method for synchronizing digital audio and video signals
US20200177907A1 (en) Video encoding apparatus, video decoding apparatus, video encoding method, and video decoding method
CN100588261C (en) Method and system for synchronizing video data and audio data
EP3105938B1 (en) Embedding encoded audio into transport stream for perfect splicing
CN107566889B (en) Audio stream flow velocity error processing method and device, computer device and computer readable storage medium
JP2001285234A (en) Data multiplexer and data multiplexing method, and recording medium
MX2022008177A (en) Encoder, decoder and corresponding methods and apparatus.
US20150195427A1 (en) Decoder and decoding method for audio video stream synchronization
CN110401850A (en) A method and device for transparently transmitting a custom SEI
CN109640162B (en) Code stream conversion method and system
US20060203853A1 (en) Apparatus and methods for video synchronization by parsing time stamps from buffered packets
JP2010212996A (en) Information processing apparatus and multiplexing processing method
CN112653904B (en) Rapid video clipping method based on PTS and DTS modification
CN101449584A (en) Video processing
CN110430462B (en) Fast automatic setting method based on UHD decoder
CN103067745B (en) A kind of cutting method of video data and device, online editing method and system
US9620131B2 (en) Systems and methods for adjusting audio levels in a plurality of audio signals
CN1166174C (en) Method for correcting timer reference of programs in multiplexing
US10567852B2 (en) Transmission device, transmission method, reception device, reception method, and program
JP2007195208A (en) Information processing apparatus and method, recording medium, and program
CN109120989B (en) Method for tracing and positioning during TS stream playing
JP2010239433A (en) Video coding apparatus, method and program

Legal Events

Date Code Title Description
PB01 Publication
PB01 Publication
SE01 Entry into force of request for substantive examination
SE01 Entry into force of request for substantive examination
GR01 Patent grant
GR01 Patent grant
CF01 Termination of patent right due to non-payment of annual fee
CF01 Termination of patent right due to non-payment of annual fee

Granted publication date: 20210831