WO2017185609A1 - 一种视频处理方法及设备 - Google Patents

一种视频处理方法及设备 Download PDF

Info

Publication number
WO2017185609A1
WO2017185609A1 PCT/CN2016/099959 CN2016099959W WO2017185609A1 WO 2017185609 A1 WO2017185609 A1 WO 2017185609A1 CN 2016099959 W CN2016099959 W CN 2016099959W WO 2017185609 A1 WO2017185609 A1 WO 2017185609A1
Authority
WO
WIPO (PCT)
Prior art keywords
played
video frame
video
processing
quality level
Prior art date
Application number
PCT/CN2016/099959
Other languages
English (en)
French (fr)
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 乐视控股(北京)有限公司
Publication of WO2017185609A1 publication Critical patent/WO2017185609A1/zh

Links

Images

Classifications

    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04NPICTORIAL COMMUNICATION, e.g. TELEVISION
    • H04N19/00Methods or arrangements for coding, decoding, compressing or decompressing digital video signals
    • H04N19/85Methods or arrangements for coding, decoding, compressing or decompressing digital video signals using pre-processing or post-processing specially adapted for video compression
    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04NPICTORIAL COMMUNICATION, e.g. TELEVISION
    • H04N21/00Selective content distribution, e.g. interactive television or video on demand [VOD]
    • H04N21/40Client devices specifically adapted for the reception of or interaction with content, e.g. set-top-box [STB]; Operations thereof
    • H04N21/43Processing of content or additional data, e.g. demultiplexing additional data from a digital video stream; Elementary client operations, e.g. monitoring of home network or synchronising decoder's clock; Client middleware
    • H04N21/44Processing of video elementary streams, e.g. splicing a video clip retrieved from local storage with an incoming video stream or rendering scenes according to encoded video stream scene graphs
    • H04N21/4402Processing of video elementary streams, e.g. splicing a video clip retrieved from local storage with an incoming video stream or rendering scenes according to encoded video stream scene graphs involving reformatting operations of video signals for household redistribution, storage or real-time display
    • H04N21/440254Processing of video elementary streams, e.g. splicing a video clip retrieved from local storage with an incoming video stream or rendering scenes according to encoded video stream scene graphs involving reformatting operations of video signals for household redistribution, storage or real-time display by altering signal-to-noise parameters, e.g. requantization

