CN110677728B - Method, device and equipment for playing video and storage medium - Google Patents

Method, device and equipment for playing video and storage medium Download PDF

Info

Publication number
CN110677728B
CN110677728B CN201910940687.XA CN201910940687A CN110677728B CN 110677728 B CN110677728 B CN 110677728B CN 201910940687 A CN201910940687 A CN 201910940687A CN 110677728 B CN110677728 B CN 110677728B
Authority
CN
China
Prior art keywords
video
parameter
playing
currently played
video information
Prior art date
Legal status (The legal status is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the status listed.)
Active
Application number
CN201910940687.XA
Other languages
Chinese (zh)
Other versions
CN110677728A (en
Inventor
张元尊
贾弘毅
郑云飞
闻兴
于冰
Current Assignee (The listed assignees may be inaccurate. Google has not performed a legal analysis and makes no representation or warranty as to the accuracy of the list.)
Beijing Dajia Internet Information Technology Co Ltd
Original Assignee
Beijing Dajia Internet Information Technology Co Ltd
Priority date (The priority date is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the date listed.)
Filing date
Publication date
Application filed by Beijing Dajia Internet Information Technology Co Ltd filed Critical Beijing Dajia Internet Information Technology Co Ltd
Priority to CN201910940687.XA priority Critical patent/CN110677728B/en
Publication of CN110677728A publication Critical patent/CN110677728A/en
Application granted granted Critical
Publication of CN110677728B publication Critical patent/CN110677728B/en
Active legal-status Critical Current
Anticipated expiration legal-status Critical

Links

Images

Classifications

    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04NPICTORIAL COMMUNICATION, e.g. TELEVISION
    • H04N21/00Selective content distribution, e.g. interactive television or video on demand [VOD]
    • H04N21/40Client devices specifically adapted for the reception of or interaction with content, e.g. set-top-box [STB]; Operations thereof
    • H04N21/43Processing of content or additional data, e.g. demultiplexing additional data from a digital video stream; Elementary client operations, e.g. monitoring of home network or synchronising decoder's clock; Client middleware
    • H04N21/442Monitoring of processes or resources, e.g. detecting the failure of a recording device, monitoring the downstream bandwidth, the number of times a movie has been viewed, the storage space available from the internal hard disk
    • H04N21/44213Monitoring of end-user related data
    • H04N21/44218Detecting physical presence or behaviour of the user, e.g. using sensors to detect if the user is leaving the room or changes his face expression during a TV program
    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04NPICTORIAL COMMUNICATION, e.g. TELEVISION
    • H04N21/00Selective content distribution, e.g. interactive television or video on demand [VOD]
    • H04N21/40Client devices specifically adapted for the reception of or interaction with content, e.g. set-top-box [STB]; Operations thereof
    • H04N21/43Processing of content or additional data, e.g. demultiplexing additional data from a digital video stream; Elementary client operations, e.g. monitoring of home network or synchronising decoder's clock; Client middleware
    • H04N21/44Processing of video elementary streams, e.g. splicing a video clip retrieved from local storage with an incoming video stream or rendering scenes according to encoded video stream scene graphs
    • H04N21/4402Processing of video elementary streams, e.g. splicing a video clip retrieved from local storage with an incoming video stream or rendering scenes according to encoded video stream scene graphs involving reformatting operations of video signals for household redistribution, storage or real-time display
    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04NPICTORIAL COMMUNICATION, e.g. TELEVISION
    • H04N21/00Selective content distribution, e.g. interactive television or video on demand [VOD]
    • H04N21/40Client devices specifically adapted for the reception of or interaction with content, e.g. set-top-box [STB]; Operations thereof
    • H04N21/43Processing of content or additional data, e.g. demultiplexing additional data from a digital video stream; Elementary client operations, e.g. monitoring of home network or synchronising decoder's clock; Client middleware
    • H04N21/44Processing of video elementary streams, e.g. splicing a video clip retrieved from local storage with an incoming video stream or rendering scenes according to encoded video stream scene graphs
    • H04N21/4402Processing of video elementary streams, e.g. splicing a video clip retrieved from local storage with an incoming video stream or rendering scenes according to encoded video stream scene graphs involving reformatting operations of video signals for household redistribution, storage or real-time display
    • H04N21/440218Processing of video elementary streams, e.g. splicing a video clip retrieved from local storage with an incoming video stream or rendering scenes according to encoded video stream scene graphs involving reformatting operations of video signals for household redistribution, storage or real-time display by transcoding between formats or standards, e.g. from MPEG-2 to MPEG-4
    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04NPICTORIAL COMMUNICATION, e.g. TELEVISION
    • H04N21/00Selective content distribution, e.g. interactive television or video on demand [VOD]
    • H04N21/40Client devices specifically adapted for the reception of or interaction with content, e.g. set-top-box [STB]; Operations thereof
    • H04N21/43Processing of content or additional data, e.g. demultiplexing additional data from a digital video stream; Elementary client operations, e.g. monitoring of home network or synchronising decoder's clock; Client middleware
    • H04N21/44Processing of video elementary streams, e.g. splicing a video clip retrieved from local storage with an incoming video stream or rendering scenes according to encoded video stream scene graphs
    • H04N21/4402Processing of video elementary streams, e.g. splicing a video clip retrieved from local storage with an incoming video stream or rendering scenes according to encoded video stream scene graphs involving reformatting operations of video signals for household redistribution, storage or real-time display
    • H04N21/440263Processing of video elementary streams, e.g. splicing a video clip retrieved from local storage with an incoming video stream or rendering scenes according to encoded video stream scene graphs involving reformatting operations of video signals for household redistribution, storage or real-time display by altering the spatial resolution, e.g. for displaying on a connected PDA
    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04NPICTORIAL COMMUNICATION, e.g. TELEVISION
    • H04N21/00Selective content distribution, e.g. interactive television or video on demand [VOD]
    • H04N21/40Client devices specifically adapted for the reception of or interaction with content, e.g. set-top-box [STB]; Operations thereof
    • H04N21/47End-user applications
    • H04N21/472End-user interface for requesting content, additional data or services; End-user interface for interacting with content, e.g. for content reservation or setting reminders, for requesting event notification, for manipulating displayed content
    • H04N21/47205End-user interface for requesting content, additional data or services; End-user interface for interacting with content, e.g. for content reservation or setting reminders, for requesting event notification, for manipulating displayed content for manipulating displayed content, e.g. interacting with MPEG-4 objects, editing locally
    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04NPICTORIAL COMMUNICATION, e.g. TELEVISION
    • H04N21/00Selective content distribution, e.g. interactive television or video on demand [VOD]
    • H04N21/40Client devices specifically adapted for the reception of or interaction with content, e.g. set-top-box [STB]; Operations thereof
    • H04N21/47End-user applications
    • H04N21/485End-user interface for client configuration
    • H04N21/4854End-user interface for client configuration for modifying image parameters, e.g. image brightness, contrast

Landscapes

  • Engineering & Computer Science (AREA)
  • Multimedia (AREA)
  • Signal Processing (AREA)
  • Health & Medical Sciences (AREA)
  • General Health & Medical Sciences (AREA)
  • Social Psychology (AREA)
  • Databases & Information Systems (AREA)
  • Human Computer Interaction (AREA)
  • Computer Networks & Wireless Communication (AREA)
  • Picture Signal Circuits (AREA)

Abstract

The present disclosure relates to a method, an apparatus, a device and a storage medium for playing a video, the method comprising: generating an adjusting instruction for adjusting the quality of the currently played video in response to the detection of the interactive operation of the user; in response to the adjustment instruction, acquiring a quality adjustment reference parameter based on the decoded data of the currently played video; adjusting the decoded data of the currently played video according to the quality adjustment reference parameter to obtain adjusted video information; and rendering and playing the adjusted video information. According to the method and the device, the adjustment instruction for adjusting the quality of the currently played video is generated in response to the detection of the interactive operation of the user, and the decoded data of the currently played video is adjusted, so that the quality of the currently played video can be dynamically adjusted based on the interactive operation of the user, the form of adjusting the video playing quality can be enriched, and the requirement of the user on high video playing quality is met.

Description

Method, device and equipment for playing video and storage medium
Technical Field
The present disclosure relates to the field of information processing technologies, and in particular, to a method, an apparatus, a device, and a storage medium for playing a video.
Background
With the ever-expanding range of video usage and the ever-increasing demand for high quality video, video providers have expanded the video parameter space by using higher spatial resolution, frame rate and dynamic range, which has placed tremendous pressure on the storage capacity of memory, the channel transmission rate of the communication backbone, and the speed of computers, and it is impractical to simply expand the capacity of the compressor and increase the transmission rate of the communication backbone. The video compression technology is an effective method, the video information data volume is reduced by a video compression means, and the video information data volume is stored and transmitted in a compression mode, so that the storage space can be saved, and the transmission efficiency of a communication trunk line can be improved.
Conventional video coding algorithms in the related art, such as MPEG-4, h.264, h.265, etc., usually aim to improve coding efficiency through a finer blocking manner and a more accurate prediction manner, and although the algorithms are well designed and adjusted, the requirements of users on high video playing quality cannot be met.
Disclosure of Invention
The present disclosure provides a method, an apparatus, and a system for playing a video, so as to at least solve the above technical problems in the related art. The technical scheme of the disclosure is as follows:
according to a first aspect of the embodiments of the present disclosure, there is provided a method for playing a video, including:
generating an adjusting instruction for adjusting the quality of the currently played video in response to the detection of the interactive operation of the user;
in response to the adjustment instruction, acquiring a quality adjustment reference parameter based on the decoded data of the currently played video;
adjusting the decoded data of the currently played video according to the quality adjustment reference parameter to obtain adjusted video information;
and rendering and playing the adjusted video information.
In an embodiment, the step of obtaining the quality adjustment reference parameter based on the decoded data of the currently playing video in response to the adjustment instruction comprises:
detecting a definition-related parameter of decoded data of the currently played video in response to the adjustment instruction;
and acquiring a quality adjustment reference parameter based on the definition related parameter.
In an embodiment, the step of adjusting the decoded data of the currently played video according to the quality adjustment reference parameter to obtain the adjusted video information includes:
according to the quality adjustment reference parameter, adjusting the unplayed decoded data of the currently played video to obtain adjusted unplayed video information;
the step of rendering and playing the adjusted video information comprises:
and rendering and playing the adjusted video information which is not played.
In an embodiment, the step of adjusting the decoded data of the currently played video according to the quality adjustment reference parameter to obtain the adjusted video information includes:
adjusting all decoding data of the currently played video according to the quality adjustment reference parameter to obtain all adjusted video information;
the step of rendering and playing the adjusted video information comprises:
and rendering and playing the video information which is not played in all the adjusted video information.
In an embodiment, in a case where the quality adjustment reference parameter includes a sharpening parameter for performing a sharpening process, the step of obtaining, in response to the adjustment instruction, a quality adjustment reference parameter based on decoded data of the currently playing video includes:
acquiring a low-pass filtering parameter used for performing low-pass filtering processing on video information to be coded in the process of generating coding data of the currently played video;
determining the sharpening parameter for sharpening processing based on the low-pass filtering parameter;
adjusting the decoded data of the currently played video according to the quality adjustment reference parameter to obtain adjusted video information, including:
and carrying out sharpening processing on the decoded data of the currently played video based on the sharpening parameters to obtain adjusted video information.
In an embodiment, in the case that the quality adjustment reference parameter includes a contrast improvement parameter for performing contrast improvement processing, the step of obtaining the quality adjustment reference parameter based on the decoded data of the currently played video in response to the adjustment instruction includes:
acquiring a contrast reduction parameter used for carrying out contrast reduction processing on video information to be coded in the process of generating the coded data of the current playing video;
determining the contrast-improving parameter for performing contrast-improving processing based on the contrast-reducing parameter;
adjusting the decoded data of the currently played video according to the quality adjustment reference parameter to obtain adjusted video information, including:
and performing contrast improvement processing on the decoded data of the currently played video based on the contrast improvement parameter to obtain adjusted video information.
According to a second aspect of the embodiments of the present disclosure, there is provided an apparatus for playing a video, including:
the adjustment instruction generation module is configured to execute interactive operation responding to the detected user and generate an adjustment instruction for adjusting the quality of the currently played video;
a reference parameter obtaining module configured to perform obtaining a quality adjustment reference parameter based on the decoded data of the currently played video in response to the adjustment instruction;
the decoding data adjusting module is configured to adjust the decoding data of the currently played video according to the quality adjustment reference parameter to obtain adjusted video information;
and the video rendering and playing module is configured to render and play the adjusted video information.
In an embodiment, the reference parameter obtaining module includes:
a definition parameter detection unit configured to perform detecting a definition-related parameter of decoded data of the currently played video in response to the adjustment instruction;
a reference parameter acquisition unit configured to perform acquisition of a quality adjustment reference parameter based on the sharpness related parameter.
In an embodiment, the decoded data adjusting module is further configured to adjust the un-played decoded data of the currently played video according to the quality adjustment reference parameter, so as to obtain adjusted un-played video information;
the video rendering and playing module is further configured to perform rendering and playing of the adjusted unplayed video information.
In an embodiment, the decoded data adjusting module is further configured to perform adjustment on all decoded data of the currently played video according to the quality adjustment reference parameter, so as to obtain all adjusted video information;
the video rendering and playing module is further configured to render and play the unplayed video information in the adjusted all video information.
In an embodiment, in a case that the quality adjustment reference parameter includes a sharpening parameter for performing a sharpening process, the reference parameter acquiring module includes:
a filtering parameter acquiring unit configured to perform acquisition of a low-pass filtering parameter for performing low-pass filtering processing on video information to be encoded in a process of generating encoded data of the currently played video;
a sharpening parameter determination unit configured to perform determination of the sharpening parameter for the sharpening process based on the low-pass filtering parameter;
the decoding data adjusting module comprises:
and the sharpening processing unit is configured to execute sharpening processing on the decoded data of the currently played video based on the sharpening parameter to obtain adjusted video information.
In an embodiment, in a case that the quality adjustment reference parameter includes a contrast improvement parameter for performing contrast improvement processing, the reference parameter obtaining module includes:
a low parameter acquiring unit configured to execute acquiring a contrast reduction parameter for performing contrast reduction processing on video information to be encoded in a process of generating encoded data of the currently played video;
a high parameter acquisition unit configured to perform determining the contrast-improving parameter for performing contrast-improving processing based on the contrast-reducing parameter;
the decoding data adjusting module comprises:
and the contrast improving unit is configured to perform contrast improving processing on the decoded data of the currently played video based on the contrast improving parameter to obtain the adjusted video information.
According to a third aspect of the embodiments of the present disclosure, there is provided an electronic device for playing a video, including:
a processor;
a memory for storing the processor-executable instructions;
wherein the processor is configured to execute the instructions to implement the method of playing video as described in any of the above.
According to a fourth aspect of the embodiments of the present disclosure, there is provided a storage medium, wherein instructions, when executed by a processor of an electronic device playing video, enable the electronic device playing video to perform the method of playing video according to any one of the above.
According to a fifth aspect of embodiments of the present disclosure, there is provided a computer program product, which, when executed by a processor of an electronic device playing video, enables the electronic device playing video to execute the method of playing video according to any one of the above.
The technical scheme provided by the embodiment of the disclosure at least brings the following beneficial effects:
the present disclosure generates an adjustment instruction for adjusting the quality of a currently played video by responding to the detection of the interactive operation of the user, and in response to the adjustment instruction, acquiring a quality adjustment reference parameter based on the decoded data of the currently played video, and then adjusting the reference parameter according to the quality, adjusting the decoded data of the currently played video to obtain adjusted video information, and further rendering and playing the adjusted video information, because the adjustment instruction for adjusting the quality of the currently played video is generated and the decoded data of the currently played video is adjusted in response to the detection of the interaction operation of the user, the dynamic adjustment of the quality of the currently played video based on the interaction operation of the user can be realized, the method can enrich the form of adjusting the video playing quality and meet the requirement of users on high video playing quality.
It is to be understood that both the foregoing general description and the following detailed description are exemplary and explanatory only and are not restrictive of the disclosure.
Drawings
The accompanying drawings, which are incorporated in and constitute a part of this specification, illustrate embodiments consistent with the present disclosure and, together with the description, serve to explain the principles of the disclosure and are not to be construed as limiting the disclosure.
Fig. 1A is a flowchart illustrating a method of playing a video according to a first exemplary embodiment.
Fig. 1B is a schematic diagram illustrating a scenario in which a user interacts with a terminal device according to an exemplary embodiment.
Fig. 1C is a schematic diagram illustrating a scenario in which a user interacts with a terminal device according to yet another exemplary embodiment.
Fig. 2 is a flow diagram illustrating how a quality adjustment reference parameter is obtained according to an example embodiment.
Fig. 3 is a flowchart illustrating a method of playing a video according to a second exemplary embodiment.
Fig. 4 is a flowchart illustrating a method of playing a video according to a third exemplary embodiment.
Fig. 5 is a flowchart illustrating a method of playing a video according to a fourth exemplary embodiment.
Fig. 6 is a flowchart illustrating a method of playing a video according to a fifth exemplary embodiment.
Fig. 7 is a block diagram illustrating an apparatus for playing a video according to an example embodiment.
Fig. 8 is a block diagram illustrating an apparatus for playing a video according to still another exemplary embodiment.
Fig. 9 is a block diagram illustrating an electronic device playing video in accordance with an example embodiment.
Detailed Description
In order to make the technical solutions of the present disclosure better understood by those of ordinary skill in the art, the technical solutions in the embodiments of the present disclosure will be clearly and completely described below with reference to the accompanying drawings.
It should be noted that the terms "first," "second," and the like in the description and claims of the present disclosure and in the above-described drawings are used for distinguishing between similar elements and not necessarily for describing a particular sequential or chronological order. It is to be understood that the data so used is interchangeable under appropriate circumstances such that the embodiments of the disclosure described herein are capable of operation in sequences other than those illustrated or otherwise described herein. The implementations described in the exemplary embodiments below are not intended to represent all implementations consistent with the present disclosure. Rather, they are merely examples of apparatus and methods consistent with certain aspects of the present disclosure, as detailed in the appended claims.
Fig. 1A is a flowchart illustrating a method of playing a video according to a first exemplary embodiment. The method for playing the video according to the embodiment can be used in a terminal device (e.g., a smart phone, a tablet computer, or a notebook computer). As shown in fig. 1A, the method includes the following steps S101-S104:
in step S101, in response to detecting the interactive operation of the user, an adjustment instruction for adjusting the quality of the currently played video is generated.
The interactive operation may include a user performing a setting operation on a screen of the terminal device, such as clockwise or counterclockwise circling, or single-finger or multi-finger tapping, sliding, and the like, which is not limited in this embodiment.
For example, fig. 1B is a schematic diagram illustrating a scenario in which a user interacts with a terminal device according to an exemplary embodiment. As shown in fig. 1B, when the user needs to adjust the playing quality (e.g., definition, picture size, etc.) of the currently playing video while watching the video through the terminal device 100, the user can perform a sliding operation in the direction of the arrow shown in the figure by using the thumb and the index finger simultaneously, so that the terminal device 100 generates an adjustment instruction for adjusting the quality of the currently playing video in response to the interactive operation.
As another example, 1C is a schematic view of a scenario in which a user performs an interactive operation with a terminal device according to yet another exemplary embodiment. As shown in fig. 1C, when the user needs to adjust the playing quality (e.g., definition, picture size, etc.) of the currently playing video while watching the video through the terminal device 200, the user may perform a circle on the screen in a clockwise or counterclockwise direction (as shown by a graph 201 shown by a dotted line in the figure) by using the index finger, so that the terminal device 200 generates an adjustment instruction for adjusting the quality of the currently playing video in response to the interactive operation.
It should be noted that the content and the form of the adjustment instruction may be set by a developer based on actual business needs, which is not limited in this embodiment.
In step S102, in response to the adjustment instruction, a quality adjustment reference parameter is obtained based on the decoded data of the currently played video.
In this embodiment, the terminal device may obtain, in response to the adjustment instruction, decoded data of a currently played video, and further may obtain, based on the decoded data of the currently played video, a quality adjustment reference parameter for adjusting quality of the currently played video.
It should be noted that the quality adjustment reference parameter may be determined according to a manner of adjusting the quality of the currently played video. For example, if the currently played video quality is adjusted by sharpening, the quality adjustment reference parameter may include a sharpening parameter for performing sharpening. Or, if the quality of the currently played video is adjusted by performing contrast improvement processing, the quality adjustment reference parameter may include a contrast improvement parameter for performing contrast improvement processing.
In another embodiment, the above-mentioned manner of obtaining the quality adjustment reference parameter based on the decoded data of the currently playing video can also refer to fig. 2, fig. 5, or fig. 6, which is not described in detail herein.
In step S103, the decoded data of the currently played video is adjusted according to the quality adjustment reference parameter, so as to obtain adjusted video information.
In this embodiment, after the quality adjustment reference parameter is acquired based on the decoded data of the currently played video in response to the adjustment instruction, the decoded data of the currently played video may be adjusted according to the acquired quality adjustment reference parameter, so as to obtain adjusted video information.
In an embodiment, the decoded data of the currently playing video may be unplayed decoded data of the currently playing video, or may be all decoded data of the currently playing video, and specific explanation and description may be referred to the embodiments shown in fig. 3 or fig. 4 below, which will not be described in detail first.
In step S104, the adjusted video information is rendered and played.
In this embodiment, when the terminal device adjusts the decoded data of the currently played video according to the quality adjustment reference parameter to obtain adjusted video information, the adjusted video information may be rendered and played.
It should be noted that, for the above-mentioned manner of rendering and playing the adjusted video information, reference may be made to explanation and description in the prior art, which is not limited in this embodiment.
As can be seen from the above description, the present embodiment generates an adjustment instruction for adjusting the quality of the currently played video in response to detecting the interactive operation of the user, and in response to the adjustment instruction, acquiring a quality adjustment reference parameter based on the decoded data of the currently played video, and then adjusting the reference parameter according to the quality, adjusting the decoded data of the currently played video to obtain adjusted video information, and further rendering and playing the adjusted video information, because the adjustment instruction for adjusting the quality of the currently played video is generated and the decoded data of the currently played video is adjusted in response to the detection of the interaction operation of the user, the dynamic adjustment of the quality of the currently played video based on the interaction operation of the user can be realized, the method can enrich the form of adjusting the video playing quality and meet the requirement of users on high video playing quality.
Fig. 2 is a flow diagram illustrating how a quality adjustment reference parameter is obtained according to an example embodiment. The present embodiment is described with reference to how to obtain the quality adjustment reference parameter on the basis of the above embodiments. As shown in fig. 2, the step of obtaining the quality adjustment reference parameter based on the decoded data of the currently played video in response to the adjustment instruction in the above S102 may include the following steps S201 to S202:
in step S201, a sharpness related parameter of decoded data of the currently playing video is detected in response to the adjustment instruction.
In this embodiment, after the terminal device generates an adjustment instruction for adjusting the quality of the currently played video in response to detecting the interactive operation of the user, the terminal device may detect the sharpness-related parameter of the decoded data of the currently played video in response to the adjustment instruction.
The definition-related parameters may be freely set by a developer or a user according to actual needs, for example, the definition-related parameters are set to contrast, saturation, brightness, flaws, size, noise, and the like of video information, which is not limited in this embodiment.
In step S202, a quality adjustment reference parameter is acquired based on the sharpness related parameter.
In this embodiment, after detecting the sharpness related parameter of the decoded data of the currently played video, the quality adjustment reference parameter may be obtained based on the sharpness related parameter.
For example, if the brightness is found to be lower than the preset brightness threshold (that is, the entire video picture is dark) after the content of the decoded data of the currently played video is detected, the brightness of the video picture can be increased, and thus the quality adjustment reference parameter can be determined as a parameter for increasing the brightness; for another example, if the noise is found to be heavy after the content detection is performed on the decoded data of the currently played video, the denoising process may be performed, so that the quality adjustment reference parameter may be determined as a parameter for performing the denoising process.
As can be seen from the above description, in this embodiment, the definition-related parameter of the decoded data of the currently played video is detected in response to the adjustment instruction, and the quality adjustment reference parameter is obtained based on the definition-related parameter, so that the definition adjustment of the currently played video quality based on the decoded data of the currently played video can be realized, the accuracy of adjusting the currently played video quality can be improved, and the adjusted played video quality meets the requirements of the user.
Fig. 3 is a flowchart illustrating a method of playing a video according to a second exemplary embodiment. The method for playing the video according to the embodiment can be used in a terminal device (e.g., a smart phone, a tablet computer, or a notebook computer). As shown in fig. 3, the method comprises the following steps S301-S104:
in step S301, in response to detecting the interactive operation of the user, an adjustment instruction for adjusting the quality of the currently played video is generated.
In step S302, in response to the adjustment instruction, a quality adjustment reference parameter is obtained based on the decoded data of the currently played video.
For the explanation and explanation of steps S301 to S302, reference may be made to the above embodiments, which are not described herein again.
In step S303, according to the quality adjustment reference parameter, the unplayed decoded data of the currently played video is adjusted to obtain the adjusted unplayed video information.
In this embodiment, after the quality adjustment reference parameter is obtained based on the decoded data of the currently played video in response to the adjustment instruction, the unplayed decoded data of the currently played video may be adjusted according to the quality adjustment reference parameter, so as to obtain the adjusted unplayed video information.
For example, after detecting that the adjustment instruction is generated, the terminal device may determine, based on the current video playing progress, the unplayed decoded data of the currently playing video, and may further adjust, according to the quality adjustment reference parameter, the unplayed decoded data of the currently playing video to obtain the adjusted unplayed video information.
For the above determination method of the current video playing progress, reference may be made to explanations and descriptions in the prior art, which is not limited in this embodiment.
In step S304, the adjusted unplayed video information is rendered and played.
In this embodiment, when the unplayed decoded data of the currently played video is adjusted to obtain the adjusted unplayed video information, the adjusted unplayed video information can be rendered and played.
It should be noted that, the above-mentioned manner for rendering and playing the adjusted unplayed video information may refer to the explanation and description in the prior art, and this embodiment does not limit this.
It can be understood that, since only the unplayed decoded data of the currently played video is adjusted, the time for adjusting the decoded data can be shortened, and the adjustment rate can be increased.
As can be seen from the above description, in this embodiment, the unplayed decoded data of the currently played video is adjusted according to the quality adjustment reference parameter to obtain the adjusted unplayed video information, and the adjusted unplayed video information is rendered and played.
Fig. 4 is a flowchart illustrating a method of playing a video according to a third exemplary embodiment. The method for playing the video according to the embodiment can be used in a terminal device (e.g., a smart phone, a tablet computer, or a notebook computer). As shown in fig. 4, the method includes the following steps S401 to S404:
in step S401, in response to detecting the interactive operation of the user, an adjustment instruction for adjusting the quality of the currently played video is generated.
In step S402, in response to the adjustment instruction, a quality adjustment reference parameter is acquired based on the decoded data of the currently played video.
For the explanation and description of steps S401 to S402, reference may be made to the above embodiments, which are not described herein again.
In step S403, all decoded data of the currently played video are adjusted according to the quality adjustment reference parameter, so as to obtain all adjusted video information.
In this embodiment, after the quality adjustment reference parameter is obtained based on the decoded data of the currently played video in response to the adjustment instruction, all decoded data of the currently played video may be adjusted according to the quality adjustment reference parameter, so as to obtain all adjusted video information.
For example, after detecting that the adjustment instruction is generated, the terminal device may determine all decoded data of the currently played video based on the current video playing progress, and may further adjust all decoded data of the currently played video according to the quality adjustment reference parameter, so as to obtain all adjusted video information.
For the above determination method of the current video playing progress, reference may be made to explanations and descriptions in the prior art, which is not limited in this embodiment.
In step S404, rendering and playing all the adjusted video information.
In this embodiment, after all the decoded data of the currently played video is adjusted to obtain all the adjusted video information, all the adjusted video information may be rendered and played.
It should be noted that, the above-mentioned manner for rendering and playing the adjusted entire video information may refer to explanation and description in the prior art, which is not limited in this embodiment.
It can be understood that, since all the decoded data of the currently played video is adjusted, when the user plays the current video again, rendering and playing are directly performed based on all the adjusted video information without adjusting the decoded data again.
As can be seen from the above description, in this embodiment, all the decoded data of the currently played video is adjusted according to the quality adjustment reference parameter, so as to obtain all the adjusted video information, and all the adjusted video information is rendered and played.
Fig. 5 is a flowchart illustrating a method of playing a video according to a fourth exemplary embodiment. The method for playing the video according to the embodiment can be used in a terminal device (e.g., a smart phone, a tablet computer, or a notebook computer). In this embodiment, the quality adjustment reference parameter includes a sharpening parameter for performing sharpening processing. As shown in fig. 5, the method comprises the following steps S501-S505:
in step S501, in response to detecting the interactive operation of the user, an adjustment instruction for adjusting the quality of the currently played video is generated.
In step S502, in response to the adjustment instruction, a low-pass filtering parameter for performing low-pass filtering processing on video information to be encoded in the process of generating encoded data of the currently played video is obtained.
In this embodiment, after the terminal device generates the adjustment instruction for adjusting the quality of the currently played video, the terminal device may respond to the adjustment instruction to obtain the low-pass filtering parameter for performing the low-pass filtering processing on the video information to be encoded in the process of generating the encoded data of the currently played video.
For example, in order to achieve smaller compression of video information and to minimize the influence on the quality of the video information to be subsequently viewed and decoded, a server (e.g., a server or a server cluster composed of multiple servers) for video compression may encode the video information to be encoded in a manner of "low-pass filtering before encoding" to generate encoded data of the currently playing video, and may store parameters (i.e., low-pass filtering parameters) for low-pass filtering the video information to be encoded. On the basis, the server can transmit the encoded data obtained by encoding and the low-pass filtering parameter to the terminal device.
In step S503, the sharpening parameter for sharpening is determined based on the low-pass filtering parameter.
In this embodiment, after the low-pass filtering parameter for performing the low-pass filtering processing on the video information to be encoded is obtained, the sharpening parameter for performing the sharpening processing, that is, the quality adjustment reference parameter for adjusting the quality of the currently played video, may be determined based on the low-pass filtering parameter.
In an embodiment, the relationship between the low-pass filtering parameter and the sharpening parameter may be explained and illustrated in the prior art, which is not limited in this embodiment.
It can be understood that, since the relationship between the low-pass filtering parameter and the sharpening parameter is the above relationship, by adjusting the low-pass filtering parameter and the sharpening parameter, it is possible to achieve both ensuring of the viewing quality of the video information for playing and compressing the video information after the low-pass filtering processing to be sufficiently small.
In step S504, the decoded data of the currently played video is sharpened based on the sharpening parameter, so as to obtain adjusted video information.
In an embodiment, after the sharpening parameter for performing the sharpening process is determined based on the low-pass filtering parameter, the sharpening process may be performed on the decoded data of the currently played video based on the sharpening parameter, so as to obtain the adjusted video information.
In an embodiment, the manner of performing sharpening processing on the decompressed video information based on the sharpening parameter may refer to explanation and description in the prior art, which is not limited in this embodiment.
In another embodiment, the sharpening process may further include decoding the currently playing videoLow-pass filtering, subtracting the original decoded data to obtain residual error, weighting the residual error, and adding the weighted residual error back to the original decoded data. In particular, assuming the original input video is I, the low pass filter function is flow-passAnd the weighting coefficient is α, the sharpened image can be represented by the following formula (1):
Isharp=I+α(I-flow-pass(I)) (1)
the above-mentioned encoding method for the video information after the low-pass filtering process may adopt an encoding method in the prior art, such as MPEG-4, h.264, and h.265, which is not limited in this embodiment.
In step S505, the adjusted video information is rendered and played.
For the explanation and explanation of steps S501 and S505, reference may be made to the above embodiments, which are not described herein.
As can be seen from the above description, in this embodiment, by obtaining the low-pass filtering parameter used for performing the low-pass filtering processing on the video information to be encoded in the process of generating the encoded data of the currently played video, and determining the sharpening parameter used for performing the sharpening processing based on the low-pass filtering parameter, it is possible to determine the quality adjustment reference parameter used for adjusting the quality of the currently played video based on the low-pass filtering parameter used in the process of generating the encoded data of the currently played video, and then perform the sharpening processing on the decoded data of the currently played video based on the sharpening parameter, so as to obtain the video information after the quality adjustment, so that the accuracy of adjusting the quality of the currently played video can be improved, and the requirement of the user on.
Fig. 6 is a flowchart illustrating a method of playing a video according to a fifth exemplary embodiment. In this embodiment, the quality adjustment reference parameter includes a contrast improvement parameter for performing contrast improvement processing. As shown in fig. 6, the method includes the following steps S601-S605:
in step S601, in response to detecting the interactive operation of the user, an adjustment instruction for adjusting the quality of the currently played video is generated.
In step S602, in response to the adjustment instruction, a contrast reduction parameter for performing contrast reduction processing on video information to be encoded in the process of generating encoded data of the currently played video is obtained.
In this embodiment, after the terminal device generates the adjustment instruction for adjusting the quality of the currently played video, the terminal device may respond to the adjustment instruction to obtain the contrast reduction parameter for performing the contrast reduction processing on the video information to be encoded in the process of generating the encoded data of the currently played video.
For example, to achieve a smaller compression of video information and to minimize the impact on the quality of the subsequently viewed and decoded video information, the server for video compression (e.g., a server or a server cluster comprising multiple servers) may encode the video information to be encoded in a manner of "reduce contrast processing before encoding" to generate encoded data of the currently playing video, and may store a parameter for reducing the contrast of the video information to be encoded (i.e., a reduced contrast parameter)1And storing the video data in a preset position (e.g., in a coded stream), so as to obtain the contrast reduction parameter from the preset position after obtaining the compressed video information. It can be understood that storing the contrast-reducing parameter in the encoded code stream corresponding to the compressed video information facilitates fast and accurate acquisition of the contrast-reducing parameter, and further improves the efficiency of subsequently determining and improving the contrast parameter based on the contrast-reducing parameter.
In an embodiment, the manner of the contrast reduction processing may be set by a developer according to actual needs, such as reducing the contrast by using a function of the following formula (2), and the embodiment is not limited thereto.
fpre(x)=clamp((x-0.5)*α1+0.5,0.0,1.0) (2)
Wherein the input pixel value is assumed to beIn the range of [0.0, 1.0]In between, the function clamp (X, A, B) indicates that the value of input X greater than B is set as B and the value less than A is set as A, α1The contrast parameter is reduced in an adjustable way.
In this embodiment, the above-mentioned encoding method for the video information after the contrast reduction processing may be an encoding method in the prior art, such as MPEG-4, h.264, and h.265, which is not limited in this embodiment.
In step S603, the contrast-improving parameter for performing the contrast-improving process is determined based on the contrast-reducing parameter.
In this embodiment, when the contrast reduction parameter α for performing the contrast reduction process is acquired1Thereafter, an enhanced contrast parameter α for performing enhanced contrast processing may be determined based on the relationship between the reduced contrast parameter and the enhanced contrast parameter2
For example, the reduced contrast parameter α1And improved contrast parameter α2The relationship therebetween can be seen from the relationship shown in the following formula (4):
Figure BDA0002222789470000131
it can be understood that, because the above-mentioned contrast reduction parameter and contrast improvement parameter have the above-mentioned relationship, by adjusting the contrast reduction parameter and the contrast improvement parameter, it is possible to achieve both ensuring the quality of video for playing and reducing the number of bits after video coding.
In step S604, the contrast-improving processing is performed on the decoded data of the currently played video based on the contrast-improving parameter, so as to obtain adjusted video information.
In an embodiment, the manner of the above-mentioned contrast improvement processing may also be set by a developer according to actual needs, for example, the contrast is improved by using a function of the following formula (3), and the embodiment does not limit this.
fpost(x)=clamp((x-0.5)*α2+0.5,0.0,1.0) (3)
Wherein the function clamp (X, A, B) indicates that the value of input X greater than B is set as B, and the value less than A is set as A, α2The contrast parameter is improved in a way that the contrast parameter can be adjusted.
In step S605, the adjusted video information is rendered and played.
For the explanation and description of steps S601 and S605, reference may be made to the above embodiments, which are not repeated herein.
As can be seen from the above description, in this embodiment, by obtaining the contrast reduction parameter used for performing the contrast reduction processing on the video information to be encoded in the process of generating the encoded data of the currently played video, and determining the contrast improvement parameter used for performing the contrast improvement processing based on the contrast reduction parameter, it is possible to determine the quality adjustment reference parameter used for adjusting the quality of the currently played video based on the contrast reduction parameter adopted in the process of encoding the video, and then perform the contrast improvement processing on the decoded data of the currently played video based on the determined contrast improvement parameter, to obtain the video information after the quality adjustment, and it is possible to improve the accuracy of adjusting the quality of the currently played video, and meet the requirement of the user on the high video playing quality.
Fig. 7 is a block diagram illustrating an apparatus for playing a video according to an example embodiment. The device for playing the video according to the embodiment can be used in a terminal device (e.g., a smart phone, a tablet computer, or a notebook computer). As shown, the apparatus comprises: an adjustment instruction generating module 110, a reference parameter obtaining module 120, a decoding data adjusting module 130, and a video rendering and playing module 140, wherein:
an adjustment instruction generating module 110 configured to execute, in response to detecting the interaction operation of the user, generating an adjustment instruction for adjusting the quality of the currently played video;
a reference parameter obtaining module 120 configured to perform, in response to the adjustment instruction, obtaining a quality adjustment reference parameter based on the decoded data of the currently played video;
a decoded data adjusting module 130, configured to perform adjustment on the decoded data of the currently played video according to the quality adjustment reference parameter, so as to obtain adjusted video information;
and a video rendering and playing module 140 configured to perform rendering and playing of the adjusted video information.
The present disclosure generates an adjustment instruction for adjusting the quality of a currently played video by responding to the detection of the interactive operation of the user, and in response to the adjustment instruction, acquiring a quality adjustment reference parameter based on the decoded data of the currently played video, and then adjusting the reference parameter according to the quality, adjusting the decoded data of the currently played video to obtain adjusted video information, and further rendering and playing the adjusted video information, because the adjustment instruction for adjusting the quality of the currently played video is generated and the decoded data of the currently played video is adjusted in response to the detection of the interaction operation of the user, the dynamic adjustment of the quality of the currently played video based on the interaction operation of the user can be realized, the method can enrich the form of adjusting the video playing quality and meet the requirement of users on high video playing quality.
Fig. 8 is a block diagram illustrating an apparatus for playing a video according to still another exemplary embodiment. The device for playing the video according to the embodiment can be used in a terminal device (e.g., a smart phone, a tablet computer, or a notebook computer). The adjusting instruction generating module 210, the reference parameter acquiring module 220, the decoding data adjusting module 230, and the video rendering and playing module 240 have the same functions as the adjusting instruction generating module 110, the reference parameter acquiring module 120, the decoding data adjusting module 130, and the video rendering and playing module 140 in the embodiment shown in fig. 7, and are not repeated here.
As shown in fig. 8, the reference parameter acquiring module 220 may include:
a sharpness parameter detection unit 221 configured to perform detecting sharpness-related parameters of decoded data of the currently played video in response to the adjustment instruction;
a reference parameter obtaining unit 222 configured to perform obtaining a quality adjustment reference parameter based on the sharpness related parameter.
In an embodiment, the decoded data adjusting module 230 is further configured to perform, according to the quality adjustment reference parameter, adjusting the unplayed decoded data of the currently played video to obtain adjusted unplayed video information;
the video rendering and playing module 240 may be further configured to perform rendering and playing of the adjusted unplayed video information.
In an embodiment, the decoded data adjusting module 230 may be further configured to perform adjusting all decoded data of the currently played video according to the quality adjustment reference parameter, so as to obtain all adjusted video information;
the video rendering and playing module 240 may be further configured to perform rendering and playing of unplayed video information in the adjusted total video information.
In an embodiment, in a case that the quality adjustment reference parameter includes a sharpening parameter for performing a sharpening process, the reference parameter obtaining module 220 may include:
a filtering parameter obtaining unit 223 configured to perform obtaining of a low-pass filtering parameter used for performing low-pass filtering processing on video information to be encoded in the process of generating encoded data of the currently played video;
a sharpening parameter determining unit 224 configured to perform determining the sharpening parameter for the sharpening process based on the low-pass filtering parameter;
on this basis, the decoding data adjusting module 230 may include:
and a sharpening processing unit 231 configured to perform sharpening processing on the decoded data of the currently played video based on the sharpening parameter, so as to obtain adjusted video information.
In another embodiment, in the case that the quality adjustment reference parameter includes a contrast improvement parameter for performing contrast improvement processing, the reference parameter obtaining module 220 may include:
a low parameter obtaining unit 225 configured to perform obtaining a contrast reduction parameter for performing contrast reduction processing on video information to be encoded in a process of generating encoded data of the currently played video;
a high parameter obtaining unit 226 configured to perform determining the contrast-improving parameter for performing contrast-improving processing based on the contrast-reducing parameter;
on this basis, the decoding data adjusting module 230 may include:
a contrast-improving unit 232 configured to perform contrast-improving processing on the decoded data of the currently played video based on the contrast-improving parameter, so as to obtain adjusted video information.
With regard to the apparatus in the above-described embodiment, the specific manner in which each module performs the operation has been described in detail in the embodiment related to the method, and will not be elaborated here.
It should be noted that, all the above-mentioned optional technical solutions may be combined arbitrarily to form the optional embodiments of the present disclosure, and are not described in detail herein.
The embodiment of the device for playing the video can be applied to network equipment. The device embodiments may be implemented by software, or by hardware, or by a combination of hardware and software. Taking a software implementation as an example, as a device in a logical sense, the device is formed by reading, by a processor of a device in which the device is located, a corresponding computer program instruction in a nonvolatile memory into an internal memory for running, where the computer program is used to execute the method for playing a video provided in the embodiment shown in fig. 1A to 6. From a hardware level, as shown in fig. 9, which is a hardware structure diagram of the device for playing video according to the present invention, besides the processor, the network interface, the memory and the nonvolatile memory shown in fig. 9, the device may also include other hardware, such as a forwarding chip responsible for processing packets, etc.; the device may also be a distributed device in terms of hardware structure, and may include multiple interface cards to facilitate expansion of message processing at the hardware level.
On the other hand, the present application also provides a computer-readable storage medium, when a computer program stored in the storage medium is executed by a processor of an electronic device playing a video, the electronic device playing the video is enabled to execute the method for playing the video provided by the embodiment shown in fig. 1A to 6.
On the other hand, the present application also provides a computer program product, which, when executed by a processor of an electronic device playing a video, enables the electronic device playing the video to execute the method for playing the video provided in the embodiments shown in fig. 1A to 6.
For the device embodiments, since they substantially correspond to the method embodiments, reference may be made to the partial description of the method embodiments for relevant points. The above-described embodiments of the apparatus are merely illustrative, and the units described as separate parts may or may not be physically separate, and parts displayed as units may or may not be physical units, may be located in one place, or may be distributed on a plurality of network units. Some or all of the modules can be selected according to actual needs to achieve the purpose of the scheme of the application. One of ordinary skill in the art can understand and implement it without inventive effort.
Other embodiments of the disclosure will be apparent to those skilled in the art from consideration of the specification and practice of the disclosure disclosed herein. This application is intended to cover any variations, uses, or adaptations of the disclosure following, in general, the principles of the disclosure and including such departures from the present disclosure as come within known or customary practice within the art to which the disclosure pertains. It is intended that the specification and examples be considered as exemplary only, with a true scope and spirit of the disclosure being indicated by the following claims.
It will be understood that the present disclosure is not limited to the precise arrangements described above and shown in the drawings and that various modifications and changes may be made without departing from the scope thereof. The scope of the present disclosure is limited only by the appended claims.

Claims (12)

1. A method of playing a video, comprising:
generating an adjusting instruction for adjusting the quality of the currently played video in response to the detection of the interactive operation of the user;
in response to the adjustment instruction, acquiring a quality adjustment reference parameter based on the decoded data of the currently played video;
adjusting the decoded data of the currently played video according to the quality adjustment reference parameter to obtain adjusted video information;
rendering and playing the adjusted video information;
in the case where the quality adjustment reference parameter includes a sharpening parameter for sharpening, the step of obtaining, in response to the adjustment instruction, a quality adjustment reference parameter based on the decoded data of the currently playing video includes:
acquiring a low-pass filtering parameter used for performing low-pass filtering processing on video information to be coded in the process of generating coding data of the currently played video;
determining the sharpening parameter for sharpening processing based on the low-pass filtering parameter;
adjusting the decoded data of the currently played video according to the quality adjustment reference parameter to obtain adjusted video information, including:
and carrying out sharpening processing on the decoded data of the currently played video based on the sharpening parameters to obtain adjusted video information.
2. The method of claim 1, wherein the step of obtaining the quality adjustment reference parameter based on the decoded data of the currently played video in response to the adjustment instruction comprises:
detecting a definition-related parameter of decoded data of the currently played video in response to the adjustment instruction;
and acquiring a quality adjustment reference parameter based on the definition related parameter.
3. The method for playing video according to claim 1, wherein the step of adjusting the decoded data of the currently played video according to the quality adjustment reference parameter to obtain the adjusted video information comprises:
according to the quality adjustment reference parameter, adjusting the unplayed decoded data of the currently played video to obtain adjusted unplayed video information;
the step of rendering and playing the adjusted video information comprises:
and rendering and playing the adjusted video information which is not played.
4. The method for playing video according to claim 1, wherein the step of adjusting the decoded data of the currently played video according to the quality adjustment reference parameter to obtain the adjusted video information comprises:
adjusting all decoding data of the currently played video according to the quality adjustment reference parameter to obtain all adjusted video information;
the step of rendering and playing the adjusted video information comprises:
and rendering and playing the video information which is not played in all the adjusted video information.
5. The method of claim 1, wherein in the case that the quality adjustment reference parameter further includes a contrast improvement parameter for performing contrast improvement processing, the step of obtaining the quality adjustment reference parameter based on the decoded data of the currently played video in response to the adjustment instruction further includes:
acquiring a contrast reduction parameter used for carrying out contrast reduction processing on video information to be coded in the process of generating the coded data of the current playing video;
determining the contrast-improving parameter for performing contrast-improving processing based on the contrast-reducing parameter;
adjusting the decoded data of the currently played video according to the quality adjustment reference parameter to obtain adjusted video information, including:
and performing contrast improvement processing on the decoded data of the currently played video based on the contrast improvement parameter to obtain adjusted video information.
6. An apparatus for playing video, comprising:
the adjustment instruction generation module is configured to execute interactive operation responding to the detected user and generate an adjustment instruction for adjusting the quality of the currently played video;
a reference parameter obtaining module configured to perform obtaining a quality adjustment reference parameter based on the decoded data of the currently played video in response to the adjustment instruction;
the decoding data adjusting module is configured to adjust the decoding data of the currently played video according to the quality adjustment reference parameter to obtain adjusted video information;
the video rendering and playing module is configured to render and play the adjusted video information;
in a case where the quality adjustment reference parameter includes a sharpening parameter for performing a sharpening process, the reference parameter acquiring module includes:
a filtering parameter acquiring unit configured to perform acquisition of a low-pass filtering parameter for performing low-pass filtering processing on video information to be encoded in a process of generating encoded data of the currently played video;
a sharpening parameter determination unit configured to perform determination of the sharpening parameter for the sharpening process based on the low-pass filtering parameter;
the decoding data adjusting module comprises:
and the sharpening processing unit is configured to execute sharpening processing on the decoded data of the currently played video based on the sharpening parameter to obtain adjusted video information.
7. The apparatus for playing video according to claim 6, wherein the reference parameter obtaining module comprises:
a definition parameter detection unit configured to perform detecting a definition-related parameter of decoded data of the currently played video in response to the adjustment instruction;
a reference parameter acquisition unit configured to perform acquisition of a quality adjustment reference parameter based on the sharpness related parameter.
8. The apparatus for playing video according to claim 6, wherein the decoded data adjusting module is further configured to perform adjusting the un-played decoded data of the currently playing video according to the quality adjustment reference parameter, so as to obtain adjusted un-played video information;
the video rendering and playing module is further configured to perform rendering and playing of the adjusted unplayed video information.
9. The apparatus for playing video according to claim 6, wherein the decoded data adjusting module is further configured to perform adjusting on all decoded data of the currently playing video according to the quality adjustment reference parameter, so as to obtain all adjusted video information;
the video rendering and playing module is further configured to render and play the unplayed video information in the adjusted all video information.
10. The apparatus for playing back video according to claim 6, wherein in the case that the quality adjustment reference parameter further includes a contrast improvement parameter for performing contrast improvement processing, the reference parameter obtaining module further includes:
a low parameter acquiring unit configured to execute acquiring a contrast reduction parameter for performing contrast reduction processing on video information to be encoded in a process of generating encoded data of the currently played video;
a high parameter acquisition unit configured to perform determining the contrast-improving parameter for performing contrast-improving processing based on the contrast-reducing parameter;
the decoding data adjusting module comprises:
and the contrast improving unit is configured to perform contrast improving processing on the decoded data of the currently played video based on the contrast improving parameter to obtain the adjusted video information.
11. An electronic device for playing video, comprising:
a processor;
a memory for storing the processor-executable instructions;
wherein the processor is configured to execute the instructions to implement the method of playing video of any of claims 1 to 5.
12. A storage medium having instructions that, when executed by a processor of an electronic device that plays video, enable the electronic device that plays video to perform the method of playing video of any one of claims 1 to 5.
CN201910940687.XA 2019-09-30 2019-09-30 Method, device and equipment for playing video and storage medium Active CN110677728B (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN201910940687.XA CN110677728B (en) 2019-09-30 2019-09-30 Method, device and equipment for playing video and storage medium

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN201910940687.XA CN110677728B (en) 2019-09-30 2019-09-30 Method, device and equipment for playing video and storage medium

Publications (2)

Publication Number Publication Date
CN110677728A CN110677728A (en) 2020-01-10
CN110677728B true CN110677728B (en) 2020-09-22

Family

ID=69080621

Family Applications (1)

Application Number Title Priority Date Filing Date
CN201910940687.XA Active CN110677728B (en) 2019-09-30 2019-09-30 Method, device and equipment for playing video and storage medium

Country Status (1)

Country Link
CN (1) CN110677728B (en)

Families Citing this family (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN113301355B (en) * 2020-07-01 2023-04-28 阿里巴巴集团控股有限公司 Video transmission, live broadcast and playing method, equipment and storage medium

Citations (2)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN109168065A (en) * 2018-10-15 2019-01-08 Oppo广东移动通信有限公司 Video enhancement method, device, electronic equipment and storage medium
CN109525901A (en) * 2018-11-27 2019-03-26 Oppo广东移动通信有限公司 Method for processing video frequency, device, electronic equipment and computer-readable medium

Family Cites Families (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
US11170467B2 (en) * 2017-09-05 2021-11-09 Dish Network L.L.C. Systems and methods for graphics adjustment based on output resolution

Patent Citations (2)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN109168065A (en) * 2018-10-15 2019-01-08 Oppo广东移动通信有限公司 Video enhancement method, device, electronic equipment and storage medium
CN109525901A (en) * 2018-11-27 2019-03-26 Oppo广东移动通信有限公司 Method for processing video frequency, device, electronic equipment and computer-readable medium

Also Published As

Publication number Publication date
CN110677728A (en) 2020-01-10

Similar Documents

Publication Publication Date Title
CN105306963B (en) The processing system for video of adaptive mobile terminal resolution ratio, device and method
CN112087633B (en) Video decoding method, device and storage medium
US20150156557A1 (en) Display apparatus, method of displaying image thereof, and computer-readable recording medium
CN114501062B (en) Video rendering coordination method, device, equipment and storage medium
CN110463206B (en) Image filtering method, device and computer readable medium
CN109688465B (en) Video enhancement control method and device and electronic equipment
US20170171547A1 (en) Method for controlling data rate of motion video and electronic apparatus
US11985358B2 (en) Artifact removal method and apparatus based on machine learning, and method and apparatus for training artifact removal model based on machine learning
CN110740316A (en) Data coding method and device
US11412311B2 (en) Methods and systems for saving data while streaming video
CN108307248B (en) Video broadcasting method, calculates equipment and storage medium at device
CN110677728B (en) Method, device and equipment for playing video and storage medium
US20240098316A1 (en) Video encoding method and apparatus, real-time communication method and apparatus, device, and storage medium
CN110572713B (en) Transcoding method and processing terminal for adaptive video bandwidth ratio
CN109120979B (en) Video enhancement control method and device and electronic equipment
US10764578B2 (en) Bit rate optimization system and method
CN114051144A (en) Video compression method and device, computer equipment and storage medium
EP2874398B1 (en) Method of embedding of an image with a color transform
CN104185005A (en) Image processing apparatus and image processing method
CN116095355B (en) Video display control method and device, equipment, medium and product thereof
CN113038124B (en) Video encoding method, video encoding device, storage medium and electronic equipment
CN112738571B (en) Method and device for determining streaming media parameters
CN117714712B (en) Data steganography method, equipment and storage medium for video conference
CN113507643B (en) Video processing method, device, terminal and storage medium
CN117998088A (en) Method, apparatus, device and storage medium for video quality assessment

Legal Events

Date Code Title Description
PB01 Publication
PB01 Publication
SE01 Entry into force of request for substantive examination
SE01 Entry into force of request for substantive examination
GR01 Patent grant
GR01 Patent grant