Video excerpting method and electronic equipment

By recording and adding video clips during video playback, the video excerpting method is enriched, the problem of poor user experience in the existing technology is solved, and more flexible video content extraction and organization is achieved.

CN119316670AActive Publication Date: 2025-01-14HONOR DEVICE CO LTD
View PDF 5 Cites 0 Cited by

Patent Information

Application Number
CN202310864252.8
Authority / Receiving Office
CN · China
Patent Type
Applications(China)
Current Assignee / Owner
Filing Date
2023-07-12
Publication Date
2025-01-14
Estimated Expiration
2043-07-12

AI Technical Summary

Technical Problem

The existing video excerpting method is single, resulting in poor user experience and cannot meet users' diverse needs for extracting and organizing video content.

Method used

Provide a video excerpt method, which allows users to record video clips during video playback by displaying multiple interfaces and controls, and add new video clips to the saved video excerpt file to form new video excerpts, enriching the Video excerpts in the form.

Benefits of technology

It improves the user experience and provides more flexible and convenient ways to extract and organize video content to meet users' needs for diversified video excerpts.

✦ Generated by Eureka AI based on patent content.

Smart Images

  • Figure CN119316670A_ABST
    Figure CN119316670A_ABST
Patent Text Reader

Abstract

The embodiment of the invention is suitable for the technical field of antennas, and provides a video snippet method and electronic equipment, and the method comprises the steps: displaying a first interface which comprises a first icon corresponding to a first video snippet file, responding to the operation of a user on the first icon, and displaying a second interface of a first application, the second interface comprises a first video snippet card and a first control, displaying a third interface of the first snippet window and the second application in response to an operation of a user on the first control, displaying the first snippet window and a fourth interface of the third application in response to an operation of the user on opening the third application, and displaying the second video snippet card in response to an operation on the recording control. And starting to record the video clip of the second video in the fourth interface, displaying a second snip window, responding to the operation on the pause control, ending to record the video clip of the second video in the fourth interface, and displaying a third snip window, the third snip window comprising the first video snip card and the second video snip card, and enriching the forms of video snips.
Need to check novelty before this filing date? Find Prior Art

Description

Technical Field

[0001] The present application relates to the field of terminal technology, and more specifically, to a video excerpting method and electronic device. Background Art

[0002] As a carrier of information, video can convey information more accurately and intuitively, and is easier for users to understand. Content distribution and information acquisition based on video carriers have become important ways of information transmission. On this basis, users have an increasing demand for extracting and organizing video content. In one possible case, users can capture part of the video content from a video and annotate the part of the video content to obtain a video excerpt. Users can obtain key information in the video by watching the video excerpt again. However, at this stage, the way to extract videos is relatively simple, which leads to a poor user experience.

[0003] Based on this, how to expand the way of video excerpting and improve user experience has become an urgent problem to be solved. Summary of the invention

[0004] The present application provides a video excerpting method, which can expand the video excerpting method and improve the user experience.

[0005] In a first aspect, a video excerpting method is provided, comprising:

[0006] Displaying a first interface, the first interface including a first icon corresponding to a first video excerpt file, the first video excerpt file including a first video;

[0007] In response to a user operation on the first icon, a second interface of the first application is displayed, the second interface including a first video excerpt card and a first control, the first video excerpt card including a first video;

[0008] In response to the user's operation on the first control, a first excerpt window and a third interface of the second application are displayed, the first excerpt window obstructs part of the content of the third interface, and the first excerpt window includes a recording control and a first video excerpt card;

[0009] In response to a user opening the third application, the first excerpt window and a fourth interface of the third application are displayed, the first excerpt window obstructs part of the content of the fourth interface, and the fourth interface includes the second video being played;

[0010] In response to the operation on the recording control, start recording the video clip of the second video in the fourth interface, display the second excerpt window, update the recording control of the second excerpt window to a pause control, and the second excerpt window covers part of the content of the fourth interface;

[0011] In response to the operation of the pause control, the recording of the video segment of the second video in the fourth interface is ended, and the third excerpt window is displayed, the third excerpt window blocks part of the content of the fourth interface, the third excerpt window includes a first video excerpt card and a second video excerpt card, the second video excerpt card includes the recorded third video, and the third video includes the video segment of the second video.

[0012] Among them, the first interface may be a global collection interface 61 as shown in FIG7(k), the first video excerpt file may refer to video excerpt 01, and the first icon may refer to the icon of video excerpt 01. It should be understood that the first interface may also refer to a global collection interface 62 as shown in FIG7(e). In one possible case, the first interface may also be a display interface of other applications, which is not limited in the embodiment of the present application. The operation on the first icon may refer to a user clicking on the first icon, as shown in FIG7(k). It should be understood that the operation on the first icon may also be an operation of waking up the video excerpt corresponding to the first icon through a voice command. The second interface may refer to a display interface 64 as shown in FIG7(l), the first video excerpt card may refer to a video excerpt card 641 on the display interface 64, and the first control may refer to an additional control 642. The first video is displayed in the first video excerpt card. The operation on the first control may refer to a user clicking on the first control, as shown in FIG7(m). It should be understood that the operation on the first control may also be an operation of waking up the first control through a voice command, which is not limited in the embodiment of the present application. The third interface may refer to a display interface 65, as shown in FIG7(n). The first excerpt window may refer to an excerpt window 651, the recording control may refer to a recording control 6512, and the first video excerpt card may refer to a video excerpt card 6511. It should be understood that the second application may be a system desktop as shown in FIG7(n), or may be other applications, and the present application embodiment does not limit this. For example, the second application may also be an application for video playback. The third application may indicate a video application 652. The fourth interface may refer to an interface for playing a video after the third application is opened, such as a display interface 66 as shown in FIG7(p). It should be understood that the first excerpt window (that is, the excerpt window 651) may be a floating window. The second excerpt window may be an excerpt window 671 as shown in FIG7(r), and compared with the excerpt window 651 (that is, the first excerpt window), the recording control 6512 is switched to a pause control 6516. The third excerpt window may be an excerpt window 681 as shown in FIG7(y). The first video excerpt card may be video excerpt card 6511 , and the second video excerpt card may be video excerpt card 6711 .

[0013] The video excerpting method provided by the embodiment of the present application includes displaying a first interface, the first interface includes a first icon corresponding to a first video excerpt file, the first video excerpt file includes a first video, in response to a user's operation on the first icon, a second interface of a first application is displayed, the second interface includes a first video excerpt card and a first control, the first video excerpt card includes the first video, in response to a user's operation on the first control, a first excerpt window and a third interface of the second application are displayed, the first excerpt window blocks part of the content of the third interface, the first excerpt window includes a recording control and a first video excerpt card, in response to a user's operation of opening a third application, the first excerpt window and a fourth interface of the third application are displayed, the first excerpt window blocks part of the content of the fourth interface, and the fourth interface includes the second video being played In response to the operation of the recording control, the video clip of the second video in the fourth interface starts to be recorded, and the second excerpt window is displayed. The recording control of the second excerpt window is updated to a pause control, and the second excerpt window blocks part of the content of the fourth interface. In response to the operation of the pause control, the video clip of the second video in the fourth interface ends, and the third excerpt window is displayed. The third excerpt window blocks part of the content of the fourth interface. The third excerpt window includes a first video excerpt card and a second video excerpt card. The second video excerpt card includes the recorded third video, and the third video includes the video clip of the second video. This is equivalent to appending the video clip of the second video to the saved first video excerpt file to form a new video excerpt, enriching the form of video excerpts and improving user experience.

[0014] In combination with the first aspect, in certain embodiments of the first aspect, the third interface includes a second icon of a third application, and in response to a user opening the third application, displays the first excerpt window and the fourth interface of the third application, including: in response to a click operation on the second icon, displays the first excerpt window and the fourth interface of the third application.

[0015] In combination with the first aspect, in some embodiments of the first aspect, the first video is a video clip in the second video.

[0016] That is to say, the excerpt video displayed in the first video excerpt card and the excerpt video displayed in the second video excerpt card are from the same video.

[0017] In combination with the first aspect, in certain embodiments of the first aspect, the first video is a video clip of a fourth video in a fourth application.

[0018] The fourth application and the third application may be different applications. That is to say, the excerpt video displayed in the first video excerpt card and the excerpt video displayed in the second video excerpt card are from videos played in different applications.

[0019] In combination with the first aspect, in some embodiments of the first aspect, a length of the third excerpt window is greater than a length of the first excerpt window.

[0020] In combination with the first aspect, in certain embodiments of the first aspect, the first application includes a global collection.

[0021] In combination with the first aspect, in certain embodiments of the first aspect, the third excerpt window also includes a completion control, and the method also includes: in response to an operation on the completion control, closing the third excerpt window, displaying a fifth interface, the fifth interface including a third icon, the third icon being an icon corresponding to a global collection, and the third icon being used to indicate that the first video and the third video are saved to the global collection.

[0022] The fifth interface may be the display interface 68 as shown in FIG. 7( z ), and the third icon may be the global favorites icon 201 as shown in FIG. 7( z ).

[0023] In combination with the first aspect, in certain embodiments of the first aspect, the third excerpt window also includes a tag control, and the method also includes: in response to an operation on the tag control, obtaining tag information, and displaying a first display area in the second video excerpt card in the third excerpt card, the first display area being used to display the tag information, the tag information including a description of a video clip in the second video.

[0024] In combination with the first aspect, in certain embodiments of the first aspect, the third excerpt window also includes a screenshot control, and the method also includes: in response to an operation on the screenshot control, obtaining a first screenshot, and displaying a second display area in the second video excerpt card in the third excerpt card, the second display area being used to display the first screenshot, and the first screenshot being a screenshot of the second video display image when the screenshot control is operated.

[0025] In combination with the first aspect, in certain embodiments of the first aspect, the second excerpt window further includes a third display area, the third display area displays first time information, and the first time information is used to indicate the duration of recording the video segment of the second video.

[0026] In combination with the first aspect, in certain embodiments of the first aspect, the second excerpt window further includes a fourth display area, the fourth display area displays first prompt information, and the first prompt information is used to indicate that a video segment of the second video is being recorded.

[0027] In combination with the first aspect, in certain embodiments of the first aspect, the first excerpt window also includes a first minimize control, and the method also includes: in response to an operation on the first minimize control, the first excerpt window switches to a fourth icon, and the area of ​​the fourth icon is smaller than the area of ​​the first excerpt window.

[0028] The first minimized control may be minimized control 5016 as shown in FIG6(m). In a possible case, the minimized control in the excerpt window is not directly displayed on the excerpt window, but is called out through a wake-up operation. The fourth icon may be icon 521 as shown in FIG6(n), or icon 521 as shown in FIG6(o), or icon 521 as shown in FIG6(n) may be displayed first, and then icon 521 as shown in FIG6(o) may be displayed.

[0029] In combination with the first aspect, in certain embodiments of the first aspect, the second excerpt window also includes a second minimize control, and the method also includes: in response to an operation on the second minimize control, the second excerpt window switches to a fifth icon, and the area of ​​the fifth icon is smaller than the area of ​​the second excerpt window.

[0030] The second minimized control may be minimized control 5016 as shown in FIG6(m). In one possible case, the minimized control in the excerpt window is not directly displayed on the excerpt window, but is called out through a wake-up operation. The fifth icon may be icon 521 as shown in FIG6(n), or icon 521 as shown in FIG6(o), or icon 521 as shown in FIG6(n) may be displayed first, and then icon 521 as shown in FIG6(o) may be displayed.

[0031] In combination with the first aspect, in certain embodiments of the first aspect, the third excerpt window also includes a third minimize control, and the method also includes: in response to an operation on the third minimize control, the third excerpt window switches to a sixth icon, and the area of ​​the sixth icon is smaller than the area of ​​the third excerpt window.

[0032] The third minimized control may be minimized control 5016 as shown in FIG6(m). In a possible case, the minimized control in the excerpt window is not directly displayed on the excerpt window, but is called out through a wake-up operation. The sixth icon may be icon 521 as shown in FIG6(n), or icon 521 as shown in FIG6(o), or icon 521 as shown in FIG6(n) may be displayed first, and then icon 521 as shown in FIG6(o) may be displayed.

[0033] In combination with the first aspect, in certain embodiments of the first aspect, the second interface also includes a second control, and the method also includes: in response to an operation on the second control, converting the voice in the first video into text information; displaying the sixth interface, the sixth interface including a third video excerpt card, the third video excerpt card including the first video and a fifth display area; and displaying the text information in the fifth display area.