Definitions

  • the present invention relates to the field of video technologies, and in particular, to a video processing method and device.
  • the existing video playing device plays video according to the video encoding format, video encoding parameters, video quality and other video parameters of the video.
  • the quality of some videos is poor, resulting in blurred images during playback. Phenomenon, thus not meeting the user's visual experience.
  • the embodiments of the present invention provide a video processing method and device, which are used to solve the problem that the video is played according to the video parameters of the video resource in the prior art, and the video with poor performance is blurred during playback.
  • an embodiment of the present invention provides a video processing method, including:
  • the video frame to be played is subjected to image enhancement processing.
  • the method before determining the video quality level of the to-be-played video frame according to the pixel depth of the to-be-played video frame, the method further includes: if determining that the resolution of the to-be-played video frame is less than a preset resolution, Performing upsampling processing on the to-be-played video frame.
  • determining the video quality level of the to-be-played video frame according to the pixel depth of the to-be-played video frame includes: determining a video quality level of the to-be-played video frame according to the following formula:
  • the method further includes: performing deblocking filtering processing on the to-be-played video frame if the video quality level of the to-be-played video frame is greater than or equal to the preset level.
  • the performing image enhancement processing on the to-be-played video frame includes:
  • an embodiment of the present invention provides a video processing device, including:
  • An acquiring unit configured to acquire a video frame to be played
  • a determining unit configured to determine a pixel depth of the to-be-played video frame, and determine a video quality level of the to-be-played video frame according to a pixel depth of the to-be-played video frame;
  • a processing unit configured to: if it is determined that the video quality level of the to-be-played video frame is less than a preset level, the video frame to be played is a dark field for each frame of the to-be-played video frame In the scene image, image enhancement processing is performed on the to-be-played video frame.
  • the processing unit is further configured to: before determining a video quality level of the to-be-played video frame according to a pixel depth of the to-be-played video frame, if it is determined that the resolution of the to-be-played video frame is smaller than a preset resolution Rate, the upsampling process is performed on the video frame to be played.
  • the determining unit is specifically configured to: determine a video quality level of the to-be-played video frame according to the following formula:
  • the processing unit is further configured to perform a deblocking filtering process on the to-be-played video frame if the video quality level of the to-be-played video frame is greater than or equal to the preset level.
  • the processing unit is configured to: perform discrete cosine transform on the to-be-played video frame, and perform quantization processing on the discrete cosine-transformed video frame to be played;
  • the video frame to be played is subjected to inverse discrete cosine transform to obtain the to-be-played video frame after image enhancement processing.
  • an embodiment of the present invention provides a video processing device, including:
  • At least one processor and,
  • the memory stores instructions executable by the at least one processor, the instructions being Executing at least one processor to enable the at least one processor to:
  • the at least one processor is further configured to: before determining a video quality level of the to-be-played video frame, according to a pixel depth of the to-be-played video frame, if the resolution of the to-be-played video frame is determined to be less than a pre-predetermined Set the resolution, and then perform upsampling processing on the to-be-played video frame.
  • the at least one processor is specifically configured to determine a video quality level of the to-be-played video frame according to the following formula:
  • the at least one processor is further configured to perform a deblocking filtering process on the to-be-played video frame if the video quality level of the to-be-played video frame is greater than or equal to the preset level.
  • the at least one processor is configured to: perform discrete cosine transform on the to-be-played video frame, and perform quantization processing on the discrete cosine-transformed video frame to be played;
  • the to-be-played video frame is subjected to inverse discrete cosine transform to obtain the to-be-played video frame after image enhancement processing.
  • an embodiment of the present invention provides a non-transitory computer readable storage medium, where the non-transitory computer readable storage medium stores computer instructions, where the computer instructions are used to cause the computer to execute any of the above The video processing method described.
  • an embodiment of the present invention provides a computer program product, the computer program product comprising a computing program stored on a non-transitory computer readable storage medium, the computer program comprising program instructions, when the program instruction is When the computer is executed, the computer is caused to perform the video processing method described in any of the above.
  • the video processing method and device of the embodiment of the present invention after acquiring a video frame to be played, determining a video quality level of the to-be-played video frame according to a pixel depth of the to-be-played video frame, and determining the to-be-played video.
  • the video quality level of the frame is less than the preset level, image enhancement processing is performed on the dark field scene image in the to-be-played video frame, thereby improving the quality of the video frame to be played, thereby providing better user satisfaction during video playback.
  • Visual experience is determining a video quality level of the to-be-played video frame according to a pixel depth of the to-be-played video frame.
  • FIG. 1 is a schematic flowchart of a video processing method according to an embodiment of the present invention
  • FIG. 2 is a flowchart of a video processing method according to an embodiment of the present invention.
  • FIG. 3 is a schematic structural diagram of a video processing device according to an embodiment of the present disclosure.
  • FIG. 4 is a schematic structural diagram of hardware of a video processing device according to an embodiment of the present invention.
  • FIG. 1 a schematic flowchart of a video processing method according to an embodiment of the present invention is shown.
  • the execution body in FIG. 1 may be a mobile phone, a computer, a set top box, or the like.
  • the method specifically includes the following steps:
  • Step 101 Acquire a video frame to be played
  • Step 102 Determine a pixel depth of the to-be-played video frame, and determine a video quality level of the to-be-played video frame according to a pixel depth of the to-be-played video frame.
  • Step 103 If it is determined that the video quality level of the to-be-played video frame is less than the preset level, when the to-be-played video frame is a dark field scene image, performing image enhancement processing on the to-be-played video frame.
  • the obtained video frame to be played is a video frame that has been video encoded. Therefore, after the video frame to be played is obtained, the video frame to be played needs to be decoded according to the video coding manner of the video frame to be played.
  • the video coding mode corresponding to the to-be-played video frame may be any one of the existing video coding modes, which is not limited by the embodiment of the present invention.
  • HEVC High Efficiency Video Coding
  • H264 High Efficiency Video Coding
  • the to-be-played video frame may be obtained through the network, and the video frame to be played may be obtained by using the locally stored video file, which is not limited in this embodiment of the present invention.
  • the video format of the video file corresponding to the obtained video frame to be played may be any one of the existing video formats.
  • AVI Audio Video Interleaved
  • ASF Advanced Streaming format, Advanced Streaming
  • FLV Flash Video, Streaming Format Video
  • MPEG Motion Picture Experts Group
  • step 102 after obtaining the video frame to be played, the resolution of the video frame to be played may be determined.
  • the number of bits used by the to-be-played video frame to store each pixel before decoding may be determined according to the data size and resolution of the to-be-played video frame before decoding.
  • the resolution of a video frame to be played is 1024 ⁇ 768, and the amount of data before decoding is 768 kb
  • the resolution of the to-be-played video frame may be determined to be smaller than the preset resolution, if the resolution of the to-be-played video frame is smaller than the preset resolution. Rate, the upsampling process is performed on the to-be-played video frame; if the resolution of the to-be-played video frame is greater than or equal to the preset resolution, the to-be-played video frame is not subjected to upsampling processing.
  • the preset resolution can be 720p. Of course, this is just an example.
  • the preset resolution can also be other values, which will not be described here.
  • the upsampling can be implemented by using a sampling filtering method. Specifically, if the order of the sampling filter is N, the pixel values of the sampled pixels are x 1 , x 2 , . . . , x N-1 , x N , and the coefficients of the sampling filter are C 1 , C 2 , ..., C N-1 , C N , then the interpolated pixel value y is:
  • the pixel of the to-be-played video frame may be determined according to the resolution of the to-be-played video frame. Depth, that is, determining the number of bits used by the video frame to be played to store each pixel after being decoded.
  • the resolution of a video frame to be played is 1024 ⁇ 768 and its data volume is 1.5M
  • its pixel depth is 16, that is, 16 bits are stored for each pixel.
  • the video quality level of the to-be-played video frame may be determined according to the pixel depth of the to-be-played video frame.
  • the video quality level of the to-be-played video frame may be determined according to the following formula:
  • the value of k can be determined according to the actual situation, for example, any one of 0 to 31 can be taken.
  • the to-be-played video frame After determining the video quality level of the video frame to be played, if it is determined that the video quality level of the to-be-played video frame is greater than or equal to the preset level, the to-be-played video frame may be directly played.
  • the preset level can be a value according to the actual situation, and details are not described herein again.
  • the de-blocking filtering may be performed on the to-be-played video frame, thereby further improving the video quality of the video frame to be played.
  • a deblocking filtering process is performed on the to-be-played video frame. The deblocking filtering process is performed on the video frame to be played in each frame, so that the edge of the video frame to be played is smoothed, thereby eliminating the pseudo boundary caused by the block coding algorithm in the video frame to be played.
  • the game to be played may no longer be played.
  • the video frame is subjected to deblocking filtering processing.
  • the video quality level of the to-be-played video frame is less than a preset level, determining, for each video frame to be played in the to-be-played video frame, the to-be-played Whether the video frame is a dark field scene image, and if the to-be-played video frame is not a dark field scene image, the to-be-played video frame may be directly displayed. And if the to-be-played video frame is a dark field scene image, performing image enhancement processing on the to-be-played video frame.
  • the video frame to be played is determined to be a dark field scene image.
  • the brightness threshold can be calculated by the following formula:
  • H is the brightness threshold
  • h max is the maximum brightness value that can be achieved by the pixel in the video frame to be played
  • h min is the minimum brightness value that can be achieved by the pixel in the video frame to be played.
  • the brightness threshold may also be determined by other methods, and details are not described herein again.
  • DCT Discrete Cosine Transformation
  • the image frame to be played after the enhanced processing can overcome the phenomenon of blockiness, color spot, pseudo color, etc., thereby playing When the video frame is to be played, the visual experience of the user is improved.
  • FIG. 2 is a flowchart of a video processing method according to an embodiment of the present invention.
  • Step 201 Acquire a video frame to be played.
  • the video frame to be played is a video frame that has been video-encoded.
  • the video frame to be played needs to be video-decoded.
  • Step 202 Determine the resolution of the video frame to be played, and determine whether the resolution of the video frame to be played is greater than the preset resolution. If not, go to step 203, otherwise go to step 204.
  • Step 203 Perform upsampling processing on the to-be-played video frame.
  • Step 204 Determine a pixel depth of the to-be-played video frame, and determine a video quality level of the to-be-played video frame according to the pixel depth.
  • Step 205 Determine whether the to-be-played video frame is less than a preset level. If no, go to step 206, otherwise, go to step 207.
  • Step 206 Perform a deblocking filtering process on the to-be-played video frame, and go to step 209.
  • Step 207 Determine whether the to-be-played video frame is a dark field scene image, and if yes, go to step 208; otherwise, go to step 209.
  • Step 208 Perform image enhancement processing on the to-be-played video frame.
  • Step 209 Play the video frame to be played.
  • a discrete cosine transform is performed on the to-be-played video frame, and the discrete cosine-transformed video frame to be played is subjected to quantization processing; and the to-be-played video frame subjected to the quantization process is subjected to inverse discrete cosine Transforming, obtaining the to-be-played video frame after image enhancement processing.
  • an embodiment of the present invention further provides a video processing device, which can perform the foregoing method.
  • a schematic structural diagram of a video processing device includes:
  • An obtaining unit 301 configured to acquire a video frame to be played
  • a determining unit 302 configured to determine a pixel depth of the to-be-played video frame, and determine a video quality level of the to-be-played video frame according to a pixel depth of the to-be-played video frame;
  • the processing unit 303 is configured to perform image enhancement processing on the to-be-played video frame when the to-be-played video frame is a dark field scene image, if the video quality level of the to-be-played video frame is less than a preset level.
  • the processing unit 303 is further configured to:
  • the video frame to be played is subjected to upsampling processing.
  • the determining unit 302 is specifically configured to:
  • processing unit 303 is further configured to:
  • processing unit 303 is specifically configured to:
  • the video processing method and device after acquiring a video frame to be played, determining a video quality level of the to-be-played video frame according to a pixel depth of the to-be-played video frame, and And determining, when the video quality level of the to-be-played video frame is less than the preset level, performing image enhancement processing on the dark field scene image in the to-be-played video frame, thereby improving the quality of the video frame to be played.
  • the method provided by the embodiment of the present invention selects different post-processing methods and processing strengths according to the video quality level of the video frame to be played, and does not perform or select when the video quality level of the video frame to be played is high. After the video quality level of the video frame to be played is low, the processing intensity of the video frame to be played is improved, so that the video quality is improved at the expense of a limited amount of processing, and the user has a better visual experience.
  • FIG. 4 a hardware structure diagram of a video processing device 400 according to an embodiment of the present invention is shown in FIG.
  • processors 410 and memory 420 One or more processors 410 and memory 420, one processor 410 is exemplified in FIG.
  • the video processing device that performs the video processing method may further include: an input device 430 and an output device 440.
  • the processor 410, the memory 420, the input device 430, and the output device 440 may be connected by a bus or other means, as exemplified by a bus connection in FIG.
  • the memory 420 is a non-volatile computer readable storage medium that can be used to store nonvolatiles
  • the software program, the non-volatile computer executable program, and the module, the program instruction/module corresponding to the video processing method in the embodiment of the present invention for example, the obtaining unit 301, the determining unit 302, and the processing unit shown in FIG. 3) 303).
  • the processor 410 executes various functional applications of the server and data processing by executing non-volatile software programs, instructions, and modules stored in the memory 420, that is, a method of implementing video processing of the above-described method embodiments.
  • the memory 420 may include a storage program area and an storage data area, wherein the storage program area may store an operating system, an application required for at least one function; the storage data area may store data created by use of the processing device operated according to the list item, and the like. .
  • memory 420 can include high speed random access memory, and can also include non-volatile memory, such as at least one magnetic disk storage device, flash memory device, or other non-volatile solid state storage device.
  • memory 420 can optionally include memory remotely located relative to processor 410, which can be connected to the processing device of the list item operation over a network. Examples of such networks include, but are not limited to, the Internet, intranets, local area networks, mobile communication networks, and combinations thereof.
  • Input device 430 can receive input numeric or character information and generate key signal inputs related to user settings and function control of the video processing device.
  • Output device 440 can include a display device such as a display screen.
  • the one or more modules are stored in the memory 420, and when executed by the one or more processors 410, perform the video processing method in any of the above method embodiments.
  • the above product can perform the method provided by the embodiment of the present invention, and has the corresponding functional modules and beneficial effects of the execution method.
  • the above product can perform the method provided by the embodiment of the present invention, and has the corresponding functional modules and beneficial effects of the execution method.
  • the video processing device of the embodiment of the present invention exists in various forms, including but not limited to:
  • Mobile communication devices These devices are characterized by mobile communication functions and are mainly aimed at providing voice and data communication.
  • Such terminals include: smart phones (such as iPhone), multimedia phones, functional phones, and low-end phones.
  • Ultra-mobile personal computer equipment This type of equipment belongs to the category of personal computers, has computing and processing functions, and generally has mobile Internet access.
  • Such terminals include: PDA, MID and UMPC Equipment, etc., such as an iPad.
  • Portable entertainment devices These devices can display and play multimedia content. Such devices include: audio, video players (such as iPod), handheld game consoles, e-books, and smart toys and portable car navigation devices.
  • the server consists of a processor, a hard disk, a memory, a system bus, etc.
  • the server is similar to a general-purpose computer architecture, but because of the need to provide highly reliable services, processing power and stability High reliability in terms of reliability, security, scalability, and manageability.
  • the at least one processor 410 is configured to: acquire a video frame to be played; determine a pixel depth of the to-be-played video frame, and determine a video quality level of the to-be-played video frame according to a pixel depth of the to-be-played video frame; If it is determined that the video quality level of the to-be-played video frame is less than the preset level, when the to-be-played video frame is a dark field scene image, image enhancement processing is performed on the to-be-played video frame.
  • the at least one processor 410 is further configured to: before determining a video quality level of the to-be-played video frame according to a pixel depth of the to-be-played video frame, if it is determined that the resolution of the to-be-played video frame is smaller than The preset resolution is performed on the video frame to be played.
  • the at least one processor 410 is specifically configured to: determine a video quality level of the to-be-played video frame according to the following formula:
  • the at least one processor 410 is further configured to perform deblocking filtering processing on the to-be-played video frame if the video quality level of the to-be-played video frame is greater than or equal to the preset level. .
  • the at least one processor 410 is specifically configured to: perform discrete cosine transform on the to-be-played video frame, and perform quantization processing on the discrete cosine-transformed video frame to be played; The subsequent video frame to be played is subjected to inverse discrete cosine transform to obtain the to-be-played video frame after image enhancement processing.
  • Embodiments of the present invention provide a non-transitory computer readable storage medium storing computer instructions for causing the computer to perform the video processing described in any of the above method.
  • the storage medium may be a magnetic disk, an optical disk, a read-only memory (ROM), or a random access memory (RAM).
  • Embodiments of the present invention provide a computer program product, the computer program product comprising a computing program stored on a non-transitory computer readable storage medium, the computer program comprising program instructions, when the program instructions are executed by a computer, The computer is caused to perform the video processing method of any of the above.
  • the program can be stored in a computer readable storage medium, which, when executed, can include the flow of an embodiment of the methods described above.
  • the storage medium may be a magnetic disk, an optical disk, a read only memory (ROM), or a random access memory (RAM).
  • the device embodiments described above are merely illustrative, wherein the units described as separate components may or may not be physically separate, and the components displayed as units may or may not be physical units, ie may be located A place, or it can be distributed to multiple network units. Some or all of the modules may be selected according to actual needs to achieve the purpose of the solution of the embodiment.

