Media file sharing method, apparatus and device, and computer readable storage medium
By marking time points in the playback interface of media files and adding interactive information, the problem of single media file sharing method in the prior art is solved, and more efficient user interaction is achieved.
Patent Information
- Application Number
- CN202510211704.1
- Authority / Receiving Office
- CN · China
- Patent Type
- Applications(China)
- Current Assignee / Owner
- Filing Date
- 2020-07-13
- Publication Date
- 2025-05-02
AI Technical Summary
In the prior art, the sharing method of media files is single, and the correspondence between text or voice and the specific content of media files cannot be clearly conveyed, resulting in low interaction between the sharer and the shared person.
By presenting the playback timeline in the playback interface of the media file, users allow them to mark specific time points on the timeline and enter interactive information. Then, in response to the sharing operation, the media file with interactive information added is shared with the shared person, and the interactive information is output when the playback progress reaches the marked time point.
It enriches the content form of media files, enables the participants to clearly understand the correspondence between interactive information and media files, and improves the interaction efficiency between the participants and the participants.
Smart Images

Figure CN119917207A_ABST
Abstract
Description
[0001] This application is a divisional application of a patent application with an application date of July 13, 2020, Chinese patent application number 202010669161.5, and invention name “Media file sharing method, device, equipment and computer-readable storage medium”. Technical Field
[0002] The present application relates to the field of computer technology, and in particular to a method, device, equipment and computer-readable storage medium for sharing media files. Background Art
[0003] With the development of Internet technology, playing video, audio and other media files through clients has become one of the indispensable entertainment methods for users. At the same time, users are keen to share media files with friends.
[0004] In the related art, the media file sharing method is very simple, which is usually to directly share the media file with the sharee, and then add a text or voice to explain. However, when sharing media files in this way, the sharee cannot clearly know the content of the text or voice. For example, when sharing a long video, the sharee cannot know which segment of the video the text or voice corresponds to, which makes the interaction between the sharer and the sharee inefficient. Summary of the invention
[0005] The embodiments of the present application provide a media file sharing method, apparatus, device and computer-readable storage medium, which can add interactive information to the shared media files, enrich the content form of the media files, and improve the interaction efficiency between the sharer and the shared.
[0006] The technical solution of the embodiment of the present application is implemented as follows:
[0007] The present application provides a method for sharing a media file, including:
[0008] Presenting a playback interface corresponding to the media file, and presenting a playback timeline corresponding to the media file in the playback interface;
[0009] In response to a selection operation of a time point triggered based on the playback timeline, marking the time point indicated by the selection operation on the playback timeline;
[0010] receiving interactive information input based on the time point;
[0011] In response to a sharing operation on the media file, sharing a target media file with the interactive information added thereto;
[0012] When the target media file is played and the playing progress reaches the time point, the interactive information is output.
[0013] The present application embodiment provides a media file sharing device, including:
[0014] A presentation module, used to present a playback interface corresponding to the media file, and present a playback timeline corresponding to the media file in the playback interface;
[0015] A marking module, configured to respond to a selection operation of a time point triggered based on the playback time axis and mark the time point indicated by the selection operation on the playback time axis;
[0016] A receiving module, configured to receive interactive information input based on the time point;
[0017] A sharing module, configured to share a target media file with the interactive information added thereto in response to a sharing operation on the media file;
[0018] When the target media file is played and the playing progress reaches the time point, the interactive information is output.
[0019] In the above scheme, the marking module is also used to present a time point selection function item in the playback interface; in response to a trigger operation on the time point selection function item, present a time point selection state;
[0020] In the time point selection state, a click operation on the playback time axis is received, and the click operation is used to trigger the time point selection operation;
[0021] The time point indicated by the selection operation is the time point corresponding to the click position of the click operation.
[0022] In the above solution, the marking module is further used to receive a drag operation for the time point;
[0023] Following the dragging operation, the position of the marked time point is adjusted.
[0024] In the above solution, the receiving module is further used to present editing function items for the media file;
[0025] In response to a triggering operation on the editing function item, presenting an editing interface corresponding to the media file, and presenting the marked time point in the editing interface;
[0026] When the number of the marked time points is at least two, a selection operation for a target time point among the at least two time points is received;
[0027] In response to a selection operation on the target time point, presenting an input state of interactive information;
[0028] Interaction information input based on the target time point is received.
[0029] In the above solution, the receiving module is further used to present at least two types of interactive information options;
[0030] In response to a selection operation of a target type of selection item among the at least two types of interactive information, presenting an interactive information input interface corresponding to the target type;
[0031] Based on the interactive information input interface, interactive information of a target type input based on the time point is received.
[0032] In the above solution, the receiving module is further used to present input prompt information of the interactive information corresponding to the time point when the interactive information is voice information, and the input prompt information is used to indicate inputting voice information;
[0033] Voice information input based on the input prompt information is received.
[0034] In the above solution, the receiving module is further used to present an entry for adding the interactive information corresponding to the time point when the interactive information is image information or text information;
[0035] Interaction information based on the added entry input is received.
[0036] In the above solution, the sharing module is further used to send the interactive information and the time point corresponding to the interactive information, so as to synthesize the interactive information with the media file based on the time point to obtain a target media file with the interactive information added thereto;
[0037] Obtaining a link corresponding to the target media file;
[0038] A link corresponding to the target media file is shared.
[0039] In the above solution, the sharing module is further used to present at least two sharing options;
[0040] In response to a selection operation of a selection item of a target sharing method, a target media file with the interactive information added thereto is shared through the target sharing method.
[0041] In the above solution, the sharing module is also used to send the target media file through the session window, and
[0042] presenting a session message corresponding to the target media file in the session window;
[0043] The session message includes prompt information, and the prompt information is used to indicate that interactive information is added to the target media file.
[0044] In the above solution, the sharing module is further used to respond to a click operation on the conversation message, present a playback interface corresponding to the target media file, and
[0045] In the playback interface of the target media file, presenting a playback timeline corresponding to the target media file;
[0046] The time point corresponding to the interactive information is marked on the playback timeline.
[0047] In the above solution, the sharing module is further used to receive a media file with target interactive information added;
[0048] In response to a play operation on the media file with the target interactive information added thereto, playing the media file with the target interactive information added thereto;
[0049] When the playback progress reaches the time point corresponding to the target interaction information, the target interaction information is output.
[0050] An embodiment of the present application provides a computer device, including:
[0051] A memory for storing executable instructions;
[0052] The processor is used to implement the media file sharing method provided in the embodiment of the present application when executing the executable instructions stored in the memory.
[0053] An embodiment of the present application provides a computer-readable storage medium storing executable instructions for causing a processor to execute instructions to implement a media file sharing method provided in the embodiment of the present application.
[0054] The embodiments of the present application have the following beneficial effects:
[0055] The present application presents a playback interface of a corresponding media file, and presents a playback timeline of the corresponding media file in the playback interface; in response to a selection operation of a time point triggered by the playback timeline, marks the time point indicated by the selection operation on the playback timeline; receives interactive information input based on the time point; and in response to a sharing operation for the media file, shares a target media file with the interactive information added thereto; wherein, when the target media file is played and the playback progress reaches the time point, the interactive information is output; in this way, since the interactive information is added to the shared media file, the content form of the media file can be enriched. At the same time, since the interactive information is output when the playback progress of the target media file reaches the time point, the person being shared can learn the corresponding relationship between the interactive information and the specific content in the target media file, thereby improving the interaction efficiency between the sharer and the person being shared. BRIEF DESCRIPTION OF THE DRAWINGS
[0056] Figure 1 is a schematic diagram of the architecture of a media file sharing system 100 provided in an embodiment of the present application;
[0057] Figure 2 is a schematic diagram of the structure of a terminal provided in an embodiment of the present application;
[0058] Figure 3 is a flowchart of a method for sharing media files provided in an embodiment of the present application;
[0059] Figure 4 is a schematic diagram of an interface of a video client provided by an embodiment of the present invention;
[0060] Figure 5 is a schematic diagram of an interface for selecting a time point provided in an embodiment of the present application;
[0061] Figure 6 is a schematic diagram of an interface for adjusting a time point provided in an embodiment of the present application;
[0062] Figure 7 is a schematic diagram of an editing interface provided in an embodiment of the present application;
[0063] Figure 8 is a schematic diagram of a selection interface for interactive information types provided in an embodiment of the present application;
[0064] Fig. 9 It is a schematic diagram of the interface for voice information input provided in an embodiment of the present application;
[0065] Fig.10 is a schematic diagram of an interface for inputting image information provided in an embodiment of the present application;
[0066] Fig.11is a schematic diagram of an interface for inputting image information provided in an embodiment of the present application;
[0067] Fig.12 is a schematic diagram of an interface for sharing media files provided in an embodiment of the present application;
[0068] Fig.13 is a schematic diagram of an interface for sharing media files provided in an embodiment of the present application;
[0069] Fig.14 is a schematic diagram of a playback interface of a target media file provided in an embodiment of the present application;
[0070] Fig.15 is a schematic diagram of an interface for sharing media files on the sharee's side provided in an embodiment of the present application;
[0071] Fig.16 is a flowchart of a method for sharing media files provided in an embodiment of the present application;
[0072] Fig.17 is a schematic diagram of a presentation interface for interactive information provided in an embodiment of the present application;
[0073] Fig.18 is a flowchart of a method for sharing media files provided in an embodiment of the present application;
[0074] Fig.19 is a flowchart of a method for sharing media files provided in an embodiment of the present application;
[0075] Fig. 20 It is a schematic diagram of an interface presenting editing function items provided by this application;
[0076] Fig.21 It is a schematic diagram of the structure of a media file sharing device provided by an embodiment of the present invention. DETAILED DESCRIPTION
[0077] In order to make the purpose, technical solutions and advantages of the present application clearer, the present application will be further described in detail below in conjunction with the accompanying drawings. The described embodiments should not be regarded as limiting the present application. All other embodiments obtained by ordinary technicians in the field without making creative work are within the scope of protection of this application.
[0078] In the following description, reference is made to “some embodiments”, which describe a subset of all possible embodiments, but it can be 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.
[0079] In the following description, the terms "first\second\third" involved are merely used to distinguish similar objects and do not represent a specific ordering of the objects. It can be understood that "first\second\third" can be interchanged with a specific order or sequence where permitted, so that the embodiments of the present application described herein can be implemented in an order other than that illustrated or described herein.
[0080] Unless otherwise defined, all technical and scientific terms used herein have the same meaning as those commonly understood by those skilled in the art to which this application belongs. The terms used herein are only for the purpose of describing the embodiments of this application and are not intended to limit this application.
[0081] Before further describing the embodiments of the present application in detail, the nouns and terms involved in the embodiments of the present application are explained. The nouns and terms involved in the embodiments of the present application are subject to the following interpretations.
[0082] 1) Media files: media in various forms (such as video, audio, etc.) available on the Internet, such as video files and audio files displayed in the client.
[0083] 2) In response, it is used to indicate the conditions or states on which the executed operations depend. When the dependent conditions or states are met, one or more operations executed may be in real time or have a set delay. Unless otherwise specified, there is no restriction on the order of execution of the multiple operations executed.
[0084] See also Figure 1 , Figure 1 It is a schematic diagram of the architecture of the media file sharing system 100 provided in an embodiment of the present application. To support an exemplary application, the terminal includes a first terminal 400 and a second terminal 500, wherein the first terminal is located at the sharer side and the second terminal is located at the sharee side; the terminal is connected to the server 200 via a network 300, and the network 300 can be a wide area network or a local area network, or a combination of the two.
[0085] The first terminal 400 is used to present a playback interface of the corresponding media file and present a playback timeline of the corresponding media file in the playback interface; in response to a selection operation of a time point triggered by the playback timeline, mark the time point indicated by the selection operation on the playback timeline; receive interactive information input based on the time point; and send the interactive information and the time point to the server 200;
[0086] The server 200 is used to add the interactive information to the media file according to the time point to obtain the target media file with the interactive information added;
[0087] The first terminal 400 is used for sending a target media file with interactive information added thereto to the second terminal 500 in response to a sharing operation on the media file;
[0088] The second terminal 500 is used to receive a target media file with interactive information added thereto; play the target media file, and output the interactive information when the playing progress of the target media file reaches a time point.
[0089] In some embodiments, the server 200 may be an independent physical server, or a server cluster or distributed system composed of multiple physical servers, or a cloud server that provides basic cloud computing services such as cloud services, cloud databases, cloud computing, cloud functions, cloud storage, network services, cloud communications, middleware services, domain name services, security services, content distribution networks (CDN, Content Delivery Network), and big data and artificial intelligence platforms. The terminal may be a smart phone, a tablet computer, a laptop computer, a desktop computer, a smart speaker, a smart watch, etc., but is not limited thereto. The terminal and the server may be directly or indirectly connected via wired or wireless communication, which is not limited in the embodiments of the present application.
[0090] The following describes an exemplary application of the computer device provided in the embodiments of the present application. The computer device provided in the embodiments of the present application can be implemented as various types of user terminals such as laptop computers, tablet computers, desktop computers, set-top boxes, mobile devices (for example, mobile phones, portable music players, personal digital assistants, dedicated messaging devices, portable gaming devices), and can also be implemented as a server.
[0091] See also Figure 2 , Figure 2 is a schematic diagram of the structure of a terminal provided in an embodiment of the present application, Figure 2 The terminal shown includes: at least one processor 410, a memory 450, at least one network interface 420 and a user interface 430. The various components in the terminal are coupled together via a bus system 440. It is understood that the bus system 440 is used to achieve connection and communication between these components. In addition to the data bus, the bus system 440 also includes a power bus, a control bus and a status signal bus. However, for the sake of clarity, the bus system 440 is not shown in FIG. Figure 2 Various buses are labeled as bus system 440 .
[0092] Processor 410 can be an integrated circuit chip with signal processing capabilities, such as a general-purpose processor, a digital signal processor (DSP), or other programmable logic devices, discrete gate or transistor logic devices, discrete hardware components, etc., where the general-purpose processor can be a microprocessor or any conventional processor, etc.
[0093] The user interface 430 includes one or more output devices 431 that enable presentation of media content, including one or more speakers and / or one or more visual display screens. The user interface 430 also includes one or more input devices 432, including user interface components that facilitate user input, such as a keyboard, mouse, microphone, touch screen display, camera, other input buttons and controls.
[0094] The memory 450 may be removable, non-removable, or a combination thereof. Exemplary hardware devices include solid-state memory, hard disk drives, optical disk drives, etc. The memory 450 may optionally include one or more storage devices that are physically remote from the processor 410.
[0095] The memory 450 includes a volatile memory or a non-volatile memory, and may also include both volatile and non-volatile memories. The non-volatile memory may be a read-only memory (ROM), and the volatile memory may be a random access memory (RAM). The memory 450 described in the embodiments of the present application is intended to include any suitable type of memory.
[0096] In some embodiments, memory 450 can store data to support various operations, examples of which include programs, modules, and data structures, or a subset or superset thereof, as exemplarily described below.
[0097] Operating system 451, 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;
[0098] A network communication module 452, for reaching other computing devices via one or more (wired or wireless) network interfaces 420, exemplary network interfaces 420 include: Bluetooth, Wireless Compatibility Authentication (WiFi), and Universal Serial Bus (USB);
[0099] a presentation module 453 for enabling presentation of information via one or more output devices 431 (e.g., display screen, speaker, etc.) associated with the user interface 430 (e.g., a user interface for operating peripherals and displaying content and information);
[0100] The input processing module 454 is used to detect one or more user inputs or interactions from one of the one or more input devices 432 and translate the detected inputs or interactions.
[0101] In some embodiments, the media file sharing device provided in the embodiments of the present application can be implemented in a software manner. Figure 2 A sharing device 455 for media files stored in a memory 450 is shown, which may be software in the form of programs and plug-ins, etc., and includes the following software modules: a presentation module 4551, a marking module 4552, a receiving module 4553 and a sharing module 4554. These modules are logical and can therefore be arbitrarily combined or further split according to the functions implemented.
[0102] The functions of each module will be described below.
[0103] In other embodiments, the media file sharing device provided in the embodiments of the present application may be implemented in hardware. As an example, the media file sharing device provided in the embodiments of the present application may be a processor in the form of a hardware decoding processor, which is programmed to execute the methods provided in the embodiments of the present application. . The media file sharing method, for example, the processor in the form of a hardware decoding processor may adopt 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.
[0104] The media file sharing method provided by the embodiment of the present application will be described in combination with the exemplary application and implementation of the terminal provided by the embodiment of the present application. In some embodiments, the sharing of media files provided by the embodiment of the present application can be implemented by the terminal alone, or by the server and the terminal in collaboration. The following uses the terminal implementation as an example to illustrate the media file sharing method provided by the embodiment of the present application.
[0105] See also Figure 3 , Figure 3 is a flow chart of a method for sharing media files provided in an embodiment of the present application, which will be combined with Figure 3 The steps shown are explained.
[0106] Step 301: The terminal presents a playback interface corresponding to the media file, and presents a playback timeline of the corresponding media file in the playback interface.
[0107] In some embodiments, a client is provided on the terminal, such as a music client, a video client, a microblog client, etc., which has a media file playback function. The user can trigger a playback instruction for a media file on the client to present a playback interface of the corresponding media file. The media file here can be a video, audio, or other media file. During the playback of the media file, the terminal presents the playback interface of the corresponding media file, and presents the playback timeline of the corresponding media file in the playback interface.
[0108] For example, taking the client as a video client, Figure 4 The interface diagram of the video client provided by the embodiment of the present invention is shown in FIG. Figure 4 , a video playback interface is presented through a video client, and a playback timeline 401 of the video is presented in the playback interface.
[0109] It should be noted that the playback state of the media file in the playback interface is not limited here, that is, the media file can be in the playing state, paused state, fast forward state, fast rewind state, etc.
[0110] Step 302: In response to a time point selection operation triggered based on the playback timeline, mark the time point indicated by the selection operation on the playback timeline.
[0111] In actual implementation, the user can trigger a time point selection operation based on the presented playback timeline to select a time point at which interactive information needs to be added. After the terminal determines the time point indicated by the selection operation, it marks the time point. Here, by marking the time point indicated by the selection operation, the time point is different from other time points to inform the user of the selected time point.
[0112] In some embodiments, while marking the time point indicated by the selection operation on the playback timeline, the terminal may also present the media content corresponding to the time point, so that the user can accurately select the desired time point.
[0113] In some embodiments, the time point selection operation can be triggered in the following ways: in the playback interface, a time point selection function item is presented; in response to the trigger operation for the time point selection function item, a time point selection state is presented; in the time point selection state, a click operation on the playback timeline is received, and the click operation is used to trigger the time point selection operation; wherein the time point indicated by the selection operation is the time point corresponding to the click position of the click operation.
[0114] In actual implementation, a time point selection function item is presented in the playback interface. The user can trigger the time point selection function by triggering the time point selection function item. After receiving the trigger operation, the terminal presents a time point selection state. In the time point selection state, the user can select a time point by clicking any position on the playback timeline. The selected time point is the time point corresponding to the clicked position.
[0115] For example, Figure 5 This is a schematic diagram of the interface for selecting a time point provided in the embodiment of the present application, see Figure 5 , a time point selection function item 501 is presented in the playback interface. After receiving a click operation on the time point selection function item 501, and then after receiving a click operation on point A on the timeline from the user, the point is marked with a dot mark to achieve the marking of the time point.
[0116] In some embodiments, the time point selection function item may not be set, that is, the time point selection operation may be directly triggered based on a trigger operation based on a certain point on the playback time axis. The trigger operation for a certain point may be any operation different from adjusting the playback progress.
[0117] For example, when the operation of clicking anywhere on the playback timeline is used to adjust the playback progress to the time point corresponding to that position, a long press operation can be used to trigger the time point selection operation, that is, the long press operation of anywhere on the playback timeline is used to select the time point corresponding to that position as the selected time point.
[0118] In some embodiments, before receiving the interactive information input based on the time point, the time point may also be adjusted: a drag operation for the time point is received; and following the drag operation, the position of the marked time point is adjusted.
[0119] In actual implementation, the user can trigger the drag operation on the time point by dragging the marker of the time point. The position of the marked time point changes in real time as the drag operation proceeds. When the drag operation stops, the position where the drag operation stops is the position of the final marked time point. Here, the drag operation can be dragging to the left along the playback time axis, or dragging to the right along the playback time axis.
[0120] For example, Figure 6 is a schematic diagram of the interface for adjusting the time point provided in the embodiment of the present application, see Figure 6 , drag the marked time point to the right, and the position of the marked time point is adjusted from B to C.
[0121] In some embodiments, the mark for the time point can also be cancelled, that is, when the selection is wrong, the user can trigger a delete operation to cancel the mark for the time point, and the terminal cancels the mark for the time point after receiving the delete operation. Here, the delete operation can be triggered by long pressing the mark of the time point, or by other means, which is not limited here.
[0122] Step 303: receiving interactive information input based on a time point.
[0123] In actual implementation, after receiving the time point selection operation, the terminal can mark the time point indicated by the selection operation on the playback timeline, and at the same time trigger the terminal's function of receiving interactive information to receive interactive information input based on the time point; or, the terminal can first play the time point indicated by the selection operation marked on the timeline, and then trigger the terminal's function of receiving interactive information when interactive information needs to be input, so that the terminal receives interactive information input based on the time point.
[0124] In some embodiments, the terminal may receive interactive information input based on a time point in the following manner: presenting an editing function item for a media file; in response to a trigger operation on the editing function item, presenting an editing interface for the corresponding media file, and presenting a marked time point in the editing interface; when the number of marked time points is at least two, receiving a selection operation for a target time point among at least two time points; in response to the selection operation for the target time point, presenting the input status of the interactive information; and receiving interactive information input based on the target time point.
[0125] Here, the user can trigger multiple time point selection operations to select multiple time points. Each time the terminal receives a selection operation, it will mark the corresponding time point to obtain multiple marked time points, and then select a target time point from these marked time points, and input interactive information based on the selected time point. In actual implementation, the selection operation is used to determine the target time point and to trigger the interactive information receiving function.
[0126] For example, Figure 7 is a schematic diagram of the editing interface provided in the embodiment of the present application, see Figure 7When the media file is a video, the corresponding video image and the playback timeline are presented in the editing interface according to the playback progress of the video, wherein the playback timeline presents multiple marked time points, and above each marked time point there is an input function item for interactive information corresponding to the time point. The user can select the target time point by clicking the input function item above the time point, and trigger the corresponding interactive information receiving function at the same time. After receiving a click operation on a certain input function item, the terminal presents the input status of the interactive information and receives the input interactive information, which corresponds to the time point below the input function item.
[0127] In actual implementation, the above-mentioned selection operation for the target time point can also be performed multiple times to input interactive information based on multiple target time points.
[0128] In some embodiments, the terminal may receive interactive information input based on a time point in the following manner: presenting selection items of at least two types of interactive information; in response to a selection operation of a target type of selection item among the at least two types of interactive information, presenting an interactive information input interface of the corresponding target type; and based on the interactive information input interface, receiving interactive information of the target type input based on the time point.
[0129] Here, the present application may provide a variety of selectable interactive information types, such as voice, picture, video, text, etc. Since different types of interactive information have different input methods, different types of interactive information input interfaces are also different. In actual implementation, at least two types of interactive information options may be presented first, allowing the user to select the type of interactive information to be input as needed, select the corresponding target type, and then present the interactive information input interface of the corresponding target type, so that the user can input the corresponding interactive information.
[0130] For example, Figure 8 is a schematic diagram of the selection interface of the interactive information type provided in the embodiment of the present application, see Figure 8 In the live broadcast interface, a selection panel 801 of the interactive information type is presented. In the selection panel, there are four types of interactive information type selection items. The user can select the interactive information type by clicking on any of the interactive information type selection items. Here, the target type is the picture type as an example. When a click operation on the picture type selection item is received, an interactive information input interface 802 of the picture type is presented, so that interactive information of the picture type can be input through the interface.
[0131] It should be noted that the presentation form of the selection items of the interactive information type is not limited to the above presentation form.
[0132] In some embodiments, the terminal can receive interactive information input based on a time point in the following manner: when the interactive information is voice information, presenting input prompt information corresponding to the interactive information at the time point, the input prompt information is used to indicate input voice information; and receiving voice information input based on the input prompt information.
[0133] In actual implementation, when the interactive information is voice information, the terminal will call the microphone to collect voice information and present corresponding input prompt information to prompt the user to input voice information. When the user makes a sound, the terminal can receive the corresponding voice information.
[0134] For example, Fig. 9 is a schematic diagram of the interface for voice information input provided in the embodiment of the present application, see Fig. 9 , presenting an input prompt message "voice input in progress" to prompt the user to input voice information. At this time, what the user says can be collected by the terminal and used as interactive information.
[0135] In some embodiments, the terminal may receive interactive information input based on a time point in the following manner: when the interactive information is image information or text information, presenting an adding entry for interactive information corresponding to the time point; and receiving interactive information input based on the adding entry.
[0136] In actual implementation, when the interactive information is image information or text information, a corresponding entry needs to be added to enable the input of the interactive information.
[0137] For example, when the interactive information is image information, an image adding entry is required to implement image input, where the image can be a picture or a video. Fig.10 is a schematic diagram of the interface for inputting image information provided in the embodiment of the present application, see Fig.10 , presenting an image adding entrance, and upon receiving a trigger operation for the image adding entrance, presenting an image selection interface to select the image to be input, and after receiving a selection operation for the target image, receiving the input interactive information (target image).
[0138] For example, when the interactive information is text information, a text box is required to implement text input. Fig.11 is a schematic diagram of the interface for inputting image information provided in the embodiment of the present application, see Fig.11 , presenting a text input box, and the terminal can receive interactive information (text information) input by the user through the text input box.
[0139] Step 304: In response to the sharing operation on the media file, share the target media file with the interactive information added.
[0140] In actual implementation, the target media file is obtained by adding the interactive information to the media file according to the time point corresponding to the interactive information. When the target media file is played and the playing progress reaches the time point, the interactive information is output.
[0141] In some embodiments, the terminal can share the target media file with added interactive information in the following manner: send the interactive information and the time point corresponding to the interactive information, and synthesize the interactive information and the media file based on the time point to obtain the target media file with added interactive information; obtain the link of the corresponding target media file; and share the link of the corresponding target media file.
[0142] Here, since general media files are protected by copyright, users cannot download media files locally to add interactive information to media files; and even if the media files are downloaded, editing the media files is very complicated. Based on this, the present application sends the interactive information and the time corresponding to the interactive information to the server, and the server automatically synthesizes the interactive information and the media file according to the time point to obtain the target media file with the interactive information added; then the link of the corresponding target media file is returned to the terminal, so that the terminal can directly share the link of the target media file; in this way, the target media file with the interactive information added is shared through a lightweight operation method.
[0143] In some embodiments, after receiving the input interactive information, the terminal may also send the interactive information and the time point corresponding to the interactive information to the server, so that the server can synthesize the interactive information with the media file based on the time point to obtain the target media file with the interactive information added; after receiving the sharing operation for the media file, the terminal directly obtains the link of the target media file from the server.
[0144] In some embodiments, the terminal may share the target media file with added interactive information in the following manner: present at least two sharing method selection items; in response to a selection operation of the target sharing method selection item, share the target media file with added interactive information through the target sharing method.
[0145] In actual implementation, the sharing can be achieved through a client that plays the media file or through a third-party client. Here, multiple sharing methods can be provided for the user to choose from. When a selection operation for a target sharing method is received from among the multiple sharing method options, the target media file with the interactive information added thereto is shared through the target sharing method.
[0146] For example, Fig.12 is a schematic diagram of the interface for sharing media files provided in the embodiment of the present application, see Fig.12The terminal presents a sharing interface and presents four sharing method selection items 1201 in the sharing interface. The user can select a sharing method by clicking any of the selection items.
[0147] In some embodiments, the terminal can share the target media file with added interactive information in the following manner: send the target media file with added interactive information through a conversation window, and present a conversation message corresponding to the target media file in the conversation window; wherein the conversation message includes prompt information, and the prompt information is used to indicate that interactive information is added to the target media file.
[0148] In actual implementation, the target media file with added interactive information can be sent to the sharee through the conversation window, wherein the conversation message corresponding to the target media file presented at least includes prompt information to inform the sharee that the target media file has added interactive information. Here, in addition to the prompt information indicating that the target media file has added interactive information, the conversation message can also include basic information of the media file, such as the name and picture of the media file.
[0149] For example, Fig.13 is a schematic diagram of the interface for sharing media files provided in the embodiment of the present application, see Fig.13 , the target media file here is a video with voice information added, the target media file is sent through the conversation window, and the corresponding conversation message 1301 is presented in the conversation window, the conversation message includes the prompt information "You have a voice message to be checked", the video name "XX Challenge Season 6", and the picture corresponding to the video.
[0150] It should be noted that the session window here may be a session window of a client that plays a media file, or may be a session window of a third-party application.
[0151] In some embodiments, a conversation message corresponding to the target media file is presented in the conversation window. The terminal may also present a playback interface corresponding to the target media file in response to a click operation on the conversation message, and present a playback timeline corresponding to the target media file in the playback interface of the target media file; and mark the time point corresponding to the interactive information on the playback timeline.
[0152] Here, the present application prompts the user to add the location where the interactive information is added by marking the time point corresponding to the interactive information on the playback timeline. In this way, the user can directly drag the playback progress to the time point to play the media content corresponding to the time point and the corresponding interactive information.
[0153] For example, Fig.14 is a schematic diagram of the playback interface of the target media file provided in the embodiment of the present application, see Fig.14, presenting a playback interface of the target media file and a playback timeline of the corresponding target media file, where a prompt message “This is the part with voice content” is displayed above a time point on the timeline to mark the time point corresponding to the interactive information.
[0154] It should be noted that the playback interface may be presented through a client that plays the media information, or through a corresponding applet, or through other methods, which are not limited here.
[0155] For example, when the session window is a session window of a third-party application, upon receiving a click operation on a session message in the session window, a client for playing media information can be opened to present a playback interface of a corresponding target media file through the client for playing media information; or, upon receiving a click operation on a session message in the session window, a mini-program corresponding to the client for playing media information can be opened in the third-party application to present a playback interface of a corresponding target media file through the mini-program.
[0156] In actual applications, when the sharee receives the target media file sent through the conversation window, the terminal on the sharee side will present the corresponding target media information in the conversation window. Here, the content of the conversation message presented by the terminal on the sharee side is consistent with the content of the conversation message presented by the terminal on the sharee side; and after receiving a click operation on the conversation message, the operation performed is also consistent with the operation performed by the terminal on the sharee side.
[0157] For example, Fig.15 is a schematic diagram of the interface for sharing media files on the sharee side provided in an embodiment of the present application, see Fig.13 and Fig.15 , the content presented in the session message is the same, the only difference is that, Fig.13 This is a schematic diagram of the interface of the sender of the session message. Fig.15 It is a schematic diagram of the interface of the recipient of the conversation message.
[0158] In some embodiments, the terminal can also share the target media file via Weibo, that is, publish the target media file to the corresponding social platform via Weibo, so that the sharer's friends can view the target media file via the social platform.
[0159] In some embodiments, the terminal on the sharer side can also serve as the terminal on the sharee's side: the terminal can also receive a media file with target interaction information added; in response to a playback operation on the media file with target interaction information added, play the media file with target interaction information added; when the playback progress reaches the time point corresponding to the target interaction information, output the target interaction information.
[0160] In actual implementation, the terminal can also receive media files with target interactive information added shared by other terminals. The user can trigger the corresponding playback operation to enable the terminal to play the media files with target interactive information added. When the playback progress reaches the time point corresponding to the target interactive information, the target interactive information is output.
[0161] The present application presents a playback interface of a corresponding media file, and presents a playback timeline of the corresponding media file in the playback interface; in response to a selection operation of a time point triggered by the playback timeline, marks the time point indicated by the selection operation on the playback timeline; receives interactive information input based on the time point; and in response to a sharing operation for the media file, shares a target media file with the interactive information added thereto; wherein, when the target media file is played and the playback progress reaches the time point, the interactive information is output; in this way, since the interactive information is added to the shared media file, the content form of the media file can be enriched. At the same time, since the interactive information is output when the playback progress of the target media file reaches the time point, the person being shared can learn the corresponding relationship between the interactive information and the specific content in the target media file, thereby improving the interaction efficiency between the sharer and the person being shared.
[0162] The following is a description of the media file sharing method provided by the embodiment of the present application. In some embodiments, the media file sharing method provided by the embodiment of the present application can be implemented by a first terminal, a second terminal and a server in collaboration, wherein the first terminal is a terminal on the sharing side, and the second terminal is a terminal on the sharing side. Fig.16 , Fig.16 is a flow chart of a method for sharing media files provided in an embodiment of the present application, which will be combined with Fig.16 The steps shown are explained.
[0163] Step 1601: The first terminal presents a playback interface corresponding to the media file, and presents a playback timeline of the corresponding media file in the playback interface.
[0164] For example, when the media file is a video, see Figure 4 , a video playback interface is presented through a video client, and a playback timeline 401 of the video is presented in the playback interface.
[0165] Step 1602: The first terminal presents a time point selection function item in the playback interface.
[0166] Step 1603: The first terminal presents a time point selection state in response to a trigger operation on a time point selection function item.
[0167] Step 1604: The first terminal receives a click operation on the playback timeline in the time point selection state.
[0168] Step 1605: In response to a click operation on the playback timeline, the first terminal marks a time point corresponding to a click position of the click operation on the playback timeline.
[0169] For example, see Figure 5 , a time point selection function item 501 is presented in the playback interface. After receiving a click operation on the time point selection function item 501, and then after receiving a click operation on point A on the timeline from the user, the point is marked with a dot mark to achieve the marking of the time point.
[0170] Step 1606: The first terminal receives a drag operation on a time point.
[0171] Step 1607: The first terminal follows the dragging operation and adjusts the position of the marked time point.
[0172] For example, Figure 6 is a schematic diagram of the interface for adjusting the time point provided in the embodiment of the present application, see Figure 6 , drag the marked time point to the right, and the position of the marked time point is adjusted from B to C.
[0173] Step 1608: After the dragging operation stops, the first terminal presents an entry for adding interactive information at the corresponding time point.
[0174] Step 1609: The first terminal receives interactive information based on the added entry input.
[0175] The interactive information here refers to image information or text information.
[0176] Step 1610: The first terminal sends the interactive information and the time point corresponding to the interactive information to the server.
[0177] Step 1611: The server synthesizes the interactive information and the media file based on the time point to obtain a target media file with the interactive information added.
[0178] Step 1612: The server sends a link corresponding to the target media file to the first terminal.
[0179] Step 1613: The first terminal sends a link corresponding to the target media file to the second terminal.
[0180] Step 1614: the second terminal presents a play interface of the target media file in response to the triggering operation on the link, and plays the target media file.
[0181] Step 1615: When the playback progress reaches the time point, the second terminal presents interactive information.
[0182] Here, a small window may be presented in the playback interface, and the interactive information may be presented through the small window; or, the interaction may be presented in the form of barrage; the interactive information may also be presented in other forms, which are not limited here.
[0183] For example, Fig.17 is a schematic diagram of the presentation interface of interactive information provided in the embodiment of the present application, see Fig.17 When the playback progress reaches the time point, interactive information 1701 is presented in the form of bullet screen in the playback interface.
[0184] The following is a description of the media file sharing method provided in the embodiments of the present application. In some embodiments, the media file sharing method provided in the embodiments of the present application can be implemented collaboratively by a first terminal, a second terminal, and a server, wherein the first terminal is a terminal on the sharing side, and the second terminal is a terminal on the shared side.
[0185] See also Fig.18 , Fig.18 is a flow chart of a method for sharing media files provided in an embodiment of the present application, which will be combined with Fig.18 The steps shown are explained.
[0186] Step 1801: The first terminal presents a playback interface corresponding to the media file, and presents a playback timeline of the corresponding media file in the playback interface.
[0187] Step 1802: The first terminal responds to the selection operation of the time point triggered based on the playback timeline, and marks the time point indicated by the selection operation on the playback timeline.
[0188] Step 1803: The first terminal presents editing function items for the media file.
[0189] Step 1804: In response to the triggering operation on the editing function item, the first terminal presents an editing interface of the corresponding media file and presents the marked time point in the editing interface.
[0190] Step 1805: When the number of marked time points is at least two, the first terminal receives a selection operation for a target time point from among the at least two time points.
[0191] Here, the user can trigger multiple time point selection operations to select multiple time points. Each time the terminal receives a selection operation, it will mark the corresponding time point to obtain multiple marked time points, and then select a target time point from these marked time points to input interactive information based on the selected time point.
[0192] Step 1806: The first terminal presents the input status of the interactive information in response to the selection operation on the target time point.
[0193] Step 1807: The first terminal receives interactive information input based on the target time point.
[0194] The interactive information here is voice information. The terminal will call the microphone to collect voice information. When the user makes a sound, the terminal can receive the corresponding voice information.
[0195] Step 1808: The first terminal sends the interactive information and the time point corresponding to the interactive information to the server in response to the sharing operation on the media file.
[0196] Step 1809: The server synthesizes the interactive information and the media file based on the time point to obtain a target media file with the interactive information added.
[0197] Step 1810: The server sends a link corresponding to the target media file to the first terminal.
[0198] Step 1811: The first terminal sends a link corresponding to the target media file to the second terminal through the conversation window.
[0199] Step 1812: The second terminal presents a conversation window, and presents a conversation message corresponding to the target media file in the conversation window.
[0200] The session message includes prompt information, and the prompt information is used to indicate that interactive information is added to the target media file.
[0201] For example, participate Fig.15 , receives the link of the target media file sent through the conversation window, and presents the corresponding conversation message in the conversation window, which includes the prompt information "You have a voice message to be checked", the video name "XX Challenge Season 6", and the picture corresponding to the video.
[0202] Step 1813: the second terminal presents a playback interface corresponding to the target media file in response to the click operation on the conversation message, and presents a playback timeline corresponding to the target media file in the playback interface of the target media file.
[0203] Step 1814: The second terminal marks the time point corresponding to the interactive information on the playback time axis.
[0204] For example, see Fig.14 , presenting a playback interface of the target media file and a playback timeline of the corresponding target media file, where a prompt message “This is the part with voice content” is displayed above a time point on the timeline to mark the time point corresponding to the interactive information.
[0205] Step 1815: The second terminal plays the media file of the target interactive information in response to the play operation on the target media file.
[0206] Step 1816: When the playing progress reaches the time point corresponding to the interactive information, the second terminal plays the interactive information.
[0207] Below, an exemplary application of the embodiment of the present application in an actual application scenario will be described. In actual implementation, the media file can be a video, audio, etc. Here, the media file is a video as an example to illustrate the media file sharing method provided by the embodiment of the present application. The media file sharing method can be implemented by the first terminal, the second terminal and the server in collaboration, wherein the first terminal is a terminal on the sharing side, and the second terminal is a terminal on the shared side.
[0208] See also Fig.19 , Fig.19 is a flow chart of a method for sharing media files provided in an embodiment of the present application, which will be combined with Fig.19 The steps shown are explained.
[0209] Step 1901: The first terminal presents a playback interface of the corresponding video, and presents a playback timeline and a time point selection function item in the playback interface.
[0210] Step 1902: In response to a selection operation on a time point, the first terminal marks the time point indicated by the selection operation.
[0211] In actual implementation, the playback interface presents a playback timeline and a time point selection function item. During video playback, important time points can be selected and marked based on the playback timeline and the time point selection function item to record the clips that may need to be edited. Here, the playback timeline and the time point selection function item can be hidden. When it is necessary to mark the time point, the terminal presents the playback timeline and the time point selection function item through the corresponding trigger operation.
[0212] For example, see Figure 5 , a time point selection function item 501 is presented in the playback interface. After receiving a click operation on the time point selection function item 501, and then after receiving a click operation on point A on the timeline from the user, the point is marked with a dot mark to achieve the marking of the time point.
[0213] Here, after marking a time point, you can also adjust the marked time point by dragging it left or right. The position of the marked time point changes in real time as the dragging operation proceeds. When the dragging operation stops, the position where the dragging operation stops is the position of the final marked time point. For example, see Figure 6, drag the marked time point to the right, and the position of the marked time point is adjusted from B to C.
[0214] In actual implementation, the terminal will upload the marked time point to the server to facilitate editing of the segment corresponding to the time point when sharing the video.
[0215] It should be noted that the normal playback of the video is not affected during the time point marking operation.
[0216] Step 1903: In response to the triggering operation on the sharing function item, the first terminal presents a sharing panel, and presents an editing function item for the media file in the sharing panel.
[0217] For example, Fig. 20 This is a schematic diagram of the interface for presenting editing function items provided by this application, see Fig. 20 , a sharing function item 2001 is presented in the live broadcast interface. When a trigger operation for the sharing function item 2001 is received, a sharing panel 2002 is presented, and an editing function item 2003 is presented in the sharing panel 2002.
[0218] Step 1904: In response to the triggering operation on the editing function item, the first terminal presents an editing interface of the corresponding media file and presents the marked time point in the editing interface.
[0219] Here, the number of marked time points presented in the editing interface can be one or more. That is, the user can trigger the selection operation of multiple time points to select multiple time points. Each time the terminal receives a selection operation, it will mark the corresponding time point to obtain multiple marked time points. In this way, the user can input voice information based on one or more marked time points.
[0220] For example, see Figure 7 When the media file is a video, the corresponding video image and the playback timeline are presented in the editing interface according to the playback progress of the video, wherein a plurality of marked time points are presented on the playback timeline, and an input function item of the interactive information corresponding to the time point is presented above each marked time point.
[0221] Step 1905: The first terminal inputs voice information based on the presented marked time point.
[0222] For example, participate Figure 7 , the user can select the target time point by clicking the input function item above the time point, and trigger the corresponding interactive information receiving function. After receiving the click operation on a certain input function item, the terminal presents the input status of the interactive information and receives the input voice information, which corresponds to the time point below the input function item.
[0223] Step 1906: The first terminal sends the input voice information and the corresponding time point to the server.
[0224] Step 1907: The server synthesizes the voice information and the video according to the time point to obtain the target video, and generates a link corresponding to the target video.
[0225] Step 1908: The server sends a link corresponding to the target video to the first terminal.
[0226] Step 1909: In response to the sharing operation on the target video, the first terminal sends a link corresponding to the target video to the second terminal.
[0227] Step 1910: The second terminal presents a link corresponding to the target video.
[0228] Here, the link of the corresponding target video can be sent through the conversation window. After receiving the link of the corresponding target video, the second terminal presents the link of the corresponding target video in the form of a conversation message, and the conversation message also includes prompt information to inform the sharee that voice information is added to the target media file.
[0229] For example, see Fig.15 , a conversation message is presented in the conversation window, which includes a prompt message "You have a voice message to be checked", the video name "XX Challenge Season 6", and a picture corresponding to the video.
[0230] Step 1911: the second terminal presents a playback interface of the target video in response to a click operation on the link.
[0231] Here, the playback timeline of the corresponding target video will be presented in the playback interface, and the time point corresponding to the voice information will be marked on the playback timeline. Fig.14 , presenting the playback interface of the target video and the playback timeline of the corresponding target video. There is a time point on the timeline with a prompt message "This is the part with voice content" displayed above it to mark the time point corresponding to the voice information.
[0232] Step 1912: The second terminal plays the target video in response to the play instruction for the target video, and plays the voice information when the play progress reaches the time point corresponding to the voice information.
[0233] The embodiment of the present application provides a method for sharing media files, which improves the fun of media file sharing and gives full play to the creativity of users by combining professionally produced content (PGC) and user-generated content (UGC). At the same time, a lightweight operation method is adopted to meet the sharing needs of users' personalized content, enhance the users' desire to share, and provide the shared users with a better interactive experience.
[0234] Next, the exemplary structure of the media file sharing device 455 provided in the embodiment of the present invention implemented as a software module is described. Fig.21 FIG. 1 is a schematic diagram of the structure of a media file sharing device provided by an embodiment of the present invention. Fig.21 As shown, the media file sharing device provided by the embodiment of the present invention includes:
[0235] The presentation module 4551 is used to present a playback interface corresponding to the media file, and present a playback timeline corresponding to the media file in the playback interface;
[0236] A marking module 4552, configured to respond to a selection operation of a time point triggered based on the playback time axis and mark the time point indicated by the selection operation on the playback time axis;
[0237] The receiving module 4553 is used to receive the interactive information input based on the time point;
[0238] A sharing module 4554, configured to share a target media file with the interactive information added thereto in response to a sharing operation on the media file;
[0239] When the target media file is played and the playing progress reaches the time point, the interactive information is output.
[0240] In some embodiments, the marking module 4552 is further used to present a time point selection function item in the playback interface; in response to a trigger operation on the time point selection function item, present a time point selection state;
[0241] In the time point selection state, a click operation on the playback time axis is received, and the click operation is used to trigger the time point selection operation;
[0242] The time point indicated by the selection operation is the time point corresponding to the click position of the click operation.
[0243] In some embodiments, the marking module 4552 is further configured to receive a drag operation for the time point;
[0244] Following the dragging operation, the position of the marked time point is adjusted.
[0245] In some embodiments, the receiving module 4553 is further used to present editing function items for the media file;
[0246] In response to a triggering operation on the editing function item, presenting an editing interface corresponding to the media file, and presenting the marked time point in the editing interface;
[0247] When the number of the marked time points is at least two, a selection operation for a target time point among the at least two time points is received;
[0248] In response to a selection operation on the target time point, presenting an input state of interactive information;
[0249] Interaction information input based on the target time point is received.
[0250] In some embodiments, the receiving module 4553 is further used to present at least two types of interactive information options;
[0251] In response to a selection operation of a target type of selection item among the at least two types of interactive information, presenting an interactive information input interface corresponding to the target type;
[0252] Based on the interactive information input interface, interactive information of a target type input based on the time point is received.
[0253] In some embodiments, the receiving module 4553 is further used to present input prompt information of the interactive information corresponding to the time point when the interactive information is voice information, and the input prompt information is used to indicate inputting voice information;
[0254] Voice information input based on the input prompt information is received.
[0255] In some embodiments, the receiving module 4553 is further used to present an adding entry for the interactive information corresponding to the time point when the interactive information is image information or text information;
[0256] Interaction information based on the added entry input is received.
[0257] In some embodiments, the sharing module 4554 is further used to send the interaction information and the time point corresponding to the interaction information, so as to synthesize the interaction information with the media file based on the time point to obtain a target media file with the interaction information added thereto;
[0258] Obtaining a link corresponding to the target media file;
[0259] A link corresponding to the target media file is shared.
[0260] In some embodiments, the sharing module 4554 is further used to present at least two sharing options;
[0261] In response to a selection operation of a selection item of a target sharing method, a target media file with the interactive information added thereto is shared through the target sharing method.
[0262] In some embodiments, the sharing module 4554 is further used to send the target media file through a conversation window, and present a conversation message corresponding to the target media file in the conversation window;
[0263] The session message includes prompt information, and the prompt information is used to indicate that interactive information is added to the target media file.
[0264] In some embodiments, the sharing module 4554 is further configured to present a playback interface corresponding to the target media file in response to a click operation on the conversation message, and
[0265] In the playback interface of the target media file, presenting a playback timeline corresponding to the target media file;
[0266] The time point corresponding to the interactive information is marked on the playback timeline.
[0267] In some embodiments, the sharing module 4554 is further used to receive a media file with target interactive information added;
[0268] In response to a play operation on the media file with the target interactive information added thereto, playing the media file with the target interactive information added thereto;
[0269] When the playback progress reaches the time point corresponding to the target interaction information, the target interaction information is output.
[0270] An embodiment of the present application provides a computer device, including:
[0271] A memory for storing executable instructions;
[0272] The processor is used to implement the media file sharing method provided in the embodiment of the present application when executing the executable instructions stored in the memory.
[0273] The embodiment of the present application provides a computer program product or a computer program, which includes computer instructions stored in a computer-readable storage medium. The processor of the computer device reads the computer instructions from the computer-readable storage medium, and the processor executes the computer instructions, so that the computer device executes the above-mentioned media file sharing method of the embodiment of the present application.
[0274] The present application embodiment provides a computer-readable storage medium storing executable instructions, wherein the executable instructions are stored. When the executable instructions are executed by a processor, the processor will be caused to execute the method provided by the present application embodiment, for example, Figure 3 The method shown.
[0275] In some embodiments, the computer-readable storage medium may be a memory such as FRAM, ROM, PROM, EPROM, EEPROM, flash memory, magnetic surface storage, optical disk, or CD-ROM; or it may be various devices including one or any combination of the above memories.
[0276] In some embodiments, executable instructions may be in the form of a program, software, software module, script or code, written in any form of programming language (including compiled or interpreted languages, or declarative or procedural languages), 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.
[0277] As an example, executable instructions may, but need not, correspond to a file in a file system, may be stored as part of a file that stores other programs or data, such as in one or more scripts in a HyperText Markup Language (HTML) document, in a single file dedicated to the program in question, or in multiple coordinated files (e.g., files storing one or more modules, subroutines, or code portions).
[0278] 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 on multiple computing devices distributed across multiple sites and interconnected by a communication network.
[0279] The above is only an embodiment of the present application and is not intended to limit the protection scope of the present application. Any modifications, equivalent substitutions and improvements made within the spirit and scope of the present application are included in the protection scope of the present application.
Claims
1. A method for sharing a media file, characterized in that: The method comprises: Presenting a conversation message corresponding to the target video file in the conversation window, wherein the conversation message includes prompt information, and the prompt information is used to prompt that voice information is added to the target video file; In response to a click operation on the conversation message, presenting a playback interface corresponding to the target video file; In response to a play operation on the target video file, playing the target video file in the play interface; When the playing progress of the target video file reaches the time point corresponding to the voice information, the voice information is played.
2. The method according to claim 1, characterized in that The playback interface includes a playback timeline of the target video file, and the time point corresponding to the voice information is marked on the playback timeline.
3. The method according to claim 1, characterized in that The playing of the voice information includes: Presenting a small window in the playback interface and playing the voice information through the small window, wherein the size of the small window is smaller than the size of the playback interface; or, The voice information is played in the playback interface in the form of bullet screen.
4. The method according to claim 1, characterized in that Before presenting the session message corresponding to the target video file in the session window, the method further includes: Presenting a playback interface of the video file, and presenting a playback timeline of the video file in the playback interface; In response to a selection operation of a time point triggered based on the playback timeline, marking the time point indicated by the selection operation on the playback timeline; receiving voice information input based on the time point; In response to a sharing operation on the media file, the target video file with the voice information added thereto is sent through a conversation window.
5. The method according to claim 4, characterized in that In response to the selection operation of the time point triggered based on the playback timeline, before marking the time point indicated by the selection operation on the playback timeline, the method further includes: In the playback interface, a time point selection function item is presented; In response to a triggering operation on the time point selection function item, presenting a time point selection state; In the time point selection state, receiving a click operation on the playback time axis, the click operation being used to trigger a time point selection operation; The time point indicated by the selection operation is the time point corresponding to the click position of the click operation.
6. The method according to claim 4, characterized in that Before receiving the voice information input based on the time point, the method further includes: receiving a drag operation for the time point; Following the dragging operation, the position of the marked time point is adjusted.
7. The method according to claim 4, characterized in that The receiving the voice information input based on the time point includes: Presenting input prompt information corresponding to the voice information at the time point, wherein the input prompt information is used to indicate input voice information; The voice information input based on the input prompt information is received.
8. The method according to claim 4, characterized in that The receiving the voice information input based on the time point includes: Presenting editing function items for the video file; In response to a triggering operation on the editing function item, an editing interface corresponding to the video file is presented, and the marked time point is presented in the editing interface; When the number of the marked time points is at least two, receiving a selection operation for a target time point among the at least two time points; In response to a selection operation on the target time point, presenting an input state of the voice information; Receive voice information input based on the target time point.
9. The method according to claim 4, characterized in that The step of sending the target video file with the voice information added thereto through the conversation window comprises: Sending the voice information and the time point corresponding to the voice information through the conversation window, so as to synthesize the voice information with the video file based on the time point to obtain a target video file with the voice information added thereto; Obtain a link corresponding to the target video file; Send a link corresponding to the target video file.
10. A media file sharing device, characterized in that: The device comprises: A presentation module, used for presenting a conversation message corresponding to the target video file in the conversation window, wherein the conversation message includes prompt information, and the prompt information is used for prompting that voice information is added to the target video file; The presentation module is further configured to present a playback interface corresponding to the target video file in response to a click operation on the conversation message; A playing module, configured to play the target video file in the playing interface in response to a playing operation on the target video file; The playing module is further used to play the voice information when the playing progress of the target video file reaches the time point corresponding to the voice information.
11. An electronic device, characterized in that: include: A memory for storing executable instructions; The processor is used to implement the media file sharing method described in any one of claims 1 to 9 when executing the executable instructions stored in the memory.
12. A computer-readable storage medium, characterized in that: Executable instructions are stored, and when executed by a processor, the method for implementing the media file according to any one of claims 1 to 9 is implemented.