CN111651111A - Media file processing method and device - Google Patents

Media file processing method and device Download PDF

Info

Publication number
CN111651111A
CN111651111A CN202010479486.7A CN202010479486A CN111651111A CN 111651111 A CN111651111 A CN 111651111A CN 202010479486 A CN202010479486 A CN 202010479486A CN 111651111 A CN111651111 A CN 111651111A
Authority
CN
China
Prior art keywords
media
playing
segment
media file
media segment
Prior art date
Legal status (The legal status is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the status listed.)
Pending
Application number
CN202010479486.7A
Other languages
Chinese (zh)
Inventor
黄其亮
张帅超
Current Assignee (The listed assignees may be inaccurate. Google has not performed a legal analysis and makes no representation or warranty as to the accuracy of the list.)
Tencent Technology Shenzhen Co Ltd
Original Assignee
Tencent Technology Shenzhen Co Ltd
Priority date (The priority date is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the date listed.)
Filing date
Publication date
Application filed by Tencent Technology Shenzhen Co Ltd filed Critical Tencent Technology Shenzhen Co Ltd
Priority to CN202010479486.7A priority Critical patent/CN111651111A/en
Publication of CN111651111A publication Critical patent/CN111651111A/en
Pending legal-status Critical Current

Links

Images

Classifications

    • GPHYSICS
    • G06COMPUTING; CALCULATING OR COUNTING
    • G06FELECTRIC DIGITAL DATA PROCESSING
    • G06F3/00Input arrangements for transferring data to be processed into a form capable of being handled by the computer; Output arrangements for transferring data from processing unit to output unit, e.g. interface arrangements
    • G06F3/01Input arrangements or combined input and output arrangements for interaction between user and computer
    • G06F3/048Interaction techniques based on graphical user interfaces [GUI]
    • G06F3/0484Interaction techniques based on graphical user interfaces [GUI] for the control of specific functions or operations, e.g. selecting or manipulating an object, an image or a displayed text element, setting a parameter value or selecting a range
    • G06F3/04847Interaction techniques to control parameter settings, e.g. interaction with sliders or dials

Abstract

The invention provides a method, a device, equipment and a storage medium for processing a media file; the method comprises the following steps: presenting media segment indication information of the media file in a playing interface of the media file; wherein the media segment indication information is used for indicating at least one media segment of the media file; presenting a prompt functionality item for generating a set of media segments; generating a set of media segments including the at least one media segment in response to a triggering operation for the prompt function item. By the method and the device, the user operation can be simplified, and the operation cost and the time cost of the user are saved.

Description

