A video processing method, apparatus, and computer-readable storage medium

CN122578956APending Publication Date: 2026-08-14ARASHI VISION INC
View PDF 0 Cites 0 Cited by

Patent Information

Authority / Receiving Office
CN · China
Patent Type
Applications(China)
Current Assignee / Owner
Filing Date
2025-02-13
Publication Date
2026-08-14

AI Technical Summary

Technical Problem

[0003]为解决上述技术问题,本申请实施例期望提供一种视频处理方法、设备及计算机可读存储介质,解决了现有技术中显示效率低的问题

Benefits of technology

[0013]本申请实施例所提供的视频处理方法、设备及计算机可读存储介质,首先获取并显示第一视频,第一视频为第一动态范围视频,之后响应于用户的显示转换指令,调用目标显示接口,显示第一视频对应的第二动态范围视频的预览效果,在这个过程中,无需将第一动态范围视频转换成第二动态范围视频,就可以观看第一视频对应的第二动态范围视频的预览效果,满足用户对于观看效果预览的及时性要求。

✦ Generated by Eureka AI based on patent content.

Smart Images

  • Figure CN122578956A_ABST
    Figure CN122578956A_ABST
Patent Text Reader

Abstract

This application discloses a video processing method, comprising: acquiring and displaying a first video, wherein the first video is a first dynamic range video; responding to a user's display conversion command, calling a target display interface to display a preview effect of a second dynamic range video corresponding to the first video, wherein the target display interface corresponds to the second dynamic range video. This application also discloses a video processing device and a computer-readable storage medium.
Need to check novelty before this filing date? Find Prior Art

Description

Technical Field

[0001] This application relates to the field of video processing, and more particularly to a video processing method, apparatus, and computer-readable storage medium. Background Technology

[0002] Compared to Standard Dynamic Range (SDR), High Dynamic Range (HDR) content supports a wider dynamic range of brightness, higher contrast, and a broader color gamut. Therefore, HDR content offers a superior viewing experience. Currently, most cameras capture videos in SDR format. To achieve better results, people often convert SDR videos to HDR videos. However, currently, to view HDR content, the SDR video must first be converted to HDR, leading to low display efficiency. Summary of the Invention

[0003] To address the aforementioned technical problems, this application aims to provide a video processing method, device, and computer-readable storage medium, thereby resolving the issue of low display efficiency in the prior art.

[0004] The technical solution of this application is implemented as follows:

[0005] A video processing method, the method comprising:

[0006] Acquire and display the first video, which is a first dynamic range video;

[0007] In response to the user's display conversion command, the target display interface is invoked to display a preview of the second dynamic range video corresponding to the first video, wherein the target display interface corresponds to the second dynamic range video.

[0008] A video processing device, the device comprising: a processor, a memory, and a communication bus;

[0009] The communication bus is used to realize the communication connection between the processor and the memory;

[0010] The processor is used to execute the video processing program stored in the memory to implement the steps of the video processing method described above.

[0011] A computer-readable storage medium storing one or more programs that can be executed by one or more processors to implement the steps of the video processing method described above.

[0012] A computer program product includes a computer program that, when executed by a processor, implements the steps of the video processing method described above.

[0013] The video processing method, device, and computer-readable storage medium provided in this application first acquire and display a first video, which is a first dynamic range video. Then, in response to the user's display conversion command, the target display interface is called to display the preview effect of the second dynamic range video corresponding to the first video. In this process, there is no need to convert the first dynamic range video into a second dynamic range video to watch the preview effect of the second dynamic range video corresponding to the first video, thus meeting the user's requirement for the timeliness of viewing the preview effect. Attached Figure Description

[0014] Figure 1 A flowchart illustrating a video processing method provided in an embodiment of this application;

[0015] Figure 2 A flowchart illustrating another video processing method provided in an embodiment of this application;

[0016] Figure 3(a) is a schematic diagram of a high dynamic range preview option in a video processing method provided in an embodiment of this application;

[0017] Figure 3(b) is a schematic diagram of the standard dynamic range preview option in a video processing method provided in an embodiment of this application;

[0018] Figure 3(c) , 3(d) Figures 3 and 3(e) are schematic diagrams illustrating another high dynamic range preview option in a video processing method provided in an embodiment of this application;

[0019] Figure 4 A flowchart illustrating yet another video processing method provided in an embodiment of this application;

[0020] Figure 5 This is a schematic diagram of the structure of a video processing device provided in an embodiment of this application. Detailed Implementation

