CN1261756A - 渐进刷新视频数据流中的视频数据接合 - Google Patents
渐进刷新视频数据流中的视频数据接合 Download PDFInfo
- Publication number
- CN1261756A CN1261756A CN99123803A CN99123803A CN1261756A CN 1261756 A CN1261756 A CN 1261756A CN 99123803 A CN99123803 A CN 99123803A CN 99123803 A CN99123803 A CN 99123803A CN 1261756 A CN1261756 A CN 1261756A
- Authority
- CN
- China
- Prior art keywords
- video data
- data stream
- frame
- source
- video
- 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.)
- Granted
Links
- 238000003780 insertion Methods 0.000 claims abstract description 58
- 230000037431 insertion Effects 0.000 claims abstract description 58
- 238000000034 method Methods 0.000 claims abstract description 22
- 238000011084 recovery Methods 0.000 claims abstract description 4
- 230000006835 compression Effects 0.000 description 5
- 238000007906 compression Methods 0.000 description 5
- 238000012545 processing Methods 0.000 description 4
- 239000012634 fragment Substances 0.000 description 3
- 230000000750 progressive effect Effects 0.000 description 3
- 238000005516 engineering process Methods 0.000 description 2
- 238000003825 pressing Methods 0.000 description 2
- 238000013459 approach Methods 0.000 description 1
- 238000005520 cutting process Methods 0.000 description 1
- 230000006837 decompression Effects 0.000 description 1
- 239000004744 fabric Substances 0.000 description 1
- 238000004519 manufacturing process Methods 0.000 description 1
- 238000012986 modification Methods 0.000 description 1
- 230000004048 modification Effects 0.000 description 1
- 238000003672 processing method Methods 0.000 description 1
- 238000012360 testing method Methods 0.000 description 1
- 238000013316 zoning Methods 0.000 description 1
Images
Classifications
-
- H—ELECTRICITY
- H04—ELECTRIC COMMUNICATION TECHNIQUE
- H04N—PICTORIAL COMMUNICATION, e.g. TELEVISION
- H04N21/00—Selective content distribution, e.g. interactive television or video on demand [VOD]
- H04N21/80—Generation or processing of content or additional data by content creator independently of the distribution process; Content per se
- H04N21/81—Monomedia components thereof
- H04N21/812—Monomedia components thereof involving advertisement data
-
- H—ELECTRICITY
- H04—ELECTRIC COMMUNICATION TECHNIQUE
- H04N—PICTORIAL COMMUNICATION, e.g. TELEVISION
- H04N19/00—Methods or arrangements for coding, decoding, compressing or decompressing digital video signals
-
- H—ELECTRICITY
- H04—ELECTRIC COMMUNICATION TECHNIQUE
- H04N—PICTORIAL COMMUNICATION, e.g. TELEVISION
- H04N19/00—Methods or arrangements for coding, decoding, compressing or decompressing digital video signals
- H04N19/10—Methods or arrangements for coding, decoding, compressing or decompressing digital video signals using adaptive coding
- H04N19/102—Methods or arrangements for coding, decoding, compressing or decompressing digital video signals using adaptive coding characterised by the element, parameter or selection affected or controlled by the adaptive coding
- H04N19/103—Selection of coding mode or of prediction mode
- H04N19/107—Selection of coding mode or of prediction mode between spatial and temporal predictive coding, e.g. picture refresh
-
- H—ELECTRICITY
- H04—ELECTRIC COMMUNICATION TECHNIQUE
- H04N—PICTORIAL COMMUNICATION, e.g. TELEVISION
- H04N19/00—Methods or arrangements for coding, decoding, compressing or decompressing digital video signals
- H04N19/10—Methods or arrangements for coding, decoding, compressing or decompressing digital video signals using adaptive coding
- H04N19/134—Methods or arrangements for coding, decoding, compressing or decompressing digital video signals using adaptive coding characterised by the element, parameter or criterion affecting or controlling the adaptive coding
- H04N19/157—Assigned coding mode, i.e. the coding mode being predefined or preselected to be further used for selection of another element or parameter
-
- H—ELECTRICITY
- H04—ELECTRIC COMMUNICATION TECHNIQUE
- H04N—PICTORIAL COMMUNICATION, e.g. TELEVISION
- H04N19/00—Methods or arrangements for coding, decoding, compressing or decompressing digital video signals
- H04N19/10—Methods or arrangements for coding, decoding, compressing or decompressing digital video signals using adaptive coding
- H04N19/169—Methods or arrangements for coding, decoding, compressing or decompressing digital video signals using adaptive coding characterised by the coding unit, i.e. the structural portion or semantic portion of the video signal being the object or the subject of the adaptive coding
- H04N19/17—Methods or arrangements for coding, decoding, compressing or decompressing digital video signals using adaptive coding characterised by the coding unit, i.e. the structural portion or semantic portion of the video signal being the object or the subject of the adaptive coding the unit being an image region, e.g. an object
- H04N19/172—Methods or arrangements for coding, decoding, compressing or decompressing digital video signals using adaptive coding characterised by the coding unit, i.e. the structural portion or semantic portion of the video signal being the object or the subject of the adaptive coding the unit being an image region, e.g. an object the region being a picture, frame or field
-
- H—ELECTRICITY
- H04—ELECTRIC COMMUNICATION TECHNIQUE
- H04N—PICTORIAL COMMUNICATION, e.g. TELEVISION
- H04N19/00—Methods or arrangements for coding, decoding, compressing or decompressing digital video signals
- H04N19/10—Methods or arrangements for coding, decoding, compressing or decompressing digital video signals using adaptive coding
- H04N19/169—Methods or arrangements for coding, decoding, compressing or decompressing digital video signals using adaptive coding characterised by the coding unit, i.e. the structural portion or semantic portion of the video signal being the object or the subject of the adaptive coding
- H04N19/17—Methods or arrangements for coding, decoding, compressing or decompressing digital video signals using adaptive coding characterised by the coding unit, i.e. the structural portion or semantic portion of the video signal being the object or the subject of the adaptive coding the unit being an image region, e.g. an object
- H04N19/174—Methods or arrangements for coding, decoding, compressing or decompressing digital video signals using adaptive coding characterised by the coding unit, i.e. the structural portion or semantic portion of the video signal being the object or the subject of the adaptive coding the unit being an image region, e.g. an object the region being a slice, e.g. a line of blocks or a group of blocks
-
- H—ELECTRICITY
- H04—ELECTRIC COMMUNICATION TECHNIQUE
- H04N—PICTORIAL COMMUNICATION, e.g. TELEVISION
- H04N19/00—Methods or arrangements for coding, decoding, compressing or decompressing digital video signals
- H04N19/40—Methods or arrangements for coding, decoding, compressing or decompressing digital video signals using video transcoding, i.e. partial or full decoding of a coded input stream followed by re-encoding of the decoded output stream
-
- H—ELECTRICITY
- H04—ELECTRIC COMMUNICATION TECHNIQUE
- H04N—PICTORIAL COMMUNICATION, e.g. TELEVISION
- H04N19/00—Methods or arrangements for coding, decoding, compressing or decompressing digital video signals
- H04N19/48—Methods or arrangements for coding, decoding, compressing or decompressing digital video signals using compressed domain processing techniques other than decoding, e.g. modification of transform coefficients, variable length coding [VLC] data or run-length data
-
- H—ELECTRICITY
- H04—ELECTRIC COMMUNICATION TECHNIQUE
- H04N—PICTORIAL COMMUNICATION, e.g. TELEVISION
- H04N19/00—Methods or arrangements for coding, decoding, compressing or decompressing digital video signals
- H04N19/50—Methods or arrangements for coding, decoding, compressing or decompressing digital video signals using predictive coding
- H04N19/503—Methods or arrangements for coding, decoding, compressing or decompressing digital video signals using predictive coding involving temporal prediction
- H04N19/51—Motion estimation or motion compensation
-
- H—ELECTRICITY
- H04—ELECTRIC COMMUNICATION TECHNIQUE
- H04N—PICTORIAL COMMUNICATION, e.g. TELEVISION
- H04N19/00—Methods or arrangements for coding, decoding, compressing or decompressing digital video signals
- H04N19/60—Methods or arrangements for coding, decoding, compressing or decompressing digital video signals using transform coding
- H04N19/61—Methods or arrangements for coding, decoding, compressing or decompressing digital video signals using transform coding in combination with predictive coding
-
- H—ELECTRICITY
- H04—ELECTRIC COMMUNICATION TECHNIQUE
- H04N—PICTORIAL COMMUNICATION, e.g. TELEVISION
- H04N21/00—Selective content distribution, e.g. interactive television or video on demand [VOD]
- H04N21/20—Servers specifically adapted for the distribution of content, e.g. VOD servers; Operations thereof
- H04N21/23—Processing of content or additional data; Elementary server operations; Server middleware
- H04N21/234—Processing of video elementary streams, e.g. splicing of video streams or manipulating encoded video stream scene graphs
- H04N21/23424—Processing of video elementary streams, e.g. splicing of video streams or manipulating encoded video stream scene graphs involving splicing one content stream with another content stream, e.g. for inserting or substituting an advertisement
-
- H—ELECTRICITY
- H04—ELECTRIC COMMUNICATION TECHNIQUE
- H04N—PICTORIAL COMMUNICATION, e.g. TELEVISION
- H04N21/00—Selective content distribution, e.g. interactive television or video on demand [VOD]
- H04N21/20—Servers specifically adapted for the distribution of content, e.g. VOD servers; Operations thereof
- H04N21/23—Processing of content or additional data; Elementary server operations; Server middleware
- H04N21/234—Processing of video elementary streams, e.g. splicing of video streams or manipulating encoded video stream scene graphs
- H04N21/2343—Processing of video elementary streams, e.g. splicing of video streams or manipulating encoded video stream scene graphs involving reformatting operations of video signals for distribution or compliance with end-user requests or end-user device requirements
-
- H—ELECTRICITY
- H04—ELECTRIC COMMUNICATION TECHNIQUE
- H04N—PICTORIAL COMMUNICATION, e.g. TELEVISION
- H04N21/00—Selective content distribution, e.g. interactive television or video on demand [VOD]
- H04N21/20—Servers specifically adapted for the distribution of content, e.g. VOD servers; Operations thereof
- H04N21/25—Management operations performed by the server for facilitating the content distribution or administrating data related to end-users or client devices, e.g. end-user or client device authentication, learning user preferences for recommending movies
- H04N21/262—Content or additional data distribution scheduling, e.g. sending additional data at off-peak times, updating software modules, calculating the carousel transmission frequency, delaying a video stream transmission, generating play-lists
- H04N21/26208—Content or additional data distribution scheduling, e.g. sending additional data at off-peak times, updating software modules, calculating the carousel transmission frequency, delaying a video stream transmission, generating play-lists the scheduling operation being performed under constraints
- H04N21/26233—Content or additional data distribution scheduling, e.g. sending additional data at off-peak times, updating software modules, calculating the carousel transmission frequency, delaying a video stream transmission, generating play-lists the scheduling operation being performed under constraints involving content or additional data duration or size, e.g. length of a movie, size of an executable file
-
- H—ELECTRICITY
- H04—ELECTRIC COMMUNICATION TECHNIQUE
- H04N—PICTORIAL COMMUNICATION, e.g. TELEVISION
- H04N21/00—Selective content distribution, e.g. interactive television or video on demand [VOD]
- H04N21/40—Client devices specifically adapted for the reception of or interaction with content, e.g. set-top-box [STB]; Operations thereof
- H04N21/43—Processing 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/44—Processing 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/44016—Processing 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 splicing one content stream with another content stream, e.g. for substituting a video clip
-
- H—ELECTRICITY
- H04—ELECTRIC COMMUNICATION TECHNIQUE
- H04N—PICTORIAL COMMUNICATION, e.g. TELEVISION
- H04N21/00—Selective content distribution, e.g. interactive television or video on demand [VOD]
- H04N21/80—Generation or processing of content or additional data by content creator independently of the distribution process; Content per se
- H04N21/83—Generation or processing of protective or descriptive data associated with content; Content structuring
- H04N21/845—Structuring of content, e.g. decomposing content into time segments
- H04N21/8455—Structuring of content, e.g. decomposing content into time segments involving pointers to the content, e.g. pointers to the I-frames of the video stream
Landscapes
- Engineering & Computer Science (AREA)
- Multimedia (AREA)
- Signal Processing (AREA)
- Business, Economics & Management (AREA)
- Marketing (AREA)
- Databases & Information Systems (AREA)
- Compression Or Coding Systems Of Tv Signals (AREA)
- Television Signal Processing For Recording (AREA)
- Two-Way Televisions, Distribution Of Moving Picture Or The Like (AREA)
Abstract
一种方法,用于在视频数据流中预定的***点将来自第一个源的压缩视频数据流替换成来自第二个源的视频数据流。如果来自第二个源的视频数据流是渐进刷新的视频数据流,就比***点提前足够长的时间将它解压缩,从而允许恢复和重新压缩来自第二个源的第一个视频帧(按照编码顺序),以便在***点***。然后将恢复出来的第一视频帧重新压缩成帧内编码(Ⅰ)帧。接着在***点***该Ⅰ帧。该***点标志着视频数据流里一段广告时段的开始。
Description
本发明涉及数字电视,更具体地说,本发明涉及一种方法,用于在渐进(progressively)刷新的视频数据流中进行视频***或数据流切换。
***广告、***电视节目预告、切换演播室、切换镜头、编辑磁带等等都是电视生产和播放过程中的基本操作。在目前的模拟***中,是在视频信号的场消隐期间进行切换的。随着在例如运动图象专家组(MPEG)标准中实现的数字电视的出现,对压缩过的比特流进行切换即“接合”是非常复杂的。为了方便这种操作,MPEG-2标准规定了“接合点”,在这些接合点上可以用点信号(例如广告)来替换视频数据流中的另一个信号(例如主节目)。
目前电影与电视工程师协会(SMPTE)正在致力于关于接合MPEG-2传输流的标准草案。例如,提出来的SMPTE标准PT20.02/010“MPEG-2传输流的接合点”,第二草案,1997年7月,在这里被引用作为参考。
接合MPEG视频信号比切换未压缩视频信号要困难得多,有各种原因。为了说清这个问题,有必要了解关于MPEG传输流的一些基本概念。MPEG压缩方式主要是依靠只发送不同视频帧之间的变化信息。第一种帧,叫作预测或者“P”帧,被译码器用来从视频数据流的前一“P”帧或者从帧内编码“I”帧来预测帧。信号流只载有“微调”信息,用来修正近似预测的差错。对I帧进行压缩而不进行运动预测。因此,可以从一幅I帧重建一幅完整的帧而不必参考任何其它帧。这样,只要收到I帧信号并将它解码,就可以消除前面的帧预测差错。
双向“B”帧跟P帧类似,差别只在于进行预测时不但用了前面的I帧或者P帧,还用了后一帧。这意味着为了进行接合,虽然在任何P或I帧以后可能都不再需要旧的信号流,但在B帧以后却不可能没有该信号流,因为这样会切断B帧的后向预测参考帧。从比特流的观点来看,只有在P帧或者I帧和紧跟其后的所有B帧(如果有的话)都通过以后,才可能不再需要第一个视频数据流。
用渐进方式刷新压缩的MPEG比特流时,情况变得更加复杂。在渐进刷新信号流里,如共同转让给Krause等人的标题为“移动补偿顺序视频图像的刷新方法和装置”的美国专利第5057916号所描述的那样,每次都刷新顺序视频图像的一个区域。在刷新周期里,传输多个视频图像中每一个的不同区域而不进行压缩。这样,在刷新周期里,未压缩区域渐进地刷新该区域规定的图像区。可以控制视频图像的压缩,以防止当前刷新周期里还未刷新的区域所包括的数据破坏当前刷新周期里已经刷新了的区域所包括的数据。
为了***广告或切换节目,在视频数据流某一个预先规定的***点上用来自第二个源的压缩视频数据流替换来自第一个源的压缩视频数据流。如果来自第一个和/或第二个源的视频数据流是渐进刷新的,那么,在第一个源的视频数据流跟第二个源的视频数据流之间的两个边缘的一个或两个上,就会出现与渐进刷新有关的非自然信号(artifact)。
一种能够最大限度地减少可以看见的非自然信号的接合渐进刷新视频数据流的方法将是非常有意义的。本发明就是要提供这样一种方法。
本发明提供一种方法,用于在例如视频数据流里的一个预定***点,将来自第一个源的压缩视频数据流替换成来自第二个源的压缩视频数据流。首先判断来自第二个源的视频数据流是不是渐进刷新视频数据流。这一判断可以是实时的(例如基于对第二个源的测试),或者可以根据与第二个源有关的已有信息进行。如果来自第二个源的视频数据流是渐进刷新的,就比替换第一个源的视频数据流提前足够长的时间将它解压缩,以便在替换之前恢复来自第二个源的第一个替换视频帧并重新压缩。应当注意,在本发明里,“第一个替换视频帧”是替换视频数据流里按编码顺序排列的第一帧,它可能跟显示顺序不同,这在本领域里众所周知。
恢复出来的第一个视频帧被重新压缩成帧内编码(I)帧。然后将来自第二个源的视频数据流的I帧(例如在预定***点)***第一个视频数据流。由于I帧包括重建完整的数据帧所必需的所有信息,而且它不是渐进刷新的,因此可以干脆利落地从第一个源的视频数据切换到第二个源的视频数据。
***点可以指明视频数据流里广告时段出现的时刻。在这种情况下,第二个源提供一则广告,用于***广告时段。广告时段结束时,在数据流里的第二个***点重新开始第一个源的视频数据流。对于第一种接合,有必要确定来自第一个源的视频数据流是不是渐进刷新的视频数据流。如果是这样,就比第二个***点提前足够长的时间将该视频数据流进行解压缩,从而允许恢复并重新压缩来自第一个源的第一个视频帧(按照编码顺序),以便***第二个***点。然后重新压缩从第一个源恢复出来的第一个视频帧,从而生成一个I帧。在第二个***点***来自第一个源的视频数据流是从***从第一个源生成的I帧开始的。
还提供了一种方法,用于将视频数据流里来自第一个源的压缩视频数据流替换成渐进刷新的压缩视频数据流(例如在一个预定***点)。用来替换的视频数据流(例如一则广告)跟编码成帧内编码(I)帧的第一帧存储在一起。***替换视频数据流(例如在预定***点)时利用第一个I帧作为第一个***帧。如果来自第一个源的压缩视频数据流是渐进刷新的,而且将在第一个***点之后数据流里的第二个***点(例如广告时段结束时)重新出现,就必须处理来自第一个源的视频数据流,以避免与渐进刷新有关的非自然信号。具体而言,就是与第二个***点相比提前足够长的时间,对来自第一个源的视频数据流进行解压缩,以便恢复和重新压缩来自第一个源的第一个视频帧,从而在第二个***点***。重新压缩恢复出来的来自第一个源的第一个视频帧,从而生成一个I帧。在第二个***点***来自第一个源的视频数据流是从***从第一个源产生的I帧开始的。
图1说明的是第一个和第二个数据流S1和S2,以及包括***了数据流S2的一部分的数据流S1的第三个数据流S3;和
图2说明的是从数据流S1切换到数据流S2以后,所产生的数据流S4。
本发明提供一种方法,用来将广告或者其它视频片断***渐进刷新的比特流,以及当任意一个比特流是渐进刷新的时,从一个比特流切换到另一个比特流。
图1说明的是第一个压缩数字视频数据流10(数据流S1)。视频数据流10有一个第一***点t1,在这里广告时段开始。广告时段终止于***点t2。注意到这些***点可以包括、也可以不包括视频数据流里的预定点。既然在一个预定时间***象广告这样的视频片断更为常见,可以预见本发明将更经常地使用预定***点。但本发明并不要求一定要在预定***点***。例如,本地电视演播室想在任意时刻将本地电视片段***主视频数据流,此时,利用本发明将主视频数据流替换成替换视频数据流时不需要在预定***点进行。
如图1所示,在***点t1和t2规定的广告时段里***广告或其它视频片段S1c。具体地说,被***的视频片段S1c在***点t1开始,在***点t2结束,其中S1里的主视频节目随着广告时段的结束而重新开始。
类似的视频数据流12(数据流S2)包括一个主节目S2,其中***了广告S2c。注意,广告S1c和S2c可以分别是流S1和S2的一部分,在这种情况下,没有必要将它们分别***主视频数据流。但当广告(或者***的其它视频片段)是独立的视频片段时,就必须在合适的***点t1将它们***主视频数据流,并让它们在***点t2终止,然后主视频数据流重新开始。
视频数据流14(数据流S3)代表了一种经典的视频接合,其中数据流S1的一部分被S2c取代。如上所述,S2c可以是视频数据流S2的一部分,或者可以是单独的广告或单独的其它视频片段。如果S1和/或S2是渐进刷新的视频数据流,那么就会在S1的边界和/或S2c的边界上出现与渐进刷新有关的非自然信号。这种与刷新有关的非自然信号可能会延续一秒或更长的时间,视刷新速率而定。因此,每次将广告切进切出时,都会看到非自然信号。
将广告切入主数据流(也就是将主数据流接合出去,将广告***)时,为了避免出现这种非自然信号,可以用I、P、B帧模式来压缩广告。但是,当广告结束,将渐进刷新的主数据流重新切入时,这种渐进刷新非自然信号仍然会出现。注意,图1中数据流里的视频帧是按编码顺序排列的,这跟帧的显示顺序不同。当这些帧的顺序是编码顺序时,切入片段的第一帧将是一个I帧。
在本文中,是在一般意义上使用术语“帧”和“视频帧”,它们表示视频信号或数据流的一部分,利用例如I帧、P帧或者B帧从这些部分重构其它的部分。因此,虽然一“帧”通常是指一个“完整”的视频帧,但在本文中并不是只限于表示一个完整的视频帧,因为可以使用例如子帧、场、子场或者其它处理方法。如果是在场一级而不是在帧一级处理视频数据流,就可以使用I场、P场和B场。在这种情况下,这些场等价于视频数据流帧处理中的广义术语“帧”和“视频帧”,并用“帧”和“视频帧”来覆盖这些场的含义。
本发明通过在***时刻之前对要***的帧进行处理来解决与渐进刷新有关的非自然信号的问题。首先在***点之前提前足够长的时间对要***的视频数据进行解压缩,从而恢复出要***的第一帧,并重新压缩。如上所述,“要***的第一帧”指的是按编码顺序的第一帧,而不必是显示顺序里的第一帧。一旦将这一帧完成解压缩,就将它重新压缩成帧内编码(I)帧。这样的帧内编码帧能够独立重建而不必参考任何其它的帧,因此这样的帧不是渐进刷新帧。将恢复出来的第一帧重新压缩成I帧以后,将它用作******点的第一帧。
作为第一个实例,S1可以是一个渐进刷新的压缩视频数据流,而S2则不是渐进刷新的。如果一个序列不是渐进刷新的,那它就是I帧刷新的。在这种情况下,从S2切换到S1时,会出现渐进刷新非自然信号,但从S1切换到S2时就不会出现这种非自然信号。因此,可以从S1切换到S2,从而用I帧刷新情形里的传统方式将S2c***。但是,从S2c切换回S1时,必须利用本发明的技术,以避免出现渐进刷新非自然信号。
根据本发明,***S2c时,比***点t2早一段时间dt开始对S1进行解码。换句话说,将在时刻(t2-dt)开始对S1进行解码。在恢复出要在S2c结束时***的S1的第一帧(按编码顺序)时,将这一帧或“图像”重新压缩成帧内编码块,然后在***点S2***重新压缩的图像。数据流S1剩余的部分可以跟原来的数据流一样。
在另一个实例里,S1和S2都是渐进刷新的。在这种情况下,从数据流S1切换到视频片段S2c时,在比***点t1早dt’的某一时刻,也就是在(t1-dt’)开始对S2c进行解码。将恢复出来的S2c的第一帧(按编码顺序)重新压缩成全I块。这第一帧是在***点t1作为视频片段S2c的第一帧***的。不需要对视频片段S2c的剩余部分进行任何特别的处理。从S2c切换回S1时,采用前面的实例中所用的同样的技术,也就是说,恢复要在***点t2***的数据流S1的第一帧(按编码顺序),并重新压缩成全I块,以便在时刻t2***。
图2说明叫做“切换”的一种特殊情形。在这种情形里,从一个数据流(例如第一架摄像机给出的信号)切换到另一数据流(例如第二架摄像机给出的信号)。如图2所示,数据流16(数据流S4)是通过在***点(或“切换点”)t1从S1切换到S2而产生的。当S1是渐进刷新的,而S2却不是渐进刷新的情况下,不需要任何特别的处理。然而,在S2是渐进刷新的情况下(不管S1是不是渐进刷新的),将在切换点t1之前一段时间dt处开始对S1进行解码,这样就可以将第一帧(按编码顺序)重新压缩成一个I帧,在切换点t1切换数据流时将其用作第一帧。
时间dt和dt’是在知道需要多少帧才能完成一幅图像的渐进刷新的基础上确定的。例如,如果是在15帧以内完成渐进刷新的,那么dt和dt’就是至少等于15帧的一段时间,更常见的是比这一个值要大(例如30帧),以确保有足够的时间对必须***的视频部分的第一帧解码和重新压缩。
应当明白,本发明中为了避免渐进刷新所产生的非自然信号而采用的方法是,比***的视频部分(例如一则广告)结束时刻早几帧开始对渐进刷新的主数据流进行解码。在广告结束的时刻,获得主数据流的解码图像(例如P图像),并将它重新压缩成一个I帧。然后将以这一I帧开头的主数据流切进。主数据流里的其余帧可以是渐进刷新帧。注意到由于I帧不是用来对主数据流进行编码的真实参考帧,因此仍然有一些非自然信号。但是,跟其它情况下会发生的渐进刷新非自然信号相比,这种非自然信号令人厌烦的程度大大下降。
另外,还可以存储广告或者其它***的视频片段,使得该片段里只有第一帧是一个I帧,而其余帧都是渐进刷新的。在这种情况下,将广告切入视频数据流时,可以使用渐进刷新广告而不会出现有害的渐进刷新非自然信号。
虽然介绍本发明时涉及到了各种具体的实施方案,但是应当明白,可以对本发明进行各种修改而不会偏离本发明权利要求中提出的本发明的范围。
Claims (8)
1、一种方法,用于在视频数据流里用来自第二个源的压缩视频数据流替换来自第一个源的压缩视频数据流,该方法包括以下步骤:
确定来自所述第二个源的视频数据流是不是渐进刷新的视频数据流,如果是这样:
(a)比替换第一个源的视频数据提前足够长的时间,对来自所述第二个源的视频数据进行解压缩,从而在替换开始之前允许恢复来自第二个源的第一个替换视频帧;
(b)将恢复出来的第一个替换视频帧重新压缩成一个帧内编码(I)帧;和
(c)利用所述I帧,用第二个源的视频数据流替换第一个源的视频数据流。
2、权利要求1的方法,其中用第二个源的视频数据流替换第一个源的视频数据流,开始于在所述视频数据流里的一个预定的***点***所述I帧。
3、权利要求2的方法,其中所述***点标明了所述视频数据流中的广告时段开始时间,所述第二个源提供用于在所述广告时段***的一则广告。
4、权利要求3的方法,其中在所述广告时段结束时,来自第一个源的视频数据流在所述数据流的第二个***点上重新开始,该方法还包括以下步骤:
确定来自所述第一个源的视频数据流是不是渐进刷新的视频数据流,如果是这样:
(a)比所述第二个***点提前足够长的时间,对来自第一个源的视频数据进行解压缩,从而能够恢复来自所述第一个源的第一个视频帧以便在所述第二个***点***;
(b)重新压缩恢复出来的来自所述第一个源的第一个视频帧,从而产生一个帧内编码(I)帧;和
(c)利用从所述第一个源产生的I帧,在所述第二个***点开始***来自第一个源的视频数据流。
5、一种方法,用于将视频数据流里来自第一个源的视频数据流替换成渐进刷新的压缩视频数据流,该方法包括以下步骤:
存储用于替换的视频数据流,该视频数据流的第一帧编码成帧内编码(I)帧;和
将用于替换的视频数据流的I帧,***所述视频数据流,作为第一个***帧。
6、权利要求5的方法,其中***用于替换的视频数据流是从在所述视频数据流的一个预定***点***所述I帧开始的。
7、权利要求6的方法,其中来自第一个源的压缩视频数据流是渐进刷新的,它将在所述数据流里所述第一个***点之后的第二个***点重新开始,该方法还包括以下步骤:
(a)比所述第二个***点提前足够长的时间,对来自第一个源的视频数据流进行解压缩,从而恢复并重新压缩来自第一个源的第一个视频帧,用于***所述第二个***点;
(b)重新压缩恢复出来的来自所述第一个源的第一个视频帧,从而产生一个帧内编码(I)帧;和
(c)利用从所述第一个源产生的I帧,在第二个***点***来自第一个源的视频数据流。
8、权利要求7的方法,其中所述视频数据流里的第一个和第二个***点规定了一个广告时段,用于替换的视频数据流是一则广告,用于在所述广告时段里***。
Applications Claiming Priority (3)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
US09/196,709 | 1998-11-20 | ||
US09/196,709 US6434195B1 (en) | 1998-11-20 | 1998-11-20 | Splicing of video data in progressively refreshed video streams |
US09/196709 | 1998-11-20 |
Publications (2)
Publication Number | Publication Date |
---|---|
CN1261756A true CN1261756A (zh) | 2000-08-02 |
CN1164106C CN1164106C (zh) | 2004-08-25 |
Family
ID=22726529
Family Applications (1)
Application Number | Title | Priority Date | Filing Date |
---|---|---|---|
CNB991238036A Expired - Fee Related CN1164106C (zh) | 1998-11-20 | 1999-11-11 | 用于替换视频数据流中视频数据与压缩视频数据的方法 |
Country Status (7)
Country | Link |
---|---|
US (1) | US6434195B1 (zh) |
EP (2) | EP1569456A1 (zh) |
KR (1) | KR20000035582A (zh) |
CN (1) | CN1164106C (zh) |
CA (1) | CA2286448C (zh) |
DE (1) | DE69926711T2 (zh) |
TW (1) | TW450005B (zh) |
Cited By (6)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN100433829C (zh) * | 2002-11-28 | 2008-11-12 | 佩斯微技术有限公司 | 用于创建个人内容的方法和电子设备 |
CN101179719B (zh) * | 2006-11-10 | 2011-01-19 | 中兴通讯股份有限公司 | 视频序列的快速切换方法 |
CN101990126A (zh) * | 2009-08-07 | 2011-03-23 | 未序网络科技(上海)有限公司 | 互联网点播或直播信号动态切换中插播广告的方法 |
CN104065977A (zh) * | 2014-06-06 | 2014-09-24 | 百度在线网络技术(北京)有限公司 | 音/视频文件的处理方法及装置 |
CN108810596A (zh) * | 2017-04-27 | 2018-11-13 | 腾讯科技(深圳)有限公司 | 一种视频编辑方法、装置及终端 |
CN114125324A (zh) * | 2021-11-08 | 2022-03-01 | 北京百度网讯科技有限公司 | 一种视频拼接方法、装置、电子设备及存储介质 |
Families Citing this family (28)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
US7046910B2 (en) * | 1998-11-20 | 2006-05-16 | General Instrument Corporation | Methods and apparatus for transcoding progressive I-slice refreshed MPEG data streams to enable trick play mode features on a television appliance |
BR0108295A (pt) * | 2000-02-02 | 2003-03-18 | Worldgate Service Inc | Sistema e método para transmitir e exibir informação dirigida |
US8559797B2 (en) * | 2000-10-10 | 2013-10-15 | Broadcom Corporation | System and method for personal video recording |
US7177522B2 (en) * | 2000-10-10 | 2007-02-13 | Broadcom Corporation | System and method for personal video recording |
US6920175B2 (en) * | 2001-01-03 | 2005-07-19 | Nokia Corporation | Video coding architecture and methods for using same |
US20020122491A1 (en) * | 2001-01-03 | 2002-09-05 | Marta Karczewicz | Video decoder architecture and method for using same |
US6765963B2 (en) * | 2001-01-03 | 2004-07-20 | Nokia Corporation | Video decoder architecture and method for using same |
KR100425676B1 (ko) * | 2001-03-15 | 2004-04-03 | 엘지전자 주식회사 | 비디오 전송 시스템의 에러 복구 방법 |
US6940904B2 (en) | 2001-05-29 | 2005-09-06 | Broadcom Corporation | Artifact-free displaying of MPEG-2 video in the progressive-refresh mode |
US7068719B2 (en) | 2001-06-01 | 2006-06-27 | General Instrument Corporation | Splicing of digital video transport streams |
EP2276247A3 (en) * | 2001-06-29 | 2014-04-09 | Sony Corporation | Information supply system, information supply device and method, and information processing device and method |
US7376341B2 (en) * | 2001-07-12 | 2008-05-20 | Thomson Licensing | Modifying video signals by converting non-intra pictures |
US7693220B2 (en) * | 2002-01-03 | 2010-04-06 | Nokia Corporation | Transmission of video information |
US7840119B2 (en) * | 2002-09-25 | 2010-11-23 | General Instrument Corporation | Methods and apparatus for processing progressive I-slice refreshed MPEG data streams to enable trick play mode features on a display device |
US7577204B2 (en) * | 2002-11-15 | 2009-08-18 | Broadcom Corporation | Hits stream rewind |
US20040260827A1 (en) * | 2003-06-19 | 2004-12-23 | Nokia Corporation | Stream switching based on gradual decoder refresh |
US7609762B2 (en) * | 2003-09-07 | 2009-10-27 | Microsoft Corporation | Signaling for entry point frames with predicted first field |
US8213779B2 (en) * | 2003-09-07 | 2012-07-03 | Microsoft Corporation | Trick mode elementary stream and receiver system |
US7924921B2 (en) * | 2003-09-07 | 2011-04-12 | Microsoft Corporation | Signaling coding and display options in entry point headers |
US7839930B2 (en) * | 2003-11-13 | 2010-11-23 | Microsoft Corporation | Signaling valid entry points in a video stream |
US7852919B2 (en) * | 2003-09-07 | 2010-12-14 | Microsoft Corporation | Field start code for entry point frames with predicted first field |
US7818444B2 (en) | 2004-04-30 | 2010-10-19 | Move Networks, Inc. | Apparatus, system, and method for multi-bitrate content streaming |
US8346157B1 (en) * | 2004-06-16 | 2013-01-01 | Colby Steven M | Content customization in asymmertic communication systems |
CN101946500B (zh) | 2007-12-17 | 2012-10-03 | 伊克鲁迪控股公司 | 实时视频包含*** |
US8665963B2 (en) * | 2008-08-25 | 2014-03-04 | The University Of Electro-Communications | Communication terminal, content reproduction method, content reproduction program, and content reproduction system for distributing and reproducing video contents with reduced stress |
CN105323636A (zh) * | 2015-10-29 | 2016-02-10 | 无锡天脉聚源传媒科技有限公司 | 一种视频处理方法及装置 |
CN106028088B (zh) * | 2016-06-16 | 2018-12-11 | 腾讯科技(深圳)有限公司 | 媒体数据的***方法和装置 |
US11979624B1 (en) * | 2022-12-06 | 2024-05-07 | Sling TV L.L.C. | Correcting ad markers in media content |
Family Cites Families (9)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
US5057916A (en) * | 1990-11-16 | 1991-10-15 | General Instrument Corporation | Method and apparatus for refreshing motion compensated sequential video images |
JP3275423B2 (ja) * | 1993-03-04 | 2002-04-15 | キヤノン株式会社 | 記録装置 |
JPH07212766A (ja) * | 1994-01-18 | 1995-08-11 | Matsushita Electric Ind Co Ltd | 動画像圧縮データ切り換え装置 |
DE69529579D1 (de) | 1994-06-17 | 2003-03-13 | Snell & Wilcox Ltd | Komprimieren eines aus kompressionskodierten Videosignalen nach deren Teildekodierung kombinierten Signales |
JP3019912B2 (ja) * | 1994-07-22 | 2000-03-15 | 日本ビクター株式会社 | 画像データ編集装置 |
US5568200A (en) * | 1995-06-07 | 1996-10-22 | Hitachi America, Ltd. | Method and apparatus for improved video display of progressively refreshed coded video |
JP4666695B2 (ja) | 1996-07-15 | 2011-04-06 | アムストラ.インベストメンツ フォー ケイ.ジー.,リミテッド ライアビリティ カンパニー | ビデオ信号圧縮処理方法 |
US6029045A (en) * | 1997-12-09 | 2000-02-22 | Cogent Technology, Inc. | System and method for inserting local content into programming content |
US6167084A (en) * | 1998-08-27 | 2000-12-26 | Motorola, Inc. | Dynamic bit allocation for statistical multiplexing of compressed and uncompressed digital video signals |
-
1998
- 1998-11-20 US US09/196,709 patent/US6434195B1/en not_active Expired - Lifetime
-
1999
- 1999-10-08 TW TW088117434A patent/TW450005B/zh not_active IP Right Cessation
- 1999-10-18 CA CA002286448A patent/CA2286448C/en not_active Expired - Fee Related
- 1999-10-19 EP EP05007998A patent/EP1569456A1/en not_active Withdrawn
- 1999-10-19 EP EP99120066A patent/EP1009166B1/en not_active Expired - Lifetime
- 1999-10-19 DE DE69926711T patent/DE69926711T2/de not_active Expired - Fee Related
- 1999-11-11 CN CNB991238036A patent/CN1164106C/zh not_active Expired - Fee Related
- 1999-11-19 KR KR1019990051536A patent/KR20000035582A/ko not_active IP Right Cessation
Cited By (8)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN100433829C (zh) * | 2002-11-28 | 2008-11-12 | 佩斯微技术有限公司 | 用于创建个人内容的方法和电子设备 |
CN101179719B (zh) * | 2006-11-10 | 2011-01-19 | 中兴通讯股份有限公司 | 视频序列的快速切换方法 |
CN101990126A (zh) * | 2009-08-07 | 2011-03-23 | 未序网络科技(上海)有限公司 | 互联网点播或直播信号动态切换中插播广告的方法 |
CN101990126B (zh) * | 2009-08-07 | 2015-01-07 | 传线网络科技(上海)有限公司 | 互联网点播或直播信号动态切换中插播广告的方法 |
CN104065977A (zh) * | 2014-06-06 | 2014-09-24 | 百度在线网络技术(北京)有限公司 | 音/视频文件的处理方法及装置 |
CN108810596A (zh) * | 2017-04-27 | 2018-11-13 | 腾讯科技(深圳)有限公司 | 一种视频编辑方法、装置及终端 |
CN114125324A (zh) * | 2021-11-08 | 2022-03-01 | 北京百度网讯科技有限公司 | 一种视频拼接方法、装置、电子设备及存储介质 |
CN114125324B (zh) * | 2021-11-08 | 2024-02-06 | 北京百度网讯科技有限公司 | 一种视频拼接方法、装置、电子设备及存储介质 |
Also Published As
Publication number | Publication date |
---|---|
DE69926711T2 (de) | 2006-05-18 |
DE69926711D1 (de) | 2005-09-22 |
CA2286448C (en) | 2006-10-17 |
EP1009166A3 (en) | 2003-06-18 |
US6434195B1 (en) | 2002-08-13 |
EP1009166B1 (en) | 2005-08-17 |
CA2286448A1 (en) | 2000-05-20 |
TW450005B (en) | 2001-08-11 |
KR20000035582A (ko) | 2000-06-26 |
EP1009166A2 (en) | 2000-06-14 |
CN1164106C (zh) | 2004-08-25 |
EP1569456A1 (en) | 2005-08-31 |
Similar Documents
Publication | Publication Date | Title |
---|---|---|
CN1164106C (zh) | 用于替换视频数据流中视频数据与压缩视频数据的方法 | |
JP4819562B2 (ja) | ビデオ符号化における画像フレームのグループ化 | |
EP1634457B1 (en) | Encoding method and apparatus enabling fast channel change of compressed video | |
EP0982948B1 (en) | MPEG stream switching process for open GOPs | |
EP0948205B1 (en) | A method and apparatus for processing compressed video data streams | |
JP3228874B2 (ja) | 圧縮ディジタルビデオビットストリーム分割方法及び装置、並びにその復号方法及び装置 | |
JP4649615B2 (ja) | 映像符号化、復号化装置および映像符号化、復号化方法、並びにそれらのプログラム | |
EP1467563A1 (en) | Editing device and method | |
CN101232615A (zh) | 用于在视频编码中随机存取和逐步更新图像的方法 | |
JP2012070427A (ja) | ビデオ符号化における画像フレームのグループ化 | |
CA2412722A1 (en) | Video error resilience | |
EP0995315A1 (en) | Switching compressed video bitstreams | |
KR20010072769A (ko) | 다채널 데이터 압축 방법 | |
KR100334364B1 (ko) | 온-스크린 디스플레이 스크롤 장치 | |
CN103458271A (zh) | 音视频文件拼接方法和装置 | |
KR20020065311A (ko) | 동화상 데이터의 기록 재생방법 및 장치 | |
CN101179719B (zh) | 视频序列的快速切换方法 | |
KR100215824B1 (ko) | 엠펙 디코더의 프레임 메모리 및 영상 데이타 디코딩방법 | |
US7711048B2 (en) | System and method for video processing | |
GB2372657A (en) | Preserving compression parameters, including buffer occupancy values, when decoding a signal | |
JP2003116136A (ja) | 動画像復号装置 | |
JP2001128165A (ja) | 映像信号切替え装置及びその映像信号切替え方式 | |
JP4064036B2 (ja) | インターレース方式とプログレッシブ方式が混在する映像ストリームのシームレス復号装置 | |
CN101184228A (zh) | 视频序列的快速切换方法 | |
CN101184230A (zh) | 在视频序列中***切换帧的方法 |
Legal Events
Date | Code | Title | Description |
---|---|---|---|
C06 | Publication | ||
PB01 | Publication | ||
C10 | Entry into substantive examination | ||
SE01 | Entry into force of request for substantive examination | ||
C14 | Grant of patent or utility model | ||
GR01 | Patent grant | ||
C19 | Lapse of patent right due to non-payment of the annual fee | ||
CF01 | Termination of patent right due to non-payment of annual fee | ||
REG | Reference to a national code |
Ref country code: HK Ref legal event code: WD Ref document number: 1029883 Country of ref document: HK |