CN111327863A - Video call processing method and device - Google Patents
Video call processing method and device Download PDFInfo
- Publication number
- CN111327863A CN111327863A CN201811540986.6A CN201811540986A CN111327863A CN 111327863 A CN111327863 A CN 111327863A CN 201811540986 A CN201811540986 A CN 201811540986A CN 111327863 A CN111327863 A CN 111327863A
- Authority
- CN
- China
- Prior art keywords
- image
- rotated
- angle
- preset
- receiving end
- 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
Images
Classifications
-
- H—ELECTRICITY
- H04—ELECTRIC COMMUNICATION TECHNIQUE
- H04N—PICTORIAL COMMUNICATION, e.g. TELEVISION
- H04N7/00—Television systems
- H04N7/14—Systems for two-way working
- H04N7/141—Systems for two-way working between two video terminals, e.g. videophone
-
- H—ELECTRICITY
- H04—ELECTRIC COMMUNICATION TECHNIQUE
- H04M—TELEPHONIC COMMUNICATION
- H04M1/00—Substation equipment, e.g. for use by subscribers
- H04M1/72—Mobile telephones; Cordless telephones, i.e. devices for establishing wireless links to base stations without route selection
- H04M1/724—User interfaces specially adapted for cordless or mobile telephones
- H04M1/72448—User interfaces specially adapted for cordless or mobile telephones with means for adapting the functionality of the device according to specific conditions
- H04M1/72454—User interfaces specially adapted for cordless or mobile telephones with means for adapting the functionality of the device according to specific conditions according to context-related or environment-related conditions
-
- H—ELECTRICITY
- H04—ELECTRIC COMMUNICATION TECHNIQUE
- H04N—PICTORIAL COMMUNICATION, e.g. TELEVISION
- H04N23/00—Cameras or camera modules comprising electronic image sensors; Control thereof
- H04N23/60—Control of cameras or camera modules
-
- H—ELECTRICITY
- H04—ELECTRIC COMMUNICATION TECHNIQUE
- H04N—PICTORIAL COMMUNICATION, e.g. TELEVISION
- H04N23/00—Cameras or camera modules comprising electronic image sensors; Control thereof
- H04N23/80—Camera processing pipelines; Components thereof
-
- H—ELECTRICITY
- H04—ELECTRIC COMMUNICATION TECHNIQUE
- H04N—PICTORIAL COMMUNICATION, e.g. TELEVISION
- H04N7/00—Television systems
- H04N7/14—Systems for two-way working
- H04N7/141—Systems for two-way working between two video terminals, e.g. videophone
- H04N7/142—Constructional details of the terminal equipment, e.g. arrangements of the camera and the display
Landscapes
- Engineering & Computer Science (AREA)
- Signal Processing (AREA)
- Multimedia (AREA)
- Environmental & Geological Engineering (AREA)
- Human Computer Interaction (AREA)
- Computer Networks & Wireless Communication (AREA)
- Two-Way Televisions, Distribution Of Moving Picture Or The Like (AREA)
Abstract
The invention relates to the field of multimedia communication, in particular to a video call processing method and a device, wherein the method comprises the steps of acquiring angle information of a current sending end in the video call process; rotating the currently acquired image according to the angle information and a preset image acquisition angle; the image after rotation is displayed, and the image after rotation is sent to a receiving end, so that the receiving end displays the image after rotation, the image is rotated according to the change of angle information of the receiving end, the image after rotation is locally displayed and is sent to the receiving end, and therefore the video image displayed locally and the video image displayed by the receiving end are both upright normal images, the image rotation is carried out through the receiving end, the processing efficiency is high, the real-time synchronism can be guaranteed, and the accuracy is improved.
Description
Technical Field
The present invention relates to the field of multimedia communication, and in particular, to a method and an apparatus for processing a video call.
Background
At present, with the continuous improvement of network broadband and the popularization of smart phones, video calls based on smart phones gradually become a main communication mode for people to communicate, so that it is necessary to improve the picture experience of video calls of users.
In the prior art, a picture processing method in a video call mainly includes the following two modes: (1) the angle of the mobile phone is detected before the call, and the angle of the camera is adjusted to a corresponding angle, so that the adjustment cannot be performed in the call process. (2) In the communication process, a local mobile phone angle is sent to a receiving party through a message, the receiving party rotates and displays an image according to received information, however, in the prior art, the angle can not be adjusted any more in the communication process in the first mode, and cannot be adjusted actively, and in the second mode, the angle of the mobile phone needs to be sent to the receiving party through the message, so that message delay and asynchronism exist, the angle is not matched with the angle of the image which is decoded at present, image deformation is caused, and the calculated amount is large.
Disclosure of Invention
The embodiment of the invention provides a video call processing method and device, and aims to solve the problems that in the prior art, the angle of a picture cannot be adjusted in the call process, or the adjustment is inaccurate and the calculation amount is large in the call process.
The embodiment of the invention provides the following specific technical scheme:
a video call processing method comprises the following steps:
in the video call process, acquiring angle information of a current sending end;
rotating the currently acquired image according to the angle information and a preset image acquisition angle;
and displaying the rotated image, and sending the rotated image to a receiving end so that the receiving end displays the rotated image.
Optionally, rotating the currently acquired image according to the angle information and a preset image acquisition angle specifically includes: and judging whether the angle information is the same as a preset image acquisition angle, if not, determining a difference value between the angle information and the preset image acquisition angle, and rotating the currently acquired image according to the difference value based on a Graphics Processing Unit (GPU).
Optionally, displaying the rotated image specifically includes:
determining the width-height ratio of a display window and the width-height ratio of the rotated image;
and judging whether the width-height ratio of the display window and the width-height ratio of the rotated image are not more than or not less than a preset threshold value, if so, displaying the rotated image on the display window in a full screen mode, otherwise, displaying all the rotated images at preset positions on the display window according to the width-height ratio of the rotated image.
Optionally, the sending the rotated image to the receiving end specifically includes: and coding the rotated image according to a preset coding algorithm, and sending the coded image to a receiving end.
Optionally, when the receiving end displays the rotated image, the receiving end displays the image according to the aspect ratio of the display window and the aspect ratio of the rotated image.
A video call processing apparatus comprising:
the acquisition module is used for acquiring the angle information of the current sending end in the video call process;
the rotation module is used for rotating the currently acquired image according to the angle information and a preset image acquisition angle;
the display module is used for displaying the rotated image;
and the sending module is used for sending the rotated image to a receiving end so that the receiving end displays the rotated image.
Optionally, when the currently acquired image is rotated according to the angle information and a preset image acquisition angle, the rotation module is specifically configured to: and judging whether the angle information is the same as a preset image acquisition angle, if not, determining a difference value between the angle information and the preset image acquisition angle, and rotating the currently acquired image according to the difference value based on a Graphics Processing Unit (GPU).
Optionally, when displaying the rotated image, the display module is specifically configured to:
determining the width-height ratio of a display window and the width-height ratio of the rotated image;
and judging whether the width-height ratio of the display window and the width-height ratio of the rotated image are not more than or not less than a preset threshold value, if so, displaying the rotated image on the display window in a full screen mode, otherwise, displaying all the rotated images at preset positions on the display window according to the width-height ratio of the rotated image.
An electronic device, comprising:
at least one memory for storing a computer program;
at least one processor configured to implement the steps of any one of the video call processing methods described above when executing the computer program stored in the memory.
A computer-readable storage medium, on which a computer program is stored, which, when executed by a processor, implements the steps of any of the video call processing methods described above.
In the embodiment of the invention, in the video call process, the angle information of the current sending end is obtained; rotating the currently acquired image according to the angle information and a preset image acquisition angle; the image after rotation is displayed, and the image after rotation is sent to a receiving end, so that the receiving end displays the image after rotation, the image is rotated according to the change of angle information of the receiving end, the image after rotation is locally displayed and is sent to the receiving end, and therefore the video image displayed locally and the video image displayed by the receiving end are both upright normal images, the purpose of freely rotating the screen in the video call process is achieved, the image rotation is carried out through a GPU of the receiving end, the processing efficiency is high, the real-time synchronism can be guaranteed, and the accuracy is improved.
Drawings
Fig. 1 is a flowchart of a video call processing method according to an embodiment of the present invention;
fig. 2 is a flowchart of another video call processing method according to an embodiment of the present invention;
FIG. 3 is a flowchart of another video call processing method according to an embodiment of the present invention;
FIG. 4 is a schematic structural diagram of a video call device according to an embodiment of the present invention;
fig. 5 is a schematic structural diagram of an electronic device in an embodiment of the invention.
Detailed Description
The technical solutions in the embodiments of the present invention will be clearly and completely described below with reference to the 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.
At present, users often have a video call requirement, and the method is also a communication mode which is commonly used at present. Due to the portability of the smart phone, a user may use any angle and may continuously change the angle of the smart phone when using the smart phone to perform a video call, so that it is necessary to improve the experience of a video picture.
According to the scheme in the prior art, angle adjustment cannot be performed in the video call process, or even angle adjustment can be performed in the call process, a local mobile phone angle is sent to a receiving party through a message in the call process, and the receiving party performs rotary display on an image according to received information.
Therefore, in the embodiment of the invention, in the video call process, the angle information of the local and the receiving terminals is detected in real time, the currently acquired image is rotated, and the rotated image is sent to the receiving terminal, so that the local and the receiving terminals can display the rotated image in the current window of the video call, and thus, the image is continuously rotated according to the change of the angle of the sending terminal, the local image seen by the user at any angle and the sent video image can be ensured to be in an upright state, more accuracy is realized, and the image experience of the video call of the user is improved.
Of course, the embodiment of the present invention is not limited to a smart phone, and may also be applied to video call scenes of any other smart devices.
Referring to fig. 1, in the embodiment of the present invention, a specific flow of a video call processing method is as follows:
step 100: and in the video call process, acquiring the angle information of the current sending end.
Specifically, the angle information of the transmitting end can be detected in real time through the direction sensor.
In the embodiment of the present invention, mainly aiming at video picture display control of both video call parties, both video call parties may be either a receiver or a sender, and are relatively speaking, for example, both video call parties include a first terminal and a second terminal, the first terminal may send a currently acquired image to the second terminal, at this time, the first terminal is a sender, the second terminal is a receiver, and at the same time, the first terminal may also receive an image acquired by the second terminal, at this time, the first terminal is a receiver, and the second terminal is a sender.
The sending end and the receiving end can be intelligent terminals, such as smart phones.
Further, before step 100 is executed, in the embodiment of the present invention, a video call may be established according to the video call instruction, and the image acquisition device starts to acquire the image of the video based on the preset image acquisition angle.
The image capturing device is, for example, a camera, and the embodiment of the present invention is not limited thereto.
That is to say, in the embodiment of the present invention, image acquisition is performed through the camera always based on the preset image acquisition angle, and after the video call is established, the angle information is detected in real time through the direction sensor.
Step 110: and rotating the currently acquired image according to the angle information and a preset image acquisition angle.
When step 110 is executed, the method specifically includes:
1) and judging whether the angle information is the same as the preset image acquisition angle.
Further, in the embodiment of the present invention, after the angle information of the current sending end is obtained, in order to improve efficiency and accuracy, the image does not need to be rotated every time the angle of the sending end is changed, and specifically, a possible implementation manner is provided, in which the angle information of the current sending end is classified into a preset angle value according to a preset angle interval, and whether the classified angle information is the same as a preset image acquisition angle is determined according to the classified angle information.
For example, the preset angle values are 0 degree, 90 degrees, 180 degrees and 270 degrees, for example, the angle interval (45, 90) is normalized to 90 degrees, and the angle interval (0, 45) is normalized to 0 degree, and if it is determined that the angle of the current receiving end is 30 degrees, the angle is considered to be 0 degree.
Therefore, the image can not be rotated due to the small angle change of the sending end, certain errors can be allowed, the experience of the video picture of the user can not be influenced, and the calculation amount is reduced.
2) And if the angle information is different from the preset image acquisition angle, determining the difference value between the angle information and the preset image acquisition angle.
In the embodiment of the invention, the image acquisition angle of the camera is always unchanged, for example, 0 degree, and is upright for vertical screen, if the user changes the angle of the transmitting end, for example, to upright for horizontal screen, at this time, the angle of the transmitting end can be determined to be 90 degrees, but the image is acquired based on 0 degree, at this time, the angle of the acquired image is not matched with the angle of the transmitting end, so that the angle change value of the transmitting end needs to be determined, and the direction and the angle of the acquired image are adjusted.
3) Based on a Graphics Processing Unit (GPU), the currently acquired image is rotated according to the difference.
Therefore, the image is rotated by the GPU, the image is also rotated by the angle value changed by the sending end, the image can be in an upright state, and the image is rotated based on the GPU, so that the processing efficiency is higher.
Further, if the determination is different, that is, it is determined that the angle of the transmitting end changes, the embodiment of the present invention further includes pausing video encoding, and reconfiguring an encoder according to the difference value, so that the encoded transmission of the rotated image is performed.
Step 120: and displaying the rotated image, and sending the rotated image to a receiving end so that the receiving end displays the rotated image.
When the step 120 is executed, the method specifically includes:
1) displaying the rotated image, specifically comprising:
determining the width-height ratio of a display window and the width-height ratio of the rotated image; and judging whether the width-height ratio of the display window and the width-height ratio of the rotated image are not more than or not less than a preset threshold value, if so, displaying the rotated image on the display window in a full screen mode, otherwise, displaying all the rotated images at preset positions on the display window according to the width-height ratio of the rotated image.
The preset threshold is, for example, 1, and the embodiment of the present invention is not limited, and may be set according to actual situations and requirements.
In the embodiment of the invention, when an image is displayed, the width-height ratio of a display window and the width-height ratio of the image are compared, so that the display mode is determined, if neither of the two is greater than or less than 1, the width-height relationship of the image and the width-height relationship of the display window are the same, full-screen display can be performed at this time, the display effect of the rotated image is not influenced, if one of the two is less than 1, and the other is greater than 1, the width-height relationship of the two is opposite, if full-screen display is performed on the display window, the image is cut too much and displayed incompletely, therefore, the rotated image can be displayed at a preset position of the display window, such as the middle position, according to the width-height ratio of the rotated image, so that the image is not stretched, the width-height ratio is ensured to be unchanged, the image is not deformed, and the display effect is not influenced, and also to ensure a complete display of the image.
2) And sending the rotated image to a receiving end so that the receiving end displays the rotated image.
The method specifically comprises the following steps: and coding the rotated image according to a preset coding algorithm, and sending the coded image to a receiving end.
The preset encoding algorithm is, for example, an H264 encoding algorithm, which is not limited in the embodiment of the present invention.
In the embodiment of the invention, when the receiving end displays the rotated image, the receiving end displays the image according to the width-height ratio of the display window and the width-height ratio of the rotated image. That is, the receiving end also compares the width-height ratio of the display window with the width-height ratio of the rotated image to determine the display mode, which is specifically the same as the method for determining the display mode of the transmitting end.
Therefore, in the embodiment of the invention, in the video call process, the angle information of the current sending end is detected in real time, and the current collected image is rotated according to the angle information and the preset image collecting angle; the image after rotation is displayed and sent to the receiving end, so that the receiving end displays the image after rotation, the image is rotated according to the change of angle information of the receiving end, the image after rotation is displayed locally and is sent to the receiving end after being coded by the coder, and therefore the video image displayed locally and the video image displayed by the receiving end are both upright normal images, different mobile phone holding modes of users are met, the conversation visual field of the users is expanded, the purpose of free screen rotation in the video conversation process is achieved, image rotation is carried out through a GPU of the receiving end, the processing efficiency is high, excessive CPU resources are not consumed, real-time synchronism can be guaranteed, and the accuracy of the image rotation is improved.
Taking the sending end and the receiving end, that is, both sides of the video call are mobile phones, as an example, based on the above embodiment, specifically referring to fig. 2, a flowchart of another video call processing method in the embodiment of the present invention is shown, and specifically includes two parts:
a first part: and (5) transmitting the data.
Step 200: and monitoring the angle of the mobile phone.
Step 201: it is determined whether the encoder needs to be reconfigured.
Specifically, whether the angle of the mobile phone changes or not is judged to determine whether the width and height information of the encoder needs to be reconfigured.
Step 202: and acquiring the currently acquired image.
Step 203: the currently acquired image is rotated based on the GPU.
Therefore, after the angle of the mobile phone is determined to be changed, the image can be rotated according to the angle difference, and the currently acquired image can be in an upright state.
Step 204: and locally displaying the rotated image and encoding and transmitting the image.
When the local display is carried out, the sending end compares the width-height ratio of the display window with the width-height ratio of the rotated image to determine the display mode.
And encoding based on the reconfigured encoder and transmitting to the receiving end.
A second part: and (4) receiving the data.
Step 205: the transmitted rotated image is received.
Step 206: and comparing the width-height ratio of the display window with the width-height ratio of the rotated image.
Step 207: it is determined whether to change the display manner.
The method can determine whether to display the full screen on the display window or to display all images in the center of the display window, so that the receiving end can display upright normal images without changing the holding mode of the mobile phone.
Based on the foregoing embodiment, the following description is provided by using another specific application scenario, and specifically referring to fig. 3, which is a flowchart of another video call processing method in the embodiment of the present invention, specifically including two parts:
a first part: and (5) transmitting the data.
Step 300: and establishing a video call.
Step 301: and acquiring an image by adopting a preset image acquisition angle.
Namely, after the video call is established, the camera is opened by using the default preset image acquisition angle of the system, and the image acquisition is started.
Step 302: and acquiring the angle information of the current sending end.
Step 303: whether the angle information of the transmitting end changes is determined, if yes, step 305 and step 306 are respectively executed, otherwise, step 304 is executed.
Step 304: and (5) rotating the image by using the GPU and adopting the original angle value.
I.e. no change, the image is rotated based on the previous angular difference.
Step 305: the encoder is reconfigured.
In the embodiment of the invention, when the change of the angle is detected, the video coding can be suspended, and the width and height information of the coder can be reconfigured according to the angle information.
Step 306: and changing the angle value of image rotation, and rotating the image by using the GPU by adopting the new angle value.
In this way, it can be ensured that the images of the transmitting encoder and the local renderer are both upright images.
Step 307: and locally displaying the rotated image and encoding and transmitting the image.
A second part: and (4) receiving the data.
Step 308: the transmitted rotated image is received.
Specifically, the receiving end decodes the image based on a corresponding algorithm to obtain a rotated image.
Step 309: and comparing the width-height ratio of the display window with the width-height ratio of the rotated image.
Step 310: it is determined whether to change the display manner.
Based on the foregoing embodiments, referring to fig. 4, in an embodiment of the present invention, a video call processing apparatus specifically includes:
the obtaining module 40 is configured to obtain angle information of a current sending end in a video call process;
a rotation module 41, configured to rotate a currently acquired image according to the angle information and a preset image acquisition angle;
a display module 42 for displaying the rotated image;
a sending module 43, configured to send the rotated image to a receiving end, so that the receiving end displays the rotated image.
Optionally, when the currently acquired image is rotated according to the angle information and a preset image acquisition angle, the rotation module 41 is specifically configured to: and judging whether the angle information is the same as a preset image acquisition angle, if not, determining a difference value between the angle information and the preset image acquisition angle, and rotating the currently acquired image according to the difference value based on a Graphics Processing Unit (GPU).
Optionally, when displaying the rotated image, the display module 42 is specifically configured to:
determining the width-height ratio of a display window and the width-height ratio of the rotated image;
and judging whether the width-height ratio of the display window and the width-height ratio of the rotated image are not more than or not less than a preset threshold value, if so, displaying the rotated image on the display window in a full screen mode, otherwise, displaying all the rotated images at preset positions on the display window according to the width-height ratio of the rotated image.
Optionally, when the rotated image is sent to the receiving end, the sending module 43 is specifically configured to:
and coding the rotated image according to a preset coding algorithm, and sending the coded image to a receiving end.
Referring to fig. 5, in an embodiment of the invention, a structural schematic diagram of an electronic device is shown.
An embodiment of the present invention provides an electronic device, which may include a processor 510 (CPU), a memory 520, an input device 530, an output device 540, and the like, wherein the input device 530 may include a keyboard, a mouse, a touch screen, and the like, and the output device 540 may include a display device, such as a Liquid Crystal Display (LCD), a Cathode Ray Tube (CRT), and the like.
in the video call process, acquiring angle information of a current sending end;
rotating the currently acquired image according to the angle information and a preset image acquisition angle;
and displaying the rotated image, and sending the rotated image to a receiving end so that the receiving end displays the rotated image.
Optionally, when the currently acquired image is rotated according to the angle information and a preset image acquisition angle, the processor 510 is specifically configured to: and judging whether the angle information is the same as a preset image acquisition angle, if not, determining a difference value between the angle information and the preset image acquisition angle, and rotating the currently acquired image according to the difference value based on a Graphics Processing Unit (GPU).
Optionally, when displaying the rotated image, the processor 510 is specifically configured to:
determining the width-height ratio of a display window and the width-height ratio of the rotated image;
and judging whether the width-height ratio of the display window and the width-height ratio of the rotated image are not more than or not less than a preset threshold value, if so, displaying the rotated image on the display window in a full screen mode, otherwise, displaying all the rotated images at preset positions on the display window according to the width-height ratio of the rotated image.
Optionally, when the rotated image is sent to the receiving end, the processor 510 is specifically configured to:
and coding the rotated image according to a preset coding algorithm, and sending the coded image to a receiving end.
Optionally, when the receiving end displays the rotated image, the receiving end displays the image according to the aspect ratio of the display window and the aspect ratio of the rotated image.
Based on the foregoing embodiments, in an embodiment of the present invention, a computer-readable storage medium is provided, on which a computer program is stored, and the computer program, when executed by a processor, implements a video call processing method in any of the above-described method embodiments.
As will be appreciated by one skilled in the art, embodiments of the present invention may be provided as a method, system, or computer program product. Accordingly, the present invention may take the form of an entirely hardware embodiment, an entirely software embodiment or an embodiment combining software and hardware aspects. Furthermore, the present invention may take the form of a computer program product embodied on one or more computer-usable storage media (including, but not limited to, disk storage, CD-ROM, optical storage, and the like) having computer-usable program code embodied therein.
The present invention is described with reference to flowchart illustrations and/or block diagrams of methods, apparatus (systems), and computer program products according to embodiments of the invention. It will be understood that each flow and/or block of the flow diagrams and/or block diagrams, and combinations of flows and/or blocks in the flow diagrams and/or block diagrams, can be implemented by computer program instructions. These computer program instructions may be provided to a processor of a general purpose computer, special purpose computer, embedded processor, or other programmable data processing apparatus to produce a machine, such that the instructions, which execute via the processor of the computer or other programmable data processing apparatus, create means for implementing the functions specified in the flowchart flow or flows and/or block diagram block or blocks.
These computer program instructions may also be stored in a computer-readable memory that can direct a computer or other programmable data processing apparatus to function in a particular manner, such that the instructions stored in the computer-readable memory produce an article of manufacture including instruction means which implement the function specified in the flowchart flow or flows and/or block diagram block or blocks.
These computer program instructions may also be loaded onto a computer or other programmable data processing apparatus to cause a series of operational steps to be performed on the computer or other programmable apparatus to produce a computer implemented process such that the instructions which execute on the computer or other programmable apparatus provide steps for implementing the functions specified in the flowchart flow or flows and/or block diagram block or blocks.
While preferred embodiments of the present invention have been described, additional variations and modifications in those embodiments may occur to those skilled in the art once they learn of the basic inventive concepts. Therefore, it is intended that the appended claims be interpreted as including preferred embodiments and all such alterations and modifications as fall within the scope of the invention.
It will be apparent to those skilled in the art that various modifications and variations can be made in the embodiments of the present invention without departing from the spirit or scope of the embodiments of the invention. Thus, if such modifications and variations of the embodiments of the present invention fall within the scope of the claims of the present invention and their equivalents, the present invention is also intended to encompass such modifications and variations.
Claims (10)
1. A video call processing method is characterized by comprising the following steps:
in the video call process, acquiring angle information of a current sending end;
rotating the currently acquired image according to the angle information and a preset image acquisition angle;
and displaying the rotated image, and sending the rotated image to a receiving end so that the receiving end displays the rotated image.
2. The method according to claim 1, wherein rotating the currently acquired image according to the angle information and a preset image acquisition angle specifically comprises:
and judging whether the angle information is the same as a preset image acquisition angle, if not, determining a difference value between the angle information and the preset image acquisition angle, and rotating the currently acquired image according to the difference value based on a Graphics Processing Unit (GPU).
3. The method of claim 1 or 2, wherein displaying the rotated image comprises:
determining the width-height ratio of a display window and the width-height ratio of the rotated image;
and judging whether the width-height ratio of the display window and the width-height ratio of the rotated image are not more than or not less than a preset threshold value, if so, displaying the rotated image on the display window in a full screen mode, otherwise, displaying all the rotated images at preset positions on the display window according to the width-height ratio of the rotated image.
4. The method of claim 1, wherein sending the rotated image to a receiving end specifically comprises:
and coding the rotated image according to a preset coding algorithm, and sending the coded image to a receiving end.
5. The method as claimed in claim 3, wherein the receiving end displays the rotated image according to the aspect ratio of the display window and the aspect ratio of the rotated image.
6. A video call processing apparatus, comprising:
the acquisition module is used for acquiring the angle information of the current sending end in the video call process;
the rotation module is used for rotating the currently acquired image according to the angle information and a preset image acquisition angle;
the display module is used for displaying the rotated image;
and the sending module is used for sending the rotated image to a receiving end so that the receiving end displays the rotated image.
7. The apparatus of claim 6, wherein, when rotating the currently acquired image according to the angle information and a preset image acquisition angle, the rotation module is specifically configured to:
and judging whether the angle information is the same as a preset image acquisition angle, if not, determining a difference value between the angle information and the preset image acquisition angle, and rotating the currently acquired image according to the difference value based on a Graphics Processing Unit (GPU).
8. The apparatus of claim 6 or 7, wherein, when displaying the rotated image, the display module is specifically configured to:
determining the width-height ratio of a display window and the width-height ratio of the rotated image;
and judging whether the width-height ratio of the display window and the width-height ratio of the rotated image are not more than or not less than a preset threshold value, if so, displaying the rotated image on the display window in a full screen mode, otherwise, displaying all the rotated images at preset positions on the display window according to the width-height ratio of the rotated image.
9. An electronic device, comprising:
at least one memory for storing a computer program;
at least one processor adapted to implement the steps of the method according to any of claims 1-5 when executing a computer program stored in a memory.
10. A computer-readable storage medium having stored thereon a computer program, characterized in that: the computer program realizing the steps of the method according to any of claims 1-5 when executed by a processor.
Priority Applications (1)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
CN201811540986.6A CN111327863A (en) | 2018-12-17 | 2018-12-17 | Video call processing method and device |
Applications Claiming Priority (1)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
CN201811540986.6A CN111327863A (en) | 2018-12-17 | 2018-12-17 | Video call processing method and device |
Publications (1)
Publication Number | Publication Date |
---|---|
CN111327863A true CN111327863A (en) | 2020-06-23 |
Family
ID=71169002
Family Applications (1)
Application Number | Title | Priority Date | Filing Date |
---|---|---|---|
CN201811540986.6A Pending CN111327863A (en) | 2018-12-17 | 2018-12-17 | Video call processing method and device |
Country Status (1)
Country | Link |
---|---|
CN (1) | CN111327863A (en) |
Cited By (2)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN111711833A (en) * | 2020-07-28 | 2020-09-25 | 广州华多网络科技有限公司 | Live video stream push control method, device, equipment and storage medium |
CN113923460A (en) * | 2020-07-09 | 2022-01-11 | 腾讯科技(深圳)有限公司 | Video picture display method, device, equipment and storage medium |
Citations (7)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN101222570A (en) * | 2008-01-25 | 2008-07-16 | 中兴通讯股份有限公司 | Image browser using for mobile terminal and image regulation method |
CN102695034A (en) * | 2012-05-30 | 2012-09-26 | 青岛海信移动通信技术股份有限公司 | Method and device for regulating end display of video image during video call |
CN104243830A (en) * | 2014-09-29 | 2014-12-24 | 广东欧珀移动通信有限公司 | Method and device for controlling camera to rotate |
WO2015045713A1 (en) * | 2013-09-24 | 2015-04-02 | シャープ株式会社 | Image processing device and image display apparatus |
CN106326281A (en) * | 2015-06-30 | 2017-01-11 | 中兴通讯股份有限公司 | A picture display method and device |
CN106973252A (en) * | 2017-03-17 | 2017-07-21 | 中煤电气有限公司 | A kind of video call method and system |
CN107592446A (en) * | 2016-07-06 | 2018-01-16 | 腾讯科技(深圳)有限公司 | A kind of method of video image processing, apparatus and system |
-
2018
- 2018-12-17 CN CN201811540986.6A patent/CN111327863A/en active Pending
Patent Citations (7)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN101222570A (en) * | 2008-01-25 | 2008-07-16 | 中兴通讯股份有限公司 | Image browser using for mobile terminal and image regulation method |
CN102695034A (en) * | 2012-05-30 | 2012-09-26 | 青岛海信移动通信技术股份有限公司 | Method and device for regulating end display of video image during video call |
WO2015045713A1 (en) * | 2013-09-24 | 2015-04-02 | シャープ株式会社 | Image processing device and image display apparatus |
CN104243830A (en) * | 2014-09-29 | 2014-12-24 | 广东欧珀移动通信有限公司 | Method and device for controlling camera to rotate |
CN106326281A (en) * | 2015-06-30 | 2017-01-11 | 中兴通讯股份有限公司 | A picture display method and device |
CN107592446A (en) * | 2016-07-06 | 2018-01-16 | 腾讯科技(深圳)有限公司 | A kind of method of video image processing, apparatus and system |
CN106973252A (en) * | 2017-03-17 | 2017-07-21 | 中煤电气有限公司 | A kind of video call method and system |
Cited By (3)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN113923460A (en) * | 2020-07-09 | 2022-01-11 | 腾讯科技(深圳)有限公司 | Video picture display method, device, equipment and storage medium |
CN113923460B (en) * | 2020-07-09 | 2024-06-07 | 腾讯科技(深圳)有限公司 | Video picture display method, device, equipment and storage medium |
CN111711833A (en) * | 2020-07-28 | 2020-09-25 | 广州华多网络科技有限公司 | Live video stream push control method, device, equipment and storage medium |
Similar Documents
Publication | Publication Date | Title |
---|---|---|
EP2811739B1 (en) | Terminal, image communication control server, and system and method for image communication using same | |
CN109670427B (en) | Image information processing method and device and storage medium | |
CN111803940B (en) | Game processing method and device, electronic equipment and computer-readable storage medium | |
CN110430441B (en) | Cloud mobile phone video acquisition method, system, device and storage medium | |
US10277864B2 (en) | Method and system for automatically correcting frame angle in mobile terminal video communication | |
RU2609147C2 (en) | Method and device for transmitting images | |
CN105516638B (en) | A kind of video call method, device and system | |
CN111459428A (en) | Display interface synchronization method and device, computer equipment and storage medium | |
CN108810610B (en) | Screen sharing method and device | |
CN104253804B (en) | A kind of method and device for transmitting view data | |
CN106534211A (en) | Data transmission method and electronic equipment | |
US20190166410A1 (en) | Methods for streaming visible blocks of volumetric video | |
CN112764853A (en) | Screen projection method, equipment and system | |
CN111327863A (en) | Video call processing method and device | |
CN111669468B (en) | Network state display method and device in call process, computer equipment and medium | |
CN113596571B (en) | Screen sharing method, device, system, storage medium and computer equipment | |
CN113010135B (en) | Data processing method and device, display terminal and storage medium | |
CN107360389B (en) | Video communication method, device and terminal | |
US10834358B1 (en) | Enhancing video quality based on metadata at a client device having more processing power in a system of client devices having different amounts of processing power | |
CN110933493A (en) | Video rendering system, method and computer-readable storage medium | |
CN106254810A (en) | A kind of video call method and device | |
CN115460419A (en) | Image processing method, image processing device, electronic equipment and storage medium | |
US20210360236A1 (en) | System and method for encoding a block-based volumetric video having a plurality of video frames of a 3d object into a 2d video format | |
CN112788193A (en) | Image transmission method, image transmission device, electronic equipment and storage medium | |
CN113810755A (en) | Panoramic video preview method and device, electronic equipment and storage medium |
Legal Events
Date | Code | Title | Description |
---|---|---|---|
PB01 | Publication | ||
PB01 | Publication | ||
SE01 | Entry into force of request for substantive examination | ||
SE01 | Entry into force of request for substantive examination | ||
RJ01 | Rejection of invention patent application after publication |
Application publication date: 20200623 |
|
RJ01 | Rejection of invention patent application after publication |