[0021] The technical solutions in the embodiments of this application will be clearly and completely described below with reference to the accompanying drawings.

[0022] It should be understood that the specific embodiments described herein are merely illustrative of this application and are not intended to limit this application.

[0023] This application provides an information processing method that can be applied to a video processing device. (Refer to...) Figure 1 As shown, the method includes the following steps:

[0024] Step 101: Obtain and display the first video, which is the first dynamic range video.

[0025] In this embodiment, the first dynamic range video can refer to a video with lower image quality, specifically a video with lower image brightness and / or lower stereoscopic effect and / or narrower color gamut. In one feasible implementation, the first dynamic range video can be a standard dynamic range (SDR) video, which is a video with a color space of BT.709 / BT.601 and a bit depth of 8 bits, and the first dynamic range video can be an SDR video recorded by a camera.

[0026] Step 102: In response to the user's display conversion command, call the target display interface to display the preview effect of the second dynamic range video corresponding to the first video.

[0027] The target display interface corresponds to the second dynamic range video.

[0028] In this embodiment, the second dynamic range video can refer to a video with higher image quality, specifically a video with higher image clarity and / or higher stereoscopic effect and / or wider color gamut. The second dynamic range video has higher image quality than the first dynamic range video, higher image clarity than the first dynamic range video, and / or higher stereoscopic effect than the first dynamic range video, and / or a wider color gamut than the first dynamic range video. The display conversion instruction is an instruction used to instruct the first video to switch from displaying the first dynamic range video effect to displaying the second dynamic range video effect. The video processing device can be provided with a target display interface, specifically an interface capable of displaying the second dynamic range video. Users can send display conversion instructions through a dynamic switch in the video processing device, or by clicking, touching, or swiping on the screen of the video processing device. Upon receiving the user's display conversion instruction, the target display interface can be directly called to display a preview of the second dynamic range video corresponding to the first video, allowing the user to preview the second dynamic range video corresponding to the first video and view the high dynamic range video effect corresponding to the first video. This eliminates the need for the user to actually convert and export the second dynamic range video corresponding to the first video in order to view the high dynamic range video effect corresponding to the first video.

[0029] In one feasible implementation, the second dynamic range video corresponding to the first video can specifically refer to a high dynamic range video (HDR10). That is, the video processing device responds to the user's display conversion command, calls the target display interface, and displays the preview effect of the HDR10 corresponding to the first video. It should be noted that HDR10 is an HDR standard based on static metadata.

[0030] The video processing method provided in this application embodiment can, after acquiring and displaying the first dynamic range video corresponding to the first video, respond to the user's display conversion command, call the target display interface to display the preview effect of the second dynamic range video corresponding to the first video. In this process, there is no need to convert the first dynamic range video into the second dynamic range video to watch the preview effect of the second dynamic range video corresponding to the first video, thus meeting the user's requirement for the timeliness of watching the preview effect.

[0031] Based on the foregoing embodiments, this application provides another video processing method, referring to... Figure 2 As shown, the method may include the following steps:

[0032] Step 201: The video processing device acquires and displays the first video, which is a first dynamic range video.

[0033] Step 202: The video processing device displays at least one dynamic range preview option corresponding to the first video.

[0034] The different dynamic range preview options correspond to different brightness levels and / or dynamic ranges in the dynamic range video.

[0035] In one embodiment, the video processing device may refer to an HDR device, specifically an electronic device such as a mobile phone, computer, or monitor that supports displaying HDR video. The first video may have multiple dynamic range preview options, specifically including multiple high dynamic range preview options, and these high dynamic range preview options may include a first high dynamic range, a second high dynamic range, and a third high dynamic range as shown in Figure 3(a); different high dynamic range videos have different brightness levels and / or dynamic ranges. That is, multiple options are provided for the user to choose from, and the user can preview the preview effect of each high dynamic range. In one feasible implementation, the first high dynamic range, the second high dynamic range, and the third high dynamic range can refer to the high dynamic range of the HDR10 standard, the HDR10+ standard, and the Dolby Vision standard. The first high dynamic range can refer to the high dynamic range of the HDR10 standard, the HDR10+ standard, or the Dolby Vision standard. For example, if the first high dynamic range refers to the high dynamic range of the HDR10 standard, the second high dynamic range can refer to the high dynamic range of the HDR10+ standard, and the third high dynamic range can refer to the high dynamic range of the Dolby Vision standard, or the second high dynamic range can refer to the high dynamic range of the Dolby Vision standard, and the third high dynamic range can refer to the high dynamic range of the HDR10+ standard.