[0034] Among them, the second control can be the video-text synchronization control 643 as shown in Figure 8(a), the sixth interface can be the display interface 70 as shown in Figure 8(b), the third video excerpt card can refer to the video excerpt card 701, and the fifth display area can be the display area 7011 as shown in Figure 8(b).

[0035] In combination with the first aspect, in certain embodiments of the first aspect, the method also includes: displaying a seventh interface, the seventh interface including a seventh icon corresponding to the second video excerpt file, the second video excerpt file including the third video; in response to an operation on the seventh icon, displaying an eighth interface, the eighth interface including a fourth video excerpt card, the fourth video excerpt card including a sixth display area, the sixth display area displaying the third video; in response to an operation on the sixth display area, displaying a fourth control; in response to an operation on the fourth control, editing the second video excerpt file, the editing including at least one of deleting an image and adding identification information.

[0036] The seventh interface may be a display interface as shown in FIG. 9( b ), the second video excerpt file may be “video excerpt 20230516-1025” as shown in FIG. 9( b ). The eighth interface may be a display interface 80 as shown in FIG. 9( d ), the fourth video excerpt card may refer to a video excerpt card 801, and the sixth display area may refer to a display area 8011. The fourth control may be an edit control 8013 as shown in FIG. 9( f ).

[0037] In combination with the first aspect, in certain embodiments of the first aspect, the method also includes: displaying a seventh interface, the seventh interface including a seventh icon corresponding to the second video excerpt file, the second video excerpt file including the third video; in response to an operation on the seventh icon, displaying an eighth interface, the eighth interface including a fourth video excerpt card, the fourth video excerpt card including a time stamp control; in response to an operation on the time stamp control, displaying a fourth control; in response to the operation on the fourth control, editing the second video excerpt file, the editing including at least one of deleting an image and adding identification information.

[0038] In combination with the first aspect, in certain embodiments of the first aspect, the second video excerpt file also includes a first image, the second video excerpt card also displays the first image, the fourth control includes a delete sub-control, and in response to an operation on the fourth control, the second video excerpt file is edited, including: in response to the operation on the delete sub-control, deleting the first image.

[0039] Among them, the deletion sub-control may refer to the control 80131 as shown in Figure 9(f).

[0040] In combination with the first aspect, in certain embodiments of the first aspect, the fourth control also includes an add mark sub-control, and in response to the operation of the fourth control, the second video excerpt file is edited and processed, and also includes: in response to the operation of the add mark sub-control, identification information is added to the third video.

[0041] Among them, the add mark sub-control may refer to the control 80132 as shown in Figure 9(f).

[0042] In combination with the first aspect, in certain embodiments of the first aspect, when the number of third videos is multiple, the method also includes: when a first operation on any one of the third videos is detected on the eighth interface, adjusting the arrangement order of each of the third videos according to the order indicated by the first operation.

[0043] In combination with the first aspect, in certain embodiments of the first aspect, in response to an operation on a pause control, ending the recording of a video clip of the second video in the fourth interface, includes: in response to the operation on the pause control, obtaining the first video clip and displaying the recording control again; in response to the operation on the recording control, recording another video clip of the second video again and displaying the pause control again; in response to the operation on the pause control, obtaining the second video clip, and based on the first video clip and the second video clip, obtaining a third video, and ending the recording of the video clip of the second video in the fourth interface.

[0044] In a second aspect, a video excerpting device is provided, comprising a unit for executing any one of the methods in the first aspect. The device may be a server, a terminal device, or a chip in a terminal device. The device may include an input unit and a processing unit.

[0045] When the device is a terminal device, the processing unit may be a processor, and the input unit may be a communication interface; the terminal device may also include a memory, which is used to store computer program code. When the processor executes the computer program code stored in the memory, the terminal device executes any one of the methods in the first aspect.

[0046] When the device is a chip in a terminal device, the processing unit may be a processing unit inside the chip, and the input unit may be an output interface, a pin or a circuit, etc.; the chip may also include a memory, which may be a memory inside the chip (for example, a register, a cache, etc.) or a memory located outside the chip (for example, a read-only memory, a random access memory, etc.); the memory is used to store computer program code, and when the processor executes the computer program code stored in the memory, the chip executes any one of the methods in the first aspect.

[0047] According to a third aspect, a computer-readable storage medium is provided, wherein the computer-readable storage medium stores a computer program code. When the computer program code is executed by a video excerpting device, the video excerpting device performs any one of the video excerpting methods according to the first aspect.

[0048] According to a fourth aspect, a computer program product is provided, the computer program product comprising: a computer program code, when the computer program code is executed by a video excerpting device, the video excerpting device is caused to perform any one of the apparatus methods according to the first aspect.

[0049] The video excerpting method and electronic device provided by the embodiment of the present application display a first interface, the first interface includes a first icon corresponding to a first video excerpt file, the first video excerpt file includes a first video, in response to a user's operation on the first icon, a second interface of a first application is displayed, the second interface includes a first video excerpt card and a first control, the first video excerpt card includes the first video, in response to a user's operation on the first control, a first excerpt window and a third interface of the second application are displayed, the first excerpt window blocks part of the content of the third interface, the first excerpt window includes a recording control and a first video excerpt card, in response to a user's operation of opening a third application, the first excerpt window and a fourth interface of the third application are displayed, the first excerpt window blocks part of the content of the fourth interface, and the fourth interface includes the video of the first video being played. Second video, in response to the operation of the recording control, start recording the video clip of the second video in the fourth interface, and display the second excerpt window, the recording control of the second excerpt window is updated to a pause control, the second excerpt window blocks part of the content of the fourth interface, in response to the operation of the pause control, end recording the video clip of the second video in the fourth interface, and display the third excerpt window, the third excerpt window blocks part of the content of the fourth interface, the third excerpt window includes a first video excerpt card and a second video excerpt card, the second video excerpt card includes the recorded third video, and the third video includes the video clip of the second video, which is equivalent to appending the video clip of the second video to the saved first video excerpt file to form a new video excerpt, enriching the form of video excerpt and improving user experience. BRIEF DESCRIPTION OF THE DRAWINGS

[0050] Figure 1 is a schematic diagram of a hardware system of an electronic device applicable to the present application;

[0051] Figure 2 is a schematic diagram of a software system for an electronic device applicable to the present application;

[0052] FIG3( a ) is a schematic diagram of a display interface for opening a video excerpt provided in an embodiment of the present application;

[0053] FIG3( b ) is a schematic diagram of a display interface for opening a video excerpt provided in an embodiment of the present application;

[0054] FIG3( c ) is a schematic diagram of a display interface for opening a video excerpt provided in an embodiment of the present application;

[0055] FIG3( d ) is a schematic diagram of a display interface for opening a video excerpt provided in an embodiment of the present application;

[0056] FIG4( a) is a schematic diagram of a display interface for ending video excerpting provided in an embodiment of the present application;

[0057] FIG4( b ) is a schematic diagram of a display interface for ending video excerpting provided in an embodiment of the present application;

[0058] FIG4( c ) is a schematic diagram of a display interface for ending video excerpting provided in an embodiment of the present application;

[0059] FIG4( d ) is a schematic diagram of a display interface for ending video excerpting provided in an embodiment of the present application;

[0060] FIG4( e) is a schematic diagram of a display interface for ending video excerpting provided in an embodiment of the present application;

[0061] FIG4( f) is a schematic diagram of a display interface for ending video excerpting provided in an embodiment of the present application;

[0062] FIG5( a) is a schematic diagram of a display interface for saving video excerpts provided in an embodiment of the present application;

[0063] FIG5( b ) is a schematic diagram of a display interface for saving video excerpts provided in an embodiment of the present application;

[0064] FIG5( c ) is a schematic diagram of a display interface for saving video excerpts provided in an embodiment of the present application;

[0065] FIG5( d ) is a schematic diagram of a display interface for saving video excerpts provided in an embodiment of the present application;

[0066] FIG5( e) is a schematic diagram of a display interface for saving video excerpts provided in an embodiment of the present application;

[0067] FIG5( f) is a schematic diagram of a display interface for saving video excerpts provided in an embodiment of the present application;

[0068] FIG6( a ) is a schematic diagram of a display interface for video excerpting and continuing recording provided in an embodiment of the present application;

[0069] FIG6( b ) is a schematic diagram of a display interface for video excerpting and continuing recording provided in an embodiment of the present application;

[0070] FIG6( c ) is a schematic diagram of a display interface for video excerpting and continuing recording provided in an embodiment of the present application;

[0071] FIG6( d ) is a schematic diagram of a display interface for video excerpting and continuing recording provided in an embodiment of the present application;

[0072] FIG6( e) is a schematic diagram of a display interface for video excerpting and continuing recording provided in an embodiment of the present application;

[0073] FIG6( f) is a schematic diagram of a display interface for video excerpting and continuing recording provided in an embodiment of the present application;

[0074] FIG6( g) is a schematic diagram of a display interface for video excerpting and continuing recording provided in an embodiment of the present application;

[0075] FIG6( h) is a schematic diagram of a display interface for video excerpting and continuing recording provided in an embodiment of the present application;

[0076] FIG6(i) is a schematic diagram of a display interface for video excerpting and continuing recording provided in an embodiment of the present application;

[0077] FIG6( j) is a schematic diagram of a display interface for video excerpting and continuing recording provided in an embodiment of the present application;

[0078] FIG6( k ) is a schematic diagram of a display interface for video excerpting and continuing recording provided in an embodiment of the present application;

[0079] FIG6( l) is a schematic diagram of a display interface for video excerpting and continuing recording provided in an embodiment of the present application;

[0080] FIG6( m) is a schematic diagram of a display interface for video excerpting and continuing recording provided in an embodiment of the present application;

[0081] FIG6( n) is a schematic diagram of a display interface for video excerpting and continuing recording provided in an embodiment of the present application;

[0082] FIG6( o) is a schematic diagram of a display interface for video excerpting and continuing recording provided in an embodiment of the present application;

[0083] FIG6( p) is a schematic diagram of a display interface for video excerpting and continuing recording provided in an embodiment of the present application;

[0084] FIG6(q) is a schematic diagram of a display interface for video excerpting and continuing recording provided in an embodiment of the present application;

[0085] FIG6( r) is a schematic diagram of a display interface for video excerpting and continuing recording provided in an embodiment of the present application;

[0086] FIG. 7( a ) is a schematic diagram of a display interface for adding video excerpts provided in an embodiment of the present application;

[0087] FIG7( b ) is a schematic diagram of a display interface for adding video excerpts provided in an embodiment of the present application;

[0088] FIG7( c ) is a schematic diagram of a display interface for adding video excerpts provided in an embodiment of the present application;

[0089] FIG7( d ) is a schematic diagram of a display interface for adding video excerpts provided in an embodiment of the present application;

[0090] FIG7( e) is a schematic diagram of a display interface for adding video excerpts provided in an embodiment of the present application;

[0091] FIG7( f) is a schematic diagram of a display interface for adding video excerpts provided in an embodiment of the present application;

[0092] FIG7( g) is a schematic diagram of a display interface for adding video excerpts provided in an embodiment of the present application;

[0093] FIG7( h) is a schematic diagram of a display interface for adding video excerpts provided in an embodiment of the present application;

[0094] FIG. 7( i ) is a schematic diagram of a display interface for adding video excerpts according to an embodiment of the present application;

[0095] FIG7( j) is a schematic diagram of a display interface for adding video excerpts provided in an embodiment of the present application;

[0096] FIG7( k ) is a schematic diagram of a display interface for adding video excerpts provided in an embodiment of the present application;

[0097] FIG7( l) is a schematic diagram of a display interface for adding video excerpts provided in an embodiment of the present application;

[0098] FIG7( m) is a schematic diagram of a display interface for adding video excerpts provided in an embodiment of the present application;

[0099] FIG7( n) is a schematic diagram of a display interface for adding video excerpts provided in an embodiment of the present application;

[0100] FIG7( o) is a schematic diagram of a display interface for adding video excerpts provided in an embodiment of the present application;

[0101] FIG7( p) is a schematic diagram of a display interface for adding video excerpts provided in an embodiment of the present application;

[0102] FIG7(q) is a schematic diagram of a display interface for adding video excerpts provided in an embodiment of the present application;

[0103] FIG7( r) is a schematic diagram of a display interface for adding video excerpts provided in an embodiment of the present application;

[0104] FIG7( s ) is a schematic diagram of a display interface for adding video excerpts provided in an embodiment of the present application;