Landscapes

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

Abstract

本发明实施例提供一种视频处理方法及设备,包括,获取待播放视频帧;确定所述待播放视频帧的像素深度,并根据所述待播放视频帧的像素深度确定所述待播放视频帧的视频质量等级;若确定所述待播放视频帧的视频质量等级小于预设等级,则在待播放视频帧为暗场场景图像时,对待播放视频帧进行图像增强处理。根据本发明实施例提供的视频处理方法及设备,在获取待播放视频帧之后,根据待播放视频帧的像素深度确定所述待播放视频帧的视频质量等级,并在确定待播放视频帧的视频质量等级小于预设等级时,对所述待播放视频帧中的暗场场景图像进行图像增强处理,从而提升待播放视频帧的质量,从而在视频播放时,实现为用户提供更好的视觉体验。

Description

一种视频处理方法及设备
本申请要求在2016年4月28日提交中华人民共和国知识产权局、申请号为201610280341.8,发明名称为“一种视频处理方法及设备”的中国专利申请的优先权,其全部内容通过引用结合在本申请中。
技术领域
本发明涉及视频技术领域,尤其涉及一种视频处理方法及设备。
背景技术
随着智能电视的发展,看电视直播已不再是电视的唯一用途,用户可以通过播放网络、本地存储设备、多屏幕共享等上的视频看所喜欢的电影、节目等。
目前,现有的视频播放设备在进行视频播放时,只是根据视频的视频编码格式、视频编码参数、视频质量等视频参数进行播放,然而,有些视频的质量较差,导致播放时出现画面模糊等现象,从而不能满足用户的视觉体验。
因此,在进行视频播放时,如何根据视频的质量对视频进行处理,从而实现为用户提供更好的视觉体验,还没有一种有效的解决方法。
发明内容
本发明实施例提供一种视频处理方法及设备,用以解决现有技术中只是根据视频资源的视频参数进行播放视频,导致性能较差的视频在播放时出现画面模糊等问题。
第一方面,本发明实施例提供一种视频处理方法,包括:
获取待播放视频帧;
确定所述待播放视频帧的像素深度,并根据所述待播放视频帧的像素深度确定所述待播放视频帧的视频质量等级;
若确定所述待播放视频帧的视频质量等级小于预设等级,则针对所述待播放视频帧中的每一帧待播放视频帧,在所述待播放视频帧为暗场场景图像时,对所述待播放视频帧进行图像增强处理。
可选地,所述根据所述待播放视频帧的像素深度确定所述待播放视频帧的视频质量等级之前,还包括:若确定所述待播放视频帧的分辨率小于预设分辨率,则对所述待播放视频帧进行上采样处理。
可选地,所述根据所述待播放视频帧的像素深度确定所述待播放视频帧的视频质量等级,包括:根据以下公式确定所述待播放视频帧的视频质量等级:
Figure PCTCN2016099959-appb-000001
其中,q为所述待播放视频帧的视频质量等级;k为预设值;x为所述待播放视频帧在解码之前存储每个像素所用的比特位数;b为所述像素深度。
可选地,所述方法还包括:若确定所述待播放视频帧的视频质量等级大于或等于所述预设等级,则对所述待播放视频帧进行去块效应滤波处理。
可选地,所述对所述待播放视频帧进行图像增强处理,包括:
对所述待播放视频帧进行离散余弦变换,并将离散余弦变换后的所述待播放视频帧进行量化处理;
将经过所述量化处理后的所述待播放视频帧进行逆离散余弦变换,获得图像增强处理后的所述待播放视频帧。
第二方面,本发明实施例提供一种视频处理设备,包括:
获取单元,用于获取待播放视频帧;
确定单元,用于确定所述待播放视频帧的像素深度,并根据所述待播放视频帧的像素深度确定所述待播放视频帧的视频质量等级;
处理单元,用于若确定所述待播放视频帧的视频质量等级小于预设等级,则针对所述待播放视频帧中的每一帧待播放视频帧,在所述待播放视频帧为暗场场景图像时,对所述待播放视频帧进行图像增强处理。
可选地,所述处理单元还用于:根据所述待播放视频帧的像素深度确定所述待播放视频帧的视频质量等级之前,若确定所述待播放视频帧的分辨率小于预设分辨率,则对所述待播放视频帧进行上采样处理。
可选地,所述确定单元具体用于:根据以下公式确定所述待播放视频帧的视频质量等级:
Figure PCTCN2016099959-appb-000002
其中,q为所述待播放视频帧的视频质量等级;k为预设值;x为所述待播放视频帧在解码之前存储每个像素所用的比特位数;b为所述像素深度。
可选地,所述处理单元还用于:若确定所述待播放视频帧的视频质量等级大于或等于所述预设等级,则对所述待播放视频帧进行去块效应滤波处理。
可选地,所述处理单元具体用于:对所述待播放视频帧进行离散余弦变换,并将离散余弦变换后的所述待播放视频帧进行量化处理;将经过所述量化处理后的所述待播放视频帧进行逆离散余弦变换,获得图像增强处理后的所述待播放视频帧。
第三方面,本发明实施例提供一种视频处理设备,包括:
至少一个处理器;以及,
与所述至少一个处理器通信连接的存储器;其中,
所述存储器存储有可被所述至少一个处理器执行的指令,所述指令被所 述至少一个处理器执行,以使所述至少一个处理器能够:
获取待播放视频帧;
确定所述待播放视频帧的像素深度,并根据所述待播放视频帧的像素深度确定所述待播放视频帧的视频质量等级;若确定所述待播放视频帧的视频质量等级小于预设等级,则在所述待播放视频帧为暗场场景图像时,对所述待播放视频帧进行图像增强处理。
可选地,所述至少一个处理器还用于:根据所述待播放视频帧的像素深度确定所述待播放视频帧的视频质量等级之前,若确定所述待播放视频帧的分辨率小于预设分辨率,则对所述待播放视频帧进行上采样处理。
可选地,所述至少一个处理器具体用于:根据以下公式确定所述待播放视频帧的视频质量等级:
Figure PCTCN2016099959-appb-000003
其中,q为所述待播放视频帧的视频质量等级;k为预设值;x为所述待播放视频帧在解码之前存储每个像素所用的比特位数;b为所述像素深度。
可选地,所述至少一个处理器还用于:若确定所述待播放视频帧的视频质量等级大于或等于所述预设等级,则对所述待播放视频帧进行去块效应滤波处理。
可选地,所述至少一个处理器具体用于:对所述待播放视频帧进行离散余弦变换,并将离散余弦变换后的所述待播放视频帧进行量化处理;将经过所述量化处理后的所述待播放视频帧进行逆离散余弦变换,获得图像增强处理后的所述待播放视频帧。
第四方面,本发明实施例提供一种非暂态计算机可读存储介质,所述非暂态计算机可读存储介质存储计算机指令,所述计算机指令用于使所述计算机执行上述任一项所述的视频处理方法。
第五方面,本发明实施例提供一种计算机程序产品,所述计算机程序产品包括存储在非暂态计算机可读存储介质上的计算程序,所述计算机程序包括程序指令,当所述程序指令被计算机执行时,使所述计算机执行上述任一项所述的视频处理方法。
本发明实施例提供的视频处理方法及设备,在获取待播放视频帧之后,根据所述待播放视频帧的像素深度确定所述待播放视频帧的视频质量等级,并在确定所述待播放视频帧的视频质量等级小于预设等级时,对所述待播放视频帧中的暗场场景图像进行图像增强处理,从而提升待播放视频帧的质量,从而在视频播放时,实现为用户提供更好的视觉体验。
附图说明
一个或多个实施例通过与之对应的附图中的图片进行示例性说明,这些示例性说明并不构成对实施例的限定,附图中具有相同参考数字标号的元件表示为类似的元件,除非有特别申明,附图中的图不构成比例限制。
图1本发明实施例提供的一种视频处理方法流程示意图;
图2本发明实施例提供的一种视频处理方法流程图;
图3本发明实施例提供的一种视频处理设备结构示意图;
图4为本发明实施例提供的一种视频处理设备的硬件结构示意图。
具体实施方式
为使本发明实施例的目的、技术方案和优点更加清楚,下面将结合本发明实施例中的附图,对本发明实施例中的技术方案进行清楚、完整地描述,显然,所描述的实施例是本发明一部分实施例,而不是全部的实施例。基于本发明中的实施例,本领域普通技术人员在没有作出创造性劳动前提下所获 得的所有其他实施例,都属于本发明保护的范围。
基于上述论述,如图1所示,本发明实施例提供的一种视频处理方法流程示意图。图1中的执行主体可以为手机、计算机、机顶盒等设备。
实施例一
如图1所示,该方法具体包括以下步骤:
步骤101:获取待播放视频帧;
步骤102:确定所述待播放视频帧的像素深度,并根据所述待播放视频帧的像素深度确定所述待播放视频帧的视频质量等级;
步骤103:若确定所述待播放视频帧的视频质量等级小于预设等级,则在所述待播放视频帧为暗场场景图像时,对所述待播放视频帧进行图像增强处理。
步骤101中,获取到的待播放视频帧为经过视频编码后的视频帧。因此,在获得所述待播放视频帧之后需要根据所述待播放视频帧的视频编码方式对所述待播放视频帧进行解码。
本发明实施例中,所述待播放视频帧所对应的视频编码方式可以为现有视频编码方式中的任意一种,本发明实施例对此并不限定。例如,HEVC(High Efficiency Video Coding,高效视频编码)、H264等。
本发明实施例中,可以通过网络获取所述待播放视频帧,也可以通过本地存储的视频文件获取待播放视频帧,本发明实施例对此并不限定。
需要说明的是,本发明实施例中,获得到的待播放视频帧所对应的视频文件的视频格式可以为现有视频格式中的任意一种。例如,AVI(Audio Video Interleaved,音频视频交错)、ASF(Advanced Streaming format,高级流 格式)、FLV(Flash Video,流媒体格式视频)、MPEG(Motion Picture Experts Group,运动待播放视频帧专家组)等格式。
步骤102中,在获得待播放视频帧后,可以确定待播放视频帧的分辨率。同时,还可以根据所述待播放视频帧在解码之前的数据大小以及分辨率确定所述待播放视频帧在解码之前存储每个像素所用的比特位数。
举例来说,一幅待播放视频帧的分辨率是1024×768,它在解码之前的数据量为768kb,则所述待播放视频帧在解码之前存储每个像素所用的比特位数为8=768×1024×8÷(1024×768)。
本发明实施例中,确定待播放视频帧的分辨率之后,还可以先判断所述待播放视频帧的分辨率是否小于预设分辨率,若所述待播放视频帧的分辨率小于预设分辨率,则对所述待播放视频帧进行上采样处理;若所述待播放视频帧的分辨率大于或等于预设分辨率,则不再对所述待播放视频帧进行上采样处理。
可选的,预设分辨率可以为720p。当然此处只是示例,预设分辨率还可以为其他值,在此不再赘述。
本发明实施例中,上采样可以采用抽样滤波的方法实现。具体的,如果抽样滤波器的阶数为N,抽样的像素的像素值分别为x1,x2,……,xN-1,xN,抽样滤波器的系数为C1,C2,……,CN-1,CN,则插值的像素值y为:
Figure PCTCN2016099959-appb-000004
本发明实施例中,在确定待播放视频帧的分辨率之后,或者,对所述待播放视频帧进行上采样处理之后,可以根据待播放视频帧的分辨率确定所述待播放视频帧的像素深度,即确定所述待播放视频帧在经过解码之后存储每个像素所用的比特位数。
举例来说,一幅待播放视频帧的分辨率是1024×768,它的数据量为1.5M,则它的像素深度为16,即存储每个像素采用16个比特位。
步骤103中,在确定了待播放视频帧的像素深度之后,就可以根据所述待播放视频帧的像素深度确定所述待播放视频帧的视频质量等级。本发明实施例中,可以根据以下公式确定所述待播放视频帧的视频质量等级:
Figure PCTCN2016099959-appb-000005
其中,q为所述待播放视频帧的视频质量等级;k为预设值;x为所述待播放视频帧在解码之前存储每个像素所用的比特位数;b为所述像素深度,即所述待播放视频帧在经过解码之后存储每个像素所用的比特位数。
Figure PCTCN2016099959-appb-000006
为向下取整运算。k的值可以根据实际情况确定,例如,可以取0至31中的任意一个值。
在确定了待播放视频帧的视频质量等级之后,若确定所述待播放视频帧的视频质量等级大于或等于预设等级,则可以直接播放所述待播放视频帧。其中,预设等级可以根据实际情况取值,在此不再赘述。
可选的,本发明实施例中,在确定了待播放视频帧的视频质量等级之后,还可以对所述待播放视频帧进行去块效应滤波,从而进一步提高待播放视频帧的视频质量。具体的,针对所述待播放视频帧中的每一帧待播放视频帧,对所述待播放视频帧进行去块效应滤波处理。通过对每一帧待播放视频帧进行去块效应滤波处理,从而可以实现对待播放视频帧的边缘进行平滑滤波,从而消除待播放视频帧中由于分块编码算法带来的伪边界。
可选的,本发明实施例中,在确定了待播放视频帧的视频质量等级之后,对所述待播放视频帧进行去块效应滤波之前,还可以判断所述待播放视频帧是否经过了环路滤波,如果进行了环路滤波,则可以不再对所述待播放 视频帧进行去块效应滤波处理。
最后可以将进行去块效应滤波处理后的待播放视频帧进行显示。
可选的,本发明实施例中,若确定所述待播放视频帧的视频质量等级小于预设等级,则针对所述待播放视频帧中的每一帧待播放视频帧,判断所述待播放视频帧是否为暗场场景图像,若所述待播放视频帧不为暗场场景图像,则可以直接显示所述待播放视频帧。若所述待播放视频帧为暗场场景图像,则对所述待播放视频帧进行图像增强处理。
本发明实施例中,若确定所述待播放视频帧中每个像素的亮度分量值小于亮度阈值,则确定所述待播放视频帧为暗场场景图像。
可选的,所述亮度阈值可以通过以下公式计算:
Figure PCTCN2016099959-appb-000007
其中,H为亮度阈值,hmax为所述待播放视频帧中的像素点所能达到的最大的亮度值,hmin为所述待播放视频帧中的像素点所能达到的最小的亮度值。
当然,以上只是示例,还可以通过其他方法确定亮度阈值,在此不再赘述。
在确定所述待播放视频帧为暗场场景图像之后,对所述待播放视频帧进行离散余弦变换(Discrete Cosine Transformation,DCT),并将离散余弦变换后的所述待播放视频帧进行量化处理;然后将经过所述量化处理后的所述待播放视频帧进行逆离散余弦变换(Inverse Discrete Cosine Transformation,IDCT),获得图像增强处理后的所述待播放视频帧。
由于暗场场景图像容易出现块效应、色斑、伪彩等现象,经过增强处理后的所述待播放视频帧,能够克服块效应、色斑、伪彩等现象,从而在播放 所述待播放视频帧时,提高用户的视觉体验。
下面结合实施例详细描述上面的过程。
实施例二
如图2所示,为本发明实施例提供的一种视频处理方法流程图。
步骤201:获取待播放视频帧。
此处获取到的待播放视频帧为经过视频编码后的视频帧,此时需要对所述待播放视频帧进行视频解码。
步骤202:确定所述待播放视频帧的分辨率,并判断待播放视频帧的分辨率是否大于预设分辨率,若否,则转至步骤203,否则转至步骤204。
步骤203:对所述待播放视频帧进行上采样处理。
步骤204:确定所述待播放视频帧的像素深度,并根据所述像素深度确定所述待播放视频帧的视频质量等级。
步骤205:判断所述待播放视频帧是否小于预设等级,若否,则转至步骤206,否则,转至步骤207。
步骤206:对所述待播放视频帧进行去块效应滤波处理,转至步骤209。
步骤207:判断所述待播放视频帧是否为暗场场景图像,若是,则转至步骤208,否则转至步骤209。
步骤208:对所述待播放视频帧进行图像增强处理。
步骤209:播放所述待播放视频帧。
具体的,对所述待播放视频帧进行离散余弦变换,并将离散余弦变换后的所述待播放视频帧进行量化处理;将经过所述量化处理后的所述待播放视频帧进行逆离散余弦变换,获得图像增强处理后的所述待播放视频帧。
实施例三
基于相同的发明构思,本发明实施例还提供一种视频处理设备,该视频处理设备可以执行上述方法。
如图3所示,为本发明实施例还提供一种视频处理设备结构示意图,包括:
获取单元301,用于获取待播放视频帧;
确定单元302,用于确定所述待播放视频帧的像素深度,并根据所述待播放视频帧的像素深度确定所述待播放视频帧的视频质量等级;
处理单元303,用于若确定所述待播放视频帧的视频质量等级小于预设等级,则在所述待播放视频帧为暗场场景图像时,对所述待播放视频帧进行图像增强处理。
可选的,所述根据所述待播放视频帧的像素深度确定所述待播放视频帧的视频质量等级之前,所述处理单元303还用于:
若确定所述待播放视频帧的分辨率小于预设分辨率,则对所述待播放视频帧进行上采样处理。
可选的,所述确定单元302具体用于:
根据以下公式确定所述待播放视频帧的视频质量等级:
Figure PCTCN2016099959-appb-000008
其中,q为所述待播放视频帧的视频质量等级;k为预设值;x为所述待播放视频帧在解码之前存储每个像素所用的比特位数;b为所述像素深度。
可选的,所述处理单元303还用于:
若确定所述待播放视频帧的视频质量等级大于或等于所述预设等级,则对所述待播放视频帧进行去块效应滤波处理。
可选的,所述处理单元303具体用于:
对所述待播放视频帧进行离散余弦变换,并将离散余弦变换后的所述待播放视频帧进行量化处理;
将经过所述量化处理后的所述待播放视频帧进行逆离散余弦变换,获得图像增强处理后的所述待播放视频帧。
综上所述,根据本发明实施例提供的视频处理方法及设备,在获取待播放视频帧之后,根据所述待播放视频帧的像素深度确定所述待播放视频帧的视频质量等级,并在确定所述待播放视频帧的视频质量等级小于预设等级时,对所述待播放视频帧中的暗场场景图像进行图像增强处理,从而提升待播放视频帧的质量。由于本发明实施例提供的方法,是根据待播放视频帧的视频质量等级,对待播放视频帧选择不同的后处理方法及处理强度,待播放视频帧的视频质量等级较高时,不进行或者选择性进行后处理;待播放视频帧的视频质量等级较低时,提高处理待播放视频帧的处理强度,从而以牺牲有限处理量的前提下获得视频质量的提高,给用户更好的视觉体验。
实施例四
基于相同构思,参见图4,为本发明实施例提供的一种视频处理设备400的硬件结构示意图,如图4所示,包括:
一个或多个处理器410以及存储器420,图4中以一个处理器410为例。
执行视频处理方法的视频处理设备还可以包括:输入装置430和输出装置440。
处理器410、存储器420、输入装置430和输出装置440可以通过总线或者其他方式连接,图4中以通过总线连接为例。
存储器420作为一种非易失性计算机可读存储介质,可用于存储非易失 性软件程序、非易失性计算机可执行程序以及模块,如本发明实施例中的视频处理方法对应的程序指令/模块(例如,附图3所示的获取单元301、确定单元302、处理单元303)。处理器410通过运行存储在存储器420中的非易失性软件程序、指令以及模块,从而执行服务器的各种功能应用以及数据处理,即实现上述方法实施例视频处理的方法。
存储器420可以包括存储程序区和存储数据区,其中,存储程序区可存储操作系统、至少一个功能所需要的应用程序;存储数据区可存储根据列表项操作的处理装置的使用所创建的数据等。此外,存储器420可以包括高速随机存取存储器,还可以包括非易失性存储器,例如至少一个磁盘存储器件、闪存器件、或其他非易失性固态存储器件。在一些实施例中,存储器420可选包括相对于处理器410远程设置的存储器,这些远程存储器可以通过网络连接至列表项操作的处理装置。上述网络的实例包括但不限于互联网、企业内部网、局域网、移动通信网及其组合。
输入装置430可接收输入的数字或字符信息,以及产生与视频处理设备的用户设置以及功能控制有关的键信号输入。输出装置440可包括显示屏等显示设备。
所述一个或者多个模块存储在所述存储器420中,当被所述一个或者多个处理器410执行时,执行上述任意方法实施例中的视频处理方法。
上述产品可执行本发明实施例所提供的方法,具备执行方法相应的功能模块和有益效果。未在本实施例中详尽描述的技术细节,可参见本发明实施例所提供的方法。
本发明实施例的视频处理设备以多种形式存在,包括但不限于:
(1)移动通信设备:这类设备的特点是具备移动通信功能,并且以提供话音、数据通信为主要目标。这类终端包括:智能手机(例如iPhone)、多媒体手机、功能性手机,以及低端手机等。
(2)超移动个人计算机设备:这类设备属于个人计算机的范畴,有计算和处理功能,一般也具备移动上网特性。这类终端包括:PDA、MID和UMPC 设备等,例如iPad。
(3)便携式娱乐设备:这类设备可以显示和播放多媒体内容。该类设备包括:音频、视频播放器(例如iPod),掌上游戏机,电子书,以及智能玩具和便携式车载导航设备。
(4)服务器:提供计算服务的设备,服务器的构成包括处理器、硬盘、内存、系统总线等,服务器和通用的计算机架构类似,但是由于需要提供高可靠的服务,因此在处理能力、稳定性、可靠性、安全性、可扩展性、可管理性等方面要求较高。
(5)其他具有数据交互功能的电子装置。
所述至少一个处理器410用于:获取待播放视频帧;确定所述待播放视频帧的像素深度,并根据所述待播放视频帧的像素深度确定所述待播放视频帧的视频质量等级;若确定所述待播放视频帧的视频质量等级小于预设等级,则在所述待播放视频帧为暗场场景图像时,对所述待播放视频帧进行图像增强处理。
可选地,所述至少一个处理器410还用于:根据所述待播放视频帧的像素深度确定所述待播放视频帧的视频质量等级之前,若确定所述待播放视频帧的分辨率小于预设分辨率,则对所述待播放视频帧进行上采样处理。
可选地,所述至少一个处理器410具体用于:根据以下公式确定所述待播放视频帧的视频质量等级:
Figure PCTCN2016099959-appb-000009
其中,q为所述待播放视频帧的视频质量等级;k为预设值;x为所述待播放视频帧在解码之前存储每个像素所用的比特位数;b为所述像素深度。
可选地,所述至少一个处理器410还用于:若确定所述待播放视频帧的视频质量等级大于或等于所述预设等级,则对所述待播放视频帧进行去块效应滤波处理。
可选地,所述至少一个处理器410具体用于:对所述待播放视频帧进行离散余弦变换,并将离散余弦变换后的所述待播放视频帧进行量化处理;将经过所述量化处理后的所述待播放视频帧进行逆离散余弦变换,获得图像增强处理后的所述待播放视频帧。
实施例五
本发明实施例提供一种非暂态计算机可读存储介质,所述非暂态计算机可读存储介质存储计算机指令,所述计算机指令用于使所述计算机执行上述任一项所述的视频处理方法。
本领域普通技术人员可以理解实现上述实施例方法中的全部或部分流程,是可以通过计算机程序来指令相关的硬件来完成,所述的程序可存储于一计算机可读取存储介质中,该程序在执行时,可包括如上述各方法的实施例的流程。其中,所述的存储介质可为磁碟、光盘、只读存储记忆体(Read-Only Memory,ROM)或随机存储记忆体(RandomAccessMemory,RAM)等。
实施例六
本发明实施例提供一种计算机程序产品,所述计算机程序产品包括存储在非暂态计算机可读存储介质上的计算程序,所述计算机程序包括程序指令,当所述程序指令被计算机执行时,使所述计算机执行上述任一项所述的视频处理方法。
需要说明的是,本领域普通技术人员可以理解实现上述实施例方法中的全部或部分流程,是可以通过计算机程序来指令相关的硬件来完成,所述 的程序可存储于一计算机可读取存储介质中,该程序在执行时,可包括如上述各方法的实施例的流程。其中,所述的存储介质可为磁碟、光盘、只读存储记忆体(ROM)或随机存储记忆体(RAM)等。
以上所描述的装置实施例仅仅是示意性的,其中所述作为分离部件说明的单元可以是或者也可以不是物理上分开的,作为单元显示的部件可以是或者也可以不是物理单元,即可以位于一个地方,或者也可以分布到多个网络单元上。可以根据实际的需要选择其中的部分或者全部模块来实现本实施例方案的目的。
通过以上的实施方式的描述,本领域的技术人员可以清楚地了解到各实施方式可借助软件加通用硬件平台的方式来实现,当然也可以通过硬件。基于这样的理解,上述技术方案本质上或者说对相关技术做出贡献的部分可以以软件产品的形式体现出来,该计算机软件产品可以存储在计算机可读存储介质中,如ROM/RAM、磁碟、光盘等,包括若干指令用以使得一台计算机设备(可以是个人计算机,服务器,或者网络设备等)执行各个实施例或者实施例的某些部分所述的方法。
最后应说明的是:以上实施例仅用以说明本申请的技术方案,而非对其限制;尽管参照前述实施例对本申请进行了详细的说明,本领域的普通技术人员应当理解:其依然可以对前述各实施例所记载的技术方案进行修改,或者对其中部分技术特征进行等同替换;而这些修改或者替换,并不使相应技术方案的本质脱离本申请各实施例技术方案的精神和范围。

