WO2023030269A1 - Audio and video processing method and apparatus, electronic device and readable storage medium - Google Patents

Audio and video processing method and apparatus, electronic device and readable storage medium Download PDF

Info

Publication number
WO2023030269A1
WO2023030269A1 PCT/CN2022/115581 CN2022115581W WO2023030269A1 WO 2023030269 A1 WO2023030269 A1 WO 2023030269A1 CN 2022115581 W CN2022115581 W CN 2022115581W WO 2023030269 A1 WO2023030269 A1 WO 2023030269A1
Authority
WO
WIPO (PCT)
Prior art keywords
audio
video
progress bar
input
segment
Prior art date
Application number
PCT/CN2022/115581
Other languages
French (fr)
Chinese (zh)
Inventor
蒋作函
Original Assignee
维沃移动通信(杭州)有限公司
Priority date (The priority date is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the date listed.)
Filing date
Publication date
Application filed by 维沃移动通信(杭州)有限公司 filed Critical 维沃移动通信(杭州)有限公司
Publication of WO2023030269A1 publication Critical patent/WO2023030269A1/en

Links

Images

Classifications

    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04NPICTORIAL COMMUNICATION, e.g. TELEVISION
    • H04N21/00Selective content distribution, e.g. interactive television or video on demand [VOD]
    • H04N21/40Client devices specifically adapted for the reception of or interaction with content, e.g. set-top-box [STB]; Operations thereof
    • H04N21/43Processing of content or additional data, e.g. demultiplexing additional data from a digital video stream; Elementary client operations, e.g. monitoring of home network or synchronising decoder's clock; Client middleware
    • H04N21/433Content storage operation, e.g. storage operation in response to a pause request, caching operations
    • GPHYSICS
    • G09EDUCATION; CRYPTOGRAPHY; DISPLAY; ADVERTISING; SEALS
    • G09BEDUCATIONAL OR DEMONSTRATION APPLIANCES; APPLIANCES FOR TEACHING, OR COMMUNICATING WITH, THE BLIND, DEAF OR MUTE; MODELS; PLANETARIA; GLOBES; MAPS; DIAGRAMS
    • G09B5/00Electrically-operated educational appliances
    • G09B5/06Electrically-operated educational appliances with both visual and audible presentation of the material to be studied
    • G09B5/065Combinations of audio and video presentations, e.g. videotapes, videodiscs, television systems
    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04NPICTORIAL COMMUNICATION, e.g. TELEVISION
    • H04N21/00Selective content distribution, e.g. interactive television or video on demand [VOD]
    • H04N21/40Client devices specifically adapted for the reception of or interaction with content, e.g. set-top-box [STB]; Operations thereof
    • H04N21/43Processing of content or additional data, e.g. demultiplexing additional data from a digital video stream; Elementary client operations, e.g. monitoring of home network or synchronising decoder's clock; Client middleware
    • H04N21/439Processing of audio elementary streams
    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04NPICTORIAL COMMUNICATION, e.g. TELEVISION
    • H04N21/00Selective content distribution, e.g. interactive television or video on demand [VOD]
    • H04N21/40Client devices specifically adapted for the reception of or interaction with content, e.g. set-top-box [STB]; Operations thereof
    • H04N21/43Processing of content or additional data, e.g. demultiplexing additional data from a digital video stream; Elementary client operations, e.g. monitoring of home network or synchronising decoder's clock; Client middleware
    • H04N21/439Processing of audio elementary streams
    • H04N21/4394Processing of audio elementary streams involving operations for analysing the audio stream, e.g. detecting features or characteristics in audio streams
    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04NPICTORIAL COMMUNICATION, e.g. TELEVISION
    • H04N21/00Selective content distribution, e.g. interactive television or video on demand [VOD]
    • H04N21/40Client devices specifically adapted for the reception of or interaction with content, e.g. set-top-box [STB]; Operations thereof
    • H04N21/43Processing of content or additional data, e.g. demultiplexing additional data from a digital video stream; Elementary client operations, e.g. monitoring of home network or synchronising decoder's clock; Client middleware
    • H04N21/44Processing of video elementary streams, e.g. splicing a video clip retrieved from local storage with an incoming video stream, rendering scenes according to MPEG-4 scene graphs
    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04NPICTORIAL COMMUNICATION, e.g. TELEVISION
    • H04N21/00Selective content distribution, e.g. interactive television or video on demand [VOD]
    • H04N21/40Client devices specifically adapted for the reception of or interaction with content, e.g. set-top-box [STB]; Operations thereof
    • H04N21/43Processing of content or additional data, e.g. demultiplexing additional data from a digital video stream; Elementary client operations, e.g. monitoring of home network or synchronising decoder's clock; Client middleware
    • H04N21/44Processing of video elementary streams, e.g. splicing a video clip retrieved from local storage with an incoming video stream, rendering scenes according to MPEG-4 scene graphs
    • H04N21/44008Processing of video elementary streams, e.g. splicing a video clip retrieved from local storage with an incoming video stream, rendering scenes according to MPEG-4 scene graphs involving operations for analysing video streams, e.g. detecting features or characteristics in the video stream
    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04NPICTORIAL COMMUNICATION, e.g. TELEVISION
    • H04N21/00Selective content distribution, e.g. interactive television or video on demand [VOD]
    • H04N21/80Generation or processing of content or additional data by content creator independently of the distribution process; Content per se
    • H04N21/83Generation or processing of protective or descriptive data associated with content; Content structuring
    • H04N21/845Structuring of content, e.g. decomposing content into time segments
    • H04N21/8456Structuring of content, e.g. decomposing content into time segments by decomposing the content in the time domain, e.g. in time segments