[0105] FIG7( t) is a schematic diagram of a display interface for adding video excerpts provided in an embodiment of the present application;

[0106] FIG7(u) is a schematic diagram of a display interface for adding video excerpts provided in an embodiment of the present application;

[0107] FIG7(v) is a schematic diagram of a display interface for adding video excerpts provided in an embodiment of the present application;

[0108] FIG7(w) is a schematic diagram of a display interface for adding video excerpts provided in an embodiment of the present application;

[0109] FIG7(x) is a schematic diagram of a display interface for adding video excerpts provided in an embodiment of the present application;

[0110] FIG7(y) is a schematic diagram of a display interface for adding video excerpts provided in an embodiment of the present application;

[0111] FIG7(z) is a schematic diagram of a display interface for adding video excerpts provided in an embodiment of the present application;

[0112] FIG8( a ) is a schematic diagram of a display interface for synchronization of video and text in a video excerpt provided by an embodiment of the present application;

[0113] FIG8( b ) is a schematic diagram of a display interface for synchronization of video and text in a video excerpt provided by an embodiment of the present application;

[0114] FIG8( c ) is a schematic diagram of a display interface for synchronization of video and text in a video excerpt provided by an embodiment of the present application;

[0115] FIG8( d ) is a schematic diagram of a display interface for video-text synchronization in a video excerpt provided by an embodiment of the present application;

[0116] FIG8( e ) is a schematic diagram of a display interface for video-text synchronization in a video excerpt provided by an embodiment of the present application;

[0117] FIG8( f ) is a schematic diagram of a display interface for synchronization of video and text in a video excerpt provided by an embodiment of the present application;

[0118] FIG9( a ) is a schematic diagram of a display interface for secondary editing in a video excerpt provided in an embodiment of the present application;

[0119] FIG9( b ) is a schematic diagram of a display interface for secondary editing in a video excerpt provided in an embodiment of the present application;

[0120] FIG9( c ) is a schematic diagram of a display interface for secondary editing in a video excerpt provided in an embodiment of the present application;

[0121] FIG9( d ) is a schematic diagram of a display interface for secondary editing in a video excerpt provided in an embodiment of the present application;

[0122] FIG9( e) is a schematic diagram of a display interface for secondary editing in a video excerpt provided in an embodiment of the present application;

[0123] FIG9( f) is a schematic diagram of a display interface for secondary editing in a video excerpt provided in an embodiment of the present application;

[0124] FIG9( g) is a schematic diagram of a display interface for secondary editing in a video excerpt provided in an embodiment of the present application;

[0125] FIG9( h) is a schematic diagram of a display interface for secondary editing in a video excerpt provided in an embodiment of the present application;

[0126] FIG9(i) is a schematic diagram of a display interface for secondary editing in a video excerpt provided in an embodiment of the present application;

[0127] FIG9( j) is a schematic diagram of a display interface for secondary editing in a video excerpt provided in an embodiment of the present application;

[0128] FIG9( k ) is a schematic diagram of a display interface for secondary editing in a video excerpt provided in an embodiment of the present application;

[0129] FIG9( l) is a schematic diagram of a display interface for secondary editing in a video excerpt provided in an embodiment of the present application;

[0130] FIG9( m) is a schematic diagram of a display interface for secondary editing in a video excerpt provided in an embodiment of the present application;

[0131] FIG9( n) is a schematic diagram of a display interface for secondary editing in a video excerpt provided in an embodiment of the present application;

[0132] Fig.10 It is a flowchart of a video excerpting method provided in an embodiment of the present application;

[0133] Fig.11 It is a schematic diagram of an electronic device of a video excerpt provided by the present application. DETAILED DESCRIPTION

[0134] The technical solutions in the embodiments of the present application will be described below in conjunction with the drawings in the embodiments of the present application. In the description of the embodiments of the present application, unless otherwise specified, " / " means or, for example, A / B can mean A or B; "and / or" in this article is only a description of the association relationship of associated objects, indicating that there can be three relationships, for example, A and / or B can mean: A exists alone, A and B exist at the same time, and B exists alone. In addition, in the description of the embodiments of the present application, "multiple" means two or more than two.

[0135] In the following, the terms "first", "second", and "third" are used for descriptive purposes only and are not to be understood as indicating or implying relative importance or implicitly indicating the number of the indicated technical features. Thus, a feature defined as "first", "second", and "third" may explicitly or implicitly include one or more of the features.

[0136] At this stage, video, as a carrier of information, conveys information more accurately, intuitively, and is easy for users to understand. For example, video conferencing, video teaching, etc., all use video to transmit information, which is convenient and efficient. In today's society, content distribution and information acquisition based on video carriers have become an important way of information transmission, and users have an increasing demand for extracting and organizing video content. For example, in a video conference, the key content of the meeting is annotated to obtain a video excerpt; or, during the video teaching process, students take notes to record the key content and obtain a video excerpt. In one possible case, the user can annotate a video in a video conference to mark the key points of the meeting and obtain a video excerpt, or the user can annotate a video in the process of video teaching to obtain a video excerpt. However, in the prior art, the method of video excerpting is relatively single, and the user experience is poor.

[0137] In view of this, an embodiment of the present application provides a video excerpting method, which is applied to an electronic device, by displaying a first interface, the first interface includes a first icon corresponding to a first video excerpt file, the first video excerpt file includes a first video, in response to a user's operation on the first icon, a second interface of a first application is displayed, the second interface includes a first video excerpt card and a first control, the first video excerpt card includes the first video, in response to a user's operation on the first control, a first excerpt window and a third interface of the second application are displayed, the first excerpt window blocks part of the content of the third interface, the first excerpt window includes a recording control and a first video excerpt card, in response to a user's operation of opening a third application, the first excerpt window and a fourth interface of the third application are displayed, the first excerpt window blocks part of the content of the fourth interface, and the fourth interface includes the video being recorded The second video being played, in response to the operation of the recording control, starts recording the video clip of the second video in the fourth interface, and displays the second excerpt window, the recording control of the second excerpt window is updated to a pause control, the second excerpt window blocks part of the content of the fourth interface, and in response to the operation of the pause control, ends recording the video clip of the second video in the fourth interface, and displays the third excerpt window, the third excerpt window blocks part of the content of the fourth interface, the third excerpt window includes a first video excerpt card and a second video excerpt card, the second video excerpt card includes the recorded third video, and the third video includes the video clip of the second video, which is equivalent to appending the video clip of the second video to the saved first video excerpt file to form a new video excerpt, enriching the form of video excerpt and improving user experience.

[0138] The video excerpting method provided in the embodiment of the present application can be applied to electronic devices. Optionally, the electronic device includes a terminal device, which can also be called a terminal, a user equipment (UE), a mobile station (MS), a mobile terminal (MT), etc. The terminal device can be a mobile phone, a smart TV, a wearable device, a tablet computer (Pad), a computer with wireless transceiver function, a virtual reality (VR) terminal device, an augmented reality (AR) terminal device, a wireless terminal in industrial control, a wireless terminal in self-driving, a wireless terminal in remote medical surgery, a wireless terminal in smart grid, a wireless terminal in transportation safety, a wireless terminal in smart city, a wireless terminal in smart home, etc. The embodiment of the present application does not limit the specific technology and specific device form adopted by the terminal device.

[0139] For example, Figure 1 1 shows a schematic diagram of the structure of the electronic device 100. The electronic device 100 may include a processor 110, an external memory interface 120, an internal memory 121, a universal serial bus (USB) interface 130, a charging management module 140, a power management module 141, a battery 142, an antenna 1, an antenna 2, a mobile communication module 150, a wireless communication module 160, an audio module 170, a speaker 170A, a receiver 170B, a microphone 170C, an earphone interface 170D, a sensor module 180, a button 190, a motor 191, an indicator 192, a camera 193, a display screen 194, and a subscriber identification module (SIM) card interface 195.

[0140] Among them, the sensor module 180 may include a pressure sensor 180A, a gyroscope sensor 180B, an air pressure sensor 180C, a magnetic sensor 180D, an acceleration sensor 180E, a distance sensor 180F, a proximity light sensor 180G, a fingerprint sensor 180H, a temperature sensor 180J, a touch sensor 180K, an ambient light sensor 180L, a bone conduction sensor 180M, etc.

[0141] It is to be understood that the structure illustrated in the embodiment of the present application does not constitute a specific limitation on the electronic device 100. In other embodiments of the present application, the electronic device 100 may include more or fewer components than shown in the figure, or combine some components, or split some components, or arrange the components differently. The components shown in the figure may be implemented in hardware, software, or a combination of software and hardware.

[0142] The processor 110 may include one or more processing units, for example, the processor 110 may include an application processor (AP), a modem processor, a graphics processor (GPU), an image signal processor (ISP), a controller, a memory, a video codec, a digital signal processor (DSP), a baseband processor, and / or a neural-network processing unit (NPU), etc. Different processing units may be independent devices or integrated into one or more processors.

[0143] The controller may be the nerve center and command center of the electronic device 100. The controller may generate an operation control signal according to the instruction operation code and the timing signal to complete the control of fetching and executing instructions.

[0144] The processor 110 may also be provided with a memory for storing instructions and data. In some embodiments, the memory in the processor 110 is a cache memory. The memory may store instructions or data that the processor 110 has just used or cyclically used. If the processor 110 needs to use the instruction or data again, it may be directly called from the memory. This avoids repeated access, reduces the waiting time of the processor 110, and thus improves the efficiency of the system.

[0145] In some embodiments, the processor 110 may include one or more interfaces. The interface may include an inter-integrated circuit (I2C) interface, an inter-integrated circuit sound (I2S) interface, a pulse code modulation (PCM) interface, a universal asynchronous receiver / transmitter (UART) interface, a mobile industry processor interface (MIPI), a general-purpose input / output (GPIO) interface, a subscriber identity module (SIM) interface, and / or a universal serial bus (USB) interface, etc.

[0146] The wireless communication function of the electronic device 100 can be implemented through the antenna 1, the antenna 2, the mobile communication module 150, the wireless communication module 160, the modem processor and the baseband processor.

[0147] The electronic device 100 implements the display function through a GPU, a display screen 194, and an application processor. The GPU is a microprocessor for image processing, which connects the display screen 194 and the application processor. The GPU is used to perform mathematical and geometric calculations for graphics rendering. The processor 110 may include one or more GPUs that execute program instructions to generate or change display information.

[0148] The display screen 194 is used to display images, videos, etc. The display screen 194 includes a display panel. The display panel can be a liquid crystal display (LCD), an organic light-emitting diode (OLED), an active-matrix organic light-emitting diode or an active-matrix organic light-emitting diode (AMOLED), a flexible light-emitting diode (FLED), Miniled, MicroLed, Micro-oLed, a quantum dot light-emitting diode (QLED), etc. In some embodiments, the electronic device 100 may include 1 or N display screens 194, where N is a positive integer greater than 1.

[0149] The electronic device 100 can realize the shooting function through ISP, camera 193, video codec, GPU, display screen 194 and application processor.

[0150] ISP is used to process the data fed back by camera 193. For example, when taking a photo, the shutter is opened, and the light is transmitted to the camera photosensitive element through the lens. The light signal is converted into an electrical signal, and the camera photosensitive element transmits the electrical signal to ISP for processing and converts it into an image visible to the naked eye. ISP can also perform algorithm optimization on the noise, brightness, and skin color of the image. ISP can also optimize the exposure, color temperature and other parameters of the shooting scene. In some embodiments, ISP can be set in camera 193.

[0151] The camera 193 is used to capture still images or videos. The object generates an optical image through the lens and projects it onto the photosensitive element. The photosensitive element can be a charge coupled device (CCD) or a complementary metal-oxide-semiconductor (CMOS) phototransistor. The photosensitive element converts the optical signal into an electrical signal, and then passes the electrical signal to the ISP to be converted into a digital image signal. The ISP outputs the digital image signal to the DSP for processing. The DSP converts the digital image signal into an image signal in a standard RGB, YUV or other format. In some embodiments, the electronic device 100 may include 1 or N cameras 193, where N is a positive integer greater than 1.

[0152] The digital signal processor is used to process digital signals, and can process not only digital image signals but also other digital signals. For example, when the electronic device 100 is selecting a frequency point, the digital signal processor is used to perform Fourier transform on the frequency point energy.

[0153] Video codecs are used to compress or decompress digital videos. The electronic device 100 may support one or more video codecs. Thus, the electronic device 100 may play or record videos in a variety of coding formats, such as Moving Picture Experts Group (MPEG) 1, MPEG2, MPEG3, MPEG4, etc.

