WO2005038643A1 - Procede de formation d'un flux de donnees qui peut etre accede de maniere aleatoire et procede de decodage correspondant - Google Patents

Procede de formation d'un flux de donnees qui peut etre accede de maniere aleatoire et procede de decodage correspondant Download PDF

Info

Publication number
WO2005038643A1
WO2005038643A1 PCT/CN2004/001062 CN2004001062W WO2005038643A1 WO 2005038643 A1 WO2005038643 A1 WO 2005038643A1 CN 2004001062 W CN2004001062 W CN 2004001062W WO 2005038643 A1 WO2005038643 A1 WO 2005038643A1
Authority
WO
WIPO (PCT)
Prior art keywords
data
bit
bits
data stream
read
Prior art date
Application number
PCT/CN2004/001062
Other languages
English (en)
Chinese (zh)
Inventor
Haiwu Zhao
Yong Chen
Guozhong Wang
Yun He
Original Assignee
Central Research Academy Of Sva Group
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 Central Research Academy Of Sva Group filed Critical Central Research Academy Of Sva Group
Publication of WO2005038643A1 publication Critical patent/WO2005038643A1/fr

Links

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/435Processing of additional data, e.g. decrypting of additional data, reconstructing software from modules extracted from the transport stream
    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04NPICTORIAL COMMUNICATION, e.g. TELEVISION
    • H04N21/00Selective content distribution, e.g. interactive television or video on demand [VOD]
    • H04N21/20Servers specifically adapted for the distribution of content, e.g. VOD servers; Operations thereof
    • H04N21/23Processing of content or additional data; Elementary server operations; Server middleware
    • H04N21/235Processing of additional data, e.g. scrambling of additional data or processing content descriptors

Definitions

  • the present invention relates to the technical field of audio and video encoding and decoding in signal processing, and in particular, to a method for organizing audio and video encoded data into a randomly accessible data stream and a corresponding data recovery method.
  • the decoder may mistakenly treat the bit string as the random access point identification code, thereby causing decoding errors. It is therefore necessary to prevent the occurrence of binary bit strings in other encoded data that are the same as random access point identification codes.
  • the current approach is to set some prohibited values and mask bits when designing the syntax structure of the code stream.
  • forbidden value means that some syntax elements are prohibited from taking certain values, because if the syntax elements take those values, false random access point identification codes may appear.
  • the so-called mask bit refers to inserting a fixed binary bit between the syntax elements where pseudo random access point identifiers may appear.
  • a technical problem to be solved by the present invention is to provide a method for encapsulating encoded audio and video data to be randomly accessible.
  • the method of asking the data stream makes it unnecessary to consider the random accessibility of the code stream when designing the syntax structure of the encoded data, that is, there is no need to set a forbidden value or insert a mask bit.
  • Another technical problem to be solved by the present invention is to provide a method for recovering encoded data from the randomly accessible data stream.
  • the present invention adopts the following technical solutions:
  • the audio and video coded data is divided into several data segments according to random access points, and for each data segment, repeat steps c and d until all data is written into the data stream;
  • d Write each bit of the encoded data to the data stream in turn. If the currently written bit is the penultimate bit of a byte, determine whether the most recently written 22 bits are all 0. If the most recently written 22 bits are all 0, then write first before writing the current data bit Enter a padding bit, and then write the current data bit; otherwise, write the current data bit directly.
  • step e When byte alignment is required, step e. Is also included. When a piece of data is written, one 0 and several ones are written into the code stream by using the method described in step d until the next byte alignment position;
  • the present invention also provides a method for recovering data from the randomly accessible data stream, including the following steps: a. Looking for a bit string 0x000001 at a byte-aligned position in the data stream;
  • bit just read is the penultimate bit of a byte, and the 22 bits read before the bit are all 0, then read another bit, and then skip to step c;
  • step g is also included.
  • the last output 0 and the output 1 are recognized as padding bits, and are not output as data bits.
  • the audio and video encoder no longer needs to consider the problem of the random access point identification code. Because this work is done by the underlying code stream operation.
  • the decoding process of the above code stream can automatically identify which bits are inserted and discard them, so that the encoded data generated by the audio and video encoder can be completely recovered.
  • FIG. 1 is a flowchart of an embodiment of a method for sealing encoded audio and video data into a randomly accessible data stream according to the present invention
  • FIG. 2 is a flowchart of an embodiment of a method for recovering data from a randomly accessible data stream according to the present invention. detailed description
  • FIG. 1 is a flowchart of an embodiment of a method for packaging encoded audio and video data into a randomly accessible data stream in the present invention. As shown in FIG. 1, this embodiment includes the following steps:
  • the audio and video coded data is divided into several data segments according to random access points, and for each data segment, repeat steps c, d, e until all data is written into the data stream;
  • d Write each bit of the encoded data to the data stream in turn. If the currently written bit is the penultimate bit of a byte, it is determined whether the most recently written 22 bits are all 0. If the most recently written 22 bits are all 0s, write a 1 and a 0 before writing the current data bits, and then write the current data bits; otherwise, write the current data bits directly.
  • step d When a piece of data is written, use the method described in step d to write a 0 and several 1s to the code stream until the next byte alignment position;
  • FIG. 2 is a flowchart of an embodiment of a method for recovering data from a randomly accessible data stream in the present invention. As shown in FIG. 2, this embodiment includes the following steps:
  • bit just read is the penultimate bit of a byte, and the 22 bits read before the bit are all 0, then read another bit and then skip to step c.

