CN109729408A - A kind of mobile terminal high definition Online Video Zoom method - Google Patents

A kind of mobile terminal high definition Online Video Zoom method Download PDF

Info

Publication number
CN109729408A
CN109729408A CN201811556010.8A CN201811556010A CN109729408A CN 109729408 A CN109729408 A CN 109729408A CN 201811556010 A CN201811556010 A CN 201811556010A CN 109729408 A CN109729408 A CN 109729408A
Authority
CN
China
Prior art keywords
video
point
mobile terminal
record
high definition
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.)
Granted
Application number
CN201811556010.8A
Other languages
Chinese (zh)
Other versions
CN109729408B (en
Inventor
周欣
Current Assignee (The listed assignees may be inaccurate. Google has not performed a legal analysis and makes no representation or warranty as to the accuracy of the list.)
SICHUAN KUN HE TECHNOLOGY Co Ltd
Original Assignee
SICHUAN KUN HE TECHNOLOGY Co Ltd
Priority date (The priority date is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the date listed.)
Filing date
Publication date
Application filed by SICHUAN KUN HE TECHNOLOGY Co Ltd filed Critical SICHUAN KUN HE TECHNOLOGY Co Ltd
Priority to CN201811556010.8A priority Critical patent/CN109729408B/en
Publication of CN109729408A publication Critical patent/CN109729408A/en
Application granted granted Critical
Publication of CN109729408B publication Critical patent/CN109729408B/en
Active legal-status Critical Current
Anticipated expiration legal-status Critical

Links

Landscapes

  • Two-Way Televisions, Distribution Of Moving Picture Or The Like (AREA)

Abstract

The invention discloses a kind of mobile terminal high definition Online Video Zoom methods, comprising: S101: the picture area for needing to scale in selection video;S102: the initial point coordinate in zoom area is obtained;S103: the maximal end point coordinate in zoom area is obtained;S104: video pictures are calculated according to initial point coordinate and maximal end point coordinate and scale multiple;S105: the video pictures of selection are scaled according to calculated scaling multiple;S106: the video pictures of scaling are moved to center Screen;Present invention effect realizes video can carry out function that is any and accurately scaling in playing process to video pictures, amplify user to part in greater detail in video according to their own needs when watching HD video, to carefully watch, user experience is improved;Can also real-time recording, editor and sharing video frequency segment function, increase interactivity of user during watching video.

Description

A kind of mobile terminal high definition Online Video Zoom method
Technical field
The present invention relates to field of data service, especially a kind of mobile terminal high definition Online Video Zoom method.
Background technique
The frequency of use of the mobile terminals such as mobile phone, tablet computer in people's lives is higher and higher at present, especially will The 5G epoch of arrival, people will become more dependent in mobile terminal, and watching video by mobile terminal is that present people usually use Come one of the project entertained;As the speed of mobile network is more rapid, the HD video of many 4K or 8K can also gradually appear Some details in the selection of Online Video, and when watching this kind of HD video, because of the limitation of mobile phone resolution ratio, in video The picture at position method or can not can reduce video at any time during video-see it is clear that therefore because of showing smaller Picture and can at any time by video judgement share, can to people when watch video more freely and good body It tests.
Current to have the technology zoomed in and out to video in the prior art, which is by identifying that finger is moving Motion track and parameter on dynamic terminal screen carry out video pictures amplification, mainly solving the technical problems that allowing video adaptation hand The resolution ratio of machine, rather than keep details equally clear after HD video amplification, and the technical solution cannot accurately calculate view Frequency picture needs the multiple amplified, cannot guarantee that video can guarantee the fluency of video playing during scaling, can not A certain segment in video record in real time and edits and shares.
Summary of the invention
Goal of the invention of the invention is: in view of the above problems, providing a kind of mobile terminal high definition Online Video contracting Put method;The present invention solves the problems, such as precisely scale video in video display process;It solves and is scaling The problem of video playing is influenced when video pictures;Also solve the problem of being unable to real-time recording editor and sharing video frequency segment.
The technical solution adopted by the invention is as follows:
A kind of mobile terminal high definition Online Video Zoom method characterized by comprising
S101: the picture area for needing to scale in selection video;
S102: the initial point coordinate in zoom area is obtained;
S103: the maximal end point coordinate in zoom area is obtained;
S104: video pictures are calculated according to initial point coordinate and maximal end point coordinate and scale multiple;
S105: the video pictures of selection are scaled according to calculated scaling multiple;
S106: the video pictures of scaling are moved to center Screen.
Further, initial point described in step S2 is 2 points;Maximal end point described in step S3 is 2 points.
Further, the formula of the multiple of calculating scaling described in step S4 are as follows:
Wherein α is scaling multiple, and A and B are initial point, A1And B1For maximal end point, Ax is initial point A point abscissa, and Ay is initial Point A point ordinate, A1X is maximal end point A1Point abscissa, A1Y is maximal end point A1Point ordinate, B1X is maximal end point B1Point abscissa, B1Y is maximal end point B1Point ordinate.
Further, in step S6, when amplifying video pictures, the picture being amplified can be moved to center Screen;When When the video pictures of amplification are contracted to full size, video overall picture is moved to center Screen.
Further, for the video pictures during scaling, video can keep normal playing status.
Further, after video is scaled, selective recording can also be carried out to zoom area, method for recording includes:
S201: it selects the first time point of video record and starts to record;
S202: judge whether that pause is recorded;S203 is executed if suspending recording, persistently records and executes if not suspending recording S205;
S203: pause video record;
S204: it selects the second time point of video record and continues to record;
S205: arrival video record finished after time point, terminated video record.
Further, the video record time point is several, i.e., can suspend several times during video record.
Further, video can be edited and is shared after video record.
Further, it is described share include share to move about terminal with share to third-party platform.
In conclusion by adopting the above-described technical solution, the beneficial effects of the present invention are:
1, the present invention effectively realizes video can carry out function that is any and accurately scaling in playing process to video pictures, Amplify user to part in greater detail in video according to their own needs when watching HD video, thus young Thin viewing, improves user experience.
2, the present invention is logical realizes user during watching video, can real-time recording, editor and sharing video frequency segment Function not only increases user experience, also add user during watching video with the exchange of people and the chance shared.
Detailed description of the invention
Examples of the present invention will be described by way of reference to the accompanying drawings, in which:
Fig. 1 is video scaling method flow diagram.
Fig. 2 is scaling coordinate points identification schematic diagram.
Fig. 3 is contrast schematic diagram before and after zoomed image.
Fig. 4 is recorded video method flow diagram.
Specific embodiment
All features disclosed in this specification or disclosed all methods or in the process the step of, in addition to mutually exclusive Feature and/or step other than, can combine in any way.
Any feature disclosed in this specification (including any accessory claim, abstract), unless specifically stated, It is replaced by other equivalent or with similar purpose alternative features.That is, unless specifically stated, each feature is a series of An example in equivalent or similar characteristics.
Embodiment 1
A kind of mobile terminal high definition Online Video Zoom method, as shown in Figure 1, comprising:
S101: the picture area for needing to scale in selection video;
In above-mentioned steps, the picture area for needing to scale in video is selected mainly to pass through two finger touching mobile terminal screens, The picture area for needing to scale and show is determined by two contact point coordinates.
S102: the initial point coordinate in zoom area is obtained;
In above-mentioned steps, the initial point coordinate is two contact point coordinates in image zooming region needed for determining.
S103: the maximal end point coordinate in zoom area is obtained;
In above-mentioned steps, after initial point coordinate has been determined, two fingers can be slided to any direction, at this time maximal end point coordinate Understand real-time update as the finger moves, after two fingers are finally stopped, the position that finger stops is maximal end point coordinate.
S104: video pictures are calculated according to initial point coordinate and maximal end point coordinate and scale multiple;
In above-mentioned steps, the formula for calculating video pictures amplification factor specifically:
Wherein α is scaling multiple, and A and B are initial point, A1And B1For maximal end point, Ax is initial point A point abscissa, and Ay is initial Point A point ordinate, A1X is maximal end point A1Point abscissa, A1Y is maximal end point A1Point ordinate, B1X is maximal end point B1Point abscissa, B1Y is maximal end point B1Point ordinate.
In actual use, when video is in normal size, when two fingers move in the direction away from each other, this When the picture in video can be amplified;When video pictures are in magnifying state, two fingers are sliding to direction close to each other When dynamic, being amplified video pictures can reduce, and can stop reducing when being contracted to original video size.
As shown in Fig. 2, AB two o'clock be initial point, when finger pressing at the two o'clock position AB, that is, determined needs scale simultaneously The video pictures position of display and initial position coordinate, slide into A for finger at this time in the direction away from each other1And B1Position When setting, the coordinate of 4 points is brought into formula, the video pictures multiple to be amplified can be calculated.
S105: the video pictures of selection are scaled according to calculated scaling multiple;
In above-mentioned steps, after the video pictures for the calculating selection multiple to be scaled, video overall dimensions can be according to calculating As a result it is changed, if amplifying to picture, then video overall dimensions can become larger, while selected region is mobile whole Screen accounting on end can gradually increase.
S106: the video pictures of scaling are moved to center Screen.
In above-mentioned steps, after selected video pictures are amplified according to calculated multiple, watched for the ease of user, Can be by amplified picture position to center Screen, and be displayed in full screen, because therefore the HD video that video is 4K and/or 8K is put Picture after big will not thicken because resolution ratio is too low;Meanwhile the above method passes through to starting point and maximal end point coordinate It acquires in real time and calculates amplification factor in real time, the parameter that video can be made to be amplified is more accurate, and will not in amplification process It causes to cause the broadcasting of video itself impacted because of magnified picture.
As shown in figure 3, having selected 6 regions in the original broadcasting pictures of video at random, and the 5th region is subjected to part and is put It is big to operate, it is calculated in the present embodiment according to initial point coordinate and maximal end point coordinate, the 5th region is amplified 2 times, then by original video original Beginning picture entirety amplifies 2 times of processing and obtains amplified video pictures, later by the 5th region position between two initial points It moves to terminal screen center and makes video normal play.
Embodiment 2
On the basis of embodiment 1 zooms in and out video, the video content after scaling can be carried out in real time embodiment 2 by increasing Selectivity record, editor and the function shared, specific steps it is as shown in Figure 4, comprising:
S201: it selects the first time point of video record and starts to record;
In above-mentioned steps, user can start recorded video in any one selection of time of viewing video, in selected starting record After the time point of system, which is first time point.
S202: judge whether that pause is recorded;S203 is executed if suspending recording, persistently records and holds if not suspending recording Row S205;
In above-mentioned steps, during video record, user can select pause to record at any time, when recording is suspended Afterwards, video will continue to normal play and will not be recorded;If user does not select pause to record, video council is persistently recorded, directly Reaching user needs the recording time point stopped or user to stop autonomously recording.
S203: pause video record;
In above-mentioned steps, after user, which suspends, to record, video will continue to normal play, but not exit recording.
S204: it selects the second time point of video record and continues to record;
In above-mentioned steps, when user record pause in the state of, when needing to continue recorded video, can select at any time after Continuous to record, which was the second time point;In the present embodiment, during video record, user arbitrarily can suspend and continue to record System is several times until video terminates or user stops autonomously recording.
S205: arrival video record finished after time point, terminated video record.
In above-mentioned steps, user can stop autonomously recording, can also set recording time length or be recorded to video knot Beam, after recording stopping, user can edit and share to the video of recording;It is described editor include video is carried out cut and Merge, such as user has carried out pause several times during recorded video and recorded and continue to record, and can will record in editor Several video clips of system merge into a complete video;It, can be in editor if the recording only once to be linked up One complete video clipping is cut to one of video clip recorded at several short-sighted frequencies or only.
After the completion of video editing, the video of editor can also be shared, it is described to share including sharing to neighbouring shifting Dynamic terminal with share to third-party platform;Share to move about end specifically: the number of moving about terminal can scan the two-dimensional code And pass through TCP(Transmission Control Protocol)/UDP(User Datagram Protocol) agreement reception Share video out and is watched;Share mainly to pass through to third-party platform and call third party's sharing interface, via HTTP (HyperText Transfer Protocol) shares to third-party platform.
The present embodiment carries out the function of alternative recording by the video to scaling, makes user in the process of viewing video In in addition to can real-time scaling video, it is seen that be not easy outside the details seen clearly in usual video, moreover it is possible to real-time recording and sharing video frequency piece Section, also adds interactivity improving outside video viewing experience.
A kind of mobile terminal high definition Online Video Zoom method of the invention, by the contact point coordinate for identifying finger and screen Variation calculates the size of video scaling to enable video to zoom in or out according to accurately multiple value;Pass through the party simultaneously Method can also enable user amplify the details for wanting carefully to watch, and the picture amplified at any time when watching the HD video of 4K/8K Face resolution ratio is unaffected, and will not influence the normal play of video;The present invention is improving user's viewing video Video content can also freely be recorded, edited and be shared while experience, enhance user during watching video Interactivity.
The invention is not limited to specific embodiments above-mentioned.The present invention, which expands to, any in the present specification to be disclosed New feature or any new combination, and disclose any new method or process the step of or any new combination.

Claims (9)

1. a kind of mobile terminal high definition Online Video Zoom method characterized by comprising
S101: the picture area for needing to scale in selection video;
S102: the initial point coordinate in zoom area is obtained;
S103: the maximal end point coordinate in zoom area is obtained;
S104: video pictures are calculated according to initial point coordinate and maximal end point coordinate and scale multiple;
S105: the video pictures of selection are scaled according to calculated scaling multiple;
S106: the video pictures of scaling are moved to center Screen.
2. high definition Online Video Zoom method in mobile terminal as described in claim 1, which is characterized in that described in step S102 Initial point is 2 points;Maximal end point described in step S3 is 2 points.
3. high definition Online Video Zoom method in mobile terminal as described in claim 1, which is characterized in that counted described in step S104 Calculate the formula of scaling multiple are as follows:
Wherein α is scaling multiple, and A and B are initial point, A1And B1For maximal end point, Ax is initial point A point abscissa, and Ay is initial point A point ordinate, A1X is maximal end point A1Point abscissa, A1Y is maximal end point A1Point ordinate, B1X is maximal end point B1Point abscissa, B1y For maximal end point B1Point ordinate.
4. high definition Online Video Zoom method in mobile terminal as described in claim 1, which is characterized in that in step S106, as general When video pictures amplify, the picture being amplified can be moved to center Screen;When the video pictures of amplification are contracted to full size, Video overall picture is moved to center Screen.
5. high definition Online Video Zoom method in mobile terminal as described in claim 1, which is characterized in that the video pictures are contracting During putting, video can keep normal playing status.
6. high definition Online Video Zoom method in mobile terminal as described in claim 1, which is characterized in that after video is scaled, Selective recording can also be carried out to zoom area, method for recording includes:
S201: it selects the first time point of video record and starts to record;
S202: judge whether that pause is recorded;S203 is executed if suspending recording, persistently records and executes if not suspending recording S205;
S203: pause video record;
S204: it selects the second time point of video record and continues to record;
S205: arrival video record finished after time point, terminated video record.
7. high definition Online Video Zoom method in mobile terminal as claimed in claim 6, which is characterized in that the video record time Point is several, i.e., can suspend several times during video record.
8. high definition Online Video Zoom method in mobile terminal as claimed in claim 6, which is characterized in that after video record Video can be edited and be shared.
9. high definition Online Video Zoom method in mobile terminal as claimed in claim 8, which is characterized in that described to share including sharing To move about terminal with share to third-party platform.
CN201811556010.8A 2018-12-19 2018-12-19 Mobile terminal high-definition online video scaling method Active CN109729408B (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN201811556010.8A CN109729408B (en) 2018-12-19 2018-12-19 Mobile terminal high-definition online video scaling method

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN201811556010.8A CN109729408B (en) 2018-12-19 2018-12-19 Mobile terminal high-definition online video scaling method

Publications (2)

Publication Number Publication Date
CN109729408A true CN109729408A (en) 2019-05-07
CN109729408B CN109729408B (en) 2022-03-11

Family

ID=66296856

Family Applications (1)

Application Number Title Priority Date Filing Date
CN201811556010.8A Active CN109729408B (en) 2018-12-19 2018-12-19 Mobile terminal high-definition online video scaling method

Country Status (1)

Country Link
CN (1) CN109729408B (en)

Cited By (4)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN112311961A (en) * 2020-11-13 2021-02-02 深圳市前海手绘科技文化有限公司 Method and device for setting lens in short video
CN113593567A (en) * 2021-06-23 2021-11-02 荣耀终端有限公司 Method for converting video and sound into text and related equipment
CN115225973A (en) * 2022-05-11 2022-10-21 北京广播电视台 Ultra-high-definition video playing interaction method, system, electronic equipment and storage medium
US20230421525A1 (en) * 2022-06-22 2023-12-28 Whatsapp Llc Facilitating pausing while recording audio and/or visual messages in social media messaging applications

Citations (4)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN104238863A (en) * 2014-08-29 2014-12-24 广州视睿电子科技有限公司 Android-based enclosing zooming method and system
CN104822088A (en) * 2015-04-16 2015-08-05 腾讯科技(北京)有限公司 Video image zooming method and device
US20160373828A1 (en) * 2015-06-17 2016-12-22 Lg Electronics Inc. Display device and operating method thereof
CN108012101A (en) * 2017-11-30 2018-05-08 广州市百果园信息技术有限公司 Video recording method and video recording terminal

Patent Citations (4)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN104238863A (en) * 2014-08-29 2014-12-24 广州视睿电子科技有限公司 Android-based enclosing zooming method and system
CN104822088A (en) * 2015-04-16 2015-08-05 腾讯科技(北京)有限公司 Video image zooming method and device
US20160373828A1 (en) * 2015-06-17 2016-12-22 Lg Electronics Inc. Display device and operating method thereof
CN108012101A (en) * 2017-11-30 2018-05-08 广州市百果园信息技术有限公司 Video recording method and video recording terminal

Cited By (6)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN112311961A (en) * 2020-11-13 2021-02-02 深圳市前海手绘科技文化有限公司 Method and device for setting lens in short video
CN113593567A (en) * 2021-06-23 2021-11-02 荣耀终端有限公司 Method for converting video and sound into text and related equipment
CN113593567B (en) * 2021-06-23 2022-09-09 荣耀终端有限公司 Method for converting video and sound into text and related equipment
CN115225973A (en) * 2022-05-11 2022-10-21 北京广播电视台 Ultra-high-definition video playing interaction method, system, electronic equipment and storage medium
CN115225973B (en) * 2022-05-11 2024-01-05 北京广播电视台 Ultrahigh-definition video playing interaction method, system, electronic equipment and storage medium
US20230421525A1 (en) * 2022-06-22 2023-12-28 Whatsapp Llc Facilitating pausing while recording audio and/or visual messages in social media messaging applications

Also Published As

Publication number Publication date
CN109729408B (en) 2022-03-11

Similar Documents

Publication Publication Date Title
CN109729408A (en) A kind of mobile terminal high definition Online Video Zoom method
US11232817B2 (en) Masking in video stream
US9851894B2 (en) Display control device, display control method, and program
CN106331877A (en) Bullet screen playing method and device
US10282375B2 (en) Analyzing user interactions with a video
US10154228B1 (en) Smoothing video panning
CN104156165A (en) Method and device for adjusting playing pace of video
CN106921883B (en) Video playing processing method and device
CN105451086A (en) Method and apparatus for realizing video interaction
JP6043825B2 (en) Information processing apparatus, information processing method, information processing program, and distribution apparatus
KR20200004388A (en) Method and apparatus for determining experience quality of VR multimedia
CN105430471A (en) Method and device for displaying live commenting in video
US9325776B2 (en) Mixed media communication
CN106385613B (en) Control the method and device that barrage plays
CN106095300A (en) Playing progress rate method of adjustment and device
US20240146863A1 (en) Information processing device, information processing program, and recording medium
CN106533916A (en) Live broadcast message display method and device
CN109451340A (en) Display control method and device, electronic equipment and storage medium
CN112764636A (en) Video processing method, video processing device, electronic equipment and computer-readable storage medium
CN108156512B (en) Video playing control method and device
WO2023071631A1 (en) Video processing method and apparatus, and device
KR20160114481A (en) Method of Recording and Replaying Game Video by Object State Recording
CN114584709A (en) Zoom special effect generation method, device, equipment and storage medium
CN111225265B (en) Bullet screen playing method and device
CN110209330A (en) A kind of control method of progress bar, terminal and computer 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
GR01 Patent grant
GR01 Patent grant