[0036] Different high dynamic range preview options can also be preview options for different display effects of high dynamic range of the same format standard, such as setting different color tone display effects.

[0037] In another embodiment, the preview options corresponding to the first video may include both the standard dynamic range preview option and the high dynamic range preview option as shown in FIG3(b).

[0038] In other embodiments, the preview options corresponding to the first video may also only include, for example: Figure 3(c) , 3(d) Or a high dynamic range preview option as shown in 3(e).

[0039] Step 203: The video processing device responds to the user's selection and generates a display conversion instruction.

[0040] In this embodiment, the user can choose whether to display a preview of the second dynamic range video corresponding to the first video. If there are multiple dynamic range options, the user can select a certain dynamic range preview option, and a display conversion instruction is generated based on the user's selection. This display conversion instruction is used to indicate which preview effect to display.

[0041] In one embodiment, two levels of selection can be set: first, the user can choose whether to display the second dynamic range video corresponding to the first video; if the user chooses to display the second dynamic range video, then a variety of second dynamic range preview options (such as HDR10 standard, HDR10+ standard and Dolby Vision standard) or one second dynamic range preview option (such as HDR10 standard or HDR10+ standard or Dolby Vision standard) are provided for the user to further select.

[0042] Specifically, step 203 can also be implemented in the following ways:

[0043] Step 203A1: The video processing device displays multiple format standards of the second dynamic range video, and the preview effect of the second dynamic range video is different for different format standards.

[0044] In this embodiment, the second dynamic range video can correspond to multiple format standards, including HDR10+, Dolby Vision, Hybrid Log Gamma (HLG), etc. The preview effects of the second dynamic range video corresponding to HDR10+, Dolby Vision, and HLG are all different. After the user selects the second dynamic range preview option, the multiple format standards corresponding to the second dynamic range video can be further displayed for the user to make further selections.

[0045] It's worth noting that HDR10+ adds dynamic metadata to HDR10, allowing for more precise image adjustments. Dolby Vision, an advanced image quality technology, uses dynamic metadata and high dynamic range technology to deliver a more stunning visual experience. Dolby Vision intelligently optimizes scenes, adjusting brightness, color, and contrast in real-time based on the content, resulting in a richer and more vivid image. Compared to HDR10, Dolby Vision offers a significant advantage in image quality enhancement. HLG, an HDR technology suitable for broadcast and streaming, uses hybrid log gamma curves to achieve high dynamic range image quality. Compared to HDR10 and Dolby Vision, HLG excels in color reproduction and image detail, and has better compatibility, but its image optimization is slightly less refined than Dolby Vision. In conclusion, the three format standards offer different preview effects. For users seeking the ultimate image quality, the Dolby Vision format is undoubtedly the optimal choice.

[0046] Step 203A2: The video processing device responds to the user's selection command by determining the target format standard from different format standards and generating a display conversion command.

[0047] The display conversion command is used to instruct the display of the second dynamic range video of the target format standard.

[0048] In this embodiment, the target format standard can refer to the format standard ultimately selected by the user according to their own needs. For example, the user can choose HDR10+, Dolby Vision, or HLG. The user can send a selection command by clicking, touching, or swiping on the screen of the video processing device. After receiving the selection sent by the user, the video processing device determines the target format standard selected by the user from different format standards based on the selection command and generates a display conversion command for indicating the display of the second dynamic range video of the target format standard.

[0049] Step 204: In response to the user's display conversion command, the video processing device calls the target display interface and displays the preview effect of the second dynamic range video corresponding to the first video through the target display layer.

[0050] Among them, the target display interface corresponds to the second dynamic range video; the target display layer is a display layer with the function of displaying the second dynamic range video.

[0051] In this embodiment, the target display layer refers to the display layer that displays the second dynamic range video corresponding to the first video. The video processing device is equipped with a display, and the display can have multiple display layers, so different preview effects can be displayed through different display layers. Specifically, in response to the user's display conversion command, the display interface that can display the second dynamic range video corresponding to the first video can be called, and the preview effect of the second dynamic range video can be displayed through the display layer that can display the second dynamic range video corresponding to the first video. In one feasible implementation, the display can have two display layers, including an HDR display layer and an SDR display layer. The video processing device can be equipped with a dynamic switch, and the user can select whether to display the second dynamic range video corresponding to the first video through the dynamic switch. If the user selects to display the second dynamic range video, the controller switches between the HDR display layer and the SDR display layer, that is, controls the display to switch from the SDR display layer to the HDR display layer to display the preview effect of the second dynamic range video corresponding to the first video.