[0154] NPU is a neural network (NN) computing processor. By drawing on the structure of biological neural networks, such as the transmission mode between neurons in the human brain, it can quickly process input information and can also continuously self-learn. Through NPU, applications such as intelligent cognition of electronic device 100 can be realized, such as image recognition, face recognition, voice recognition, text understanding, etc.

[0155] The electronic device 100 can implement audio functions such as music playing and recording through the audio module 170, the speaker 170A, the receiver 170B, the microphone 170C, the headphone jack 170D, and the application processor.

[0156] The pressure sensor 180A is used to sense the pressure signal and can convert the pressure signal into an electrical signal. In some embodiments, the pressure sensor 180A can be set on the display screen 194. There are many types of pressure sensors 180A, such as resistive pressure sensors, inductive pressure sensors, capacitive pressure sensors, etc. The capacitive pressure sensor can be a parallel plate including at least two conductive materials. When a force acts on the pressure sensor 180A, the capacitance between the electrodes changes. The electronic device 100 determines the intensity of the pressure according to the change in capacitance. When a touch operation acts on the display screen 194, the electronic device 100 detects the touch operation intensity according to the pressure sensor 180A. The electronic device 100 can also calculate the touch position according to the detection signal of the pressure sensor 180A. In some embodiments, touch operations acting on the same touch position but with different touch operation intensities can correspond to different operation instructions. For example: when a touch operation with a touch operation intensity less than the first pressure threshold acts on the short message application icon, an instruction to view the short message is executed. When a touch operation with a touch operation intensity greater than or equal to the first pressure threshold acts on the short message application icon, an instruction to create a new short message is executed.

[0157] The touch sensor 180K is also called a "touch panel". The touch sensor 180K can be set on the display screen 194, and the touch sensor 180K and the display screen 194 form a touch screen, also called a "touch screen". The touch sensor 180K is used to detect touch operations acting on or near it. The touch sensor can pass the detected touch operation to the application processor to determine the type of touch event. Visual output related to the touch operation can be provided through the display screen 194. In other embodiments, the touch sensor 180K can also be set on the surface of the electronic device 100, which is different from the position of the display screen 194.

[0158] Motor 191 can generate vibration prompts. Motor 191 can be used for incoming call vibration prompts, and can also be used for touch vibration feedback. For example, touch operations acting on different applications (such as taking pictures, audio playback, etc.) can correspond to different vibration feedback effects. For touch operations acting on different areas of the display screen 194, motor 191 can also correspond to different vibration feedback effects. Different application scenarios (for example: time reminders, receiving messages, alarm clocks, games, etc.) can also correspond to different vibration feedback effects. The touch vibration feedback effect can also support customization.

[0159] Indicator 192 may be an indicator light, which may be used to indicate charging status, power changes, messages, missed calls, notifications, etc.

[0160] It should be noted that any electronic device mentioned in the embodiments of the present application may include more or fewer modules in the electronic device 100.

[0161] The software system of the electronic device 100 may adopt a layered architecture, an event-driven architecture, a micro-core architecture, a micro-service architecture, or a cloud architecture. The embodiment of the present application takes the Android system of the layered architecture as an example to exemplify the software structure of the electronic device 100.

[0162] Figure 2 It is a software structure block diagram of the electronic device 100 according to an embodiment of the present application.

[0163] The layered architecture divides the software into several layers, each with clear roles and division of labor. The layers communicate with each other through software interfaces. In some embodiments, the Android system is divided into four layers, from top to bottom: the application layer, the application framework layer, the Android runtime and system library, and the kernel layer.

[0164] The application layer can include a series of application packages.

[0165] like Figure 2 As shown, the application package may include applications such as camera, gallery, calendar, call, map, navigation, WLAN, Bluetooth, music, video, note, short message, global collection (also known as global collection service, etc.), excerpt tool, etc.

[0166] The application framework layer provides an application programming interface (API) and a programming framework for the applications in the application layer. The application framework layer includes some predefined functions.

[0167] like Figure 2 As shown, the application framework layer may include a window manager, a content provider, a view system, a phone manager, a resource manager, a notification manager, a gesture recognition service, and an image processor.

[0168] The window manager is used to manage window programs. The window manager can obtain the size of the display screen, determine whether there is a status bar, lock the screen, record the screen, capture the screen, etc. It can also respond to the operation of taking notes in the video and wake up the note window.

[0169] Content providers are used to store and retrieve data and make it accessible to applications. The data may include videos, images, audio, calls made and received, browsing history and bookmarks, phone books, etc.

[0170] The view system includes visual controls, such as controls for displaying text, controls for displaying images, etc. The view system can be used to build applications. A display interface can be composed of one or more views. For example, a display interface including a text notification icon can include a view for displaying text and a view for displaying images.

[0171] The phone manager is used to provide communication functions of the electronic device 100, such as management of call status (including connecting, hanging up, etc.).

[0172] The resource manager provides various resources for applications, such as localized strings, icons, images, layout files, video files, and so on.

[0173] The notification manager enables applications to display notification information in the status bar. It can be used to convey notification-type messages and can disappear automatically after a short stay without user interaction. For example, the notification manager is used to notify download completion, message reminders, etc. The notification manager can also be a notification that appears in the system top status bar in the form of a chart or scroll bar text, such as notifications of applications running in the background, or a notification that appears on the screen in the form of a dialog window. For example, a text message is displayed in the status bar, a prompt sound is emitted, an electronic device vibrates, an indicator light flashes, etc.

[0174] The gesture recognition service can recognize the corresponding gestures by detecting touch operations on the touch screen.

[0175] Android Runtime includes core libraries and virtual machines. Android runtime is responsible for scheduling and management of the Android system.

[0176] The core library consists of two parts: one part is the function that needs to be called by the Java language, and the other part is the Android core library.

[0177] The application layer and the application framework layer run in a virtual machine. The virtual machine executes the Java files of the application layer and the application framework layer as binary files. The virtual machine is used to perform functions such as object life cycle management, stack management, thread management, security and exception management, and garbage collection.

[0178] The system library may include multiple functional modules, such as surface manager, media library, 3D graphics processing library (such as OpenGL ES), 2D graphics engine (such as SGL), etc.

[0179] The surface manager is used to manage the display subsystem and provide the fusion of two-dimensional and three-dimensional layers for multiple applications.

[0180] The media library supports playback and recording of a variety of commonly used audio and video formats, as well as static image files, etc. The media library can support a variety of audio and video encoding formats, such as: MPEG4, H.264, MP3, AAC, AMR, JPG, PNG, etc.

[0181] The 3D graphics processing library is used to implement 3D graphics drawing, image rendering, synthesis and layer processing, etc.

[0182] A 2D graphics engine is a drawing engine for 2D drawings.

[0183] The kernel layer is the layer between hardware and software. The kernel layer contains at least display driver, camera driver, audio driver, and sensor driver.

[0184] Combine the following Figure 2 , introduce the implementation process of this solution:

[0185] When a user opens a video application, illustratively, as shown in FIG. 3( a ), the video is played on the display interface 10 of the mobile phone.

[0186] The user can wake up the video excerpt function through a wake-up operation. The wake-up operation can be a preset operation performed by the user in the video playback interface. For example, as shown in FIG3(b), the preset operation gesture can be a three-finger sliding gesture. It is understandable that the wake-up operation can also be other gestures. In some embodiments, the user can make customized settings in the relevant setting options of the video excerpt function.

[0187] The user performs a three-finger swipe to wake up the video excerpt function. The gesture recognition service of the application framework layer will call up the excerpt tool App based on the three-finger swipe action, that is, the excerpt window 101 is displayed in the video playback area in a floating manner, as shown in Figure 3(c).

[0188] When the user triggers an operation in the excerpt window 101, the excerpt window 101 identifies the video playback area and transmits the location information of the video playback area to the image processor. The graphics processor processes the video into a video in a preset format according to the location information of the video playback area and transmits it to the excerpting tool. The excerpting tool performs an excerpting operation on the video in the preset format. In this way, video excerpting can be achieved based on the content of the video playback area display interface.

[0189] The excerpting tool can insert the video notes generated by excerpting the video into the database of the note application, and the note application displays the video notes in chronological order on the note application interface according to the insertion time of the video notes.

[0190] The excerpting tool may also store the video excerpts generated by excerpting the video in the global collection service, and the global collection service displays the video notes in chronological order on the global collection interface according to the insertion time of the video notes.

[0191] Exemplarily, the video excerpting method provided in the embodiment of the present application can be applied in a mobile phone. When the video excerpting method is applied in a mobile phone, the excerpting window 101 can be as shown in FIG. 3(c), including four controls: "Record", "Mark", "Screenshot" and "Finish". Among them, the user clicks the "Record" control to record the currently playing video and generate a video excerpt. The user clicks the "Mark" control to add a label, and can display the time node of the added label at the screen recording video. For example, a text label "Here is the focus" can be added at 30 seconds of the screen recording. The label will then be saved below the screen recording note video. When the video screen recording note is played, the label is grayed out before 30 seconds. When the video is played to 30 seconds, the label is in a highlighted state, that is, when watching the video screen recording note, the screen recording video will play the labels made during the screen recording process in sequence according to the time of labeling. The number of words in the text label can be set to the maximum number of words that can be accommodated, for example, it can be set to accommodate a maximum of 50 words. The user clicks the "Screenshot" control to take a screenshot of the current video interface, and the screenshot has a label attribute. Since the screenshot operation is performed during the screen recording process, the screenshot will be saved below the screen recording video, and the user can make a text description in the label bar of the screenshot after taking the screenshot. For example, the screenshot can be described as "I didn't understand this part". The maximum number of words in the text label can be set, for example, it can be set to a maximum of 50 words. When the user is watching a screen recording video note, the screenshot note is grayed out when the screenshot is not played. When the screenshot note is played, the screenshot note is highlighted. The user clicks the "Done" control to end the current video excerpt and store the obtained video excerpt in the global collection service.

[0192] Exemplarily, the video excerpting method provided in the embodiment of the present application can be applied to a tablet computer Pad. When the video excerpting method is applied to the Pad, since the screen width of the Pad is usually larger than the screen width of the mobile phone, the number of controls in the excerpting tool 101 of the Pad can be larger than the number of controls in the excerpting tool 101 of the mobile phone. The excerpting tool 101 of the Pad can be shown in FIG3(d), including six controls: "Record", "Video Annotation", "Mark", "Screenshot", "Magic Text" and "Complete". Among them, the user clicks the "Record" control to record the currently playing video. The user clicks the "Video Annotation" control to doodle on the recorded video during the recording process, such as marking or circling the key content, writing text on the interface content, etc. These doodle contents will be saved in the recorded video. When the recorded video is played back, the doodle process will be shown in the video. For example, the doodle is to circle certain content, and the circling process will be restored when the video note is played. When the user clicks the "Mark" control, they can add a label and display the time node of the screen recording video where the label was added. For example, you can add a text label "This is the focus" at the 30-second mark of the screen recording. The label will then be saved below the screen recording note video. When playing the video screen recording note, the label will be grayed out before 30 seconds. When the video plays to 30 seconds, the label will be highlighted. That is, when watching the video screen recording note, the screen recording video will play the labels made during the recording process in sequence according to the time when the labels were made. The number of words in the text label can be set to a maximum of 50 words. When the user clicks the "Screenshot" control, he can take a screenshot of the current video interface, and the screenshot has a label attribute. Since the screenshot operation is performed during the screen recording process, the screenshot will be saved below the screen recording video, and the user can make a text description in the label bar of the screenshot after taking the screenshot, for example, the screenshot can be explained as "I don't understand this part", and the number of words in the text label can be set to a maximum of 50 words. When the user is watching the screen recording video note, the screenshot note is grayed out before the screenshot is played, and when the screenshot note is played, the screenshot note is highlighted. The user clicks the "Magic Text" control to perform text marking on the screen recording video during the screen recording process, for example, to comment on the content of a frame of the video in the form of text description, and these words will be saved in the screen recording video. When the screen recording video is watched back, the text will be displayed in the video. It should be understood that, unlike entering text in the "Video Annotation" control, after clicking the "Video Annotation" control, the text generated is based on the text generated by the user's finger sliding on the screen, that is, the text written by the user. The text entered after clicking the "Magic Text" control is generated based on the font preset in the electronic device.The user clicks the "Finish" control to end the current video excerpt and store the obtained video excerpt in the global collection service.