Definitions

  • the present application belongs to the technical field of audio and video processing, and in particular relates to an audio and video processing method, device, electronic equipment and readable storage medium.
  • the main processing methods of the user may include triggering fast-forward playback, playback pause, dragging the progress bar, screenshots, text notes, etc. by the user.
  • these processing methods need to spend a long time on the screening of key audio and video information, and cannot quickly clarify the key information in the audio and video information, which affects the browsing efficiency of key information in the audio and video information.
  • the purpose of the embodiments of the present application is to provide an audio and video processing method, device, electronic equipment, and readable storage medium, which can solve the problem that the audio and video processing methods in the related art need to spend a long time in the screening of key audio and video information In fact, it is impossible to quickly clarify the key information in the audio and video information, which affects the browsing efficiency of the key information in the audio and video information.
  • the embodiment of the present application provides an audio and video processing method, the method comprising:
  • displaying a preset progress bar of the target audio and video In response to the first input, displaying a preset progress bar of the target audio and video, and displaying nodes on the preset progress bar, wherein the nodes are used to adjust the target audio and video according to the segmentation parameters Segmenting the video, and editing the segmentation result of the target audio and video, and sub-progress bars for dividing different audio and video segments in at least two audio and video segments in the preset progress bar;
  • an audio and video processing device which includes:
  • the first receiving module is used to receive the first input to the target audio and video, and the first input includes segmentation parameters;
  • a first response module configured to display a preset progress bar of the target audio and video in response to the first input, and display nodes on the preset progress bar, wherein the nodes are used to The segment parameter segments the target audio and video, and is used to edit the segmentation result of the target audio and video, and is used to divide different audio and video in at least two audio and video segments in the preset progress bar Fragment's child progress bar;
  • a second receiving module configured to receive a second input to the sub-progress bar, where the second input includes a weight parameter
  • a second response module configured to set the weight parameter for the audio and video segment corresponding to the sub-progress bar in response to the second input
  • a playing module configured to sequentially play the at least two audio and video clips according to the order of the at least two audio and video clips, wherein the order is related to the weight parameter.
  • an embodiment of the present application provides an electronic device, the electronic device includes a processor, a memory, and a program or instruction stored in the memory and operable on the processor, and the program or instruction is The processor implements the steps of the method described in the first aspect when executed.
  • an embodiment of the present application provides a readable storage medium, on which a program or an instruction is stored, and when the program or instruction is executed by a processor, the steps of the method described in the first aspect are implemented .
  • the embodiment of the present application provides a chip, the chip includes a processor and a communication interface, the communication interface is coupled to the processor, and the processor is used to run programs or instructions, so as to implement the first aspect the method described.
  • an embodiment of the present application provides an apparatus configured to perform the steps of the method described in the first aspect.
  • the embodiment of the present application provides a computer program product, the computer program product is stored in a non-volatile storage medium, and the program product is executed by at least one processor to implement the method described in the first aspect step.
  • the preset progress bar of the target audio and video can be displayed by means of segmentation parameters of the target audio and video input by the user, and nodes can be displayed on the preset progress bar, wherein the The node is used to segment the target audio and video according to the segmentation parameters, and is used to divide the sub-progress bars of different audio and video segments in the preset progress bar, and respond Based on the second input to the sub-progress bar, weight parameters are set for the audio and video clips corresponding to the sub-progress bar, which can be used for the target audio and video in the form of nodes on the preset progress bar based on the segmentation parameters input by the user segment division, then when the user sets the weight parameters of the audio and video, it does not need to spend a long time searching and filtering the key audio and video information that needs to be browsed from the complete target audio and video, and only needs to correspond to each sub-progress after dividing by nodes Screen whether there is key audio and video information and its importance in the audio and video clips associated with the
  • this application uses short video audio and video Playing audio and video content in the form of fragments can also reduce the boringness of browsing the information in the audio and video for users; in addition, by dividing the target audio and video into segments in the preset progress bar, users can Based on the segmentation of the sub-progress bar in the preset progress bar, the segmentation result of the target audio and video after being divided can be intuitively understood, wherein the nodes in the preset progress bar can be used to segment the target audio and video Therefore, it is convenient for the user to fine-tune the segmentation effect of the target audio and video through this node; by setting the weight of the audio and video segment corresponding to the sub-progress bar in the preset progress bar, it is possible to browse the audio and video Efficiently mark audio and video clips that contain important information during the process.
  • Fig. 1 is the flowchart of the audio-video processing method of an embodiment of the present application
  • Fig. 2A is one of the interface schematic diagrams of the audio and video processing method of an embodiment of the present application.
  • Fig. 2B is the second schematic interface diagram of the audio and video processing method of an embodiment of the present application.
  • Fig. 2C is the third schematic interface diagram of the audio and video processing method of an embodiment of the present application.
  • FIG. 2D is a fourth schematic interface diagram of an audio and video processing method according to an embodiment of the present application.
  • FIG. 2E is a fifth schematic interface diagram of an audio and video processing method according to an embodiment of the present application.
  • FIG. 2F is a sixth schematic interface diagram of an audio and video processing method according to an embodiment of the present application.
  • FIG. 2G is a seventh schematic interface diagram of an audio and video processing method according to an embodiment of the present application.
  • Fig. 3 is the block diagram of the audio-video processing device of an embodiment of the present application.
  • FIG. 4 is a schematic diagram of a hardware structure of an electronic device according to an embodiment of the present application.
  • FIG. 5 is a schematic diagram of a hardware structure of an electronic device according to another embodiment of the present application.
  • FIG. 1 the flow chart of the audio-video processing method of an embodiment of the present application is shown, and described method specifically can comprise the following steps:
  • Step 101 receiving the first input to the target audio and video, the first input includes segmentation parameters
  • the processing object of each embodiment of the present application can be video or audio, and the following description will be made by taking the target video as the processing object as an example, but the processing method described by taking video as the processing object is also applicable to the processing of audio, and the principle is similar, so I won't repeat them one by one.
  • the first input may be triggered on a video playback interface, or may be triggered on a video thumbnail interface in the mobile phone.
  • the segmentation parameter is used to equally divide the target video.
  • the parameter type of the segmentation parameter can include the value of the segment number parameter and the value of the duration parameter, wherein the value of the segment number parameter is used to represent that the target video is divided into the value (for example, 5) video segments, and the duration parameter The value is used to indicate that the target video is equally divided into video clips with a duration of this value (for example, 15 minutes).
  • the entire video duration of the target video is not necessarily the value of the duration parameter set Integer multiples, therefore, there may be at least one video segment in the segmented video segment whose duration is shorter than the value of the set duration parameter.
  • the segmentation parameter may include the value of the segment number parameter
  • the segmentation parameter may include the value of the duration parameter
  • the segment parameter may also include multiple values of the segment number parameter, which are used to divide the target video into multiple equal parts.
  • the target video can be divided into 2 video segments, and then these 2 video segments can be subdivided into 3 video segments to generate 6 video segments with the same duration. video clip.
  • a video playback interface 10 is shown, and the user can click on any position of the playback interface 10 to trigger the display of the playback progress bar 11 and the preset icon of the video in the playback interface 10 12.
  • the duration of the video is 1.5 hours
  • the playback progress is the first 30 minutes.
  • the preset icon 12 may be an entry for segment editing of the video.
  • a text box 13 can be displayed on the playback interface, prompting the user to input the amount of segmentation used to segment the video, which is the segmentation parameter described above.
  • the user can input 6 segments in the text box 13, which means that the target video is divided into 6 video segments according to the playing sequence.
  • Step 102 in response to the first input, displaying a preset progress bar of the target audio and video, and displaying nodes on the preset progress bar;
  • the node is used to segment the target audio and video according to the segmentation parameters, and to edit the segmentation result of the target audio and video, and to display in the preset progress bar A sub-progress bar that divides different audio-video segments in at least two audio-video segments.
  • nodes can be laid out on the preset progress bar according to the segmentation parameters, so as to divide the preset progress bar in the form of different sub-progress bars formed by the nodes; since the preset progress bar and the target audio and video The playback time of each is completely corresponding. Therefore, the division of different audio and video segments of the target audio and video can be realized by dividing the preset progress bar into different sub progress bars.
  • the time position of the node displayed in the preset progress bar is mainly used to represent the division method of the first input to the audio and video segments of the target audio and video, but this step does not necessarily divide the target audio and video according to the division method.
  • the video has already been divided into audio and video segments, and the audio and video segments can be divided flexibly at an appropriate time according to needs, so that the target audio and video is divided into at least two audio and video segments.
  • the target audio and video can be divided into audio and video segments.
  • the video is divided into equal parts, so that at least two video segments are generated.
  • the duration of most of the video clips in is the same; and, when the video is segmented, it is sequentially segmented according to the order of playing time, so at least two generated video clips are played continuously In other words, at least two video clips are sequentially connected according to the playing time, and the original target video can still be restored.
  • the audio and video segment is divided into the target audio and video, because, after the weight parameter is set, then you can It is clear that the user has determined the segmentation results of the target audio and video corresponding to each node displayed in the preset progress bar, and before setting the weight parameters, the user can segment the target audio and video according to the segmentation parameters as needed The subsequent segmentation results can be flexibly adjusted.
  • the segmented progress bar in order to visualize the segmented result of the target audio and video, can be used to reflect the segmented result of the video, then it is used to display the segmented result of the video, or used to
  • the progress bar for segment editing the video can be called a preset progress bar.
  • the preset progress bar can be the playback progress bar 11 in FIG. 2B, and this purpose can be achieved by adding some additional functions of video editing provided by the application to the playback progress bar 11; or, the preset progress bar can also be It is a separately set progress bar that can be used to segment the video, such as the segment progress bar 20 shown in FIG. 2B .
  • the length of the paragraph progress bar 20 and the indicated video duration, and the playing time range are the same as the playback progress bar 11.
  • the paragraph progress bar 20 is displayed on the playback progress bar 11 in parallel. above, and the start position and end position of the two progress bars are aligned, that is to say, the paragraph progress bar 20 also represents the playback order of the video frames from the beginning of the progress bar to the end of the progress bar, except that the paragraph The progress bar 20 does not display the playback progress.
  • the application does not limit the position of the paragraph progress bar 20 relative to the playback progress bar 11.
  • the paragraph progress bar 20 can be translated to the left toward the camera of the mobile phone.
  • the default progress bar is the paragraph progress bar 20 as an example for illustration, but this is not intended to limit the present application.
  • the time point of one audio and video segment in the generated at least two audio and video segments may include each playback of the audio and video segment Time point, or, the playing time range of the audio and video clip, or, the start playing time point and the ending playing time point of the audio and video clip.
  • the sub-progress bars corresponding to different video segments can be marked with different colors in the segment progress bar.
  • node A, node B, node C, node D, node E, and node F may be displayed in the paragraph progress bar 20, and these nodes are used to divide the sub-progress bars of each video segment.
  • different letters are used to identify different nodes, and in other embodiments, other symbols can also be used to indicate different nodes.
  • each node here are generated at corresponding positions on the paragraph progress bar according to the end time points of each video segment.
  • each node can also be generated on the paragraph progress bar 20 according to the start time point of each video segment, and can also be generated on the paragraph progress bar 20 according to the start time point and the end time point of each video segment.
  • Each node is generated, and the nodes can also be divided according to the manner of sub-progress bars capable of distinguishing different video clips (for example, node F in FIG. 2B can be omitted).
  • the target video can be divided into 6 sections, the video segments of the 0th to 15th minutes of the target video correspond to the sub-progress bar 21, the video segments of the 15th to 30th minutes correspond to the sub-progress bar AB, and the 30th to 30th minute video segments correspond to the sub-progress bar AB,
  • the 45-minute video segment corresponds to the sub-progress bar BC
  • the 45th-60th-minute video segment corresponds to the sub-progress bar CD
  • the 60th-75th minute video segment corresponds to the sub-progress bar DE
  • the 75th-90th minute video segment corresponds to the sub-progress bar DE.
  • the child progress bar EF corresponds to the child progress bar EF.
  • the different video clips exemplified here do not include the same frame of video image, for example, there is only one video between the 15th to 30th minute video clip and the 30th to 15th minute video clip to determine that there is a 30th minute frame image.
  • the user can indicate that the video is divided into multiple equal parts by inputting the segment amount to form multiple video segments, and mark the end node of the segment, wherein the end node of the upper segment is the start node of the lower segment.
  • Step 104 receiving a second input to the sub-progress bar, where the second input includes a weight parameter
  • the sub-progress bar may include at least one node among two nodes: a start node and an end node.
  • the second input can be an input to a paragraph of the sub-progress bar, for example, a finger clicks on the paragraph of the sub-progress bar CD in FIG. 2D; the second input can also be an input to any node of the sub-progress bar, For example, the finger clicks node A of the sub-progress bar 21 in FIG. 2D .
  • a text box 31 with transparency can be displayed on the playback interface, prompting the user to set the weight of the 0-15 minute video segment corresponding to the sub-progress bar 21 Value, optionally, title can also be set to the video segment of the 0th ⁇ 15 minutes;
  • text box 32 can also be displayed to prompt the user Set the weight value of the 60th-75th minute video segment corresponding to the sub-progress bar 22, and optionally, set the title.
  • step 104 may trigger a second input on the sub-progress bar corresponding to the video clip whose weight needs to be set to set a weight value for the video clip corresponding to the sub-progress bar.
  • the weight value ranges from 0 to 10. The higher the value, the higher the importance of key information included in the video segment.
  • the weight value of a video clip when the weight value of a video clip is set to 0, it means that the information in the video clip is not important.
  • the sorting of the clips may also not participate in the playback of the video clips.
  • the weight of the video clip can be set to 0, or the weight of the video clip can not be set directly, so as to achieve the effect of subsequent filtering of the video clip.
  • Step 105 in response to the second input, setting the weight parameter for the audio and video segment corresponding to the sub-progress bar;
  • Step 106 Play the at least two audio and video clips sequentially according to the order of the at least two audio and video clips, wherein the order is related to the weight parameter.
  • each video segment may be automatically played according to the order, or the step of playing may be triggered after receiving the input from the user.
  • the at least two audio and video clips may be sorted based on preset parameters, wherein the preset parameters include the weight parameters, or the weight parameters of the audio and video clips and the duration; then, play the at least two audio and video clips sequentially according to the sequence.
  • each video clip may be played sequentially according to the order of weight value, or may be played sequentially according to the order of ratio of weight value to duration value.
  • At least two audio and video clips can be sorted according to the weight parameters, and output and played according to the sorting, which can facilitate the user to quickly browse to the audio and video information with higher importance; At least two audio and video clips are output and played by sorting the ratio of the weight parameter to the duration, so that the user can browse more and more important audio and video information in a short period of time.
  • the preset progress bar of the target audio and video can be displayed by means of segmentation parameters of the target audio and video input by the user, and nodes can be displayed on the preset progress bar, wherein the The node is used to segment the target audio and video according to the segmentation parameters, and is used to divide the sub-progress bars of different audio and video segments in the preset progress bar, and respond Based on the second input to the sub-progress bar, weight parameters are set for the audio and video clips corresponding to the sub-progress bar, which can be used for the target audio and video in the form of nodes on the preset progress bar based on the segmentation parameters input by the user segment division, then when the user sets the weight parameters of the audio and video, it does not need to spend a long time searching and filtering the key audio and video information that needs to be browsed from the complete target audio and video, and only needs to correspond to each sub-progress after dividing by nodes Screen whether there is key audio and video information and its importance in the audio and video clips associated with the
  • this application uses short video audio and video Playing audio and video content in the form of fragments can also reduce the boringness of browsing the information in the audio and video for users; in addition, by dividing the target audio and video into segments in the preset progress bar, users can Based on the segmentation of the sub-progress bar in the preset progress bar, the segmentation result of the target audio and video after being divided can be intuitively understood, wherein the nodes in the preset progress bar can be used to segment the target audio and video Therefore, it is convenient for the user to fine-tune the segmentation effect of the target audio and video through this node; by setting the weight of the audio and video segment corresponding to the sub-progress bar in the preset progress bar, it is possible to browse the audio and video Efficiently mark audio and video clips that contain important information during the process.
  • the method according to the embodiment of the present application may further include: receiving a third input of a target node in the nodes corresponding to the sub-progress bar; responding to the third Input, adjust the time point and duration corresponding to the first audio and video segment in the target audio and video, wherein the first audio and video segment is the sub-progress bar of the at least two audio and video segments including the target node Audio and video clips.
  • the fine-tuning of the division method of the audio and video segments can be realized by triggering the third input to the node of the sub-progress bar.
  • the target node may be the start node and/or the end node of the sub-progress bar.
  • the user drags node B along the direction of the arrow in Figure 2C to make the time point and duration of the video segment corresponding to the sub-progress bar AB, and the time point and duration of the video segment corresponding to the sub-progress bar BC.
  • the duration is adjusted.
  • the video playback range of the video segment corresponding to the sub-progress bar AB is elongated, and the duration is also elongated, specifically the end position is extended; while the video playback range of the video segment corresponding to the sub-progress bar BC is elongated.
  • the duration is also shortened, specifically from the starting position.
  • the video segment corresponding to the sub-progress bar AB is adjusted from the video segment of the 15th to 30th minute to the video segment of the 15th to 35th minute; the sub-progress bar BC The corresponding video clips are adjusted from the 30th to 45th minute video clips to the 35th to 45th minute video clips.
  • triggering the third input on the target node of the sub-progress bar in the preset progress bar will not change the playback progress of the target audio and video, even if the playback progress bar 11 in Figure 2A is used as the preset progress bar, for The movement of the node will not change the current playback progress of the video.
  • the duration of the generated audio and video segments is generally the same, so in order to enable the user to The actual layout of information points is used to divide the audio and video segments. Users can flexibly adjust the time points of each audio and video segment generated by segment parameters and duration, so that the adjusted audio and video clips meet the user's browsing needs for key information (that is, information of interest).
  • the method of the embodiment of the present application can also display the weight parameters set for each audio and video segment on the sub-progress bar corresponding to each audio and video segment, and the specific display position can be Is the middle position of the child progress bar.
  • the method in this embodiment of the present application may use the end node of each sub-progress bar as the title of the audio/video segment of the sub-progress bar.
  • each sub-progress bar has shown the weight value of the video clip (titled A) of the 0th to 15 minutes is 3
  • the sub-progress bar AB shows the weight value of the 15th to 35th minute video clip (titled as B) is 8
  • the sub-progress bar BC shows the weight value of the 35th to 45th minute video clip (titled as C) is 2
  • the sub-progress bar CD shows the weight value of the 45th to 60th minute video segment (titled as D)
  • the sub-progress bar DE shows the weight value of the 60th to 75th minute video segment (titled as E) is 2
  • the sub-progress bar EF shows that the weight value of the video segment (titled F) from the 75th to the 90th minute is 5.
  • the at least two audio and video clips are sorted based on preset parameters, among the at least two audio and video clips, the audio and video clips whose weight parameter is a target value and whose weight is not set parameters of the audio and video clips; then, based on the preset parameters, the filtered at least two audio and video clips are sorted.
  • a weight value of 0 indicates that the video segment is not important, so the target value here is 0.
  • the target value can also be other values except 0, which is not limited in this application.
  • the generated audio and video segments can be time-continuous between each audio and video segments, thus forming a complete
  • the user can set the weight value of the audio and video clip to the target value, or not set the weight value way, to achieve the purpose of discarding some audio and video segments after segmentation, these discarded audio and video segments do not need to participate in the sorting between audio and video segments and do not need to participate in video playback according to audio and video segments, thus saving
  • the user's browsing time of the video improves the browsing efficiency and the browsing efficiency of the points of interest in the audio and video.
  • the preset parameters include the weight parameter
  • the values of the weight parameters may be from high to low The order of the at least two audio and video clips is sorted.
  • these audio and video clips with the same weight value can be ordered according to the playing time in the target audio and video, or their The sub-progress bars are sorted in the order in which they are arranged in the preset progress bar.
  • the video segment of the sub-progress bar BC that is, the video segment titled C has a weight value of 2, but it is arranged in front of the video segment titled E with the same weight value of 2.
  • the present application when sorting at least two audio and video clips after segmentation, they can be sorted and played according to the value of the weight parameter of each audio and video clip from large to small, so that priority can be given to Playing audio and video clips with higher weight, in the case of limited audio and video browsing time, can ensure that users browse to the more important audio and video content first, so that users can browse the most important or the most important ones by browsing audio and video clips.
  • Interested information which can help users quickly summarize audio and video information, and facilitate users to effectively browse and review key information from their own perspective.
  • the audio and video clips when sorting the at least two audio and video clips based on the preset parameters, may be sorted according to the audio and video clips.
  • the ratio of the value of the weight parameter of the video segment to the duration is used to sort the at least two audio and video segments in descending order.
  • these audio and video clips with the same ratio can be ordered according to the playing time in the target audio and video, or Said that their sub-progress bars are sorted in the order in which they are arranged in the preset progress bar.
  • each audio and video clip can be automatically sorted, that is, each audio and video clip is automatically added to the user's video path map (that is, the sorting result box in Figure 2F 41. In the sorting result box 42) in FIG. 2G.
  • the present application when sorting at least two audio and video clips after segmentation, they can be sorted and played according to the ratio of the value of the weight parameter of each audio and video clip to the duration from large to small. , so as to ensure that users can browse more important or interesting audio and video content through the playback of audio and video clips in the shortest time, improve the browsing efficiency of interesting and important audio and video content and shorten the browsing time time.
  • step 106 when step 106 is executed, it may be played automatically, or after an input operation is received, or, as described in the following embodiments, be triggered by a user to play after displaying the sorting results.
  • step 106 when step 106 is executed, a fourth input to the preset progress bar may be received; in response to the fourth input, a sorting result of the at least two audio and video clips is displayed.
  • the fourth input can be triggered by inputting any sub-progress bar in the preset progress bar, or can be triggered by inputting the start node or end node of any sub-progress bar.
  • the input can be double-clicking Input, or long-press input, etc., this application does not limit this.
  • the sorting result box 41 and the sorting result box 42 may be displayed on the playback interface 10 with a certain degree of transparency, or the sorting result may be displayed on the playback interface 10 in the form of subtitles, which is not limited in this application.
  • the fourth input can be triggered by the user on the preset progress bar to display the sorting results of at least two audio and video clips, so that the user can browse the sorting results to find the audio and video clips to be browsed.
  • the method according to the embodiment of the present application may further include: receiving a list of the second audio and video clips in the sorting results
  • the fifth input of the segment, the at least two audio and video segments include the second audio and video segment; in response to the fifth input, each audio and video segment is played sequentially from the second audio and video segment according to the ordering .
  • the title of the corresponding video segment in the sorting result box 41 or the sorting result box 42 can be clicked to trigger the selection from the sorting result box.
  • the video clip of starts playing each video clip in sorted order.
  • the video segment corresponding to title F will be played, and the video segments corresponding to title C, title A, and title E will be played sequentially.
  • the method for selecting the video segment to be played first in the sorting result box 42 is the same, and will not be repeated one by one.
  • the user after displaying the sorting results of each audio and video segment, the user can select an option of an audio and video segment of interest from the sorting results to trigger starting from the selected audio and video segment, and follow the The above sequence plays each video segment in sequence, so that the user can browse to the audio and video segment of interest more quickly.
  • the audio and video processing method provided in the embodiment of the present application may be executed by an audio and video processing device, or a control module in the audio and video processing device for executing the audio and video processing method.
  • the audio and video processing device provided in the embodiment of the present application is described by taking the audio and video processing device executing the audio and video processing method as an example.
  • FIG. 3 shows a block diagram of an audio and video processing device according to an embodiment of the present application.
  • the audio and video processing device includes:
  • the first receiving module 201 is used to receive the first input to the target audio and video, and the first input includes segmentation parameters;
  • the first response module 202 is configured to display a preset progress bar of the target audio and video in response to the first input, and display a node on the preset progress bar, wherein the node is used to follow the The segmentation parameter segments the target audio and video, and is used to edit the segmentation result of the target audio and video, and is used to divide different audio and video in at least two audio and video segments in the preset progress bar.
  • the second receiving module 203 is configured to receive a second input to the sub-progress bar, where the second input includes a weight parameter
  • the second response module 204 is configured to set the weight parameter for the audio and video segment corresponding to the sub-progress bar in response to the second input;
  • the playing module 205 is configured to sequentially play the at least two audio and video clips according to the order of the at least two audio and video clips, wherein the order is related to the weight parameter.
  • the device also includes:
  • a third receiving module configured to receive a third input to a target node in the nodes corresponding to the sub-progress bar
  • the third response module is configured to adjust the corresponding time point and duration of the first audio and video segment in the target audio and video in response to the third input, wherein the first audio and video segment is the at least two
  • the sub-progress bar in the audio and video segment includes the audio and video segment of the target node.
  • the playback module 205 includes:
  • a sorting submodule configured to sort the at least two audio and video clips based on preset parameters, wherein the preset parameters include the weight parameter, or the ratio of the weight parameter to the duration of the audio and video clip;
  • the playing sub-module is used to play the at least two audio and video clips sequentially according to the sequence.
  • the sorting submodule includes:
  • a filtering unit configured to filter the audio and video segments whose weight parameters are target values and the audio and video segments whose weight parameters are not set among the at least two audio and video segments;
  • a sorting unit configured to sort the at least two filtered audio and video clips based on the preset parameters.
  • the sorting submodule is further configured to sort the at least two audio and video files according to the order of values of the weight parameters from high to low when the preset parameters include the weight parameter. Fragments are sorted.
  • the sorting submodule is further configured to, in the case that the preset parameters include the ratio of the weight parameter of the audio-video segment to the duration, according to the value of the weight parameter of the audio-video segment.
  • the at least two audio and video clips are sorted in descending order according to the ratio of the duration to the duration.
  • the playback module 205 includes:
  • a receiving submodule configured to receive a fourth input to the preset progress bar
  • the display submodule is used to display the sorting results of the at least two audio and video clips in response to the fourth input.
  • the device also includes:
  • a fourth receiving module configured to receive a fifth input to the second audio-video segment in the sorting result, the at least two audio-video segments include the second audio-video segment;
  • the fourth response module is used to respond to the fifth input and play each audio and video segment sequentially from the second audio and video segment according to the ordering.
  • the preset progress bar of the target audio and video can be displayed by means of segmentation parameters of the target audio and video input by the user, and nodes can be displayed on the preset progress bar, wherein the The node is used to segment the target audio and video according to the segmentation parameters, and is used to divide the sub-progress bars of different audio and video segments in the preset progress bar, and respond Based on the second input to the sub-progress bar, weight parameters are set for the audio and video clips corresponding to the sub-progress bar, which can be used for the target audio and video in the form of nodes on the preset progress bar based on the segmentation parameters input by the user segment division, then when the user sets the weight parameters of the audio and video, it does not need to spend a long time searching and filtering the key audio and video information that needs to be browsed from the complete target audio and video, and only needs to correspond to each sub-progress after dividing by nodes Screen whether there is key audio and video information and its importance in the audio and video clips associated with the
  • this application uses short video audio and video Playing audio and video content in the form of fragments can also reduce the boringness of browsing the information in the audio and video for users; in addition, by dividing the target audio and video into segments in the preset progress bar, users can Based on the segmentation of the sub-progress bar in the preset progress bar, the segmentation result of the target audio and video after being divided can be intuitively understood, wherein the nodes in the preset progress bar can be used to segment the target audio and video Therefore, it is convenient for the user to fine-tune the segmentation effect of the target audio and video through this node; by setting the weight of the audio and video segment corresponding to the sub-progress bar in the preset progress bar, it is possible to browse the audio and video Efficiently mark audio and video clips that contain important information during the process.
  • the audio and video processing device in this embodiment of the present application may be a device, or may be a component, an integrated circuit, or a chip in a terminal.
  • the device may be a mobile electronic device or a non-mobile electronic device.
  • the mobile electronic device may be a mobile phone, a tablet computer, a notebook computer, a handheld computer, a vehicle electronic device, a wearable device, an ultra-mobile personal computer (ultra-mobile personal computer, UMPC), a netbook or a personal digital assistant (personal digital assistant). assistant, PDA), etc.
  • the non-mobile electronic device may be a personal computer (personal computer, PC), television (television, TV), teller machine or self-service machine, etc., which are not specifically limited in this embodiment of the present application.
  • the audio and video processing device in the embodiment of the present application may be a device with an operating system.
  • the operating system may be an Android operating system, an iOS operating system, or other possible operating systems, which are not specifically limited in this embodiment of the present application.
  • the audio and video processing device provided in the embodiment of the present application can realize each process realized in the above method embodiment, and to avoid repetition, details are not repeated here.
  • the embodiment of the present application further provides an electronic device 2000, including a processor 2002, a memory 2001, and programs or instructions stored in the memory 2001 and operable on the processor 2002,
  • an electronic device 2000 including a processor 2002, a memory 2001, and programs or instructions stored in the memory 2001 and operable on the processor 2002,
  • the program or instruction is executed by the processor 2002, each process of the above-mentioned audio and video processing method embodiment can be achieved, and the same technical effect can be achieved. To avoid repetition, details are not repeated here.
  • the electronic devices in the embodiments of the present application include the above-mentioned mobile electronic devices and non-mobile electronic devices.
  • FIG. 5 is a schematic diagram of a hardware structure of an electronic device implementing an embodiment of the present application.
  • the electronic device 1000 includes, but is not limited to: a radio frequency unit 1001, a network module 1002, an audio output unit 1003, an input unit 1004, a sensor 1005, a display unit 1006, a user input unit 1007, an interface unit 1008, a memory 1009, and a processor 1010, etc. part.
  • the electronic device 1000 can also include a power supply (such as a battery) for supplying power to various components, and the power supply can be logically connected to the processor 1010 through the power management system, so that the management of charging, discharging, and function can be realized through the power management system. Consumption management and other functions.
  • a power supply such as a battery
  • the structure of the electronic device shown in FIG. 5 does not constitute a limitation to the electronic device.
  • the electronic device may include more or fewer components than shown in the figure, or combine certain components, or arrange different components, and details will not be repeated here. .
  • the user input unit 1007 is configured to receive a first input to the target audio and video, the first input includes segmentation parameters; receive a second input to the sub-progress bar, the second input includes a weight parameter;
  • Processor 1010 configured to display a preset progress bar of the target audio and video in response to the first input, and display nodes on the preset progress bar, wherein the nodes are used to follow the segmentation
  • the parameters segment the target audio and video, and are used to edit the segmentation result of the target audio and video, and to divide different audio and video segments in at least two audio and video segments in the preset progress bar
  • the sub-progress bar; the weight parameter is set for the audio and video segment corresponding to the sub-progress bar;
  • the audio output unit 1003 is configured to sequentially play the at least two audio and video clips according to the order of the at least two audio and video clips, wherein the order is related to the weight parameter.
  • the preset progress bar of the target audio and video can be displayed by means of segmentation parameters of the target audio and video input by the user, and nodes can be displayed on the preset progress bar, wherein the The node is used to segment the target audio and video according to the segmentation parameters, and is used to divide the sub-progress bars of different audio and video segments in the preset progress bar, and respond Based on the second input to the sub-progress bar, weight parameters are set for the audio and video clips corresponding to the sub-progress bar, which can be used for the target audio and video in the form of nodes on the preset progress bar based on the segmentation parameters input by the user segment division, then when the user sets the weight parameters of the audio and video, it does not need to spend a long time searching and filtering the key audio and video information that needs to be browsed from the complete target audio and video, and only needs to correspond to each sub-progress after dividing by nodes Screen whether there is key audio and video information and its importance in the audio and video clips associated with the
  • this application uses short video audio and video Playing audio and video content in the form of fragments can also reduce the boringness of browsing the information in the audio and video for users; in addition, by dividing the target audio and video into segments in the preset progress bar, users can Based on the segmentation of the sub-progress bar in the preset progress bar, the segmentation result of the target audio and video after being divided can be intuitively understood, wherein the nodes in the preset progress bar can be used to segment the target audio and video Therefore, it is convenient for the user to fine-tune the segmentation effect of the target audio and video through this node; by setting the weight of the audio and video segment corresponding to the sub-progress bar in the preset progress bar, it is possible to browse the audio and video Efficiently mark audio and video clips that contain important information during the process.
  • the user input unit 1007 is configured to receive a third input to the target node in the nodes corresponding to the sub-progress bar;
  • Processor 1010 configured to adjust the time point and duration corresponding to the first audio-video segment in the target audio-video segment in response to the third input, wherein the first audio-video segment is the at least two
  • the sub-progress bar in each audio-video segment includes the audio-video segment of the target node.
  • the duration of the generated audio and video segments is generally the same, so in order to enable the user to The actual layout of information points is used to divide the audio and video segments. Users can flexibly adjust the time points of each audio and video segment generated by segment parameters and duration, so that the adjusted audio and video clips meet the user's browsing needs for key information (that is, information of interest).
  • the processor 1010 is configured to sort the at least two audio and video clips based on preset parameters, wherein the preset parameters include the weight parameter, or, the weight parameter of the audio and video clip is the same as ratio of duration;
  • the display unit 1006 is configured to sequentially play the at least two audio and video clips according to the sequence.
  • At least two audio and video clips can be sorted according to the weight parameters, and output and played according to the sorting, which can facilitate the user to quickly browse to the audio and video information with higher importance; At least two audio and video clips are output and played by sorting the ratio of the weight parameter to the duration, so that the user can browse more and more important audio and video information in a short period of time.
  • the processor 1010 is configured to filter the at least two audio and video clips, the audio and video clips whose weight parameters are target values and the audio and video clips whose weight parameters are not set; The filtered at least two audio and video clips are sorted.
  • the generated audio and video segments can be time-continuous between each audio and video segments, thus forming a complete
  • the user can set the weight value of the audio and video clip to the target value, or not set the weight value way, to achieve the purpose of discarding some audio and video segments after segmentation, these discarded audio and video segments do not need to participate in the sorting between audio and video segments and do not need to participate in video playback according to audio and video segments, thus saving
  • the user's browsing time of the video improves the browsing efficiency and the browsing efficiency of the points of interest in the audio and video.
  • the processor 1010 is configured to sort the at least two audio and video clips according to the descending order of the value of the weight parameter when the preset parameter includes the weight parameter .
  • the present application when sorting at least two audio and video clips after segmentation, they can be sorted and played according to the value of the weight parameter of each audio and video clip from large to small, so that priority can be given to Playing audio and video clips with higher weight, in the case of limited audio and video browsing time, can ensure that users browse to the more important audio and video content first, so that users can browse the most important or the most important ones by browsing audio and video clips.
  • Interested information which can help users quickly summarize audio and video information, and facilitate users to effectively browse and review key information from their own perspective.
  • the processor 1010 is configured to, if the preset parameter includes the ratio of the weight parameter of the audio and video clip to the duration, according to the value of the weight parameter of the audio and video clip and the According to the ratio of duration, the at least two audio and video clips are sorted in descending order.
  • the present application when sorting at least two audio and video clips after segmentation, they can be sorted and played according to the ratio of the value of the weight parameter of each audio and video clip to the duration from large to small. , so as to ensure that users can browse more important or interesting audio and video content through the playback of audio and video clips in the shortest time, improve the browsing efficiency of interesting and important audio and video content and shorten the browsing time time.
  • the user input unit 1007 is configured to receive a fourth input to the preset progress bar
  • the processor 1010 is configured to display the sorting results of the at least two audio and video clips in response to the fourth input.
  • the fourth input can be triggered by the user on the preset progress bar to display the sorting results of at least two audio and video clips, so that the user can browse the sorting results to find the audio and video clips to be browsed.
  • the user input unit 1007 is configured to receive a fifth input to the second audio-video segment in the sorting result, the at least two audio-video segments include the second audio-video segment;
  • the processor 1010 is configured to, in response to the fifth input, play each audio and video segment sequentially starting from the second audio and video segment according to the sequence.
  • the user after displaying the sorting results of each audio and video segment, the user can select an option of an audio and video segment of interest from the sorting results to trigger starting from the selected audio and video segment, and follow the The above sequence plays each video segment in sequence, so that the user can browse to the audio and video segment of interest more quickly.
  • the input unit 1004 may include a graphics processor (Graphics Processing Unit, GPU) 10041 and a microphone 10042, and the graphics processor 10041 is used for the image capture device (such as the image data of the still picture or video obtained by the camera) for processing.
  • the display unit 1006 may include a display panel 10061, and the display panel 10061 may be configured in the form of a liquid crystal display, an organic light emitting diode, or the like.
  • the user input unit 1007 includes a touch panel 10071 and other input devices 10072 .
  • the touch panel 10071 is also called a touch screen.
  • the touch panel 10071 can include two parts: a touch detection device and a touch controller.
  • Other input devices 10072 may include, but are not limited to, physical keyboards, function keys (such as volume control buttons, switch buttons, etc.), trackballs, mice, and joysticks, which will not be repeated here.
  • the memory 1009 can be used to store software programs as well as various data, including but not limited to application programs and operating systems.
  • Processor 1010 may integrate an application processor and a modem processor, wherein the application processor mainly processes operating systems, user interfaces, and application programs, and the modem processor mainly processes wireless communications. It can be understood that the foregoing modem processor may not be integrated into the processor 1010 .
  • the embodiment of the present application also provides a readable storage medium, the readable storage medium stores a program or an instruction, and when the program or instruction is executed by the processor, the various processes of the above-mentioned audio and video processing method embodiment are realized, and can achieve The same technical effects are not repeated here to avoid repetition.
  • the processor is the processor in the electronic device described in the above embodiments.
  • the readable storage medium includes computer readable storage medium, such as computer read-only memory (Read-Only Memory, ROM), random access memory (Random Access Memory, RAM), magnetic disk or optical disk, etc.
  • the embodiment of the present application further provides a chip, the chip includes a processor and a communication interface, the communication interface is coupled to the processor, and the processor is used to run programs or instructions to implement the above audio and video processing method embodiment Each process, and can achieve the same technical effect, in order to avoid repetition, will not repeat them here.
  • chips mentioned in the embodiments of the present application may also be called system-on-chip, system-on-chip, system-on-a-chip, or system-on-a-chip.
  • the term “comprising”, “comprising” or any other variation thereof is intended to cover a non-exclusive inclusion such that a process, method, article or apparatus comprising a set of elements includes not only those elements, It also includes other elements not expressly listed, or elements inherent in the process, method, article, or device. Without further limitations, an element defined by the phrase “comprising a " does not preclude the presence of additional identical elements in the process, method, article, or apparatus comprising that element.
  • the scope of the methods and devices in the embodiments of the present application is not limited to performing functions in the order shown or discussed, and may also include performing functions in a substantially simultaneous manner or in reverse order according to the functions involved. Functions are performed, for example, the described methods may be performed in an order different from that described, and various steps may also be added, omitted, or combined. Additionally, features described with reference to certain examples may be combined in other examples.