Claims (13)

  1. 一种视频处理方法,其特征在于,应用于视频处理设备,包括:
    获取待播放视频帧;
    确定所述待播放视频帧的像素深度,并根据所述待播放视频帧的像素深度确定所述待播放视频帧的视频质量等级;
    若确定所述待播放视频帧的视频质量等级小于预设等级,则在所述待播放视频帧为暗场场景图像时,对所述待播放视频帧进行图像增强处理。
  2. 根据权利要求1所述的视频处理方法,其特征在于,所述根据所述待播放视频帧的像素深度确定所述待播放视频帧的视频质量等级之前,还包括:
    若确定所述待播放视频帧的分辨率小于预设分辨率,则对所述待播放视频帧进行上采样处理。
  3. 根据权利要求1或2所述的视频处理方法,其特征在于,所述根据所述待播放视频帧的像素深度确定所述待播放视频帧的视频质量等级,包括:
    根据以下公式确定所述待播放视频帧的视频质量等级:
    Figure PCTCN2016099959-appb-100001
    其中,q为所述待播放视频帧的视频质量等级;k为预设值;x为所述待播放视频帧在解码之前存储每个像素所用的比特位数;b为所述像素深度。
  4. 根据权利要求1至3任一所述的视频处理方法,其特征在于,所述方法还包括:
    若确定所述待播放视频帧的视频质量等级大于或等于所述预设等级,则对所述待播放视频帧进行去块效应滤波处理。
  5. 根据权利要求1至3任一所述的视频处理方法,其特征在于,所述对所述待播放视频帧进行图像增强处理,包括:
    对所述待播放视频帧进行离散余弦变换,并将离散余弦变换后的所述待播放视频帧进行量化处理;
    将经过所述量化处理后的所述待播放视频帧进行逆离散余弦变换,获得图像增强处理后的所述待播放视频帧。
  6. 一种视频处理设备,其特征在于,包括:
    获取单元,用于获取待播放视频帧;
    确定单元,用于确定所述待播放视频帧的像素深度,并根据所述待播放视频帧的像素深度确定所述待播放视频帧的视频质量等级;
    处理单元,用于若确定所述待播放视频帧的视频质量等级小于预设等级,则在所述待播放视频帧为暗场场景图像时,对所述待播放视频帧进行图像增强处理。
  7. 根据权利要求6所述的视频处理设备,其特征在于,所述处理单元还用于:
    根据所述待播放视频帧的像素深度确定所述待播放视频帧的视频质量等级之前,若确定所述待播放视频帧的分辨率小于预设分辨率,则对所述待播放视频帧进行上采样处理。
  8. 根据权利要求6或7所述的视频处理设备,其特征在于,所述确定单元具体用于:
    根据以下公式确定所述待播放视频帧的视频质量等级:
    Figure PCTCN2016099959-appb-100002
    其中,q为所述待播放视频帧的视频质量等级;k为预设值;x为所述待播放视频帧在解码之前存储每个像素所用的比特位数;b为所述像素深度。
  9. 根据权利要求6至8任一所述的视频处理设备,其特征在于,所述处理单元还用于:
    若确定所述待播放视频帧的视频质量等级大于或等于所述预设等级,则对所述待播放视频帧进行去块效应滤波处理。
  10. 根据权利要求6至8任一所述的视频处理设备,其特征在于,所述处理单元具体用于:
    对所述待播放视频帧进行离散余弦变换,并将离散余弦变换后的所述待播放视频帧进行量化处理;
    将经过所述量化处理后的所述待播放视频帧进行逆离散余弦变换,获得图像增强处理后的所述待播放视频帧。
  11. 一种视频处理设备,其特征在于,包括:
    至少一个处理器;以及,
    与所述至少一个处理器通信连接的存储器;其中,
    所述存储器存储有可被所述至少一个处理器执行的指令,所述指令被所述至少一个处理器执行,以使所述至少一个处理器能够执行权利要求1-5任一所述方法。
  12. 一种非暂态计算机可读存储介质,其特征在于,所述非暂态计算机可读存储介质存储计算机指令,所述计算机指令用于使所述计算机执行权利要求1-5任一所述方法。
  13. 一种计算机程序产品,其特征在于,所述计算机程序产品包括存储在非暂态计算机可读存储介质上的计算程序,所述计算机程序包括程序指令,当所述程序指令被计算机执行时,使所述计算机执行权利要求1-5所述的方法。