[0052] It should be noted that step 204 can be achieved in the following way:

[0053] Step 204B1: The video processing device maps the first video to obtain multiple frames of the second dynamic range image corresponding to the first video.

[0054] In this embodiment of the application, mapping the first video specifically refers to tone mapping of each frame of the first video; specifically, the first video can be decoded first to obtain multiple frames of images, and then tone mapping can be performed on each frame of the decoded images to obtain multiple frames of second dynamic range images; in a feasible implementation, when the first video refers to an SDR video, the SDR video can be decoded first to obtain multiple frames of images, and then tone mapping can be performed on each frame of the images to obtain multiple frames of HDR images corresponding to the first video.

[0055] Step 204B2: The video processing device calls the target display interface and displays a preview of the second dynamic range video through the target display layer based on multiple frames of the second dynamic range image.

[0056] In this embodiment of the application, multiple frames of second dynamic range images can be processed to obtain processing results, and then the target display interface can be called to display the preview effect of the second dynamic range video through the target display layer based on the processing results.

[0057] It should be noted that when the second dynamic range video is a Dolby Vision standard second dynamic range video, after responding to the user's display conversion command, calling the target display interface, and displaying the preview effect of the second dynamic range video corresponding to the first video, the following steps can also be performed:

[0058] Step 205: The video processing device responds to the user's export command and determines whether the video processing device has Dolby Vision recording capability.

[0059] In this embodiment, the export command is used to instruct the output of a second dynamic range video conforming to the Dolby Vision standard. Users can send export commands by clicking, touching, or swiping on the screen of the video processing device. The video processing device then determines whether it has Dolby Vision recording capabilities, i.e., whether it supports Dolby Vision recording.

[0060] Step 206: If the video processing device has Dolby Vision recording capability, then call the target output interface to output the second dynamic range video of the Dolby Vision standard.

[0061] Step 207: If the video processing device does not have Dolby Vision recording capability, then output a standard second dynamic range video.

[0062] In this embodiment, the target output interface refers to an interface capable of outputting a second dynamic range video conforming to the Dolby Vision standard; the second dynamic range video conforming to the Dolby Vision standard refers to a second dynamic range video with Dolby Vision viewing effects; the second dynamic range video conforming to the ordinary standard refers to a second dynamic range video with HDR10 viewing effects; when the video processing device supports Dolby Vision recording, the target output interface is called to output a second dynamic range video with Dolby Vision viewing effects; when the video processing device does not support Dolby Vision recording, the ordinary standard second dynamic range video is output; thus, the Dolby Vision function is dynamically switched on and off on the HDR device. When the function is enabled, when the user plays an SDR video, the SDR image is converted to an HDR image in real time for display and viewing, providing HDR video display effects, and supporting export to HDR video files conforming to the Dolby Vision format standard.

[0063] It should be noted that the descriptions of the same steps and contents as in other embodiments in this embodiment can be found in the descriptions in other embodiments, and will not be repeated here.

[0064] The video processing method provided in this application embodiment can, after acquiring and displaying the first dynamic range video corresponding to the first video, respond to the user's display conversion command, call the target display interface to display the preview effect of the second dynamic range video corresponding to the first video. In this process, there is no need to convert the first dynamic range video into the second dynamic range video to watch the preview effect of the second dynamic range video corresponding to the first video, thus meeting the user's requirement for the timeliness of watching the preview effect.

[0065] Based on the foregoing embodiments, this application provides yet another video processing method, referring to... Figure 4 As shown, the method may include the following steps:

[0066] Step 301: The video processing device acquires and displays the first video, which is a first dynamic range video.

[0067] Step 302: The video processing device displays at least one dynamic range preview option corresponding to the first video.

[0068] The different dynamic range preview options correspond to different brightness levels and / or dynamic ranges in the dynamic range video.

[0069] Step 303: The video processing device displays multiple format standards of the second dynamic range video.

[0070] The preview effects of the second dynamic range video vary depending on the format standard.

[0071] Step 304: The video processing device responds to the user's selection command by determining the target format standard from different format standards and generating a display conversion command.

[0072] Step 305: The video processing device responds to the user's display conversion command by decoding the first video to obtain multiple frames of first format images.

[0073] In the embodiments of this application, the first format generally refers to the format used when transmitting images; in one feasible implementation, the first format image may refer to a YUV format image, and when the first video is an SDR video, the SDR video can be decoded to obtain multiple frames of YUV format images.

