CN105163195A - Real-time video coding method and electronic equipment - Google Patents
Real-time video coding method and electronic equipment Download PDFInfo
- Publication number
- CN105163195A CN105163195A CN201510346076.4A CN201510346076A CN105163195A CN 105163195 A CN105163195 A CN 105163195A CN 201510346076 A CN201510346076 A CN 201510346076A CN 105163195 A CN105163195 A CN 105163195A
- Authority
- CN
- China
- Prior art keywords
- user
- instant video
- video frame
- shape
- input
- 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.)
- Pending
Links
- 238000000034 method Methods 0.000 title claims abstract description 151
- 238000013139 quantization Methods 0.000 claims abstract description 67
- 238000012545 processing Methods 0.000 claims description 10
- 230000008569 process Effects 0.000 abstract description 60
- 230000003993 interaction Effects 0.000 description 78
- 230000014759 maintenance of location Effects 0.000 description 68
- 230000005540 biological transmission Effects 0.000 description 31
- 230000000694 effects Effects 0.000 description 20
- 230000002452 interceptive effect Effects 0.000 description 8
- 238000010586 diagram Methods 0.000 description 4
- 230000006870 function Effects 0.000 description 4
- 210000004709 eyebrow Anatomy 0.000 description 2
- 238000012546 transfer Methods 0.000 description 2
- 230000001960 triggered effect Effects 0.000 description 2
- 238000004891 communication Methods 0.000 description 1
- 238000005516 engineering process Methods 0.000 description 1
- 238000012986 modification Methods 0.000 description 1
- 230000004048 modification Effects 0.000 description 1
- 230000003287 optical effect Effects 0.000 description 1
- 238000011895 specific detection Methods 0.000 description 1
Classifications
-
- H—ELECTRICITY
- H04—ELECTRIC COMMUNICATION TECHNIQUE
- H04N—PICTORIAL COMMUNICATION, e.g. TELEVISION
- H04N21/00—Selective content distribution, e.g. interactive television or video on demand [VOD]
- H04N21/40—Client devices specifically adapted for the reception of or interaction with content, e.g. set-top-box [STB]; Operations thereof
- H04N21/47—End-user applications
- H04N21/478—Supplemental services, e.g. displaying phone caller identification, shopping application
- H04N21/4788—Supplemental services, e.g. displaying phone caller identification, shopping application communicating with other users, e.g. chatting
-
- H—ELECTRICITY
- H04—ELECTRIC COMMUNICATION TECHNIQUE
- H04N—PICTORIAL COMMUNICATION, e.g. TELEVISION
- H04N21/00—Selective content distribution, e.g. interactive television or video on demand [VOD]
- H04N21/40—Client devices specifically adapted for the reception of or interaction with content, e.g. set-top-box [STB]; Operations thereof
- H04N21/41—Structure of client; Structure of client peripherals
- H04N21/422—Input-only peripherals, i.e. input devices connected to specially adapted client devices, e.g. global positioning system [GPS]
- H04N21/42204—User interfaces specially adapted for controlling a client device through a remote control device; Remote control devices therefor
Landscapes
- Engineering & Computer Science (AREA)
- Multimedia (AREA)
- Signal Processing (AREA)
- General Engineering & Computer Science (AREA)
- Human Computer Interaction (AREA)
- Compression Or Coding Systems Of Tv Signals (AREA)
Abstract
The invention discloses a real-time video coding method and electronic equipment, and belongs to the field of video. The real-time video coding method comprises the steps of acquiring the shape of user input; determining an area indicated by the shape of the user input in a current real-time video frame; coding at least one macro-block according to quantization parameters corresponding to the at least one macro-block forming the current real-time video frame containing the area indicated by the shape of the user input if the network bandwidth meets a preset condition, and generating a coded current real-time video frame; and sending the coded current real-time video frame. According to the invention, coding is carried out on the at least one macro-block according to the quantization parameters corresponding to the at least one macro-block forming the current real-time video frame containing the area indicated by the shape of the user input, the coded current real-time video frame is generated, diversified requirements of users in the real-time video process are met, and the user experience is improved.
Description
Technical Field
The present invention relates to the field of video, and in particular, to a method for encoding an instant video and an electronic device.
Background
With the popularization of mobile devices and instant video communication technologies, more and more users choose to utilize the mobile devices to realize instant video interaction, and in an instant video interaction scene, the attention of the users to a certain area in an instant video is possibly higher than that of other areas; or, the user's requirements for the clarity and detail retention amount of a certain area may be greater than those of other areas; or, the problem that other participants of the user who wish to perform the instant video interaction migrate the attention to the area designated by the user occurs, so that there is a need to provide an encoding method of the instant video, which meets the diversified requirements that the attention of the user to a certain area in the instant video is greater than that of other areas, the requirements of the user on the definition and the detail retention amount of the certain area are greater than that of other areas, and the other participants of the user who wish to perform the instant video interaction migrate the attention to the area designated by the user.
Because the prior art does not provide the coding method of the instant video, the user can not meet the diversified requirements of the user in the process of the instant video, and the user experience is reduced.
Disclosure of Invention
The invention discloses an encoding method of an instant video and electronic equipment, aiming at meeting the diversified requirements of users in the process of the instant video and improving the user experience. The technical scheme is as follows:
in a first aspect, a method for encoding an instant video is provided, the method including:
acquiring a shape input by a user;
determining a region in a current instant video frame indicated by the shape;
if the network bandwidth meets a preset condition, coding at least one macro block according to a quantization parameter corresponding to the at least one macro block forming the current instant video frame including the region indicated by the shape to generate a coded instant video frame;
and sending the coded instant video frame.
With reference to the first aspect, in a first possible implementation manner, the obtaining a shape of the user input includes:
acquiring a curve input by the user, wherein a part of the curve included in the curve is a closed curve, and determining that the shape indicated by the closed curve is the shape input by the user;
and acquiring the position parameters input by the user, wherein the position parameters comprise any one of coordinate parameters and characteristic parameters.
With reference to the first possible implementation manner of the first aspect, in a second possible implementation manner, the region indicated by the shape is determined in the current instant video frame by any one of the following operations:
the position parameters comprise coordinate parameters, and the area indicated by the shape is determined in the current instant video frame according to the coordinate parameters; or,
the location parameters include feature parameters, details indicated by the feature parameters are identified in the current instant video frame;
determining, in accordance with the details, an area indicated by the shape in the current instant video frame.
With reference to the second possible implementation manner of the first aspect, in a third possible implementation manner, the encoding at least one macroblock of the current instant video frame according to a quantization parameter corresponding to the at least one macroblock, where the macroblock constitutes an area that includes the area indicated by the shape, and generating the encoded instant video frame includes:
dividing the processed current instant video frame into at least one macro block;
setting a quantization parameter of a macroblock comprising all or part of the area indicated by the shape to a first value;
setting a quantization parameter of a macroblock that does not include the area indicated by all or part of the shape to a second value;
and coding the at least one macro block according to the first numerical value and the second numerical value to generate a coded instant video frame.
With reference to the first aspect to any one of the third possible implementation manners of the first aspect, in a fourth possible implementation manner, the method further includes:
transmitting the shape of the user input.
In a second aspect, a method for displaying an instant video is provided, the method comprising:
acquiring an encoded instant video frame;
displaying the encoded instant video frame;
and after the shape input by the user is obtained and the network bandwidth meets a preset condition, the coded instant video frame is generated by coding at least one macro block according to the quantization parameter corresponding to the at least one macro block forming the current instant video frame comprising the area indicated by the shape.
With reference to the second aspect, in a first possible implementation manner, the method further includes:
acquiring a shape input by a user;
displaying a shape of the user input.
With reference to the first possible implementation manner of the second aspect, in a second possible implementation manner,
acquiring a position parameter input by the user, wherein the position parameter comprises any one of a coordinate parameter and a characteristic parameter;
displaying the processed current instant video frame by any one of:
the position parameters comprise the coordinate parameters, and the processed current instant video frame is displayed according to the coordinate parameters; or,
the location parameters comprise the feature parameters, and details indicated by the feature parameters are identified in the processed current instant video frame;
and displaying the processed current instant video frame according to the details.
In a third aspect, an electronic device is provided, which includes:
the acquisition module is used for acquiring the shape input by the user;
a first processing module for determining a region indicated by the shape in a current instant video frame;
a second processing module, configured to, when a network bandwidth meets a preset condition, encode at least one macro block of the current instant video frame, which constitutes an area indicated by the shape, according to a quantization parameter corresponding to the at least one macro block, and generate an encoded instant video frame;
and the sending module is used for sending the coded instant video frame.
With reference to the third aspect, in a first possible implementation manner, the obtaining module is specifically configured to:
acquiring a curve input by the user, wherein a part of the curve included in the curve is a closed curve, and determining that the shape indicated by the closed curve is the shape input by the user;
and acquiring the position parameters input by the user, wherein the position parameters comprise any one of coordinate parameters and characteristic parameters.
With reference to the first possible implementation manner of the third aspect, in a second possible implementation manner, the first processing module is configured to perform any one of the following operations:
the position parameters comprise coordinate parameters, and the area indicated by the shape is determined in the current instant video frame according to the coordinate parameters; or,
the location parameters include feature parameters, details indicated by the feature parameters are identified in the current instant video frame;
determining, in accordance with the details, an area indicated by the shape in the current instant video frame.
With reference to the second possible implementation manner of the third aspect, in a third possible implementation manner, the second processing module is specifically configured to:
dividing the processed current instant video frame into at least one macro block;
setting a quantization parameter of a macroblock comprising all or part of the area indicated by the shape to a first value;
setting a quantization parameter of a macroblock that does not include the area indicated by all or part of the shape to a second value;
and coding the at least one macro block according to the first numerical value and the second numerical value to generate a coded instant video frame.
With reference to any one of the third to the third possible implementation manners of the third aspect, in a fourth possible implementation manner,
the sending module is further configured to send the shape of the user input.
In a fourth aspect, an electronic device is provided, which includes a sending module, a memory, and a processor connected to the sending module and the memory, wherein the memory is used to store a set of program codes, and the processor calls the program codes stored in the memory to perform the following operations:
acquiring a shape input by a user;
determining a region in a current instant video frame indicated by the shape;
if the network bandwidth meets a preset condition, coding at least one macro block according to a quantization parameter corresponding to the at least one macro block forming the current instant video frame including the region indicated by the shape to generate a coded instant video frame;
and controlling the sending module to send the coded instant video frame.
With reference to the fourth aspect, in a first possible implementation manner, the processor calls the program code stored in the memory to perform the following operations:
acquiring a curve input by the user, wherein a part of the curve included in the curve is a closed curve, and determining that the shape indicated by the closed curve is the shape input by the user;
and acquiring the position parameters input by the user, wherein the position parameters comprise any one of coordinate parameters and characteristic parameters.
With reference to the first possible implementation manner of the fourth aspect, in a second possible implementation manner, the processor calls the program code stored in the memory to perform any one of the following operations:
the position parameters comprise coordinate parameters, and the area indicated by the shape is determined in the current instant video frame according to the coordinate parameters; or,
the location parameters include feature parameters, details indicated by the feature parameters are identified in the current instant video frame;
determining, in accordance with the details, an area indicated by the shape in the current instant video frame.
With reference to the second possible implementation manner of the fourth aspect, in a third possible implementation manner, the processor calls the program code stored in the memory to perform the following operations:
dividing the processed current instant video frame into at least one macro block;
setting a quantization parameter of a macroblock comprising all or part of the area indicated by the shape to a first value;
setting a quantization parameter of a macroblock that does not include the area indicated by all or part of the shape to a second value;
and coding the at least one macro block according to the first numerical value and the second numerical value to generate a coded instant video frame.
With reference to any one of the third possible implementation manner of the fourth aspect to the fourth aspect, in a fourth possible implementation manner, the processor calls the program code stored in the memory to perform the following operations:
controlling the sending module to send the shape of the user input.
In a fifth aspect, an electronic device is provided, which includes:
the acquisition module is used for acquiring the coded instant video frame;
the display module is used for displaying the coded instant video frame;
and after the shape input by the user is obtained and the network bandwidth meets a preset condition, the coded instant video frame is generated by coding at least one macro block according to the quantization parameter corresponding to the at least one macro block forming the current instant video frame comprising the area indicated by the shape.
With reference to the fifth aspect, in a first possible implementation manner,
the obtaining module is further used for obtaining the shape input by the user;
the display module is further configured to display a shape of the user input.
With reference to the first possible implementation manner of the fifth aspect, in a second possible implementation manner,
the acquisition module is further used for acquiring the position parameters input by the user, and the position parameters comprise any one of coordinate parameters and characteristic parameters;
the display module is further configured to perform any one of the following operations:
the position parameters comprise the coordinate parameters, and the processed current instant video frame is displayed according to the coordinate parameters; or,
the location parameters comprise the feature parameters, and details indicated by the feature parameters are identified in the processed current instant video frame;
and displaying the processed current instant video frame according to the details.
In a sixth aspect, an electronic device is provided, which includes a display screen, a memory, and a processor connected to the display screen and the memory, wherein the memory is used for storing a set of program codes, and the processor calls the program codes stored in the memory to perform the following operations:
acquiring an encoded instant video frame;
controlling the display screen to display the coded instant video frame;
and after the shape input by the user is obtained and the network bandwidth meets a preset condition, the coded instant video frame is generated by coding at least one macro block according to the quantization parameter corresponding to the at least one macro block forming the current instant video frame comprising the area indicated by the shape.
With reference to the sixth aspect, in a first possible implementation manner, the processor calls the program code stored in the memory to perform the following operations:
acquiring the shape input by the user;
and controlling the display screen to display the shape of the user input.
With reference to the first possible implementation manner of the sixth aspect, in a second possible implementation manner, the processor calls the program code stored in the memory to perform the following operations:
acquiring a position parameter input by the user, wherein the position parameter comprises any one of a coordinate parameter and a characteristic parameter;
controlling the display screen to display the processed current instant video frame by any one of the following operations:
the position parameters comprise the coordinate parameters, and the display screen is controlled to display the processed current instant video frame according to the coordinate parameters; or,
the location parameters comprise the feature parameters, and details indicated by the feature parameters are identified in the processed current instant video frame;
and controlling the display screen to display the processed current instant video frame according to the details.
The invention discloses an instant video coding method and electronic equipment, which comprise the following steps: acquiring a shape input by a user; determining an area in the current instant video frame indicated by the shape of the user input; if the network bandwidth meets the preset condition, coding at least one macro block according to a quantization parameter corresponding to at least one macro block forming the current instant video frame of the area indicated by the shape input by the user, and generating a coded current instant video frame; and sending the coded current instant video frame. At least one macro block is coded according to the quantization parameter corresponding to at least one macro block of the current instant video frame forming the area indicated by the shape input by the user, and the coded current instant video frame is generated, so that the requirements of the user on the definition and detail retention of the selected area larger than those of other areas in the instant video process are met, and the user experience is further improved. In addition, the shape input by the user is obtained, the area shown by the shape is determined, the mode of inputting the area by the user is increased, the interaction mode of the user in the instant video interaction process is increased, the diversified requirements of the user are further met, and the user experience is improved. In addition, by judging whether the network bandwidth meets the preset condition or not, when the network bandwidth is judged to be low, the instant video is processed, the utilization rate of the network bandwidth can be improved, network resources are saved, the transmission efficiency of the instant video is improved, and when the network bandwidth is low, the diversified requirements that the attention of a user to a certain area in the instant video is greater than that of other areas, the requirements of the user to the definition and the detail retention amount of the certain area are greater than that of other areas, and other participants of the user who want instant video interaction migrate the attention to the area appointed by the user can be met, so that the user experience is further improved.
Drawings
In order to more clearly illustrate the technical solutions in the embodiments of the present invention, the drawings needed to be used in the description of the embodiments will be briefly introduced below, and it is obvious that the drawings in the following description are only some embodiments of the present invention, and it is obvious for those skilled in the art to obtain other drawings based on these drawings without creative efforts.
Fig. 1 is a flowchart of an encoding method of instant video according to an embodiment of the present invention;
FIG. 2 is a flow chart of a method for displaying an instant video according to an embodiment of the present invention;
fig. 3 is a flowchart of an encoding method of instant video according to an embodiment of the present invention;
FIG. 4 is a schematic view of an interface provided by an embodiment of the present invention;
FIG. 5 is a schematic view of an interface provided by an embodiment of the present invention;
FIG. 6 is a schematic view of an interface provided by an embodiment of the present invention;
FIG. 7 is a schematic view of an interface provided by an embodiment of the present invention;
FIG. 8 is a flowchart of an instant video display method according to an embodiment of the present invention;
FIG. 9 is a schematic view of an interface provided by an embodiment of the present invention;
fig. 10 is a flowchart of an encoding method of instant video according to an embodiment of the present invention;
FIG. 11 is a schematic view of an interface provided by an embodiment of the present invention;
FIG. 12 is a flow chart of a method for displaying an instant video according to an embodiment of the present invention;
FIG. 13 is a schematic view of an interface provided by an embodiment of the present invention;
fig. 14 is a schematic structural diagram of an electronic device according to an embodiment of the present invention;
fig. 15 is a schematic structural diagram of an electronic device according to an embodiment of the present invention;
fig. 16 is a schematic structural diagram of an electronic device according to an embodiment of the present invention;
fig. 17 is a schematic structural diagram of an electronic device according to an embodiment of the present invention.
Detailed Description
In order to make the objects, technical solutions and advantages of the present invention clearer, the technical solutions in the embodiments of the present invention will be clearly and completely described below with reference to the accompanying drawings in the embodiments of the present invention, and it is obvious that the described embodiments are only a part of the embodiments of the present invention, and not all of the embodiments. All other embodiments, which can be derived by a person skilled in the art from the embodiments given herein without making any creative effort, shall fall within the protection scope of the present invention.
The embodiment of the invention provides an instant video coding method, which is used for an interactive system at least comprising two electronic devices, wherein in the interactive system, the two electronic devices realize the interaction of an instant video by running application programs stored in the electronic devices, each electronic device at least comprises a sending/receiving module, a video input module and a display module with a touch function, each video input module comprises a camera, each display module can comprise a display screen, the electronic devices realize the sending and receiving of the instant video through the sending/receiving modules, realize the input of the instant video through the video input modules, and realize the display of the instant video and acquire instructions triggered by a user through the display modules with the touch functions.
It should be noted that the above-mentioned interactive system is only exemplary, and is provided for further explaining the method provided by the embodiment of the present invention, and not particularly limited, and the embodiment of the present invention does not limit the specific interactive system.
Embodiment one is a method for encoding an instant video according to an embodiment of the present invention, as shown in fig. 1, the method includes:
101. the shape of the user input is obtained.
Specifically, a curve input by a user is obtained, a part of the curve included in the curve is a closed curve, and the shape indicated by the closed curve is determined to be the shape input by the user;
and acquiring position parameters input by a user, wherein the position parameters comprise any one of coordinate parameters and characteristic parameters.
102. The region indicated by the shape is determined in the current instant video frame.
Specifically, the region indicated by the shape is determined in the current live video frame by any one of the following operations:
the position parameters comprise coordinate parameters, and the area indicated by the shape is determined in the current instant video frame according to the coordinate parameters; or,
the position parameters comprise characteristic parameters, and details indicated by the characteristic parameters are identified in the current instant video frame;
from the details, the region indicated by the shape is determined in the current instant video frame.
103. If the network bandwidth meets the preset condition, at least one macro block is coded according to the quantization parameter corresponding to at least one macro block forming the current instant video frame comprising the area indicated by the shape, and the coded instant video frame is generated.
Specifically, dividing the processed current instant video frame into at least one macro block;
setting a quantization parameter of a macroblock including a region indicated by all or part of the shape to a first value;
setting the quantization parameter of the macroblock excluding the area indicated by the full or partial shape to a second value;
and coding at least one macro block according to the first numerical value and the second numerical value to generate a coded instant video frame.
104. And sending the coded instant video frame.
Optionally, the method may further include:
the shape of the user input is sent.
The invention discloses an encoding method of an instant video, which encodes at least one macro block according to a quantization parameter corresponding to at least one macro block of a current instant video frame forming an area indicated by a shape input by a user to generate an encoded current instant video frame, meets the requirement that the definition and detail retention of the selected area by the user in the process of the instant video are larger than those of other areas, and further improves the user experience. In addition, the shape input by the user is obtained, the area shown by the shape is determined, the mode of inputting the area by the user is increased, the interaction mode of the user in the instant video interaction process is increased, the diversified requirements of the user are further met, and the user experience is improved. In addition, by judging whether the network bandwidth meets the preset condition or not, when the network bandwidth is judged to be low, the instant video is processed, the utilization rate of the network bandwidth can be improved, network resources are saved, the transmission efficiency of the instant video is improved, and when the network bandwidth is low, the diversified requirements that the attention of a user to a certain area in the instant video is greater than that of other areas, the requirements of the user to the definition and the detail retention amount of the certain area are greater than that of other areas, and other participants of the user who want instant video interaction migrate the attention to the area appointed by the user can be met, so that the user experience is further improved.
Embodiment two is a method for displaying an instant video according to an embodiment of the present invention, and as shown in fig. 2, the method includes:
201. and acquiring the coded instant video frame.
202. And acquiring position parameters input by a user, wherein the position parameters comprise any one of coordinate parameters and characteristic parameters.
203. Displaying the encoded instant video frame.
Specifically, the processed current instant video frame is displayed by any one of the following operations:
the position parameters comprise coordinate parameters, and the processed current instant video frame is displayed according to the coordinate parameters; or,
the position parameters comprise characteristic parameters, and details indicated by the characteristic parameters are identified in the processed current instant video frame;
and displaying the processed current instant video frame according to the details.
Optionally, the method may further include:
acquiring a shape input by a user;
the shape of the user input is displayed.
In the embodiment of the invention, after the shape input by the user is obtained and the network bandwidth meets the preset condition, the coded instant video frame is generated by coding at least one macro block according to the quantization parameter corresponding to at least one macro block forming the current instant video frame including the area indicated by the shape.
The embodiment of the invention provides a method for displaying an instant video, which is characterized in that at least one macro block is coded according to a quantization parameter corresponding to at least one macro block of a current instant video frame forming a region indicated by a shape input by a user to generate a coded current instant video frame, so that the requirements of the user on the definition and detail retention of the selected region in the instant video process being larger than those of other regions are met, and the user experience is further improved. In addition, by acquiring and displaying the shape input by the user and determining the area indicated by the shape, the mode of inputting the area by the user is increased, the interaction mode of the user in the instant video interaction process is increased, the diversified requirements of the user are further met, and the user experience is improved.
Embodiment three is a method for encoding an instant video according to an embodiment of the present invention, in the embodiment of the present invention, the position parameter includes a coordinate parameter, and as shown in fig. 3, the method includes:
301. and acquiring a curve input by a user, wherein a part of the curve included by the curve is a closed curve.
Specifically, the process of acquiring the curve input by the user in at least one frame of the instant video frame may be:
acquiring a plurality of partial curves input by all frames of instant video frames before any one frame of instant video frame by a user and position parameters of the partial curves, wherein the position parameters comprise at least one of coordinate parameters and characteristic parameters;
copying the partial curves to the any one frame of the instant video frame according to the position parameters of the partial curves;
acquiring a partial curve which is input by a user in any one frame of instant video frame in the at least one frame of instant video frame and corresponds to the any one frame of instant video frame;
and acquiring the position parameters of the part of the curve input by the user.
By acquiring the curve input by the user, the area indicated by the user can be determined through the curve input by the user, compared with the method that the area indicated by the user is determined by selecting a preset shape by the user, the method simplifies the operation steps, improves the transmission efficiency of the instant video, further meets the diversified requirements that the attention of the user to a certain area in the instant video is higher than that of other areas, the requirements of the user on the definition and the detail retention amount of the certain area are higher than that of other areas, and other participants of the user who want instant video interaction migrate the attention to the area specified by the user, and improves the user experience; in addition, the shape input by the user is obtained, the area indicated by the shape is determined, the form of the user input area is increased, the diversified requirements that the attention degree of the user to a certain area in the instant video is higher than that of other areas, the requirements of the user to the definition and the detail retention amount of the certain area are higher than that of other areas, and other participants of the user who want instant video interaction migrate the attention degree to the area specified by the user are further met, and the user experience is improved.
In order to further understand the method according to the embodiment of the present invention for those skilled in the art, the method according to the embodiment of the present invention will be further described with reference to the drawings, assuming that an instant video interface is shown as a in fig. 4, and a curve input by a user in the interface is shown as b in fig. 4.
Optionally, if it is detected that the curve for acquiring the user input does not include a closed curve, displaying the curve for the user
And indicating the user to at least input prompt information of the closed curve.
Wherein the determination may be made based on whether all points constituting the curve input by the user include one and the same point
Whether the curve input by the user comprises a closed curve is obtained.
The prompt message may be a text message, for example, the text message may be: "you input
The curve does not include a closed curve, please enter again ".
302. Determining the shape indicated by the closed curve as the shape of the user input.
Specifically, the embodiment of the present invention does not limit the specific determination process.
By determining the shape indicated by the closed curve as the shape input by the user, the form of the area indicated by the user input is increased, the diversified requirements that the attention degree of the user to a certain area in the instant video is higher than that of other areas, the requirements of the user on the definition and the detail retention amount of the certain area are higher than that of other areas, and other participants of the user who want instant video interaction migrate the attention degree to the area specified by the user are further met, and the user experience is improved.
Assuming that the curve of the user input is shown with reference to b in fig. 4, determining that the shape indicated by the closed curve is the shape of the user input may be shown with reference to fig. 5.
303. And acquiring position parameters input by a user, wherein the position parameters comprise coordinate parameters.
Specifically, the coordinate parameter is a coordinate parameter of a geometric center of the shape input by the user.
The embodiment of the present invention does not limit the specific determination method.
It should be noted that steps 301 to 303 are processes for obtaining the shape input by the user, and the processes may be implemented in other ways besides the ways described in the above steps, and the specific processes are not limited in the embodiment of the present invention.
By acquiring the shape input by the user and determining the area indicated by the shape, the form of the user input area is increased, the interest and the interactivity of the instant video interaction are improved, the diversified requirements that the attention of the user to a certain area in the instant video is higher than that of other areas, the requirements of the user on the definition and the detail retention amount of the certain area are higher than that of other areas, and other participants of the user who want the instant video interaction migrate the attention to the area designated by the user are further met, and the user experience is improved.
304. The region indicated by the shape is determined in the current instant video frame.
Specifically, the area indicated by the shape is determined in the current instant video frame according to the coordinate parameters.
The process may be:
determining at least one point indicated by the coordinate parameter in the current instant video frame;
the at least one point is set to be at least one point in the shape of the user input including the center of the shape of the user input.
305. And judging whether the network bandwidth meets a preset condition, if so, executing the step 306, and if not, ending the step.
Specifically, the numerical relationship between the network bandwidth and the first preset value and the second preset value is determined, and the specific determination manner is not limited in the embodiment of the present invention.
If the network bandwidth is greater than or equal to the first preset value and less than the second preset value, go to step 206;
and if the network bandwidth meets any one of the first preset value and the second preset value, ending the process.
In practical application, the first preset value is 50kb/s, and the second preset value can be 100 kb/s.
Optionally, because of instability of the network bandwidth during network transmission, it may be determined whether an average value of the network bandwidth in a preset time period before the current time meets a preset condition, and if yes, step 306 is executed; if not, the process is ended.
In practical applications, the preset time period may be 0.2 seconds.
By judging whether the average value of the network bandwidth in the preset time period between the current moments meets the preset condition or not, the instability of the network bandwidth during network transmission is eliminated, the reliability of instant video coding is ensured, and the user experience is further improved.
The instant video is processed when the network bandwidth is judged to be low by judging whether the network bandwidth meets the preset condition or not, so that the utilization rate of the network bandwidth can be improved, network resources are saved, the transmission efficiency of the instant video is improved, the diversified requirements that the attention of a user to a certain area in the instant video is higher than that of other areas, the requirements of the user to the definition and the detail retention amount of the certain area are higher than that of other areas, and other participants of the user who want instant video interaction migrate the attention to the area appointed by the user are further met, and the user experience is improved.
306. And dividing the processed current instant video frame into at least one macro block.
Specifically, the processed current instant video frame may be divided into at least one macroblock according to a preset division rule, and the specific division rule is not limited in the embodiment of the present invention.
Since the processed current instant video frame includes the region indicated by the shape input by the user, correspondingly, the at least one macro block includes a macro block including all or part of the region indicated by the shape input by the user.
307. The quantization parameter of the macroblock including all or part of the area indicated by the shape is set to a first value.
Specifically, a macro block including all or part of the area indicated by the shape input by the user is detected from at least one macro block;
the macro block including all or part of the area indicated by the shape input by the user can be detected from the at least one macro block through the characteristic parameter for indicating the area indicated by the shape input by the user, and the specific detection mode is not limited by the embodiment of the present invention;
the quantization parameter of the macroblock including all or part of the area indicated by the user-input shape is set to a first value.
The quantization parameter of the macro block is used for indicating the fineness of the macro block in the encoding process, and if the fineness of the macro block in the encoding process is higher, the image details of the macro block are reserved most; if the fineness of the macro block in the encoding process is lower, the image details of the macro block are kept at least;
since the quantization parameter ranges from 0 to 51 in practical applications, the first value may be any value defined by any one of a user and a system between 0 and 25.
Because the attention and picture quality requirements of the two interactive parties on the area indicated by the shape input by the user, such as the area where the human face is located, in the instant video are higher than those of other areas in the scene of instant video interaction, the details of the area indicated by the shape input by the user can be more reserved in the encoding process by setting the quantization parameter of the macro block including all or part of the area indicated by the shape input by the user as a first numerical value, so that the picture quality of the area indicated by the shape input by the user can be ensured in the instant video process, the diversified requirements that the attention of the user is higher than that of other areas in the instant video, the requirements of the user on the definition and the detail reservation amount of the certain area are higher than that of other areas, and other participants of the user who want instant video interaction move the attention to the area specified by the user are met, the user experience is improved.
308. The quantization parameter of the macroblock that does not include the area indicated by all or part of the shape is set to a second value.
Specifically, after detecting a macro block including all or part of the area indicated by the shape input by the user from at least one macro block, acquiring a macro block not including all or part of the area indicated by the shape input by the user;
setting the quantization parameter of the macro block not including all or part of the area indicated by the user-input shape to a second value.
The second value may be any value defined by any one of a user or a system between 25 and 51.
In the scene of instant video interaction, the attention and picture quality requirements of two interacting parties on the area indicated by the shape input by the user, such as the area where the human face is located, in the instant video are higher than those of other areas, so that the quantization parameter of the macro block not including all or part of the area indicated by the shape input by the user can be set to be a second value, and the details of the macro block not including all or part of the area indicated by the shape input by the user are not reserved in the encoding process, so that the diversified requirements that the attention of the user on a certain area in the instant video is higher than that of other areas, the requirements of the user on the definition and detail reservation amount of the certain area are higher than that of other areas, and other participants of the user who want instant video interaction to migrate the attention to the area specified by the user are met, and the user experience is improved. In addition, the occupied bandwidth of the macro block which does not include all or part of the area indicated by the shape input by the user during transmission can be reduced, so that compared with the traditional instant video transmission method, the method has the advantages that the required bandwidth resource is less, the bandwidth resource can be saved, the instant video transmission efficiency is improved, and the user experience is further improved.
309. And coding at least one macro block according to the first numerical value and the second numerical value to generate a coded instant video frame.
Specifically, the embodiment of the present invention does not limit the specific encoding process.
It should be noted that steps 306 to 309 are processes for encoding at least one macroblock of the current instant video frame that constitutes the area including the shape indicated by the current instant video frame according to the quantization parameter corresponding to the at least one macroblock, and generating the encoded instant video frame.
The quantization parameter of the macro block of the area indicated by the shape and not included by all or part of the user input is set to be the first numerical value, and the quantization parameter of the macro block of the area indicated by the shape and not included by all or part of the user input is set to be the second numerical value, so that the details of the area indicated by the shape and not input by the user are reserved in the encoding process, the diversified requirements that the attention degree of the user to a certain area in the instant video is higher than that of other areas, the requirements of the user to the definition and the detail reservation amount of the certain area are higher than that of other areas, and other participants of the user who want the instant video interaction migrate the attention degree to the area specified by the user are met, and the user experience is improved. Meanwhile, on the basis of carrying out undistorted transmission on the area indicated by the shape input by the user, the bandwidth occupied by the area indicated by the shape input by the user during transmission is further reduced, so that compared with the traditional instant video transmission method, the method not only can ensure the picture quality of the area indicated by the shape input by the user, but also needs less bandwidth resources, thereby saving the bandwidth resources, improving the efficiency of instant video transmission and further improving the user experience.
310. And sending the coded instant video frame.
Specifically, the embodiment of the present invention does not limit the specific transmission method.
Optionally, the method may further include:
311. the shape of the user input is sent.
Specifically, the embodiment of the present invention does not limit the specific transmission method.
By sending the shape input by the user, other electronic equipment can display the shape input by the user, the interactive form of the instant video is increased, the diversified requirements of the user in the instant video process are met, and the user experience is further improved.
To further illustrate the effects achieved by the method provided by the embodiment of the present invention, the method provided by the embodiment of the present invention will be further described with reference to the drawings, and assuming that the shape input by the user is the shape shown in fig. 6, after the method described in the embodiment of the present invention is performed on a in fig. 7, the generated interface may be shown as b in fig. 7, the definition and the detail retention amount indicated by the second display effect are greater than or equal to the definition and the detail retention amount indicated by the first display effect, and the definition and the detail retention amount indicated by the third display effect are less than the definition and the detail retention amount indicated by the first display effect.
In the scene of instant video interaction, the method provided by the embodiment of the invention meets the diversified requirements that the attention degree of a user to a certain area in the instant video is higher than that of other areas, the requirements of the user on the definition and detail retention amount of the certain area are higher than that of other areas, and other participants of the user who want the instant video interaction move the attention degree to the area appointed by the user, increases the interactivity and interestingness of the instant video, and further improves the user experience.
The invention discloses an encoding method of an instant video, which encodes at least one macro block according to a quantization parameter corresponding to at least one macro block of a current instant video frame forming an area indicated by a shape input by a user to generate an encoded current instant video frame, meets the requirement that the definition and detail retention of the selected area by the user in the process of the instant video are larger than those of other areas, and further improves the user experience. In addition, the shape input by the user is obtained, the area shown by the shape is determined, the mode of inputting the area by the user is increased, the interaction mode of the user in the instant video interaction process is increased, the diversified requirements of the user are further met, and the user experience is improved. In addition, by judging whether the network bandwidth meets the preset condition or not, when the network bandwidth is judged to be low, the instant video is processed, the utilization rate of the network bandwidth can be improved, network resources are saved, the transmission efficiency of the instant video is improved, and when the network bandwidth is low, the diversified requirements that the attention of a user to a certain area in the instant video is greater than that of other areas, the requirements of the user to the definition and the detail retention amount of the certain area are greater than that of other areas, and other participants of the user who want instant video interaction migrate the attention to the area appointed by the user can be met, so that the user experience is further improved.
An embodiment is a method for displaying an instant video according to an embodiment of the present invention, where in the embodiment of the present invention, the position parameter includes a coordinate parameter, and as shown in fig. 8, the method includes:
801. and acquiring the coded instant video frame.
Specifically, the electronic device may receive a coded current instant video frame sent by another electronic device, or may obtain a shape input by a user after the electronic device obtains the shape input by the user and a network bandwidth meets a preset condition, code at least one macro block according to a quantization parameter corresponding to at least one macro block constituting the current instant video frame including an area indicated by the shape input by the user, generate the coded current instant video frame, and obtain the coded instant video frame.
802. And acquiring position parameters input by a user, wherein the position parameters comprise coordinate parameters.
Specifically, the electronic device may receive the location parameters sent by other electronic devices, or may obtain the location parameters triggered by the user at the electronic device.
803. Displaying the encoded instant video frame.
Specifically, the processed current instant video frame is displayed according to the coordinate parameter.
The picture quality of the area indicated by the shape input by the user in the coded current instant video frame is superior to that of other areas, so that the requirement that the attention of the user to a certain area in the instant video is higher than that of other areas, the requirement that the definition and detail retention amount of the user to the certain area are higher than that of other areas, and the requirement that other participants of the user who want instant video interaction migrate the attention to the area specified by the user are met, and the user experience is improved.
Optionally, the method may further include:
804. the shape of the user input is obtained.
Specifically, the electronic device may receive the shape of the user input sent by the other electronic device, or may obtain the shape of the user input at the electronic device.
805. The shape of the user input is displayed.
Specifically, the embodiment of the present invention does not limit the specific display mode.
By displaying the shape input by the user, the user attention of the electronic equipment can be further transferred to the area indicated by the shape input in the instant video, so that the diversified requirements that the attention of the user to a certain area in the instant video is higher than that of other areas, the requirements of the user to the definition and the detail retention amount of the certain area are higher than that of other areas, and other participants of the user who want instant video interaction transfer the attention to the area specified by the user are met, and the user experience is improved.
In the embodiment of the invention, after the shape input by the user is obtained and the network bandwidth meets the preset condition, the coded instant video frame is generated by coding at least one macro block according to the quantization parameter corresponding to at least one macro block forming the current instant video frame comprising the area indicated by the input shape.
To further illustrate the effects achieved by the method provided by the embodiment of the present invention, the method provided by the embodiment of the present invention will be further described with reference to the drawings, where a shape input by a user is the shape shown in fig. 6, an interface displayed after acquiring a processed current instant video frame may be shown as b in fig. 9, a in fig. 9 is the interface displayed after acquiring the current instant video frame, in fig. 9, a definition and a detail retention amount indicated by a second display effect are greater than or equal to a definition and a detail retention amount indicated by a first display effect, and a definition and a detail retention amount indicated by a third display effect are less than a definition and a detail retention amount indicated by the first display effect.
The embodiment of the invention provides a method for displaying an instant video, which is characterized in that at least one macro block is coded according to a quantization parameter corresponding to at least one macro block of a current instant video frame forming a region indicated by a shape input by a user to generate a coded current instant video frame, so that the requirements of the user on the definition and detail retention of the selected region in the instant video process being larger than those of other regions are met, and the user experience is further improved. In addition, by acquiring and displaying the shape input by the user and determining the area indicated by the shape, the mode of inputting the area by the user is increased, the interaction mode of the user in the instant video interaction process is increased, the diversified requirements of the user are further met, and the user experience is improved.
Fifth embodiment of the present invention provides a method for encoding an instant video, in which a position parameter of a user-input shape includes a feature parameter, and the feature parameter is used to describe details in an area indicated by the user-input shape selected by the user in an instant video frame, for example, if the area indicated by the user-input shape selected by the user includes at least a human face, the details may be eyes, a nose, a mouth, eyebrows, and the like of the user, and as shown in fig. 10, the method includes:
1001. and acquiring a curve input by a user, wherein a part of the curve included by the curve is a closed curve.
Specifically, the step is the same as step 301, and is not described herein again.
By acquiring the curve input by the user, the area indicated by the user can be determined according to the curve input by the user, compared with the method that the area indicated by the user is determined by selecting a preset shape by the user, the method simplifies the operation steps, improves the step of inputting the indicated area by the user, improves the transmission efficiency of the instant video, further meets the diversified requirements that the attention of the user to a certain area in the instant video is higher than that of other areas, the requirements of the user on the definition and the detail retention amount of the certain area are higher than that of other areas, and other participants of the user who want instant video interaction move the attention to the area specified by the user, and improves the user experience; in addition, by acquiring a curve input by a user and determining the area indicated by the shape, the form of the user input area is increased, the diversified requirements that the attention of the user to a certain area in the instant video is higher than that of other areas, the requirements of the user on the definition and the detail retention amount of the certain area are higher than that of other areas, and other participants of the user who want instant video interaction migrate the attention to the area specified by the user are further met, and the user experience is improved.
1002. Determining the shape indicated by the closed curve as the shape of the user input.
Specifically, the step is the same as step 302, and is not described herein again.
By determining the shape indicated by the closed curve as the shape input by the user, the form of the area indicated by the user input is increased, the diversified requirements that the attention degree of the user to a certain area in the instant video is higher than that of other areas, the requirements of the user on the definition and the detail retention amount of the certain area are higher than that of other areas, and other participants of the user who want instant video interaction migrate the attention degree to the area specified by the user are further met, and the user experience is improved.
1003. And acquiring position parameters input by a user, wherein the position parameters comprise characteristic parameters.
Specifically, the step is the same as step 303, and is not described herein again.
It should be noted that steps 1001 to 1003 are processes for obtaining the shape input by the user, and the processes may be implemented in other ways besides the above steps, and the specific processes are not limited in the embodiment of the present invention.
By acquiring the shape input by the user and determining the area indicated by the shape, the form of the user input area is increased, the interest and the interactivity of the instant video interaction are improved, the diversified requirements that the attention of the user to a certain area in the instant video is higher than that of other areas, the requirements of the user on the definition and the detail retention amount of the certain area are higher than that of other areas, and other participants of the user who want the instant video interaction migrate the attention to the area designated by the user are further met, and the user experience is improved.
1004. Details indicated by the feature parameters are identified in the current instant video frame.
Specifically, acquiring characteristic parameters of all characteristic points in a current instant video frame;
acquiring all feature points of which the similarity between the feature parameters and the feature parameters included in the selection instruction is greater than or equal to a preset threshold;
and determining the details formed by all the feature points as the details indicated by the feature parameters.
The user's requirement on the attention degree of a certain area in the instant video is greater than that of other areas, the user's requirement on the definition and the detail retention amount of the certain area is greater than that of other areas, and the user wants other participants of instant video interaction to migrate the attention degree to the area designated by the user, namely the requirement on the attention degree of the detail in the area is greater than that of other areas, the requirement on the definition and the detail retention amount of the detail in the area is greater than that of other areas, and the user wants other participants of instant video interaction to migrate the attention degree to the area designated by the user, and the requirement on the attention degree and the detail retention amount of the detail in the area is greater than that of other areas by identifying the details indicated by the characteristic parameters in the current instant video frame, so that the diversified requirements on the attention degree of the user to the detail in the area, the requirement on the definition and the detail retention amount of the detail in the area is greater than that of other areas, and the other participants who want instant video interaction to.
1005. From the details, the region indicated by the shape is determined in the current instant video frame.
Specifically, the coordinates of the feature points that constitute the detail are set as the coordinates of points in the area indicated by the shape input by the user.
Besides, the determination of the area indicated by the shape input by the user in the current instant video frame may be realized in other ways according to details, and the embodiment of the present invention is not limited to a specific way.
Because the position of the detail in the area indicated by the shape input by the user can be changed, the area indicated by the shape input by the user is determined in the current instant video frame according to the detail, the diversified requirements that the attention degree of the user to a certain area in the instant video is higher than that of other areas, the requirements of the user to the definition and the detail retention amount of the certain area are higher than that of other areas, and other participants of the user who want instant video interaction move the attention degree to the area specified by the user are further met, the interactivity and the interest of the instant video are increased, and the user experience is further improved.
It is noted that steps 1004 to 1005 are processes for determining the area indicated by the shape input by the user in the current instant video frame, and the processes may be implemented in other ways besides the above steps, and the specific processes are not limited by the embodiment of the present invention.
By identifying the details indicated by the characteristic parameters in the current instant video frame and determining the area indicated by the shape input by the user in the current instant video frame according to the details, under the condition that the position of the details in the area indicated by the shape input by the user in the instant video frame is changed, the requirements that the attention degree of the user on the details in the area indicated by the shape input by the user is greater than that of other areas, the requirements on the definition and the detail retention amount of the details of the area indicated by the input by the user are greater than that of other areas, and other participants who want instant video interaction move the attention degree to the area indicated by the input shape are met, so that the requirements that the attention degree of the user on one area in the instant video is greater than that of other areas, the requirements on the definition and the detail retention amount of the user on one area by the user are greater than that of other areas, and the other participants who want instant video interaction move the attention degree to the area indicated by the user are diversified The demand is changed, the interactivity and the interestingness of the instant video are increased, and the user experience is further improved.
1006. Judging whether the network bandwidth meets a preset condition, if so, executing a step 1007; if not, the process is ended.
Specifically, the step is the same as step 305, and is not described herein again.
Optionally, because the network bandwidth is unstable during network transmission, it may be determined whether the average value of the network bandwidth in a preset time period before the current time meets a preset condition, and if yes, step 1007 is executed; if not, the process is ended.
In practical applications, the preset time period may be 0.2 seconds.
By judging whether the average value of the network bandwidth in the preset time period between the current moments meets the preset condition or not, the instability of the network bandwidth during network transmission is eliminated, the reliability of instant video coding is ensured, and the user experience is further improved.
The instant video is processed when the network bandwidth is judged to be low by judging whether the network bandwidth meets the preset condition or not, so that the utilization rate of the network bandwidth can be improved, network resources are saved, the transmission efficiency of the instant video is improved, the diversified requirements that the attention of a user to a certain area in the instant video is higher than that of other areas, the requirements of the user to the definition and the detail retention amount of the certain area are higher than that of other areas, and other participants of the user who want instant video interaction migrate the attention to the area appointed by the user are further met, and the user experience is improved.
1007. And dividing the processed current instant video frame into at least one macro block.
Specifically, the step is the same as step 306, and is not described herein again.
1008. The quantization parameter of the macroblock including all or part of the area indicated by the shape is set to a first value.
Specifically, the step is the same as step 307, and is not described herein again.
Because the attention and picture quality requirements of the two interactive parties on the area indicated by the shape input by the user, such as the area where the human face is located, in the instant video are higher than those of other areas in the scene of instant video interaction, the details of the area indicated by the shape input by the user can be more reserved in the encoding process by setting the quantization parameter of the macro block including all or part of the area indicated by the shape input by the user as a first numerical value, so that the picture quality of the area indicated by the shape input by the user can be ensured in the instant video process, the diversified requirements that the attention of the user is higher than that of other areas in the instant video, the requirements of the user on the definition and the detail reservation amount of the certain area are higher than that of other areas, and other participants of the user who want instant video interaction move the attention to the area specified by the user are met, the user experience is improved.
1009. The quantization parameter of the macroblock that does not include the area indicated by all or part of the shape is set to a second value.
Specifically, the step is the same as step 308, and is not limited herein.
In the scene of instant video interaction, the attention and picture quality requirements of two interacting parties on the area indicated by the shape input by the user, such as the area where the human face is located, in the instant video are higher than those of other areas, so that the quantization parameter of the macro block not including all or part of the area indicated by the shape input by the user can be set to be a second value, and the details of the macro block not including all or part of the area indicated by the shape input by the user are not reserved in the encoding process, so that the diversified requirements that the attention of the user on a certain area in the instant video is higher than that of other areas, the requirements of the user on the definition and detail reservation amount of the certain area are higher than that of other areas, and other participants of the user who want instant video interaction to migrate the attention to the area specified by the user are met, and the user experience is improved. In addition, the occupied bandwidth of the macro block which does not include all or part of the area indicated by the shape input by the user during transmission can be reduced, so that compared with the traditional instant video transmission method, the method has the advantages that the required bandwidth resource is less, the bandwidth resource can be saved, the instant video transmission efficiency is improved, and the user experience is further improved.
1010. And coding at least one macro block according to the first numerical value and the second numerical value to generate a coded instant video frame.
Specifically, the step is the same as step 309, and is not described herein again.
It should be noted that steps 1007 to 1010 are processes for encoding at least one macroblock of a current instant video frame that constitutes an area including a shape indicated by the current instant video frame according to a quantization parameter corresponding to the at least one macroblock, and generating an encoded instant video frame.
The quantization parameter of the macro block of the area indicated by the shape and not included by all or part of the user input is set to be the first numerical value, and the quantization parameter of the macro block of the area indicated by the shape and not included by all or part of the user input is set to be the second numerical value, so that the details of the area indicated by the shape and not input by the user are reserved in the encoding process, the diversified requirements that the attention degree of the user to a certain area in the instant video is higher than that of other areas, the requirements of the user to the definition and the detail reservation amount of the certain area are higher than that of other areas, and other participants of the user who want the instant video interaction migrate the attention degree to the area specified by the user are met, and the user experience is improved. Meanwhile, on the basis of carrying out undistorted transmission on the area indicated by the shape input by the user, the bandwidth occupied by the area indicated by the shape input by the user during transmission is further reduced, so that compared with the traditional instant video transmission method, the method not only can ensure the picture quality of the area indicated by the shape input by the user, but also needs less bandwidth resources, thereby saving the bandwidth resources, improving the efficiency of instant video transmission and further improving the user experience.
1011. And sending the coded instant video frame.
Specifically, the step is the same as step 310, and is not described herein again.
Optionally, the method may further include:
1012. the shape of the user input is sent.
Specifically, the step is the same as step 311, and is not described herein again.
By sending the shape input by the user, other electronic equipment can display the shape input by the user, the interactive form of the instant video is increased, the diversified requirements of the user in the instant video process are met, and the user experience is further improved.
To further illustrate the effects achieved by the method provided by the embodiment of the present invention, the method provided by the embodiment of the present invention will be further described with reference to the drawings, where a shape input by a user is the shape shown in fig. 6, and after the method described in the embodiment of the present invention is performed on a in fig. 11, an interface generated may be shown as b in fig. 11, and if a position of the user in the screen in the instant video interface changes, the interface may be shown as c in fig. 11, a definition and a detail retention amount indicated by the second display effect are greater than or equal to a definition and a detail retention amount indicated by the first display effect, and a definition and a detail retention amount indicated by the third display effect are less than the definition and the detail retention amount indicated by the first display effect.
In the scene of instant video interaction, the method provided by the embodiment of the invention meets the diversified requirements that the attention degree of a user to a certain area in the instant video is higher than that of other areas, the requirements of the user on the definition and detail retention amount of the certain area are higher than that of other areas, and other participants of the user who want the instant video interaction move the attention degree to the area appointed by the user, increases the interactivity and interestingness of the instant video, and further improves the user experience.
The invention discloses an encoding method of an instant video, which encodes at least one macro block according to a quantization parameter corresponding to at least one macro block of a current instant video frame forming an area indicated by a shape input by a user to generate an encoded current instant video frame, meets the requirement that the definition and detail retention of the selected area by the user in the process of the instant video are larger than those of other areas, and further improves the user experience. In addition, the shape input by the user is obtained, the area shown by the shape is determined, the mode of inputting the area by the user is increased, the interaction mode of the user in the instant video interaction process is increased, the diversified requirements of the user are further met, and the user experience is improved. In addition, by judging whether the network bandwidth meets the preset condition or not, when the network bandwidth is judged to be low, the instant video is processed, the utilization rate of the network bandwidth can be improved, network resources are saved, the transmission efficiency of the instant video is improved, and when the network bandwidth is low, the diversified requirements that the attention of a user to a certain area in the instant video is greater than that of other areas, the requirements of the user to the definition and the detail retention amount of the certain area are greater than that of other areas, and other participants of the user who want instant video interaction migrate the attention to the area appointed by the user can be met, so that the user experience is further improved. In addition, by identifying the details indicated by the characteristic parameters in the current instant video frame and determining the area indicated by the shape input by the user in the current instant video frame according to the details, when the position of the details in the area indicated by the shape input by the user in the instant video frame changes, the requirements that the attention degree of the user on the details in the area indicated by the shape input by the user is higher than that of other areas, the requirements on the definition and the detail retention amount of the details of the indicated area input by the user are preset to be higher than that of other areas, and other participants who want instant video interaction move the attention degree to the area indicated by the shape input by the user are met, so that the requirements that the attention degree of the user on one area in the instant video is higher than that of other areas, the requirements on the definition and the detail retention amount of the user on one area are higher than that of other areas, and the requirements that the other participants who want instant video interaction have the attention degree to be higher than that other areas, are met The diversified demands of the regions appointed by the users are met, the interactivity and the interestingness of the instant video are improved, and the user experience is further improved.
Sixth embodiment of the present invention provides a method for displaying an instant video, in which a position parameter of a shape input by a user includes a feature parameter, and the feature parameter is used to describe details in an area indicated by the shape input by the user selected by the user in an instant video frame, for example, if the area indicated by the shape input by the user selected by the user includes at least a human face, the details may be eyes, a nose, a mouth, eyebrows, and the like of the user, and as shown in fig. 12, the method includes:
1201. and acquiring the coded instant video frame.
Specifically, the step is the same as step 801, and is not described herein again.
1202. And acquiring position parameters input by a user, wherein the position parameters comprise characteristic parameters.
Specifically, the step is the same as step 802, and is not described herein again.
1203. Details indicated by the feature parameters are identified in the processed current instant video frame.
Specifically, the step is the same as the step 1004, and is not described herein again.
The user's requirement on the attention degree of a certain area in the instant video is greater than that of other areas, the user's requirement on the definition and the detail retention amount of the certain area is greater than that of other areas, and the user wants other participants of instant video interaction to migrate the attention degree to the area designated by the user, namely the requirement on the attention degree of the detail in the area is greater than that of other areas, the requirement on the definition and the detail retention amount of the detail in the area is greater than that of other areas, and the user wants other participants of instant video interaction to migrate the attention degree to the area designated by the user, and the requirement on the attention degree and the detail retention amount of the detail in the area is greater than that of other areas by identifying the details indicated by the characteristic parameters in the current instant video frame, so that the diversified requirements on the attention degree of the user to the detail in the area, the requirement on the definition and the detail retention amount of the detail in the area is greater than that of other areas, and the other participants who want instant video interaction to.
1204. And displaying the processed current instant video frame according to the details.
Specifically, the coordinates of the feature points that constitute the detail are set as the coordinates of points in the area indicated by the shape input by the user.
And displaying the processed current instant video frame according to the coordinates.
Besides, the shape input by the user can be determined and displayed in the current instant video frame according to details in other ways, and the embodiment of the present invention is not limited to a specific way.
Because the position of the detail in the area indicated by the shape input by the user can be changed, the area indicated by the shape input by the user is determined in the current instant video frame according to the detail, the diversified requirements that the attention degree of the user to a certain area in the instant video is higher than that of other areas, the requirements of the user to the definition and the detail retention amount of the certain area are higher than that of other areas, and other participants of the user who want instant video interaction move the attention degree to the area specified by the user are further met, the interactivity and the interest of the instant video are increased, and the user experience is further improved.
It should be noted that steps 1203 to 1204 are implemented to display the encoded instant video frame, and the process may be implemented in other ways besides the above steps, and the specific way of implementing the process is not limited in the embodiment of the present invention.
By identifying the details indicated by the characteristic parameters in the current instant video frame and determining the area indicated by the shape input by the user in the current instant video frame according to the details, under the condition that the position of the details in the area indicated by the shape input by the user in the instant video frame changes, the requirements that the attention degree of the user to the details in the area indicated by the shape input is greater than that of other areas, the requirements on the definition and the detail retention amount of the area indicated by the shape input are greater than that of other areas, and other participants who want instant video interaction move the attention degree to the area indicated by the shape input by the user, so that the diversified requirements that the attention degree of the user to a certain area in the instant video is greater than that of other areas, the requirements on the definition and the detail retention amount of the certain area by the user is greater than that of other areas, and other participants who want instant video interaction move the attention degree to the area specified by the user are further met The interactivity and the interestingness of the instant video are improved, and the user experience is further improved.
Optionally, the method may further include:
1205. the shape of the user input is obtained.
Specifically, the step is the same as the step 804, and is not described herein again.
1206. The shape of the user input is displayed.
Specifically, the step is the same as step 805, and is not described herein again.
By displaying the shape input by the user, the user attention of the electronic equipment can be further transferred to the area indicated by the shape input by the user in the instant video, so that the diversified requirements that the attention of the user to a certain area in the instant video is higher than that of other areas, the requirements of the user to the definition and the detail retention amount of the certain area are higher than that of other areas, and other participants of the user who want instant video interaction transfer the attention to the area specified by the user are met, and the user experience is improved.
In the embodiment of the invention, after the shape input by the user is obtained and the network bandwidth meets the preset condition, the coded instant video frame is generated by coding at least one macro block according to the quantization parameter corresponding to the at least one macro block forming the current instant video frame comprising the area indicated by the shape input by the user.
To further illustrate the effect achieved by the method provided by the embodiment of the present invention, the method provided by the embodiment of the present invention will be further described with reference to the drawings, and assuming that the shape input by the user is the shape shown in fig. 6, the interface for obtaining the processed current instant video frame display may be shown with reference to b in fig. 13, a in fig. 13 is an interface displayed after the current instant video frame is acquired, if the position of the user in the instant video interface in the screen changes, the interface may refer to c in fig. 13, in fig. 13, the amount of definition and detail retention indicated by the second display effect is greater than or equal to the amount of definition and detail retention indicated by the first display effect, and the amount of definition and detail retention indicated by the third display effect is less than the amount of definition and detail retention indicated by the first display effect.
The embodiment of the invention provides a method for displaying an instant video, which is characterized in that at least one macro block is coded according to a quantization parameter corresponding to at least one macro block of a current instant video frame forming a region indicated by a shape input by a user to generate a coded current instant video frame, so that the requirements of the user on the definition and detail retention of the selected region in the instant video process being larger than those of other regions are met, and the user experience is further improved. In addition, by acquiring and displaying the shape input by the user and determining the area indicated by the shape, the mode of inputting the area by the user is increased, the interaction mode of the user in the instant video interaction process is increased, the diversified requirements of the user are further met, and the user experience is improved. In addition, by identifying the details indicated by the characteristic parameters in the current instant video frame and determining the area indicated by the shape input by the user in the current instant video frame according to the details, when the position of the details in the area indicated by the shape input by the user in the instant video frame changes, the requirements that the attention degree of the user on the details in the area indicated by the shape input is greater than that of other areas, the requirements on the definition and the detail retention amount of the area indicated by the shape input are greater than that of other areas, and other participants who want instant video interaction move the attention degree to the area indicated by the shape input by the user, so that the requirements that the attention degree of the user on a certain area in the instant video is greater than that of other areas, the requirements on the definition and the detail retention amount of the user on the certain area are greater than that of other areas, and other participants who want instant video interaction move the attention degree to the area specified by the user are further satisfied The demand is changed, the interactivity and the interestingness of the instant video are increased, and the user experience is further improved.
An embodiment seventh is an electronic device provided in an embodiment of the present invention, and as shown in fig. 14, the electronic device includes:
an obtaining module 1401, configured to obtain a shape input by a user;
a first processing module 1402 for determining a region indicated by the shape in a current instant video frame;
a second processing module 1403, configured to, when the network bandwidth meets a preset condition, encode at least one macroblock of a current instant video frame that includes an area indicated by the shape according to a quantization parameter corresponding to the at least one macroblock, and generate an encoded instant video frame;
a sending module 1404, configured to send the encoded instant video frame.
Optionally, the obtaining module 1401 is specifically configured to:
acquiring a curve input by a user, wherein a part of the curve included in the curve is a closed curve, and determining the shape indicated by the closed curve as the shape input by the user;
and acquiring position parameters input by a user, wherein the position parameters comprise any one of coordinate parameters and characteristic parameters.
Optionally, the first processing module 1402 is configured to perform any one of the following operations:
the position parameters comprise coordinate parameters, and the area indicated by the shape is determined in the current instant video frame according to the coordinate parameters; or,
the position parameters comprise characteristic parameters, and details indicated by the characteristic parameters are identified in the current instant video frame;
from the details, the region indicated by the shape is determined in the current instant video frame.
Optionally, the second processing module 1403 is specifically configured to:
dividing the processed current instant video frame into at least one macro block;
setting a quantization parameter of a macroblock including a region indicated by all or part of the shape to a first value;
setting the quantization parameter of the macroblock excluding the area indicated by the full or partial shape to a second value;
and coding at least one macro block according to the first numerical value and the second numerical value to generate a coded instant video frame.
Alternatively to this, the first and second parts may,
the sending module 1404 is also used to send the shape of the user input.
The embodiment of the invention provides electronic equipment, which encodes at least one macro block according to a quantization parameter corresponding to at least one macro block of a current instant video frame forming an area indicated by a shape input by a user to generate the encoded current instant video frame, meets the requirement that the definition and detail retention of the selected area are larger than those of other areas in the instant video process by the user, and further improves the user experience. In addition, the shape input by the user is obtained, the area shown by the shape is determined, the mode of inputting the area by the user is increased, the interaction mode of the user in the instant video interaction process is increased, the diversified requirements of the user are further met, and the user experience is improved. In addition, by judging whether the network bandwidth meets the preset condition or not, when the network bandwidth is judged to be low, the instant video is processed, the utilization rate of the network bandwidth can be improved, network resources are saved, the transmission efficiency of the instant video is improved, and when the network bandwidth is low, the diversified requirements that the attention of a user to a certain area in the instant video is greater than that of other areas, the requirements of the user to the definition and the detail retention amount of the certain area are greater than that of other areas, and other participants of the user who want instant video interaction migrate the attention to the area appointed by the user can be met, so that the user experience is further improved.
Eighth embodiment is an electronic device according to an embodiment of the present invention, which is shown in fig. 15, and includes a sending module 1501, a memory 1502, and a processor 1503 connected to the sending module 1501 and the memory 1502, where the memory 1502 is configured to store a set of program codes, and the processor 1503 calls the program codes stored in the memory 1502 to perform the following operations:
acquiring a shape input by a user;
determining a region indicated by the shape in the current instant video frame;
if the network bandwidth meets the preset condition, coding at least one macro block according to a quantization parameter corresponding to at least one macro block forming the current instant video frame comprising the area indicated by the shape to generate a coded instant video frame;
the control sending module 1501 sends the encoded instant video frame.
Optionally, the processor 1503 calls the program code stored in the memory 1502 for performing the following operations:
acquiring a curve input by a user, wherein a part of the curve included in the curve is a closed curve, and determining the shape indicated by the closed curve as the shape input by the user;
and acquiring position parameters input by a user, wherein the position parameters comprise any one of coordinate parameters and characteristic parameters.
Optionally, the processor 1503 invokes the program code stored in the memory 1502 to perform any of the following operations:
the position parameters comprise coordinate parameters, and the area indicated by the shape is determined in the current instant video frame according to the coordinate parameters; or,
the position parameters comprise characteristic parameters, and details indicated by the characteristic parameters are identified in the current instant video frame;
from the details, the region indicated by the shape is determined in the current instant video frame.
Optionally, the processor 1503 calls the program code stored in the memory 1502 for performing the following operations:
dividing the processed current instant video frame into at least one macro block;
setting a quantization parameter of a macroblock including a region indicated by all or part of the shape to a first value;
setting the quantization parameter of the macroblock excluding the area indicated by the full or partial shape to a second value;
and coding at least one macro block according to the first numerical value and the second numerical value to generate a coded instant video frame.
Optionally, the processor 1503 calls the program code stored in the memory 1502 for performing the following operations:
the control transmission module 1501 transmits the shape of the user input.
The embodiment of the invention provides electronic equipment, which encodes at least one macro block according to a quantization parameter corresponding to at least one macro block of a current instant video frame forming an area indicated by a shape input by a user to generate the encoded current instant video frame, meets the requirement that the definition and detail retention of the selected area are larger than those of other areas in the instant video process by the user, and further improves the user experience. In addition, the shape input by the user is obtained, the area shown by the shape is determined, the mode of inputting the area by the user is increased, the interaction mode of the user in the instant video interaction process is increased, the diversified requirements of the user are further met, and the user experience is improved. In addition, by judging whether the network bandwidth meets the preset condition or not, when the network bandwidth is judged to be low, the instant video is processed, the utilization rate of the network bandwidth can be improved, network resources are saved, the transmission efficiency of the instant video is improved, and when the network bandwidth is low, the diversified requirements that the attention of a user to a certain area in the instant video is greater than that of other areas, the requirements of the user to the definition and the detail retention amount of the certain area are greater than that of other areas, and other participants of the user who want instant video interaction migrate the attention to the area appointed by the user can be met, so that the user experience is further improved.
Ninth embodiment is an electronic device according to an embodiment of the present invention, and referring to fig. 16, the electronic device 16 includes:
an obtaining module 1601, configured to obtain an encoded instant video frame;
a display module 1602, configured to display the encoded instant video frame;
the method comprises the steps that after the shape input by a user is obtained and the network bandwidth meets a preset condition, at least one macro block of a current instant video frame including an area indicated by the shape is coded according to a quantization parameter corresponding to the at least one macro block.
Alternatively to this, the first and second parts may,
the obtaining module 1601 is further configured to obtain a shape input by a user;
the display module 1602 is also used to display the shape of the user input.
Alternatively to this, the first and second parts may,
the obtaining module 1601 is further configured to obtain a position parameter input by a user, where the position parameter includes any one of a coordinate parameter and a feature parameter;
the display module 1602 is further configured to perform any one of the following operations:
the position parameters comprise coordinate parameters, and the processed current instant video frame is displayed according to the coordinate parameters; or,
the position parameters comprise characteristic parameters, and details indicated by the characteristic parameters are identified in the processed current instant video frame;
and displaying the processed current instant video frame according to the details.
The embodiment of the invention provides electronic equipment, which encodes at least one macro block to generate an encoded current instant video frame according to a quantization parameter corresponding to at least one macro block of the current instant video frame forming the region indicated by the shape input by a user, meets the requirement that the definition and detail retention of the selected region by the user in the instant video process are larger than those of other regions, and further improves the user experience. In addition, by acquiring and displaying the shape input by the user and determining the area indicated by the shape, the mode of inputting the area by the user is increased, the interaction mode of the user in the instant video interaction process is increased, the diversified requirements of the user are further met, and the user experience is improved.
Embodiment ten is an electronic device provided by an embodiment of the present invention, and as shown in fig. 17, the electronic device includes a display screen 1701, a memory 1702, and a processor 1703 connected to the display screen 1701 and the memory 1702, where the memory 1702 is configured to store a set of program codes, and the processor 1703 calls the program codes stored in the memory 1702 to perform the following operations:
acquiring an encoded instant video frame;
controlling the display screen 1701 to display the encoded instant video frame;
the method comprises the steps that after the shape input by a user is obtained and the network bandwidth meets a preset condition, at least one macro block of a current instant video frame including an area indicated by the shape is coded according to a quantization parameter corresponding to the at least one macro block.
Optionally, the processor 1703 calls the program code stored in the memory 1702 to perform the following:
acquiring a shape input by a user;
the control display screen 1701 displays the shape of the user input.
Optionally, the processor 1703 calls the program code stored in the memory 1702 to perform the following:
acquiring a position parameter input by a user, wherein the position parameter comprises any one of a coordinate parameter and a characteristic parameter;
the display screen 1701 is controlled to display the processed current live video frame by any of the following operations:
the position parameters include coordinate parameters, and the display screen 1701 is controlled to display the processed current instant video frame according to the coordinate parameters; or,
the position parameters comprise characteristic parameters, and details indicated by the characteristic parameters are identified in the processed current instant video frame;
the control display 1701 displays the processed current live video frame according to the details.
The embodiment of the invention provides electronic equipment, which encodes at least one macro block to generate an encoded current instant video frame according to a quantization parameter corresponding to at least one macro block of the current instant video frame forming the region indicated by the shape input by a user, meets the requirement that the definition and detail retention of the selected region by the user in the instant video process are larger than those of other regions, and further improves the user experience. In addition, by acquiring and displaying the shape input by the user and determining the area indicated by the shape, the mode of inputting the area by the user is increased, the interaction mode of the user in the instant video interaction process is increased, the diversified requirements of the user are further met, and the user experience is improved.
All the above-mentioned optional technical solutions can be combined arbitrarily to form the optional embodiments of the present invention, and are not described herein again.
The interface described in the embodiment of the present invention is merely exemplary, and is used to further illustrate the method described in the embodiment of the present invention, which is not specific herein, and the embodiment of the present invention does not limit the specific interface.
It should be noted that: in the above embodiment, when the electronic device performs encoding of an instant video, only the division of the functional modules is illustrated, and in practical application, the function distribution may be completed by different functional modules according to needs, that is, the internal structure of the device is divided into different functional modules to complete all or part of the functions described above. In addition, the electronic device provided by the above embodiment and the embodiment of the encoding method of the instant video belong to the same concept, and specific implementation processes thereof are described in the embodiment of the method for details, which are not described herein again.
It will be understood by those skilled in the art that all or part of the steps of implementing the above embodiments may be implemented by hardware, or may be implemented by a program instructing relevant hardware, and the program may be stored in a computer-readable storage medium, and the above-mentioned storage medium may be a read-only memory, a magnetic disk or an optical disk, etc.
The present invention is not limited to the above preferred embodiments, and any modifications, equivalent replacements, improvements, etc. within the spirit and principle of the present invention should be included in the protection scope of the present invention.
Claims (10)
1. A method for encoding live video, the method comprising:
acquiring a shape input by a user;
determining a region in a current instant video frame indicated by the shape;
if the network bandwidth meets a preset condition, coding at least one macro block according to a quantization parameter corresponding to the at least one macro block forming the current instant video frame including the region indicated by the shape to generate a coded instant video frame;
and sending the coded instant video frame.
2. The method of claim 1, wherein the obtaining the shape of the user input comprises:
acquiring a curve input by the user, wherein a part of the curve included in the curve is a closed curve, and determining that the shape indicated by the closed curve is the shape input by the user;
and acquiring the position parameters input by the user, wherein the position parameters comprise any one of coordinate parameters and characteristic parameters.
3. The method of claim 2, wherein the region indicated by the shape is determined in the current live video frame by any one of:
the position parameters comprise coordinate parameters, and the area indicated by the shape is determined in the current instant video frame according to the coordinate parameters; or,
the location parameters include feature parameters, details indicated by the feature parameters are identified in the current instant video frame;
determining, in accordance with the details, an area indicated by the shape in the current instant video frame.
4. The method of claim 3, wherein the encoding at least one macroblock of the current instant video frame that constitutes the region indicated by the shape according to a quantization parameter corresponding to the at least one macroblock, and wherein generating the encoded instant video frame comprises:
dividing the processed current instant video frame into at least one macro block;
setting a quantization parameter of a macroblock comprising all or part of the area indicated by the shape to a first value;
setting a quantization parameter of a macroblock that does not include the area indicated by all or part of the shape to a second value;
and coding the at least one macro block according to the first numerical value and the second numerical value to generate a coded instant video frame.
5. The method of any of claims 1 to 4, further comprising:
transmitting the shape of the user input.
6. A method for instant video display, the method comprising:
acquiring an encoded instant video frame;
displaying the encoded instant video frame;
and after the shape input by the user is obtained and the network bandwidth meets a preset condition, the coded instant video frame is generated by coding at least one macro block according to the quantization parameter corresponding to the at least one macro block forming the current instant video frame comprising the area indicated by the shape.
7. The method of claim 6, further comprising:
acquiring a shape input by a user;
displaying a shape of the user input.
8. The method of claim 7,
acquiring a position parameter input by the user, wherein the position parameter comprises any one of a coordinate parameter and a characteristic parameter;
displaying the processed current instant video frame by any one of:
the position parameters comprise the coordinate parameters, and the processed current instant video frame is displayed according to the coordinate parameters; or,
the location parameters comprise the feature parameters, and details indicated by the feature parameters are identified in the processed current instant video frame;
and displaying the processed current instant video frame according to the details.
9. An electronic device, characterized in that the electronic device comprises:
the acquisition module is used for acquiring the shape input by the user;
a first processing module for determining a region indicated by the shape in a current instant video frame;
a second processing module, configured to, when a network bandwidth meets a preset condition, encode at least one macro block of the current instant video frame, which constitutes an area indicated by the shape, according to a quantization parameter corresponding to the at least one macro block, and generate an encoded instant video frame;
and the sending module is used for sending the coded instant video frame to other electronic equipment.
10. An electronic device, characterized in that the electronic device comprises:
the acquisition module is used for acquiring the coded instant video frame;
the display module is used for displaying the coded instant video frame;
and after the shape input by the user is obtained and the network bandwidth meets a preset condition, the coded instant video frame is generated by coding at least one macro block according to the quantization parameter corresponding to the at least one macro block forming the current instant video frame comprising the area indicated by the shape.
Priority Applications (2)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
CN201510346076.4A CN105163195A (en) | 2015-06-19 | 2015-06-19 | Real-time video coding method and electronic equipment |
PCT/CN2016/086144 WO2016202287A1 (en) | 2015-06-19 | 2016-06-17 | Real-time video transmission method and electronic apparatus |
Applications Claiming Priority (1)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
CN201510346076.4A CN105163195A (en) | 2015-06-19 | 2015-06-19 | Real-time video coding method and electronic equipment |
Publications (1)
Publication Number | Publication Date |
---|---|
CN105163195A true CN105163195A (en) | 2015-12-16 |
Family
ID=54803935
Family Applications (1)
Application Number | Title | Priority Date | Filing Date |
---|---|---|---|
CN201510346076.4A Pending CN105163195A (en) | 2015-06-19 | 2015-06-19 | Real-time video coding method and electronic equipment |
Country Status (1)
Country | Link |
---|---|
CN (1) | CN105163195A (en) |
Cited By (5)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
WO2016202287A1 (en) * | 2015-06-19 | 2016-12-22 | 美国掌赢信息科技有限公司 | Real-time video transmission method and electronic apparatus |
WO2016202285A1 (en) * | 2015-06-19 | 2016-12-22 | 美国掌赢信息科技有限公司 | Real-time video transmission method and electronic apparatus |
WO2016202286A1 (en) * | 2015-06-19 | 2016-12-22 | 美国掌赢信息科技有限公司 | Real-time video transmission method and electronic apparatus |
CN111263192A (en) * | 2018-11-30 | 2020-06-09 | 华为技术有限公司 | Video processing method and related equipment |
CN116055715A (en) * | 2022-05-30 | 2023-05-02 | 荣耀终端有限公司 | Scheduling method of coder and decoder and electronic equipment |
Citations (6)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN101079716A (en) * | 2006-04-06 | 2007-11-28 | 通用电气公司 | Adaptive selection of image streaming mode |
CN101164341A (en) * | 2005-03-01 | 2008-04-16 | 高通股份有限公司 | Quality metric-biased region-of-interest coding for video telephony |
CN102984495A (en) * | 2012-12-06 | 2013-03-20 | 北京小米科技有限责任公司 | Video image processing method and device |
WO2014000238A1 (en) * | 2012-06-28 | 2014-01-03 | 宇龙计算机通信科技(深圳)有限公司 | Terminal and video image compression method |
US20140136686A1 (en) * | 2012-11-09 | 2014-05-15 | Institute For Information Industry | Dynamic resolution regulating system and dynamic resolution regulating method |
CN104102912A (en) * | 2013-04-02 | 2014-10-15 | 秦海勇 | Sub-item metering energy consumption data collection device based on video image identification and method thereof |
-
2015
- 2015-06-19 CN CN201510346076.4A patent/CN105163195A/en active Pending
Patent Citations (6)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN101164341A (en) * | 2005-03-01 | 2008-04-16 | 高通股份有限公司 | Quality metric-biased region-of-interest coding for video telephony |
CN101079716A (en) * | 2006-04-06 | 2007-11-28 | 通用电气公司 | Adaptive selection of image streaming mode |
WO2014000238A1 (en) * | 2012-06-28 | 2014-01-03 | 宇龙计算机通信科技(深圳)有限公司 | Terminal and video image compression method |
US20140136686A1 (en) * | 2012-11-09 | 2014-05-15 | Institute For Information Industry | Dynamic resolution regulating system and dynamic resolution regulating method |
CN102984495A (en) * | 2012-12-06 | 2013-03-20 | 北京小米科技有限责任公司 | Video image processing method and device |
CN104102912A (en) * | 2013-04-02 | 2014-10-15 | 秦海勇 | Sub-item metering energy consumption data collection device based on video image identification and method thereof |
Cited By (6)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
WO2016202287A1 (en) * | 2015-06-19 | 2016-12-22 | 美国掌赢信息科技有限公司 | Real-time video transmission method and electronic apparatus |
WO2016202285A1 (en) * | 2015-06-19 | 2016-12-22 | 美国掌赢信息科技有限公司 | Real-time video transmission method and electronic apparatus |
WO2016202286A1 (en) * | 2015-06-19 | 2016-12-22 | 美国掌赢信息科技有限公司 | Real-time video transmission method and electronic apparatus |
CN111263192A (en) * | 2018-11-30 | 2020-06-09 | 华为技术有限公司 | Video processing method and related equipment |
CN116055715A (en) * | 2022-05-30 | 2023-05-02 | 荣耀终端有限公司 | Scheduling method of coder and decoder and electronic equipment |
CN116055715B (en) * | 2022-05-30 | 2023-10-20 | 荣耀终端有限公司 | Scheduling method of coder and decoder and electronic equipment |
Similar Documents
Publication | Publication Date | Title |
---|---|---|
CN110049324B (en) | Video encoding method, system, device, and computer-readable storage medium | |
CN109670427B (en) | Image information processing method and device and storage medium | |
CN105163195A (en) | Real-time video coding method and electronic equipment | |
CN111163318B (en) | Human-machine vision coding method and device based on feedback optimization | |
CN105049949A (en) | Coding method of instant video and electronic equipment | |
WO2016110188A1 (en) | Method and electronic device for aesthetic enhancements of face in real-time video | |
CN105554430B (en) | A kind of video call method, system and device | |
CN112839184B (en) | Image processing method, image processing device, electronic equipment and storage medium | |
CN113301342B (en) | Video coding method, network live broadcasting method, device and terminal equipment | |
WO2018161867A1 (en) | Code rate allocation method, device, and storage medium | |
CN105049948A (en) | Coding method of instant video and electronic equipment | |
CN105163197A (en) | Real-time video coding method and electronic equipment | |
CN105163196A (en) | Real-time video coding method and electronic equipment | |
CN105049947A (en) | Transmission method of instant video and electronic equipment | |
CN116033189B (en) | Live broadcast interactive video partition intelligent control method and system based on cloud edge cooperation | |
CN105163199A (en) | Real-time video coding method and electronic equipment | |
CN114786040B (en) | Data communication method, system, electronic device and storage medium | |
CN105163125A (en) | Real-time video coding method and electronic equipment | |
CN104994405A (en) | Instant-video transmission method and electronic equipment | |
CN105163198B (en) | A kind of coding method of instant video and electronic equipment | |
CN105830418A (en) | Interface sharing method and terminal device | |
CN105163194A (en) | Real-time video coding method and electronic equipment | |
WO2016202285A1 (en) | Real-time video transmission method and electronic apparatus | |
CN107493478B (en) | Method and device for setting coding frame rate | |
CN114466228A (en) | Method, equipment and storage medium for improving screen projection display fluency |
Legal Events
Date | Code | Title | Description |
---|---|---|---|
C06 | Publication | ||
PB01 | Publication | ||
C10 | Entry into substantive examination | ||
SE01 | Entry into force of request for substantive examination | ||
WD01 | Invention patent application deemed withdrawn after publication |
Application publication date: 20151216 |
|
WD01 | Invention patent application deemed withdrawn after publication |