CN104978116A - Video image adjusting method, video image adjusting device and terminal - Google Patents

Video image adjusting method, video image adjusting device and terminal Download PDF

Info

Publication number
CN104978116A
CN104978116A CN201410133267.8A CN201410133267A CN104978116A CN 104978116 A CN104978116 A CN 104978116A CN 201410133267 A CN201410133267 A CN 201410133267A CN 104978116 A CN104978116 A CN 104978116A
Authority
CN
China
Prior art keywords
screen
video pictures
rotation
instruction information
operation instruction
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
Application number
CN201410133267.8A
Other languages
Chinese (zh)
Inventor
张国彬
田艳军
李欣
梁超
Current Assignee (The listed assignees may be inaccurate. Google has not performed a legal analysis and makes no representation or warranty as to the accuracy of the list.)
Motorola Mobile Communication Technology Ltd
Original Assignee
Lenovo Mobile Communication Technology Ltd
Priority date (The priority date is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the date listed.)
Filing date
Publication date
Application filed by Lenovo Mobile Communication Technology Ltd filed Critical Lenovo Mobile Communication Technology Ltd
Priority to CN201410133267.8A priority Critical patent/CN104978116A/en
Publication of CN104978116A publication Critical patent/CN104978116A/en
Pending legal-status Critical Current

Links

Landscapes

  • User Interface Of Digital Computer (AREA)

Abstract

The invention provides a video image adjusting method, a video image adjusting device and a terminal, and relates to the field of terminal application design. The invention solves the problem that the video image recording or playing angle cannot be adjusted in the prior art. The video image adjusting method is applied to the terminal, and comprises the following steps of: obtaining operation instruction information, collected by the terminal, on a screen, wherein the screen is a touch screen of the terminal; determining a rotating angle for performing rotating operation on a video image displayed on the screen according to the operation instruction information; and rotating the video image displayed on the screen according to the rotating angle. According to the scheme of the invention, the video recording or playing angle can be adjusted; convenience is brought to the use by a user; and the practicability and the intelligence are improved.

Description