PCT/CN2016/099959 2016-04-28 2016-09-23 一种视频处理方法及设备 WO2017185609A1 (zh)

Applications Claiming Priority (2)

Application Number Priority Date Filing Date Title
CN201610280341.8 2016-04-28
CN201610280341.8A CN105898565A (zh) 2016-04-28 2016-04-28 一种视频处理方法及设备

Publications (1)

Publication Number Publication Date
WO2017185609A1 true WO2017185609A1 (zh) 2017-11-02

Family

ID=56702996

Family Applications (1)

Application Number Title Priority Date Filing Date
PCT/CN2016/099959 WO2017185609A1 (zh) 2016-04-28 2016-09-23 一种视频处理方法及设备

Country Status (2)

Country Link
CN (1) CN105898565A (zh)
WO (1) WO2017185609A1 (zh)

Cited By (4)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN112068771A (zh) * 2020-08-17 2020-12-11 Oppo广东移动通信有限公司 视频处理方法、视频处理装置、终端设备及存储介质
CN112804577A (zh) * 2019-11-14 2021-05-14 西安诺瓦星云科技股份有限公司 视频切换显示方法及装置、视频处理设备和存储介质
CN114401445A (zh) * 2021-12-31 2022-04-26 深圳云天励飞技术股份有限公司 视频处理控制方法、装置、监控设备、客户端及存储介质
CN116668773A (zh) * 2022-11-22 2023-08-29 荣耀终端有限公司 增强视频画质的方法与电子设备