Abstract

The present application discloses an audio and video processing method and apparatus, belonging to the technical field of audio and video processing. The method comprises: receiving a first input for target audio and video, the first input comprising a segmentation parameter; in response to the first input, displaying a preset progress bar of the target audio and video, and displaying a node on the preset progress bar, the node being used to segment the target audio and video according to the segmentation parameter, for editing a segmentation result of the target audio and video, and for dividing sub-progress bars of different audio and video clips in at least two audio and video clips in the preset progress bar; receiving a second input for the sub-progress bars, the second input comprising a weighting parameter; in response to the second input, configuring the weighting parameter for the audio and video clips corresponding to the sub-progress bar; and according to the ordering of the at least two audio and video clips, sequentially playing the at least two audio and video clips, the ordering being related to the weighting parameter.

Description

音视频处理方法、装置、电子设备及可读存储介质Audio and video processing method, device, electronic device and readable storage medium
相关申请的交叉引用Cross References to Related Applications
本申请要求在2021年08月30日提交中国专利局、申请号为202111008454.X、名称为“音视频处理方法、装置、电子设备及可读存储介质”的中国专利申请的优先权,其全部内容通过引用结合在本申请中。This application claims the priority of the Chinese patent application submitted to the China Patent Office on August 30, 2021, with the application number 202111008454.X and the title "Audio and Video Processing Method, Device, Electronic Equipment, and Readable Storage Medium", all of which The contents are incorporated by reference in this application.
技术领域technical field
本申请属于音视频处理技术领域,具体涉及一种音视频处理方法、装置、电子设备及可读存储介质。The present application belongs to the technical field of audio and video processing, and in particular relates to an audio and video processing method, device, electronic equipment and readable storage medium.
背景技术Background technique
随着移动互联网的越来越发达,人们获取信息的渠道也变得更加丰富。其中音视频学习成为了用户日常汲取信息的一种有效方式。相对于单纯看书的文字信息方式,以音视频方式的信息浏览对用户而言更方便。With the development of the mobile Internet, the channels for people to obtain information have also become more abundant. Among them, audio and video learning has become an effective way for users to absorb information daily. Compared with the text information method of simply reading books, information browsing in the form of audio and video is more convenient for users.
目前,在浏览音视频信息时,用户为了浏览音视频信息中的重点信息,主要处理方式可以包括用户触发快进播放、播放暂停、拖拉进度条、截图、文字笔记等。但是这些处理方式需要消耗较长时间在重点音视频信息的筛选上,无法较快的明确音视频信息中的重点信息,影响对音视频信息中重点信息的浏览效率。At present, when browsing audio and video information, in order to browse the key information in the audio and video information, the main processing methods of the user may include triggering fast-forward playback, playback pause, dragging the progress bar, screenshots, text notes, etc. by the user. However, these processing methods need to spend a long time on the screening of key audio and video information, and cannot quickly clarify the key information in the audio and video information, which affects the browsing efficiency of key information in the audio and video information.
发明内容Contents of the invention
本申请实施例的目的是提供一种音视频处理方法、装置、电子设备及可读存储介质,能够解决相关技术中的音视频处理方法所存在地需要消耗较长时间在重点音视频信息的筛选上,无法较快的明确音视频信息中的重点信息,影响对音视频信息中重点信息的浏览效率的问题。The purpose of the embodiments of the present application is to provide an audio and video processing method, device, electronic equipment, and readable storage medium, which can solve the problem that the audio and video processing methods in the related art need to spend a long time in the screening of key audio and video information In fact, it is impossible to quickly clarify the key information in the audio and video information, which affects the browsing efficiency of the key information in the audio and video information.
第一方面,本申请实施例提供了一种音视频处理方法,该方法包括:In the first aspect, the embodiment of the present application provides an audio and video processing method, the method comprising:
接收对目标音视频的第一输入,所述第一输入包括分段参数;receiving a first input to the target audio and video, the first input including segmentation parameters;
响应于所述第一输入,显示所述目标音视频的预设进度条,并在所述预设进度条上显示节点,其中,所述节点用于按照所述分段参数对所述目标音视频进行分段,以及用于对所述目标音视频的分段结果进行编辑,以及用于在所述预设进度条中划分至少两个音视频片段中不同音视频片段的子进度条;In response to the first input, displaying a preset progress bar of the target audio and video, and displaying nodes on the preset progress bar, wherein the nodes are used to adjust the target audio and video according to the segmentation parameters Segmenting the video, and editing the segmentation result of the target audio and video, and sub-progress bars for dividing different audio and video segments in at least two audio and video segments in the preset progress bar;
接收对所述子进度条的第二输入,所述第二输入包括权重参数;receiving a second input to the sub-progress bar, the second input including a weight parameter;
响应于所述第二输入,对所述子进度条对应的音视频片段设置所述权重参数;In response to the second input, setting the weight parameter for the audio and video segment corresponding to the sub-progress bar;
按照所述至少两个音视频片段的排序,依次播放所述至少两个音视频片段,其中,所述排序与所述权重参数相关。Playing the at least two audio and video clips sequentially according to the order of the at least two audio and video clips, wherein the order is related to the weight parameter.
第二方面,本申请实施例提供了一种音视频处理装置,该装置包括:In the second aspect, the embodiment of the present application provides an audio and video processing device, which includes:
第一接收模块,用于接收对目标音视频的第一输入,所述第一输入包括分段参数;The first receiving module is used to receive the first input to the target audio and video, and the first input includes segmentation parameters;
第一响应模块,用于响应于所述第一输入,显示所述目标音视频的预设进度条,并在所述预设进度条上显示节点,其中,所述节点用于按照所述分段参数对所述目标音视频进行分段,以及用于对所述目标音视频的分段结果进行编辑,以及用于在所述预设进度条中划分至少两个音视频片段中不同音视频片段的子进度条;A first response module, configured to display a preset progress bar of the target audio and video in response to the first input, and display nodes on the preset progress bar, wherein the nodes are used to The segment parameter segments the target audio and video, and is used to edit the segmentation result of the target audio and video, and is used to divide different audio and video in at least two audio and video segments in the preset progress bar Fragment's child progress bar;
第二接收模块,用于接收对所述子进度条的第二输入,所述第二输入包括权重参数;A second receiving module, configured to receive a second input to the sub-progress bar, where the second input includes a weight parameter;
第二响应模块,用于响应于所述第二输入,对所述子进度条对应的音视频片段设置所述权重参数;A second response module, configured to set the weight parameter for the audio and video segment corresponding to the sub-progress bar in response to the second input;
播放模块,用于按照所述至少两个音视频片段的排序,依次播放所述至少两个音视频片段,其中,所述排序与所述权重参数相关。A playing module, configured to sequentially play the at least two audio and video clips according to the order of the at least two audio and video clips, wherein the order is related to the weight parameter.
第三方面,本申请实施例提供了一种电子设备,该电子设备包括处理器、存储器及存储在所述存储器上并可在所述处理器上运行的程序或指令,所述程序或指令被所述处理器执行时实现如第一方面所述的方法的步骤。In a third aspect, an embodiment of the present application provides an electronic device, the electronic device includes a processor, a memory, and a program or instruction stored in the memory and operable on the processor, and the program or instruction is The processor implements the steps of the method described in the first aspect when executed.
第四方面,本申请实施例提供了一种可读存储介质,所述可读存储介质上存储程序或指令,所述程序或指令被处理器执行时实现如第一方面所述的方法的步骤。In a fourth aspect, an embodiment of the present application provides a readable storage medium, on which a program or an instruction is stored, and when the program or instruction is executed by a processor, the steps of the method described in the first aspect are implemented .
第五方面,本申请实施例提供了一种芯片,所述芯片包括处理器和通信接口,所述通信接口和所述处理器耦合,所述处理器用于运行程序或指令,实现如第一方面所述的方法。In the fifth aspect, the embodiment of the present application provides a chip, the chip includes a processor and a communication interface, the communication interface is coupled to the processor, and the processor is used to run programs or instructions, so as to implement the first aspect the method described.
第六方面,本申请实施例提供一种装置,所述装置被配置为用于执行如第一方面所述的方法的步骤。In a sixth aspect, an embodiment of the present application provides an apparatus configured to perform the steps of the method described in the first aspect.
第七方面,本申请实施例提供一种计算机程序产品,所述计算机程序产品被存储在非易失的存储介质中,程序产品被至少一个处理器执行以实现如第一方面所述的方法的步骤。In the seventh aspect, the embodiment of the present application provides a computer program product, the computer program product is stored in a non-volatile storage medium, and the program product is executed by at least one processor to implement the method described in the first aspect step.
在本申请实施例中,可以借助于用户输入的对目标音视频的分段参数,来显示所述目标音视频的预设进度条,并在所述预设进度条上显示节点,其中,所述节点用于按照所述分段参数对所述目标音视频进行分段,以及用于在所述预设进度条中划分至少两个音视频片段中不同音视频片段的子进度条,并响应于对子进度条的第二输入,来对所述子进度条对应的音视频片段设置权重参数,能够基于用户输入的分段参数,在预设进度条上以节点的方式用于目标音视频的片段划分,那么在用户设置音视频的权重参数时,则无需从完整的目标音视频中消耗较长时间查找筛选所需要浏览的重点音视频信息,只需要在以节点划分后对应各个子进度条所关联的音视频片段中筛选是否存在重点音视频信息以及其重要程度,从而对该子进度条对应的音视频片段设置权重参数,从长视频的重点音视频信息筛选到从短的视频片段中作重点音视频信息的筛选,能够大幅提升对重点音视频信息的筛选效率,以及较快的明确音视频信息中的重点信息;而且,在对设置权重参数后的音视频片段进行播放时,可以按照与该权重参数相关的排序方式进行依次播放,从而能够在有限的时间内浏览到更多更重要的音视频信息,有效地缩短对目标音视频中重点信息的浏览时间以及提升浏览效率。此外,长视频形式的目标 音视频的浏览会占据用户更多的时间成本,且无法较快地识别重点音视频信息来便于用户有针对性的信息浏览,而本申请以短视频形式的音视频片段的方式来播放音视频内容,也能够降低用户对音视频中信息的浏览枯燥程度;另外,通过在预设进度条中以节点划分的方式来用于目标音视频的分段,使得用户可以基于预设进度条中子进度条的分段情况来直观的了解到目标音视频在被划分后的分段结果,其中,预设进度条中的节点能够用于对所述目标音视频的分段结果进行编辑,因此,可以便于用户通过该节点来对目标音视频的分段效果进行微调;通过对预设进度条中子进度条对应的音视频片段来设置权重,从而可以在音视频浏览过程中有效地标记包括重要信息的音视频片段。In the embodiment of the present application, the preset progress bar of the target audio and video can be displayed by means of segmentation parameters of the target audio and video input by the user, and nodes can be displayed on the preset progress bar, wherein the The node is used to segment the target audio and video according to the segmentation parameters, and is used to divide the sub-progress bars of different audio and video segments in the preset progress bar, and respond Based on the second input to the sub-progress bar, weight parameters are set for the audio and video clips corresponding to the sub-progress bar, which can be used for the target audio and video in the form of nodes on the preset progress bar based on the segmentation parameters input by the user segment division, then when the user sets the weight parameters of the audio and video, it does not need to spend a long time searching and filtering the key audio and video information that needs to be browsed from the complete target audio and video, and only needs to correspond to each sub-progress after dividing by nodes Screen whether there is key audio and video information and its importance in the audio and video clips associated with the progress bar, so as to set weight parameters for the audio and video clips corresponding to the sub progress bar, and filter from the key audio and video information of long videos to short video clips The screening of key audio and video information in the middle can greatly improve the screening efficiency of key audio and video information, and quickly clarify the key information in the audio and video information; moreover, when playing the audio and video clips after setting the weight parameters, It can be played sequentially according to the sorting method related to the weight parameter, so that more and more important audio and video information can be browsed within a limited time, effectively shortening the browsing time of key information in the target audio and video and improving browsing efficiency. In addition, the browsing of target audio and video in the form of long videos will take up more time costs for users, and it is impossible to quickly identify key audio and video information to facilitate users' targeted information browsing. However, this application uses short video audio and video Playing audio and video content in the form of fragments can also reduce the boringness of browsing the information in the audio and video for users; in addition, by dividing the target audio and video into segments in the preset progress bar, users can Based on the segmentation of the sub-progress bar in the preset progress bar, the segmentation result of the target audio and video after being divided can be intuitively understood, wherein the nodes in the preset progress bar can be used to segment the target audio and video Therefore, it is convenient for the user to fine-tune the segmentation effect of the target audio and video through this node; by setting the weight of the audio and video segment corresponding to the sub-progress bar in the preset progress bar, it is possible to browse the audio and video Efficiently mark audio and video clips that contain important information during the process.
附图说明Description of drawings
图1是本申请一个实施例的音视频处理方法的流程图;Fig. 1 is the flowchart of the audio-video processing method of an embodiment of the present application;
图2A是本申请一个实施例的音视频处理方法的界面示意图之一;Fig. 2A is one of the interface schematic diagrams of the audio and video processing method of an embodiment of the present application;
图2B是本申请一个实施例的音视频处理方法的界面示意图之二;Fig. 2B is the second schematic interface diagram of the audio and video processing method of an embodiment of the present application;
图2C是本申请一个实施例的音视频处理方法的界面示意图之三;Fig. 2C is the third schematic interface diagram of the audio and video processing method of an embodiment of the present application;
图2D是本申请一个实施例的音视频处理方法的界面示意图之四;FIG. 2D is a fourth schematic interface diagram of an audio and video processing method according to an embodiment of the present application;
图2E是本申请一个实施例的音视频处理方法的界面示意图之五;FIG. 2E is a fifth schematic interface diagram of an audio and video processing method according to an embodiment of the present application;
图2F是本申请一个实施例的音视频处理方法的界面示意图之六;FIG. 2F is a sixth schematic interface diagram of an audio and video processing method according to an embodiment of the present application;
图2G是本申请一个实施例的音视频处理方法的界面示意图之七;FIG. 2G is a seventh schematic interface diagram of an audio and video processing method according to an embodiment of the present application;
图3是本申请一个实施例的音视频处理装置的框图;Fig. 3 is the block diagram of the audio-video processing device of an embodiment of the present application;
图4是本申请一个实施例的电子设备的硬件结构示意图;FIG. 4 is a schematic diagram of a hardware structure of an electronic device according to an embodiment of the present application;
图5是本申请另一个实施例的电子设备的硬件结构示意图。FIG. 5 is a schematic diagram of a hardware structure of an electronic device according to another embodiment of the present application.
具体实施例specific embodiment
下面将结合本申请实施例中的附图,对本申请实施例中的技术方案进行清楚地描述,显然,所描述的实施例是本申请一部分实施例,而不是全部的 实施例。基于本申请中的实施例,本领域普通技术人员获得的所有其他实施例,都属于本申请保护的范围。The technical solutions in the embodiments of the present application will be clearly described below in conjunction with the drawings in the embodiments of the present application. Obviously, the described embodiments are part of the embodiments of the present application, not all of them. All other embodiments obtained by persons of ordinary skill in the art based on the embodiments in this application belong to the protection scope of this application.
本申请的说明书和权利要求书中的术语“第一”、“第二”等是用于区别类似的对象,而不用于描述特定的顺序或先后次序。应该理解这样使用的数据在适当情况下可以互换,以便本申请的实施例能够以除了在这里图示或描述的那些以外的顺序实施,且“第一”、“第二”等所区分的对象通常为一类,并不限定对象的个数,例如第一对象可以是一个,也可以是多个。此外,说明书以及权利要求中“和/或”表示所连接对象的至少其中之一,字符“/”,一般表示前后关联对象是一种“或”的关系。The terms "first", "second" and the like in the specification and claims of the present application are used to distinguish similar objects, and are not used to describe a specific sequence or sequence. It should be understood that the terms so used are interchangeable under appropriate circumstances such that the embodiments of the application can be practiced in sequences other than those illustrated or described herein, and that references to "first," "second," etc. distinguish Objects are generally of one type, and the number of objects is not limited. For example, there may be one or more first objects. In addition, "and/or" in the specification and claims means at least one of the connected objects, and the character "/" generally means that the related objects are an "or" relationship.
下面结合附图,通过具体的实施例及其应用场景对本申请实施例提供的音视频处理方法进行详细地说明。The audio and video processing method provided by the embodiment of the present application will be described in detail below through specific embodiments and application scenarios with reference to the accompanying drawings.
参照图1,示出了本申请一个实施例的音视频处理方法的流程图,所述方法具体可以包括如下步骤:Referring to Fig. 1, the flow chart of the audio-video processing method of an embodiment of the present application is shown, and described method specifically can comprise the following steps:
步骤101,接收对目标音视频的第一输入,所述第一输入包括分段参数; Step 101, receiving the first input to the target audio and video, the first input includes segmentation parameters;
其中,本申请各个实施例的处理对象可以是视频或者音频,后文以目标视频为处理对象为例进行说明,但是以视频为处理对象说明的处理方法同样适用于音频的处理,原理类似,因此不再一一赘述。Wherein, the processing object of each embodiment of the present application can be video or audio, and the following description will be made by taking the target video as the processing object as an example, but the processing method described by taking video as the processing object is also applicable to the processing of audio, and the principle is similar, so I won't repeat them one by one.
其中,第一输入可以在视频的播放界面触发,也可以在手机中视频的缩略图界面触发。Wherein, the first input may be triggered on a video playback interface, or may be triggered on a video thumbnail interface in the mobile phone.
其中,分段参数用于对目标视频进行等分。Wherein, the segmentation parameter is used to equally divide the target video.
分段参数的参数类型可以包括段数参数的取值和时长参数的取值,其中,段数参数的取值用于表示对目标视频均分为该取值(例如5)个视频片段,时长参数的取值用于表示对目标视频均分为每段时长为该取值(例如15分钟)的视频片段,当然,考虑到目标视频的整个视频时长并不一定是该设置的时长参数的取值的整数倍,因此,分段后的视频片段中可以存在至少一个视频片段的时长小于该设置的时长参数的取值。The parameter type of the segmentation parameter can include the value of the segment number parameter and the value of the duration parameter, wherein the value of the segment number parameter is used to represent that the target video is divided into the value (for example, 5) video segments, and the duration parameter The value is used to indicate that the target video is equally divided into video clips with a duration of this value (for example, 15 minutes). Of course, considering that the entire video duration of the target video is not necessarily the value of the duration parameter set Integer multiples, therefore, there may be at least one video segment in the segmented video segment whose duration is shorter than the value of the set duration parameter.
此外,在一个实施例中,分段参数可以包括段数参数的取值;In addition, in an embodiment, the segmentation parameter may include the value of the segment number parameter;
在另一个实施例中分段参数可以包括时长参数的取值;In another embodiment, the segmentation parameter may include the value of the duration parameter;
在又一个实施例中,分段参数还可以包括段数参数的多个取值,用于对目标视频进行多次等分。In yet another embodiment, the segment parameter may also include multiple values of the segment number parameter, which are used to divide the target video into multiple equal parts.
示例地,段数参数依次包括2和3,则可以对目标视频等分为2个视频片段,再对这2个视频片段分别再细化等分为3个视频片段,从而生成时长相同的6个视频片段。For example, if the segment number parameter includes 2 and 3 in turn, the target video can be divided into 2 video segments, and then these 2 video segments can be subdivided into 3 video segments to generate 6 video segments with the same duration. video clip.
示例地,如图2A所示,示出了一个视频的播放界面10,用户可以通过点击播放界面10的任意一个位置,来触发在播放界面10中显示该视频的播放进度条11以及预设图标12。其中,该视频时长为1.5小时,播放进度为前30分钟。其中,预设图标12可以为该视频的分段编辑入口。通过用户手指单击该预设图标12,可以在播放界面显示文本框13,提示用户输入用于对该视频进行分段的分段量,也就是上文所述的分段参数,示例地,用户可以在文本框13内输入6段,则表示对该目标视频按照播放顺序均分为6个视频片段。Exemplarily, as shown in FIG. 2A , a video playback interface 10 is shown, and the user can click on any position of the playback interface 10 to trigger the display of the playback progress bar 11 and the preset icon of the video in the playback interface 10 12. Among them, the duration of the video is 1.5 hours, and the playback progress is the first 30 minutes. Wherein, the preset icon 12 may be an entry for segment editing of the video. By clicking the preset icon 12 with the user's finger, a text box 13 can be displayed on the playback interface, prompting the user to input the amount of segmentation used to segment the video, which is the segmentation parameter described above. For example, The user can input 6 segments in the text box 13, which means that the target video is divided into 6 video segments according to the playing sequence.
步骤102,响应于所述第一输入,显示所述目标音视频的预设进度条,并在所述预设进度条上显示节点; Step 102, in response to the first input, displaying a preset progress bar of the target audio and video, and displaying nodes on the preset progress bar;
其中,所述节点用于按照所述分段参数对所述目标音视频进行分段,以及用于对所述目标音视频的分段结果进行编辑,以及用于在所述预设进度条中划分至少两个音视频片段中不同音视频片段的子进度条。Wherein, the node is used to segment the target audio and video according to the segmentation parameters, and to edit the segmentation result of the target audio and video, and to display in the preset progress bar A sub-progress bar that divides different audio-video segments in at least two audio-video segments.
其中,本步骤可以按照分段参数,在预设进度条上布局节点,从而以节点所构成的不同子进度条的方式,来对预设进度条进行划分;由于预设进度条与目标音视频的播放时间是完全对应的,因此,可以以对预设进度条进行节点划分成不同子进度条的方式,来实现对目标音视频的不同音视频片段的划分。Wherein, in this step, nodes can be laid out on the preset progress bar according to the segmentation parameters, so as to divide the preset progress bar in the form of different sub-progress bars formed by the nodes; since the preset progress bar and the target audio and video The playback time of each is completely corresponding. Therefore, the division of different audio and video segments of the target audio and video can be realized by dividing the preset progress bar into different sub progress bars.
当然,本步骤中,主要以节点在预设进度条中显示的时间位置,来表示第一输入对目标音视频的音视频片段的划分方式,但是本步骤并不一定按照该划分方式对目标音视频已经做了音视频片段的划分,可以根据需要灵活的 在合适的时机进行音视频片段的划分,使得目标音视频被划分为至少两个音视频片段。Of course, in this step, the time position of the node displayed in the preset progress bar is mainly used to represent the division method of the first input to the audio and video segments of the target audio and video, but this step does not necessarily divide the target audio and video according to the division method. The video has already been divided into audio and video segments, and the audio and video segments can be divided flexibly at an appropriate time according to needs, so that the target audio and video is divided into at least two audio and video segments.
例如可以在本步骤中对目标音视频进行音视频片段的划分,以视频为例,本步骤进行分段处理时采用对视频进行等分的方式进行分段处理,使得生成的至少两个视频片段中大多数的视频片段的时长是相同的;并且,在对视频进行分段处理时,是按照播放时间顺序依次进行分段处理的,因此,生成的至少两个视频片段之间是播放时间连续的视频片段,换言之,至少两个视频片段按照播放时间依次连接,仍旧可以还原为原始的目标视频。For example, in this step, the target audio and video can be divided into audio and video segments. Taking video as an example, when this step is segmented, the video is divided into equal parts, so that at least two video segments are generated. The duration of most of the video clips in is the same; and, when the video is segmented, it is sequentially segmented according to the order of playing time, so at least two generated video clips are played continuously In other words, at least two video clips are sequentially connected according to the playing time, and the original target video can still be restored.
再如,也可以在下述步骤105之后,即在对子进度条对应的音视频片段设置了权重参数之后,再对目标音视频进行音视频片段的划分,因为,在设置权重参数之后,则可以明确用户已经确定了该预设进度条中所显示的各个节点对应目标音视频的分段结果,而在设置权重参数之前,用户是可以根据需要再对按照分段参数对目标音视频进行分段后的分段结果进行灵活调整的。For another example, after the following step 105, that is, after the weight parameter is set for the audio and video segment corresponding to the sub-progress bar, the audio and video segment is divided into the target audio and video, because, after the weight parameter is set, then you can It is clear that the user has determined the segmentation results of the target audio and video corresponding to each node displayed in the preset progress bar, and before setting the weight parameters, the user can segment the target audio and video according to the segmentation parameters as needed The subsequent segmentation results can be flexibly adjusted.
以视频为例,为了将目标音视频的该分段结果可视化,可以通过进度条的分段的方式来体现该视频分段的结果,那么用于显示这种视频分段结果,或者说用于对该视频进行分段编辑的进度条可以称之为预设进度条。该预设进度条可以是图2B中的该播放进度条11,通过对该播放进度条11增加一些本申请设置的视频编辑的额外功能,来达到该目的;或者,该预设进度条也可以是单独设置的一种能够用于对视频进行分段的进度条,例如如图2B所示的段落进度条20。Taking video as an example, in order to visualize the segmented result of the target audio and video, the segmented progress bar can be used to reflect the segmented result of the video, then it is used to display the segmented result of the video, or used to The progress bar for segment editing the video can be called a preset progress bar. The preset progress bar can be the playback progress bar 11 in FIG. 2B, and this purpose can be achieved by adding some additional functions of video editing provided by the application to the playback progress bar 11; or, the preset progress bar can also be It is a separately set progress bar that can be used to segment the video, such as the segment progress bar 20 shown in FIG. 2B .
需要说明的是,该段落进度条20的长度以及所表示的视频时长,以及播放时间范围都是与播放进度条11相同的,在图2B中,段落进度条20平行地显示在播放进度条11上方,且两个进度条的起始位置和终止位置是对齐的,也就是说,段落进度条20也表示了从进度条的开始到进度条的结束的视频帧的播放顺序,只不过该段落进度条20不显示播放进度而已。在其他实施例中,本申请对于段落进度条20相对于播放进度条11的位置并不做 限制,例如可以在图2B的基础上,段落进度条20向手机的摄像头方向向左平移。It should be noted that the length of the paragraph progress bar 20 and the indicated video duration, and the playing time range are the same as the playback progress bar 11. In FIG. 2B, the paragraph progress bar 20 is displayed on the playback progress bar 11 in parallel. above, and the start position and end position of the two progress bars are aligned, that is to say, the paragraph progress bar 20 also represents the playback order of the video frames from the beginning of the progress bar to the end of the progress bar, except that the paragraph The progress bar 20 does not display the playback progress. In other embodiments, the application does not limit the position of the paragraph progress bar 20 relative to the playback progress bar 11. For example, on the basis of FIG. 2B, the paragraph progress bar 20 can be translated to the left toward the camera of the mobile phone.
后文以预设进度条为段落进度条20为例进行说明,但这并不用于限制本申请。In the following, the default progress bar is the paragraph progress bar 20 as an example for illustration, but this is not intended to limit the present application.
可选地,基于预设进度条中的节点,在对目标音视频进行分段后,所生成的至少两个音视频片段中一个音视频片段的时间点可以包括该音视频片段的每个播放时间点,或者,该音视频片段的播放时间范围,或者,该音视频片段的起始播放时间点和终止播放时间点。Optionally, based on the nodes in the preset progress bar, after segmenting the target audio and video, the time point of one audio and video segment in the generated at least two audio and video segments may include each playback of the audio and video segment Time point, or, the playing time range of the audio and video clip, or, the start playing time point and the ending playing time point of the audio and video clip.
示例地,经过图2A的分段量的输入并确认后,可以转至显示图2B,在图2B中,段落进度条20通过不同的阴影来表示这种分段量用于目标音视频的分段时,所生成的不同视频片段对应的子进度条,在其他实施例中,可以以不同颜色来标记不同视频片段在段落进度条中对应的子进度条。Illustratively, after inputting and confirming the segmentation amount in FIG. 2A, it can turn to display FIG. 2B. In FIG. In other embodiments, the sub-progress bars corresponding to different video segments can be marked with different colors in the segment progress bar.
此外,段落进度条20中可以显示节点A、节点B、节点C、节点D、节点E、节点F,以这些节点来划分各个视频片段的子进度条。这里以不同字母来标识不同的节点,在其他实施例中,也可以用户其他标记来表示不同的节点。In addition, node A, node B, node C, node D, node E, and node F may be displayed in the paragraph progress bar 20, and these nodes are used to divide the sub-progress bars of each video segment. Here, different letters are used to identify different nodes, and in other embodiments, other symbols can also be used to indicate different nodes.
此外,这里的6个节点是按照各个视频片段的结束时间点来在段落进度条上的相应位置生成的。在其他实施例中,也可以按照各个视频片段的开始时间点,来在段落进度条20上生成各个节点,还可以按照各个视频片段的开始时间点以及结束时间点,来在段落进度条20上生成各个节点,也可以按照能够区别不同视频片段的子进度条的方式进行节点划分(例如图2B中的节点F可以省略)。In addition, the six nodes here are generated at corresponding positions on the paragraph progress bar according to the end time points of each video segment. In other embodiments, each node can also be generated on the paragraph progress bar 20 according to the start time point of each video segment, and can also be generated on the paragraph progress bar 20 according to the start time point and the end time point of each video segment. Each node is generated, and the nodes can also be divided according to the manner of sub-progress bars capable of distinguishing different video clips (for example, node F in FIG. 2B can be omitted).
在图2B中,可以将目标视频分为6段,目标视频的第0~15分钟的视频片段对应于子进度条21,第15~30分钟的视频片段对应于子进度条AB,第30~45分钟的视频片段对应于子进度条BC,第45~60分钟的视频片段对应于子进度条CD,第60~75分钟的视频片段对应于子进度条DE,第75~90分钟的视频片段对应于子进度条EF。其中,这里举例的不同视频片段之间 并不包括同一帧视频图像,例如第15~30分钟的视频片段和第30~15分钟的视频片段之间只有一个视频判断存在第30分钟的帧图像。In Fig. 2B, the target video can be divided into 6 sections, the video segments of the 0th to 15th minutes of the target video correspond to the sub-progress bar 21, the video segments of the 15th to 30th minutes correspond to the sub-progress bar AB, and the 30th to 30th minute video segments correspond to the sub-progress bar AB, The 45-minute video segment corresponds to the sub-progress bar BC, the 45th-60th-minute video segment corresponds to the sub-progress bar CD, the 60th-75th minute video segment corresponds to the sub-progress bar DE, and the 75th-90th minute video segment corresponds to the sub-progress bar DE. Corresponds to the child progress bar EF. Among them, the different video clips exemplified here do not include the same frame of video image, for example, there is only one video between the 15th to 30th minute video clip and the 30th to 15th minute video clip to determine that there is a 30th minute frame image.
这样,用户可以通过输入分段量,来表示将视频进行多等分,形成多个视频段,并标记段落结束节点,其中,上段的结束节点为下段的开始节点。In this way, the user can indicate that the video is divided into multiple equal parts by inputting the segment amount to form multiple video segments, and mark the end node of the segment, wherein the end node of the upper segment is the start node of the lower segment.
步骤104,接收对所述子进度条的第二输入,所述第二输入包括权重参数; Step 104, receiving a second input to the sub-progress bar, where the second input includes a weight parameter;
其中,如上文所述,考虑到子进度条中节点的生成方式有多种,因此,子进度条可以包括起始节点和结束节点两个节点中的至少一个节点。那么该第二输入可以是对该子进度条的段落进行输入,例如图2D中手指单击子进度条CD的段落;该第二输入还可以是对该子进度条的任意一个节点进行输入,例如图2D中手指单击子进度条21的节点A。Wherein, as described above, considering that there are multiple ways to generate nodes in the sub-progress bar, the sub-progress bar may include at least one node among two nodes: a start node and an end node. Then the second input can be an input to a paragraph of the sub-progress bar, for example, a finger clicks on the paragraph of the sub-progress bar CD in FIG. 2D; the second input can also be an input to any node of the sub-progress bar, For example, the finger clicks node A of the sub-progress bar 21 in FIG. 2D .
如图2D所示,对子进度条21的节点A单击之后,可以在播放界面显示带有透明度的文本框31,提示用户设置子进度条21对应的第0~15分钟的视频片段的权重值,可选地,还可以对第0~15分钟的视频片段设置标题;同理,对子进度条22(即子进度条CD)进行单击之后,也可以显示文本框32,来提示用户设置子进度条22对应的第60~75分钟的视频片段的权重值,可选地,还可以设置标题。As shown in Figure 2D, after clicking node A of the sub-progress bar 21, a text box 31 with transparency can be displayed on the playback interface, prompting the user to set the weight of the 0-15 minute video segment corresponding to the sub-progress bar 21 Value, optionally, title can also be set to the video segment of the 0th~15 minutes; Similarly, after sub-progress bar 22 (being sub-progress bar CD) is clicked, text box 32 can also be displayed to prompt the user Set the weight value of the 60th-75th minute video segment corresponding to the sub-progress bar 22, and optionally, set the title.
另外,步骤104可以对所需要设置权重的视频片段对应的子进度条触发第二输入,来对该子进度条对应的视频片段设置权重值,示例地,该权重值的取值范围为0~10,取值越高,表示该视频片段所包括的重点信息的重要程度越高。In addition, step 104 may trigger a second input on the sub-progress bar corresponding to the video clip whose weight needs to be set to set a weight value for the video clip corresponding to the sub-progress bar. For example, the weight value ranges from 0 to 10. The higher the value, the higher the importance of key information included in the video segment.
其中,当一个视频片段设置的权重值为0,则说明该视频片段中的信息不重要,该作用等同于不对该视频片段设置权重值,那么对于这种情况的视频片段,不仅可以不参与视频片段的排序,也可以不参与视频片段的播放。Among them, when the weight value of a video clip is set to 0, it means that the information in the video clip is not important. The sorting of the clips may also not participate in the playback of the video clips.
因此,当用户认为某些视频片段不重要时,可以对该视频片段设置权重为0,或者直接对该视频片段不设置权重,以此来达到后续过滤视频片段的作用。Therefore, when the user thinks that certain video clips are not important, the weight of the video clip can be set to 0, or the weight of the video clip can not be set directly, so as to achieve the effect of subsequent filtering of the video clip.
步骤105,响应于所述第二输入,对所述子进度条对应的音视频片段设置所述权重参数; Step 105, in response to the second input, setting the weight parameter for the audio and video segment corresponding to the sub-progress bar;
步骤106,按照所述至少两个音视频片段的排序,依次播放所述至少两个音视频片段,其中,所述排序与所述权重参数相关。Step 106: Play the at least two audio and video clips sequentially according to the order of the at least two audio and video clips, wherein the order is related to the weight parameter.
其中,本步骤可以自动按照该排序来播放各个视频片段,也可以在接收到用户的输入之后,再触发执行该播放的步骤。Wherein, in this step, each video segment may be automatically played according to the order, or the step of playing may be triggered after receiving the input from the user.
可选地,在执行步骤106时,可以基于预设参数对所述至少两个音视频片段进行排序,其中,所述预设参数包括所述权重参数,或,所述音视频片段的权重参数与时长的比值;然后,按照所述排序依次播放所述至少两个音视频片段。Optionally, when step 106 is executed, the at least two audio and video clips may be sorted based on preset parameters, wherein the preset parameters include the weight parameters, or the weight parameters of the audio and video clips and the duration; then, play the at least two audio and video clips sequentially according to the sequence.
其中,以视频为例,可以按照权重值的排序来依次播放各个视频片段,也可以按照权重值与时长值的比值的排序来依次播放各个视频片段。Wherein, taking video as an example, each video clip may be played sequentially according to the order of weight value, or may be played sequentially according to the order of ratio of weight value to duration value.
在本申请实施例中,可以按照权重参数来对至少两个音视频片段进行排序,并按照排序来输出播放,这样可以便于用户较快的浏览到重要程度更高的音视频信息;还可以按照权重参数与时长的比值的排序来输出播放至少两个音视频片段,这样可以便于用户在较短的时间内浏览到更多重要程度更高的音视频信息。In the embodiment of the present application, at least two audio and video clips can be sorted according to the weight parameters, and output and played according to the sorting, which can facilitate the user to quickly browse to the audio and video information with higher importance; At least two audio and video clips are output and played by sorting the ratio of the weight parameter to the duration, so that the user can browse more and more important audio and video information in a short period of time.
在本申请实施例中,可以借助于用户输入的对目标音视频的分段参数,来显示所述目标音视频的预设进度条,并在所述预设进度条上显示节点,其中,所述节点用于按照所述分段参数对所述目标音视频进行分段,以及用于在所述预设进度条中划分至少两个音视频片段中不同音视频片段的子进度条,并响应于对子进度条的第二输入,来对所述子进度条对应的音视频片段设置权重参数,能够基于用户输入的分段参数,在预设进度条上以节点的方式用于目标音视频的片段划分,那么在用户设置音视频的权重参数时,则无需从完整的目标音视频中消耗较长时间查找筛选所需要浏览的重点音视频信息,只需要在以节点划分后对应各个子进度条所关联的音视频片段中筛选是否存在重点音视频信息以及其重要程度,从而对该子进度条对应的音视频 片段设置权重参数,从长视频的重点音视频信息筛选到从短的视频片段中作重点音视频信息的筛选,能够大幅提升对重点音视频信息的筛选效率,以及较快的明确音视频信息中的重点信息;而且,在对设置权重参数后的音视频片段进行播放时,可以按照与该权重参数相关的排序方式进行依次播放,从而能够在有限的时间内浏览到更多更重要的音视频信息,有效地缩短对目标音视频中重点信息的浏览时间以及提升浏览效率。此外,长视频形式的目标音视频的浏览会占据用户更多的时间成本,且无法较快地识别重点音视频信息来便于用户有针对性的信息浏览,而本申请以短视频形式的音视频片段的方式来播放音视频内容,也能够降低用户对音视频中信息的浏览枯燥程度;另外,通过在预设进度条中以节点划分的方式来用于目标音视频的分段,使得用户可以基于预设进度条中子进度条的分段情况来直观的了解到目标音视频在被划分后的分段结果,其中,预设进度条中的节点能够用于对所述目标音视频的分段结果进行编辑,因此,可以便于用户通过该节点来对目标音视频的分段效果进行微调;通过对预设进度条中子进度条对应的音视频片段来设置权重,从而可以在音视频浏览过程中有效地标记包括重要信息的音视频片段。In the embodiment of the present application, the preset progress bar of the target audio and video can be displayed by means of segmentation parameters of the target audio and video input by the user, and nodes can be displayed on the preset progress bar, wherein the The node is used to segment the target audio and video according to the segmentation parameters, and is used to divide the sub-progress bars of different audio and video segments in the preset progress bar, and respond Based on the second input to the sub-progress bar, weight parameters are set for the audio and video clips corresponding to the sub-progress bar, which can be used for the target audio and video in the form of nodes on the preset progress bar based on the segmentation parameters input by the user segment division, then when the user sets the weight parameters of the audio and video, it does not need to spend a long time searching and filtering the key audio and video information that needs to be browsed from the complete target audio and video, and only needs to correspond to each sub-progress after dividing by nodes Screen whether there is key audio and video information and its importance in the audio and video clips associated with the progress bar, so as to set weight parameters for the audio and video clips corresponding to the sub progress bar, and filter from the key audio and video information of long videos to short video clips The screening of key audio and video information in the middle can greatly improve the screening efficiency of key audio and video information, and quickly clarify the key information in the audio and video information; moreover, when playing the audio and video clips after setting the weight parameters, It can be played sequentially according to the sorting method related to the weight parameter, so that more and more important audio and video information can be browsed within a limited time, effectively shortening the browsing time of key information in the target audio and video and improving browsing efficiency. In addition, the browsing of target audio and video in the form of long videos will take up more time costs for users, and it is impossible to quickly identify key audio and video information to facilitate users' targeted information browsing. However, this application uses short video audio and video Playing audio and video content in the form of fragments can also reduce the boringness of browsing the information in the audio and video for users; in addition, by dividing the target audio and video into segments in the preset progress bar, users can Based on the segmentation of the sub-progress bar in the preset progress bar, the segmentation result of the target audio and video after being divided can be intuitively understood, wherein the nodes in the preset progress bar can be used to segment the target audio and video Therefore, it is convenient for the user to fine-tune the segmentation effect of the target audio and video through this node; by setting the weight of the audio and video segment corresponding to the sub-progress bar in the preset progress bar, it is possible to browse the audio and video Efficiently mark audio and video clips that contain important information during the process.
可选地,在步骤102之后,步骤104之前,根据本申请实施例的方法还可以包括:接收对所述子进度条对应的所述节点中目标节点的第三输入;响应于所述第三输入,调整第一音视频片段在所述目标音视频中对应的时间点和时长,其中,所述第一音视频片段为所述至少两个音视频片段中子进度条包括所述目标节点的音视频片段。Optionally, after step 102 and before step 104, the method according to the embodiment of the present application may further include: receiving a third input of a target node in the nodes corresponding to the sub-progress bar; responding to the third Input, adjust the time point and duration corresponding to the first audio and video segment in the target audio and video, wherein the first audio and video segment is the sub-progress bar of the at least two audio and video segments including the target node Audio and video clips.
其中,当用户对于直接按照分段参数对音视频片段的划分效果并不满意时,则可以通过对子进度条的节点触发第三输入,来实现对音视频片段的划分方式的微调。Wherein, when the user is not satisfied with the division effect of the audio and video segments directly according to the segmentation parameters, the fine-tuning of the division method of the audio and video segments can be realized by triggering the third input to the node of the sub-progress bar.
该目标节点可以是该子进度条的起始节点,和/或,结束节点。参照图2B和图2C,用户通过将节点B沿图2C中的箭头方向拖动,使得子进度条AB对应的视频片段的时间点和时长,以及子进度条BC对应的视频片段的 时间点和时长都被调整,其中,子进度条AB对应的视频片段的视频播放范围被拉长,时长也被拉长,具体为结束位置被延长;而子进度条BC对应的视频片段的视频播放范围被缩短,时长也被缩短,具体为从起始位置被缩短。The target node may be the start node and/or the end node of the sub-progress bar. Referring to Figure 2B and Figure 2C, the user drags node B along the direction of the arrow in Figure 2C to make the time point and duration of the video segment corresponding to the sub-progress bar AB, and the time point and duration of the video segment corresponding to the sub-progress bar BC. The duration is adjusted. Among them, the video playback range of the video segment corresponding to the sub-progress bar AB is elongated, and the duration is also elongated, specifically the end position is extended; while the video playback range of the video segment corresponding to the sub-progress bar BC is elongated. shortened, the duration is also shortened, specifically from the starting position.
例如,节点B沿箭头方向拖动了5分钟的视频时长,则子进度条AB对应的视频片段从第15~30分钟的视频片段,调整为第15~35分钟的视频片段;子进度条BC对应的视频片段从第30~45分钟的视频片段,调整为第35~45分钟的视频片段。For example, if node B drags the video duration of 5 minutes along the direction of the arrow, the video segment corresponding to the sub-progress bar AB is adjusted from the video segment of the 15th to 30th minute to the video segment of the 15th to 35th minute; the sub-progress bar BC The corresponding video clips are adjusted from the 30th to 45th minute video clips to the 35th to 45th minute video clips.
需要说明的是,对预设进度条中子进度条的目标节点触发第三输入,并不会改变目标音视频的播放进度,即便将图2A中的播放进度条11作为预设进度条,对于节点的移动,并不会改变视频的当前播放进度。It should be noted that triggering the third input on the target node of the sub-progress bar in the preset progress bar will not change the playback progress of the target audio and video, even if the playback progress bar 11 in Figure 2A is used as the preset progress bar, for The movement of the node will not change the current playback progress of the video.
在本申请实施例中,由于在利用分段参数对目标音视频进行音视频片段划分时,所划分生成的音视频片段的时长大体一致,那么为了能够使用户基于目标音视频中各感兴趣的信息点的实际布局情况,来做音视频片段的划分,用户可以通过对子进度条中的目标节点触发输入的方式,来灵活调整利用分段参数分段生成的各个音视频片段的时间点以及时长,从而使得调整后的各个音视频片段符合用户对重点信息(即感兴趣的信息)的浏览需求。In the embodiment of the present application, since the segmented parameters are used to divide the audio and video segments of the target audio and video, the duration of the generated audio and video segments is generally the same, so in order to enable the user to The actual layout of information points is used to divide the audio and video segments. Users can flexibly adjust the time points of each audio and video segment generated by segment parameters and duration, so that the adjusted audio and video clips meet the user's browsing needs for key information (that is, information of interest).
可选地,在步骤105之后,在步骤106之前,本申请实施例的方法还可以将对各个音视频片段设置的权重参数显示在与各个音视频片段对应的子进度条上,具体显示位置可以是该子进度条的中间位置。Optionally, after step 105 and before step 106, the method of the embodiment of the present application can also display the weight parameters set for each audio and video segment on the sub-progress bar corresponding to each audio and video segment, and the specific display position can be Is the middle position of the child progress bar.
可选地,如果用户未对各个音视频片段设置标题,本申请实施例的方法可以以各子进度条的结束节点为该子进度条的音视频片段的标题。Optionally, if the user does not set a title for each audio/video segment, the method in this embodiment of the present application may use the end node of each sub-progress bar as the title of the audio/video segment of the sub-progress bar.
例如,图2E中的段落进度条20中,每个子进度条中中间位置都显示了权重参数的取值,子进度条21显示了第0~15分钟的视频片段(标题为A)的权重值为3,子进度条AB显示了第15~35分钟的视频片段(标题为B)的权重值为8、子进度条BC显示了第35~45分钟的视频片段(标题为C)的权重值为2,子进度条CD显示了第45~60分钟的视频片段(标题为D)的权重值为0,子进度条DE显示了第60~75分钟的视频片段(标题为E) 的权重值为2,子进度条EF显示了第75~90分钟的视频片段(标题为F)的权重值为5。For example, in the paragraph progress bar 20 in Fig. 2E, the middle position in each sub-progress bar has all shown the value of the weight parameter, and the sub-progress bar 21 has shown the weight value of the video clip (titled A) of the 0th to 15 minutes is 3, the sub-progress bar AB shows the weight value of the 15th to 35th minute video clip (titled as B) is 8, and the sub-progress bar BC shows the weight value of the 35th to 45th minute video clip (titled as C) is 2, the sub-progress bar CD shows the weight value of the 45th to 60th minute video segment (titled as D), and the sub-progress bar DE shows the weight value of the 60th to 75th minute video segment (titled as E) is 2, and the sub-progress bar EF shows that the weight value of the video segment (titled F) from the 75th to the 90th minute is 5.
可选地,在基于预设参数对所述至少两个音视频片段进行排序时,可以对所述至少两个音视频片段中,权重参数的取值为目标值的音视频片段以及未设置权重参数的音视频片段进行过滤;然后,基于所述预设参数,对过滤后的所述至少两个音视频片段进行排序。Optionally, when the at least two audio and video clips are sorted based on preset parameters, among the at least two audio and video clips, the audio and video clips whose weight parameter is a target value and whose weight is not set parameters of the audio and video clips; then, based on the preset parameters, the filtered at least two audio and video clips are sorted.
示例地,参照上文对权重值的举例,权重值为0表示视频片段不重要,因此,这里的目标值为0,在其他实施例中,考虑到权重值的取值范围的差异,该目标值也可以是除0之外的其他数值,本申请对此不做限制,那么在图2E中,子进度条CD对应的视频片段会被过滤掉不参与排序和顺序播放。For example, referring to the example of the weight value above, a weight value of 0 indicates that the video segment is not important, so the target value here is 0. In other embodiments, considering the difference in the value range of the weight value, the target The value can also be other values except 0, which is not limited in this application. Then in FIG. 2E , the video clips corresponding to the sub-progress bar CD will be filtered out and will not participate in sorting and sequential playback.
在本申请实施例中,按照分段参数(例如时长,或者分段量)对目标音视频进行分段时,所生成的各个音视频片段,各个音视频片段之间能够时间连续,从而构成完整的目标音视频,那么考虑到目标音视频中某些音视频片段并不需要用户特别关注而进行浏览,因此,用户可以通过对该音视频片段设置权重值为目标值,或者不设置权重值的方式,来达到对分段后的某些音视频片段进行舍弃的目的,这些被舍弃的音视频片段不需要参与音视频片段之间的排序以及不需要参与按照音视频片段的视频播放,从而节省用户对视频的浏览时间,提升浏览效率以及对音视频中感兴趣的点的浏览效率。In the embodiment of the present application, when the target audio and video is segmented according to the segmentation parameters (such as the duration, or the amount of segmentation), the generated audio and video segments can be time-continuous between each audio and video segments, thus forming a complete The target audio and video, then considering that some audio and video clips in the target audio and video do not require the user to pay special attention to browse, therefore, the user can set the weight value of the audio and video clip to the target value, or not set the weight value way, to achieve the purpose of discarding some audio and video segments after segmentation, these discarded audio and video segments do not need to participate in the sorting between audio and video segments and do not need to participate in video playback according to audio and video segments, thus saving The user's browsing time of the video improves the browsing efficiency and the browsing efficiency of the points of interest in the audio and video.
可选地,在所述预设参数包括所述权重参数的情况下,在基于预设参数对所述至少两个音视频片段进行排序时,可以按照所述权重参数的取值从高到低的顺序对所述至少两个音视频片段进行排序。Optionally, in the case where the preset parameters include the weight parameter, when sorting the at least two audio and video clips based on the preset parameters, the values of the weight parameters may be from high to low The order of the at least two audio and video clips is sorted.
其中,在排序时,如果存在两个或两个以上的音视频片段的权重值相同,则可以对这些权重值相同的音视频片段,按照在目标音视频中的播放时间顺序,或者说它们的子进度条在预设进度条中的排列先后顺序进行排序。Among them, when sorting, if there are two or more audio and video clips with the same weight value, these audio and video clips with the same weight value can be ordered according to the playing time in the target audio and video, or their The sub-progress bars are sorted in the order in which they are arranged in the preset progress bar.
因此,如图2G所示,子进度条BC的视频片段,即标题为C的视频片段的权重值为2,但是其排列在同样权重值为2的标题为E的视频片段的前面。Therefore, as shown in FIG. 2G , the video segment of the sub-progress bar BC, that is, the video segment titled C has a weight value of 2, but it is arranged in front of the video segment titled E with the same weight value of 2.
在本申请实施例中,在对分段后的至少两个音视频片段进行排序时,可以按照各个音视频片段的权重参数的取值从大到小的顺序进行排序并进行播放,从而可以优先播放具有更高权重的音视频片段,在音视频浏览时间有限的情况下,可以保证用户优先浏览到重要程度更高的音视频内容,便于用户通过浏览音视频片段来优先浏览最重要或者说最感兴趣的信息,从而可以帮助用户快速对音视频信息进行归纳整理,方便用户从自身出发有效的进行重点信息的浏览回顾。In the embodiment of the present application, when sorting at least two audio and video clips after segmentation, they can be sorted and played according to the value of the weight parameter of each audio and video clip from large to small, so that priority can be given to Playing audio and video clips with higher weight, in the case of limited audio and video browsing time, can ensure that users browse to the more important audio and video content first, so that users can browse the most important or the most important ones by browsing audio and video clips. Interested information, which can help users quickly summarize audio and video information, and facilitate users to effectively browse and review key information from their own perspective.
可选地,在所述预设参数包括所述音视频片段的权重参数与时长的比值的情况下,在基于预设参数对所述至少两个音视频片段进行排序时,可以按照所述音视频片段的所述权重参数的取值与所述时长的比值,从大到小的顺序对所述至少两个音视频片段进行排序。Optionally, when the preset parameters include the ratio of the weight parameter of the audio and video clips to the duration, when sorting the at least two audio and video clips based on the preset parameters, the audio and video clips may be sorted according to the audio and video clips. The ratio of the value of the weight parameter of the video segment to the duration is used to sort the at least two audio and video segments in descending order.
其中,在排序时,如果存在两个或两个以上的音视频片段的权重值与时长的比值相同,则可以对这些比值相同的音视频片段,按照在目标音视频中的播放时间顺序,或者说它们的子进度条在预设进度条中的排列先后顺序进行排序。Among them, when sorting, if there are two or more audio and video clips with the same weight value and duration ratio, then these audio and video clips with the same ratio can be ordered according to the playing time in the target audio and video, or Said that their sub-progress bars are sorted in the order in which they are arranged in the preset progress bar.
其中,在对各个音视频片段设置了权重值之后,则可以自动对各个音视频片段进行排序,也即自动将各个音视频片段添加到该用户的视频路径图(即图2F中的排序结果框41、图2G中的排序结果框42)中。Wherein, after each audio and video clip is set with a weight value, then each audio and video clip can be automatically sorted, that is, each audio and video clip is automatically added to the user's video path map (that is, the sorting result box in Figure 2F 41. In the sorting result box 42) in FIG. 2G.
在本申请实施例中,在对分段后的至少两个音视频片段进行排序时,可以按照各个音视频片段的权重参数的取值与时长的比值从大到小的顺序进行排序并进行播放,从而可以保证用户在最短的时间内通过音视频片段的播放,来浏览到更多重要或者说更多感兴趣的音视频内容,提升感兴趣的、重要的音视频内容的浏览效率并缩短浏览时间。In the embodiment of the present application, when sorting at least two audio and video clips after segmentation, they can be sorted and played according to the ratio of the value of the weight parameter of each audio and video clip to the duration from large to small. , so as to ensure that users can browse more important or interesting audio and video content through the playback of audio and video clips in the shortest time, improve the browsing efficiency of interesting and important audio and video content and shorten the browsing time time.
可选地,在执行步骤106时,可以自动播放,或者,接收到输入操作之后播放,或者,如下述实施例所述的,在显示排序结果之后由用户触发进行播放。Optionally, when step 106 is executed, it may be played automatically, or after an input operation is received, or, as described in the following embodiments, be triggered by a user to play after displaying the sorting results.
可选地,在执行步骤106时,可以接收对所述预设进度条的第四输入; 响应于所述第四输入,显示所述至少两个音视频片段的排序结果。Optionally, when step 106 is executed, a fourth input to the preset progress bar may be received; in response to the fourth input, a sorting result of the at least two audio and video clips is displayed.
其中,该第四输入可以是对预设进度条中的任意一个子进度条进行输入来触发,也可以是对任意一个子进度条的开始节点或结束节点进行输入来触发,该输入可以是双击输入,或者长按输入等,本申请对此不做限制。Wherein, the fourth input can be triggered by inputting any sub-progress bar in the preset progress bar, or can be triggered by inputting the start node or end node of any sub-progress bar. The input can be double-clicking Input, or long-press input, etc., this application does not limit this.
如图2F,手指双击子进度条AB,从而显示排序结果框41,排序结果框41显示了按照权重值与时长的比值进行排序的结果;如图2G,手指双击子进度条AB,从而显示排序结果框42,排序结果框42,显示了按照权重值进行排序的结果。As shown in Figure 2F, the finger double-clicks the sub-progress bar AB to display the sorting result box 41, and the sorting result box 41 shows the results of sorting according to the ratio of the weight value to the duration; as shown in Figure 2G, the finger double-clicks the sub-progress bar AB to display the sorting result The result box 42, the sorted result box 42, shows the sorted results according to the weight value.
可选地,该排序结果框41、排序结果框42可以以一定的透明度显示在播放界面10,或者将排序结果以字幕的方式显示在播放界面10,本申请对此不做限制。Optionally, the sorting result box 41 and the sorting result box 42 may be displayed on the playback interface 10 with a certain degree of transparency, or the sorting result may be displayed on the playback interface 10 in the form of subtitles, which is not limited in this application.
在本申请实施例中,可以由用户对预设进度条触发第四输入的方式,来显示对至少两个音视频片段的排序结果,便于用户通过浏览排序结果来查找需要浏览的音视频片段。In this embodiment of the application, the fourth input can be triggered by the user on the preset progress bar to display the sorting results of at least two audio and video clips, so that the user can browse the sorting results to find the audio and video clips to be browsed.
可选地,所述响应于所述第四输入,显示所述至少两个音视频片段的排序结果之后,根据本申请实施例的方法还可以包括:接收对所述排序结果中第二音视频片段的第五输入,所述至少两个音视频片段包括所述第二音视频片段;响应于所述第五输入,按照所述排序从所述第二音视频片段开始依次播放各音视频片段。Optionally, after displaying the sorting results of the at least two audio and video clips in response to the fourth input, the method according to the embodiment of the present application may further include: receiving a list of the second audio and video clips in the sorting results The fifth input of the segment, the at least two audio and video segments include the second audio and video segment; in response to the fifth input, each audio and video segment is played sequentially from the second audio and video segment according to the ordering .
如图2F所示,如果用户需要从排序结果框中选择一个首先要浏览学习的视频片段,则可以通过点击排序结果框41或排序结果框42中的相应视频片段的标题,来触发从该选中的视频片段开始按照排序顺序播放各个视频片段。As shown in Figure 2F, if the user needs to select a video segment to be browsed and studied at first from the sorting result box, the title of the corresponding video segment in the sorting result box 41 or the sorting result box 42 can be clicked to trigger the selection from the sorting result box. The video clip of starts playing each video clip in sorted order.
例如用户在排序结果框41中选择了标题F,则从标题F对应的视频片段开始播放,并依次播放标题C、标题A、标题E各自对应的视频片段。For example, if the user selects title F in the sorting result box 41, the video segment corresponding to title F will be played, and the video segments corresponding to title C, title A, and title E will be played sequentially.
对排序结果框42选择首先要播放的视频片段的方式同理,不再一一赘述。The method for selecting the video segment to be played first in the sorting result box 42 is the same, and will not be repeated one by one.
在本申请实施例中,在显示各个音视频片段的排序结果之后,用户可以从排序结果中选择感兴趣的某个音视频片段的选项,来触发从该被选择的音视频片段开始,并按照上述排序依次播放各个视频片段,这样可以更快地使用户浏览到感兴趣的音视频片段。In the embodiment of the present application, after displaying the sorting results of each audio and video segment, the user can select an option of an audio and video segment of interest from the sorting results to trigger starting from the selected audio and video segment, and follow the The above sequence plays each video segment in sequence, so that the user can browse to the audio and video segment of interest more quickly.
需要说明的是,本申请实施例提供的音视频处理方法,执行主体可以为音视频处理装置,或者该音视频处理装置中的用于执行音视频处理方法的控制模块。本申请实施例中以音视频处理装置执行音视频处理方法为例,说明本申请实施例提供的音视频处理装置。It should be noted that the audio and video processing method provided in the embodiment of the present application may be executed by an audio and video processing device, or a control module in the audio and video processing device for executing the audio and video processing method. In the embodiment of the present application, the audio and video processing device provided in the embodiment of the present application is described by taking the audio and video processing device executing the audio and video processing method as an example.
参照图3,示出了本申请一个实施例的音视频处理装置的框图。该音视频处理装置包括:Referring to FIG. 3 , it shows a block diagram of an audio and video processing device according to an embodiment of the present application. The audio and video processing device includes:
第一接收模块201,用于接收对目标音视频的第一输入,所述第一输入包括分段参数;The first receiving module 201 is used to receive the first input to the target audio and video, and the first input includes segmentation parameters;
第一响应模块202,用于响应于所述第一输入,显示所述目标音视频的预设进度条,并在所述预设进度条上显示节点,其中,所述节点用于按照所述分段参数对所述目标音视频进行分段,以及用于对所述目标音视频的分段结果进行编辑,以及用于在所述预设进度条中划分至少两个音视频片段中不同音视频片段的子进度条;The first response module 202 is configured to display a preset progress bar of the target audio and video in response to the first input, and display a node on the preset progress bar, wherein the node is used to follow the The segmentation parameter segments the target audio and video, and is used to edit the segmentation result of the target audio and video, and is used to divide different audio and video in at least two audio and video segments in the preset progress bar. Sub-progress bar for video clips;
第二接收模块203,用于接收对所述子进度条的第二输入,所述第二输入包括权重参数;The second receiving module 203 is configured to receive a second input to the sub-progress bar, where the second input includes a weight parameter;
第二响应模块204,用于响应于所述第二输入,对所述子进度条对应的音视频片段设置所述权重参数;The second response module 204 is configured to set the weight parameter for the audio and video segment corresponding to the sub-progress bar in response to the second input;
播放模块205,用于按照所述至少两个音视频片段的排序,依次播放所述至少两个音视频片段,其中,所述排序与所述权重参数相关。The playing module 205 is configured to sequentially play the at least two audio and video clips according to the order of the at least two audio and video clips, wherein the order is related to the weight parameter.
可选地,所述装置还包括:Optionally, the device also includes:
第三接收模块,用于接收对所述子进度条对应的所述节点中目标节点的第三输入;A third receiving module, configured to receive a third input to a target node in the nodes corresponding to the sub-progress bar;
第三响应模块,用于响应于所述第三输入,调整第一音视频片段在所述 目标音视频中对应的时间点和时长,其中,所述第一音视频片段为所述至少两个音视频片段中子进度条包括所述目标节点的音视频片段。The third response module is configured to adjust the corresponding time point and duration of the first audio and video segment in the target audio and video in response to the third input, wherein the first audio and video segment is the at least two The sub-progress bar in the audio and video segment includes the audio and video segment of the target node.
可选地,所述播放模块205包括:Optionally, the playback module 205 includes:
排序子模块,用于基于预设参数对所述至少两个音视频片段进行排序,其中,所述预设参数包括所述权重参数,或,所述音视频片段的权重参数与时长的比值;A sorting submodule, configured to sort the at least two audio and video clips based on preset parameters, wherein the preset parameters include the weight parameter, or the ratio of the weight parameter to the duration of the audio and video clip;
播放子模块,用于按照所述排序依次播放所述至少两个音视频片段。The playing sub-module is used to play the at least two audio and video clips sequentially according to the sequence.
可选地,所述排序子模块包括:Optionally, the sorting submodule includes:
过滤单元,用于对所述至少两个音视频片段中,权重参数为目标值的音视频片段以及未设置权重参数的音视频片段进行过滤;A filtering unit, configured to filter the audio and video segments whose weight parameters are target values and the audio and video segments whose weight parameters are not set among the at least two audio and video segments;
排序单元,用于基于所述预设参数,对过滤后的所述至少两个音视频片段进行排序。A sorting unit, configured to sort the at least two filtered audio and video clips based on the preset parameters.
可选地,所述排序子模块,还用于在所述预设参数包括所述权重参数的情况下,按照所述权重参数的取值从高到低的顺序对所述至少两个音视频片段进行排序。Optionally, the sorting submodule is further configured to sort the at least two audio and video files according to the order of values of the weight parameters from high to low when the preset parameters include the weight parameter. Fragments are sorted.
可选地,所述排序子模块,还用于在所述预设参数包括所述音视频片段的权重参数与时长的比值的情况下,按照所述音视频片段的所述权重参数的取值与所述时长的比值,从大到小的顺序对所述至少两个音视频片段进行排序。Optionally, the sorting submodule is further configured to, in the case that the preset parameters include the ratio of the weight parameter of the audio-video segment to the duration, according to the value of the weight parameter of the audio-video segment The at least two audio and video clips are sorted in descending order according to the ratio of the duration to the duration.
可选地,所述播放模块205包括:Optionally, the playback module 205 includes:
接收子模块,用于接收对所述预设进度条的第四输入;A receiving submodule, configured to receive a fourth input to the preset progress bar;
显示子模块,用于响应于所述第四输入,显示所述至少两个音视频片段的排序结果。The display submodule is used to display the sorting results of the at least two audio and video clips in response to the fourth input.
可选地,所述装置还包括:Optionally, the device also includes:
第四接收模块,用于接收对所述排序结果中第二音视频片段的第五输入,所述至少两个音视频片段包括所述第二音视频片段;A fourth receiving module, configured to receive a fifth input to the second audio-video segment in the sorting result, the at least two audio-video segments include the second audio-video segment;
第四响应模块,用于响应于所述第五输入,按照所述排序从所述第二音 视频片段开始依次播放各音视频片段。The fourth response module is used to respond to the fifth input and play each audio and video segment sequentially from the second audio and video segment according to the ordering.
在本申请实施例中,可以借助于用户输入的对目标音视频的分段参数,来显示所述目标音视频的预设进度条,并在所述预设进度条上显示节点,其中,所述节点用于按照所述分段参数对所述目标音视频进行分段,以及用于在所述预设进度条中划分至少两个音视频片段中不同音视频片段的子进度条,并响应于对子进度条的第二输入,来对所述子进度条对应的音视频片段设置权重参数,能够基于用户输入的分段参数,在预设进度条上以节点的方式用于目标音视频的片段划分,那么在用户设置音视频的权重参数时,则无需从完整的目标音视频中消耗较长时间查找筛选所需要浏览的重点音视频信息,只需要在以节点划分后对应各个子进度条所关联的音视频片段中筛选是否存在重点音视频信息以及其重要程度,从而对该子进度条对应的音视频片段设置权重参数,从长视频的重点音视频信息筛选到从短的视频片段中作重点音视频信息的筛选,能够大幅提升对重点音视频信息的筛选效率,以及较快的明确音视频信息中的重点信息;而且,在对设置权重参数后的音视频片段进行播放时,可以按照与该权重参数相关的排序方式进行依次播放,从而能够在有限的时间内浏览到更多更重要的音视频信息,有效地缩短对目标音视频中重点信息的浏览时间以及提升浏览效率。此外,长视频形式的目标音视频的浏览会占据用户更多的时间成本,且无法较快地识别重点音视频信息来便于用户有针对性的信息浏览,而本申请以短视频形式的音视频片段的方式来播放音视频内容,也能够降低用户对音视频中信息的浏览枯燥程度;另外,通过在预设进度条中以节点划分的方式来用于目标音视频的分段,使得用户可以基于预设进度条中子进度条的分段情况来直观的了解到目标音视频在被划分后的分段结果,其中,预设进度条中的节点能够用于对所述目标音视频的分段结果进行编辑,因此,可以便于用户通过该节点来对目标音视频的分段效果进行微调;通过对预设进度条中子进度条对应的音视频片段来设置权重,从而可以在音视频浏览过程中有效地标记包括重要信息的音视频片段。In the embodiment of the present application, the preset progress bar of the target audio and video can be displayed by means of segmentation parameters of the target audio and video input by the user, and nodes can be displayed on the preset progress bar, wherein the The node is used to segment the target audio and video according to the segmentation parameters, and is used to divide the sub-progress bars of different audio and video segments in the preset progress bar, and respond Based on the second input to the sub-progress bar, weight parameters are set for the audio and video clips corresponding to the sub-progress bar, which can be used for the target audio and video in the form of nodes on the preset progress bar based on the segmentation parameters input by the user segment division, then when the user sets the weight parameters of the audio and video, it does not need to spend a long time searching and filtering the key audio and video information that needs to be browsed from the complete target audio and video, and only needs to correspond to each sub-progress after dividing by nodes Screen whether there is key audio and video information and its importance in the audio and video clips associated with the progress bar, so as to set weight parameters for the audio and video clips corresponding to the sub progress bar, and filter from the key audio and video information of long videos to short video clips The screening of key audio and video information in the middle can greatly improve the screening efficiency of key audio and video information, and quickly clarify the key information in the audio and video information; moreover, when playing the audio and video clips after setting the weight parameters, It can be played sequentially according to the sorting method related to the weight parameter, so that more and more important audio and video information can be browsed within a limited time, effectively shortening the browsing time of key information in the target audio and video and improving browsing efficiency. In addition, the browsing of target audio and video in the form of long videos will take up more time costs for users, and it is impossible to quickly identify key audio and video information to facilitate users' targeted information browsing. However, this application uses short video audio and video Playing audio and video content in the form of fragments can also reduce the boringness of browsing the information in the audio and video for users; in addition, by dividing the target audio and video into segments in the preset progress bar, users can Based on the segmentation of the sub-progress bar in the preset progress bar, the segmentation result of the target audio and video after being divided can be intuitively understood, wherein the nodes in the preset progress bar can be used to segment the target audio and video Therefore, it is convenient for the user to fine-tune the segmentation effect of the target audio and video through this node; by setting the weight of the audio and video segment corresponding to the sub-progress bar in the preset progress bar, it is possible to browse the audio and video Efficiently mark audio and video clips that contain important information during the process.
本申请实施例中的音视频处理装置可以是装置,也可以是终端中的部件、集成电路、或芯片。该装置可以是移动电子设备,也可以为非移动电子设备。示例性的,移动电子设备可以为手机、平板电脑、笔记本电脑、掌上电脑、车载电子设备、可穿戴设备、超级移动个人计算机(ultra-mobile personal computer,UMPC)、上网本或者个人数字助理(personal digital assistant,PDA)等,非移动电子设备可以为个人计算机(personal computer,PC)、电视机(television,TV)、柜员机或者自助机等,本申请实施例不作具体限定。The audio and video processing device in this embodiment of the present application may be a device, or may be a component, an integrated circuit, or a chip in a terminal. The device may be a mobile electronic device or a non-mobile electronic device. Exemplarily, the mobile electronic device may be a mobile phone, a tablet computer, a notebook computer, a handheld computer, a vehicle electronic device, a wearable device, an ultra-mobile personal computer (ultra-mobile personal computer, UMPC), a netbook or a personal digital assistant (personal digital assistant). assistant, PDA), etc., and the non-mobile electronic device may be a personal computer (personal computer, PC), television (television, TV), teller machine or self-service machine, etc., which are not specifically limited in this embodiment of the present application.
本申请实施例中的音视频处理装置可以为具有操作系统的装置。该操作系统可以为安卓(Android)操作系统,可以为iOS操作系统,还可以为其他可能的操作系统,本申请实施例不作具体限定。The audio and video processing device in the embodiment of the present application may be a device with an operating system. The operating system may be an Android operating system, an iOS operating system, or other possible operating systems, which are not specifically limited in this embodiment of the present application.
本申请实施例提供的音视频处理装置能够实现上述方法实施例实现的各个过程,为避免重复,这里不再赘述。The audio and video processing device provided in the embodiment of the present application can realize each process realized in the above method embodiment, and to avoid repetition, details are not repeated here.
可选地,如图4所示,本申请实施例还提供一种电子设备2000,包括处理器2002,存储器2001,存储在存储器2001上并可在所述处理器2002上运行的程序或指令,该程序或指令被处理器2002执行时实现上述音视频处理方法实施例的各个过程,且能达到相同的技术效果,为避免重复,这里不再赘述。Optionally, as shown in FIG. 4 , the embodiment of the present application further provides an electronic device 2000, including a processor 2002, a memory 2001, and programs or instructions stored in the memory 2001 and operable on the processor 2002, When the program or instruction is executed by the processor 2002, each process of the above-mentioned audio and video processing method embodiment can be achieved, and the same technical effect can be achieved. To avoid repetition, details are not repeated here.
需要注意的是,本申请实施例中的电子设备包括上述所述的移动电子设备和非移动电子设备。It should be noted that the electronic devices in the embodiments of the present application include the above-mentioned mobile electronic devices and non-mobile electronic devices.
图5为实现本申请实施例的一种电子设备的硬件结构示意图。FIG. 5 is a schematic diagram of a hardware structure of an electronic device implementing an embodiment of the present application.
该电子设备1000包括但不限于:射频单元1001、网络模块1002、音频输出单元1003、输入单元1004、传感器1005、显示单元1006、用户输入单元1007、接口单元1008、存储器1009、以及处理器1010等部件。The electronic device 1000 includes, but is not limited to: a radio frequency unit 1001, a network module 1002, an audio output unit 1003, an input unit 1004, a sensor 1005, a display unit 1006, a user input unit 1007, an interface unit 1008, a memory 1009, and a processor 1010, etc. part.
本领域技术人员可以理解,电子设备1000还可以包括给各个部件供电的电源(比如电池),电源可以通过电源管理系统与处理器1010逻辑相连,从而通过电源管理系统实现管理充电、放电、以及功耗管理等功能。图5中示出的电子设备结构并不构成对电子设备的限定,电子设备可以包括比图示 更多或更少的部件,或者组合某些部件,或者不同的部件布置,在此不再赘述。Those skilled in the art can understand that the electronic device 1000 can also include a power supply (such as a battery) for supplying power to various components, and the power supply can be logically connected to the processor 1010 through the power management system, so that the management of charging, discharging, and function can be realized through the power management system. Consumption management and other functions. The structure of the electronic device shown in FIG. 5 does not constitute a limitation to the electronic device. The electronic device may include more or fewer components than shown in the figure, or combine certain components, or arrange different components, and details will not be repeated here. .
其中,用户输入单元1007,用于接收对目标音视频的第一输入,所述第一输入包括分段参数;接收对所述子进度条的第二输入,所述第二输入包括权重参数;Wherein, the user input unit 1007 is configured to receive a first input to the target audio and video, the first input includes segmentation parameters; receive a second input to the sub-progress bar, the second input includes a weight parameter;
处理器1010,用于响应于所述第一输入,显示所述目标音视频的预设进度条,并在所述预设进度条上显示节点,其中,所述节点用于按照所述分段参数对所述目标音视频进行分段,以及用于对所述目标音视频的分段结果进行编辑,以及用于在所述预设进度条中划分至少两个音视频片段中不同音视频片段的子进度条;对所述子进度条对应的音视频片段设置所述权重参数; Processor 1010, configured to display a preset progress bar of the target audio and video in response to the first input, and display nodes on the preset progress bar, wherein the nodes are used to follow the segmentation The parameters segment the target audio and video, and are used to edit the segmentation result of the target audio and video, and to divide different audio and video segments in at least two audio and video segments in the preset progress bar The sub-progress bar; the weight parameter is set for the audio and video segment corresponding to the sub-progress bar;
音频输出单元1003,用于按照所述至少两个音视频片段的排序,依次播放所述至少两个音视频片段,其中,所述排序与所述权重参数相关。The audio output unit 1003 is configured to sequentially play the at least two audio and video clips according to the order of the at least two audio and video clips, wherein the order is related to the weight parameter.
在本申请实施例中,可以借助于用户输入的对目标音视频的分段参数,来显示所述目标音视频的预设进度条,并在所述预设进度条上显示节点,其中,所述节点用于按照所述分段参数对所述目标音视频进行分段,以及用于在所述预设进度条中划分至少两个音视频片段中不同音视频片段的子进度条,并响应于对子进度条的第二输入,来对所述子进度条对应的音视频片段设置权重参数,能够基于用户输入的分段参数,在预设进度条上以节点的方式用于目标音视频的片段划分,那么在用户设置音视频的权重参数时,则无需从完整的目标音视频中消耗较长时间查找筛选所需要浏览的重点音视频信息,只需要在以节点划分后对应各个子进度条所关联的音视频片段中筛选是否存在重点音视频信息以及其重要程度,从而对该子进度条对应的音视频片段设置权重参数,从长视频的重点音视频信息筛选到从短的视频片段中作重点音视频信息的筛选,能够大幅提升对重点音视频信息的筛选效率,以及较快的明确音视频信息中的重点信息;而且,在对设置权重参数后的音视频片段进行播放时,可以按照与该权重参数相关的排序方式进行依次播放,从而能够在有限的时间内浏览到更多更重要的音视频信息,有效地缩短对目标 音视频中重点信息的浏览时间以及提升浏览效率。此外,长视频形式的目标音视频的浏览会占据用户更多的时间成本,且无法较快地识别重点音视频信息来便于用户有针对性的信息浏览,而本申请以短视频形式的音视频片段的方式来播放音视频内容,也能够降低用户对音视频中信息的浏览枯燥程度;另外,通过在预设进度条中以节点划分的方式来用于目标音视频的分段,使得用户可以基于预设进度条中子进度条的分段情况来直观的了解到目标音视频在被划分后的分段结果,其中,预设进度条中的节点能够用于对所述目标音视频的分段结果进行编辑,因此,可以便于用户通过该节点来对目标音视频的分段效果进行微调;通过对预设进度条中子进度条对应的音视频片段来设置权重,从而可以在音视频浏览过程中有效地标记包括重要信息的音视频片段。In the embodiment of the present application, the preset progress bar of the target audio and video can be displayed by means of segmentation parameters of the target audio and video input by the user, and nodes can be displayed on the preset progress bar, wherein the The node is used to segment the target audio and video according to the segmentation parameters, and is used to divide the sub-progress bars of different audio and video segments in the preset progress bar, and respond Based on the second input to the sub-progress bar, weight parameters are set for the audio and video clips corresponding to the sub-progress bar, which can be used for the target audio and video in the form of nodes on the preset progress bar based on the segmentation parameters input by the user segment division, then when the user sets the weight parameters of the audio and video, it does not need to spend a long time searching and filtering the key audio and video information that needs to be browsed from the complete target audio and video, and only needs to correspond to each sub-progress after dividing by nodes Screen whether there is key audio and video information and its importance in the audio and video clips associated with the progress bar, so as to set weight parameters for the audio and video clips corresponding to the sub progress bar, and filter from the key audio and video information of long videos to short video clips The screening of key audio and video information in the middle can greatly improve the screening efficiency of key audio and video information, and quickly clarify the key information in the audio and video information; moreover, when playing the audio and video clips after setting the weight parameters, It can be played sequentially according to the sorting method related to the weight parameter, so that more and more important audio and video information can be browsed within a limited time, effectively shortening the browsing time of key information in the target audio and video and improving browsing efficiency. In addition, the browsing of target audio and video in the form of long videos will take up more time costs for users, and it is impossible to quickly identify key audio and video information to facilitate users' targeted information browsing. However, this application uses short video audio and video Playing audio and video content in the form of fragments can also reduce the boringness of browsing the information in the audio and video for users; in addition, by dividing the target audio and video into segments in the preset progress bar, users can Based on the segmentation of the sub-progress bar in the preset progress bar, the segmentation result of the target audio and video after being divided can be intuitively understood, wherein the nodes in the preset progress bar can be used to segment the target audio and video Therefore, it is convenient for the user to fine-tune the segmentation effect of the target audio and video through this node; by setting the weight of the audio and video segment corresponding to the sub-progress bar in the preset progress bar, it is possible to browse the audio and video Efficiently mark audio and video clips that contain important information during the process.
可选地,用户输入单元1007,用于接收对所述子进度条对应的所述节点中目标节点的第三输入;Optionally, the user input unit 1007 is configured to receive a third input to the target node in the nodes corresponding to the sub-progress bar;
处理器1010,用于响应于所述第三输入,调整第一音视频片段在所述目标音视频中对应的所述时间点和时长,其中,所述第一音视频片段为所述至少两个音视频片段中子进度条包括所述目标节点的音视频片段。 Processor 1010, configured to adjust the time point and duration corresponding to the first audio-video segment in the target audio-video segment in response to the third input, wherein the first audio-video segment is the at least two The sub-progress bar in each audio-video segment includes the audio-video segment of the target node.
在本申请实施例中,由于在利用分段参数对目标音视频进行音视频片段划分时,所划分生成的音视频片段的时长大体一致,那么为了能够使用户基于目标音视频中各感兴趣的信息点的实际布局情况,来做音视频片段的划分,用户可以通过对子进度条中的目标节点触发输入的方式,来灵活调整利用分段参数分段生成的各个音视频片段的时间点以及时长,从而使得调整后的各个音视频片段符合用户对重点信息(即感兴趣的信息)的浏览需求。In the embodiment of the present application, since the segmented parameters are used to divide the audio and video segments of the target audio and video, the duration of the generated audio and video segments is generally the same, so in order to enable the user to The actual layout of information points is used to divide the audio and video segments. Users can flexibly adjust the time points of each audio and video segment generated by segment parameters and duration, so that the adjusted audio and video clips meet the user's browsing needs for key information (that is, information of interest).
可选地,处理器1010,用于基于预设参数对所述至少两个音视频片段进行排序,其中,所述预设参数包括所述权重参数,或,所述音视频片段的权重参数与时长的比值;Optionally, the processor 1010 is configured to sort the at least two audio and video clips based on preset parameters, wherein the preset parameters include the weight parameter, or, the weight parameter of the audio and video clip is the same as ratio of duration;
显示单元1006,用于按照所述排序依次播放所述至少两个音视频片段。The display unit 1006 is configured to sequentially play the at least two audio and video clips according to the sequence.
在本申请实施例中,可以按照权重参数来对至少两个音视频片段进行排 序,并按照排序来输出播放,这样可以便于用户较快的浏览到重要程度更高的音视频信息;还可以按照权重参数与时长的比值的排序来输出播放至少两个音视频片段,这样可以便于用户在较短的时间内浏览到更多重要程度更高的音视频信息。In the embodiment of the present application, at least two audio and video clips can be sorted according to the weight parameters, and output and played according to the sorting, which can facilitate the user to quickly browse to the audio and video information with higher importance; At least two audio and video clips are output and played by sorting the ratio of the weight parameter to the duration, so that the user can browse more and more important audio and video information in a short period of time.
可选地,处理器1010,用于对所述至少两个音视频片段中,权重参数为目标值的音视频片段以及未设置权重参数的音视频片段进行过滤;基于所述预设参数,对过滤后的所述至少两个音视频片段进行排序。Optionally, the processor 1010 is configured to filter the at least two audio and video clips, the audio and video clips whose weight parameters are target values and the audio and video clips whose weight parameters are not set; The filtered at least two audio and video clips are sorted.
在本申请实施例中,按照分段参数(例如时长,或者分段量)对目标音视频进行分段时,所生成的各个音视频片段,各个音视频片段之间能够时间连续,从而构成完整的目标音视频,那么考虑到目标音视频中某些音视频片段并不需要用户特别关注而进行浏览,因此,用户可以通过对该音视频片段设置权重值为目标值,或者不设置权重值的方式,来达到对分段后的某些音视频片段进行舍弃的目的,这些被舍弃的音视频片段不需要参与音视频片段之间的排序以及不需要参与按照音视频片段的视频播放,从而节省用户对视频的浏览时间,提升浏览效率以及对音视频中感兴趣的点的浏览效率。In the embodiment of the present application, when the target audio and video is segmented according to the segmentation parameters (such as the duration, or the amount of segmentation), the generated audio and video segments can be time-continuous between each audio and video segments, thus forming a complete The target audio and video, then considering that some audio and video clips in the target audio and video do not require the user to pay special attention to browse, therefore, the user can set the weight value of the audio and video clip to the target value, or not set the weight value way, to achieve the purpose of discarding some audio and video segments after segmentation, these discarded audio and video segments do not need to participate in the sorting between audio and video segments and do not need to participate in video playback according to audio and video segments, thus saving The user's browsing time of the video improves the browsing efficiency and the browsing efficiency of the points of interest in the audio and video.
可选地,处理器1010,用于在所述预设参数包括所述权重参数的情况下,按照所述权重参数的取值从高到低的顺序对所述至少两个音视频片段进行排序。Optionally, the processor 1010 is configured to sort the at least two audio and video clips according to the descending order of the value of the weight parameter when the preset parameter includes the weight parameter .
在本申请实施例中,在对分段后的至少两个音视频片段进行排序时,可以按照各个音视频片段的权重参数的取值从大到小的顺序进行排序并进行播放,从而可以优先播放具有更高权重的音视频片段,在音视频浏览时间有限的情况下,可以保证用户优先浏览到重要程度更高的音视频内容,便于用户通过浏览音视频片段来优先浏览最重要或者说最感兴趣的信息,从而可以帮助用户快速对音视频信息进行归纳整理,方便用户从自身出发有效的进行重点信息的浏览回顾。In the embodiment of the present application, when sorting at least two audio and video clips after segmentation, they can be sorted and played according to the value of the weight parameter of each audio and video clip from large to small, so that priority can be given to Playing audio and video clips with higher weight, in the case of limited audio and video browsing time, can ensure that users browse to the more important audio and video content first, so that users can browse the most important or the most important ones by browsing audio and video clips. Interested information, which can help users quickly summarize audio and video information, and facilitate users to effectively browse and review key information from their own perspective.
可选地,处理器1010,用于在所述预设参数包括所述音视频片段的权重参数与时长的比值的情况下,按照所述音视频片段的所述权重参数的取值与 所述时长的比值,从大到小的顺序对所述至少两个音视频片段进行排序。Optionally, the processor 1010 is configured to, if the preset parameter includes the ratio of the weight parameter of the audio and video clip to the duration, according to the value of the weight parameter of the audio and video clip and the According to the ratio of duration, the at least two audio and video clips are sorted in descending order.
在本申请实施例中,在对分段后的至少两个音视频片段进行排序时,可以按照各个音视频片段的权重参数的取值与时长的比值从大到小的顺序进行排序并进行播放,从而可以保证用户在最短的时间内通过音视频片段的播放,来浏览到更多重要或者说更多感兴趣的音视频内容,提升感兴趣的、重要的音视频内容的浏览效率并缩短浏览时间。In the embodiment of the present application, when sorting at least two audio and video clips after segmentation, they can be sorted and played according to the ratio of the value of the weight parameter of each audio and video clip to the duration from large to small. , so as to ensure that users can browse more important or interesting audio and video content through the playback of audio and video clips in the shortest time, improve the browsing efficiency of interesting and important audio and video content and shorten the browsing time time.
可选地,用户输入单元1007,用于接收对所述预设进度条的第四输入;Optionally, the user input unit 1007 is configured to receive a fourth input to the preset progress bar;
处理器1010,用于响应于所述第四输入,显示所述至少两个音视频片段的排序结果。The processor 1010 is configured to display the sorting results of the at least two audio and video clips in response to the fourth input.
本申请实施例中,可以由用户对预设进度条触发第四输入的方式,来显示对至少两个音视频片段的排序结果,便于用户通过浏览排序结果来查找需要浏览的音视频片段。In the embodiment of the present application, the fourth input can be triggered by the user on the preset progress bar to display the sorting results of at least two audio and video clips, so that the user can browse the sorting results to find the audio and video clips to be browsed.
可选地,用户输入单元1007,用于接收对所述排序结果中第二音视频片段的第五输入,所述至少两个音视频片段包括所述第二音视频片段;Optionally, the user input unit 1007 is configured to receive a fifth input to the second audio-video segment in the sorting result, the at least two audio-video segments include the second audio-video segment;
处理器1010,用于响应于所述第五输入,按照所述排序从所述第二音视频片段开始依次播放各音视频片段。The processor 1010 is configured to, in response to the fifth input, play each audio and video segment sequentially starting from the second audio and video segment according to the sequence.
在本申请实施例中,在显示各个音视频片段的排序结果之后,用户可以从排序结果中选择感兴趣的某个音视频片段的选项,来触发从该被选择的音视频片段开始,并按照上述排序依次播放各个视频片段,这样可以更快地使用户浏览到感兴趣的音视频片段。In the embodiment of the present application, after displaying the sorting results of each audio and video segment, the user can select an option of an audio and video segment of interest from the sorting results to trigger starting from the selected audio and video segment, and follow the The above sequence plays each video segment in sequence, so that the user can browse to the audio and video segment of interest more quickly.
应理解的是,本申请实施例中,输入单元1004可以包括图形处理器(Graphics Processing Unit,GPU)10041和麦克风10042,图形处理器10041对在视频捕获模式或图像捕获模式中由图像捕获装置(如摄像头)获得的静态图片或视频的图像数据进行处理。显示单元1006可包括显示面板10061,可以采用液晶显示器、有机发光二极管等形式来配置显示面板10061。用户输入单元1007包括触控面板10071以及其他输入设备10072。触控面板10071,也称为触摸屏。触控面板10071可包括触摸检测装置和触摸控制器 两个部分。其他输入设备10072可以包括但不限于物理键盘、功能键(比如音量控制按键、开关按键等)、轨迹球、鼠标、操作杆,在此不再赘述。存储器1009可用于存储软件程序以及各种数据,包括但不限于应用程序和操作系统。处理器1010可集成应用处理器和调制解调处理器,其中,应用处理器主要处理操作系统、用户界面和应用程序等,调制解调处理器主要处理无线通信。可以理解的是,上述调制解调处理器也可以不集成到处理器1010中。It should be understood that, in the embodiment of the present application, the input unit 1004 may include a graphics processor (Graphics Processing Unit, GPU) 10041 and a microphone 10042, and the graphics processor 10041 is used for the image capture device ( Such as the image data of the still picture or video obtained by the camera) for processing. The display unit 1006 may include a display panel 10061, and the display panel 10061 may be configured in the form of a liquid crystal display, an organic light emitting diode, or the like. The user input unit 1007 includes a touch panel 10071 and other input devices 10072 . The touch panel 10071 is also called a touch screen. The touch panel 10071 can include two parts: a touch detection device and a touch controller. Other input devices 10072 may include, but are not limited to, physical keyboards, function keys (such as volume control buttons, switch buttons, etc.), trackballs, mice, and joysticks, which will not be repeated here. The memory 1009 can be used to store software programs as well as various data, including but not limited to application programs and operating systems. Processor 1010 may integrate an application processor and a modem processor, wherein the application processor mainly processes operating systems, user interfaces, and application programs, and the modem processor mainly processes wireless communications. It can be understood that the foregoing modem processor may not be integrated into the processor 1010 .
本申请实施例还提供一种可读存储介质,所述可读存储介质上存储有程序或指令,该程序或指令被处理器执行时实现上述音视频处理方法实施例的各个过程,且能达到相同的技术效果,为避免重复,这里不再赘述。The embodiment of the present application also provides a readable storage medium, the readable storage medium stores a program or an instruction, and when the program or instruction is executed by the processor, the various processes of the above-mentioned audio and video processing method embodiment are realized, and can achieve The same technical effects are not repeated here to avoid repetition.
其中,所述处理器为上述实施例中所述的电子设备中的处理器。所述可读存储介质,包括计算机可读存储介质,如计算机只读存储器(Read-Only Memory,ROM)、随机存取存储器(Random Access Memory,RAM)、磁碟或者光盘等。Wherein, the processor is the processor in the electronic device described in the above embodiments. The readable storage medium includes computer readable storage medium, such as computer read-only memory (Read-Only Memory, ROM), random access memory (Random Access Memory, RAM), magnetic disk or optical disk, etc.
本申请实施例另提供了一种芯片,所述芯片包括处理器和通信接口,所述通信接口和所述处理器耦合,所述处理器用于运行程序或指令,实现上述音视频处理方法实施例的各个过程,且能达到相同的技术效果,为避免重复,这里不再赘述。The embodiment of the present application further provides a chip, the chip includes a processor and a communication interface, the communication interface is coupled to the processor, and the processor is used to run programs or instructions to implement the above audio and video processing method embodiment Each process, and can achieve the same technical effect, in order to avoid repetition, will not repeat them here.
应理解,本申请实施例提到的芯片还可以称为系统级芯片、系统芯片、芯片系统或片上系统芯片等。It should be understood that the chips mentioned in the embodiments of the present application may also be called system-on-chip, system-on-chip, system-on-a-chip, or system-on-a-chip.
需要说明的是,在本文中,术语“包括”、“包含”或者其任何其他变体意在涵盖非排他性的包含,从而使得包括一系列要素的过程、方法、物品或者装置不仅包括那些要素,而且还包括没有明确列出的其他要素,或者是还包括为这种过程、方法、物品或者装置所固有的要素。在没有更多限制的情况下,由语句“包括一个……”限定的要素,并不排除在包括该要素的过程、方法、物品或者装置中还存在另外的相同要素。此外,需要指出的是,本申请实施方式中的方法和装置的范围不限按示出或讨论的顺序来执行功能,还 可包括根据所涉及的功能按基本同时的方式或按相反的顺序来执行功能,例如,可以按不同于所描述的次序来执行所描述的方法,并且还可以添加、省去、或组合各种步骤。另外,参照某些示例所描述的特征可在其他示例中被组合。It should be noted that, in this document, the term "comprising", "comprising" or any other variation thereof is intended to cover a non-exclusive inclusion such that a process, method, article or apparatus comprising a set of elements includes not only those elements, It also includes other elements not expressly listed, or elements inherent in the process, method, article, or device. Without further limitations, an element defined by the phrase "comprising a ..." does not preclude the presence of additional identical elements in the process, method, article, or apparatus comprising that element. In addition, it should be pointed out that the scope of the methods and devices in the embodiments of the present application is not limited to performing functions in the order shown or discussed, and may also include performing functions in a substantially simultaneous manner or in reverse order according to the functions involved. Functions are performed, for example, the described methods may be performed in an order different from that described, and various steps may also be added, omitted, or combined. Additionally, features described with reference to certain examples may be combined in other examples.
通过以上的实施方式的描述,本领域的技术人员可以清楚地了解到上述实施例方法可借助软件加必需的通用硬件平台的方式来实现,当然也可以通过硬件,但很多情况下前者是更佳的实施方式。基于这样的理解,本申请的技术方案本质上或者说对现有技术做出贡献的部分可以以计算机软件产品的形式体现出来,该计算机软件产品存储在一个存储介质(如ROM/RAM、磁碟、光盘)中,包括若干指令用以使得一台终端(可以是手机,计算机,服务器,或者网络设备等)执行本申请各个实施例所述的方法。Through the description of the above embodiments, those skilled in the art can clearly understand that the methods of the above embodiments can be implemented by means of software plus a necessary general-purpose hardware platform, and of course also by hardware, but in many cases the former is better implementation. Based on such an understanding, the technical solution of the present application can be embodied in the form of computer software products, which are stored in a storage medium (such as ROM/RAM, magnetic disk, etc.) , optical disc), including several instructions to enable a terminal (which may be a mobile phone, computer, server, or network device, etc.) to execute the methods described in various embodiments of the present application.
上面结合附图对本申请的实施例进行了描述,但是本申请并不局限于上述的具体实施方式,上述的具体实施方式仅仅是示意性的,而不是限制性的,本领域的普通技术人员在本申请的启示下,在不脱离本申请宗旨和权利要求所保护的范围情况下,还可做出很多形式,均属于本申请的保护之内。The embodiments of the present application have been described above in conjunction with the accompanying drawings, but the present application is not limited to the above-mentioned specific implementations. The above-mentioned specific implementations are only illustrative and not restrictive. Those of ordinary skill in the art will Under the inspiration of this application, without departing from the purpose of this application and the scope of protection of the claims, many forms can also be made, all of which belong to the protection of this application.

