CN110572709B - Quick sticker positioning method - Google Patents
Quick sticker positioning method Download PDFInfo
- Publication number
- CN110572709B CN110572709B CN201910817540.1A CN201910817540A CN110572709B CN 110572709 B CN110572709 B CN 110572709B CN 201910817540 A CN201910817540 A CN 201910817540A CN 110572709 B CN110572709 B CN 110572709B
- Authority
- CN
- China
- Prior art keywords
- time
- video
- sticker
- clip
- positioning
- 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.)
- Active
Links
Images
Classifications
-
- H—ELECTRICITY
- H04—ELECTRIC COMMUNICATION TECHNIQUE
- H04N—PICTORIAL COMMUNICATION, e.g. TELEVISION
- H04N21/00—Selective content distribution, e.g. interactive television or video on demand [VOD]
- H04N21/40—Client devices specifically adapted for the reception of or interaction with content, e.g. set-top-box [STB]; Operations thereof
- H04N21/43—Processing of content or additional data, e.g. demultiplexing additional data from a digital video stream; Elementary client operations, e.g. monitoring of home network or synchronising decoder's clock; Client middleware
- H04N21/44—Processing of video elementary streams, e.g. splicing a video clip retrieved from local storage with an incoming video stream, rendering scenes according to MPEG-4 scene graphs
- H04N21/44016—Processing of video elementary streams, e.g. splicing a video clip retrieved from local storage with an incoming video stream, rendering scenes according to MPEG-4 scene graphs involving splicing one content stream with another content stream, e.g. for substituting a video clip
-
- H—ELECTRICITY
- H04—ELECTRIC COMMUNICATION TECHNIQUE
- H04N—PICTORIAL COMMUNICATION, e.g. TELEVISION
- H04N21/00—Selective content distribution, e.g. interactive television or video on demand [VOD]
- H04N21/40—Client devices specifically adapted for the reception of or interaction with content, e.g. set-top-box [STB]; Operations thereof
- H04N21/43—Processing of content or additional data, e.g. demultiplexing additional data from a digital video stream; Elementary client operations, e.g. monitoring of home network or synchronising decoder's clock; Client middleware
- H04N21/44—Processing of video elementary streams, e.g. splicing a video clip retrieved from local storage with an incoming video stream, rendering scenes according to MPEG-4 scene graphs
- H04N21/4402—Processing of video elementary streams, e.g. splicing a video clip retrieved from local storage with an incoming video stream, rendering scenes according to MPEG-4 scene graphs involving reformatting operations of video signals for household redistribution, storage or real-time display
- H04N21/440245—Processing of video elementary streams, e.g. splicing a video clip retrieved from local storage with an incoming video stream, rendering scenes according to MPEG-4 scene graphs involving reformatting operations of video signals for household redistribution, storage or real-time display the reformatting operation being performed only on part of the stream, e.g. a region of the image or a time segment
-
- H—ELECTRICITY
- H04—ELECTRIC COMMUNICATION TECHNIQUE
- H04N—PICTORIAL COMMUNICATION, e.g. TELEVISION
- H04N21/00—Selective content distribution, e.g. interactive television or video on demand [VOD]
- H04N21/40—Client devices specifically adapted for the reception of or interaction with content, e.g. set-top-box [STB]; Operations thereof
- H04N21/47—End-user applications
- H04N21/472—End-user interface for requesting content, additional data or services; End-user interface for interacting with content, e.g. for content reservation or setting reminders, for requesting event notification, for manipulating displayed content
- H04N21/47205—End-user interface for requesting content, additional data or services; End-user interface for interacting with content, e.g. for content reservation or setting reminders, for requesting event notification, for manipulating displayed content for manipulating displayed content, e.g. interacting with MPEG-4 objects, editing locally
-
- H—ELECTRICITY
- H04—ELECTRIC COMMUNICATION TECHNIQUE
- H04N—PICTORIAL COMMUNICATION, e.g. TELEVISION
- H04N21/00—Selective content distribution, e.g. interactive television or video on demand [VOD]
- H04N21/40—Client devices specifically adapted for the reception of or interaction with content, e.g. set-top-box [STB]; Operations thereof
- H04N21/47—End-user applications
- H04N21/472—End-user interface for requesting content, additional data or services; End-user interface for interacting with content, e.g. for content reservation or setting reminders, for requesting event notification, for manipulating displayed content
- H04N21/47217—End-user interface for requesting content, additional data or services; End-user interface for interacting with content, e.g. for content reservation or setting reminders, for requesting event notification, for manipulating displayed content for controlling playback functions for recorded or on-demand content, e.g. using progress bars, mode or play-point indicators or bookmarks
Abstract
The invention discloses a quick positioning method of a sticker, which comprises the following steps: step 1, activating a shortcut menu. Clicking the handles on the left and right sides activates the edit functions of "start time" and "end time", respectively. And 2, selecting a shortcut function. The shortcut menu options include positioning to "video start/end" and "clip start/end". And 3, performing logic processing on the shortcut function. And 4, redrawing the UI display content of the time axis region according to the newly set data source, and updating the related state. The positioning method can facilitate the operation of a user, optimize the user experience, is special for the quick positioning operation of the video clip mobile phone end, and facilitates the simpler and quicker operation of the user in a limited screen.
Description
Technical Field
The invention belongs to the technical field of video editing, and particularly relates to a quick sticker positioning method.
Background
In the video editing application, a user needs to insert a text or sticker track meeting the requirement of the user, and the video is edited and decorated through the text or the sticker.
In the existing video editing, after the sticker is inserted, a certain time period in the time axis of a video or a clip is displayed, when the sticker is required to be displayed in other time intervals of the time axis, the sticker in the video needs to be dragged, namely, the sticker is positioned in a manual dragging mode, the display time period of the sticker can be controlled, the dragging ending time is different from the expectation of a user due to the fact that the mode easily causes dragging, the possibility of repeated adjustment needs to be carried out, the operation is complex, when the video is too long, the user needs to drag the end manually, and the operation is troublesome.
Disclosure of Invention
In order to solve the above problems, the present invention provides a method for locating a sticker quickly, which can locate the sticker quickly to the end of the current segment or the end of the video.
The technical scheme of the invention is as follows: a quick sticker positioning method comprises a start positioning device for positioning a sticker at the start of a video or a clip and an end positioning device for positioning a sticker at the end of the video or the clip;
the initial positioning includes:
acquiring the initial time of a sticker of which the current sticker is positioned in the time axis of a video or a clip;
acquiring the video or clip starting time of a time axis of the video or clip;
traversing all the stickers in the current time axis, and obtaining the minimum time value of the time interval between the sticker start time and the video or clip start time allowed to be adjusted by the current sticker based on the principle that coaxial stickers are not overlapped by comparing the start time and the end time of each sticker;
adjusting the starting time of the current paster to a minimum time value;
the end positioning comprises:
acquiring the end time of the paster of the current paster in the time axis of the video or the clip;
acquiring the video or segment end time of the video or segment;
traversing all the stickers in the current time axis, and obtaining the maximum time value of the video or clip ending time allowed to be adjusted by the current sticker based on the principle that coaxial stickers are not overlapped by comparing the starting time and the ending time of each sticker;
and adjusting the end time of the current paster to the maximum time value.
Preferably, handles for the beginning positioning and the end positioning are respectively arranged on the video or the clip. According to the method, the handle can be arranged at the shortcut menu of the video or the fragment, when a user uses the method, the shortcut positioning menu can be popped up by clicking the handle, and the problems that the positioning is not consistent with the expectation of the user and the video is too long and needs to be dragged to the end of the video are solved by selecting the mode of positioning to the end of the video or the end of the fragment (the beginning of the video or the beginning of the fragment).
Preferably, handles corresponding to the beginning and end positions are located on the left and right sides of the video or clip, respectively. And clicking handles on the left side and the right side of the selected track to pop up a quick positioning menu, and clicking to jump to the end of the video or the end of the segment by a user through clicking the handle on the right side to call out quick operation for jumping. Similarly, clicking the handle on the left side to call out and jump to the shortcut operation of the video beginning or the segment beginning, and clicking the shortcut operation to jump.
Compared with the prior art, the invention has the beneficial effects that:
the positioning method can facilitate the operation of a user, optimize the user experience, is special for the quick positioning operation of the video clip mobile phone end, and facilitates the simpler and quicker operation of the user in a limited screen.
Drawings
Fig. 1 is a schematic diagram of the present invention.
Detailed Description
Example 1
A quick positioning method of a sticker comprises the following steps:
step 1, activating a shortcut menu. Clicking the handles on the left and right sides activates the edit functions of "start time" and "end time", respectively.
And 2, selecting a shortcut function. The shortcut menu options include positioning to "video start/end" and "clip start/end".
And 3, performing logic processing on the shortcut function.
And 4, redrawing the UI display content of the time axis region according to the newly set data source, and updating the related state.
Wherein the step of selecting "video start" comprises:
and 3.1, acquiring the starting time of the current paster in the time axis.
And 3.2, traversing all the stickers in the current time axis, and comparing the start time and the end time of each sticker to obtain the minimum time value which is allowed to be adjusted to be larger than 0 based on the principle that coaxial stickers are not overlapped.
And 3.3, adjusting the starting time of the current paster to the value of the step 3.2.
The step of selecting "fragment start" comprises:
and 3.1, acquiring the starting time of the current paster in the time axis.
And 3.2, acquiring the video clip where the starting time in the step 3.1 is.
And 3.3, acquiring the starting time of the video segment in the step 3.2.
And 3.4, traversing all the stickers in the current time axis, and comparing the start time and the end time of each sticker to obtain the minimum time value which is allowed to be adjusted and is positioned in the time interval from the time of the step 3.3 to the time of the step 3.1 on the basis of the principle that the coaxial stickers are not overlapped.
And 3.5, adjusting the starting time of the current paster to the value of the step 3.4.
The step of selecting "end of video" includes:
and 3.1, acquiring the end time of the current paster in the time axis.
And 3.2, acquiring the total time length of the video.
And 3.3, traversing all the stickers in the current time axis, and comparing the start time and the end time of each sticker to obtain the minimum time value which is allowed to be adjusted to be less than the time length of the step 3.2 on the basis of the principle that coaxial stickers are not overlapped.
And 3.4, adjusting the end time of the current paster to the value of the step 3.3.
The step of selecting "end of segment" includes:
and 3.1, acquiring the end time of the current paster in the time axis.
And 3.2, acquiring the video clip where the end time in the step 3.1 is.
And 3.3, acquiring the end time of the video segment in the step 3.2.
And 3.4, traversing all the stickers in the current time axis, and comparing the start time and the end time of each sticker to obtain the maximum time value which is allowed to be adjusted and is positioned in the time interval from the step 3.1 time to the step 3.3 time based on the principle that the coaxial stickers are not overlapped.
And 3.5, adjusting the end time of the current paster to the value of the step 3.4.
Claims (3)
1. A quick sticker positioning method is characterized by comprising a start positioning device for positioning a sticker at the start of a video or a segment and an end positioning device for positioning the sticker at the end of the video or the segment;
the initial positioning includes:
acquiring the initial time of a sticker of which the current sticker is positioned in the time axis of a video or a clip;
acquiring the video or clip starting time of a time axis of the video or clip;
traversing all the stickers in the current time axis, and obtaining the minimum time value of the time interval between the sticker start time and the video or clip start time allowed to be adjusted by the current sticker based on the principle that coaxial stickers are not overlapped by comparing the start time and the end time of each sticker;
adjusting the starting time of the current paster to a minimum time value;
the end positioning comprises:
acquiring the end time of the paster of the current paster in the time axis of the video or the clip;
acquiring the video or segment end time of the video or segment;
traversing all the stickers in the current time axis, and obtaining the maximum time value of the video or clip ending time allowed to be adjusted by the current sticker based on the principle that coaxial stickers are not overlapped by comparing the starting time and the ending time of each sticker;
and adjusting the end time of the current paster to the maximum time value.
2. The quick sticker positioning method of claim 1, wherein handles for start positioning and end positioning are provided for each video or clip.
3. The quick sticker positioning method of claim 2, wherein handles corresponding to the beginning and end positions are located on the left and right sides of the video or clip, respectively.
Priority Applications (1)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
CN201910817540.1A CN110572709B (en) | 2019-08-30 | 2019-08-30 | Quick sticker positioning method |
Applications Claiming Priority (1)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
CN201910817540.1A CN110572709B (en) | 2019-08-30 | 2019-08-30 | Quick sticker positioning method |
Publications (2)
Publication Number | Publication Date |
---|---|
CN110572709A CN110572709A (en) | 2019-12-13 |
CN110572709B true CN110572709B (en) | 2022-01-25 |
Family
ID=68777118
Family Applications (1)
Application Number | Title | Priority Date | Filing Date |
---|---|---|---|
CN201910817540.1A Active CN110572709B (en) | 2019-08-30 | 2019-08-30 | Quick sticker positioning method |
Country Status (1)
Country | Link |
---|---|
CN (1) | CN110572709B (en) |
Families Citing this family (1)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN113496533A (en) * | 2020-03-19 | 2021-10-12 | 北京字节跳动网络技术有限公司 | Sticker processing method and device |
Citations (6)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN104053066A (en) * | 2014-06-13 | 2014-09-17 | 无锡天脉聚源传媒科技有限公司 | Method and device for dotting video |
EP2897026A1 (en) * | 2014-01-16 | 2015-07-22 | Immersion Corporation | Systems and methods for user generated content authoring |
CN106470147A (en) * | 2015-08-18 | 2017-03-01 | 腾讯科技(深圳)有限公司 | Video sharing method and apparatus, video broadcasting method and device |
CN108038185A (en) * | 2017-12-08 | 2018-05-15 | 广州市百果园信息技术有限公司 | Video dynamic edit methods, device and intelligent mobile terminal |
CN109495791A (en) * | 2018-11-30 | 2019-03-19 | 北京字节跳动网络技术有限公司 | A kind of adding method, device, electronic equipment and the readable medium of video paster |
US10270983B1 (en) * | 2018-05-07 | 2019-04-23 | Apple Inc. | Creative camera |
-
2019
- 2019-08-30 CN CN201910817540.1A patent/CN110572709B/en active Active
Patent Citations (6)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
EP2897026A1 (en) * | 2014-01-16 | 2015-07-22 | Immersion Corporation | Systems and methods for user generated content authoring |
CN104053066A (en) * | 2014-06-13 | 2014-09-17 | 无锡天脉聚源传媒科技有限公司 | Method and device for dotting video |
CN106470147A (en) * | 2015-08-18 | 2017-03-01 | 腾讯科技(深圳)有限公司 | Video sharing method and apparatus, video broadcasting method and device |
CN108038185A (en) * | 2017-12-08 | 2018-05-15 | 广州市百果园信息技术有限公司 | Video dynamic edit methods, device and intelligent mobile terminal |
US10270983B1 (en) * | 2018-05-07 | 2019-04-23 | Apple Inc. | Creative camera |
CN109495791A (en) * | 2018-11-30 | 2019-03-19 | 北京字节跳动网络技术有限公司 | A kind of adding method, device, electronic equipment and the readable medium of video paster |
Also Published As
Publication number | Publication date |
---|---|
CN110572709A (en) | 2019-12-13 |
Similar Documents
Publication | Publication Date | Title |
---|---|---|
US20200210142A1 (en) | Method and apparatus for controlling virtual speech assistant, user device and storage medium | |
CN103377051B (en) | A kind of application interface customizing method based on android system | |
CN103226960B (en) | Control the method and apparatus that multi-medium data is play | |
EP2527984A1 (en) | Method and apparatus for editing text using multiple selection and multiple paste | |
US20090183078A1 (en) | Instant feedback media editing system | |
US20130249919A1 (en) | Storage medium having stored therein input control program, input control apparatus, input control system, and input control method | |
US11615816B2 (en) | Method and device for adding lyrics to short video | |
CN110572709B (en) | Quick sticker positioning method | |
US11327710B2 (en) | Automatic audio ducking with real time feedback based on fast integration of signal levels | |
WO2017016116A1 (en) | Playback system group playback control method and terminal | |
CN104144297A (en) | System and method for automatically adding watermarks to shot pictures | |
CN104850347A (en) | Method and device for drawing progress bar | |
WO2018010337A1 (en) | Display method and device | |
CN106681599A (en) | Method for managing shortcut menu and mobile terminal | |
US20170110127A1 (en) | Dialogue support apparatus and method | |
CN107608585A (en) | The operating method and equipment and mobile terminal of a kind of application program | |
CN113282424B (en) | Information reference method and device and electronic equipment | |
CN102999344A (en) | Intelligent terminal and method and device for user-defined operation set thereof | |
CN107919120B (en) | Voice interaction method and device, terminal, server and readable storage medium | |
US8600529B2 (en) | Audio fade control | |
WO2015096598A1 (en) | Page content selection method and system | |
WO2023030306A1 (en) | Method and apparatus for video editing, and electronic device | |
CN108962293A (en) | Video recording modification method, system, terminal device and storage medium | |
CN104166559B (en) | Delete the method and device of default desktop | |
CN103237115B (en) | Terminal download control method and mobile terminal implementing same |
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 |