CN102752569B - Based on video analysis video playback method and system - Google Patents

Based on video analysis video playback method and system Download PDF

Info

Publication number
CN102752569B
CN102752569B CN201210214729.XA CN201210214729A CN102752569B CN 102752569 B CN102752569 B CN 102752569B CN 201210214729 A CN201210214729 A CN 201210214729A CN 102752569 B CN102752569 B CN 102752569B
Authority
CN
China
Prior art keywords
image
video
analysis
current frame
frame
Prior art date
Application number
CN201210214729.XA
Other languages
Chinese (zh)
Other versions
CN102752569A (en
Inventor
李磊磊
Original Assignee
杭州天视智能系统有限公司
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 杭州天视智能系统有限公司 filed Critical 杭州天视智能系统有限公司
Priority to CN201210214729.XA priority Critical patent/CN102752569B/en
Publication of CN102752569A publication Critical patent/CN102752569A/en
Application granted granted Critical
Publication of CN102752569B publication Critical patent/CN102752569B/en

Links

Abstract

一种基于视频分析的视频播放方法,包括:对接收到的视频图像进行解码,还原成图像序列;对所述图像序列逐帧进行分析,对不符合预先设定的条件的图像序列进行过滤,改变视频图像的播放速率;显示过滤后的图像。 Based on method of video analysis of the video player, comprising: a video image decoding received, is reduced to a sequence of images; the image sequence frame by frame analysis of the sequence of images does not meet the conditions set in advance is filtered, changing the playback rate of the video image; filtered image display. 本发明通过预先设定的过滤条件改变视频图像的播放速率,将视频中不满足条件的时间段自动快进或略过,帮助用户在调阅视频监控录像时更快的找到视频段,节约时间,提高效率。 The present invention changes the filter condition set in advance by the playback rate of the video image, the video does not satisfy the condition of time automatically fast forward or skip, to help users to quickly find a video segment when access to video surveillance video, saving time ,Improve efficiency. 另外,本发明还提供了一种基于视频分析的视频播放的系统。 Further, the present invention also provides a method for video play video analysis system.

Description

一种基于视频分析的视频播放方法及其系统 Based on video analysis video playback method and system

技术领域 FIELD

[0001] 本发明涉及视频智能分析及多媒体技术,尤其涉及一种基于视频分析的视频播放方法及其系统。 [0001] The present invention relates to intelligent analysis of video and multimedia technology, particularly to a video-based analysis of video playback method and system.

背景技术 Background technique

[0002] 近年来,随着国民经济的快速增长、社会的迅速进步和国力的不断增强,银行、电力、交通、安检以及军事设施等领域对安全防范和现场记录报警系统的需求与日倶增,要求越来越高,视频监控在生产生活各方面得到了广泛的应用。 [0002] In recent years, the field of rapid economic growth, rapid social progress and national strength is growing, banking, electricity, transport, security and military facilities to records and on-site security alarm system with the Japanese Ju increasing demand , increasingly high demand, video surveillance has been widely used in various aspects of production and life. 然而,现有的视频监控系统通常只是录制视频图像,当用户调阅历史资料查找所需要的信息时,往往需要查看大量无意义的视频,浪费时间,效率低。 However, the existing video surveillance system is usually just record a video image when the user access to historical data to find the information needed, often need to see a lot of video meaningless, a waste of time and low efficiency. 例如:刑事案件的侦破的过程中,用户需要调阅大量的视频监控录像去寻找一辆移动的可疑车辆,然而,在所调阅的视频监控录像中,可能大部分时间所观看的都是无意义的视频,如:没有车辆信息的画面或静止状态的画面等,因此,消耗大量人力和时间,不仅容易延误破案的时机,同时,也容易因为长时间观看无意义的视频导致的疲劳而错过目标。 For example: the process of detection of criminal cases, users need access to large amounts of video surveillance video to find a suspicious vehicle movement, however, the access to the video surveillance video, may watch most of the time are no the significance of the video, such as: no vehicle information screen or static state of the picture and so, therefore, consume a lot of manpower and time, not only easy to delay the timing of detection, but also easy because of fatigue for a long time to watch the video meaningless due to missed aims.

发明内容 SUMMARY

[0003] 有鉴于此,需提供一种基于视频分析的视频播放方法,可以根据事先设定的过滤条件将视频中不满足条件的时间段自动快进或略过,帮助用户在调阅视频监控录像时更快的找到视频段,节约时间,提高效率。 [0003] In view of this, the need to provide a method of playing a video based on video analysis, according to the filtering condition can be preset condition is not satisfied in the video period or skip automatically fast-forward, to help the user access to the video monitor faster find when recording video segment, save time and improve efficiency.

[0004] 本发明的发明目的是通过以下技术方案来实现的: [0004] The invention object of the present invention is achieved by the following technical solution:

[0005] -种基于视频分析的视频播放方法,包括:对接收到的视频图像进行解码,还原成图像序列;对所述图像序列逐帧进行分析,对不符合预先设定的条件的图像序列进行过滤, 改变视频图像的播放速率;显示过滤后的图像。 [0005] - species based video playback video analysis method, comprising: video decoding the received image, is reduced to a sequence of images; of the sequence of images is analyzed frame by frame sequence of images of the predetermined conditions do not meet the filtered, changing the playback rate of the video image; filtered image display.

[0006] 上述的基于视频分析的视频播放方法,其中:所述对所述图像序列逐帧进行分析, 对不符合预先设定的条件的图像序列进行过滤,改变视频图像的播放速率的步骤包括:获取解码后的一帧图像;判断当前帧图像是否符合预先设定的条件;若不符合预先设定的条件,则判断连续不符合用户设定的条件的图像的帧数是否小于预设的数值;若不小于预设的数值,则依据预先设定的方式进行减帧处理;若小于预设的数值,或者当前帧图像符合预先设定的条件,则将当前帧图像传送至展现模块进行显示,并请求下一帧图像。 [0006] The video playback method for a video-based analysis, wherein: said step of said image sequence frame by frame analysis of the sequence of images does not meet the preset condition was filtered, changing playback rate of the video image comprising : obtaining a decoded image; determining whether the current frame image meet the predetermined condition; do not meet the predetermined condition, it is determined whether the condition does not meet the continuous number of frames set by the user is less than a preset image value; if less than the predetermined value, subtraction is performed based on the frame processing mode set in advance; if less than the predetermined value, or the current frame image meet the predetermined condition, the current frame image to the presentation modules, display, and requests the next frame.

[0007]上述的基于视频分析的视频播放方法,其中:所述判断当前帧图像是否符合预先设定的条件的步骤包括:判断当前帧图像上是否有用户设定的信息;若当前帧图像上没有用户设定的信息,则继续判断是否对当前帧图像进行动静分析;若需要对当前帧图像进行动静分析,则缓存当前帧图像到视频分析队列中,进行动静分析;若不需要对当前帧图像进行动静分析,则请求下一帧图像。 [0007] The video player based video analysis method, wherein the above: said step of determining whether the current frame image meet the predetermined condition comprises: determining whether information set by the user on the current frame image; if the current frame image on no information set by the user, then determine if the current frame image movement analysis; if necessary for movement of the current frame image analysis, the current frame image to the video buffer queue analysis, movement analysis performed; if the current frame requires image movement analysis, the next frame is requested.

[0008]上述的基于视频分析的视频播放方法,其中:所述若需要对所述图像进行动静分析,则缓存当前帧图像到视频分析队列中,进行动静分析的步骤包括:判断所述视频分析队列中是否缓存有前一帧图像;若缓存有前一帧图像,则判断当前帧图像与前一帧图像的差异是否小于阀值;若小于阀值,则缓存当前帧图像;若没有缓存前一帧图像,或者不小于阀值,则缓存当前帧图像,并将当前帧图像传送至展现模块进行显示,并请求下一帧图像 [0008] The video playback method for a video-based analysis, wherein: the step of analyzing the movement required if the image, the current frame image to the video buffer queue analysis, movement analysis performed comprises: determining whether the video analysis if the queue buffers the previous frame image; if the previous frame buffers, it is determined that the current difference frame image of the previous frame image is less than a threshold value; if less than the threshold, then the current frame image buffer; if the former is not cached an image, or not less than the threshold, then cache the current frame image and the current frame image is transmitted to the display presentation modules, and request the next frame

[0009] 上述的基于视频分析的视频播放方法,其中:还包括:若当前帧图像上有用户设定的信息,则将当前帧图像传送至展现模块进行显示,并请求下一帧图像。 [0009] The video playback method for a video-based analysis, wherein: further comprising: if the information set by the user on the current frame image, the current frame image to the display presentation modules, and request the next frame.

[0010] 上述的基于视频分析的视频播放方法,其中:所述减帧处理是通过部分丢弃或全部丢弃不符合预先设定的条件的图像序列来实现;所述若不小于预设的数值,则依据预先设定的方式进行减帧处理的步骤包括:判断是否显示当前帧图像;若不显示当前帧图像,则请求下一帧图像;若需要显示当前帧图像,则将当前帧图像传送至展现模块进行显示,并请求下一帧图像。 [0010] The video playback method for a video-based analysis, wherein: the frame subtraction process is accomplished by discarding or dropping all image sequence does not meet the predetermined condition portion; if less than the predetermined value, Save frame processing step is performed in accordance with a predetermined mode comprises: determining whether the current frame image is displayed; if the current frame image is displayed, requesting the next frame; if necessary to display the current frame image, the current frame image is transmitted to the display presentation modules, and request the next frame.

[0011] 上述的基于视频分析的视频播放方法,其中:所述若需要显示当前帧图像是当且仅当以下等式成立时,则需要显示当前帧图像 [0011] The video playback method for a video-based analysis, wherein: if the current frame image is to be displayed if and only if the following equation is satisfied, the current frame image to be displayed

Figure CN102752569BD00051

其中,n为连续不符合用户设定的信息的图像的帧数;k为不大于1的非负整数,是用户设定的每1帧传送图像的帧数。 Wherein, n-consecutive image frames do not meet the information set by the user; K is a nonnegative integer no greater than 1, the number of frames transmitted per one image set by the user.

[0012] 另外,本发明还提供一种基于视频分析的视频播放系统。 [0012] Further, the present invention also provides a video playback system for video analysis.

[0013] -种基于视频分析的视频播放系统,包括解码模块、频分析处理模块以及展现模块。 [0013] - Analysis kinds of video based on the video playback system, comprising a decoding module, frequency analysis processing module and a presentation module. 其中,解码模块用于对接收到的视频图像进行解码,还原成图像序列。 Wherein the video decoding means for decoding the received image, the image is reduced to a sequence. 视频分析处理模块用于对所述图像序列逐帧进行分析,对不符合预先设定的条件的图像序列进行过滤,改变视频图像的播放速率。 Video processing means for analyzing the image sequence frame by frame analysis of the sequence of images does not meet the preset condition was filtered, the video image playback rate changes. 展现模块用于显示过滤后的图像。 Presentation means for displaying the image after filtering.

[0014] 上述的基于视频分析的视频播放系统,其中:所述视频分析处理模块包括获取子模块、判断子模块、减帧处理子模块以及传送子模块。 [0014] The video player based video analysis system, wherein said: analyzing the video processing module includes obtaining sub-module, judging sub-module, a frame subtraction processing sub-module and a transmission module. 其中,获取子模块用于获取解码后的一帧图像;判断子模块,与所述获取子模块连接,用于根据预先设定的条件对所获取的当前帧图像进行分析判断;减帧处理子模块,与所述判断子模块连接,用于根据所述判断子模块的判断结果,依据预先设定的方式对所述图像序列进行减帧处理;传送子模块,用于传送减帧处理后的图像,并请求下一帧图像。 The obtaining sub-module configured to acquire a decoded image; judging sub-module, connected to the obtaining sub-module, for analyzing the current frame image is determined according to the acquired predetermined condition; Save processing sub-frame module, sub-module connected with the determination, a determination based on the result of determination sub-module, the image sequence frame subtraction processing based on a predetermined manner; transmission sub-module, for transmitting a frame after the subtraction process image, and requests the next frame.

[0015] 上述的基于视频分析的视频播放系统,其中:所述视频分析处理模块还包括缓存子模块,与所述判断子模块连接,用于缓存当前帧图像,供所述判断子模块进行分析判断。 [0015] The video player based video analysis system, wherein: the video evaluation module further includes a buffer sub-module connected with the determination sub-module, configured to buffer the current frame image, the determination sub-module for analysis judgment.

[0016] 与现有技术相比,本发明的基于视频分析的视频播放方法,通过预先设定的过滤条件改变视频图像的播放速率,将视频中不满足条件的时间段自动快进或略过,帮助用户在调阅视频监控录像时更快的找到视频段,节约时间,提高效率。 [0016] Compared with the prior art, the present invention is the method of video analysis of the video playback based on playback rate of the video image is changed by a predetermined filter condition, the condition is not satisfied in the video period of fast-forward or skip the automatic to help users quickly find the video segment when access to video surveillance video, save time and improve efficiency.

[0017] 本发明的基于视频分析的视频播放系统,通过视频分析处理模块对图像序列进行分析过滤,改变视频图像的播放速率,节约时间,提高工作效率。 [0017] The video playback system of the present invention is based on video analysis, video analysis performed by the image processing module of the filtered sequence analysis, changing the playback rate of the video image, save time, improve efficiency.

附图说明 BRIEF DESCRIPTION

[0018] 图1为本发明基于视频分析的视频播放方法一实施方式的流程图; [0018] FIG. 1 is a flowchart of a video playback on a video analysis method of the present embodiment of the invention;

[0019] 图2为本发明图1中步骤S12的细化流程图; [0019] FIG. 2 is a detailed flowchart of step S12 of FIG. 1 of the present invention;

[0020]图3为本发明图2中步骤S122的细化流程图; [0020] FIG 2 a detailed flowchart of step S122 of FIG present invention;

[0021]图4为本发明图2中步骤S124的细化流程图; [0021] FIG. 4 of the present invention, a detailed flowchart of step S124 in FIG 2;

[0022] 图5为本发明基于视频分析的视频播放系统的一实施方式的结构图。 [0022] FIG. 5 of the present invention is based on the structure of the embodiment of FIG embodiment a video playback video analysis system.

具体实施方式 Detailed ways

[0023] 为详细说明本发明的技术内容、构造特征、所实现目的及效果,以下结合实施方式并配合附图详予说明。 [0023] The teachings of the present invention in detail, structural features, objects and effects of the implementation, the following embodiments in conjunction with the accompanying drawings and to be described in detail.

[0024] 图1所示为本发明基于视频分析的视频播放方法一实施方式的流程图。 Flowchart of one embodiment of a video based on the video playback method shown in analysis of the present [0024] invention, FIG. 用户通过预先设定的条件,调阅视频录像进行视频播放。 The user through predefined conditions, access to video recording for video playback. 该基于视频分析的视频播放方法的步骤包括: Based on the video playback method of video analysis comprising the step of:

[0025] 步骤S11,对接收到的视频图像进行解码,还原成图像序列。 [0025] step S11, the received video image decoding, is reduced to a sequence of images. 其中,所还原的图像序列一般为按顺序排列的数字图像序列。 Wherein the sequence of images is generally reduced sequence of digital images arranged in order.

[0026] 步骤S12,对图像序列逐帧进行分析,对不符合预先设定的条件的图像序列进行过滤,改变视频图像的播放速率。 [0026] Step S12, the image sequence frame by frame analysis of the sequence of images does not meet the preset condition was filtered, the video image playback rate changes.

[0027]步骤S13,显示过滤后的图像。 [0027] step S13, the display image after filtering. 本发明实施方式中,是将未丢弃的帧依次显示在显示设备上,形成动画。 Embodiment of the present invention, is not discarded frames are sequentially displayed on the display device, be animated. 其中,未丢弃的帧可以按固定间隔,也可以按非固定间隔的方式依次显不〇 Wherein the frame may not be discarded at regular intervals, may be displayed sequentially by way of non-square is not fixed interval

[0028]因此,本发明的基于视频分析的视频播放方法,通过对视频内容进行分析,改变视频图像的播放速率,节约用户观看视频花费的时间,提高效率。 [0028] Thus, the video player based video analysis method, by analyzing the video content of the present invention, changing the playback rate of the video image, save time the user views the video takes and improve efficiency.

[0029]图2所示为本发明图1中步骤S12的细化流程图。 [0029] a detailed flowchart of step S12 shown in FIG. 1 of the present invention, FIG.

[0030]步骤S121,获取解码后的一帧图像。 [0030] step S121, the obtaining a decoded image.

[0031]步骤S122,判断当前帧图像是否符合预先设定的条件。 [0031] step S122, the frame image is determined whether the current meet preset conditions. 本发明实施方式中,预先设定作为筛选的条件有人、车等特定分析或动静分析等。 Embodiment of the invention, the predetermined condition as a specific screening was analyzed, and the like, or vehicle movement analysis.

[0032] 若不符合预先设定的条件,则执行步骤S123,判断连续不符合用户设定的条件的图像的帧数是否小于预设的数值。 [0032] that do not meet the conditions set in advance, is executed step S123, the frame number is determined whether the continuous image does not meet the condition set by the user is less than a predetermined value. 本发明实施方式中,预设的数值是由时间X帧率决定的, 例如:一段视频为25帧/秒,用户希望画面在连续10秒保持静止后就开始改变播放速率,那么,这个预设的数值就是:10 X 25=250(帧)。 Embodiment of the invention, the predetermined value X is determined by the frame rate of the time, for example: a video of 25 frames / sec, the user wishes to change the playback rate of the screen starts for 10 seconds after held stationary, then this default value is: 10 X 25 = 250 (frame).

[0033] 若不小于预设的数值,例如:连续不符合用户设定的条件的图像的帧数为270帧, 则执行步骤S124,依据预先设定的方式进行减帧处理。 [0033] If less than a predetermined value, for example: continuous frames of the image does not meet the condition set by the user for 270, execute step S124, the frame processing under reduced according to a predetermined manner. 本发明实施方式中,减帧处理是通过部分丢弃或全部丢弃不符合预先设定的条件的图像序列来实现,以改变视频图像的播放速度。 Embodiment of the present invention, a frame subtraction process is a sequence of images by discarding portion discards or does not meet all the conditions set in advance is achieved, in order to change the playback speed of the video image. 例如:对于连续n帧(n为正整数,由用户指定)均不符合预先设定的条件,将从这一帧开始按一定的比例进行丢帧。 For example: for successive n frames (n is a positive integer, specified by the user) do not meet the predetermined condition, from the frame start frame dropping according to a certain proportion. 在丢帧过程中,如果需要将视频图像的播放速率提高到原来的8 倍,则可以通过每8帧视频图像只传送并显示1帧视频图像,丢掉其余7帧视频图像的方式来实现。 In the frame dropping process, if necessary to increase the play rate of the video image to a factor of eight, may be transmitted and displayed by a video image of each frame of video image only 8, losing the remaining seven embodiment to implement the video image. 当然,如果要跳过此段视频图像,则将该段视频图像全部丢弃。 Of course, if you want to skip this video image, the video segments are discarded.

[0034]若小于预设的数值,或者当前帧图像符合预先设定的条件,则执行步骤S125,将当前帧图像传送至展现模块进行显示,并请求下一帧图像,重新对下一帧的图像进行分析过滤,直到播放结束。 [0034] If less than the predetermined value, or the current frame image meet the predetermined condition, executes step S125, the current frame image to the display presentation modules, and requests the next frame, the next frame is again image analysis filtering until the show ends.

[0035] 本发明的基于视频分析的视频播放方法,通过预先设定的过滤条件对图像序列逐帧进行分析,确定图像是否符合条件,然后通过减帧的方式改变视频图像的播放速率,将视频图像中不满足条件的时间段自动快进或略过,节约时间,提高效率。 [0035] The present invention is based on the video playback method of video analysis, by presetting the conditions for the filter frame by frame sequence of images is analyzed to determine whether the image meet the conditions, and change the playback rate of the video image frame by way of reduction, the video condition is not satisfied in the image period automatically fast-forward or skip, save time, improve efficiency.

[0036] 图3所示为本发明图2中步骤S122的细化流程图。 [0036] FIG 2 a detailed flowchart of step S122 of the present invention is shown in FIG. 步骤S1221,判断当前帧图像上是否有用户设定的信息。 Step S1221, it determines whether the information set by the user on the current frame image. 即判断当前帧图像上是否有用户设定的人、车等特定的信息。 That is, whether there is user specific information set by people, vehicles, etc. on the current frame image. 例如: 如果用户设定的特定的信息是人或者图像上半部分为车辆,那么当且仅当当前帧图像上出现人,或者图像上出现车辆,且车辆在图像的上半部分时,才判断当前帧图像有用户设定的信息,符合预先设定的条件,执行步骤S125,将当前帧图像传送至展现模块进行显示,并请求下一帧图像。 For example: if the user-specific information is set to the upper half of the image of the vehicle or the person, then if and only occurs on the current frame image of the person, or appear on the image of the vehicle, and the vehicle at the upper half of the image, it is determined the current frame image information set by the user, meet the predetermined condition, performing step S125, the current frame image to the display presentation modules, and request the next frame.

[0037]若当前帧图像上没有用户设定的信息,则执行步骤S1222,继续判断是否对当前帧图像进行动静分析。 [0037] If the current information is not set by the user, step S1222, it determines whether to continue the current frame image for movement on the frame image analysis.

[0038]若不需要对当前帧图像进行动静分析,则执行步骤S1223,请求下一帧图像。 [0038] If required for movement of the current frame image analysis, step S1223 is executed, it requests the next frame image.

[0039]若需要对当前帧图像进行动静分析,则缓存当前帧图像到视频分析队列中,进行动静分析。 [0039] If desired movement of the current frame image analysis, the current frame image to the video buffer queue analysis, analysis for movement. 本发明实施方式中,缓存当前帧图像到视频分析队列中,进行动静分析的步骤又包括以下步骤: Embodiment of the present invention, the step of the current frame image buffer to the video queue in the analysis, and analysis for movement comprising the steps of:

[0040]步骤S1224,判断视频分析队列中是否缓存有前一帧图像。 [0040] Step S1224, the cache is determined whether there is a previous frame video image analysis queue.

[0041]若缓存有前一帧图像,则执行步骤S1225,判断当前帧图像与前一帧图像的差异是否小于阀值。 [0041] When the previous frame buffers, step S1225, and determines whether the current difference frame image before the image is less than a threshold value. 本发明实施方式中,可以通过比较相邻两帧的灰度值的方式来实现。 Embodiments of the invention may be achieved by way of comparing two adjacent gradation value.

[0042] 若小于阀值,则执行步骤S1226,缓存当前帧图像,形成视频分析队列。 [0042] If less than the threshold, step S1226 is executed, the cache of the current frame image, video analysis queue is formed.

[0043] 若没有缓存前一帧图像,或者不小于阀值,则执行步骤S1226,缓存当前帧图像,同时执行步骤S125,将当前帧图像传送至展现模块进行显示,并请求下一帧图像。 [0043] If the buffer is not an image of the front, or not less than the threshold, step S1226 is executed, the current frame image buffer, while performing step S125, the current frame image to the display presentation modules, and request the next frame.

[0044]图4所示为本发明图2中步骤S124的细化流程图。 [0044] FIG 4 is a detailed flowchart of S124 in step 2 of the present invention is shown in FIG. 步骤S1241,判断是否显示当前帧图像。 Step S1241, it determines whether the current frame image. 本发明实施方式中,若需要显示当前帧图像是当且仅当以下等式成立时,则需要显示当前帧图像 Embodiment of the present invention, if desired, the current frame image is displayed if and only if the following equation is satisfied, the current frame image to be displayed

Figure CN102752569BD00071

其中,n为连续不符合用户设定的信息的图像的帧数;k为不大于1的非负整数,是用户预先设定的每1帧传送图像的帧数;为下取整函数,对任意实数x,kJ为整数,且例如:当用户设定每8帧视频图像(此处为连续8帧不符合用户设定的信息的视频图像)只传送并显示1帧视频图像时,则需要显示的不符合用户设定的信息的视频图像为:第8帧,第16帧,第24帧,…,第8 Xm帧。 Wherein, n-consecutive image frames do not meet the user setting information; K is a nonnegative integer no greater than 1, the number of frames per one image is transmitted preset by the user; to floor function, for any real number x, kJ is an integer, and, for example: when the user is set for each frame of video image 8 (here, eight consecutive frames of video image information does not comply with the user setting) and transmits only a video image display, it is necessary does not meet the information set by the user as a video image display: the eighth frame, the 16th frame, the 24th frame, ..., Xm of the eighth frame.

[0045]若不显示当前帧图像,则执行步骤S1223,请求下一帧图像。 [0045] If the display of the current frame image, the step S1223 is executed, requests the next frame image.

[0046]若需要显示当前帧图像,则执行步骤S125,将当前帧图像传送至展现模块进行显示,并请求下一帧图像。 [0046] If the current frame image to be displayed is performed step S125, the current frame image to the display presentation modules, and request the next frame.

[0047] 因此,本发明的基于视频分析的视频播放方法,通过预先设定的过滤条件改变视频图像的播放速率,将视频中不满足条件的时间段自动快进或略过,帮助用户在调阅视频监控录像时更快的找到视频段,节约时间,提高效率。 [0047] Accordingly, the present invention is the method of video analysis of the video playback based on playback rate of the video image is changed by a predetermined filter condition, the condition is not satisfied in the video period or skip automatically fast-forward, to help users tune faster find when reading video surveillance video video segment, save time and improve efficiency.

[0048] 图5所示为本发明基于视频分析的视频播放系统的一实施方式的结构图,该基于视频分析的视频播放系统包括解码模块10、视频分析处理模块20以及展现模块30。 As shown in [0048] FIG. 5 of the present invention is based on a configuration diagram of an embodiment of a video playback system of video analysis, the analysis based on the video playback system includes a video decoding module 10, a video processing module 20 and analysis module 30 exhibits. 其中,解码模块10用于对接收到的视频图像进行解码,还原成图像序列。 Wherein the video decoding module 10 for decoding received image, the image is reduced to a sequence. 视频分析处理模块20用于对图像序列逐帧进行分析,对不符合预先设定的条件的图像序列进行过滤,改变视频图像的播放速率。 Video analysis module 20 for processing a sequence of images frame by frame analysis of the sequence of images does not meet the predetermined condition of the filter, change the playback rate of the video image. 展现模块30用于显示过滤后的图像。 Filtering the image for display module 30 to show.

[0049]本发明实施方式中,解码模块10、视频分析处理模块20以及展现模块30可以设置在同一个装置中,也可以分离设置在用网络连接的不同装置中。 [0049] The embodiment of the invention, the decoding module 10, a video processing module 20 and analysis module 30 may be provided to show the same apparatus, or may be provided separately at a different network connection device.

[0050]视频分析处理模块20包括获取子模块201、判断子模块202、减帧处理子模块203、 传送子模块204以及缓存子模块205。 [0050] The video evaluation module 20 includes an acquisition sub-module 201, a determination sub-module 202, a frame subtraction processing sub-module 203, transmission module 204 and a sub-sub-module cache 205. 其中,获取子模块201用于获取解码后的一帧图像。 The obtaining sub-module 201 for obtaining a decoded image. 本发明实施方式中,是通过获取子模块201从解码模块10中逐帧获取解码后的图像,供判断子模块202进行分析判断。 Embodiment of the present invention is to obtain decoded images, judging sub-module 202 for analysis to determine the decoding module 10 from frame to frame 201 by obtaining sub-module.

[0051]判断子模块202与获取子模块201连接,用于根据预先设定的条件对所获取的当前帧图像进行分析判断。 [0051] The sub-module 202 determines 201 is connected to the obtaining sub-module, for analyzing the current frame image is determined according to the acquired predetermined condition. 此处所说的分析判断包括:判断当前帧图像上是否有用户设定的信息;当前帧图像上没有用户设定的信息时,则继续判断是否对当前帧图像进行动静分析;当需要对当前帧图像进行动静分析时,则判断视频分析队列中是否缓存有前一帧图像;当缓存有前一帧图像时,则判断当前帧图像与前一帧图像的差异是否小于阀值。 Here said analytical determination comprises: determining whether information set by the user on the current frame image; currently no information on the frame image set by the user, then continues to determine whether the current frame image analysis movement; when it is necessary for a current frame when the image movement analysis, it is determined whether a previous frame image is buffered video analysis queue; when the previous frame buffers, it is determined that the current difference frame image of the previous frame image is less than a threshold value.

[0052]减帧处理子模块203与判断子模块202连接,用于根据判断子模块202的判断结果, 依据预先设定的方式对图像序列进行减帧处理。 [0052] The subtraction module 203 and the sub-frame processing determination sub-module 202 is connected, according to the determination result determining submodule 202, according to a predetermined manner Save image sequence frames. 本发明实施方式中,减帧处理是通过部分丢弃或全部丢弃不符合预先设定的条件的图像序列来实现,以改变视频图像的播放速度。 Embodiment of the present invention, a frame subtraction process is a sequence of images by discarding portion discards or does not meet all the conditions set in advance is achieved, in order to change the playback speed of the video image. [0053]传送子模块204用于传送减帧处理后的图像,并请求下一帧图像。 [0053] The sub-module 204 for transmitting a frame transfer image subtraction processing, and requests the next frame. 缓存子模块205 与判断子模块202连接,用于缓存当前帧图像,供判断子模块202进行分析判断。 Cache sub-module 205 connected with the determination sub-module 202, configured to buffer the current frame image, for determining sub-module 202 for analysis is determined.

[0054] 本发明的播放过程为:解码模块10首先对视频图像进行解码,解码一帧图像后传输给视频分析处理模块20,由视频分析处理模块20进行分析过滤图像。 [0054] During playback of the invention is: first decoding module 10 decodes the video image, a decoded image transmitted to the video evaluation module 20, the filtered image is analyzed by the video analysis module 20. 然后,视频分析处理模块20将分析过滤后的图像提交给展现模块30进行播放,图像提交成功后,视频分析处理模块20向解码模块10请求下一帧图像,再进行分析过滤。 Then, the video evaluation module 20 will analyze the image presented to show the filtration module 30 to play, after the successful submission of image, the video evaluation module 20 requests a next frame image to the decoding module 10, filtered and then analyzed. 如此重复,直到播放结束。 Repeat until the show ends.

[0055] 因此,本发明的基于视频分析的视频播放系统,通过视频分析处理模块对图像序列进行分析过滤,改变视频图像的播放速率,节约时间,提高工作效率。 [0055] Thus, the video playback system based on video analysis, the present invention is carried out by the video analysis module of the image sequence analysis filtering, changing the playback rate of the video image, save time, improve efficiency.

[0056] 以上仅为本发明的实施例,并非因此限制本发明的专利范围,凡是利用本发明说明书及附图内容所作的等效结构或等效流程变换,或直接或间接运用在其他相关的技术领域,均同理包括在本发明的专利保护范围内。 [0056] The above is merely an embodiment of the present invention, not intended to limit the scope of the present invention, all of the specification and drawings of the present invention provided equivalent structures or equivalent process, directly or indirectly use or other relevant BACKGROUND shall also fall within the scope of protection of the present invention.

Claims (7)

1. 一种基于视频分析的视频播放方法,其特征在于,包括: 对接收到的视频图像进行解码,还原成图像序列; 对所述图像序列逐帧进行分析,对不符合预先设定的条件的图像序列进行过滤,改变视频图像的播放速率;具体包括: 获取解码后的一帧图像; 判断当前帧图像是否符合预先设定的条件,其中,预先设定的条件包括人、车特定分析; 若不符合预先设定的条件,则判断连续不符合用户设定的条件的图像的帧数是否小于预设的数值; CLAIMS 1. A method for playing video based on video analysis, characterized by, comprising: a video image decoding received, is reduced to a sequence of images; of the sequence of images is analyzed frame by frame, does not meet the predetermined condition filtering the image sequence, changing the playback rate of the video image; specifically includes: acquiring a decoded image; determining whether the conditions of the current frame image set in advance, wherein the predetermined condition including a human, vehicle specific analysis; do not meet the conditions set in advance, it is determined whether the continuous number of frames of the image does not meet the condition set by the user is less than a preset value;
Figure CN102752569BC00021
若不小于预设的数值,则依据预先设定的方式进行减帧处理;其中,在减帧处理中是当且仅当以下等式成立时,则需要显示当前帧图像: 其中,η为连续不符合用户设定的信息的图像的帧数;k为不大于1的非负整数,是用户设定的每1帧传送图像的帧数;U为下取整函数,对任意实数x,kl为整数,且卜」&<^」+1;以及若小于预设的数值,或者当前帧图像符合预先设定的条件,则将当前帧图像传送至展现模块进行显示,并请求下一帧图像;以及显示过滤后的图像。 If less than the predetermined value, subtraction is performed based on the frame processing mode set in advance; wherein, if and only if the following equation is satisfied, the current frame image to be displayed in the frame subtraction process: wherein, [eta] is a continuous does not meet the image frame information set by the user; K is a nonnegative integer no greater than 1, the number of frames transmitted per one image set by the user; the U-floor function is, for any real number x, kl is an integer and Bu "& <^ '+ 1; and if less than the predetermined value, or the current frame image meet the predetermined condition, the current frame image to the display presentation modules, and request the next frame ; and a display image after filtering.
2. 根据权利要求1所述的基于视频分析的视频播放方法,其特征在于,所述判断当前帧图像是否符合预先设定的条件的步骤包括: 判断当前帧图像上是否有用户设定的信息; 若当前帧图像上没有用户设定的信息,则继续判断是否对当前帧图像进行动静分析; 若需要对当前帧图像进行动静分析,则缓存当前帧图像到视频分析队列中,进行动静分析;以及若不需要对当前帧图像进行动静分析,则请求下一帧图像。 The video playback method according to the analysis based on the video claimed in claim 1, wherein said step of determining whether the current frame image meet the predetermined condition comprises: determining whether information set by the user on the current frame image ; if no user information is currently set on the frame image, then determine if the current frame image movement analysis; if necessary for movement of the current frame image analysis, the current frame image to the video buffer queue analysis performed movement analysis; if the need for a current frame and image movement analysis, the next frame is requested.
3. 根据权利要求2所述的基于视频分析的视频播放方法,其特征在于,所述若需要对所述图像进行动静分析,则缓存当前帧图像到视频分析队列中,进行动静分析的步骤包括: 判断所述视频分析队列中是否缓存有前一帧图像; 若缓存有前一帧图像,则判断当前帧图像与前一帧图像的差异是否小于阀值; 若小于阀值,则缓存当前帧图像;以及若没有缓存前一帧图像,或者不小于阀值,则缓存当前帧图像,并将当前帧图像传送至展现模块进行显示,并请求下一帧图像。 The video playback method according to the analysis based on the video claimed in claim 2, wherein, if the need to analyze the movement of the image, the current frame image to the video buffer queue analysis, comprising the step of analyzing for movement : whether a previous frame image is buffered video analysis determines the queue; if the previous frame image is buffered, it is determined that the current difference frame image of the previous frame image is less than a threshold value; if less than the threshold, then the current frame buffer image; and before an image if there is no cache, or not less than the threshold, then cache the current frame image and the current frame image is transmitted to the display presentation modules, and request the next frame.
4. 根据权利要求2所述的基于视频分析的视频播放方法,其特征在于,还包括:若当前帧图像上有用户设定的信息,则将当前帧图像传送至展现模块进行显示,并请求下一帧图像。 4. The video playback method according to the analysis based on the video as claimed in claim 2, characterized in that, further comprising: information set by the user on the picture if the current frame, the current frame image to the display presentation modules, and requests the next frame.
5. 根据权利要求1所述的基于视频分析的视频播放方法,其特征在于,所述减帧处理是通过部分丢弃或全部丢弃不符合预先设定的条件的图像序列来实现;所述若不小于预设的数值,则依据预先设定的方式进行减帧处理的步骤包括: 判断是否显示当前帧图像; 若不显示当前帧图像,则请求下一帧图像;以及若需要显示当前帧图像,则将当前帧图像传送至展现模块进行显示,并请求下一帧图像。 The video based on the video playback method of analysis according to claim 1, wherein said reducing process is realized by the frame discarding portion discards or does not meet all of the sequence of images of a predetermined condition; if the a step smaller than the preset value, the frame processing under reduced according to a predetermined mode comprises: determining whether the current frame image is displayed; if the current frame image is displayed, the next frame is requested; and the current frame image is displayed, if desired, the current frame image to the display presentation modules, and request the next frame.
6. -种基于视频分析的视频播放系统,其特征在于,包括: 解码模块,用于对接收到的视频图像进行解码,还原成图像序列; 视频分析处理模块,用于对所述图像序列逐帧进行分析,对不符合预先设定的条件的图像序列进行过滤,改变视频图像的播放速率;具体包括: 获取子模块,用于获取解码后的一帧图像; 判断子模块,与所述获取子模块连接,用于根据预先设定的条件对所获取的当前帧图像进行分析判断,其中,预先设定的条件包括人、车特定分析; 减帧处理子模块,与所述判断子模块连接,用于根据所述判断子模块的判断结果,依据预先设定的方式对所述图像序列进行减帧处理;其中,在减帧处理中是当且仅当以下等式 6 - Analysis of kinds of video based on the video playback system, characterized by comprising: a decoding means for the video image decoding received, is reduced to a sequence of images; video analysis processing module for the sequence of images by frame analysis of the sequence of images does not meet the preset condition was filtered, changing playback rate of the video image; comprises: obtaining sub-module, for obtaining a decoded image; judging sub-module, obtaining the sub-module is connected for analysis of the current frame image is determined according to the acquired predetermined condition, wherein the predetermined condition including a human, vehicle specific analysis; Save sub-frame processing module, sub-module connected with the determination configured according to the judgment result of the judging sub-module, according to a preset mode Save processing on the image frame sequence; wherein, in the frame subtraction process if and only if the following equation
Figure CN102752569BC00031
成立时,则需要显示当前帧图像: 其中,η为连续不符合用户设定的信J 息的图像的帧数;k为不大于1的非负整数,是用户设定的每1帧传送图像的帧数;L」为下取整函数,对任意实数X,b」为整数,且kl U < Ui+1;以及传送子模块,用于传送减帧处理后的图像,并请求下一帧图像;以及展现模块,用于显示过滤后的图像。 When satisfied, the current frame image to be displayed: wherein, [eta] is a continuous image frames do not meet the user setting information of the letter J; K is a nonnegative integer no greater than 1, the image transfer is set by the user for each one number of frames; L "is a floor function, for any real number X, b 'is an integer and kl U <Ui + 1; and a transmission sub-module, for transmitting a frame image subtraction processing, and requests the next frame image; and a presentation module, for displaying the image after filtering.
7. 根据权利要求6所述的基于视频分析的视频播放系统,其特征在于,所述视频分析处理模块还包括缓存子模块,与所述判断子模块连接,用于缓存当前帧图像,供所述判断子模块进行分析判断。 7. The video playback system based on video analysis, characterized according to claim 6, the video evaluation module further includes a buffer sub-module connected with the determination sub-module, configured to buffer the current frame image, for the determining said determination sub-module for analysis.
CN201210214729.XA 2012-06-27 2012-06-27 Based on video analysis video playback method and system CN102752569B (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN201210214729.XA CN102752569B (en) 2012-06-27 2012-06-27 Based on video analysis video playback method and system

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN201210214729.XA CN102752569B (en) 2012-06-27 2012-06-27 Based on video analysis video playback method and system

Publications (2)

Publication Number Publication Date
CN102752569A CN102752569A (en) 2012-10-24
CN102752569B true CN102752569B (en) 2016-08-10

Family

ID=47032448

Family Applications (1)

Application Number Title Priority Date Filing Date
CN201210214729.XA CN102752569B (en) 2012-06-27 2012-06-27 Based on video analysis video playback method and system

Country Status (1)

Country Link
CN (1) CN102752569B (en)

Families Citing this family (4)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN103974142B (en) * 2013-01-31 2017-08-15 深圳市快播科技有限公司 A video playback method and system
CN105245817A (en) * 2014-06-19 2016-01-13 深圳中兴力维技术有限公司 Video playback method and video playback device
CN104836992A (en) * 2015-05-08 2015-08-12 无锡天脉聚源传媒科技有限公司 Surveillance video recording method and device
CN105979189A (en) * 2016-05-31 2016-09-28 杭州趣吧科技有限公司 Video signal processing and storing method and video signal processing and storing system

Citations (4)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN1119060A (en) * 1993-01-20 1996-03-20 Rca.汤姆森许可公司 Digital video tape recorder for digital HDTV
US5635982A (en) * 1994-06-27 1997-06-03 Zhang; Hong J. System for automatic video segmentation and key frame extraction for video sequences having both sharp and gradual transitions
CN1606349A (en) * 2004-11-30 2005-04-13 杭州恒生电子股份有限公司 Method and system for positioning synchronous video monitoring image of service process
CN101206899A (en) * 2006-12-21 2008-06-25 三星电子株式会社 Method of and apparatus for encoding/decoding multimedia data with preview function

Family Cites Families (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
US20130107956A1 (en) * 2010-07-06 2013-05-02 Koninklijke Philips Electronics N.V. Generation of high dynamic range images from low dynamic range images

Patent Citations (4)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN1119060A (en) * 1993-01-20 1996-03-20 Rca.汤姆森许可公司 Digital video tape recorder for digital HDTV
US5635982A (en) * 1994-06-27 1997-06-03 Zhang; Hong J. System for automatic video segmentation and key frame extraction for video sequences having both sharp and gradual transitions
CN1606349A (en) * 2004-11-30 2005-04-13 杭州恒生电子股份有限公司 Method and system for positioning synchronous video monitoring image of service process
CN101206899A (en) * 2006-12-21 2008-06-25 三星电子株式会社 Method of and apparatus for encoding/decoding multimedia data with preview function

Also Published As

Publication number Publication date
CN102752569A (en) 2012-10-24

Similar Documents

Publication Publication Date Title
US8726304B2 (en) Time varying evaluation of multimedia content
JP4331240B2 (en) Electronic devices and image display method
CN101018330B (en) Image display system, image display method, data processing apparatus, and display apparatus
JP4536402B2 (en) Program for executing a video reproducing apparatus, a video reproducing method and method on a computer
CA2242867C (en) Interaction modalities for multimedia delivery and presentation
CN102027741B (en) Generating a combined video stream from multiple input video streams
US20060123445A1 (en) System and method of displaying a video stream
JP3319678B2 (en) Fast browsing apparatus of the moving image
WO2005029266A3 (en) Apparatus and method for presentation of portably-stored content on an high-definition display
US8935169B2 (en) Electronic apparatus and display process
RU2008152806A (en) Adaptation of the video rate to reverse link conditions
CN100542255C (en) A network TV monitoring system and method
JP4909856B2 (en) Electronic devices and a display method
JP4322945B2 (en) Electronic apparatus, and an image display control method
CN105245960A (en) Live comment display method and device for videos
CN103699413B (en) The method of optimizing the operating environment of the game, client, server and systems
TWI403174B (en) Video processing system, video processing method, and video transfer method
CN1231055C (en) Digital detection device for transmitting movie scene by TV
US8379735B2 (en) Automatic video glitch detection and audio-video synchronization assessment
WO2003075569A3 (en) Method and system for fee-based commercial-free television viewing
US7986819B2 (en) Electronic apparatus and video display method
CN102647634A (en) Multi-fragment video playing method and device based on hypertext markup language (HTML) 5 video
CN103442252B (en) The video processing method and apparatus
US20100036878A1 (en) System for Extracting Reduced Information of Multimedia Digital Content and System and Method for Displaying Multiple Content Using Reduced Information
EP1708165A4 (en) Liquid crystal display device, liquid crystal display device signal processing device, program thereof, recording medium, and liquid crystal display control method

Legal Events

Date Code Title Description
C06 Publication
C10 Entry into substantive examination
C41 Transfer of patent application or patent right or utility model
COR Change of bibliographic data

Free format text: CORRECT: ADDRESS; FROM: 518000 SHENZHEN, GUANGDONG PROVINCE TO: 310014 HANGZHOU, ZHEJIANG PROVINCE

ASS Succession or assignment of patent right

Free format text: FORMER OWNER: HANGZHOU SKYVISION INTELLIGENCE SYSTEM CO., LTD.

Effective date: 20150108

Owner name: HANGZHOU SKYVISION INTELLIGENCE SYSTEM CO., LTD.

Free format text: FORMER OWNER: CSST E-CITY TECHNOLOGY (CHINA) CO., LTD.

Effective date: 20150108

C14 Grant of patent or utility model
TR01
TR01