Claims (21)

  1. 一种音视频处理方法,所述方法包括:An audio and video processing method, the method comprising:
    接收对目标音视频的第一输入,所述第一输入包括分段参数;receiving a first input to the target audio and video, the first input including segmentation parameters;
    响应于所述第一输入,显示所述目标音视频的预设进度条,并在所述预设进度条上显示节点,其中,所述节点用于按照所述分段参数对所述目标音视频进行分段,以及用于对所述目标音视频的分段结果进行编辑,以及用于在所述预设进度条中划分至少两个音视频片段中不同音视频片段的子进度条;In response to the first input, displaying a preset progress bar of the target audio and video, and displaying nodes on the preset progress bar, wherein the nodes are used to adjust the target audio and video according to the segmentation parameters Segmenting the video, and editing the segmentation result of the target audio and video, and sub-progress bars for dividing different audio and video segments in at least two audio and video segments in the preset progress bar;
    接收对所述子进度条的第二输入,所述第二输入包括权重参数;receiving a second input to the sub-progress bar, the second input including a weight parameter;
    响应于所述第二输入,对所述子进度条对应的音视频片段设置所述权重参数;In response to the second input, setting the weight parameter for the audio and video segment corresponding to the sub-progress bar;
    按照所述至少两个音视频片段的排序,依次播放所述至少两个音视频片段,其中,所述排序与所述权重参数相关。Playing the at least two audio and video clips sequentially according to the order of the at least two audio and video clips, wherein the order is related to the weight parameter.
  2. 根据权利要求1所述的方法,其中,所述接收对所述子进度条的第二输入之前,所述方法还包括:The method according to claim 1, wherein, before receiving the second input to the sub-progress bar, the method further comprises:
    接收对所述子进度条对应的所述节点中目标节点的第三输入;receiving a third input to a target node in the nodes corresponding to the sub-progress bar;
    响应于所述第三输入,调整第一音视频片段在所述目标音视频中对应的时间点和时长,其中,所述第一音视频片段为所述至少两个音视频片段中子进度条包括所述目标节点的音视频片段。In response to the third input, adjust the time point and duration corresponding to the first audio-video segment in the target audio-video segment, wherein the first audio-video segment is a sub-progress bar in the at least two audio-video segments An audio and video segment including the target node.
  3. 根据权利要求1所述的方法,其中,所述按照所述至少两个音视频片段的排序,依次播放所述至少两个音视频片段,包括:The method according to claim 1, wherein said playing said at least two audio and video clips sequentially according to the ordering of said at least two audio and video clips comprises:
    基于预设参数对所述至少两个音视频片段进行排序,其中,所述预设参数包括所述权重参数,或,所述音视频片段的权重参数与时长的比值;Sorting the at least two audio and video clips based on preset parameters, wherein the preset parameters include the weight parameter, or the ratio of the weight parameter to the duration of the audio and video clip;
    按照所述排序依次播放所述至少两个音视频片段。Playing the at least two audio and video clips sequentially according to the sequence.
  4. 根据权利要求3所述的方法,其中,所述基于预设参数对所述至少两个音视频片段进行排序,包括:The method according to claim 3, wherein said sorting said at least two audio and video clips based on preset parameters comprises:
    对所述至少两个音视频片段中,权重参数为目标值的音视频片段以及未 设置权重参数的音视频片段进行过滤;Among the at least two audio and video segments, the weight parameter is the audio and video segment of the target value and the audio and video segment without the weight parameter is filtered;
    基于所述预设参数,对过滤后的所述至少两个音视频片段进行排序。Based on the preset parameters, the filtered at least two audio and video clips are sorted.
  5. 根据权利要求3所述的方法,其中,在所述预设参数包括所述权重参数的情况下,所述基于预设参数对所述至少两个音视频片段进行排序,包括:The method according to claim 3, wherein, in the case where the preset parameters include the weight parameter, the sorting the at least two audio and video clips based on the preset parameters includes:
    按照所述权重参数的取值从高到低的顺序对所述至少两个音视频片段进行排序。The at least two audio and video clips are sorted in descending order of values of the weight parameters.
  6. 根据权利要求3所述的方法,其中,在所述预设参数包括所述音视频片段的权重参数与时长的比值的情况下,所述基于预设参数对所述至少两个音视频片段进行排序,包括:The method according to claim 3, wherein, in the case where the preset parameters include the ratio of the weight parameter of the audio and video clips to the duration, the at least two audio and video clips are performed based on the preset parameters Sort, including:
    按照所述音视频片段的所述权重参数的取值与所述时长的比值,从大到小的顺序对所述至少两个音视频片段进行排序。The at least two audio and video segments are sorted in descending order according to the ratio of the value of the weight parameter of the audio and video segments to the duration.
  7. 根据权利要求1所述的方法,其中,所述按照所述至少两个音视频片段的排序,依次播放所述至少两个音视频片段,包括:The method according to claim 1, wherein said playing said at least two audio and video clips sequentially according to the ordering of said at least two audio and video clips comprises:
    接收对所述预设进度条的第四输入;receiving a fourth input to the preset progress bar;
    响应于所述第四输入,显示所述至少两个音视频片段的排序结果。In response to the fourth input, display the sorting results of the at least two audio and video clips.
  8. 根据权利要求7所述的方法,其中,所述响应于所述第四输入,显示所述至少两个音视频片段的排序结果之后,所述方法还包括:The method according to claim 7, wherein, after displaying the sorting results of the at least two audio and video clips in response to the fourth input, the method further comprises:
    接收对所述排序结果中第二音视频片段的第五输入,所述至少两个音视频片段包括所述第二音视频片段;receiving a fifth input to a second audiovisual segment in the sorting result, the at least two audiovisual segments including the second audiovisual segment;
    响应于所述第五输入,按照所述排序从所述第二音视频片段开始依次播放各音视频片段。In response to the fifth input, the audio and video clips are played sequentially from the second audio and video clip according to the sequence.
  9. 一种音视频处理装置,所述装置包括:An audio and video processing device, the device comprising:
    第一接收模块,用于接收对目标音视频的第一输入,所述第一输入包括分段参数;The first receiving module is used to receive the first input to the target audio and video, and the first input includes segmentation parameters;
    第一响应模块,用于响应于所述第一输入,显示所述目标音视频的预设进度条,并在所述预设进度条上显示节点,其中,所述节点用于按照所述分段参数对所述目标音视频进行分段,以及用于对所述目标音视频的分段结果 进行编辑,以及用于在所述预设进度条中划分至少两个音视频片段中不同音视频片段的子进度条;A first response module, configured to display a preset progress bar of the target audio and video in response to the first input, and display nodes on the preset progress bar, wherein the nodes are used to The segment parameter segments the target audio and video, and is used to edit the segmentation result of the target audio and video, and is used to divide different audio and video in at least two audio and video segments in the preset progress bar Fragment's child progress bar;
    第二接收模块,用于接收对所述子进度条的第二输入,所述第二输入包括权重参数;A second receiving module, configured to receive a second input to the sub-progress bar, where the second input includes a weight parameter;
    第二响应模块,用于响应于所述第二输入,对所述子进度条对应的音视频片段设置所述权重参数;A second response module, configured to set the weight parameter for the audio and video segment corresponding to the sub-progress bar in response to the second input;
    播放模块,用于按照所述至少两个音视频片段的排序,依次播放所述至少两个音视频片段,其中,所述排序与所述权重参数相关。A playing module, configured to sequentially play the at least two audio and video clips according to the order of the at least two audio and video clips, wherein the order is related to the weight parameter.
  10. 根据权利要求9所述的装置,其中,所述装置还包括:The device according to claim 9, wherein the device further comprises:
    第三接收模块,用于接收对所述子进度条对应的所述节点中目标节点的第三输入;A third receiving module, configured to receive a third input to a target node in the nodes corresponding to the sub-progress bar;
    第三响应模块,用于响应于所述第三输入,调整第一音视频片段在所述目标音视频中对应的时间点和时长,其中,所述第一音视频片段为所述至少两个音视频片段中子进度条包括所述目标节点的音视频片段。The third response module is configured to adjust the corresponding time point and duration of the first audio and video segment in the target audio and video in response to the third input, wherein the first audio and video segment is the at least two The sub-progress bar in the audio and video segment includes the audio and video segment of the target node.
  11. 根据权利要求9所述的装置,其中,所述播放模块包括:The device according to claim 9, wherein the playing module comprises:
    排序子模块,用于基于预设参数对所述至少两个音视频片段进行排序,其中,所述预设参数包括所述权重参数,或,所述音视频片段的权重参数与时长的比值;A sorting submodule, configured to sort the at least two audio and video clips based on preset parameters, wherein the preset parameters include the weight parameter, or the ratio of the weight parameter to the duration of the audio and video clip;
    播放子模块,用于按照所述排序依次播放所述至少两个音视频片段。The playing sub-module is used to play the at least two audio and video clips sequentially according to the sequence.
  12. 根据权利要求11所述的装置,其中,所述排序子模块包括:The device according to claim 11, wherein the sorting submodule comprises:
    过滤单元,用于对所述至少两个音视频片段中,权重参数为目标值的音视频片段以及未设置权重参数的音视频片段进行过滤;A filtering unit, configured to filter the audio and video segments whose weight parameters are target values and the audio and video segments whose weight parameters are not set among the at least two audio and video segments;
    排序单元,用于基于所述预设参数,对过滤后的所述至少两个音视频片段进行排序。A sorting unit, configured to sort the at least two filtered audio and video clips based on the preset parameters.
  13. 根据权利要求11所述的装置,其中,所述排序子模块,还用于在所述预设参数包括所述权重参数的情况下,按照所述权重参数的取值从高到低的顺序对所述至少两个音视频片段进行排序。The device according to claim 11, wherein the sorting submodule is further configured to, in the case that the preset parameters include the weight parameter, sort the values of the weight parameter in descending order The at least two audio and video segments are sorted.
  14. 根据权利要求11所述的装置,其中,所述排序子模块,还用于在所述预设参数包括所述音视频片段的权重参数与时长的比值的情况下,按照所述音视频片段的所述权重参数的取值与所述时长的比值,从大到小的顺序对所述至少两个音视频片段进行排序。The device according to claim 11, wherein the sorting submodule is further configured to, when the preset parameters include the ratio of the weight parameter of the audio-video segment to the duration, sort the audio-video segment according to the The ratio of the value of the weight parameter to the duration is used to sort the at least two audio and video clips in descending order.
  15. 根据权利要求9所述的装置,其中,所述播放模块包括:The device according to claim 9, wherein the playing module comprises:
    接收子模块,用于接收对所述预设进度条的第四输入;A receiving submodule, configured to receive a fourth input to the preset progress bar;
    显示子模块,用于响应于所述第四输入,显示所述至少两个音视频片段的排序结果。The display submodule is used to display the sorting results of the at least two audio and video clips in response to the fourth input.
  16. 根据权利要求15所述的装置,其中,所述装置还包括:The device according to claim 15, wherein the device further comprises:
    第四接收模块,用于接收对所述排序结果中第二音视频片段的第五输入,所述至少两个音视频片段包括所述第二音视频片段;A fourth receiving module, configured to receive a fifth input to the second audio-video segment in the sorting result, the at least two audio-video segments include the second audio-video segment;
    第四响应模块,用于响应于所述第五输入,按照所述排序从所述第二音视频片段开始依次播放各音视频片段。The fourth response module is configured to, in response to the fifth input, play each audio and video clip sequentially starting from the second audio and video clip according to the sequence.
  17. 一种电子设备,包括处理器,存储器及存储在所述存储器上并可在所述处理器上运行的程序或指令,所述程序或指令被所述处理器执行时实现如权利要求1至8中任意一项所述的音视频处理方法的步骤。An electronic device, comprising a processor, a memory, and a program or instruction stored on the memory and operable on the processor, when the program or instruction is executed by the processor, claims 1 to 8 are realized The step of the audio-video processing method described in any one.
  18. 一种可读存储介质,所述可读存储介质上存储程序或指令,所述程序或指令被处理器执行时实现如权利要求1至8中任意一项所述的音视频处理方法的步骤。A readable storage medium, storing programs or instructions on the readable storage medium, and implementing the steps of the audio and video processing method according to any one of claims 1 to 8 when the programs or instructions are executed by a processor.
  19. 一种装置,所述装置被配置为用于执行如权利要求1至8任一项所述的音视频处理方法的步骤。A device configured to execute the steps of the audio and video processing method according to any one of claims 1 to 8.
  20. 一种芯片,包括处理器和通信接口,所述通信接口和所述处理器耦合,所述处理器用于运行程序或指令,实现如权利要求1至8任一项所述的音视频处理方法的步骤。A chip, comprising a processor and a communication interface, the communication interface is coupled to the processor, the processor is used to run programs or instructions to implement the audio and video processing method according to any one of claims 1 to 8 step.
  21. 一种计算机程序产品,所述计算机程序产品被存储在非易失的存储介质中,程序产品被至少一个处理器执行以实现如权利要求1至8任一项所述的音视频处理方法的步骤。A computer program product, the computer program product is stored in a non-volatile storage medium, and the program product is executed by at least one processor to realize the steps of the audio and video processing method according to any one of claims 1 to 8 .