Abstract

Procédé permettant de convertir des données audio / vidéo en un flux de données à accès aléatoire, qui consiste à coder les données audio / vidéo, à introduire le code de drapeau dans le point à accès aléatoire, à introduire des bits de remplissage dans les données audio / vidéo codées pour éviter l'apparition d'une chaîne de bits qui est égale au code de drapeau de point à accès aléatoire. Le procédé de décodage correspondant d'un flux de données à accès aléatoire consiste à rechercher dans le flux de données le code de drapeau de point à accès aléatoire et rejeter les données qui se trouvent devant le code de drapeau de point à accès aléatoire, à lire les bits un par un, à juger si les bits lus sont des bits de données ou des bits de remplissage et à rejeter le bit s'il s'agit d'un bit de remplissage, à rentrer le bit en tant que données s'il s'agit d'un bit de données et à commencer un nouveau bloc de données si le code de drapeau suivant de point à accès aléatoire est trouvé.
PCT/CN2004/001062 2003-10-16 2004-09-20 Procede de formation d'un flux de donnees qui peut etre accede de maniere aleatoire et procede de decodage correspondant WO2005038643A1 (fr)

Applications Claiming Priority (2)

Application Number Priority Date Filing Date Title
CN200310107985.X 2003-10-16
CN 200310107985 CN1209703C (zh) 2003-10-16 2003-10-16 一种可随机访问数据流的组织方法及其对应的解码方法

Publications (1)

Publication Number Publication Date
WO2005038643A1 true WO2005038643A1 (fr) 2005-04-28

Family

ID=34304587

Family Applications (1)

Application Number Title Priority Date Filing Date
PCT/CN2004/001062 WO2005038643A1 (fr) 2003-10-16 2004-09-20 Procede de formation d'un flux de donnees qui peut etre accede de maniere aleatoire et procede de decodage correspondant

Country Status (3)

Country Link
CN (1) CN1209703C (fr)
RU (1) RU2331914C2 (fr)
WO (1) WO2005038643A1 (fr)

Families Citing this family (2)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN101296376B (zh) * 2007-04-24 2011-01-26 北京展讯高科通信技术有限公司 填充位丢弃电路和方法
WO2020220249A1 (fr) * 2019-04-30 2020-11-05 深圳市大疆创新科技有限公司 Procédés et dispositifs de codage de données et de décodage de données, et support de stockage

Citations (8)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
US5739862A (en) * 1996-12-23 1998-04-14 Tektronix, Inc. Reverse playback of MPEG video
WO2001078404A2 (fr) * 2000-04-07 2001-10-18 Avid Technology, Inc. Indexation de donnees media entrelacees
WO2002025949A2 (fr) * 2000-09-15 2002-03-28 International Business Machines Corporation Systeme et procede de traitement de flux mpeg pour l'insertion d'informations relatives a l'index des dossiers
CN1349351A (zh) * 2000-10-13 2002-05-15 北京算通数字技术研究中心有限公司 数据流索引文件生成及用该文件访问帧和切变镜头的方法
CN1381148A (zh) * 2000-03-31 2002-11-20 皇家菲利浦电子有限公司 制作和重放数字视频录制品的方法和装置以及用此种方法制作的录制品
US20030002856A1 (en) * 1998-11-08 2003-01-02 Lg Electronics Inc. Method and apparatus for recording digital data streams
CN1396595A (zh) * 2001-06-15 2003-02-12 Lg电子株式会社 记录数字数据流的方法和设备,以及记录介质
CN1418010A (zh) * 2001-10-29 2003-05-14 数码士有限公司 记录数字广播节目并基于时间重放该节目的方法及其设备