[0074] Step 306: The video processing device performs format conversion on each first format image to obtain multiple frames of second format images.

[0075] In the embodiments of this application, the second format generally refers to the format used when displaying an image; in one feasible implementation, the second format image may refer to an RGB format image, and when the first format image refers to a YUV format image, after obtaining multiple frames of YUV format images, each YUV format image can be converted to obtain each RGB format image, and the size of the RGB format image can be 8 bits.

[0076] Step 307: The video processing device maps the multiple frames of the second format image to obtain the multiple frames of the second dynamic range image.

[0077] In the embodiments of this application, mapping multiple frames of second format images specifically refers to tone mapping of multiple frames of second format images; each second format image can be tone mapped using image processing methods to obtain each second dynamic range image; in one feasible implementation, when the second format image refers to an RGB format image, each RGB format image is tone mapped to obtain each HDR image.

[0078] It should be noted that step 307 can be achieved in the following way:

[0079] Step 307C1: The video processing device uses a three-dimensional color mapping table to perform tone mapping on each second format image to obtain multiple frames of second dynamic range images.

[0080] In this embodiment, a 3D Look-Up Table (3D LUT) is a data structure used for color conversion and color correction, widely applied in image processing and video post-production color grading. It maps the color brightness values ​​of an input image to new color brightness values, thereby adjusting and optimizing the color of an image or video. A 3D LUT can be custom-generated according to display conversion instructions, specifically using professional color grading software such as Adobe Premiere Pro or Adobe Photoshop. Then, the custom-generated 3D LUT is used to perform tone mapping on each second-format image to obtain the second dynamic range image corresponding to each second-format image. It should be noted that different format standards of the second dynamic range video can correspond to different 3D color maps; that is, each format standard of the second dynamic range video can correspond to a different 3D color map. In one feasible implementation, when the second-format image is an 8-bit RGB image, the 8-bit RGB image can be tone-mapped to a 10-bit HDR image or a 16-bit HDR image.

[0081] Step 307C2: The video processing device uses an electro-optical conversion function to perform tone mapping on each second format image to obtain multiple frames of second dynamic range images.

[0082] In this embodiment, the electro-optical transfer function (EOTF) can be used to describe the relationship between luminance and electro-optical conversion. Since different format standards of the second dynamic range video correspond to different EOTFs, the video processing device can determine the EOTF based on the high dynamic range preview option selected by the user in the display interface of the video processing device (i.e., the high dynamic range preview option of which format standard the user selects). Then, the determined EOTF corresponding to the user's selection instruction is used to perform tone mapping on each second format image to obtain each second dynamic range image corresponding to each second format image.

[0083] Step 308: The video processing device sets the metadata for the second dynamic range video.

[0084] The metadata is used to describe the color and / or size of the second dynamic range video.

[0085] In this embodiment, the metadata of the second dynamic range video is used not only to describe the color and / or size of the high dynamic range video, but also to provide descriptive information about the content of the second dynamic range video, including: reference viewing environment, video production process, and how it is adapted to the display. In one feasible implementation, when the second dynamic range video refers to an HDR video, the metadata of the second dynamic range video may refer to HDR static metadata parameters and / or dynamic metadata parameters.

[0086] Step 309: The video processing device calls the target display interface and displays the preview effect of the second dynamic range video through the target display layer based on metadata and multiple frames of second dynamic range images.

[0087] The target display interface corresponds to the second dynamic range video.

[0088] In this embodiment, the encoder can be called first to encode multiple frames of the second dynamic range image, that is, to encode multiple frames of the second dynamic range image into a bitstream. Then, the target display interface is called to set metadata, and the preview effect of the second dynamic range video is displayed through the target display layer. In this way, for SDR video recorded by the camera, this method allows users to convert SDR video to HDR video during post-editing and experience the HDR viewing effect.

[0089] It should be noted that when the second dynamic range video is a preview of the Dolby Vision standard second dynamic range video, after responding to the user's display conversion command, calling the target display interface, and displaying the second dynamic range video corresponding to the first video, the following steps can also be performed:

[0090] Step 310: The video processing device responds to the user's export command and determines whether the video processing device has Dolby Vision recording capability.

[0091] Step 311: If the video processing device has Dolby Vision recording function, then call the target output interface to output the second dynamic range video of the Dolby Vision standard.

[0092] Step 312: If the video processing device does not have Dolby Vision recording capability, then output a standard second dynamic range video.