[0193] The following description will be made by taking storing the obtained video excerpts in the global collection as an example.

[0194] As shown in FIG4(a), the current display interface 10 of the mobile phone displays an excerpting tool 101, wherein the excerpting tool 101 includes four controls: "record", "mark", "screenshot" and "finish". The user clicks the "finish" control, as shown in FIG4(b). When the video excerpt is finished, the currently running video app may be closed or not, and the present embodiment of the application does not limit this.

[0195] Optionally, in response to the user clicking the "Finish" control, the mobile phone ends the video excerpt, but the currently running video app is not closed, the electronic device can continue to play the video, and the display interface of the mobile phone is switched to the display interface 20, as shown in FIG4(c). The display interface 20 includes an expanded "global collection" icon 201. After a preset time interval, for example, after an interval of 5 seconds, the "global collection" icon 201 is retracted to the right, and the hidden "global collection" icon 202 is displayed, as shown in FIG4(d).

[0196] Optionally, in response to the user clicking the "Finish" control, the mobile phone ends the video excerpt, exits the currently running video app, and displays the desktop, as shown in FIG4(e). The desktop displays the expanded "Global Collection" icon 201. After a preset time interval, for example, after an interval of 5 seconds, the "Global Collection" icon 201 is retracted to the right, and the hidden "Global Collection" icon 202 is displayed, as shown in FIG4(f).

[0197] In one possible case, two apps, "Notes" and "Global Collections", are installed in the mobile phone at the same time. The excerpting tool 101 can be a toolbar corresponding to "Notes" or a toolbar corresponding to "Global Collections". After the user clicks the "Finish" control in the excerpting tool 101, in response to the user clicking the "Finish" control, the display interface 10 displays option 102, which includes option "Save to Notes" 1021 and option "Save to Global Collections" 1022, as shown in FIG5(a). The user clicks the option "Save to Global Collections" 1022, as shown in FIG5(b). In response to the user clicking the option "Save to Global Collections" 1022, the mobile phone displays the "Global Collections" icon 103 as shown in FIG5(c), and the "Global Collections" icon 103 can display "Video Excerpts in Collection". Among them, the "Global Collections" icon 103 can slide out from the right side of the display interface 10, and the mobile phone executes the corresponding preset dynamic effect. The preset dynamic effect can be a dynamic effect of the last frame screenshot of the recorded video flying into the "Global Collections" icon 103. After the video excerpt flies into the "global collection" icon 103, the "global collection" icon 103 on the display interface 10 may display "Collected successfully", as shown in FIG5(d). It should be understood that since the video excerpt has been stored in the global collection, when "Collected successfully" is displayed on the "global collection" icon 103, the picture on the "global collection" icon 103 may also be changed from a preset picture to a picture related to the content of the video excerpt. Exemplarily, as shown in FIG5(d), the picture on the "global collection" icon 103 is changed from a preset star picture to a screenshot of a frame in the video excerpt, that is, a picture of the mobile phone. Then after a preset time interval, for example, after an interval of 5s, the "global collection" icon 103 becomes a hidden global collection panel 104, which is displayed on the right side of the display interface 10, as shown in FIG5(e).

[0198] Optionally, saving the video excerpt in the global collection can also be directly displayed on the display interface 10 through a prompt message. As shown in FIG5(f), in response to the user clicking the option "Save to global collection" 1022, a prompt message 105 is displayed on the mobile phone display interface 10, and the prompt message 105 displays the text "Successfully saved" and "Go to collection to view". It can be understood that the prompt message 105 can automatically disappear after being displayed on the display interface 10 for a preset length of time. The prompt message 105 can also disappear after the user clicks "Successfully saved". When the user clicks "Go to collection to view", the mobile phone can jump to the global collection interface.

[0199] During the video excerpting process, if the video excerpt that the user wants to obtain is not a continuous video in the parent video, for example, the user wants to splice the video from 1 minute 20 seconds to 1 minute 35 seconds, and the video from 2 minutes 15 seconds to 2 minutes 30 seconds to obtain a video excerpt, this can be achieved through the video continuation function provided in the embodiment of the present application. Figure 6(a) to Figure 6(r) Let me explain in detail.

[0200] The electronic device (such as a tablet pad) displays a video played through a video playback App, and displays a display interface 50 as shown in FIG6(a). The user performs a three-finger swiping gesture on the display interface 50 to wake up the video excerpt function, as shown in FIG6(b). In response to the user's wake-up operation, an excerpt window 501 is displayed, as shown in FIG6(c). Among them, the excerpt window 501 includes a recording control 5011 and a display area 5012. Among them, prompt information is displayed on the display area 5012, for example, the prompt information can be a text message of "the video content will be excerpted here". The user clicks the recording control 5011, as shown in FIG6(d). In response to the user clicking the recording control 5011, the display interface of the electronic device switches to the display interface 51, as shown in FIG6(e). Among them, the display interface 51 includes an excerpt window 501 and a playback area 511. Among them, the play area 512 is used to display the video being played, that is, the parent video for generating the video excerpt; the recording control 5011 in the excerpt window 501 is switched to the pause control 5013, and the duration of the excerpted video is displayed below the pause control 5013; the pause control 5013 is used to pause the generation of the video excerpt, and the display area 5012 in the excerpt window 501 displays the indication information indicating whether the video excerpt is being recorded, for example, the text "Recording..." is displayed in the display area 5012. The user clicks the pause control 5013, as shown in Figure 6 (f). In response to the user clicking the pause control 5013, the Pad pauses extracting content from the video being played. At this time, the video being played in the play area 511 is still playing normally, and a frame of the video clip that has been excerpted is displayed in the display area 5012. At the same time, the pause control 5013 in the excerpt window 501 switches back to the recording control 5011, as shown in Figure 6 (g). At this time, the area of ​​the display area 5012 can be automatically increased. Optionally, the displayed frame of image may be the first frame of image in the excerpted video, or may be the last frame of image, which is not limited in the embodiment of the present application.

[0201] When the play area 511 plays the second video that the user needs to extract, the user can click the record control 5011, as shown in FIG6(h). In response to the user clicking the record control 5011, the Pad starts to extract content from the video being played again. At this time, the video being played in the play area 511 is still playing normally, and a frame of the video clip that has been extracted in the display area 5012 is displayed. At the same time, the record control 5011 is switched to the pause control 5013, and the total duration of the extracted video is displayed below the pause control 5013, as shown in FIG6(i).

[0202] It should be understood that the user can pause the video excerpt being generated multiple times by clicking the pause control 5013 multiple times, thereby realizing the function of merging multiple videos to generate a video excerpt. For example, the user clicks the recording control 5011 at 1 minute 20 seconds to start recording the excerpted video, and clicks the pause control 5013 at 1 minute 35 seconds; then, the user clicks the recording control 5011 again at 2 minutes 15 seconds to start recording the excerpted video, and clicks the pause control 5013 at 2 minutes 30 seconds; clicks the recording control 5011 again at 3 minutes 23 seconds to start recording the excerpted video, and clicks the pause control 5013 at 3 minutes 27 seconds; at this point, the generated video excerpt is obtained by splicing the video from 1 minute 20 seconds to 1 minute 35 seconds, the video from 2 minutes 15 seconds to 2 minutes 30 seconds, and the video from 3 minutes 23 seconds to 3 minutes 27 seconds.

[0203] In one possible case, the excerpted video file is too long, resulting in the excerpted video file size being too large, and a pop-up window is used to prompt the user that the maximum file limit has been reached and the recording is terminated. Exemplarily, as shown in FIG6(j), when the excerpted video file is too long, a pop-up window 512 is displayed. Among them, the pop-up window 515 can display the text message "The maximum file limit has been reached and the screen recording file has been saved." At the same time, the pause control 5013 is switched to the recording control 5011. If the video file cannot be recorded because the file size of the recorded video file is too large, the electronic device will automatically end the recording and display the generated video excerpt on the video excerpt card 517.

[0204] In one possible case, the excerpt window 501 also includes a screenshot control 5014, as shown in FIG6(i). In the process of video excerpting a video file, if the user needs to extract a frame of image at the same time, when the video is played to the frame of image, the user can click the screenshot control to obtain a screenshot of the frame of image, and display the screenshot in the excerpt window 501. Exemplarily, when the video being played in the playing area 511 displays an image that the user needs to mark, the user clicks the screenshot control 5014, as shown in FIG6(k). In response to the user clicking the screenshot control 5014, the current frame of image is obtained, and the current frame of image is displayed in the second area 5015 in the excerpt window 501, as shown in FIG6(l). At this time, since the screenshot is also added in the second area 5015, the area of ​​the excerpt window 501 can be automatically increased.

[0205] Optionally, a time mark is also displayed on the second area 5015, which may indicate the moment when the captured screenshot appears in the original video, or may indicate the moment when the captured screenshot appears in the video excerpt, which is not limited in this embodiment of the present application.

[0206] Optionally, the excerpt window 501 also includes a minimize control 5016, as shown in FIG6(i). During the excerpting process, or when pausing the excerpting, the user clicks the minimize control 5016, as shown in FIG6(m). In response to the click operation on the minimize control 5016, the display interface switches to the display interface 52, and on the display interface 52, the excerpt window 501 switches to a floating ball 521 with a smaller occlusion area, as shown in FIG6(n). If the user clicks the floating ball 521, the excerpt window 501 can be called up again; if the user does not perform any operation within a preset time, the floating ball 521 can move to the edge of the display interface 52 and display as a hidden floating ball 521, as shown in FIG6(o). In this way, during the process of video excerpting, the excerpt window 501 can be switched to a floating ball 521 with a smaller occlusion area, reducing the impact of the excerpt window 501 on the user's field of view and improving the user experience.

[0207] Optionally, the excerpt window 501 also includes a completion control 5017, as shown in FIG6(i). The user clicks the completion control 5017, as shown in FIG6(p). In response to the user's operation on the completion control 5017, the excerpted video can be stored in the global collection. At this time, the display interface switches to the display interface 53, on which the excerpt window 501 is closed and a global collection icon 531 is displayed, as shown in FIG6(q). If the user does not perform any operation within a preset time period, the global collection image 531 can move to the edge of the display interface 53 and switch to a hidden global collection icon 532, as shown in FIG6(r).

[0208] Figure 6(a) to Figure 6(r) The illustrated embodiment describes how to obtain a video excerpt based on multiple discontinuous sub-videos in the same video (that is, partial videos in the same video) during the process of obtaining a video excerpt. After obtaining the video excerpt, the video excerpt can be stored in a global collection, or the video excerpt can be stored in a note, which is not limited in the embodiment of the present application. After storing the video excerpt, the video excerpt can also be selected from the global collection or notes to edit the video excerpt. Exemplarily, the voice in the video excerpt can be converted into text, and the converted text can be displayed in a preset area (this function can be called video-text synchronization); or, a video can be appended to an existing video excerpt to obtain a new video excerpt; or, a stored video excerpt can be edited a second time.

[0209] In one possible case, after a video excerpt is collected in a global collection, the global collection icon is usually displayed in a hidden state on the side of the electronic device. Exemplarily, as shown in FIG7(a), a hidden global collection icon 601 is displayed on the right side of the mobile phone display interface 60. The user clicks the hidden global collection icon 601, as shown in FIG7(b). In response to the user clicking the hidden global collection icon 601, a global collection card 611 and a toolbar 612 are displayed on the display interface 61 of the mobile phone, as shown in FIG7(c). Among them, the global collection card 611 is used to display items collected in the global collection, and the types of collections include documents, pictures, videos, web folders and notes. The toolbar 612 includes an expand control 6121, a reduce control 6122, and a close control 6123.

[0210] The expansion control 6121 is used to convert the distributed global collection card 611 into the expanded global collection card 604. Exemplarily, the user clicks the expansion control 6121, as shown in FIG7(d). In response to the user clicking the expansion control 6121, the display interface of the mobile phone switches to the display interface 62, wherein the display interface 62 includes the expanded global collection card 621. The expanded global collection card 621 occupies the entire display interface of the mobile phone, as shown in FIG7(e).

[0211] The reduction control 6122 is used to switch the global favorites card 611 in the distributed state to the global favorites icon 601 in the hidden state. Exemplarily, the user clicks the reduction control 6122, as shown in FIG7(f). In response to the user clicking the reduction control 6122, the display interface of the mobile phone switches to the display interface 60, and the global favorites icon 601 in the hidden state is displayed on the right side of the mobile phone display interface 60, as shown in FIG7(b).