A kind of method, device and terminal adjusting video pictures
Technical field
The present invention relates to terminal applies design field, particularly a kind of method, device and terminal adjusting video pictures.
Background technology
If usually encountering a scenery at mobile phone video process is stand upside down, or lie down, want that front is embodied in video, needs mobile phone to rotate an angle, causes very large inconvenience.And in life, often to meet some videos are situations about recording with certain angle, and player does not have the function of rotating video angle, and it is cumbersome that this makes us watch.
Summary of the invention
The technical problem to be solved in the present invention is to provide a kind of method, device and the terminal that adjust video pictures, can adjust the angle of video typing or broadcasting, user-friendly, increases practicality and intellectuality.
For solving the problems of the technologies described above, embodiments of the invention provide a kind of method adjusting video pictures, are applied to terminal, comprise:
Obtain the operation instruction information to a screen that described terminal gathers, described screen is the touch-screen of described terminal;
The anglec of rotation of the video pictures that described screen shows being carried out to rotation process is determined according to described operation instruction information;
The video pictures that described screen shows is rotated according to the described anglec of rotation.
Wherein, described operation instruction information is a camber line sliding trace on the screen;
Determine that the step of the video pictures that screen shows being carried out to the anglec of rotation of rotation process comprises according to described operation instruction information:
The starting point and ending point of described camber line sliding trace is determined according to described operation instruction information;
Radian between described starting point and described terminating point is defined as the described anglec of rotation.
Wherein, also comprise after the video pictures that described screen shows being rotated according to the described anglec of rotation:
Postrotational video pictures is adjusted, makes the video pictures after adjustment and described screen adaptation.
Wherein, postrotational video pictures is adjusted, the step of the video pictures after adjustment and described screen adaptation is comprised:
If postrotational video pictures comprises the part exceeding described screen border, then described postrotational video pictures is narrowed down to the size that described screen can all show.
Wherein, also comprise after described postrotational video pictures being narrowed down to the size that described screen can all show:
What do not show described video pictures on the screen is partially filled background colour.
For solving the problems of the technologies described above, embodiments of the invention also provide a kind of device adjusting video pictures, are applied to terminal, comprise:
Acquisition module, for obtaining the operation instruction information to a screen that described terminal gathers, described screen is the touch-screen of described terminal;
Determination module, for determining the anglec of rotation of the video pictures that described screen shows being carried out to rotation process according to described operation instruction information;
Rotary module, for rotating the video pictures that described screen shows according to the described anglec of rotation.
Wherein, described operation instruction information is a camber line sliding trace on the screen;
Described determination module comprises:
First determines submodule, for determining the starting point and ending point of described camber line sliding trace according to described operation instruction information;
Second determines submodule, for the radian between described starting point and described terminating point is defined as the described anglec of rotation.
Wherein, the device of above-mentioned adjustment video pictures also comprises:
Adjusting module, for being adjusted by postrotational video pictures, makes the video pictures after adjustment and described screen adaptation.
Wherein, described adjusting module comprises:
Reduce module, if comprise the part exceeding described screen border for postrotational video pictures, then described postrotational video pictures is narrowed down to the size that described screen can all show.
Wherein, the device of above-mentioned adjustment video pictures also comprises:
Packing module, is partially filled background colour for what do not show described video pictures on the screen.
For solving the problems of the technologies described above, embodiments of the invention also provide a kind of terminal, comprise touch-screen, also comprise: the device of adjustment video pictures as above.
The beneficial effect of technique scheme of the present invention is as follows:
The method of the adjustment video pictures of the embodiment of the present invention, is applied to terminal, and first obtain the operation instruction information to a screen that terminal gathers, this screen is the touch-screen of this terminal; Then the anglec of rotation of the video pictures that screen shows being carried out to rotation process is determined according to this operation instruction information; Finally the video pictures that screen shows is rotated according to the anglec of rotation.Achieve and utilize contact action to adjust video typing or play the object of angle, convenient for users to use, improve user's impression, add practicality and intellectuality.
Accompanying drawing explanation
Fig. 1 is the method flow diagram that the present invention adjusts video pictures;
Fig. 2 is the structural representation that the present invention adjusts the device of video pictures.
Embodiment
For making the technical problem to be solved in the present invention, technical scheme and advantage clearly, be described in detail below in conjunction with the accompanying drawings and the specific embodiments.
The method of the adjustment video pictures of the embodiment of the present invention, can adjust the angle of video typing or broadcasting, convenient for users to use, adds practicality and intellectuality.
As shown in Figure 1, the method for the adjustment video pictures of the embodiment of the present invention, is applied to terminal, comprises:
Step 11, obtain the operation instruction information to a screen that described terminal gathers, described screen is the touch-screen of described terminal;
Step 12, determines the anglec of rotation of the video pictures that described screen shows being carried out to rotation process according to described operation instruction information;
Step 13, rotates the video pictures that described screen shows according to the described anglec of rotation.
The method of the adjustment video pictures of the embodiment of the present invention, first obtain the operation instruction information to a screen that terminal gathers, this screen is the touch-screen of this terminal; Then the anglec of rotation of the video pictures that screen shows being carried out to rotation process is determined according to this operation instruction information; Finally the video pictures that screen shows is rotated according to the anglec of rotation.Achieve and utilize contact action to adjust video typing or play the object of angle, convenient for users to use, improve user's impression, add practicality and intellectuality.
In specific embodiments of the invention, described operation instruction information can be a camber line sliding trace on the screen;
The step of above-mentioned steps 12 can comprise:
Step 121, determines the starting point and ending point of described camber line sliding trace according to described operation instruction information;
Step 122, is defined as the described anglec of rotation by the radian between described starting point and described terminating point.
Now, can by pointing the angle that the length of drawing camber line on screen decides to rotate, user can set according to demand, convenient for users to use.
Wherein, the direction described starting point can being pointed to described terminating point is defined as the sense of rotation that the video pictures that screen shows carries out rotation process.
Now, can determine sense of rotation by the direction of finger drawn camber line on screen, user can set according to demand, convenient for users to use.
A kind of specific embodiment, radian between the starting point of user's drawn camber line on screen and terminating point is 90 degree, the direction that starting point points to terminating point is clockwise (or counterclockwise), then determine that the anglec of rotation of the video pictures that screen shows being carried out to rotation process is 90 degree, sense of rotation is clockwise (or counterclockwise).
Further, can also comprise after above-mentioned steps 13:
Step 14, adjusts postrotational video pictures, makes the video pictures after adjustment and described screen adaptation.
Now, the video pictures after adjustment and screen adaptation, as size, resolution etc., make the video pictures after adjustment be more suitable for viewing and admiring, and improves user's impression.
Wherein, the video resolution of screen is seldom foursquare, if the video before rotating is played in full screen, postrotational video length and width exchange, and just can not carry out played in full screen again, therefore, the step of above-mentioned steps 14 can comprise:
Step 141, if postrotational video pictures comprises the part exceeding described screen border, then narrows down to the size that described screen can all show by described postrotational video pictures.
Now, postrotational video pictures all can show in screen, ensure that the normal viewing of user, improves user's impression.
Further, can also comprise after above-mentioned steps 141:
Step 142, what do not show described video pictures on the screen is partially filled background colour.
Now, by filling background colour on screen, ensure that the integrality of video pictures, making the video pictures after adjustment be more suitable for viewing and admiring, improve user's impression, add practicality.
Specific embodiments of the invention are illustrated as follows below.
The method of the adjustment video pictures of the embodiment of the present invention can be applied to the mobile phone terminal comprising touch-screen and camera.
When if user uses mobile phone to play a video or uses mobile phone typing one video, encountering a scenery is stand upside down or lie down, and wants that front is embodied in video, can use gesture operation rotating video.First obtain the operation instruction information that mobile phone gathers, this operation instruction information is the camber line sliding trace of user on handset touch panel; Then determine the starting point and ending point of camber line sliding trace, the radian between starting point and terminating point is defined as the anglec of rotation of the video pictures on screen being carried out to rotation process; And direction starting point being pointed to terminating point is defined as the sense of rotation of video pictures; Finally the video pictures on screen is rotated according to the anglec of rotation and sense of rotation.In addition, if postrotational video pictures comprises the part exceeding screen border, then postrotational video pictures is narrowed down to the size that screen can all show, and on screen, do not show screen picture be partially filled background colour.Achieve and utilize contact action to adjust video typing or play the object of angle, convenient for users to use, improve user's impression, add practicality and intellectuality.
In addition, when user uses mobile phone typing one video, because record a video once, the resolution of mobile phone is fixing, therefore after video rotates, the picture that mobile phone camera imports into can not directly be given scrambler and encode, but first postrotational video pictures is narrowed down to the size that screen can all show, and on screen, do not show screen picture be partially filled background colour, namely through adjustment size to a suitable size, and flutter black on both sides, or directly cut out an image identical with screen aspect ratio, then postrotational resolution is stretched to, give scrambler again.Make the video pictures after adjustment and screen adaptation, ensure that the normal typing of video, improve user's impression.
The method of the adjustment video pictures of the embodiment of the present invention, achieves and utilizes contact action to adjust video typing or play the object of angle, convenient for users to use, improves user's impression, adds practicality and intellectuality.
As shown in Figure 2, embodiments of the invention additionally provide a kind of device adjusting video pictures, comprising:
Acquisition module, for obtaining the operation instruction information to a screen that described terminal gathers, described screen is the touch-screen of described terminal;
Determination module, for determining the anglec of rotation of the video pictures that described screen shows being carried out to rotation process according to described operation instruction information;
Rotary module, for rotating the video pictures that described screen shows according to the described anglec of rotation.
The device of the adjustment video pictures of the embodiment of the present invention, achieves and utilizes contact action to adjust video typing or play the object of angle, convenient for users to use, improves user's impression, adds practicality and intellectuality.
Wherein, the device of embodiment of the present invention adjustment video pictures can be applicable to mobile phone terminal, and above-mentioned rotary module may correspond to the hardware such as graphic process unit GPU, digital signal processor DSP on mobile phone, also can be software mobile phone carrying out image procossing.
Wherein, described operation instruction information can be a camber line sliding trace on the screen;
Described determination module can comprise:
First determines submodule, for determining the starting point and ending point of described camber line sliding trace according to described operation instruction information;
Second determines submodule, for the radian between described starting point and described terminating point is defined as the described anglec of rotation.
Now, can by pointing the angle that the length of drawing camber line on screen decides to rotate, user can set according to demand, convenient for users to use.
Wherein, the device of the adjustment video pictures of the embodiment of the present invention can also comprise:
Adjusting module, for being adjusted by postrotational video pictures, makes the video pictures after adjustment and described screen adaptation.
Now, the video pictures after adjustment and screen adaptation, as size, resolution etc., make the video pictures after adjustment be more suitable for viewing and admiring, and improves user's impression.
Concrete, described adjusting module can comprise:
Reduce module, if comprise the part exceeding described screen border for postrotational video pictures, then described postrotational video pictures is narrowed down to the size that described screen can all show.
Now, postrotational video pictures all can show in screen, ensure that the normal viewing of user, improves user's impression.
Further, the device of the adjustment video pictures of the embodiment of the present invention can also comprise:
Packing module, is partially filled background colour for what do not show described video pictures on the screen.
Now, by filling background colour on screen, ensure that the integrality of video pictures, making the video pictures after adjustment be more suitable for viewing and admiring, improve user's impression, add practicality.
The device of the adjustment video pictures of the embodiment of the present invention, achieves and utilizes contact action to adjust video typing or play the object of angle, convenient for users to use, improves user's impression, adds practicality and intellectuality.
It should be noted that, the device of this adjustment video pictures is the device corresponding with the method for above-mentioned adjustment video pictures, and wherein in said method embodiment, all implementations are all applicable in the embodiment of this device, also can reach same technique effect.
Because the application of installation of the adjustment video pictures of the embodiment of the present invention is in terminal, therefore, the embodiment of the present invention additionally provides a kind of terminal, comprising: the device of the adjustment video pictures as described in above-described embodiment.Wherein, the described example that realizes of the device of above-mentioned adjustment video pictures is all applicable in the embodiment of this terminal, also can reach identical technique effect.
The above is the preferred embodiment of the present invention; it should be pointed out that for those skilled in the art, under the prerequisite not departing from principle of the present invention; can also make some improvements and modifications, these improvements and modifications also should be considered as protection scope of the present invention.