Families Citing this family (3)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN105898565A (zh) * 2016-04-28 2016-08-24 乐视控股(北京)有限公司 一种视频处理方法及设备
US10334238B2 (en) * 2017-01-03 2019-06-25 Black Sails Technology Inc. Method and system for real-time rendering displaying high resolution virtual reality (VR) video
CN108259997B (zh) * 2018-04-02 2019-08-23 腾讯科技(深圳)有限公司 图像相关处理方法及装置、智能终端、服务器、存储介质

Citations (6)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
US20090161768A1 (en) * 2007-12-20 2009-06-25 Young-O Park Method and apparatus for video decoding, in the presence of noise
CN102056009A (zh) * 2009-11-05 2011-05-11 中国移动通信集团公司 视频序列的图像质量评估方法及装置
CN102314673A (zh) * 2011-08-02 2012-01-11 中国科学院长春光学精密机械与物理研究所 一种自适应图像增强方法
CN102811354A (zh) * 2011-05-30 2012-12-05 深圳市快播科技有限公司 一种视频画质增强播放方法及点播终端
US20150003749A1 (en) * 2013-06-28 2015-01-01 Samsung Electronics Co., Ltd. Image processing device and image processing method
CN105898565A (zh) * 2016-04-28 2016-08-24 乐视控股(北京)有限公司 一种视频处理方法及设备