[0212] The close control 6123 is used to close the global collection service. Exemplarily, as shown in FIG7(g), the user clicks the close control 6123. In response to the user clicking the close control 6123, the display interface of the mobile phone switches to the display interface 63, as shown in FIG7(h). The display interface 63 does not have the hidden global collection icon 601, the distributed global collection card 611, and the expanded global collection card 604.

[0213] When the distributed global collection card 611 is displayed on the display interface 61, the area of ​​the distributed global collection card 611 occupied by the display interface can also be expanded through an expansion operation. The expansion operation may refer to a user performing a preset operation gesture on the display interface 61. For example, as shown in FIG7(i), the preset operation gesture may refer to a gesture of sliding two fingers outward in opposite directions. After the user performs a gesture of sliding two fingers outward in opposite directions on the display interface 61, the area of ​​the distributed global collection card 611 increases in response to the gesture, as shown in FIG7(j).

[0214] After the user selects the video excerpt 01 in the global collection card 602, the user can add a video excerpt to the video excerpt 01 to obtain a new video excerpt. For example, as shown in FIG7(k), the user clicks the video excerpt 01 in the distributed global collection card 602. In response to the user's click operation, the display interface of the mobile phone switches to the display interface 64, which includes the video excerpt card 641 and the additional control 642, as shown in FIG7(l).

[0215] Among them, the video excerpt card 641 is used to display the completed video excerpt, for example, "Video Excerpt 01" as shown in Figure 7(l). The additional control 642 is used to add an excerpt to the existing video excerpt, that is, to increase the content of the existing video excerpt. For example, the user clicks the additional control 642, as shown in Figure 7(m). In response to the user clicking the additional control 642, the display interface of the mobile phone switches to the display interface 65, as shown in Figure 7(n). The display interface 65 includes an excerpt window 651 and a video application 652. Among them, the excerpt window 651 includes a video excerpt card 6511, a recording control 6512, a mark control 6513, a screenshot control 6514 and a completion control 6515. The video application 652 can be a video application corresponding to the parent video of the video excerpt 01, or it can be a video application that is not corresponding to the parent video of the video excerpt 01. The embodiment of the present application does not limit this. The user can select the corresponding video to add a video excerpt according to the needs.

[0216] Exemplarily, the user clicks on the video application 652 in the display interface, as shown in FIG7(o). In response to the user clicking on the video application 652, the display interface switches to the display interface 66, as shown in FIG7(p). Among them, the display interface 66 includes an excerpt window 651 and a video screen 661 played by the video application 652, and the excerpt window 651 blocks part of the content of the video screen 661. It should be understood that the video displayed in the video screen 661 may be the parent video of the video excerpt 01, or may not be the parent video of the video excerpt, and the embodiment of the present application does not limit this. If the user clicks on the recording control 6512, as shown in FIG7(q). In response to the user clicking on the recording control 6512, the display interface switches to the display interface 67, as shown in FIG7(r). Among them, the display interface 67 includes an excerpt window 671 and a video screen 661 of the video application 652, and the excerpt window 671 blocks part of the content of the video screen 661. Compared with the excerpt window 651, the excerpt window 671 has a larger area. In addition to the video excerpt card 6511, a new video excerpt card 6711 is added. The video excerpt card 6711 displays a prompt message indicating that the video is being recorded, for example, the text message "Recording..." as shown in Figure 7 (r); at the same time, the recording control 6512 in the excerpt window 671 is switched to a pause control 6516, and the duration of the recorded video excerpt is displayed below the pause control 6516, which increases with the recording time. When the user completes the operation of adding a video excerpt to the video excerpt 01, the user can click the pause control 6516, as shown in Figure 7 (s). In response to the user clicking the pause control 6516, the display interface switches to the display interface 68, as shown in Figure 7 (t). Among them, the display interface 68 includes the excerpt window 671 and the video screen 661 played by the video application 652, and the excerpt window 671 blocks part of the content of the video screen 661. Compared with the excerpt window 671 in the display interface 67, the excerpt window 671 in the display interface 68 has a larger area, and the content displayed by the video excerpt card 6711 is switched from the indication information to the icon of the new video excerpt. It should be understood that the icon of the new video excerpt displayed can be a screenshot of a frame in the new video excerpt, such as a screenshot of the first frame of the new video excerpt, or a screenshot of the last frame of the new video excerpt. At the same time, the pause control 6516 in the excerpt window 671 is switched back to the recording control 6512.

[0217] Optionally, new tags can be added during the process of recording a new video excerpt. Exemplarily, when recording a new video excerpt to the 17th second, the user clicks the tag control 6513 in the display interface 67, as shown in FIG7(u). In response to the user clicking the tag control 6513, the area of ​​the excerpt window 671 increases, and the newly added tag information is displayed on the video excerpt card 6711, as shown in FIG7(v). In one possible case, the video excerpt card 6711 also displays the time corresponding to the newly added tag information, that is, "00:17" shown in FIG7(v).

[0218] Optionally, new screenshots can be added during the process of recording a new video excerpt. Exemplarily, when recording a new video excerpt to the 13th second, the user clicks the screenshot control 6514 in the display interface 67, as shown in FIG7(w). In response to the click operation on the screenshot control 6514, the area of ​​the excerpt window 671 increases, and the newly added screenshot is displayed in the video excerpt card 6711, as shown in FIG7(x). In one possible case, the time corresponding to the newly added screenshot is also displayed on the display area 6714, that is, "00:13" shown in FIG7(x).

[0219] When the user completes recording the additional video excerpt, the user can click the completion control 6515, as shown in FIG7(y). In response to the user clicking the completion control 6515, the additional video excerpt and the initial video excerpt (i.e., video excerpt 01) are stored together in the same file group in the global collection. At the same time, the excerpt window 681 is closed and the global collection icon 201 is displayed, as shown in FIG7(z).

[0220] It should be understood that when appending to an existing video excerpt, the excerpt can be appended from the parent video corresponding to the existing video excerpt, or from other videos, and the embodiments of the present application do not limit this.

[0221] For example, the existing video excerpt is obtained from video A in the video playback App. When the user clicks the recording control 6512 on the display interface 65 shown in FIG. 7(n), in response to the user's click operation, the electronic device directly jumps to video A in the video playback App, and adds the video excerpt based on video A to obtain a new video excerpt. This is equivalent to being able to directly jump to the original video file to add the video excerpt when adding the video excerpt, thereby improving the convenience of adding the video excerpt.

[0222] For example, the existing video excerpt is obtained from video B in the short video app, and the video that the user needs to add is a segment of video C. At this time, the user needs to actively select the short video app and open video C. For example, after the user clicks the icon of the short video app, he selects video C to open. At this time, video C starts to play below the excerpt window 671. After the user clicks the recording control 6512, the video excerpt is added based on video C to obtain a new video excerpt. This is equivalent to the additional video excerpt and the original video excerpt being obtained from different video files, which improves the flexibility of adding video excerpts.

[0223] In one possible case, the user can also synchronize the video and text of the stored video excerpts. Figure 8(a) to Figure 8(f) The illustrated embodiment is described in detail.

[0224] As shown in FIG7(k), the user clicks on the video excerpt 01 in the global collection card 602 in the distributed state. In response to the user's click operation, the display interface of the mobile phone switches to the display interface 64, wherein the display interface 64 includes a video excerpt card 641, an additional control 642, and a video-text synchronization control 643, as shown in FIG7(l). The user clicks on the video-text synchronization control 643, as shown in FIG8(a), and in response to the user's click on the video-text synchronization control 643, the display interface switches to the display interface 70, as shown in FIG8(b). Among them, the display interface 70 includes a video excerpt card 701, wherein the video excerpt card 701 includes a video-text synchronization card 643 and a display area 7011, wherein the color of the video-text synchronization control 643 changes. For example, the color of the video-text synchronization control 643 in the display interface 64 is black, and the color of the video-text synchronization control 643 in the display interface 70 is blue. When the color of the video-text synchronization control 643 changes, it indicates that the mobile phone is performing video-text synchronization, that is, the electronic device is converting the voice in the video excerpt into text and displaying the text in the display area 7011.

[0225] Optionally, the display area 7011 may include a video-text synchronization icon 70111 and a conversion icon 70112, wherein the conversion icon 70112 may be displayed according to a preset dynamic effect, and when the conversion icon 70112 is displayed according to the preset dynamic effect, it indicates that a speech-to-text operation is in progress. For example, the preset dynamic effect may refer to rotation in a preset direction, and the rotation of the conversion icon 70112 in a preset direction may indicate that a speech-to-text operation is in progress.

[0226] The length of the display area 7011 can be a fixed length. For example, as shown in FIG8(b), the display area 7011 can display two lines of text. It should be understood that in addition to the display area 7011 displayed on the video excerpt card 701, other information is also displayed below the display area 7011. Limited by the length of the display interface 70, all other information cannot be fully displayed on the display interface 70. The user can slide down to make the electronic device display other information that is not displayed. In this process, the display area 7011 will not scroll with the scrolling of other information, and is fixedly set in the currently displayed area. Since the user is more willing to view the converted text during the video-text synchronization process, that is, the user is more likely to view the text in the display area 7011, so the display area 7011 is always displayed on the current display interface. It can better meet the user's expectations.

[0227] If the converted text exceeds two lines, the text exceeding two lines will be folded. When the user needs to view the folded text, the folded area can be expanded to display all the text.

[0228] In one possible case, when the voice in the video has been converted to text and displayed in the display area 7011, if the user slides the progress bar of the video excerpt to the left, that is, the progress bar is rewound, as shown in FIG8(c). Among them, the color of the text corresponding to the video that has not been played indicated by the progress bar changes, for example, from black to gray, as shown in FIG8(d). In this case, if the user clicks the video-text synchronization control 643 again, as shown in FIG8(e). In response to the operation of the video-text synchronization control 643, a pop-up window 702 can also be displayed on the display interface 70, as shown in FIG8(f). Among them, the pop-up window 702 displays a prompt to the user whether to re-process the voice-to-text conversion and overwrite the old text. For example, as shown in FIG8(f), the pop-up window 702 displays the message 7021 "There is currently voice-to-text content, continuing the conversion will overwrite the old content, do you want to continue", the "Do not remind again" option 7022, the "Cancel" option 7023 and the "Confirm" option 7024.

[0229] In one possible scenario, the video excerpt is stored in the note app. The user can select the target video excerpt from the note app to perform secondary editing on the video excerpt. It should be understood that, unlike appending a video excerpt, secondary editing of a video excerpt does not mean re-extracting a new video excerpt, but re-editing a video excerpt that has already been stored in the global collection, without obtaining content from the parent video. Figure 9(a) to Figure 9(n) The illustrated embodiment is described in detail.

[0230] The user clicks on the note app, as shown in Figure 9(a). In response to the user clicking on the note app, the electronic device displays various types of notes stored in the note app, including video excerpts, as shown in Figure 9(b). When the user needs to process the video excerpt synchronously with the text, the user can click on the video excerpt to be processed to open the video excerpt. Exemplarily, as shown in Figure 9(c), the user clicks on "Video Excerpt 20230516-1025". In response to the user clicking on "Video Excerpt 20230516-1025", the electronic device displays a display interface 80 as shown in Figure 9(d). Among them, the display interface 80 includes a video excerpt card 801, and the video excerpt card 801 includes a display area 8011 and a mark time control 8012. The display area 8011 is used to display the captured video clip, and the mark time control 8012 displays the moment corresponding to the screenshot or mark information.

[0231] In one possible case, the user long presses the display area 8011, as shown in Fig. 9(e). In response to the user long pressing the display area 8011, a secondary editing tool 8013 is displayed on the video excerpt card 801, as shown in Fig. 9(f), and the secondary editing tool 8013 includes a delete control 80131 and an add mark control 80132.

[0232] In one possible case, the user clicks on the mark time control 8012, as shown in Figure 9(g). In response to the user clicking on the mark time control 8012, a secondary editing tool 8013 is displayed on the video excerpt card 801, as shown in Figure 9(f), and the secondary editing tool 8013 includes a delete control 80131 and an add mark control 80132.

[0233] Among them, the display position of the secondary editing tool 8013 displayed in response to the user clicking the display area 8011 and the display position of the secondary editing tool 8013 displayed in response to the user clicking the mark time control 8012 may be the same or different, and the embodiments of the present application do not limit this.