PCT/CN2022/115581 2021-08-30 2022-08-29 Audio and video processing method and apparatus, electronic device and readable storage medium WO2023030269A1 (en)

Applications Claiming Priority (2)

Application Number Priority Date Filing Date Title
CN202111008454.X 2021-08-30
CN202111008454.XA CN113747230A (en) 2021-08-30 2021-08-30 Audio and video processing method and device, electronic equipment and readable storage medium

Publications (1)

Publication Number Publication Date
WO2023030269A1 true WO2023030269A1 (en) 2023-03-09

Family

ID=78734128

Family Applications (1)

Application Number Title Priority Date Filing Date
PCT/CN2022/115581 WO2023030269A1 (en) 2021-08-30 2022-08-29 Audio and video processing method and apparatus, electronic device and readable storage medium

Country Status (2)

Country Link
CN (1) CN113747230A (en)
WO (1) WO2023030269A1 (en)

Families Citing this family (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN113747230A (en) * 2021-08-30 2021-12-03 维沃移动通信(杭州)有限公司 Audio and video processing method and device, electronic equipment and readable storage medium

Citations (7)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
US20080178219A1 (en) * 2007-01-23 2008-07-24 At&T Knowledge Ventures, Lp System and method for providing video content
CN105959804A (en) * 2016-04-28 2016-09-21 乐视控股(北京)有限公司 Intelligent playing method and device
CN106131689A (en) * 2016-06-27 2016-11-16 乐视控股(北京)有限公司 Method for downloading video and device
CN110191358A (en) * 2019-07-19 2019-08-30 北京奇艺世纪科技有限公司 Video generation method and device
CN110191357A (en) * 2019-06-28 2019-08-30 北京奇艺世纪科技有限公司 The excellent degree assessment of video clip, dynamic seal face generate method and device
CN110234037A (en) * 2019-05-16 2019-09-13 北京百度网讯科技有限公司 Generation method and device, the computer equipment and readable medium of video clip
CN113747230A (en) * 2021-08-30 2021-12-03 维沃移动通信(杭州)有限公司 Audio and video processing method and device, electronic equipment and readable storage medium

Patent Citations (7)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
US20080178219A1 (en) * 2007-01-23 2008-07-24 At&T Knowledge Ventures, Lp System and method for providing video content
CN105959804A (en) * 2016-04-28 2016-09-21 乐视控股(北京)有限公司 Intelligent playing method and device
CN106131689A (en) * 2016-06-27 2016-11-16 乐视控股(北京)有限公司 Method for downloading video and device
CN110234037A (en) * 2019-05-16 2019-09-13 北京百度网讯科技有限公司 Generation method and device, the computer equipment and readable medium of video clip
CN110191357A (en) * 2019-06-28 2019-08-30 北京奇艺世纪科技有限公司 The excellent degree assessment of video clip, dynamic seal face generate method and device
CN110191358A (en) * 2019-07-19 2019-08-30 北京奇艺世纪科技有限公司 Video generation method and device
CN113747230A (en) * 2021-08-30 2021-12-03 维沃移动通信(杭州)有限公司 Audio and video processing method and device, electronic equipment and readable storage medium

Also Published As

Publication number Publication date
CN113747230A (en) 2021-12-03

Similar Documents

Publication Publication Date Title
JP7022810B2 (en) User interface for browsing content from multiple content applications on electronic devices
WO2022171047A1 (en) Video processing method and apparatus, and device and storage medium
US11941708B2 (en) Method, apparatus, device and medium for posting a video or image
US8166412B2 (en) Visual cue discernment on scattered data
EP3928228A1 (en) User interfaces for a media browsing application
JP5323136B2 (en) System and method enabling visual filtering of content
US20140043355A1 (en) Method and apparatus for dynamic image manipulation in a mobile terminal
US20180181295A1 (en) Method for displaying information, and terminal equipment
CN105468275A (en) Method and apparatus for performing operation on presented object
CN111857460A (en) Split screen processing method, split screen processing device, electronic equipment and readable storage medium
WO2023030269A1 (en) Audio and video processing method and apparatus, electronic device and readable storage medium
CN113918522A (en) File generation method and device and electronic equipment
RU2528147C2 (en) Method and apparatus for displaying multiple elements
CN112911401A (en) Video playing method and device
CN112256233A (en) Music playing method and device
CN104350455A (en) Causing elements to be displayed
CN111694490A (en) Setting method and device and electronic equipment
CN112887794B (en) Video editing method and device
WO2022126664A1 (en) Video editing method, terminal device, and computer-readable storage medium
CN113590008A (en) Chat message display method and device and electronic equipment
CN111158573B (en) Vehicle-mounted machine interaction method, system, medium and equipment based on picture framework
JP5805134B2 (en) Terminal device and device program
CN112416212A (en) Program access method, device, electronic equipment and readable storage medium
CN112328829A (en) Video content retrieval method and device
CN113805838A (en) Multimedia information processing method and device and electronic equipment

Legal Events

Date Code Title Description
121 Ep: the epo has been informed by wipo that ep was designated in this application

Ref document number: 22863404

Country of ref document: EP

Kind code of ref document: A1