Claims (11)

1. adjust a method for video pictures, be applied to terminal, it is characterized in that, comprising:
Obtain the operation instruction information to a screen that described terminal gathers, described screen is the touch-screen of described terminal;
The anglec of rotation of the video pictures that described screen shows being carried out to rotation process is determined according to described operation instruction information;
The video pictures that described screen shows is rotated according to the described anglec of rotation.
2. method according to claim 1, is characterized in that, described operation instruction information is a camber line sliding trace on the screen;
Determine that the step of the video pictures that screen shows being carried out to the anglec of rotation of rotation process comprises according to described operation instruction information:
The starting point and ending point of described camber line sliding trace is determined according to described operation instruction information;
Radian between described starting point and described terminating point is defined as the described anglec of rotation.
3. method according to claim 1, is characterized in that, also comprises after being rotated by the video pictures that described screen shows according to the described anglec of rotation:
Postrotational video pictures is adjusted, makes the video pictures after adjustment and described screen adaptation.
4. method according to claim 3, is characterized in that, is adjusted by postrotational video pictures, and the step of the video pictures after adjustment and described screen adaptation is comprised:
If postrotational video pictures comprises the part exceeding described screen border, then described postrotational video pictures is narrowed down to the size that described screen can all show.
5. method according to claim 4, is characterized in that, also comprises after described postrotational video pictures being narrowed down to the size that described screen can all show:
What do not show described video pictures on the screen is partially filled background colour.
6. adjust a device for video pictures, be applied to terminal, it is characterized in that, comprising:
Acquisition module, for obtaining the operation instruction information to a screen that described terminal gathers, described screen is the touch-screen of described terminal;
Determination module, for determining the anglec of rotation of the video pictures that described screen shows being carried out to rotation process according to described operation instruction information;
Rotary module, for rotating the video pictures that described screen shows according to the described anglec of rotation.
7. device according to claim 6, is characterized in that, described operation instruction information is a camber line sliding trace on the screen;
Described determination module comprises:
First determines submodule, for determining the starting point and ending point of described camber line sliding trace according to described operation instruction information;
Second determines submodule, for the radian between described starting point and described terminating point is defined as the described anglec of rotation.
8. device according to claim 6, is characterized in that, also comprises:
Adjusting module, for being adjusted by postrotational video pictures, makes the video pictures after adjustment and described screen adaptation.
9. device according to claim 8, is characterized in that, described adjusting module comprises:
Reduce module, if comprise the part exceeding described screen border for postrotational video pictures, then described postrotational video pictures is narrowed down to the size that described screen can all show.
10. device according to claim 9, is characterized in that, also comprises:
Packing module, is partially filled background colour for what do not show described video pictures on the screen.
11. 1 kinds of terminals, comprise touch-screen, it is characterized in that, also comprise: the device of the adjustment video pictures as described in any one of claim 6-10.
CN201410133267.8A 2014-04-03 2014-04-03 Video image adjusting method, video image adjusting device and terminal Pending CN104978116A (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN201410133267.8A CN104978116A (en) 2014-04-03 2014-04-03 Video image adjusting method, video image adjusting device and terminal

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN201410133267.8A CN104978116A (en) 2014-04-03 2014-04-03 Video image adjusting method, video image adjusting device and terminal

Publications (1)

Publication Number Publication Date
CN104978116A true CN104978116A (en) 2015-10-14

Family

ID=54274672

Family Applications (1)

Application Number Title Priority Date Filing Date
CN201410133267.8A Pending CN104978116A (en) 2014-04-03 2014-04-03 Video image adjusting method, video image adjusting device and terminal

Country Status (1)

Country Link
CN (1) CN104978116A (en)

Cited By (7)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN105872725A (en) * 2016-03-31 2016-08-17 杭州来秀信息技术有限公司 Video production method and device
CN105898566A (en) * 2016-04-29 2016-08-24 乐视控股(北京)有限公司 Video content presenting switching method and device, and mobile play terminal
CN109348139A (en) * 2018-10-19 2019-02-15 北京凯视达科技有限公司 Video rotation method, device, computer readable storage medium and electronic equipment
CN113126836A (en) * 2019-12-31 2021-07-16 Tcl集团股份有限公司 Picture display method, storage medium and terminal equipment
WO2021184369A1 (en) * 2020-03-20 2021-09-23 西安诺瓦星云科技股份有限公司 Screen display control method, apparatus and system
CN113900568A (en) * 2021-11-16 2022-01-07 创盛视联数码科技(北京)有限公司 Picture rotating method, electronic device and storage medium thereof
CN114257762A (en) * 2021-12-20 2022-03-29 咪咕音乐有限公司 Video conversion method, device, equipment and storage medium

Citations (4)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
US20040157647A1 (en) * 2003-02-07 2004-08-12 Akira Takahashi Portable electronic device, display direction switching method, and recording medium
CN103096046A (en) * 2011-10-28 2013-05-08 深圳市快播科技有限公司 Video frame processing method, device and player
CN103220485A (en) * 2012-01-18 2013-07-24 腾讯科技(深圳)有限公司 Displayed video picture rotating method and system
CN103425401A (en) * 2013-08-21 2013-12-04 乐视网信息技术(北京)股份有限公司 Method for adjusting file playing angle and electronic terminal

Patent Citations (4)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
US20040157647A1 (en) * 2003-02-07 2004-08-12 Akira Takahashi Portable electronic device, display direction switching method, and recording medium
CN103096046A (en) * 2011-10-28 2013-05-08 深圳市快播科技有限公司 Video frame processing method, device and player
CN103220485A (en) * 2012-01-18 2013-07-24 腾讯科技(深圳)有限公司 Displayed video picture rotating method and system
CN103425401A (en) * 2013-08-21 2013-12-04 乐视网信息技术(北京)股份有限公司 Method for adjusting file playing angle and electronic terminal

Cited By (9)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN105872725A (en) * 2016-03-31 2016-08-17 杭州来秀信息技术有限公司 Video production method and device
CN105898566A (en) * 2016-04-29 2016-08-24 乐视控股(北京)有限公司 Video content presenting switching method and device, and mobile play terminal
CN109348139A (en) * 2018-10-19 2019-02-15 北京凯视达科技有限公司 Video rotation method, device, computer readable storage medium and electronic equipment
CN113126836A (en) * 2019-12-31 2021-07-16 Tcl集团股份有限公司 Picture display method, storage medium and terminal equipment
WO2021184369A1 (en) * 2020-03-20 2021-09-23 西安诺瓦星云科技股份有限公司 Screen display control method, apparatus and system
CN113474749A (en) * 2020-03-20 2021-10-01 西安诺瓦星云科技股份有限公司 Screen display control method, device and system
CN113474749B (en) * 2020-03-20 2024-02-09 西安诺瓦星云科技股份有限公司 Screen display control method, device and system
CN113900568A (en) * 2021-11-16 2022-01-07 创盛视联数码科技(北京)有限公司 Picture rotating method, electronic device and storage medium thereof
CN114257762A (en) * 2021-12-20 2022-03-29 咪咕音乐有限公司 Video conversion method, device, equipment and storage medium

Similar Documents

Publication Publication Date Title
CN104978116A (en) Video image adjusting method, video image adjusting device and terminal
US10986345B2 (en) Backward-compatible video capture and distribution
CN110301136B (en) System and method for selective object of interest scaling in streaming video
CN104010225B (en) The method and system of display panoramic video
US10235795B2 (en) Methods of compressing a texture image and image data processing system and methods of generating a 360 degree panoramic video thereof
WO2017016339A1 (en) Video sharing method and device, and video playing method and device
US20170330533A1 (en) Method for image displaying and electronic device thereof
CN108419113B (en) Subtitle display method and device
WO2019105467A1 (en) Method and device for sharing information, storage medium, and electronic device
WO2020062684A1 (en) Video processing method and device, terminal, and storage medium
WO2023011473A1 (en) Channel switching method and apparatus, and electronic device
CN103475823A (en) Display device and image processing method for same
CN107608601B (en) Video playback method, mobile terminal and computer readable storage medium
CN110825302A (en) Method for responding operation track and operation track responding device
US20190096139A1 (en) Method, Apparatus and Electronic Device for Displaying an Image and Storage Medium
WO2022161383A1 (en) Filming control method and apparatus, and electronic device
CN106658175A (en) Video display method and system for television terminal
US20200404214A1 (en) An apparatus and associated methods for video presentation
CN112965780A (en) Image display method, apparatus, device and medium
CN110839174A (en) Image processing method and device, computer equipment and storage medium
WO2022156703A1 (en) Image display method and apparatus, and electronic device
WO2017143728A1 (en) Method for switching between operation interfaces of intelligent terminal
US20230368338A1 (en) Image display method and apparatus, and electronic device
CN107864396A (en) A kind of method, apparatus, equipment and storage medium for setting television startup picture
CN104679383A (en) Method and device for switching photographing buttons automatically

Legal Events

Date Code Title Description
C06 Publication
PB01 Publication
C10 Entry into substantive examination
SE01 Entry into force of request for substantive examination
RJ01 Rejection of invention patent application after publication

Application publication date: 20151014

RJ01 Rejection of invention patent application after publication