WO2022057789A1 - 视频清晰度识别方法、电子设备及存储介质 - Google Patents
视频清晰度识别方法、电子设备及存储介质 Download PDFInfo
- Publication number
- WO2022057789A1 WO2022057789A1 PCT/CN2021/118231 CN2021118231W WO2022057789A1 WO 2022057789 A1 WO2022057789 A1 WO 2022057789A1 CN 2021118231 W CN2021118231 W CN 2021118231W WO 2022057789 A1 WO2022057789 A1 WO 2022057789A1
- Authority
- WO
- WIPO (PCT)
- Prior art keywords
- frame image
- preset
- definition
- index value
- video
- Prior art date
Links
- 238000000034 method Methods 0.000 title claims abstract description 51
- 238000004422 calculation algorithm Methods 0.000 claims abstract description 28
- 230000006835 compression Effects 0.000 claims abstract description 23
- 238000007906 compression Methods 0.000 claims abstract description 23
- 230000008859 change Effects 0.000 claims description 87
- 238000004364 calculation method Methods 0.000 claims description 4
- 238000004590 computer program Methods 0.000 claims description 4
- 238000012545 processing Methods 0.000 description 10
- 238000012423 maintenance Methods 0.000 description 7
- 230000003287 optical effect Effects 0.000 description 7
- 230000006870 function Effects 0.000 description 6
- 238000005516 engineering process Methods 0.000 description 5
- 238000010586 diagram Methods 0.000 description 4
- 238000005259 measurement Methods 0.000 description 4
- 230000009471 action Effects 0.000 description 3
- 238000004891 communication Methods 0.000 description 3
- 230000008878 coupling Effects 0.000 description 3
- 238000010168 coupling process Methods 0.000 description 3
- 238000005859 coupling reaction Methods 0.000 description 3
- 239000013307 optical fiber Substances 0.000 description 2
- 230000002093 peripheral effect Effects 0.000 description 2
- 230000008569 process Effects 0.000 description 2
- 230000000644 propagated effect Effects 0.000 description 2
- 238000013139 quantization Methods 0.000 description 2
- 230000000007 visual effect Effects 0.000 description 2
- 239000002699 waste material Substances 0.000 description 2
- 241001156002 Anthonomus pomorum Species 0.000 description 1
- 230000001133 acceleration Effects 0.000 description 1
- 238000003491 array Methods 0.000 description 1
- 230000002354 daily effect Effects 0.000 description 1
- 238000011161 development Methods 0.000 description 1
- 238000003708 edge detection Methods 0.000 description 1
- 230000000694 effects Effects 0.000 description 1
- 238000011156 evaluation Methods 0.000 description 1
- 230000003203 everyday effect Effects 0.000 description 1
- 239000000284 extract Substances 0.000 description 1
- 238000000605 extraction Methods 0.000 description 1
- 238000012986 modification Methods 0.000 description 1
- 230000004048 modification Effects 0.000 description 1
- 229920001690 polydopamine Polymers 0.000 description 1
- 239000004065 semiconductor Substances 0.000 description 1
- 239000004984 smart glass Substances 0.000 description 1
- 230000004393 visual impairment Effects 0.000 description 1
Images
Classifications
-
- H—ELECTRICITY
- H04—ELECTRIC COMMUNICATION TECHNIQUE
- H04N—PICTORIAL COMMUNICATION, e.g. TELEVISION
- H04N19/00—Methods or arrangements for coding, decoding, compressing or decompressing digital video signals
- H04N19/10—Methods or arrangements for coding, decoding, compressing or decompressing digital video signals using adaptive coding
- H04N19/169—Methods or arrangements for coding, decoding, compressing or decompressing digital video signals using adaptive coding characterised by the coding unit, i.e. the structural portion or semantic portion of the video signal being the object or the subject of the adaptive coding
- H04N19/17—Methods or arrangements for coding, decoding, compressing or decompressing digital video signals using adaptive coding characterised by the coding unit, i.e. the structural portion or semantic portion of the video signal being the object or the subject of the adaptive coding the unit being an image region, e.g. an object
- H04N19/172—Methods or arrangements for coding, decoding, compressing or decompressing digital video signals using adaptive coding characterised by the coding unit, i.e. the structural portion or semantic portion of the video signal being the object or the subject of the adaptive coding the unit being an image region, e.g. an object the region being a picture, frame or field
-
- H—ELECTRICITY
- H04—ELECTRIC COMMUNICATION TECHNIQUE
- H04N—PICTORIAL COMMUNICATION, e.g. TELEVISION
- H04N19/00—Methods or arrangements for coding, decoding, compressing or decompressing digital video signals
- H04N19/48—Methods or arrangements for coding, decoding, compressing or decompressing digital video signals using compressed domain processing techniques other than decoding, e.g. modification of transform coefficients, variable length coding [VLC] data or run-length data
-
- H—ELECTRICITY
- H04—ELECTRIC COMMUNICATION TECHNIQUE
- H04N—PICTORIAL COMMUNICATION, e.g. TELEVISION
- H04N19/00—Methods or arrangements for coding, decoding, compressing or decompressing digital video signals
- H04N19/85—Methods or arrangements for coding, decoding, compressing or decompressing digital video signals using pre-processing or post-processing specially adapted for video compression
Definitions
- the present application relates to video processing technologies, and in particular, to a video definition identification method, an electronic device, and a computer-readable storage medium.
- Video manufacturers and users will generate a large number of videos with rich and diverse content every day, covering movies, TV series, animation, variety shows, life, music, etc. These videos will be uploaded to various video websites and self-media platforms for users to watch. Due to the influence of video shooting equipment, shooting technology, etc., the quality of video produced by different video manufacturers and users is different, especially the videos shot by users in daily life, which are affected by camera performance, shooting stability, shooting technology, etc., resulting in clear video. poor quality, which affects the video quality.
- Various aspects of the present application provide a video definition identification method, an electronic device, and a computer-readable storage medium for identifying the definition of a video.
- a method for identifying video clarity comprising:
- the resolution of the frame image is obtained
- the sharpness of the video to be identified is determined.
- Another aspect of the present application provides an electronic device, the electronic device comprising:
- processors one or more processors
- the one or more processors When the one or more programs are executed by the one or more processors, the one or more processors implement the method provided by the above aspect.
- Another aspect of the present application provides a computer-readable storage medium on which a computer program is stored, and when the program is executed by a processor, implements the method provided in the above-mentioned aspect.
- the resolution of the frame image can be obtained for each frame image of the multiple frame images in the video to be recognized, and the resolution of the frame image can be calculated based on the preset definition recognition algorithm.
- the definition index value of the frame image and then, using a preset compression method, compress the frame image to a preset low-quality standard to obtain a compressed frame image, and calculate the compressed frame based on a preset clarity recognition algorithm.
- the sharpness index value of the image determines the sharpness of the frame image, and then , and determine the definition of the video to be identified based on the definition of the plurality of frame images. Therefore, based on the resolution of the frame images in the video, the embodiments of the present application use the definition index values before and after the compression of the frame images to realize the identification of the video definition, and it is possible to identify whether the definition of any video meets the requirements.
- the resolution of the frame image in the video is used to determine the definition of the video based on the definition index value before and after the video is compressed, so as to realize the unified standard identification of different video definitions, and can Objectively compare the sharpness of different videos, making the measurement of video sharpness more objective and unified.
- the videos of different definition can be screened based on the unified standard, so that when recommending the video to the user, only the video with the required definition can be recommended to the user. , improve user viewing experience and save user traffic.
- FIG. 1 is a schematic flowchart of a method for identifying video clarity provided by an embodiment of the present application
- FIG. 2 is a schematic flowchart of a specific example of determining the definition of the frame image in an embodiment of the application
- FIG. 3 is a diagram of a specific application example of determining whether the definition of a frame image satisfies a preset definition standard in the embodiment shown in FIG. 2;
- FIG. 4 is a schematic flowchart of a method for identifying video clarity provided by another embodiment of the present application.
- FIG. 5 is a block diagram of an exemplary computer system/server 12 suitable for use in implementing embodiments of the present application.
- terminals involved in the embodiments of the present application may include but are not limited to mobile phones, personal digital assistants (Personal Digital Assistants, PDAs), wireless handheld devices, tablet computers (Tablet Computers), and personal computers (Personal Computers, PCs). ), MP3 players, MP4 players, wearable devices (eg, smart glasses, smart watches, smart bracelets, etc.), etc.
- FIG. 1 is a schematic flowchart of a method for identifying video sharpness provided by an embodiment of the present application, as shown in FIG. 1 .
- the multiple frame images may be all frame images in the video to be recognized, that is, for each frame image in the video to be recognized, perform 101 to 105 to determine the definition; or it may be from the video to be recognized according to certain rules
- For the extracted multiple frame images for example, a method of extracting one frame image every several frames of images, or a method of randomly extracting multiple frames of images, extracts images from the video to be recognized to obtain the multiple frame images, respectively for Perform 101-105 for each frame of image to determine the sharpness.
- This embodiment of the present application does not limit whether the plurality of frame images are all frame images in the video to be identified, the specific number, and the extraction method.
- the video to be identified in this embodiment of the present application may be a video encoded using any video encoding standard and any format, for example, a video obtained by encoding original video data based on the commonly used H.264/AVC video encoding standard.
- the embodiments of the present application do not limit the encoding standard and encoding format of the video to be identified.
- the preset sharpness identification algorithm in this embodiment of the present application may be any algorithm that can calculate sharpness, for example, it may include but not limited to the following algorithms: edge detection algorithm (Canny algorithm), Laplas algorithm, gradient algorithm The evaluation function (Brenner), the gradient function (Tenengrad), etc., the embodiments of the present disclosure do not limit the specific sharpness identification algorithm used.
- the pixels in the frame image may be calculated and processed by using a preset sharpness identification algorithm, and an average value obtained by calculating and processing for the pixels in the frame image may be used as the sharpness index value.
- Using a preset compression method compress the frame image to a preset low quality standard to obtain a compressed frame image.
- the definition of the video to be identified may be based on the average of the definition of the plurality of frame images.
- a certain threshold for example, 10%
- execution bodies of 101 to 106 may be applications located in the terminal, or may also be functional units such as plug-ins or software development kits (Software Development Kit, SDK) in the application setting the terminal, or It may also be an application located in a network-side server (for example, a video website, a self-media platform), which is not particularly limited in this embodiment of the present application.
- a network-side server for example, a video website, a self-media platform
- the application may be a local program (nativeApp) installed on the terminal or the network side server, or may also be a web page program (webApp) of the browser on the terminal or the network side server. This is not limited.
- the definition index value of the frame image before and after compression is used to realize the identification of the video definition, and it is possible to identify whether the definition of any video meets the requirements.
- the resolution of the frame image in the video is used to determine the definition of the video based on the definition index value before and after the video is compressed, so as to realize the unified standard identification of different video definitions, and can Objectively compare the sharpness of different videos, making the measurement of video sharpness more objective and unified.
- the videos of different definition can be screened based on the unified standard, so that when recommending the video to the user, only the video with the required definition can be recommended to the user. , improve user viewing experience and save user traffic.
- the resolution range of the frame image may also be determined based on the resolution of the frame image.
- the definition of the frame image may be determined based on the resolution range of the frame image, at least based on the definition index value of the frame image and the definition index value of the compressed frame image .
- the resolution of the video image is the number of pixels (Pixels Per Inch, PPI) contained in a unit inch. Resolution affects the image size and is proportional to the image size. Under the condition of a certain bit rate, the higher the resolution, the larger the image; the lower the resolution, the smaller the image. In the case of a certain bit rate, the resolution is inversely proportional to the sharpness. The higher the resolution, the less clear the image is, and the lower the resolution, the clearer the image.
- the definition of the frame image can be determined by a corresponding calculation method according to the resolution range of the frame image, which improves the efficiency and accuracy of obtaining the definition of the frame image.
- FIG. 2 is a schematic flowchart of a specific example of determining the definition of the frame image according to an embodiment of the present application. As shown in FIG. 2 , on the basis of the embodiment shown in FIG. 1 , based on the resolution range of the frame image, at least based on the sharpness index value of the frame image and the sharpness index value of the compressed frame image , to determine the definition of the frame image, which can be achieved in the following ways:
- the resolution of the frame image is greater than the first preset resolution (for example, 1000PPI), execute 201-202; if the resolution of the frame image is greater than the second preset resolution (eg 700PPI) and not greater than the first preset resolution (eg 1000PPI), go to 203 to 205, wherein the second preset resolution is smaller than the first preset resolution; if the resolution of the frame image is greater than the third resolution If the preset resolution (480PPI) is not greater than the second preset resolution (eg, 700PPI), go to 206 to 207, wherein the third preset resolution is smaller than the second preset resolution.
- the first preset resolution for example, 1000PPI
- the second preset resolution eg 700PPI
- the first preset resolution eg 1000PPI
- the sharpness index value of the frame image obtained through operation 102 is expressed as the average value b of the canny algorithm
- the operation 104 is used to calculate the
- the definition index value of the compressed frame image is expressed as the average value a of the canny algorithm
- a first preset change rate for example, 0.05
- the change rate of the sharpness index value when the change rate of the sharpness index value is greater than the first preset change rate, it may be determined that the sharpness of the frame image satisfies the preset sharpness standard; otherwise, when the sharpness index value changes When the rate of change is not greater than the first preset change rate, it is determined that the definition of the frame image does not meet the preset definition standard.
- the code rate is the size of the data encoded by the encoder per second, and the unit is kbps.
- 800kbps means that the encoder generates 800kb (or 100KB) of data per second.
- the bit rate is proportional to the definition. The higher the bit rate, the clearer the image; the lower the bit rate, the less clear the image.
- the comprehensive change rate when the comprehensive change rate is greater than the second preset change rate, it may be determined that the definition of the frame image satisfies the preset definition standard; otherwise, when the comprehensive change rate is not greater than the second preset change rate When the rate is determined, it is determined that the definition of the frame image does not meet the preset definition standard.
- 201, 203 and 206 are respectively operations performed based on the resolution range of the frame image.
- a method for determining the sharpness of a frame image when different resolutions are located in different resolution ranges is provided, and a unified standard can be provided for the frame images in each resolution range, so as to quickly and accurately determine the definition of the frame image. Whether the sharpness meets the preset sharpness standard improves the efficiency and accuracy of determining whether the sharpness of the frame image meets the requirements.
- the comprehensive change rate may be obtained by performing weighted calculation on the code rate change rate and the change rate of the definition index value.
- the weight of the definition index value is greater than the weight of the code rate change rate.
- the rate of change of the definition index value is usually smaller than the rate of change of the code rate
- the difference between the rate of change of the code rate and the rate of change of the clarity index is calculated by adopting a method in which the weight of the definition index value is greater than the weight of the rate of change of the code rate.
- the change rate is weighted and calculated, and the obtained comprehensive change rate can more objectively and accurately reflect the change rate of the frame image before and after compression. Based on the comprehensive change rate, it is helpful to more objectively and accurately determine whether the clarity of the frame image meets the preset clarity. degree standard.
- the code rate of the frame image is greater than a preset code rate (for example, 650kbps). If the code rate of the frame image is greater than the preset code rate, then based on whether the change rate of the clarity index value is greater than the third preset change rate (0.05), it is determined whether the clarity of the frame image satisfies the preset clarity Specifically, if the change rate of the sharpness index value is greater than the third preset change rate (0.05), it is determined that the sharpness of the frame image satisfies the preset sharpness standard; otherwise, it is determined that the frame image The definition does not meet the preset definition standard.
- a preset code rate for example, 650kbps.
- the bit rate of the frame image is not greater than the preset bit rate (for example, 650kbps), based on whether the change rate of the definition index value is greater than the fourth preset change rate (0.1), determine the clarity of the frame image Whether the resolution satisfies the preset sharpness standard, specifically, if the change rate of the sharpness index value is greater than the fourth preset change rate (0.1), it is determined that the sharpness of the frame image meets the preset sharpness standard; Otherwise, it is determined that the definition of the frame image does not meet the preset definition standard.
- the fourth preset change rate is greater than the third preset change rate.
- the frame image when the resolution of the frame image is greater than the third preset resolution (480PPI) and not greater than the second preset resolution (eg 700PPI), if the bit rate of the frame image is greater than the preset bit rate (eg 650kbps), the frame image is relatively clear, at this time, only based on the bit rate of the frame image and the change rate of the clarity index value can determine that the clarity of the frame image meets the preset clarity standard, which improves the clarity of the frame image. Determine efficiency.
- the third preset resolution 480PPI
- the second preset resolution eg 700PPI
- determining the resolution it may also include: if the resolution of the frame image is not greater than the fourth preset resolution (480PPI), it may be directly determined that the resolution of the video to be identified does not meet the preset resolution standard, thereby improving the resolution identification efficiency. Wherein, the fourth preset resolution is smaller than the third preset resolution.
- the fourth preset resolution is smaller than the third preset resolution.
- FIG. 3 it is a diagram of a specific application example of determining whether the definition of a frame image satisfies a preset definition standard in the embodiment shown in FIG. 2 .
- a certain threshold for example, 10%
- a video compression algorithm (FFmpeg) may be specifically used, and the value of the constant quality coding parameter (CRF) is set to a value greater than 28 and not greater than 51, and the The frame image is compressed to obtain the compressed frame image.
- CMF constant quality coding parameter
- CRF is a parameter of the constant quality encoding method.
- each frame image of the same type can be compressed with the same size, that is, throw away relatively the same amount of information, that is The same quantization parameter (QP) is used.
- QP quantization parameter
- the quantization parameter QP defines how much information is dropped from a macroblock of pixels.
- CRF ranges from 0 to 51, where 0 is lossless mode. The larger the value, the worse the image quality and the smaller the generated file. Among them, 18 to 28 is a reasonable range. 18 is considered visually lossless, and its output video quality is comparable to the input video.
- the CRF is greater than 28
- the image begins to suffer from visual loss.
- a value of CRF greater than 28 and not greater than 51 is used to compress the frame image, and the obtained compressed frame image is a visually lossy image.
- the definition index before and after the frame image compression can be combined
- the quality (ie, sharpness) of the frame image is determined by the change rate of the value.
- the change rate of the sharpness index value before and after the frame image is compressed the higher the quality of the original frame image (ie, the clearer).
- the smaller the change rate of the sharpness index value before and after the compression of the frame image the lower the quality of the original frame image (that is, the more blurred). If the change rate of the definition index value before and after the frame image compression is small, that is, less than a certain preset value (corresponding to the above-mentioned first preset change rate, second preset change rate, third preset change rate, fourth preset change rate preset rate of change), then it can be basically determined that the original frame image is also blurred.
- the CRF value is 38 to compress the frame image.
- the obtained compressed frame image basically has a visual sense. Blur state, and then compare the change rate of the clarity index value of the original video and the compressed video real frame image, if the change rate is small, then it can basically be determined that the original video is also blurred.
- a preset compression method may be used to compress the to-be-identified video to a preset low-quality standard to obtain a compressed video, where the compressed video includes each frame.
- the image after image compression includes the compressed image corresponding to the frame image.
- FFmpeg may be used, and the value of the constant quality encoding parameter CRF is set to a value greater than 28 and not greater than 51, and the video to be identified is compressed to a preset low quality standard, Get the compressed video.
- FIG. 4 is a schematic flowchart of a video definition identification method provided by another embodiment of the present application, as shown in FIG. 4 .
- the video to be identified in this embodiment of the present application may be a video encoded using any video encoding standard and any format, for example, a video obtained by encoding original video data based on the commonly used H.264/AVC video encoding standard.
- the embodiments of the present application do not limit the encoding standard and encoding format of the video to be identified.
- bit rate of each frame image in the video to be recognized is the same, and the bit rate of the video to be recognized can be obtained directly from the encoder as the bit rate of each frame image therein.
- operations 402 and 403 are not limited in the execution order, and they may be executed simultaneously, or in any order, or with any time difference, which is not limited in this embodiment of the present application.
- Using a preset compression method compress the to-be-identified video to a preset low-quality standard to obtain a compressed video.
- the compressed video includes the compressed image corresponding to the frame image.
- operations 405 and 406 do not have a limit on the execution order, and they may be executed simultaneously, or in any order, or with any time difference, which is not limited in this embodiment of the present application.
- the videos of different definition can be screened based on the unified standard, which helps to save the precious and limited video websites and self-media platforms. storage resources and maintenance resources, and improve resource utilization.
- the definition of the video meets the preset definition standard, and the videos of different definition can be screened based on the unified standard. Recommend videos with the required definition to improve user viewing experience and save user traffic.
- the to-be-identified video can be discarded directly, thereby saving storage resources and maintenance resources. If the definition of the to-be-identified video meets a preset definition standard, the to-be-identified video may be stored for further recommendation to the user.
- the technical solutions of the present application can be applied to applications in any device such as terminals, video servers (eg, video websites, self-media platforms), for example, any video data processing applications and playback applications.
- video data processing applications and playback applications to perform the video definition identification method provided by the embodiments of the present application, based on the resolution of frame images in the video, the definition index values before and after frame image compression are used to realize the clarity of the video. It can identify whether the definition of any video meets the requirements.
- the resolution of the frame image in the video is used to determine the definition of the video based on the definition index value before and after the video is compressed, so as to realize the unified standard identification of different video definitions, and can Objectively compare the sharpness of different videos, making the measurement of video sharpness more objective and unified.
- the videos of different definition can be screened based on the unified standard, so that when recommending the video to the user, only the video with the required definition can be recommended to the user. , improve user viewing experience and save user traffic.
- Figure 5 shows a block diagram of an exemplary computer system/server 12 suitable for use in implementing embodiments of the present application.
- the computer system/server 12 shown in FIG. 5 is only an example, and should not impose any limitations on the functions and scope of use of the embodiments of the present application.
- computer system/server 12 takes the form of a general-purpose computing device.
- Components of computer system/server 12 may include, but are not limited to, one or more processors or processing units 16, storage or system memory 28, and a bus 18 connecting various system components including system memory 28 and processing unit 16.
- Bus 18 represents one or more of several types of bus structures, including a memory bus or memory controller, a peripheral bus, a graphics acceleration port, a processor, or a local bus using any of a variety of bus structures.
- these architectures include, but are not limited to, Industry Standard Architecture (ISA) bus, Micro Channel Architecture (MAC) bus, Enhanced ISA bus, Video Electronics Standards Association (VESA) local bus, and Peripheral Component Interconnect ( PCI) bus.
- Computer system/server 12 typically includes a variety of computer system readable media. These media can be any available media that can be accessed by computer system/server 12, including both volatile and non-volatile media, removable and non-removable media.
- System memory 28 may include computer system readable media in the form of volatile memory, such as random access memory (RAM) 30 and/or cache memory 32 .
- Computer system/server 12 may further include other removable/non-removable, volatile/non-volatile computer system storage media.
- storage system 34 may be used to read and write to non-removable, non-volatile magnetic media (not shown in FIG. 5, commonly referred to as a "hard disk drive”).
- a disk drive may be provided for reading and writing to removable non-volatile magnetic disks (eg "floppy disks"), as well as removable non-volatile optical disks (eg CD-ROM, DVD-ROM) or other optical media) to read and write optical drives.
- each drive may be connected to bus 18 through one or more data media interfaces.
- System memory 28 may include at least one program product having a set (e.g., at least one) of program modules configured to perform the functions of various embodiments of the present application.
- a program/utility 40 having a set (at least one) of program modules 42, which may be stored, for example, in system memory 28, such program modules 42 including, but not limited to, an operating system, one or more application programs, other Program modules and program data, each or some combination of these examples may include an implementation of a network environment.
- Program modules 42 generally perform the functions and/or methods of the embodiments described herein.
- the computer system/server 12 may also communicate with one or more external devices 14 (eg, keyboard, pointing device, display 24, etc.), and may also communicate with one or more devices that enable a user to interact with the computer system/server 12, and/or with any device (eg, network card, modem, etc.) that enables the computer system/server 12 to communicate with one or more other computing devices. Such communication may take place through input/output (I/O) interface 44 . Also, the computer system/server 12 may communicate with one or more networks (eg, a local area network (LAN), a wide area network (WAN), and/or a public network such as the Internet) through a network adapter 20 . As shown in FIG.
- LAN local area network
- WAN wide area network
- public network such as the Internet
- network adapter 20 communicates with other modules of computer system/server 12 via bus 18 .
- bus 18 It should be understood that, although not shown, other hardware and/or software modules may be used in conjunction with computer system/server 12, including but not limited to: microcode, device drivers, redundant processing units, external disk drive arrays, RAID systems, Tape drives and data backup storage systems, etc.
- the processing unit 16 executes various functional applications and data processing by running the programs stored in the system memory 28 , for example, implements the method provided by any of the embodiments corresponding to FIG. 1 to FIG. 4 .
- Another embodiment of the present application further provides a computer-readable storage medium on which a computer program is stored, and when the program is executed by a processor, implements the method provided by any of the embodiments corresponding to FIG. 1 to FIG. 4 . .
- the computer-readable medium may be a computer-readable signal medium or a computer-readable storage medium.
- the computer-readable storage medium can be, for example, but not limited to, an electrical, magnetic, optical, electromagnetic, infrared, or semiconductor system, apparatus or device, or a combination of any of the above. More specific examples (a non-exhaustive list) of computer readable storage media include: electrical connections having one or more wires, portable computer disks, hard disks, random access memory (RAM), read only memory (ROM), Erasable programmable read only memory (EPROM or flash memory), optical fiber, portable compact disk read only memory (CD-ROM), optical storage devices, magnetic storage devices, or any suitable combination of the above.
- a computer-readable storage medium can be any tangible medium that contains or stores a program that can be used by or in conjunction with an instruction execution system, apparatus, or device.
- a computer readable signal medium may include a data signal propagated in baseband or as part of a carrier wave with computer readable program code embodied thereon. Such propagated data signals may take a variety of forms including, but not limited to, electromagnetic signals, optical signals, or any suitable combination of the foregoing.
- a computer-readable signal medium can also be any computer-readable medium other than a computer-readable storage medium that can transmit, propagate, or transport the program for use by or in connection with the instruction execution system, apparatus, or device .
- Program code embodied on a computer readable medium may be transmitted using any suitable medium including, but not limited to, wireless, wireline, optical fiber cable, RF, etc., or any suitable combination of the foregoing.
- Computer program code for performing the operations of the present application may be written in one or more programming languages, including object-oriented programming languages—such as Java, Smalltalk, C++, but also conventional A programming language - such as "C" or a similar programming language.
- the program code may execute entirely on the user's computer, partly on the user's computer, as a stand-alone software package, partly on the user's computer and partly on a remote computer, or entirely on the remote computer or server.
- the remote computer may be connected to the user's computer through any kind of network, including a local area network (LAN) or a wide area network (WAN), or may be connected to an external computer (eg, using an Internet service provider to via Internet connection).
- LAN local area network
- WAN wide area network
- the disclosed system, apparatus and method may be implemented in other manners.
- the apparatus embodiments described above are only illustrative.
- the division of the units is only a logical function division. In actual implementation, there may be other division methods.
- multiple units or page components may be combined. Either it can be integrated into another system, or some features can be omitted, or not implemented.
- the shown or discussed mutual coupling or direct coupling or communication connection may be through some interfaces, indirect coupling or communication connection of devices or units, and may be in electrical, mechanical or other forms.
- the units described as separate components may or may not be physically separated, and components displayed as units may or may not be physical units, that is, may be located in one place, or may be distributed to multiple network units. Some or all of the units may be selected according to actual needs to achieve the purpose of the solution in this embodiment.
- each functional unit in each embodiment of the present application may be integrated into one processing unit, or each unit may exist physically alone, or two or more units may be integrated into one unit.
- the above-mentioned integrated unit may be implemented in the form of hardware, or may be implemented in the form of hardware plus software functional units.
- the above-mentioned integrated units implemented in the form of software functional units can be stored in a computer-readable storage medium.
- the above-mentioned software functional unit is stored in a storage medium, and includes several instructions to cause a computer device (which may be a personal computer, a server, or a network device, etc.) or a processor (processor) to execute parts of the methods described in the various embodiments of the present application step.
- the aforementioned storage medium includes: U disk, mobile hard disk, read-only memory (Read-Only Memory, ROM), random access memory (Random Access Memory, RAM), magnetic disk or optical disk and other media that can store program codes.
Landscapes
- Engineering & Computer Science (AREA)
- Multimedia (AREA)
- Signal Processing (AREA)
- Compression Or Coding Systems Of Tv Signals (AREA)
Abstract
Description
Claims (13)
- 一种视频清晰度识别方法,其特征在于,包括:分别针对待识别视频中多个帧图像中的每个帧图像,获取所述帧图像的分辨率;基于预设清晰度识别算法,计算所述帧图像的清晰度指标值;采用预设压缩方式,将所述帧图像压缩到预设低质量标准,得到压缩后帧图像;基于所述预设清晰度识别算法,计算所述压缩后帧图像的清晰度指标值;基于所述帧图像的分辨率、所述帧图像的清晰度指标值和所述压缩后帧图像的清晰度指标值,确定所述帧图像的清晰度;基于所述多个帧图像的清晰度,确定所述待识别视频的清晰度。
- 根据权利要求1所述的方法,其特征在于,还包括:基于所述帧图像的分辨率确定所述帧图像的分辨率范围;所述基于所述帧图像的分辨率、所述帧图像的清晰度指标值和所述压缩后帧图像的清晰度指标值,确定所述帧图像的清晰度,包括:基于所述帧图像的分辨率范围,至少基于所述帧图像的清晰度指标值和所述压缩后帧图像的清晰度指标值,确定所述帧图像的清晰度。
- 根据权利要求2所述的方法,其特征在于,所述基于所述帧图像的分辨率范围,至少基于所述帧图像的清晰度指标值和所述压缩后帧图像的清晰度指标值,确定所述帧图像的清晰度,包括:若所述帧图像的分辨率大于第一预设分辨率,基于所述帧图像的清晰度指标值和所述压缩后帧图像的清晰度指标值,计算清晰度指标值的变化率;基于所述清晰度指标值的变化率是否大于第一预设变化率,确定所述帧图像的清晰度是否满足预设清晰度标准;若所述帧图像的分辨率大于第二预设分辨率且不大于第一预设分辨率,基于所述帧图像的码率和所述压缩后帧图像的码率计算码率变化率,基于所述帧图像的清晰度指标值和所述压缩后帧图像的清晰度指标值计算清晰度指标值的变化率;基于所述码率变化率和所述清晰度指标值的变化率计算码率和清晰度指标值的综合变化率;基于所述综合变化率是否大于第二预设变化率,确定所述帧图像的清晰度是否满足预设清晰度标准;若所述帧图像的分辨率大于第三预设分辨率且不大于第二预设分辨率,基于所述帧 图像的清晰度指标值和所述压缩后帧图像的清晰度指标值计算清晰度指标值的变化率;基于所述帧图像的码率和所述清晰度指标值的变化率,确定所述帧图像的清晰度是否满足预设清晰度标准。
- 根据权利要求3所述的方法,其特征在于,所述基于所述码率变化率和所述清晰度指标值的变化率计算码率和清晰度指标值的综合变化率,包括:对所述码率变化率和所述清晰度指标值的变化率进行加权计算,得到所述综合变化率;其中,所述清晰度指标值的权重大于所述码率变化率的权重。
- 根据权利要求3所述的方法,其特征在于,所述基于所述帧图像的码率和所述清晰度指标值的变化率,确定所述帧图像的清晰度是否满足预设清晰度标准,包括:比较所述帧图像的码率是否大于预设码率;若所述帧图像的码率大于预设码率,基于所述清晰度指标值的变化率是否大于第三预设变化率,确定所述帧图像的清晰度是否满足预设清晰度标准;否则,若所述帧图像的码率不大于预设码率,基于所述清晰度指标值的变化率是否大于第四预设变化率,确定所述帧图像的清晰度是否满足预设清晰度标准;其中,所述第四预设变化率大于所述第三预设变化率。
- 根据权利要求3~5任一权利要求所述的方法,其特征在于,还包括:若所述帧图像的分辨率不大于所述第三预设分辨率,确定所述待识别视频的清晰度不满足预设清晰度标准。
- 根据权利要求3~5任一权利要求所述的方法,其特征在于,还包括:获取所述待识别视频的码率,作为所述待识别视频中每个帧图像的码率;获取所述压缩后帧图像的码率。
- 根据权利要求3~5任一权利要求所述的方法,其特征在于,所述基于所述多个帧图像的清晰度,确定所述待识别视频的清晰度,包括:基于所述多个帧图像的清晰度是否满足预设清晰度标准,确定所述待识别视频的清晰度是否满足预设清晰度标准。
- 根据权利要求8所述的方法,其特征在于,还包括:若所述待识别视频的清晰度不满足预设清晰度标准,丢弃所述待识别视频。
- 根据权利要求1~5任一权利要求所述的方法,其特征在于,所述采用预设压缩方式,将所述帧图像压缩到预设低质量标准,得到压缩后帧图像,包括:采用视频压缩算法FFmpeg,设置恒定质量编码参数CRF的取值为大于28且不大于51的一个数值,对所述帧图像进行压缩,得到所述压缩后帧图像。
- 根据权利要求1~5任一权利要求所述的方法,其特征在于,所述采用预设压缩方式,将所述帧图像压缩到预设低质量标准,得到压缩后帧图像,包括:采用预设压缩方式,将所述待识别视频压缩到预设低质量标准,得到压缩后视频,所述压缩后视频包括所述帧图像对应的所述压缩后图像。
- 一种电子设备,其特征在于,所述电子设备包括:一个或多个处理器;存储装置,用于存储一个或多个程序,当所述一个或多个程序被所述一个或多个处理器执行,使得所述一个或多个处理器实现如权利要求1~11任一权利要求所述的方法。
- 一种计算机可读存储介质,其上存储有计算机程序,其特征在于,该程序被处理器执行时实现如权利要求1~11任一权利要求所述的方法。
Applications Claiming Priority (2)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
CN202010982081.5 | 2020-09-17 | ||
CN202010982081.5A CN112135140B (zh) | 2020-09-17 | 2020-09-17 | 视频清晰度识别方法、电子设备及存储介质 |
Publications (1)
Publication Number | Publication Date |
---|---|
WO2022057789A1 true WO2022057789A1 (zh) | 2022-03-24 |
Family
ID=73841799
Family Applications (1)
Application Number | Title | Priority Date | Filing Date |
---|---|---|---|
PCT/CN2021/118231 WO2022057789A1 (zh) | 2020-09-17 | 2021-09-14 | 视频清晰度识别方法、电子设备及存储介质 |
Country Status (2)
Country | Link |
---|---|
CN (1) | CN112135140B (zh) |
WO (1) | WO2022057789A1 (zh) |
Cited By (2)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN115225961A (zh) * | 2022-04-22 | 2022-10-21 | 上海赛连信息科技有限公司 | 一种无参考网络视频质量评价方法和装置 |
CN117041625A (zh) * | 2023-08-02 | 2023-11-10 | 成都梵辰科技有限公司 | 一种超高清视频图像质量检测网络构建方法及系统 |
Families Citing this family (5)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN112135140B (zh) * | 2020-09-17 | 2023-11-28 | 上海连尚网络科技有限公司 | 视频清晰度识别方法、电子设备及存储介质 |
CN113436137A (zh) * | 2021-03-12 | 2021-09-24 | 北京世纪好未来教育科技有限公司 | 一种图像清晰度识别方法、装置、设备及介质 |
CN113392241B (zh) * | 2021-06-29 | 2023-02-03 | 中海油田服务股份有限公司 | 测井图像清晰度的识别方法、装置、介质及电子设备 |
CN113724225B (zh) * | 2021-08-31 | 2024-04-09 | 北京达佳互联信息技术有限公司 | 应用程序传输质量的确定方法及装置 |
CN115396664A (zh) * | 2022-08-19 | 2022-11-25 | 上海哔哩哔哩科技有限公司 | 视频质量的评价方法、装置、存储介质及计算机系统 |
Citations (6)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
US20090310016A1 (en) * | 2006-09-07 | 2009-12-17 | Canon Kabushiki Kaisha | Video output apparatus and control method thereof |
CN103581662A (zh) * | 2012-07-26 | 2014-02-12 | 腾讯科技(深圳)有限公司 | 视频清晰度测量方法和系统 |
CN107833214A (zh) * | 2017-11-03 | 2018-03-23 | 北京奇虎科技有限公司 | 视频清晰度检测方法、装置、计算设备及计算机存储介质 |
CN109831680A (zh) * | 2019-03-18 | 2019-05-31 | 北京奇艺世纪科技有限公司 | 一种视频清晰度的评价方法及装置 |
CN110769296A (zh) * | 2019-10-30 | 2020-02-07 | 杭州叙简科技股份有限公司 | 一种传输时基于本地缓存的视频码率自适应调节方式 |
CN112135140A (zh) * | 2020-09-17 | 2020-12-25 | 上海连尚网络科技有限公司 | 视频清晰度识别方法、电子设备及存储介质 |
Family Cites Families (4)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
JP5805001B2 (ja) * | 2012-04-13 | 2015-11-04 | 三菱電機株式会社 | 画像鮮鋭度評価装置 |
CN104601999A (zh) * | 2014-12-31 | 2015-05-06 | 乐视网信息技术(北京)股份有限公司 | 一种基于关键帧的编码方法及装置 |
CN105489194B (zh) * | 2015-11-24 | 2018-09-04 | 小米科技有限责任公司 | 一种显示图像的方法和装置 |
CN107958455B (zh) * | 2017-12-06 | 2019-09-20 | 百度在线网络技术(北京)有限公司 | 图像清晰度评估方法、装置、计算机设备及存储介质 |
-
2020
- 2020-09-17 CN CN202010982081.5A patent/CN112135140B/zh active Active
-
2021
- 2021-09-14 WO PCT/CN2021/118231 patent/WO2022057789A1/zh active Application Filing
Patent Citations (6)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
US20090310016A1 (en) * | 2006-09-07 | 2009-12-17 | Canon Kabushiki Kaisha | Video output apparatus and control method thereof |
CN103581662A (zh) * | 2012-07-26 | 2014-02-12 | 腾讯科技(深圳)有限公司 | 视频清晰度测量方法和系统 |
CN107833214A (zh) * | 2017-11-03 | 2018-03-23 | 北京奇虎科技有限公司 | 视频清晰度检测方法、装置、计算设备及计算机存储介质 |
CN109831680A (zh) * | 2019-03-18 | 2019-05-31 | 北京奇艺世纪科技有限公司 | 一种视频清晰度的评价方法及装置 |
CN110769296A (zh) * | 2019-10-30 | 2020-02-07 | 杭州叙简科技股份有限公司 | 一种传输时基于本地缓存的视频码率自适应调节方式 |
CN112135140A (zh) * | 2020-09-17 | 2020-12-25 | 上海连尚网络科技有限公司 | 视频清晰度识别方法、电子设备及存储介质 |
Cited By (4)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN115225961A (zh) * | 2022-04-22 | 2022-10-21 | 上海赛连信息科技有限公司 | 一种无参考网络视频质量评价方法和装置 |
CN115225961B (zh) * | 2022-04-22 | 2024-01-16 | 上海赛连信息科技有限公司 | 一种无参考网络视频质量评价方法和装置 |
CN117041625A (zh) * | 2023-08-02 | 2023-11-10 | 成都梵辰科技有限公司 | 一种超高清视频图像质量检测网络构建方法及系统 |
CN117041625B (zh) * | 2023-08-02 | 2024-04-19 | 成都梵辰科技有限公司 | 一种超高清视频图像质量检测网络构建方法及系统 |
Also Published As
Publication number | Publication date |
---|---|
CN112135140B (zh) | 2023-11-28 |
CN112135140A (zh) | 2020-12-25 |
Similar Documents
Publication | Publication Date | Title |
---|---|---|
WO2022057789A1 (zh) | 视频清晰度识别方法、电子设备及存储介质 | |
JP6928041B2 (ja) | 動画を処理するための方法および装置 | |
CN109844736B (zh) | 概括视频内容 | |
TW201914300A (zh) | 一種影像資料的編碼、解碼方法及裝置 | |
US9609338B2 (en) | Layered video encoding and decoding | |
US20190026555A1 (en) | Image compression using content categories | |
WO2021056737A1 (zh) | 高频业务数据的数据压缩方法、装置、设备及存储介质 | |
CN113542795A (zh) | 视频处理方法、装置、电子设备及计算机可读存储介质 | |
US11521025B2 (en) | Selective image compression of an image stored on a device based on user preferences | |
US10880560B2 (en) | Content-based transcoder | |
CN110248195B (zh) | 用于输出信息的方法和装置 | |
CN114245209B (zh) | 视频分辨率确定、模型训练、视频编码方法及装置 | |
US9053526B2 (en) | Method and apparatus for encoding cloud display screen by using application programming interface information | |
WO2024139166A1 (zh) | 视频编码方法及装置、电子设备和存储介质 | |
US20130039429A1 (en) | Computer display content coding method and system | |
CN114071190A (zh) | 云应用视频流处理方法、相关装置及计算机程序产品 | |
US20140009563A1 (en) | Non-video codecs with video conferencing | |
US10764578B2 (en) | Bit rate optimization system and method | |
US9997132B2 (en) | Data transmission method, data transmission system and portable display device of transmitting compressed data | |
JP2022546774A (ja) | イントラ予測のための補間フィルタリング方法と装置、コンピュータプログラム及び電子装置 | |
CN113409199A (zh) | 图像处理方法、装置、电子设备及计算机可读介质 | |
CN108765503B (zh) | 一种肤色检测方法、装置及终端 | |
CN113111200B (zh) | 审核图片文件的方法、装置、电子设备和存储介质 | |
US20160105731A1 (en) | Systems and methods for identifying and acquiring information regarding remotely displayed video content | |
CN117278765B (zh) | 一种视频压缩方法、装置、设备以及存储介质 |
Legal Events
Date | Code | Title | Description |
---|---|---|---|
121 | Ep: the epo has been informed by wipo that ep was designated in this application |
Ref document number: 21868612 Country of ref document: EP Kind code of ref document: A1 |
|
NENP | Non-entry into the national phase |
Ref country code: DE |
|
122 | Ep: pct application non-entry in european phase |
Ref document number: 21868612 Country of ref document: EP Kind code of ref document: A1 |
|
32PN | Ep: public notification in the ep bulletin as address of the adressee cannot be established |
Free format text: NOTING OF LOSS OF RIGHTS PURSUANT TO RULE 112(1) EPC (EPO FORM 1205A DATED 22/09/2023) |
|
122 | Ep: pct application non-entry in european phase |
Ref document number: 21868612 Country of ref document: EP Kind code of ref document: A1 |