Media file processing method and device
Technical Field
The present invention relates to mobile internet technologies, and in particular, to a method and an apparatus for processing a media file.
Background
The cloud technology is a general term of network technology, information technology, integration technology, management platform technology, application technology and the like applied based on a cloud computing business model, can form a resource pool, is used as required, and is flexible and convenient. The cloud technology has been widely applied to applications in which background services require a large amount of computing and storage resources, such as recommendation, acquisition, and playing of media information in media products.
In the process of using media products, such as listening to music or audio novels, watching videos, and the like, a user only wants to play one or more media segments in a media file, but in the related art, the user cannot know the related information of the media segments, so that the user can only drag the progress bar of the media file repeatedly to find and play the corresponding media segment, and the operation is complicated and the user experience is low.
Disclosure of Invention
The embodiment of the invention provides a method and a device for processing a media file, which can simplify the operation and save the operation cost and the time cost of a user.
The embodiment of the invention provides a media file processing method, which comprises the following steps:
presenting media segment indication information of the media file in a playing interface of the media file;
wherein the media segment indication information is used for indicating at least one media segment of the media file;
presenting a prompt functionality item for generating a set of media segments;
generating a set of media segments including the at least one media segment in response to a triggering operation for the prompt function item.
The embodiment of the invention provides a media file processing method, which comprises the following steps:
acquiring a play record of a target user for a media file;
dividing the media file into at least two media segments based on the play record;
presenting media segment indication information of the media file in a playing interface of the target user for the media file;
wherein the media segment indication information is used for indicating at least one media segment of the media file.
An embodiment of the present invention provides a media file processing apparatus, including:
the first presentation module is used for presenting the media segment indication information of the media file in a playing interface of the media file;
wherein the media segment indication information is used for indicating at least one media segment of the media file;
a second presentation module for presenting a prompt functionality item for generating a set of media segments;
a generating module, configured to generate a set of media segments including the at least one media segment in response to a triggering operation for the prompt function item.
In the above scheme, the first presentation module is further configured to receive a play instruction for the media file;
and responding to the playing instruction, presenting a playing interface of the media file, and presenting the media segment indication information of the media file in the playing interface.
In the above scheme, the first presentation module is further configured to present a media segment display function item in the play interface;
and presenting the media segment indication information of the media file in response to the triggering operation aiming at the media segment display function item.
In the above scheme, the first presentation module is further configured to present a play progress bar of the media file in a play interface of the media file;
and presenting the media segment indication information in the playing progress bar, so that the media segment corresponding to the media segment indication information is different from other media segments.
In the above solution, the apparatus further includes an information obtaining module, where the information obtaining module is configured to generate and send an information obtaining request for obtaining the media file in response to a play instruction for the media file before the media segment indication information of the media file is presented;
and receiving the media file and the media segment indication information returned based on the information acquisition request.
In the above scheme, the first presentation module is further configured to obtain the playing times of each media segment in the media file;
and when the playing times meet the playing time condition, presenting the media segment indication information of the corresponding media segment.
In the above scheme, the second presenting module is further configured to present a prompt window including prompt information, where the prompt information is used to prompt generation of a media segment set;
presenting, in the prompt window, a prompt function item for generating a set of media segments.
In the above solution, the apparatus further includes a playing module, where the playing module is configured to, after generating a media segment set including the at least one media segment, present an indication icon corresponding to the media segment set in a detail page of the media file;
and playing the media segments in the media segment set in response to the triggering operation of the indication icon.
In the above solution, the playing module is further configured to present a media information list associated with the media file, and present an indication icon corresponding to the media segment set in the media information list;
and playing the media segments in the media segment set in response to the triggering operation of the indication icon.
In the above solution, the apparatus further includes a first switching module, where the first switching module is configured to present, in a playing interface of the media file, an indication icon corresponding to complete media information of the media file after the media segments in the media segment set are played;
and responding to the triggering operation aiming at the indication icon, and switching the playing of the media segments in the media segment set to the playing of the media file based on the playing progress of the media segment set.
In the above solution, the apparatus further includes a second switching module, where the second switching module is configured to, after the media segments in the media segment set are played,
presenting a switching function item corresponding to the media file, wherein the switching function item is used for realizing switching between playing the media segment set and playing the media file;
and responding to the triggering operation aiming at the switching function item, and switching the playing of the media segments in the media segment set to the playing of the media file based on the playing progress of the media segment set.
In the above solution, the second switching module is further configured to, after the media segments in the set of media segments are switched to be played,
responding to the trigger operation aiming at the switching function item, and determining the media content of the currently played media file;
when a target media segment corresponding to the media content exists in the media segment set, playing the media segments in the media segment set by taking the target media segment as a playing starting point;
and when the target media segment corresponding to the media content does not exist in the media segment set, acquiring a next media segment with playing time after the media content, and playing the media segments in the media segment set by taking the next media segment as a playing starting point.
An embodiment of the present invention provides a media file processing apparatus, including:
the acquisition module is used for acquiring the play record of the target user for the media file;
a dividing module, configured to divide the media file into at least two media segments based on the play record;
the presentation module is used for presenting the media segment indication information of the media file in a playing interface of the target user for the media file;
wherein the media segment indication information is used for indicating at least one media segment of the media file.
An embodiment of the present invention provides an electronic device, including:
a memory for storing executable instructions;
and the processor is used for realizing the media file processing method provided by the embodiment of the invention when executing the executable instructions stored in the memory.
The embodiment of the invention provides a computer-readable storage medium, which stores executable instructions and is used for causing a processor to execute the method for processing a media file provided by the embodiment of the invention.
The embodiment of the invention has the following beneficial effects:
1) the media segment indication information of the media file is presented in the playing interface of the media file, so that a user can know the media segment of the media file timely and clearly, the playing of the media segment can be realized, the time for the user to drag a progress bar to search for the related media segment in the related technology is reduced, the operation cost and the time cost of the user are saved, and meanwhile, the user can know the media content of the media file macroscopically through the presented media segment indication information;
2) generating a media segment set comprising at least one media segment in response to a triggering operation for the prompt function item; therefore, the generation of the media segment set formed by the media segments can be realized by triggering the prompt function item, so that the user can only play the media segments in the media segment set, the user operation is simplified, and the operation cost and the time cost of the user are saved.
Drawings
FIGS. 1A-1B are schematic diagrams illustrating an alternative flow chart of a method for processing a media file according to an embodiment of the present invention;
FIG. 2 is a schematic diagram of an alternative architecture of a media file processing system according to an embodiment of the present invention;
fig. 3 is an alternative structural schematic diagram of an electronic device according to an embodiment of the present invention;
fig. 4 is an alternative flow chart of a media file processing method according to an embodiment of the present invention;
FIGS. 5A-5I are schematic diagrams illustrating a display of a playback interface according to an embodiment of the present invention;
fig. 6 is an alternative flowchart of a media file processing method according to an embodiment of the present invention;
fig. 7 is a schematic flowchart of a method for generating a hot spot segment set according to an embodiment of the present invention;
fig. 8 is a schematic diagram of determining hot spot segments according to an embodiment of the present invention;
fig. 9 is a schematic diagram illustrating switching of a play mode according to an embodiment of the present invention;
fig. 10 is a schematic diagram illustrating switching of a play mode according to an embodiment of the present invention;
FIG. 11 is a block diagram of a media file processing apparatus according to an embodiment of the present invention;
fig. 12 is a schematic structural diagram of a media file processing apparatus according to an embodiment of the present invention.
Detailed Description
In order to make the objects, technical solutions and advantages of the present invention clearer, the present invention will be further described in detail with reference to the accompanying drawings, the described embodiments should not be construed as limiting the present invention, and all other embodiments obtained by persons skilled in the art without inventive work shall fall within the scope of protection of the present invention.
In the following description, reference is made to "some embodiments" which describe a subset of all possible embodiments, but it is understood that "some embodiments" may be the same subset or different subsets of all possible embodiments, and may be combined with each other without conflict.
Unless defined otherwise, all technical and scientific terms used herein have the same meaning as commonly understood by one of ordinary skill in the art to which this invention belongs. The terminology used herein is for the purpose of describing embodiments of the invention only and is not intended to be limiting of the invention.
Before further detailed description of the embodiments of the present invention, terms and expressions mentioned in the embodiments of the present invention are explained, and the terms and expressions mentioned in the embodiments of the present invention are applied to the following explanations.
1) The client, an application program running in the terminal for providing various services, such as a video playing client.
2) In response to the condition or state on which the performed operation depends, one or more of the performed operations may be in real-time or may have a set delay when the dependent condition or state is satisfied; there is no restriction on the order of execution of the operations performed unless otherwise specified.
The inventor finds that, when the user wants to review a certain media segment in a media file, the user can drag the progress bar of the media file to the corresponding media segment, and when the user wants to review a plurality of media segments in one media file, the user needs to repeatedly drag the progress bar to the corresponding media segment. For example, referring to fig. 1A-1B, fig. 1A-1B are an optional schematic flow chart of a media file processing method according to an embodiment of the present invention, when a user clicks a viewed video a collected in fig. 1A, in a playing interface shown in fig. 1B, the video a is initially played from a time axis by default, and a prompt function item B is presented to prompt the user whether to jump to a last viewed historical time axis node to start playing, when the user wants to review a plurality of media clips in the video a, a progress bar needs to be dragged to the corresponding media clip for a plurality of times, which is complicated and repeated in operation.
In view of the above, embodiments of the present invention provide a method, an apparatus, a device and a storage medium for processing a media file, so as to solve at least the above problems, which will be described separately below.
Referring to fig. 2, fig. 2 is a schematic diagram of an alternative architecture of the media file processing system 100 according to an embodiment of the present invention, in which, to implement supporting an exemplary application, a terminal 400 (exemplary shown is a terminal 400-1 and a terminal 400-2) is connected to a server 200 through a network 300, and the network 300 may be a wide area network or a local area network, or a combination of the two, and implements data transmission using a wireless link.
In practical applications, the terminal 400 may be various types of user terminals such as a smart phone, a tablet computer, a notebook computer, and the like, or may be a desktop computer, a television, or a combination of any two or more of these data processing devices; the server 200 may be a single server configured to support various services, may also be configured as a server cluster, may also be a cloud server, and the like.
In practical implementation, the terminal 400 is provided with a client, such as a short video client, an instant messaging client, a learning client, and the like. When a user opens a client on the terminal 400 to browse or listen to a media file, the terminal 400 is configured to generate and send an information acquisition request for acquiring the media file to the server 200;
the server 200 is used for determining and returning the media file and the media segment indication information to the terminal based on the information acquisition request;
the terminal 400 is further configured to present media segment indication information of the media file in a playing interface of the media file; presenting prompt function items for generating the media segment sets; in response to a triggering operation for a prompt function item, a set of media segments is generated that includes at least one media segment.
Referring to fig. 3, fig. 3 is an illustration of an optional structure of an electronic device 500 according to an embodiment of the present invention, in practical applications, the electronic device 500 may be the terminal 400 or the server 200 in fig. 2, and a computer device for implementing the method for processing a media file according to an embodiment of the present invention is described by taking the electronic device as the terminal 400 shown in fig. 2 as an example. The electronic device 500 shown in fig. 3 includes: at least one processor 510, memory 550, at least one network interface 520, and a user interface 530. The various components in the electronic device 500 are coupled together by a bus system 540. It is understood that the bus system 540 is used to enable connected communication between these components. The bus system 540 includes a power bus, a control bus, and a status signal bus in addition to a data bus. For clarity of illustration, however, the various buses are labeled as bus system 540 in fig. 3.
The Processor 510 may be an integrated circuit chip having Signal processing capabilities, such as a general purpose Processor, a Digital Signal Processor (DSP), or other programmable logic device, discrete gate or transistor logic device, discrete hardware components, or the like, wherein the general purpose Processor may be a microprocessor or any conventional Processor, or the like.
The user interface 530 includes one or more output devices 531 enabling presentation of media content, including one or more speakers and/or one or more visual display screens. The user interface 530 also includes one or more input devices 532, including user interface components to facilitate user input, such as a keyboard, mouse, microphone, touch screen display, camera, other input buttons and controls.
The memory 550 may be removable, non-removable, or a combination thereof. Exemplary hardware devices include solid state memory, hard disk drives, optical disk drives, and the like. Memory 550 optionally includes one or more storage devices physically located remote from processor 510.
The memory 550 may comprise volatile memory or nonvolatile memory, and may also comprise both volatile and nonvolatile memory. The nonvolatile memory may be a Read Only Memory (ROM), and the volatile memory may be a Random Access Memory (RAM). The memory 550 described in connection with embodiments of the invention is intended to comprise any suitable type of memory.
In some embodiments, memory 550 can store data to support various operations, examples of which include programs, modules, and data structures, or subsets or supersets thereof, as exemplified below.
An operating system 551 including system programs for processing various basic system services and performing hardware-related tasks, such as a framework layer, a core library layer, a driver layer, etc., for implementing various basic services and processing hardware-based tasks;
a network communication module 552 for communicating to other computing devices via one or more (wired or wireless) network interfaces 520, exemplary network interfaces 520 including: bluetooth, wireless compatibility authentication (WiFi), and Universal Serial Bus (USB), etc.;
a presentation module 553 for enabling presentation of information (e.g., a user interface for operating peripherals and displaying content and information) via one or more output devices 531 (e.g., a display screen, speakers, etc.) associated with the user interface 530;
an input processing module 554 to detect one or more user inputs or interactions from one of the one or more input devices 532 and to translate the detected inputs or interactions.
In some embodiments, the media file processing device provided by the embodiments of the present invention may be implemented in software, and fig. 3 shows a media file processing device 555 stored in a memory 550, which may be software in the form of programs and plug-ins, and includes the following software modules: a first rendering module 5551, a second rendering module 5552 and a generating module 5553, which are logical and thus can be arbitrarily combined or further split according to the implemented functions.
The functions of the respective modules will be explained below.
In other embodiments, the processing Device of the media file provided by the embodiments of the present invention may be implemented in hardware, and by way of example, the processing Device of the media file provided by the embodiments of the present invention may be a processor in the form of a hardware decoding processor, which is programmed to execute the processing method of the media file provided by the embodiments of the present invention, for example, the processor in the form of the hardware decoding processor may be implemented by one or more Application Specific Integrated Circuits (ASICs), DSPs, Programmable Logic Devices (PLDs), Complex Programmable Logic Devices (CPLDs), Field Programmable Gate Arrays (FPGAs), or other electronic components.
The following describes a method for processing a media file according to an embodiment of the present invention, and in practical implementation, the method for processing a media file according to an embodiment of the present invention may be implemented by a server or a terminal alone, or may be implemented by a server and a terminal in a cooperation manner.
Referring to fig. 4, fig. 4 is an alternative flowchart of a media file processing method according to an embodiment of the present invention, which will be described with reference to the steps shown in fig. 4.
Step 101: and presenting the media segment indication information of the media file in a playing interface of the media file of the terminal.
Wherein the media segment indication information is used for indicating at least one media segment of the media file.
In practical applications, the media file may be an audio file or a video file, and the media segment is a part of the media content of the media file. In some embodiments, the media clip may be a hotspot clip, which may characterize a highlight clip of the media file determined based on big data statistics, which may differ for different media file types, e.g., for a video file may be a highlight, highlight scene, etc. of the video; for audio such as a song, it may be a refrain portion of the song.
In some embodiments, the hotspot segment is a media segment of at least two media segments constituting the media file, and the hotspot segment may further characterize a media segment that is interested in the media file by a certain user, and the media segment is different for different users, for example, for the same media file, user a is interested in two media segments, i.e., media segment 1 at 10 to 20 minutes and media segment 2 at 35 to 50 minutes in the media file; the user B is interested in three media segments, namely a 15 th-30 th-minute media segment 3, a 40 th-50 th-minute media segment 4 and a 70 th-80 th-minute media segment 5 in the media file; then for user a, the hotspot segments of the media file are: media segment 1, media segment 2, and for user B, the hot spot segments of the media file are: media segment 3, media segment 4, media segment 5.
In some embodiments, before presenting the media segment indicator of the media file, the method may further obtain the media file and the media segment indicator by:
responding to a playing instruction aiming at the media file, and generating and sending an information acquisition request for acquiring the media file; and receiving the media file and the media segment indication information returned based on the information acquisition request.
In actual implementation, when a user triggers a media file, a playing instruction for the media file is triggered, the terminal generates an information acquisition request for acquiring the media file based on the playing instruction, the information acquisition request is sent to the server, and the server acquires corresponding media files and media segment indication information from the media database based on the information acquisition request.
The information acquisition request carries a media identifier of a media file, a plurality of media files are stored in a media database, the server analyzes the information acquisition request after receiving the information acquisition request sent by the terminal to obtain the media identifier of the media file, the media file matched with the media identifier is acquired from the media database based on the analyzed media identifier, and the acquired media file and media segment indicating information are returned to the terminal.
In some embodiments, the terminal may also present the media segment indication information of the media file by:
respectively acquiring the playing times of each media segment in the media file; and when the playing times meet the playing times condition, presenting the media segment indication information of the media segment.
Here, when the user opens the media file to play, the terminal identifies the media segments watched or listened by the user, and marks the media segments as media1, media2 …, and so on, the marking information of the media segments is stored in the server in the background in real time, the server records a plurality of media segments of the media file, marks the media segments with the playing frequency reaching 2 times, obtains the media segment indication information and feeds the media segment indication information back to the terminal in real time, and thus, the terminal presents the corresponding media segment indication information for the media segments with the playing frequency reaching 2 times.
In some embodiments, the terminal may present the media segment indication information of the media file by:
receiving a playing instruction aiming at a media file; and responding to the playing instruction, presenting a playing interface of the media file, and presenting the media segment indication information of the media file in the playing interface.
Here, when the terminal receives a play instruction for the media file, generates and sends an information acquisition request for acquiring the media segment to the server, so that the server determines and returns the media segment of the media file to the terminal based on the information acquisition request, and the terminal determines the media segment in the media file and presents the media segment indication information in a play interface of the media file.
For example, if the media segment is a hot segment, referring to fig. 5A-5B, fig. 5A-5B are schematic display diagrams of a playing interface provided in the embodiment of the present invention, in fig. 5A, a indicates a media file, when a user has viewed the media file a twice and reopens the media file a, the terminal receives a playing instruction for the media file a, and in response to the playing instruction, presents the playing interface B of the media file a shown in fig. 5B, and presents three pieces of media segment indication information, such as B1, B2, B3, in the playing interface B, which also indicates that there are three hot segments in the media file a for the user.
In some embodiments, the terminal may present the media segment indication information of the media file by:
presenting a media segment display function item in a play interface; and presenting the media segment indication information of the media file in response to the triggering operation of the function item for the media segment display.
The media segment display function item is used for displaying media segment indication information of the media file, when a user triggers the hot spot display function item, an information acquisition request for acquiring the media segment is generated and sent to the server, so that the server determines and returns the media segment of the media file to the terminal based on the information acquisition request, the terminal determines the media segment in the media file, and the media segment indication information is displayed in a playing interface of the media file.
For example, if the media segment is a hot segment, referring to fig. 5C, fig. 5C is a display schematic diagram of a playing interface provided in the embodiment of the present invention, in fig. 5C, C1 indicates a playing interface of the media file, and "display hot segment" indicated by C2 is a media segment display function item, when the user triggers C2, the terminal responds to the trigger operation of the user, and presents three pieces of media segment indication information, such as B1, B2, B3, in the playing interface B of the media file shown in fig. 5B, which also indicates that there are three hot segments in the media file for the user.
In some embodiments, the terminal may also present the media segment indication information of the media file by:
presenting a playing progress bar of the media file in a playing interface of the media file; and presenting the media segment indication information in a playing progress bar, so that the media segment corresponding to the media segment indication information is distinguished from other media segments.
Here, the media segment indication information refers to information presented in the play interface for indicating a corresponding media segment of the media file to be distinguished from other media segments. For example, if the media segment is a hot-spot segment, in the play progress bar of the media file, different brightness, shape, or color forms may be adopted to differently display a portion of the play progress bar corresponding to the hot-spot segment and a portion of the play progress bar corresponding to a non-hot-spot segment, and in fig. 5B, in the play progress bar of the media file, the play progress bars indicated by B1, B2, and B3 corresponding to the hot-spot segment are displayed in a highlight and bold form so as to be distinguished from the play progress bar corresponding to the non-hot-spot segment.
Step 102: a prompt functionality item for generating a set of media segments is presented.
Here, the prompt functionality is used to enable generation of a set of media segments based on the media segments.
For example, if the media segment is a hot segment, the prompt function item is used to generate a media segment set (that is, a hot segment set) based on the hot segment, see fig. 5D, where fig. 5D is a display schematic diagram of a play interface provided by an embodiment of the present invention, in fig. 5D, in a play interface D0 of the media file, D1, D2, and D3 are media segment indication information used to indicate that the media segments respectively corresponding to D1, D2, and D3 are hot segments, and "generating the hot segment set" indicated by D4 is a prompt function item, where the prompt function item D4 may be located in any area of the play interface D1, and when the prompt function item D2 is triggered by a user, the hot segment set may be generated.
In some embodiments, the terminal may also present the prompt functionality for generating the set of media segments by:
presenting a prompt window including prompt information, wherein the prompt information is used for prompting generation of a media segment set; in the prompt window, prompt functionality items for generating the set of media segments are presented.
For example, if the media segment is a hot segment, the prompt function item is used to generate a hot segment set based on the hot segment, see fig. 5E, and fig. 5E is a display schematic diagram of a play interface provided in the embodiment of the present invention, as shown in fig. 5E, in the play interface E0 of the media file, E1 is a prompt window, and in the prompt window E1, "detect the hot segment and store it as the hot segment set" indicated by E2 is prompt information, "store" indicated by E3 is the prompt function item, "x" indicated by E4 is a cancel function item, and E5 to E7 are media segment indication information. The user can determine whether to generate a hot spot segment set based on the prompt information shown by E2, and when determining to generate the hot spot segment set, the user can trigger a prompt function item E3 to fuse the hot spot segments respectively indicated by E5, E6 and E7 to generate the hot spot segment set; when it is determined that a hotspot fragment set is not generated, a cancel function item E4 may be triggered.
Step 103: in response to a triggering operation for the cue function item, a set of media segments is generated that includes at least one media segment.
In practical implementation, the operation of generating the media segment set may be performed by the terminal, or may be performed by the terminal and the server in cooperation. When the terminal executes the operation, the terminal responds to the triggering operation aiming at the prompt function item, and fuses the media segments indicated by the indication information of the media segments, generates a media segment set and plays the media segments in the media segment set. When the terminal and the server cooperatively execute, the terminal responds to the triggering operation aiming at the prompt function item, generates and sends an information acquisition request for generating a media segment set to the server, the server fuses the media segments indicated by the indication information of the media segments based on the information acquisition request, generates and returns the media segment set to the terminal, and the terminal receives the media segment set and plays the media segments in the media segment set.
The media segment set comprises at least one media segment or is a complete new media file formed by combining a plurality of media segments.
In some embodiments, after generating the media segment set including at least one media segment, the terminal may also play the media segments in the media segment set.
In practical application, if the media segment set is determined to be generated when a user just opens a media file, when the media segment set is played, the first media segment in the media segment set can be automatically positioned to start playing, and as the generated media segment set has media segment prompt information such as highlight on a playing progress bar, the user can click the media segment prompt information to selectively play the media segments, and can also play the media segments in a default order. If the media segment set is determined to be generated after the user watches the media file for a period of time, when the media segment set is played, if the currently played media content is overlapped with the media content in the media segment indicated by the media segment indication information, the playing is continued, and if the currently played content is not overlapped with the media content in the media segment indicated by the media segment indication information, the media segment indicated by the next media segment indication information of the current time axis is automatically jumped to start playing.
For example, when the user just opens a media file and triggers the prompt function item D4 shown in fig. 5D, the media segments respectively indicated by D1, D2 and D3 are combined to generate a media segment set including three media segments, namely, the media segment indicated by D1, the media segment indicated by D2 and the media segment indicated by D3, and the media segment set is played from the first media segment indicated by D1, and when the user triggers D3, the third media segment indicated by D3 can be directly played; alternatively, the media segment set is a complete new media file formed by merging the media segment indicated by D1, the media segment indicated by D2, and the media segment indicated by D3, and is played sequentially from the media segment indicated by D1.
For another example, when the user opens a media file to view for a period of time and decides to generate a set of media segments, for example, when the user views the media content located between D1 and D2 and decides to generate the set of media segments, the prompt function item D4 shown in fig. 5D is triggered, the media segments respectively indicated by D1, D2 and D3 are combined to generate a set of media segments including three media segments, namely, the media segment indicated by D1, the media segment indicated by D2 and the media segment indicated by D3, and since the media content located between D1 and D2 does not coincide with the media content in the media segments indicated by D1, D2 or D3, the media segment indicated by D2 is automatically jumped to play after generating the set of media segments.
In some embodiments, the terminal may also play the media segments in the set of media segments by:
presenting an indication icon corresponding to the media segment set in a detail page of the media file; and playing the media segments in the media segment set in response to the triggering operation for the indication icon.
For example, referring to fig. 5F, fig. 5F is a display schematic diagram of a play interface provided in the embodiment of the present invention, as shown in fig. 5F, F0 is a play interface of a media file, F1 is a detail page of the media file, F2 is an indication icon corresponding to a media segment set, F3 is an indication icon corresponding to complete media information of the media file, and when a user triggers the prompt icon F2, media segments in the media segment set are played on the play interface F0 of the media file.
In some embodiments, the terminal may also play the media segments in the set of media segments by:
presenting a media information list associated with the media file, and presenting an indication icon of a corresponding media segment set in the media information list; and playing the media segments in the media segment set in response to the triggering operation for the indication icon.
Referring to fig. 5G, fig. 5G is a display schematic diagram of a play interface according to an embodiment of the present invention, as shown in fig. 5G, G0 is a play interface of a media file, G1 is a media information list of the media file, G2 is an indication icon corresponding to a media segment set, G3 is an indication icon corresponding to complete media information of the media file, and when a user triggers the prompt icon G2, the media segments in the media segment set are played on the play interface G0 of the media file.
In some embodiments, the terminal may also present a user's favorites list and present an indicator icon of the corresponding set of media segments in the favorites list; and playing the media segments in the media segment set in response to the triggering operation for the indication icon.
The generated media segment sets are presented in a favorite list of the media files, wherein the media files in the favorite list are all collected by the user, and the user can directly trigger the indication icons of the corresponding media segment sets in the favorite list to play the media segments in the corresponding media segment sets.
Referring to fig. 5H, fig. 5H is a schematic display diagram of a play interface provided by the embodiment of the present invention, as shown in fig. 5H, H1 is a user's favorite list in which media files or media clip sets collected by a plurality of users are presented, where H2 is a team corresponding to "meeting bank 2049: this is an indicator icon for identity … "the collection of media segments for this media file, and when the user triggers the prompt icon H2, the" face meeting "bank killer 2049" team is played in the play interface for the media file: this is a media segment in the set of media segments for this media file with respect to identity … ".
In some embodiments, after playing the media segments in the media segment set, the terminal may further switch playing files as follows:
displaying an indication icon of the complete media information of the corresponding media file in a playing interface of the media file; and responding to the triggering operation aiming at the indication icon, and switching the media segments in the playing media segment set to be playing media files based on the playing progress of the media segment set.
Then, if the user wants to watch the media segments of the media file, the indication icon corresponding to the media segment set can be triggered, and the terminal responds to the triggering operation of the indication icon aiming at the media segment set to determine the media content of the currently played media file; when a target media segment corresponding to the currently played media content exists in the media segment set, playing the media segments in the media segment set by taking the target media segment as a playing starting point; when the target media segment corresponding to the currently played media content does not exist in the media segment set, acquiring the next media segment of which the playing time is behind the media content, and playing the media segment in the media segment set by taking the next media segment as a playing starting point; therefore, the playing media file (namely the full version of the playing media file) is switched to the media segments in the playing media segment set.
For example, in fig. 5F, F3 is an indication icon corresponding to the complete media information of the media file, when a media segment in the set of media segments of the media file is being played in the playing interface of the media file, the user may trigger the indication icon F3 in fig. 5F, and the terminal switches the media segment in the set of playing media segments to play the media file for continuous playing in response to the triggering operation for the indication icon F3. When the user wants to view a media segment of the media file, the icon F2 in fig. 5F may be triggered to switch playing the media file (i.e., playing the full version of the media file) to playing a media segment in the set of media segments.
In some embodiments, after playing the media segments in the media segment set, the terminal may further switch playing files as follows:
presenting a switching function item corresponding to the media file; and responding to the triggering operation aiming at the switching function item, and switching the media segments in the played media segment set into the played media file based on the playing progress of the media segment set.
Here, the switching function item is used to implement switching between playing the media segment set and playing the media file, and if the media segments in the media segment set are being played in the playing interface of the current media file, the switching function item is triggered to switch the media segments in the playing media segment set to the playing media file (i.e. the full version); when the media file (namely the full version) is in the playing interface of the media file, the switching function item is triggered, and the playing media file is switched to the media segment in the playing media segment set.
Referring to fig. 5I, fig. 5I is a display schematic diagram of a playing interface provided by the embodiment of the present invention, in fig. 5I, I1 is a playing interface of a media file, I2 is a switching function item, if a media segment in a media segment set is being played in the playing interface of a current media file, a terminal responds to a trigger operation for the switching function item to switch the media segment in the playing media segment set to play the media file, and a current playing time point is unchanged, and the playing is continued.
In some embodiments, after the terminal switches the media segments in the played media segment set to the played media file, the switching of the played file can be further implemented by the following method:
responding to the triggering operation aiming at the switching function item, and determining the media content of the currently played media file; when the target media segment corresponding to the media content exists in the media segment set, the target media segment is taken as a playing starting point, and the media segments in the media segment set are played; and when the target media segment corresponding to the currently played media content does not exist in the media segment set, acquiring the next media segment of which the playing time is behind the currently played media content, and playing the media segment in the media segment set by taking the next media segment as a playing starting point.
For example, if a media file (i.e. a full version) is being played in a playing interface of a current media file and the user triggers the switching function item I2 in fig. 5I, the terminal determines the media content of the currently played media file in response to a triggering operation, in fig. 5I, I3-I5 indicate media segments, and if the media content of the currently played media file corresponds to the media segment indicated by I3 and corresponds to the media content at a in the media segment indicated by I3, when switching to playing a media segment set, the media content at a in the media segment indicated by I3 is taken as a playing starting point, and the remaining media content after a in the media segment indicated by I3, the media segment indicated by I4, and the media segment indicated by I5 continue to be played.
If the media content of the currently played media file corresponds to the media content between the media segments indicated by I3 and I4, if corresponding to the media content at B, then when switching to playing the media segment set, automatically jumping to the media segment indicated by I4, and continuing playing the media segment indicated by I4 and the media segment indicated by I5 with the media segment indicated by I4 as the playing starting point.
Next, continuing to describe the media file processing method provided by the embodiment of the present invention, referring to fig. 6, fig. 6 is an optional flowchart of the media file processing method provided by the embodiment of the present invention, and the flowchart will be described with reference to the steps shown in fig. 6.
Step 201: in response to a trigger operation for a media file, the terminal generates an information acquisition request for acquiring the media file.
Here, the user has already viewed the media file, and has not generated the media segment set of the media file, in the previous viewing process, the terminal marks the media segment viewed by the user, and sends the marked media segment to the server in real time, and the server determines the video segment whose playing time meets the playing time condition, for example, the playing time exceeds 2 times, as the media segment.
When the user triggers the media file again, the terminal generates an information acquisition request for acquiring the media file and the media segment to the server.
Step 202: the terminal sends an information acquisition request to the server.
Step 203: the server determines the media file and the media segment indication information based on the information acquisition request.
The information acquisition request carries a media identifier of a media file, a plurality of media files are stored in a media database, the server analyzes the information acquisition request after receiving the information acquisition request sent by the terminal to obtain the media identifier of the media file, and acquires the media file matched with the media identifier and media segment indication information corresponding to the media segment of which the playing times meet the playing time condition from the media database based on the analyzed media identifier.
Step 204: the server sends the media file and the media segment indication information to the terminal.
Step 205: and presenting the media segment indication information of the media file and a prompt function item for generating a media segment set in a playing interface of the terminal.
Here, the media segment indication information refers to information presented in the play interface for indicating a media segment of the media file, so that the media segment corresponding to the media segment indication information is distinguished from other media segments. For example, if the media segment is a hot spot segment, in the playing progress bar of the media file, different brightness, shape, color, or other forms may be adopted to differently display a portion of the playing progress bar corresponding to the hot spot segment and a portion of the playing progress bar corresponding to a non-hot spot segment.
Step 206: in response to a triggering operation for the cue function item, a set of media segments is generated that includes at least one media segment.
Step 207: and playing the media segments in the media segment set in a playing interface of the terminal.
Step 208: and presenting the switching function item corresponding to the media file in a playing interface of the terminal.
The switching function item is used for realizing switching between a playing media segment set and a playing media file;
step 209: responding to the triggering operation aiming at the switching function item, and switching the media segments in the played media segment set into the played media file in the playing interface of the terminal based on the playing progress of the media segment set.
Here, if the media segments in the media segment set are being played in the playing interface of the current media file, the switching function item is triggered, the media segments in the played media segment set are switched to the played media file (i.e., the complete version), and the media file is played based on the playing progress of the media segment set.
Step 210: and responding to the triggering operation aiming at the switching function item, and switching the playing media file into the media segments in the playing media segment set in the playing interface of the terminal.
Here, when a media file (i.e. a full version) is being played in a playing interface of the media file, a switching function item is triggered, and the media content of the currently played media file is determined; when a target media segment corresponding to the currently played media content exists in the media segment set, playing the media segments in the media segment set by taking the target media segment as a playing starting point; and when the target media segment corresponding to the currently played media content does not exist in the media segment set, acquiring the next media segment with the playing time behind the media content, and playing the media segment in the media segment set by taking the next media segment as a playing starting point.
In the following, an exemplary application of the embodiments of the present invention in a practical application scenario will be described.
In a video product, when a user consumes a video, when the user needs to review an interested video segment in the video for watching, the related art needs to adjust the playing progress to the interested video segment by dragging the progress bar, that is, the video segment is watched by dragging the progress bar every time of reviewing, if the user wants to review a plurality of video segments of a video or repeatedly review some video segments in the video content, the user needs to repeatedly execute the operation of dragging the progress bar for a plurality of times, which is not only complicated and repeated in operation, but also has not to be accurate in the adjustment and positioning of the playing progress bar, resulting in poor watching experience of the user.
Therefore, an embodiment of the present invention provides a method for processing a media file, which generates a hotspot segment set (i.e., the media segment set) according to a user history repeated watching record, and directly and quickly watches a hotspot segment (i.e., the media segment set) in the hotspot segment set of a video when a user reviews and watches a video segment.
In practical implementation, when a user opens a video to play, the terminal identifies that a video clip to be watched exceeds 2 times, the video clip is marked as a hot clip of the user, when the user opens the current video again to watch, prompt information indicating whether the identified hot clip needs to be stored as a hot clip set is presented on a playing interface, after the user selects to store, a user-specific hot clip set of the video can be generated, the first hot clip in the hot clip set is automatically positioned to start playing, and as the hot clip in the generated hot clip set has a highlight indication (namely media clip indication information) of the hot clip on a playing progress bar, the user can click the highlight clip to play, or the hot clip is played in a default order.
Referring to fig. 7, fig. 7 is a flowchart illustrating a method for generating a hotspot fragment set according to an embodiment of the present invention, and will be described with reference to the steps shown in fig. 7.
Step 301: in response to the triggering operation of the user for the video, the terminal identifies the video segment watched by the user.
Here, when the user opens a video without generating a hotspot clip set for viewing, the terminal marks the video clip viewed by the user, such as: video1, video2, …, video N, N > 2.
Step 302: and the terminal sends the identified video clip to the server in real time.
Here, the terminal stores the tag information of the identified video clip to a server in the background in real time.
Step 303: the server stores the video clips.
Here, the server stores a plurality of video clips of the current video: video1, video2, …, video N.
Step 304: and the server determines the video clip with the playing times meeting the playing time condition as the hot spot clip.
Here, the server stores a plurality of video clips of the current video, and determines a video clip with a playing frequency exceeding 2 times as a hotspot clip, or determines a video clip corresponding to a time interval with 2-time overlap as a hotspot clip.
Referring to fig. 8, fig. 8 is a schematic diagram for determining a hot spot segment according to an embodiment of the present invention, as shown in fig. 8, video segments viewed by a user are video1, video2, video3, video4, and video5, respectively, and since v ideo2, video3, and video4 respectively have time intervals that overlap 2 times with video1, that is, the user views three video segments, i.e., video2, video3, and video4, 2 times, the video2, video3, and vi deo4 are determined as the hot spot segment of the video viewed by the user.
Step 305: and the server returns the hot spot fragments to the terminal.
Step 306: and responding to the triggering operation aiming at the video, and presenting prompt information for prompting to generate the hotspot clip set on a playing interface of the terminal.
Here, when the user again triggers opening of the video viewing video, the prompt information E2 as shown in fig. 5E, and the prompt function item E3 are presented in the video play interface of the terminal.
Step 307: and determining whether to save as a hotspot fragment set or not based on the prompt information.
Here, taking fig. 5E as an example, when it is determined that the hotspot fragment is saved as the hotspot fragment set, a prompt function item "save" shown in E3 may be triggered, and step 308 is executed; when it is determined that the hotspot segment is not saved as the hotspot segment set, a "cancel" function item shown in E4 may be triggered, the marked hotspot segment is deleted, and step 301 is performed to re-identify the video segment.
Step 308: and the terminal generates a hotspot segment set of the video.
Step 309: and the terminal sends the hotspot fragment set of the video to the server.
Step 310: the server records a set of hotspot segments specific to the user.
Here, the server associates the hotspot segment set of the video with the login account of the user, and records the dedicated hotspot segment set of the user.
The hotspot segment set generated in the above manner can be presented in a video list as shown in fig. 5H, H2 indicates the hotspot segment set, and when H2 is triggered, the hotspot segments in the hotspot segment set can be played on a playing interface. The hot clip set may also be presented in a detail page corresponding to the video as shown in fig. 5F, F2 indicating the hot clip set, and a full version of the video F3 may also be presented in the detail page.
In practical application, when playing the hot spot clip set, the user may also trigger the "full version" of the video in the detail page to switch the mode of playing the hot spot clip set to the "full version" mode of playing the video, and may switch between the two modes.
Referring to fig. 9, fig. 9 is a schematic diagram illustrating switching of a play mode according to an embodiment of the present invention, as shown in fig. 9, in playing a hot spot clip set, when step 1 is executed, that is, a "full version" is triggered, the play hot spot clip set is switched to a full version for playing a video; and (3) when the step (2) is executed in the process of playing the full version of the video, namely the hot spot clip set is triggered, the full version of the video to be played is switched to the hot spot clip set to be played, and the two modes can be switched with each other repeatedly so as to meet different playing requirements of users.
In the mode switching process, when the hot spot clip set is switched to the full version of the played video, the full version of the video is continuously played based on the playing progress of the hot spot clip set; when the full version of the playing video is switched to the playing hotspot segment set, the content of the currently played video needs to be determined; when the hotspot segment set has the hotspot segment corresponding to the currently played video content, playing the hotspot segment set by taking the hotspot segment as a playing starting point; and when the hotspot segment set does not have the hotspot segment corresponding to the currently played video content, acquiring the next hotspot segment with the playing time behind the video content, and playing the hotspot segment in the hotspot segment set by taking the next hotspot segment as a playing starting point.
Referring to fig. 10, fig. 10 is a schematic view illustrating switching of a play mode according to an embodiment of the present invention, as shown in fig. 10, when a user selects to watch a full version of a video, the user wants to switch to play a hot spot clip set, for example, when the play position indicated by "1" is switched to the hot spot clip set, the user directly jumps to the hot spot clip indicated by "2" of the hot spot clip set as a play start point to play, and sequentially plays the remaining hot spot clips; when the hotspot segment indicated by playing to '3' is switched to the full version, the video content same as '2' in the full version continues to play the full version; when the video content of the full version indicated by the '4' is played and the playing of the hot spot clip set is switched, the playing is started from the hot spot clip indicated by the '5' and the rest hot spot clips are played in sequence.
The embodiment of the invention can enable a user to more conveniently review the video segments interested in the video, reduce the operation cost and the watching time cost of the user, and can switch versions at any time during playing to meet the playing requirements of the user in different scenes, thereby bringing convenience to the user and improving the user experience of watching the video.
Referring to fig. 11, fig. 11 is a schematic structural composition diagram of a media file processing device according to an embodiment of the present invention, and as shown in fig. 11, a media file processing device 555 according to an embodiment of the present invention includes:
the first presentation module 5551 is configured to present, in a playing interface of a media file, media segment indication information of the media file;
wherein the media segment indication information is used for indicating at least one media segment of the media file;
a second presentation module 5552 for presenting a prompt functionality item for generating a set of media segments;
a generating module 5553, configured to generate a media segment set including the at least one media segment in response to a triggering operation for the prompt function item.
In some embodiments, the first rendering module is further configured to receive a play instruction for the media file;
and responding to the playing instruction, presenting a playing interface of the media file, and presenting the media segment indication information of the media file in the playing interface.
In some embodiments, the first presentation module is further configured to present a media segment display function item in the playback interface;
and presenting the media segment indication information of the media file in response to the triggering operation aiming at the media segment display function item.
In some embodiments, the first presentation module is further configured to present a play progress bar of the media file in a play interface of the media file;
and presenting the media segment indication information in the playing progress bar, so that the media segment corresponding to the media segment indication information is different from other media segments.
In some embodiments, the apparatus further includes an information obtaining module, configured to generate and send an information obtaining request for obtaining the media file in response to a play instruction for the media file before the presenting of the media segment indication information of the media file;
and receiving the media file and the media segment indication information returned based on the information acquisition request.
In some embodiments, the first presentation module is further configured to obtain the number of times of playing each of the at least two media segments;
and when the playing times meet the playing time condition, presenting the media segment indication information of the media segments.
In some embodiments, the second presenting module is further configured to present a prompt window including prompt information for prompting generation of the set of media segments;
presenting, in the prompt window, a prompt function item for generating a set of media segments.
In some embodiments, the apparatus further comprises a playing module for, after generating a set of media segments comprising the at least one media segment, presenting an indicator icon corresponding to the set of media segments in a detail page of the media file;
and playing the media segments in the media segment set in response to the triggering operation of the indication icon.
In some embodiments, the playing module is further configured to present a media information list associated with the media file, and present an indication icon corresponding to the media segment set in the media information list;
and playing the media segments in the media segment set in response to the triggering operation of the indication icon.
In some embodiments, the apparatus further includes a first switching module, where the first switching module is configured to, after the media segments in the set of media segments are played, present an indication icon corresponding to complete media information of the media file in a playing interface of the media file;
and responding to the triggering operation aiming at the indication icon, and switching the playing of the media segments in the media segment set to the playing of the media file based on the playing progress of the media segment set.
In some embodiments, the apparatus further comprises a second switching module for, after the playing of the media segments in the set of media segments,
presenting a switching function item corresponding to the media file, wherein the switching function item is used for realizing switching between playing the media segment set and playing the media file;
and responding to the triggering operation aiming at the switching function item, and switching the playing of the media segments in the media segment set to the playing of the media file based on the playing progress of the media segment set.
In some embodiments, the second switching module is further configured to, after the switching of playing the media segments of the set of media segments to playing the media file,
responding to the trigger operation aiming at the switching function item, and determining the media content of the currently played media file;
when a target media segment corresponding to the media content exists in the media segment set, playing the media segments in the media segment set by taking the target media segment as a playing starting point;
and when the target media segment corresponding to the media content does not exist in the media segment set, acquiring a next media segment with playing time after the media content, and playing the media segments in the media segment set by taking the next media segment as a playing starting point.
Referring to fig. 12, fig. 12 is a schematic structural composition diagram of a media file processing apparatus according to an embodiment of the present invention, and as shown in fig. 12, the media file processing apparatus 12 according to the embodiment of the present invention includes:
an obtaining module 121, configured to obtain a play record of a target user for a media file;
a dividing module 122, configured to divide the media file into at least two media segments based on the play record;
a presenting module 123, configured to present, in a playing interface of the target user for the media file, media segment indication information of the media file;
wherein the media segment indication information is used for indicating at least one media segment of the media file.
An embodiment of the present invention provides an electronic device, including:
a memory for storing executable instructions;
and the processor is used for realizing the media file processing method provided by the embodiment of the invention when executing the executable instructions stored in the memory.
The embodiment of the invention provides a computer-readable storage medium, which stores executable instructions and is used for causing a processor to execute the method for processing a media file provided by the embodiment of the invention.
In some embodiments, the storage medium may be a memory such as FRAM, ROM, PROM, EPROM, EE PROM, flash, magnetic surface memory, optical disk, or CD-ROM; or may be various devices including one or any combination of the above memories.
In some embodiments, executable instructions may be written in any form of programming language (including compiled or interpreted languages), in the form of programs, software modules, scripts or code, and may be deployed in any form, including as a stand-alone program or as a module, component, subroutine, or other unit suitable for use in a computing environment.
By way of example, executable instructions may correspond, but do not necessarily have to correspond, to files in a file system, and may be stored in a portion of a file that holds other programs or data, such as in one or more scripts in a HyperText markup Language (H TML) document, in a single file dedicated to the program in question, or in multiple coordinated files (e.g., files that store one or more modules, sub-programs, or portions of code).
By way of example, executable instructions may be deployed to be executed on one computing device or on multiple computing devices located at one site or distributed across multiple sites and interconnected by a communication network.
In summary, the embodiments of the present invention have the following advantages:
1) the media segment indication information of the media file is presented in the playing interface of the media file, so that a user can know the media segment of the media file timely and clearly, the playing of the media segment can be realized, the time that the user needs to drag the progress bar to search for the related media segment in the related technology is reduced, the operation cost and the time cost of the user are saved, and meanwhile, the user can know the media content of the media file macroscopically through the presented media segment indication information;
2) generating a media segment set comprising at least one media segment in response to a triggering operation for the prompt function item; therefore, the generation of the media segment set formed by the media segments can be realized by triggering the prompt function item, so that the user can only play the media segments in the media segment set, the user operation is simplified, and the operation cost and the time cost of the user are saved;
3) the switching between the playing media segment set and the playing media file can be realized in the playing process, so that the playing mode is diversified, different requirements of users are met, and the user experience is improved.
The above description is only an example of the present invention, and is not intended to limit the scope of the present invention. Any modification, equivalent replacement, and improvement made within the spirit and scope of the present invention are included in the protection scope of the present invention.

