CN105704541B - 一种视频无缝切换方法 - Google Patents

一种视频无缝切换方法 Download PDF

Info

Publication number
CN105704541B
CN105704541B CN201610027308.4A CN201610027308A CN105704541B CN 105704541 B CN105704541 B CN 105704541B CN 201610027308 A CN201610027308 A CN 201610027308A CN 105704541 B CN105704541 B CN 105704541B
Authority
CN
China
Prior art keywords
video
frame
synchronization signal
switching
local
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
CN201610027308.4A
Other languages
English (en)
Other versions
CN105704541A (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.)
Guangzhou Greatron Electronic Technology Co Ltd
Original Assignee
Guangzhou Greatron Electronic Technology Co Ltd
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 Guangzhou Greatron Electronic Technology Co Ltd filed Critical Guangzhou Greatron Electronic Technology Co Ltd
Priority to CN201610027308.4A priority Critical patent/CN105704541B/zh
Publication of CN105704541A publication Critical patent/CN105704541A/zh
Application granted granted Critical
Publication of CN105704541B publication Critical patent/CN105704541B/zh
Expired - Fee Related legal-status Critical Current
Anticipated expiration legal-status Critical

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/44Processing of video elementary streams, e.g. splicing a video clip retrieved from local storage with an incoming video stream, rendering scenes according to MPEG-4 scene graphs
    • H04N21/4402Processing of video elementary streams, e.g. splicing a video clip retrieved from local storage with an incoming video stream, rendering scenes according to MPEG-4 scene graphs involving reformatting operations of video signals for household redistribution, storage or real-time display
    • H04N21/440218Processing of video elementary streams, e.g. splicing a video clip retrieved from local storage with an incoming video stream, rendering scenes according to MPEG-4 scene graphs involving reformatting operations of video signals for household redistribution, storage or real-time display by transcoding between formats or standards, e.g. from MPEG-2 to MPEG-4
    • 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/433Content storage operation, e.g. storage operation in response to a pause request, caching operations
    • H04N21/4331Caching operations, e.g. of an advertisement for later insertion during playback
    • 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/442Monitoring of processes or resources, e.g. detecting the failure of a recording device, monitoring the downstream bandwidth, the number of times a movie has been viewed, the storage space available from the internal hard disk
    • H04N21/44204Monitoring of content usage, e.g. the number of times a movie has been viewed, copied or the amount which has been watched
    • 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/442Monitoring of processes or resources, e.g. detecting the failure of a recording device, monitoring the downstream bandwidth, the number of times a movie has been viewed, the storage space available from the internal hard disk
    • H04N21/44209Monitoring of downstream path of the transmission network originating from a server, e.g. bandwidth variations of a wireless network
    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04NPICTORIAL COMMUNICATION, e.g. TELEVISION
    • H04N5/00Details of television systems
    • H04N5/222Studio circuitry; Studio devices; Studio equipment
    • H04N5/262Studio circuits, e.g. for mixing, switching-over, change of character of image, other special effects ; Cameras specially adapted for the electronic generation of special effects
    • H04N5/268Signal distribution or switching

Abstract

本发明公开了一种视频无缝切换方法,包括步骤:S1、完成有缝切换的视频经解码芯片解码后,先进行分辨率检测;S2、根据检测到的分辨率数据产生本地视频同步信号;S3、采用本地时钟对待处理视频的同步信号进行监测,如果出现异常变化则说明发生了有缝切换,丢弃异常变化前后不完整的帧数据;S4、对正常视频数据进行帧缓存;S5、如果检测到前后两帧的分辨率相差较大,则需要将后面所有的视频帧进行缩放,缩放大小与前面那帧的大小一致;S6、按照本地视频同步信号,将缓存的帧数据读出,经编码芯片后输出。本发明用本地时钟监测视频源并进行帧缓存,可消除由于外界干扰或者接口松动引起的视频抖动和短暂的黑屏,将切换和无缝处理分离开来,模块化程度更高。