[0093] It should be noted that the descriptions of the same steps and contents as in other embodiments in this embodiment can be found in the descriptions in other embodiments, and will not be repeated here.

[0094] The video processing method provided in this application embodiment can, after acquiring and displaying the first dynamic range video corresponding to the first video, respond to the user's display conversion command, call the target display interface to display the preview effect of the second dynamic range video corresponding to the first video. In this process, there is no need to convert the first dynamic range video into the second dynamic range video to watch the preview effect of the second dynamic range video corresponding to the first video, thus meeting the user's requirement for the timeliness of watching the preview effect.

[0095] Based on the foregoing embodiments, embodiments of this application provide a video processing device that can be applied to... Figure 1 , Figure 2 and Figure 4 In the video processing method provided in the corresponding embodiment, refer to Figure 5 As shown, the video processing device 4 may include: a processor 41, a memory 42, and a communication bus 43, wherein:

[0096] Communication bus 43 is used to realize the communication connection between processor 41 and memory 42;

[0097] The processor 41 is used to execute the video processing program in the memory 42 to perform the following steps:

[0098] Get and display the first video, which is the first dynamic range video;

[0099] In response to the user's display conversion command, the target display interface is called to display the preview effect of the second dynamic range video corresponding to the first video. The target display interface corresponds to the second dynamic range video.

[0100] In other embodiments of this application, the processor 41 is used to execute a video processing method of the video processing program in the memory 42 to implement the following steps:

[0101] Display at least one dynamic range preview option corresponding to the first video, and the brightness levels and / or dynamic range of the dynamic range videos corresponding to different dynamic range preview options are different;

[0102] In response to the user's selection, a display conversion instruction is generated.

[0103] In other embodiments of this application, the processor 41 is configured to execute the video processing program in the memory 42 in response to a user's display conversion command, call the target display interface, and display a preview effect of the second dynamic range video corresponding to the first video, in order to achieve the following steps:

[0104] In response to the user's display conversion command, the target display interface is called to display the preview effect of the second dynamic range video corresponding to the first video through the target display layer; wherein, the target display layer is a display layer with the function of displaying the second dynamic range video.

[0105] In other embodiments of this application, the processor 41 is used to execute the video processing program in the memory 42 to call the target display interface, and display the preview effect of the second dynamic range video corresponding to the first video through the target display layer to achieve the following steps:

[0106] The first video is mapped to obtain multiple frames of the second dynamic range image corresponding to the first video.

[0107] Call the target display interface to display a preview of the second dynamic range video through the target display layer based on multiple frames of the second dynamic range image.

[0108] In other embodiments of this application, the processor 41 is used to execute the video processing program in the memory 42 to map the first video and obtain multiple frames of the second dynamic range image corresponding to the first video, so as to implement the following steps:

[0109] The first video is decoded to obtain multiple frames of the first format image;

[0110] Each first-format image is converted to a second-format image to obtain multiple frames of second-format images;

[0111] By mapping multiple frames of the second format image, a multi-frame second dynamic range image is obtained.

[0112] In other embodiments of this application, the processor 41 is used to execute the video processing program in the memory 42 to map multiple frames of second format images to obtain multiple frames of second dynamic range images, in order to implement the following steps:

[0113] A three-dimensional color mapping table is used to perform tone mapping on each second format image to obtain multiple frames of second dynamic range images.

[0114] In other embodiments of this application, the processor 41 is used to execute the video processing program in the memory 42 to map multiple frames of second format images to obtain multiple frames of second dynamic range images, in order to implement the following steps:

[0115] An electro-optical conversion function is used to perform tone mapping on each second-format image to obtain multiple frames of second dynamic range images.

[0116] In other embodiments of this application, the processor 41 is used to execute the video processing program in the memory 42 to call the target display interface based on multiple frames of the second dynamic range image, and display the preview effect of the second dynamic range video through the target display layer to achieve the following steps:

[0117] Set the metadata for the second dynamic range video; wherein the metadata is used to describe the color and / or size of the second dynamic range video;

[0118] The target display interface is invoked, and based on metadata and multiple frames of second dynamic range images, the preview effect of the second dynamic range video is displayed through the target display layer.

[0119] In other embodiments of this application, the processor 41 is used to execute a video processing method of the video processing program in the memory 42 to implement the following steps:

[0120] The video displays multiple format standards for the second dynamic range video, and the preview effect of the second dynamic range video is different for different format standards;

[0121] In response to the user's selection command, a target format standard is determined from different format standards to generate a display conversion command. The display conversion command is used to indicate the preview effect of the second dynamic range video of the target format standard.

