CN103105999A - Video window adjustment method and mobile intelligent terminal - Google Patents
Video window adjustment method and mobile intelligent terminal Download PDFInfo
- Publication number
- CN103105999A CN103105999A CN2013100179159A CN201310017915A CN103105999A CN 103105999 A CN103105999 A CN 103105999A CN 2013100179159 A CN2013100179159 A CN 2013100179159A CN 201310017915 A CN201310017915 A CN 201310017915A CN 103105999 A CN103105999 A CN 103105999A
- Authority
- CN
- China
- Prior art keywords
- video window
- video
- window
- width
- length
- 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
Landscapes
- Two-Way Televisions, Distribution Of Moving Picture Or The Like (AREA)
- Telephone Function (AREA)
- User Interface Of Digital Computer (AREA)
Abstract
The invention is suitable for the technical field of communication, and provides a video window adjustment method and a mobile intelligent terminal. The method includes receiving a command to adjust a video window which a video file corresponds to, querying video file information to obtain a resolution ratio of the video window which the video file corresponds to, confirming a length-to-width ratio of the video window, judging whether the direction of the video window needs adjusting according to the length-to-width ratio of the video window and the length-to-width ratio of a screen of the mobile terminal, and adjusting the direction of the video window to enable the area of the video window to be largest when the direction of the video window needs adjusting. According to the video window adjustment method and the mobile intelligent terminal, the playing direction of a video is adjusted according to the length-to-width ratio of the video window which the video file corresponds to, the largest playing area of the video window is obtained, and the problem that in the prior art, when a user shuts down a gravity sensor, the largest playing area cannot be obtained is solved.
Description
Technical field
The invention belongs to the mobile communication technology field, relate in particular to method and mobile intelligent terminal that a kind of video window is adjusted.
Background technology
During present smart mobile phone displaying video, can utilize the direction of gravity sensor induction mobile phone, thereby automatically adjust video laterally or vertical the broadcast, bring best displaying video impression with expectation to the user.But a lot of user's displaying video scenes is all in the situation that the people is facing upward or recumbency occurs now, this moment, mobile phone will often switch anyhow to broadcast, experience very poor, so when displaying video, most people can close gravity sensor, but may not obtain again maximum broadcast area; Therefore the problem that exists of prior art is, when user's displaying video scene is all in the situation that the people is facing upward or recumbency occurs, this moment, mobile phone will often switch anyhow to broadcast, experiences very poor; When the user closes gravity sensor, can not obtain maximum broadcast area.
Summary of the invention
The purpose of the embodiment of the present invention is to provide a kind of method and mobile intelligent terminal of video window adjustment, with solve prior art exist when user's displaying video scene be all in the situation that the people is facing upward or recumbency occurs, this moment, mobile phone will often switch anyhow to broadcast, experienced very poor; When the user closes gravity sensor, can not obtain the problem of maximum broadcast area.
Embodiments of the invention are achieved in that a kind of method that video window is adjusted, and said method comprising the steps of:
Receive the order of adjusting video window corresponding to video file;
The inquiry video file information is obtained video window resolution corresponding to described video file, determines the Aspect Ratio of described video window;
According to the screen aspect ratio example of the Aspect Ratio of described video window and mobile terminal, judge whether to adjust the direction of video window;
When needs are adjusted the direction of video window, adjust the direction of video window and make the video window area maximum.
Another purpose of embodiments of the invention is to provide a kind of mobile intelligent terminal of video window adjustment, and described mobile intelligent terminal comprises:
Receiving element is used for receiving the order of adjusting video window corresponding to video file;
Query unit is used for the inquiry video file information and obtains video window resolution corresponding to described video file, determines the Aspect Ratio of described video window;
Judging unit is used for the screen aspect ratio example according to Aspect Ratio and the mobile terminal of described video window, judges whether to adjust the direction of video window;
Adjustment unit is used for when needing to adjust the direction of video window, adjusts the direction of video window and makes the video window area maximum.
Method and mobile intelligent terminal that the embodiment of the present invention provides a kind of video window to adjust, by obtaining the length breadth ratio of video window corresponding to video file, adjust the video playback direction, make video window obtain the maximum area of playing, and solved that prior art exists when user's displaying video scene be all in the situation that the people is facing upward or recumbency occurs, this moment, mobile phone will often switch anyhow to broadcast, experienced very poor; When the user closes gravity sensor, can not obtain maximum broadcast area for cutting.
Description of drawings
In order to be illustrated more clearly in the technical scheme in the embodiment of the present invention, the below will do to introduce simply to the accompanying drawing of required use in embodiment or description of the Prior Art, apparently, accompanying drawing in the following describes is only some embodiments of the present invention, for those of ordinary skills, under the prerequisite of not paying creative work, can also obtain according to these accompanying drawings other accompanying drawing.
Fig. 1 is the realization flow figure of the method adjusted of the video window that provides of one embodiment of the invention;
Fig. 2 be another embodiment of the present invention provide when the length of video window greater than width, mobile terminal screen length during less than width, the schematic diagram of mobile terminal screen and video window;
Fig. 3 is the schematic diagram of the postrotational mobile terminal screen of video window and video window in embodiment corresponding to Fig. 2 of providing of another embodiment of the present invention;
Fig. 4 be another embodiment of the present invention provide when the length of video window less than width, mobile terminal screen length during greater than width, the schematic diagram of mobile terminal screen and video window;
Fig. 5 is the schematic diagram of the postrotational mobile terminal screen of video window and video window in embodiment corresponding to Fig. 4 of providing of another embodiment of the present invention;
Fig. 6 is the modular structure figure of the mobile intelligent terminal adjusted of the video window that provides of another embodiment of the present invention.
Embodiment
In order to make purpose of the present invention, technical scheme and advantage clearer, below in conjunction with drawings and Examples, the present invention is further elaborated.Should be appreciated that specific embodiment described herein only in order to explain the present invention, is not intended to limit the present invention.
The method that one embodiment of the invention provides video window to adjust, described method specifically comprises as shown in Figure 1:
The order of video window corresponding to video file is adjusted in S11, reception.
S12, inquiry video file information are obtained video window resolution corresponding to described video file, determine the Aspect Ratio of described video window.
Need to prove, the method of determining the Aspect Ratio of video window by the resolution of video window is, obtain the pixel of length and width by the resolution of video window, determine Aspect Ratio according to the pixel of length direction and the pixel of cross direction, for example the resolution of video window is 800*640, obtaining the length direction pixel is 800, and the pixel of cross direction is 640, and obtaining Aspect Ratio by mathematical expression is 800/640 for 5:4.
S13, according to the screen aspect ratio example of the Aspect Ratio of described video window and mobile terminal, judge whether to adjust the direction of video window.
Need to prove, when the length of video window greater than width and mobile terminal screen length less than width, can not obtain the maximum area of playing, therefore need to adjust by the rotating video window direction of video window; When the length of video window less than width and mobile terminal screen length greater than width, need to adjust by the rotating video window direction of video window equally.
S14, when needs are adjusted the direction of video window, the direction of adjusting video window also makes the video window area maximum.
Optionally, also comprised before carrying out S11:
Close gravity sensor.
Optionally, described S14 is specially:
When the length of video window greater than width, mobile terminal screen length less than width, rotating video window 90 degree, and video window is expanded to maximized window;
Or when the length of video window less than width, mobile terminal screen length greater than width, rotating video window 90 degree, and video window is expanded to maximized window.
Need to prove, because the Aspect Ratio of video window might not be consistent with the mobile terminal screen Aspect Ratio, so video window is expanded to maximized window and does not mean that video window can take the screen of whole mobile terminal, but enlarge rear long or wide have at least length the same as mobile terminal screen or width on one side; After choosing turn 90 degrees the video window direction may with the opposite direction of people's sight line, the image that is down that presents needs the artificially direction of adjustment display screen.
Another embodiment of the present invention provides length when video window greater than width, mobile terminal screen length during less than width, the schematic diagram of mobile terminal screen and video window as shown in Figure 2, and after the rotating video window mobile terminal screen and video window schematic diagram as shown in Figure 3, specifically comprise:
As shown in Figure 2, greater than width, mobile terminal screen length during less than width, the screen area that the video window maximum can be occupied is less when the length of video window, and the user experiences relatively poor; As shown in Figure 3, after the rotating video window, video window can be further according to the adjusted size video window of mobile terminal screen.
Another embodiment of the present invention provides length when video window greater than width, mobile terminal screen length during greater than width, the schematic diagram of mobile terminal screen and video window as shown in Figure 4, and after the rotating video window mobile terminal screen and video window schematic diagram as shown in Figure 5, specifically comprise:
As shown in Figure 4, greater than width, mobile terminal screen length during less than width, the screen area that the video window maximum can be occupied is less when the length of video window, and the user experiences bad; As shown in Figure 5, after the rotating video window, can be further according to mobile terminal screen adjusted size video window.
The mobile intelligent terminal that another embodiment of the present invention provides video window to adjust, described mobile intelligent terminal specifically comprises as shown in Figure 6:
Receiving element 61 is used for receiving the order of adjusting video window corresponding to video file;
Optionally, described mobile intelligent terminal also comprises:
Closing unit is used for closing gravity sensor.
Optionally, described adjustment unit 64 specifically comprises:
The first adjusting module is used for length when video window greater than width, mobile terminal screen length during less than width, and rotating video window 90 is spent, and video window is expanded to maximized window.
The second adjusting module is used for length when video window less than width, mobile terminal screen length during greater than width, and rotating video window 90 is spent, and video window is expanded to maximized window.
One of ordinary skill in the art will appreciate that as the included modules of above-described embodiment is to divide according to function logic, but be not limited to above-mentioned division, as long as can realize corresponding function; In addition, the concrete title of each functional module also just for the ease of mutual differentiation, is not limited to protection scope of the present invention.
Those of ordinary skills it is also understood that, realize that all or part of step in above-described embodiment method is to come the relevant hardware of instruction to complete by program, described program can be in being stored in the mobile intelligent terminal read/write memory medium, described storage medium comprises ROM/RAM etc.
The above is only preferred embodiment of the present invention, not in order to limiting the present invention, all any modifications of doing within the spirit and principles in the present invention, is equal to and replaces and improvement etc., within all should being included in protection scope of the present invention.
Claims (6)
1. the method that video window is adjusted, is characterized in that, described method comprises:
Receive the order of adjusting video window corresponding to video file;
The inquiry video file information is obtained video window resolution corresponding to described video file, determines the Aspect Ratio of described video window;
According to the screen aspect ratio example of the Aspect Ratio of described video window and mobile terminal, judge whether to adjust the direction of mobile terminal screen;
When needs are adjusted the direction of mobile terminal screen, adjust the direction of video window and make the video window area maximum.
2. the method for claim 1, is characterized in that, the order that video window corresponding to video file adjusted in described reception also comprises before:
Close gravity sensor.
3. the method for claim 1, is characterized in that, and is described when needing to adjust the direction of video window, adjusts the direction of video window and video window area maximum is specially:
When the length of video window greater than width, mobile terminal screen length during less than width, rotating video window 90 degree, and video window is expanded to maximized window;
Or when the length of video window less than width, mobile terminal screen length during greater than width, rotating video window 90 degree, and video window is expanded to maximized window.
4. the mobile intelligent terminal that video window is adjusted, is characterized in that, described mobile intelligent terminal comprises:
Receiving element is used for receiving the order of adjusting video window corresponding to video file;
Query unit is used for the inquiry video file information and obtains video window resolution corresponding to described video file, determines the Aspect Ratio of described video window;
Judging unit is used for the screen aspect ratio example according to Aspect Ratio and the mobile terminal of described video window, judges whether to adjust the direction of video window;
Adjustment unit is used for when needing to adjust the direction of video window, adjusts the direction of video window and makes the video window area maximum.
5. mobile intelligent terminal as claimed in claim 4, is characterized in that, described mobile intelligent terminal also comprises:
Closing unit is used for closing gravity sensor.
6. mobile intelligent terminal as claimed in claim 4, is characterized in that, described adjustment unit specifically comprises:
The first adjusting module, be used for length when video window greater than width, mobile terminal screen length less than width, rotating video window 90 degree, and video window is expanded to maximized window;
The second adjusting module, be used for length when video window less than width, mobile terminal screen length greater than width, rotating video window 90 degree, and video window is expanded to maximized window.
Priority Applications (1)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
CN2013100179159A CN103105999A (en) | 2013-01-17 | 2013-01-17 | Video window adjustment method and mobile intelligent terminal |
Applications Claiming Priority (1)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
CN2013100179159A CN103105999A (en) | 2013-01-17 | 2013-01-17 | Video window adjustment method and mobile intelligent terminal |
Publications (1)
Publication Number | Publication Date |
---|---|
CN103105999A true CN103105999A (en) | 2013-05-15 |
Family
ID=48313907
Family Applications (1)
Application Number | Title | Priority Date | Filing Date |
---|---|---|---|
CN2013100179159A Pending CN103105999A (en) | 2013-01-17 | 2013-01-17 | Video window adjustment method and mobile intelligent terminal |
Country Status (1)
Country | Link |
---|---|
CN (1) | CN103105999A (en) |
Cited By (13)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN103607629A (en) * | 2013-11-22 | 2014-02-26 | 乐视网信息技术(北京)股份有限公司 | Multimedia file playing method and electronic terminal |
CN103699657A (en) * | 2013-12-26 | 2014-04-02 | 乐视网信息技术(北京)股份有限公司 | Method and device for playing and processing multimedia of web pages |
CN103745709A (en) * | 2014-01-24 | 2014-04-23 | 福州瑞芯微电子有限公司 | Embedded self-adaptive screen displaying method |
CN104020928A (en) * | 2014-06-09 | 2014-09-03 | 联想(北京)有限公司 | Image display method and device |
CN105159640A (en) * | 2015-08-28 | 2015-12-16 | 小米科技有限责任公司 | Display interface rotation method and device, and mobile terminal |
CN106028095A (en) * | 2016-06-07 | 2016-10-12 | 北京奇虎科技有限公司 | Method and device for controlling video playing |
WO2017000647A1 (en) * | 2015-06-30 | 2017-01-05 | 中兴通讯股份有限公司 | Image display method and device |
CN106911839A (en) * | 2015-12-22 | 2017-06-30 | 佳能株式会社 | Electronic equipment and its control method |
WO2018228062A1 (en) * | 2017-06-12 | 2018-12-20 | 维沃移动通信有限公司 | Application interface display method under split-screen display state and mobile terminal |
CN110336923A (en) * | 2019-07-16 | 2019-10-15 | 网易(杭州)网络有限公司 | A kind of switching method of play mode, device, electronic equipment and storage medium |
CN111031176A (en) * | 2019-12-03 | 2020-04-17 | 深圳市瑞驰信息技术有限公司 | Intelligent rotation method for display interface of intelligent terminal |
WO2021098537A1 (en) * | 2019-11-19 | 2021-05-27 | 北京字节跳动网络技术有限公司 | View adjustment method and apparatus for target device, electronic device, and medium |
CN115866353A (en) * | 2022-12-16 | 2023-03-28 | 摩尔线程智能科技(北京)有限责任公司 | Control method, device and equipment applied to screen direction of vehicle display screen |
Citations (4)
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 |
US20090172090A1 (en) * | 2007-11-07 | 2009-07-02 | Hy Lit Radio Technologies, Inc. | Information display system and method |
CN101968362A (en) * | 2009-07-27 | 2011-02-09 | 宏达国际电子股份有限公司 | Navigation picture regulating method, navigation apparatus and computer program product |
CN102421021A (en) * | 2011-11-22 | 2012-04-18 | 中兴通讯股份有限公司 | Method and system for controlling transverse screen and vertical screen of streaming video to play as well as terminal |
-
2013
- 2013-01-17 CN CN2013100179159A patent/CN103105999A/en active Pending
Patent Citations (4)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
US20090172090A1 (en) * | 2007-11-07 | 2009-07-02 | Hy Lit Radio Technologies, Inc. | Information display system and method |
CN101222570A (en) * | 2008-01-25 | 2008-07-16 | 中兴通讯股份有限公司 | Image browser using for mobile terminal and image regulation method |
CN101968362A (en) * | 2009-07-27 | 2011-02-09 | 宏达国际电子股份有限公司 | Navigation picture regulating method, navigation apparatus and computer program product |
CN102421021A (en) * | 2011-11-22 | 2012-04-18 | 中兴通讯股份有限公司 | Method and system for controlling transverse screen and vertical screen of streaming video to play as well as terminal |
Cited By (19)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN103607629A (en) * | 2013-11-22 | 2014-02-26 | 乐视网信息技术(北京)股份有限公司 | Multimedia file playing method and electronic terminal |
CN103607629B (en) * | 2013-11-22 | 2017-02-08 | 乐视网信息技术(北京)股份有限公司 | Multimedia file playing method and electronic terminal |
CN103699657A (en) * | 2013-12-26 | 2014-04-02 | 乐视网信息技术(北京)股份有限公司 | Method and device for playing and processing multimedia of web pages |
CN103745709A (en) * | 2014-01-24 | 2014-04-23 | 福州瑞芯微电子有限公司 | Embedded self-adaptive screen displaying method |
CN104020928A (en) * | 2014-06-09 | 2014-09-03 | 联想(北京)有限公司 | Image display method and device |
CN106326281A (en) * | 2015-06-30 | 2017-01-11 | 中兴通讯股份有限公司 | A picture display method and device |
WO2017000647A1 (en) * | 2015-06-30 | 2017-01-05 | 中兴通讯股份有限公司 | Image display method and device |
CN105159640A (en) * | 2015-08-28 | 2015-12-16 | 小米科技有限责任公司 | Display interface rotation method and device, and mobile terminal |
CN105159640B (en) * | 2015-08-28 | 2020-06-12 | 北京小米移动软件有限公司 | Display interface rotating method and device and mobile terminal |
CN106911839A (en) * | 2015-12-22 | 2017-06-30 | 佳能株式会社 | Electronic equipment and its control method |
CN106028095A (en) * | 2016-06-07 | 2016-10-12 | 北京奇虎科技有限公司 | Method and device for controlling video playing |
WO2018228062A1 (en) * | 2017-06-12 | 2018-12-20 | 维沃移动通信有限公司 | Application interface display method under split-screen display state and mobile terminal |
CN110336923A (en) * | 2019-07-16 | 2019-10-15 | 网易(杭州)网络有限公司 | A kind of switching method of play mode, device, electronic equipment and storage medium |
CN110336923B (en) * | 2019-07-16 | 2021-06-18 | 网易(杭州)网络有限公司 | Method and device for switching play modes, electronic equipment and storage medium |
WO2021098537A1 (en) * | 2019-11-19 | 2021-05-27 | 北京字节跳动网络技术有限公司 | View adjustment method and apparatus for target device, electronic device, and medium |
US11586255B2 (en) | 2019-11-19 | 2023-02-21 | Beijing Bytedance Network Technology Co., Ltd. | Method and apparatus for adjusting view for target device, electronic device and medium |
CN111031176A (en) * | 2019-12-03 | 2020-04-17 | 深圳市瑞驰信息技术有限公司 | Intelligent rotation method for display interface of intelligent terminal |
CN115866353A (en) * | 2022-12-16 | 2023-03-28 | 摩尔线程智能科技(北京)有限责任公司 | Control method, device and equipment applied to screen direction of vehicle display screen |
CN115866353B (en) * | 2022-12-16 | 2023-09-19 | 摩尔线程智能科技(北京)有限责任公司 | Screen direction control method, device and equipment applied to vehicle display screen |
Similar Documents
Publication | Publication Date | Title |
---|---|---|
CN103105999A (en) | Video window adjustment method and mobile intelligent terminal | |
CN102263860B (en) | Mobile phone capable of automatically switching profiles and method for switching mobile phone profiles | |
CN102722900B (en) | A kind of photo/video for shooting adds method and the device of descriptive information automatically | |
CN102546925B (en) | Mobile terminal and controlling method thereof | |
CN104269155A (en) | Method and device for adjusting refreshing rate of screen | |
CN108594996B (en) | Method and device for automatically adjusting visual angle in virtual roaming | |
US20160173789A1 (en) | Image generation method and apparatus, and mobile terminal | |
CN106485689A (en) | A kind of image processing method and device | |
CN104270562A (en) | Method and device for focusing when photographing | |
CN104811532A (en) | Terminal screen display parameter adjustment method and device | |
CN103593820A (en) | Method for picture processing and terminal | |
KR102019123B1 (en) | Mobile terminal and controlling method thereof | |
CN104104952A (en) | Audio/video processing method and system adapted to storage and play of mobile device | |
CN105095903A (en) | Electronic equipment and image processing method | |
CN103220464A (en) | Photo-taking method and photo-taking system | |
CN104346057A (en) | Background color adjusting method and background color adjusting device | |
CN103259925B (en) | Method, device and mobile terminal for setting contact photo | |
CN104777980A (en) | Method and device for electricity saving of high-resolution terminal | |
CN103488373A (en) | Picture showing method and device and mobile terminal | |
US9341861B2 (en) | Mobile terminal and controlling method thereof | |
CN103108128A (en) | Method, system and mobile terminal of automatic focusing | |
CN103116404A (en) | Face recognition unlocking method and mobile smart terminal | |
CN106383577B (en) | Scene control implementation method and system for VR video playing device | |
CN102945076B (en) | A kind of display terminal image rotating method, device and a kind of display control program | |
CN103327262A (en) | Video segmentation method and system |
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: 20130515 |
|
RJ01 | Rejection of invention patent application after publication |