Description

一种视频无缝切换方法
技术领域
本发明涉及视频处理技术领域,尤其涉及的是一种视频无缝切换方法。
背景技术
现有视频无缝切换技术需要对参加切换的所有视频源进行帧缓存,成本较高。尤其是当要切换的视频源数目比较多时会使系统过于庞大,难以实现。因此,现有技术还有待于改进和发展。
发明内容
本发明要解决的技术问题在于,针对现有技术的上述缺陷,提供一种视频无缝切换方法,本发明解决技术问题所采用的技术方案如下:
一种视频无缝切换方法,包括步骤:
S1、完成有缝切换的视频经解码芯片解码后,先进行分辨率检测;
S2、根据检测到的分辨率数据产生本地视频同步信号;
S3、采用本地时钟对所述同步信号进行监测,如果出现异常变化说明发生了有缝切换,如果发生了有缝切换,则丢弃异常变化前后不完整的帧数据;
S4、对正常视频数据流进行帧缓存;
S5、如果检测到前后两帧的分辨率相差较大,则需要将后面所有的视频帧进行缩放,缩放大小与前面那帧的大小一致;
S6、按照本地视频同步信号,将缓存的帧数据读出,并经编码芯片后输出。
所述本地视频同步信号包括:CLK、DE、HSYNC、VSYHC信号。
所述帧缓存存储到外部DDR中。
所述帧缓存数据为三到五帧。
所述DDR为DDR2和/或DDR3。
本发明所提供的一种视频无缝切换方法,将切换后的视频进行帧缓存,可以消除由于外界干扰或者接口松动引起的视频抖动和短暂的黑屏,将切换和无缝处理分离开来,模块化程度更高。
附图说明
图1是传统视频切换方法的基本流程框图。
图2是本发明视频无缝切换方法的原理框图。
图3是本发明视频无缝切换方法的第一实施例流程框图。
图4是本发明视频无缝切换方法的第一实施例方法流程图。
具体实施方式
为使本发明的目的、技术方案及优点更加清楚、明确,以下参照附图并举实施例对本发明进一步详细说明。应当理解,此处所描述的具体实施例仅仅用以解释本发明,并不用于限定本发明。
请参见图1,图1是传统视频切换方法的基本流程框图。传统视频无缝切换矩阵需要在切换之前将参与切换的多个视频源进行帧缓存,这样势必增加系统运行负担,当切换前后分辨率不相同时先要进行缩放,然后进行同步控制,在视频的消隐期间完成无缝切换。
请参见图2,图2是本发明视频无缝切换方法的原理框图。具体实施时,视频流视频输入1,视频输入2,……,视频输入N,经过普通交叉切换矩阵完成有缝切换后,再经过无缝处理器,然后输出视频输出1,视频输出2,……,视频输出N。
请参见图3,本发明视频无缝切换方法的第一实施例流程框图。具体实施时,输入视频流经过普通交叉矩阵切换后,进入无缝切换处理器。在无缝处理器中,先进行分辨率检测,产生本地视频同步信号CLK、DE、HSYNC、VSYHC,同时用本地时钟去监测该输入视频流的同步信号,判断是否发生了视频切换。然后将完整的视频帧进行帧缓存,并根据需要进视频缩放,最后用本地同步信号输出缓存的视频帧,实现无缝切换。
请参见图4,图4是本发明视频无缝切换方法的第一实施例方法流程图。具体实施时,包括步骤:
S1、完成有缝切换的视频经解码芯片解码后,先进行分辨率检测;
S2、根据检测到的分辨率数据产生本地视频同步信号;
S3、采用本地时钟对所述同步信号进行监测,如果出现异常变化说明发生了有缝切换,如果发生了有缝切换,则丢弃异常变化前后不完整的帧数据;
S4、对正常视频数据流进行帧缓存;
S5、如果检测到前后两帧的分辨率相差较大,则需要将后面所有的视频帧进行缩放,缩放大小与前面那帧的大小一致;
S6、按照本地视频同步信号,将缓存的帧数据读出,并经编码芯片后输出。
本地视频同步信号包括:CLK、DE、HSYNC、VSYHC信号。优选地,帧缓存存储到外部DDR中。优选地,帧缓存数据为三到五帧。优选地,DDR选为DDR2和/或DDR3。
由上可见,本发明是在切换完成后进行无缝化处理,只需要将切换后的视频进行帧缓存,而现有无缝切换技术需要将参与切换的两路视频均进行帧缓存。因此本技术完一次无缝切换所需缓存的数据量是现有技术的一半,可以节约成本;另外,本技术比传统无缝切换矩阵更加灵活,可以做成单独的模块接到普通交叉矩阵的后面。如果用户不需要全部输出接口都具备无缝切换功能,可以有选择得接上无缝模块,增加了产品的灵活性;本发明除了可以实现无缝切换功能外,还具有视频去抖动,去黑屏等功能,可以消除由于外界干扰或者接口松动引起的视频抖动和短暂的黑屏。
综上所述,本发明所提供的一种视频无缝切换方法,用本地时钟监测视频源并进行帧缓存,可以消除由于外界干扰或者接口松动引起的视频抖动和短暂的黑屏,将切换和无缝处理分离开来,模块化程度更高。
应当理解的是,本发明的应用不限于上述的举例,对本领域普通技术人员来说,可以根据上述说明加以改进或变换,所有这些改进和变换都应属于本发明所附权利要求的保护范围。