[0122] In other embodiments of this application, the processor 41 is used to execute a video processing method of the video processing program in the memory 42 to implement the following steps:

[0123] When the second dynamic range video is a Dolby Vision standard second dynamic range video, in response to the user's export command, it is determined whether the video processing device has Dolby Vision recording function.

[0124] If the video processing device has Dolby Vision recording capability, then the target output interface is called to output the second dynamic range video of the Dolby Vision standard;

[0125] If the video processing device does not have Dolby Vision recording capability, it outputs standard second dynamic range video.

[0126] It should be noted that a detailed description of the steps performed by the processor can be found in [reference needed]. Figure 1 , Figure 2 and Figure 4 The implementation process of the video processing method provided in the corresponding embodiments will not be described in detail here.

[0127] The video processing device provided in this application embodiment can, after acquiring and displaying the first dynamic range video corresponding to the first video, respond to the user's display conversion command, call the target display interface to display the preview effect of the second dynamic range video corresponding to the first video. In this process, there is no need to convert the first dynamic range video into the second dynamic range video to watch the preview effect of the second dynamic range video corresponding to the first video, thus meeting the user's requirement for the timeliness of watching the preview effect.

[0128] Based on the foregoing embodiments, this application also provides a computer program product, including a computer program that can be executed by the processor 41 of the video processing device 4 to achieve... Figure 1 , Figure 2 and Figure 4 The steps in the video processing method provided in the corresponding embodiment.

[0129] Based on the foregoing embodiments, this application provides a computer-readable storage medium storing one or more programs that can be executed by one or more processors to achieve... Figure 1 , Figure 2 and Figure 4 The steps in the video processing method provided in the corresponding embodiment.

[0130] It should be noted that the aforementioned computer-readable storage media can be read-only memory (ROM), programmable read-only memory (PROM), erasable programmable read-only memory (EPROM), electrically erasable programmable read-only memory (EEPROM), magnetic random access memory (FRAM), flash memory, magnetic surface memory, optical disc, or compact disc read-only memory (CD-ROM), etc.; or it can be various electronic devices that include one or any combination of the above-mentioned memories, such as mobile phones, computers, tablet devices, personal digital assistants, etc.

[0131] It should be noted that, in this document, the terms "comprising," "including," or any other variations thereof are intended to cover non-exclusive inclusion, such that a process, method, article, or apparatus that comprises a list of elements includes not only those elements but also other elements not expressly listed, or elements inherent to such a process, method, article, or apparatus. Unless otherwise specified, an element defined by the phrase "comprising one..." does not exclude the presence of other identical elements in the process, method, article, or apparatus that includes that element.

[0132] The sequence numbers of the embodiments in this application are for descriptive purposes only and do not represent the superiority or inferiority of the embodiments.

[0133] Through the above description of the embodiments, those skilled in the art can clearly understand that the methods of the above embodiments can be implemented by means of software plus necessary general-purpose hardware platforms. Of course, they can also be implemented by hardware, but in many cases the former is a better implementation method. Based on this understanding, the technical solution of this application, in essence, or the part that contributes to the prior art, can be embodied in the form of a software product. This computer software product is stored in a storage medium (such as ROM / RAM, magnetic disk, optical disk) and includes several instructions to cause a terminal device (which may be a mobile phone, computer, server, air conditioner, or network device, etc.) to execute the methods described in the various embodiments of this application.

[0134] This application is described with reference to flowchart illustrations and / or block diagrams of methods, apparatus (systems), and computer program products according to embodiments of this application. It will be understood that each block of the flowchart illustrations and / or block diagrams, and combinations of blocks in the flowchart illustrations and / or block diagrams, can be implemented by computer program instructions. These computer program instructions can be provided to a processor of a general-purpose computer, special-purpose computer, embedded processor, or other programmable data processing apparatus to produce a machine, such that the instructions, which execute via the processor of the computer or other programmable data processing apparatus, create a machine for implementing the flowchart illustrations. Figure 1 One or more processes and / or boxes Figure 1 A device that provides the functions specified in one or more boxes.

[0135] These computer program instructions may also be stored in a computer-readable storage medium that can direct a computer or other programmable data processing device to function in a particular manner, such that the instructions stored in the computer-readable storage medium produce an article of manufacture including instruction means, which are implemented in a process Figure 1 One or more processes and / or boxes Figure 1 The function specified in one or more boxes.