[0234] When the secondary editing tool 8013 is displayed on the video excerpt card 801, the user clicks the add mark control 80132, as shown in FIG9(h). In response to the user clicking the add mark control 80132, a flashing vertical line icon 80121 appears after the moment displayed on the add mark control 80132, as shown in FIG9(i). The user can add text after the existing text mark to obtain a new text mark.

[0235] In addition, when the user clicks the add tag control 80132, the tag time exceeds the duration of the video, and a pop-up window message indicating that the tag cannot exceed the duration of the video appears on the electronic device. For example, the total duration of the video is 56 seconds, and the user clicks the add tag control 80132. A flashing vertical line icon 80121 appears after the moment displayed on the add tag control 80132, and the tag time entered by the user is 00:59. Since 00:59 is greater than the total duration of the video 00:56, a text message 8014 indicating that the tag cannot exceed the duration of the video is displayed on the electronic device, as shown in FIG9(j).

[0236] Furthermore, when the video excerpt card 801 includes multiple video excerpts, the position of each video excerpt can also be adjusted. Exemplarily, as shown in FIG9(k), the video excerpt card 801 includes video excerpt 01 and video excerpt 02. Video excerpt 01 is located above video excerpt 02. The user clicks to select video excerpt 01, and the background color of video excerpt 01 changes, as shown in FIG9(l). The user drags video excerpt 01 downward until the positions of video excerpt 01 and video excerpt 02 are swapped, as shown in FIG9(m).

[0237] It should be understood that, in the process of dragging the video excerpt 01, the video excerpt card 801 simultaneously displays a large-sized video excerpt 01 and a small-sized video excerpt 01, as shown in FIG9(n). The grayscale of the large-sized video excerpt 01 increases, and the small-sized video excerpt 01 moves with the user's sliding operation.

[0238] Fig.10 A schematic diagram of a video excerpting method is provided in one embodiment of the present application. Fig.10 As shown, the method includes:

[0239] S101. Display a first interface, where the first interface includes a first icon corresponding to a first video excerpt file, and the first video excerpt file includes a first video.

[0240] The first interface may be the global collection interface 61 as shown in FIG. 7( k ), the first video excerpt file may refer to the video excerpt 01 , and the first icon may refer to the icon of the video excerpt 01 .

[0241] It should be understood that the first interface may also refer to the global favorites interface 62 as shown in Figure 7(e). In a possible case, the first interface may also be a display interface of other applications, which is not limited in the embodiment of the present application.

[0242] S102. In response to a user operation on a first icon, a second interface of the first application is displayed, where the second interface includes a first video excerpt card and a first control, and the first video excerpt card includes a first video.

[0243] The operation on the first icon may refer to the user clicking the first icon, as shown in Figure 7(k). It should be understood that the operation on the first icon may also refer to the operation of waking up the video excerpt corresponding to the first icon through a voice command, which is not limited in this embodiment of the present application.

[0244] The second interface may refer to the display interface 64 shown in FIG. 7( l), the first application may refer to the global collection, the first video excerpt card may refer to the video excerpt card 641 on the display interface 64, and the first control may refer to the additional control 642. The first video is displayed in the first video excerpt card.

[0245] S103. In response to the user's operation on the first control, a first excerpt window and a third interface of the second application are displayed, wherein the first excerpt window covers part of the content of the third interface, and the first excerpt window includes a recording control and a first video excerpt card.

[0246] Among them, the operation on the first control may refer to the user clicking on the first control, as shown in Figure 7(m). It should be understood that the operation on the first control may also be an operation to wake up the first control through a voice command, which is not limited in this embodiment of the present application. The third interface may refer to the display interface 65, as shown in Figure 7(n). The first excerpt window may refer to the excerpt window 651, the recording control may refer to the recording control 6512, and the first video excerpt card may refer to the video excerpt card 6511. It should be understood that the second application may be the system desktop as shown in Figure 7(n), or it may be other applications, which is not limited in this embodiment of the present application. For example, the second application may also be an application for video playback.

[0247] S104. In response to the user opening the third application, the first excerpt window and the fourth interface of the third application are displayed, the first excerpt window obstructs part of the content of the fourth interface, and the fourth interface includes the second video being played.

[0248] Among them, the third application may indicate a video application 652 .

[0249] Optionally, when the second application is the system desktop, an icon of the third application is displayed on the third interface of the second application, such as the video application 652 shown in FIG. 7( n ), and the user's operation of opening the third application may refer to an operation of clicking the icon of the third application.

[0250] The fourth interface may refer to an interface for playing a video after the third application is opened, such as the display interface 66 shown in FIG7(p). It should be understood that the first excerpt window, that is, the excerpt window 651, may be a floating window, so after the third application is opened, the excerpt window 651 is still suspended on the fourth interface, and the excerpt window 651 blocks part of the content of the display interface 66. The video screen 661 is played on the display interface 66, that is, the screen in the second video.

[0251] S105. In response to an operation on the recording control, start recording a video clip of the second video in the fourth interface, display a second excerpt window, update the recording control of the second excerpt window to a pause control, and the second excerpt window blocks part of the content of the fourth interface.

[0252] The second excerpt window may be the excerpt window 671 as shown in FIG. 7( r ). Compared with the excerpt window 651 (ie, the first excerpt window), the recording control 6512 is switched to a pause control 6516 .

[0253] S106. In response to an operation on the pause control, the recording of the video segment of the second video in the fourth interface is ended, and a third excerpt window is displayed, the third excerpt window obstructs part of the content of the fourth interface, the third excerpt window includes a first video excerpt card and a second video excerpt card, the second video excerpt card includes the recorded third video, and the third video includes the video segment of the second video.

[0254] The third excerpt window may be the excerpt window 681 shown in FIG7(y). The first video excerpt card may be the video excerpt card 6511, and the second video excerpt card may be the video excerpt card 6711.

[0255] The video excerpting method provided by the embodiment of the present application includes displaying a first interface, the first interface includes a first icon corresponding to a first video excerpt file, the first video excerpt file includes a first video, in response to a user's operation on the first icon, a second interface of a first application is displayed, the second interface includes a first video excerpt card and a first control, the first video excerpt card includes the first video, in response to a user's operation on the first control, a first excerpt window and a third interface of the second application are displayed, the first excerpt window blocks part of the content of the third interface, the first excerpt window includes a recording control and a first video excerpt card, in response to a user's operation of opening a third application, the first excerpt window and a fourth interface of the third application are displayed, the first excerpt window blocks part of the content of the fourth interface, and the fourth interface includes the second video being played In response to the operation of the recording control, the video clip of the second video in the fourth interface starts to be recorded, and the second excerpt window is displayed. The recording control of the second excerpt window is updated to a pause control, and the second excerpt window blocks part of the content of the fourth interface. In response to the operation of the pause control, the video clip of the second video in the fourth interface ends, and the third excerpt window is displayed. The third excerpt window blocks part of the content of the fourth interface. The third excerpt window includes a first video excerpt card and a second video excerpt card. The second video excerpt card includes the recorded third video, and the third video includes the video clip of the second video. This is equivalent to appending the video clip of the second video to the saved first video excerpt file to form a new video excerpt, enriching the form of video excerpts and improving user experience.

[0256] Optionally, the third interface includes a second icon of a third application, such as the video application 652 icon shown in FIG7( n). In response to the user opening the third application, displaying the first excerpt window and the fourth interface of the third application includes: in response to a click operation on the second icon, displaying the first excerpt window and the fourth interface of the third application.

[0257] Optionally, the first video is a video clip in the second video.

[0258] That is to say, the excerpt video displayed in the first video excerpt card and the excerpt video displayed in the second video excerpt card are from the same video.

[0259] Optionally, the first video is a video clip of a fourth video in a fourth application.

[0260] The fourth application and the third application may be different applications. That is to say, the excerpt video displayed in the first video excerpt card and the excerpt video displayed in the second video excerpt card are from videos played in different applications.

[0261] Optionally, the length of the third excerpt window is greater than the length of the first excerpt window.

[0262] Optionally, the first application includes a global favorite.

[0263] Optionally, the third excerpt window also includes a completion control, such as the completion control 6515 shown in Figure 7 (y), and the method also includes: in response to the operation of the completion control, closing the third excerpt window, displaying the fifth interface, the fifth interface including a third icon, the third icon is an icon corresponding to the global collection, and the third icon is used to indicate that the first video and the third video are saved to the global collection.

[0264] The fifth interface may be the display interface 68 as shown in FIG. 7( z ), and the third icon may be the global favorites icon 201 as shown in FIG. 7( z ).

[0265] Optionally, the third excerpt window also includes a tag control, such as the tag control 6513 shown in Figure 7(u), and the method also includes: in response to an operation on the tag control, obtaining tag information, and displaying a first display area in the second video excerpt card in the third excerpt card, the first display area being used to display the tag information, the tag information including a description of the video clip in the second video.

[0266] Optionally, the third excerpt window also includes a screenshot control, such as the screenshot control 6514 shown in Figure 7(w), and the method also includes: in response to an operation on the screenshot control, obtaining a first screenshot, and displaying a second display area in the second video excerpt card in the third excerpt card, the second display area being used to display the first screenshot, the first screenshot being a screenshot of the second video display image when the screenshot control is operated.

[0267] Optionally, the second excerpt window further includes a third display area, and the third display area displays first time information, where the first time information is used to indicate the duration of recording the video segment of the second video.

[0268] Optionally, the second excerpt window further includes a fourth display area, and the fourth display area displays first prompt information, where the first prompt information is used to indicate that a video segment of the second video is being recorded.

[0269] Optionally, the first excerpt window further includes a first minimization control, and the method further includes: in response to an operation on the first minimization control, the first excerpt window switches to a fourth icon, and an area of ​​the fourth icon is smaller than an area of ​​the first excerpt window.

[0270] Optionally, the second excerpt window further includes a second minimize control, and the method further includes: in response to an operation on the second minimize control, the second excerpt window switches to a fifth icon, and an area of ​​the fifth icon is smaller than an area of ​​the second excerpt window.

[0271] Optionally, the third excerpt window further includes a third minimize control, and the method further includes: in response to an operation on the third minimize control, the third excerpt window switches to a sixth icon, and an area of ​​the sixth icon is smaller than an area of ​​the third excerpt window.

[0272] Among them, the first minimized control, the second minimized control and the third minimized control can be minimized control 5016 as shown in Figure 6(m). In a possible case, the minimized control in the excerpt window is not directly displayed on the excerpt window, but is called out through a wake-up operation. The fourth icon, the fifth icon and the sixth icon can be icon 521 as shown in Figure 6(n), or icon 521 as shown in Figure 6(o), or icon 521 as shown in Figure 6(n) can be displayed first, and then icon 521 as shown in Figure 6(o) can be displayed.

[0273] The implementation method and beneficial effects of the above embodiments are similar to those of the embodiment shown in FIG. 7 , and will not be described in detail here.

[0274] In one embodiment, the second interface also includes a second control, and the method also includes: in response to an operation on the second control, converting the voice in the first video into text information; displaying the sixth interface, the sixth interface including a third video excerpt card, the third video excerpt card including the first video and a fifth display area; and displaying the text information in the fifth display area.

[0275] Among them, the second control can be the video-text synchronization control 643 as shown in Figure 8(a), the sixth interface can be the display interface 70 as shown in Figure 8(b), the third video excerpt card can refer to the video excerpt card 701, and the fifth display area can be the display area 7011 as shown in Figure 8(b).

[0276] The implementation method and beneficial effects of the above embodiments are similar to those of the embodiment shown in FIG8 , and will not be described in detail here.

[0277] Fig.11 A structural schematic diagram of an electronic device provided by the present application is shown. Fig.11 The dotted line in indicates that the unit or the module is optional. The electronic device 700 can be used to implement the video excerpting method described in the above method embodiment.

[0278] The electronic device 700 includes one or more processors 701, which can support the electronic device 700 to implement the video excerpting method in the method embodiment. The processor 701 can be a general-purpose processor or a special-purpose processor. For example, the processor 701 can be a central processing unit (CPU), a digital signal processor (DSP), an application specific integrated circuit (ASIC), a field programmable gate array (FPGA) or other programmable logic devices, such as discrete gates, transistor logic devices or discrete hardware components.

[0279] The processor 701 may be used to control the electronic device 700, execute software programs, and process data of the software programs. The electronic device 700 may also include a communication unit 705 to implement input (reception) and output (transmission) of signals.

[0280] For example, the electronic device 700 may be a chip, the communication unit 705 may be an input and / or output circuit of the chip, or the communication unit 705 may be a communication interface of the chip, and the chip may be a component of a terminal device or other electronic devices.