Patent Citations (8)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
US5739862A (en) * 1996-12-23 1998-04-14 Tektronix, Inc. Reverse playback of MPEG video
US20030002856A1 (en) * 1998-11-08 2003-01-02 Lg Electronics Inc. Method and apparatus for recording digital data streams
CN1381148A (zh) * 2000-03-31 2002-11-20 皇家菲利浦电子有限公司 制作和重放数字视频录制品的方法和装置以及用此种方法制作的录制品
WO2001078404A2 (fr) * 2000-04-07 2001-10-18 Avid Technology, Inc. Indexation de donnees media entrelacees
WO2002025949A2 (fr) * 2000-09-15 2002-03-28 International Business Machines Corporation Systeme et procede de traitement de flux mpeg pour l'insertion d'informations relatives a l'index des dossiers
CN1349351A (zh) * 2000-10-13 2002-05-15 北京算通数字技术研究中心有限公司 数据流索引文件生成及用该文件访问帧和切变镜头的方法
CN1396595A (zh) * 2001-06-15 2003-02-12 Lg电子株式会社 记录数字数据流的方法和设备,以及记录介质
CN1418010A (zh) * 2001-10-29 2003-05-14 数码士有限公司 记录数字广播节目并基于时间重放该节目的方法及其设备

Also Published As

Publication number Publication date
RU2331914C2 (ru) 2008-08-20
CN1529228A (zh) 2004-09-15
CN1209703C (zh) 2005-07-06
RU2006116579A (ru) 2007-11-27

Similar Documents

Publication Publication Date Title
JP4443130B2 (ja) デジタル画像復号システムおよび方法
TWI310137B (en) Methods and systems for preventing start code emulation at locations that include non-byte aligned and/or bit-shifted positions
JP5847683B2 (ja) データストリームにおいてビデオデータ及び関連するメタデータを送信する方法、ビデオ符号化装置、及びパーソナルビデオレコーダ
US7870483B2 (en) Encoding and distribution of schema for multimedia content descriptions
CN103049682A (zh) 一种基于字符间距编码的双重水印嵌入的文本水印方法
US20080130735A1 (en) Methods and Apparatus for Data Decoding/Encoding and for Searching For/Inserting Stuffing Bytes
US20050007263A1 (en) Video coding
CN109743581B (zh) 编码端处理方法、解码端处理方法及防止伪起始码的方法
US7940807B2 (en) Methods, decoder circuits and computer program products for processing MPEG audio frames
CN101485200B (zh) 视频信号处理设备和视频信号处理方法
WO2005038643A1 (fr) Procede de formation d'un flux de donnees qui peut etre accede de maniere aleatoire et procede de decodage correspondant
JP2006519422A (ja) 構造化されたドキュメントのエンコーディング方法
US6563442B1 (en) Multiple symbol length lookup table
CN102802023B (zh) 一种快速防止出现伪起始码的方法及装置
JP2008513921A (ja) ユーザビットストリームを符号化ビットストリームに変換する方法、信号における同期パターンを検出する方法、自由に挿入可能な同期パターンを使用する記録キャリア、信号、記録装置及び再生装置
KR101861621B1 (ko) 에뮬레이션 방지 바이트 제거에 기초하여 순차적으로 비트 스트림을 파싱하는 장치 및 방법
CN101213754B (zh) 用于改进的多媒体解码器的方法和设备
CN103369311A (zh) 一种用于防止起始码冲突的方法
JP2004112593A (ja) データ読取方法、データ読取装置およびデータ読取のためのプログラム
TWI384377B (zh) 資料編碼及解碼方法
JP2004159015A (ja) データ多重化方法、データ逆多重化方法
CN1218583C (zh) 可随机访问数据流的封装方法及其对应的数据恢复方法
RU2321169C2 (ru) Способ декодирования префиксных кодов переменной длины
CN1540495A (zh) 可随机访问数据流的组织方法及其对应的解码方法
JP2007312272A (ja) 可変長復号装置

Legal Events

Date Code Title Description
AK Designated states

Kind code of ref document: A1

Designated state(s): AE AG AL AM AT AU AZ BA BB BG BR BW BY BZ CA CH CN CO CR CU CZ DE DK DM DZ EC EE EG ES FI GB GD GE GH GM HR HU ID IL IN IS JP KE KG KP KR KZ LC LK LR LS LT LU LV MA MD MG MK MN MW MX MZ NA NI NO NZ OM PG PH PL PT RO RU SC SD SE SG SK SL SY TJ TM TN TR TT TZ UA UG US UZ VC VN YU ZA ZM ZW

AL Designated countries for regional patents

Kind code of ref document: A1

Designated state(s): BW GH GM KE LS MW MZ NA SD SL SZ TZ UG ZM ZW AM AZ BY KG KZ MD RU TJ TM AT BE BG CH CY CZ DE DK EE ES FI FR GB GR HU IE IT LU MC NL PL PT RO SE SI SK TR BF BJ CF CG CI CM GA GN GQ GW ML MR NE SN TD TG

121 Ep: the epo has been informed by wipo that ep was designated in this application
WWE Wipo information: entry into national phase

Ref document number: 2006116579

Country of ref document: RU

122 Ep: pct application non-entry in european phase