Claims (15)

1. A method for processing a media file, the method comprising:
presenting media segment indication information of the media file in a playing interface of the media file;
wherein the media segment indication information is used for indicating at least one media segment of the media file;
presenting a prompt functionality item for generating a set of media segments;
generating a set of media segments including the at least one media segment in response to a triggering operation for the prompt function item.
2. The method of claim 1, wherein said presenting media segment indication information for the media file comprises:
receiving a playing instruction aiming at the media file;
and responding to the playing instruction, presenting a playing interface of the media file, and presenting the media segment indication information of the media file in the playing interface.
3. The method of claim 1, wherein said presenting media segment indication information for the media file comprises:
presenting a media segment display function item in the playing interface;
and presenting the media segment indication information of the media file in response to the triggering operation aiming at the media segment display function item.
4. The method of claim 1, wherein said presenting media segment indication information for the media file comprises:
presenting a playing progress bar of the media file in a playing interface of the media file;
and presenting the media segment indication information in the playing progress bar, so that the media segment corresponding to the media segment indication information is different from other media segments.
5. The method of claim 1, wherein prior to said presenting media segment indicating information for the media file, the method further comprises:
responding to a playing instruction aiming at the media file, and generating and sending an information acquisition request for acquiring the media file;
and receiving the media file and the media segment indication information returned based on the information acquisition request.
6. The method of claim 1, wherein said presenting media segment indication information for the media file comprises:
respectively acquiring the playing times of each media segment in the media file;
and when the playing times meet the playing time condition, presenting the media segment indication information of the corresponding media segment.
7. The method of claim 1, wherein presenting a prompt functionality item for generating a set of media segments comprises:
presenting a prompt window including prompt information, the prompt information being used to prompt generation of a set of media segments;
presenting, in the prompt window, a prompt function item for generating a set of media segments.
8. The method of claim 1, wherein after the generating the set of media segments including the at least one media segment, the method further comprises:
presenting an indication icon corresponding to the media segment set in a detail page of the media file;
and playing the media segments in the media segment set in response to the triggering operation of the indication icon.
9. The method of claim 1, wherein after the generating the set of media segments including the at least one media segment, the method further comprises:
presenting a media information list associated with the media file and presenting an indication icon corresponding to the set of media segments in the media information list;
and playing the media segments in the media segment set in response to the triggering operation of the indication icon.
10. The method of claim 1, wherein after the generating the set of media segments including the at least one media segment, the method further comprises:
playing the media segments in the media segment set;
displaying an indication icon corresponding to the complete media information of the media file in a playing interface of the media file;
and responding to the triggering operation aiming at the indication icon, and switching the playing of the media segments in the media segment set to the playing of the media file based on the playing progress of the media segment set.
11. The method of claim 1, wherein after the generating the set of media segments including the at least one media segment, the method further comprises:
playing the media segments in the media segment set;
presenting a switching function item corresponding to the media file, wherein the switching function item is used for realizing switching between playing the media segment set and playing the media file;
and responding to the triggering operation aiming at the switching function item, and switching the playing of the media segments in the media segment set to the playing of the media file based on the playing progress of the media segment set.
12. The method of claim 11, wherein after switching playing media segments of the set of media segments to playing the media file, the method further comprises:
responding to the trigger operation aiming at the switching function item, and determining the media content of the currently played media file;
when a target media segment corresponding to the media content exists in the media segment set, playing the media segments in the media segment set by taking the target media segment as a playing starting point;
and when the target media segment corresponding to the media content does not exist in the media segment set, acquiring a next media segment with playing time after the media content, and playing the media segments in the media segment set by taking the next media segment as a playing starting point.
13. A method for processing a media file, the method comprising:
acquiring a play record of a target user for a media file;
dividing the media file into at least two media segments based on the play record;
presenting media segment indication information of the media file in a playing interface of the target user for the media file;
wherein the media segment indication information is used for indicating at least one media segment of the media file.
14. An apparatus for processing a media file, the apparatus comprising:
the first presentation module is used for presenting the media segment indication information of the media file in a playing interface of the media file;
wherein the media segment indication information is used for indicating at least one media segment of the media file;
a second presentation module for presenting a prompt functionality item for generating a set of media segments;
a generating module, configured to generate a set of media segments including the at least one media segment in response to a triggering operation for the prompt function item.
15. An apparatus for processing a media file, the apparatus comprising:
the acquisition module is used for acquiring the play record of the target user for the media file;
a dividing module, configured to divide the media file into at least two media segments based on the play record;
the presentation module is used for presenting the media segment indication information of the media file in a playing interface of the target user for the media file;
wherein the media segment indication information is used for indicating at least one media segment of the media file.
CN202010479486.7A 2020-05-29 2020-05-29 Media file processing method and device Pending CN111651111A (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN202010479486.7A CN111651111A (en) 2020-05-29 2020-05-29 Media file processing method and device

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN202010479486.7A CN111651111A (en) 2020-05-29 2020-05-29 Media file processing method and device

Publications (1)

Publication Number Publication Date
CN111651111A true CN111651111A (en) 2020-09-11

Family

ID=72350908

Family Applications (1)

Application Number Title Priority Date Filing Date
CN202010479486.7A Pending CN111651111A (en) 2020-05-29 2020-05-29 Media file processing method and device

Country Status (1)

Country Link
CN (1) CN111651111A (en)

Cited By (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
WO2022188862A1 (en) * 2021-03-12 2022-09-15 北京字节跳动网络技术有限公司 Media content favoriting method and apparatus, electronic device, and computer readable storage medium

Citations (10)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN102202039A (en) * 2010-03-26 2011-09-28 宏碁股份有限公司 Network video previewing method and program-storing computer-readable recording medium
US20120042247A1 (en) * 2010-08-12 2012-02-16 Echostar Technologies L.L.C. User-selected media content blocking
CN103491450A (en) * 2013-09-25 2014-01-01 深圳市金立通信设备有限公司 Setting method of playback fragment of media stream and terminal
CN103916718A (en) * 2013-01-05 2014-07-09 腾讯科技(北京)有限公司 Method and system for playing video based on video clip
CN104980773A (en) * 2014-09-23 2015-10-14 腾讯科技(深圳)有限公司 Streaming media processing method and device, terminal and server
CN107124656A (en) * 2017-04-24 2017-09-01 维沃移动通信有限公司 The player method and mobile terminal of a kind of multimedia file
CN107666623A (en) * 2017-03-07 2018-02-06 腾讯科技(深圳)有限公司 The methods of exhibiting and device of broadcast information
CN108966016A (en) * 2018-08-29 2018-12-07 北京奇艺世纪科技有限公司 A kind of method, apparatus and terminal device of video clip replay
CN109218835A (en) * 2018-09-30 2019-01-15 百度在线网络技术(北京)有限公司 Generation method, device, equipment and the storage medium of essence video
CN109429105A (en) * 2017-08-30 2019-03-05 吴恒 A kind of Online Video playback method and system

Patent Citations (10)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN102202039A (en) * 2010-03-26 2011-09-28 宏碁股份有限公司 Network video previewing method and program-storing computer-readable recording medium
US20120042247A1 (en) * 2010-08-12 2012-02-16 Echostar Technologies L.L.C. User-selected media content blocking
CN103916718A (en) * 2013-01-05 2014-07-09 腾讯科技(北京)有限公司 Method and system for playing video based on video clip
CN103491450A (en) * 2013-09-25 2014-01-01 深圳市金立通信设备有限公司 Setting method of playback fragment of media stream and terminal
CN104980773A (en) * 2014-09-23 2015-10-14 腾讯科技(深圳)有限公司 Streaming media processing method and device, terminal and server
CN107666623A (en) * 2017-03-07 2018-02-06 腾讯科技(深圳)有限公司 The methods of exhibiting and device of broadcast information
CN107124656A (en) * 2017-04-24 2017-09-01 维沃移动通信有限公司 The player method and mobile terminal of a kind of multimedia file
CN109429105A (en) * 2017-08-30 2019-03-05 吴恒 A kind of Online Video playback method and system
CN108966016A (en) * 2018-08-29 2018-12-07 北京奇艺世纪科技有限公司 A kind of method, apparatus and terminal device of video clip replay
CN109218835A (en) * 2018-09-30 2019-01-15 百度在线网络技术(北京)有限公司 Generation method, device, equipment and the storage medium of essence video

Cited By (2)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
WO2022188862A1 (en) * 2021-03-12 2022-09-15 北京字节跳动网络技术有限公司 Media content favoriting method and apparatus, electronic device, and computer readable storage medium
CN115079908A (en) * 2021-03-12 2022-09-20 北京字节跳动网络技术有限公司 Media content collection method and device, electronic equipment and computer readable storage medium

Similar Documents

Publication Publication Date Title
CN108989297B (en) Information access method, client, device, terminal, server and storage medium
WO2020000972A1 (en) Video access method, client, video access apparatus, terminal, server, and storage medium
US11681741B2 (en) Searching and displaying multimedia search results
CN108574857B (en) Program recommendation method based on user behavior, smart television and storage medium
CN110110101B (en) Multimedia content recommendation method, device, terminal, server and readable medium
KR20150083336A (en) Server, method for providing service thereof, display device and method for displaying thereof
CN113253880B (en) Method and device for processing pages of interaction scene and storage medium
CN111651617A (en) Multimedia information sharing method, device, equipment and storage medium
CN109274979A (en) Direct broadcasting room jump method, device, storage medium and server
EP4300980A1 (en) Video processing method and apparatus, and electronic device and storage medium
CN113014985A (en) Interactive multimedia content processing method and device, electronic equipment and storage medium
CN112714329A (en) Display control method and device for live broadcast room, storage medium and electronic equipment
CN112911401A (en) Video playing method and device
CN113391751A (en) Interface display method and device, storage medium and electronic equipment
CN105430440A (en) Multimedia information playing degree-of-interest processing method, serve and client
CN112135182B (en) List processing method, list processing apparatus, storage medium, and electronic device
CN103596034A (en) Control method and control device for desktop display of intelligent television
CN111651111A (en) Media file processing method and device
US20230412723A1 (en) Method and apparatus for generating imagery record, electronic device, and storage medium
CN113553466A (en) Page display method, device, medium and computing equipment
WO2017000722A1 (en) Page integration method and device
CN114422843B (en) video color egg playing method and device, electronic equipment and medium
US10194128B2 (en) Systems and processes for generating a digital content item
CN112637618B (en) Live broadcast playback video generation method and device, electronic equipment and computer medium
CN110209870B (en) Music log generation method, device, medium and computing equipment

Legal Events

Date Code Title Description
PB01 Publication
PB01 Publication
SE01 Entry into force of request for substantive examination
SE01 Entry into force of request for substantive examination