[0281] For another example, the electronic device 700 may be a terminal device, and the communication unit 705 may be a transceiver of the terminal device, or the communication unit 705 may be a transceiver circuit of the terminal device.

[0282] The electronic device 700 may include one or more memories 702 on which a program 704 is stored. The program 704 can be executed by the processor 701 to generate instructions 703, so that the processor 701 executes the impedance matching method described in the above method embodiment according to the instructions 703.

[0283] Optionally, data may be stored in the memory 702. Optionally, the processor 701 may read data stored in the memory 702. The data may be stored at the same storage address as the program 704, or may be stored at a different storage address than the program 704.

[0284] The processor 701 and the memory 702 may be provided separately or integrated together; for example, integrated on a system on chip (SOC) of a terminal device.

[0285] Exemplarily, the memory 702 can be used to store the related program 704 of the video excerpting method provided in the embodiment of the present application, and the processor 701 can be used to call the related program 704 of the video excerpting method stored in the memory 702 when performing image restoration, and execute the video excerpting method of the embodiment of the present application.

[0286] The present application also provides a computer program product, which, when executed by the processor 701, implements the video excerpting method described in any method embodiment of the present application.

[0287] The computer program product may be stored in the memory 702 , for example, a program 704 , which is converted into an executable target file that can be executed by the processor 701 after preprocessing, compiling, assembling, and linking.

[0288] The present application also provides a computer-readable storage medium on which a computer program is stored, and when the computer program is executed by a computer, the video excerpting method described in any method embodiment of the present application is implemented. The computer program can be a high-level language program or an executable target program.

[0289] The computer-readable storage medium is, for example, a memory 702. The memory 702 may be a volatile memory or a nonvolatile memory, or the memory 702 may include both a volatile memory and a nonvolatile memory. Among them, the nonvolatile memory may be a read-only memory (ROM), a programmable read-only memory (PROM), an erasable programmable read-only memory (EPROM), an electrically erasable programmable read-only memory (EEPROM), or a flash memory. The volatile memory may be a random access memory (RAM), which is used as an external cache. By way of example and not limitation, many forms of RAM are available, such as static RAM (SRAM), dynamic RAM (DRAM), synchronous DRAM (SDRAM), double data rate SDRAM (DDR SDRAM), enhanced SDRAM (ESDRAM), synchronous link DRAM (SLDRAM), and direct rambus RAM (DR RAM).

[0290] In this application, "at least one" means one or more, and "more than one" means two or more. "At least one of the following" or similar expressions refers to any combination of these items, including any combination of single or plural items. For example, at least one of a, b, or c can be represented by: a, b, c, ab, ac, bc, or abc, where a, b, c can be single or multiple.

[0291] It should be understood that in the various embodiments of the present application, the size of the serial numbers of the above-mentioned processes does not mean the order of execution. The execution order of each process should be determined by its function and internal logic, and should not constitute any limitation on the implementation process of the embodiments of the present application.

[0292] Those of ordinary skill in the art will appreciate that the units and algorithm steps of each example described in conjunction with the embodiments disclosed herein can be implemented in electronic hardware, or a combination of computer software and electronic hardware. Whether these functions are performed in hardware or software depends on the specific application and design constraints of the technical solution. Professional and technical personnel can use different methods to implement the described functions for each specific application, but such implementation should not be considered to be beyond the scope of this application.

[0293] Those skilled in the art can clearly understand that, for the convenience and brevity of description, the specific working processes of the systems, devices and units described above can refer to the corresponding processes in the aforementioned method embodiments and will not be repeated here.

[0294] In the several embodiments provided in the present application, it should be understood that the disclosed devices and methods can be implemented in other ways. For example, the device embodiments described above are merely schematic; for example, the division of the units is only a logical function division, and there may be other division methods in actual implementation; for example, multiple units or components can be combined or integrated into another system, or some features can be ignored or not executed. Another point is that the mutual coupling or direct coupling or communication connection shown or discussed can be through some interfaces, indirect coupling or communication connection of devices or units, which can be electrical, mechanical or other forms.

[0295] The units described as separate components may or may not be physically separated, and the components shown as units may or may not be physical units, that is, they may be located in one place or distributed on multiple network units. Some or all of the units may be selected according to actual needs to achieve the purpose of the solution of this embodiment.

[0296] In addition, each functional unit in each embodiment of the present application may be integrated into one processing unit, or each unit may exist physically separately, or two or more units may be integrated into one unit.

[0297] The above is only a specific implementation of the present application, but the protection scope of the present application is not limited thereto. Any technician familiar with the technical field can easily think of changes or substitutions within the technical scope disclosed in the present application, which should be included in the protection scope of the present application. Therefore, the protection scope of the present application should be based on the protection scope of the claims.

Claims

1. A video excerpting method, characterized in that: The method comprises: Displaying a first interface, the first interface including a first icon corresponding to a first video excerpt file, the first video excerpt file including a first video; In response to a user operation on the first icon, a second interface of the first application is displayed, wherein the second interface includes a first video excerpt card and a first control, and the first video excerpt card includes the first video; In response to a user's operation on the first control, a first excerpt window and a third interface of the second application are displayed, wherein the first excerpt window covers part of the content of the third interface, and the first excerpt window includes a recording control and the first video excerpt card; In response to a user opening a third application, displaying the first excerpt window and a fourth interface of the third application, wherein the first excerpt window covers a portion of content of the fourth interface, and the fourth interface includes the second video being played; In response to an operation on the recording control, start recording a video segment of the second video in the fourth interface, display a second excerpt window, update the recording control of the second excerpt window to a pause control, and cover part of the content of the fourth interface with the second excerpt window; In response to the operation of the pause control, the recording of the video segment of the second video in the fourth interface is ended, and a third excerpt window is displayed, the third excerpt window obstructing part of the content of the fourth interface, the third excerpt window including the first video excerpt card and the second video excerpt card, the second video excerpt card including the recorded third video, and the third video including the video segment of the second video.

2. The method according to claim 1, characterized in that The third interface includes a second icon of the third application, and in response to the user opening the third application, displaying the first excerpt window and the fourth interface of the third application includes: In response to a click operation on the second icon, the first excerpt window and a fourth interface of the third application are displayed.

3. The method according to claim 1 or 2, characterized in that: The first video is a video clip in the second video.

4. The method according to any one of claims 1 to 2, characterized in that: The first video is a video clip of a fourth video in a fourth application.

5. The method according to any one of claims 1 to 4, characterized in that: The length of the third excerpt window is greater than the length of the first excerpt window.

6. The method according to any one of claims 1 to 5, characterized in that: The first application includes a global favorite.

7. The method according to claim 6, characterized in that The third excerpt window further includes a completion control, and the method further includes: In response to the operation of the completion control, the third excerpt window is closed and the fifth interface is displayed, wherein the fifth interface includes a third icon, wherein the third icon is an icon corresponding to the global collection, and the third icon is used to indicate that the first video and the third video are saved to the global collection.

8. The method according to any one of claims 1 to 7, characterized in that: The third excerpt window further includes a mark control, and the method further includes: In response to an operation on the tag control, tag information is obtained, and a first display area is displayed on the second video excerpt card in the third excerpt window, wherein the first display area is used to display the tag information, and the tag information includes a description of a video segment in the second video.

9. The method according to any one of claims 1 to 8, characterized in that: The third excerpt window also includes a screenshot control, and the method further includes: In response to the operation of the screenshot control, a first screenshot is obtained, and the second video excerpt card displays a second display area in the third excerpt card, and the second display area is used to display the first screenshot. The first screenshot refers to a screenshot of the second video display image when the screenshot control is operated.

10. The method according to any one of claims 1 to 9, characterized in that: The second excerpt window also includes a third display area, and the third display area displays first time information, where the first time information is used to indicate the duration of recording the video segment of the second video.

11. The method according to any one of claims 1 to 10, characterized in that: The second excerpt window further includes a fourth display area, wherein the fourth display area displays first prompt information, where the first prompt information is used to indicate that a video segment of the second video is being recorded.

12. The method according to any one of claims 1 to 11, characterized in that: The first excerpt window further includes a first minimize control, and the method further includes: In response to an operation on the first minimization control, the first excerpt window is switched to a fourth icon, and an area of ​​the fourth icon is smaller than an area of ​​the first excerpt window.

13. The method according to any one of claims 1 to 12, characterized in that: The second excerpt window further includes a second minimize control, and the method further includes: In response to an operation on the second minimization control, the second excerpt window is switched to a fifth icon, and an area of ​​the fifth icon is smaller than an area of ​​the second excerpt window.

14. The method according to any one of claims 1 to 13, characterized in that: The third excerpt window further includes a third minimization control, and the method further includes: In response to an operation on the third minimization control, the third excerpt window is switched to a sixth icon, and an area of ​​the sixth icon is smaller than an area of ​​the third excerpt window.

15. The method according to any one of claims 1 to 14, characterized in that The second interface further includes a second control, and the method further includes: In response to an operation on the second control, converting the speech in the first video into text information; Displaying a sixth interface, wherein the sixth interface includes a third video excerpt card, and the third video excerpt card includes the first video and a fifth display area; The text information is displayed in the fifth display area.

16. The method according to any one of claims 1 to 15, characterized in that The method further comprises: Displaying a seventh interface, the seventh interface including a seventh icon corresponding to the second video excerpt file, the second video excerpt file including the third video; In response to an operation on the seventh icon, an eighth interface is displayed, wherein the eighth interface includes a fourth video excerpt card, the fourth video excerpt card includes a sixth display area, and the sixth display area displays the third video; In response to an operation on the sixth display area, displaying a fourth control; In response to the operation on the fourth control, the second video excerpt file is edited, and the editing includes at least one of deleting an image and adding identification information.

17. The method according to any one of claims 1 to 15, characterized in that The method further comprises: Displaying a seventh interface, the seventh interface including a seventh icon corresponding to the second video excerpt file, the second video excerpt file including the third video; In response to the operation on the seventh icon, an eighth interface is displayed, wherein the eighth interface includes a fourth video excerpt card, and the fourth video excerpt card includes a time mark control; In response to an operation on the time stamp control, displaying a fourth control; In response to the operation on the fourth control, the second video excerpt file is edited, and the editing includes at least one of deleting an image and adding identification information.

18. The method according to claim 16 or 17, characterized in that The second video excerpt file further includes a first image, the second video excerpt card further displays the first image, the fourth control includes a delete sub-control, and in response to the operation on the fourth control, the second video excerpt file is edited, including: In response to an operation on the delete sub-control, the first image is deleted.

19. The method according to claim 18, characterized in that The fourth control further includes a sub-control for adding a mark, and in response to the operation on the fourth control, the editing process for the second video excerpt file further includes: In response to an operation on the add tag subcontrol, identification information is added to the third video.

20. The method according to any one of claims 16 to 19, characterized in that When the number of the third videos is multiple, the method further includes: When the eighth interface detects a first operation on any one of the third videos, the arrangement order of the videos of the third video is adjusted according to the order indicated by the first operation.

21. The method according to any one of claims 1 to 20, characterized in that In response to the operation on the pause control, ending the recording of the video segment of the second video in the fourth interface includes: In response to an operation on the pause control, obtaining the first video clip and displaying the recording control again; In response to the operation of the recording control, recording another video segment of the second video again, and displaying the pause control again; In response to the operation of the pause control, a second video clip is obtained, and based on the first video clip and the second video clip, the third video is obtained, and the recording of the video clip of the second video in the fourth interface is ended.

22. An electronic device, characterized in that: The electronic device comprises a module for executing the method as claimed in any one of claims 1 to 21.

23. An electronic device, characterized in that: include: one or more processors; Memory; and one or more computer programs, wherein the one or more computer programs are stored in the memory, and when the computer programs are executed by the one or more processors, the electronic device performs the method according to any one of claims 1 to 21.

24. A chip system, characterized in that: The chip system includes a processor for calling and running a computer program from a memory, so that an electronic device equipped with the chip system executes the method according to any one of claims 1 to 21.

25. A computer-readable storage medium comprising a computer program, characterized in that: When the computer program is executed on an electronic device, the electronic device is caused to execute the method according to any one of claims 1 to 21.

Citation Information

Patent Citations

  • Video file production method, device and apparatus and readable storage medium

    CN110087123A

  • Annotation adding method and electronic device

    CN110196675A

  • Screen recording method and electronic equipment

    CN110417991A

  • Digital content excerpt identification

    US10380226B1

  • Screen recording method and electronic device

    WO2020253719A1