Family Cites Families (3)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
US7412100B2 (en) * 2003-09-04 2008-08-12 Qualcomm Incorporated Apparatus and method for sub-sampling images in a transform domain
CN101272489B (zh) * 2007-03-21 2011-08-10 中兴通讯股份有限公司 视频图像质量增强的编解码装置与编解码方法
CN102158699B (zh) * 2011-03-28 2012-12-12 广州市聚晖电子科技有限公司 一种带有图像增强功能的嵌入式视频压缩编码系统

Patent Citations (6)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
US20090161768A1 (en) * 2007-12-20 2009-06-25 Young-O Park Method and apparatus for video decoding, in the presence of noise
CN102056009A (zh) * 2009-11-05 2011-05-11 中国移动通信集团公司 视频序列的图像质量评估方法及装置
CN102811354A (zh) * 2011-05-30 2012-12-05 深圳市快播科技有限公司 一种视频画质增强播放方法及点播终端
CN102314673A (zh) * 2011-08-02 2012-01-11 中国科学院长春光学精密机械与物理研究所 一种自适应图像增强方法
US20150003749A1 (en) * 2013-06-28 2015-01-01 Samsung Electronics Co., Ltd. Image processing device and image processing method
CN105898565A (zh) * 2016-04-28 2016-08-24 乐视控股(北京)有限公司 一种视频处理方法及设备