[0136] These computer program instructions may also be loaded onto a computer or other programmable data processing equipment to cause a series of operational steps to be performed on the computer or other programmable equipment to produce a computer-implemented process, thereby providing instructions that execute on the computer or other programmable equipment for implementing the process. Figure 1 One or more processes and / or boxes Figure 1 The steps of the function specified in one or more boxes.

[0137] The above are merely preferred embodiments of this application and do not limit the patent scope of this application. Any equivalent structural or procedural transformations made using the content of this application's specification and drawings, or direct or indirect applications in other related technical fields, are similarly included within the patent protection scope of this application.

Claims

1. A video processing method, characterized in that, The method includes: Acquire and display the first video, which is a first dynamic range video; In response to the user's display conversion command, the target display interface is invoked to display a preview of the second dynamic range video corresponding to the first video, wherein the target display interface corresponds to the second dynamic range video.

2. The method according to claim 1, characterized in that, Prior to responding to the user's display conversion command, the method further includes: Display at least one dynamic range preview option corresponding to the first video, and the brightness levels and / or dynamic range of the dynamic range video corresponding to different dynamic range preview options are different; In response to the user's selection, the display conversion instruction is generated.

3. The method according to claim 1, characterized in that, The step of responding to the user's display conversion command by calling the target display interface to display a preview of the second dynamic range video corresponding to the first video includes: In response to the user's display conversion command, the target display interface is invoked to display a preview of the second dynamic range video corresponding to the first video through the target display layer; wherein, the target display layer is a display layer with the function of displaying the second dynamic range video.

4. The method according to claim 3, characterized in that, The step of calling the target display interface to display a preview of the second dynamic range video corresponding to the first video through the target display layer includes: The first video is mapped to obtain a multi-frame second dynamic range image corresponding to the first video. The target display interface is invoked to display a preview of the second dynamic range video through the target display layer based on the multi-frame second dynamic range images.

5. The method according to claim 4, characterized in that, The step of mapping the first video to obtain multiple frames of the second dynamic range image corresponding to the first video includes: The first video is decoded to obtain multiple frames of first format images; Each first-format image is converted to a second-format image to obtain multiple frames of second-format images. The multi-frame second format image is mapped to obtain the multi-frame second dynamic range image.

6. The method according to claim 5, characterized in that, The step of mapping the multi-frame second format image to obtain the multi-frame second dynamic range image includes: A three-dimensional color mapping table is used to perform tone mapping on each of the second format images to obtain the multi-frame second dynamic range images.

7. The method according to claim 5, characterized in that, The step of mapping the multi-frame second format image to obtain the multi-frame second dynamic range image includes: The second format image is tone-mapped using an electro-optic conversion function to obtain the multi-frame second dynamic range image.

8. The method according to any one of claims 6 or 7, characterized in that, The step of calling the target display interface to display a preview effect of the second dynamic range video through the target display layer based on the multi-frame second dynamic range images includes: Configure the metadata of the second dynamic range video; wherein the metadata is used to describe the color and / or size of the second dynamic range video; The target display interface is invoked, and based on the metadata and the multi-frame second dynamic range image, the preview effect of the second dynamic range video is displayed through the target display layer.

9. The method according to claim 1, characterized in that, Before responding to the user's display conversion command, calling the target display interface, and displaying the preview effect of the second dynamic range video corresponding to the first video, the method further includes: The preview effect of the second dynamic range video is different for different format standards. In response to the user's selection instruction, a target format standard is determined from the different format standards to generate the display conversion instruction, which is used to indicate the preview effect of the second dynamic range video of the target format standard.

10. The method according to claim 1, characterized in that, When the second dynamic range video is a Dolby Vision standard second dynamic range video, after responding to the user's display conversion command, calling the target display interface, and displaying the preview effect of the second dynamic range video corresponding to the first video, the method further includes: In response to the user's export command, determine whether the video processing device has Dolby Vision recording capability; If the video processing device has Dolby Vision recording capability, then the target output interface is called to output the second dynamic range video of the Dolby Vision standard; If the video processing device does not have Dolby Vision recording capability, it outputs standard second dynamic range video.

11. A video processing device, characterized in that, The device includes: a processor, a memory, and a communication bus; The communication bus is used to realize the communication connection between the processor and the memory; The processor is used to execute the video processing program stored in the memory to implement the steps of the video processing method as described in any one of claims 1 to 10.

12. A computer-readable storage medium, characterized in that, The storage medium stores one or more programs, which can be executed by one or more processors to implement the steps of the video processing method as described in any one of claims 1 to 10.