Claims (5)

1.一种视频无缝切换方法,其特征在于,包括步骤:
S1、完成有缝切换的视频经解码芯片解码后,先进行分辨率检测;
S2、根据检测到的分辨率数据产生本地视频同步信号;
S3、采用本地时钟对所述同步信号进行监测,如果出现异常变化说明发生了有缝切换,如果发生了有缝切换,则丢弃异常变化前后不完整的帧数据;
S4、对正常视频数据流进行帧缓存;
S5、如果检测到前后两帧的分辨率相差较大,则需要将后面所有的视频帧进行缩放,缩放大小与前面那帧的大小一致;
S6、按照本地视频同步信号,将缓存的帧数据读出,并经编码芯片后输出。
2.根据权利要求1所述的一种视频无缝切换方法,其特征在于,所述本地视频同步信号包括:CLK、DE、HSYNC、VSYHC信号。
3.根据权利要求1所述的一种视频无缝切换方法,其特征在于,所述帧缓存存储到外部DDR中。
4.根据权利要求3所述的一种视频无缝切换方法,其特征在于,所述帧缓存数据为三到五帧。
5.根据权利要求3所述的一种视频无缝切换方法,其特征在于,所述DDR为DDR2和/或DDR3。
CN201610027308.4A 2016-01-07 2016-01-07 一种视频无缝切换方法 Expired - Fee Related CN105704541B (zh)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN201610027308.4A CN105704541B (zh) 2016-01-07 2016-01-07 一种视频无缝切换方法

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN201610027308.4A CN105704541B (zh) 2016-01-07 2016-01-07 一种视频无缝切换方法

Publications (2)

Publication Number Publication Date
CN105704541A CN105704541A (zh) 2016-06-22
CN105704541B true CN105704541B (zh) 2019-11-12

Family

ID=56227412

Family Applications (1)

Application Number Title Priority Date Filing Date
CN201610027308.4A Expired - Fee Related CN105704541B (zh) 2016-01-07 2016-01-07 一种视频无缝切换方法

Country Status (1)

Country Link
CN (1) CN105704541B (zh)

Families Citing this family (3)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN106412527A (zh) * 2016-11-28 2017-02-15 深圳市载德光电技术开发有限公司 一种高清音视频的无缝切换实现热备份的方法及系统
CN108965819B (zh) * 2018-08-08 2020-12-15 深圳市昊一源科技有限公司 一种同步信号处理方法、装置及视频传输系统
CN110955400B (zh) * 2019-12-02 2022-09-20 苏州长风航空电子有限公司 一种显示设备冗余备份方法