Cited By (7)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN112804577A (zh) * 2019-11-14 2021-05-14 西安诺瓦星云科技股份有限公司 视频切换显示方法及装置、视频处理设备和存储介质
CN112804577B (zh) * 2019-11-14 2023-10-20 西安诺瓦星云科技股份有限公司 视频切换显示方法及装置、视频处理设备和存储介质
CN112068771A (zh) * 2020-08-17 2020-12-11 Oppo广东移动通信有限公司 视频处理方法、视频处理装置、终端设备及存储介质
CN114401445A (zh) * 2021-12-31 2022-04-26 深圳云天励飞技术股份有限公司 视频处理控制方法、装置、监控设备、客户端及存储介质
CN114401445B (zh) * 2021-12-31 2024-03-22 深圳云天励飞技术股份有限公司 视频处理控制方法、装置、监控设备、客户端及存储介质
CN116668773A (zh) * 2022-11-22 2023-08-29 荣耀终端有限公司 增强视频画质的方法与电子设备
CN116668773B (zh) * 2022-11-22 2023-12-22 荣耀终端有限公司 增强视频画质的方法与电子设备

Also Published As

Publication number Publication date
CN105898565A (zh) 2016-08-24

Similar Documents

Publication Publication Date Title
WO2017185609A1 (zh) 一种视频处理方法及设备
US20210297682A1 (en) Chroma prediction method and device
TWI692245B (zh) 視訊解碼裝置、視訊編碼方法及裝置與電腦可讀儲存媒體
JP2020526994A5 (zh)
CN108833938B (zh) 用于选取视频封面的方法和设备
WO2020248909A1 (zh) 视频解码方法、装置、计算机设备及存储介质
CN108063976B (zh) 一种视频处理方法及装置
US9712589B2 (en) System and method for playing a video on mobile web environments
JP2019533347A (ja) 映像符号化方法、映像復号方法、および端末
JP6499324B2 (ja) ビデオを再生するための方法、クライアント及びコンピュータ記憶媒体
CN110557670A (zh) 在网页页面中播放视频的方法、装置、终端和存储介质
CN111918066A (zh) 视频编码方法、装置、设备及存储介质
US20170195617A1 (en) Image processing method and electronic device
US20170161862A1 (en) Method and electronic device for adding watermark to video
CN112533059B (zh) 图像渲染方法、装置、电子设备以及存储介质
CN113473126B (zh) 视频流的处理方法、装置、电子设备及计算机可读介质
WO2020107971A1 (zh) 视频增强控制方法、装置、电子设备及存储介质
US9628824B2 (en) Video decoding apparatus and method for enhancing video quality
CN108966006A (zh) 视频的播放方法、浏览器设备及可读存储介质
US20170161875A1 (en) Video resolution method and apparatus
WO2021057697A1 (zh) 视频编解码方法和装置、存储介质及电子装置
US20130223813A1 (en) Moving image reproduction apparatus, information processing apparatus, and moving image reproduction method
CN111836046A (zh) 视频编码方法及装置、电子设备和计算机可读存储介质
CN103635938B (zh) 在流传输客户端中用于处理视频流传输数据的方法、流传输客户端
CN110049347B (zh) 在直播界面配置图像的方法、系统、终端和装置

Legal Events

Date Code Title Description
ENP Entry into the national phase

Ref document number: 2016148227

Country of ref document: RU

Kind code of ref document: A

NENP Non-entry into the national phase

Ref country code: DE

121 Ep: the epo has been informed by wipo that ep was designated in this application

Ref document number: 16900118

Country of ref document: EP

Kind code of ref document: A1

122 Ep: pct application non-entry in european phase

Ref document number: 16900118

Country of ref document: EP

Kind code of ref document: A1