Citations (5)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JP2009218767A (ja) * 2008-03-10 2009-09-24 Nec Corp 映像音声信号シームレス切替装置および映像音声信号シームレス切替方法
CN102752543A (zh) * 2012-07-27 2012-10-24 北京威泰嘉业科技有限公司 高清混合矩阵无缝切换方法及系统
CN104836965A (zh) * 2015-06-16 2015-08-12 深圳市邦彦信息技术有限公司 一种基于fpga的视频同步切换系统及方法
CN105100644A (zh) * 2015-07-15 2015-11-25 西安诺瓦电子科技有限公司 视频源无缝切换方法
CN105120184A (zh) * 2015-10-09 2015-12-02 深圳市捷视飞通科技有限公司 一种基于fpga的高清视频无缝矩阵

Family Cites Families (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
WO2010116445A1 (ja) * 2009-03-30 2010-10-14 Necディスプレイソリューションズ株式会社 映像表示装置

Patent Citations (5)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JP2009218767A (ja) * 2008-03-10 2009-09-24 Nec Corp 映像音声信号シームレス切替装置および映像音声信号シームレス切替方法
CN102752543A (zh) * 2012-07-27 2012-10-24 北京威泰嘉业科技有限公司 高清混合矩阵无缝切换方法及系统
CN104836965A (zh) * 2015-06-16 2015-08-12 深圳市邦彦信息技术有限公司 一种基于fpga的视频同步切换系统及方法
CN105100644A (zh) * 2015-07-15 2015-11-25 西安诺瓦电子科技有限公司 视频源无缝切换方法
CN105120184A (zh) * 2015-10-09 2015-12-02 深圳市捷视飞通科技有限公司 一种基于fpga的高清视频无缝矩阵

Non-Patent Citations (1)

* Cited by examiner, † Cited by third party
Title
高清视频切换技术的研究与实现;刘艳英;《中国优秀硕士学位论文全文数据库》;20150228;正文第16-28页,图3.6 *

Also Published As

Publication number Publication date
CN105704541A (zh) 2016-06-22

Similar Documents

Publication Publication Date Title
US20210160418A1 (en) Image data processing for digital overlap wide dynamic range sensors
JP4438795B2 (ja) 映像変換装置、映像表示装置、映像変換方法
CN105704541B (zh) 一种视频无缝切换方法
US6594399B1 (en) Method and apparatus for integrating multiple 1-D filters into a digital image stream interface
EP1024663A3 (en) Image processing device
JP2006165602A5 (zh)
US9973712B2 (en) Video image mosaic system and method
US20110134212A1 (en) Method and system for processing 3-d video
US8830403B1 (en) Image processing device and image processing method
US9832421B2 (en) Apparatus and method for converting a frame rate
CN102457701B (zh) 图像显示处理方法及装置
CN104902193A (zh) 一种基于fpga对图像数据进行分割处理和显示的方法
JP2008187222A (ja) 動きベクトル検出装置、動きベクトル検出方法、映像表示装置
WO2017166879A1 (zh) 教学录播用锁定画面的方法及装置
WO2019109699A1 (zh) 图片处理方法和装置
CN106341575A (zh) 一种视频信号实时输出处理系统
US8885939B2 (en) Image processing apparatus configured to perform image processing for plural images and control method thereof
US9414039B2 (en) Information processing method and information processing device
CN102625086A (zh) 一种用于高清数字矩阵的ddr2存储方法和系统
US7944510B2 (en) Broadcast receiving apparatus for capturing broadcast signal and method thereof
US9100555B2 (en) Hybrid mode repeater/re-driver for high speed digital video signaling
EP3107283A1 (en) Method and apparatus for transmitting video signal
CN104320563A (zh) 图像处理方法和系统
CN101257588A (zh) 用于处理电视分割画面的影像处理系统与方法
CN107071326B (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
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: 20191112