Multimedia file processing method and device and storage medium
By detecting and recording the sliding track of the handwriting input device, the problem of inaccurate adjustment of the multimedia file playback progress is solved, and the efficient and convenient jump of the multimedia file is achieved, which improves the user experience.
Patent Information
- Application Number
- CN202310629040.1
- Authority / Receiving Office
- CN · China
- Patent Type
- Applications(China)
- Current Assignee / Owner
- Filing Date
- 2023-05-30
- Publication Date
- 2024-12-03
AI Technical Summary
When playing existing multimedia files, it is difficult for users to accurately adjust the playback progress, especially in online multimedia teaching files. When users want to watch or listen to specific content repeatedly, they cannot accurately jump to the expected time point outside the breakpoint.
By detecting the sliding track of the handwriting input device on the screen, when the track meets the preset track, the current playback time point is recorded, and in response to user operations, the multimedia file is controlled to start playing from a specified time point.
It realizes accurate adjustment of the playback progress of multimedia files, simplifies user operations, improves user experience, and allows users to easily jump to the desired playback time point.
Smart Images

Figure CN119065571A_ABST
Abstract
Description
Technical Field
[0001] The present disclosure relates to the field of multimedia data processing, and in particular to a multimedia file processing method and device, and a storage medium. Background Art
[0002] With the continuous development of electronic devices, more and more functions appear in people's field of vision, and a variety of tasks can be completed through electronic devices.
[0003] In daily life, users can play multimedia files through electronic devices. During playback, if the user wants to fast forward or rewind, the usual operation scheme is to drag the progress bar with a finger. However, this method makes it difficult to accurately adjust the playback progress of the multimedia file to the time point desired by the user. Summary of the invention
[0004] The present application discloses a multimedia file processing method and device, and a storage medium.
[0005] According to a first aspect of an embodiment of the present disclosure, a method for processing a multimedia file is provided, the method comprising:
[0006] When playing the multimedia file, detecting a first sliding track of a handwriting input device connected to the electronic device on the screen;
[0007] When the first sliding track matches the first preset track, recording the current playing time point of the multimedia file;
[0008] In response to a jump operation to a designated playback time point, the multimedia file is controlled to start playing from the designated playback time point; wherein the designated playback time point is the recorded playback time point.
[0009] According to a second aspect of an embodiment of the present disclosure, a multimedia file processing device is provided, the device comprising:
[0010] A detection module, configured to detect a first sliding track of a handwriting input device connected to the electronic device on an interface when the multimedia file is played;
[0011] A recording module, configured to record a current playing time point of the multimedia file when the first sliding track matches a first preset track;
[0012] The execution module is used to control the multimedia file to start playing from the designated playback time point in response to a jump operation to the designated playback time point; wherein the designated playback time point is the recorded playback time point.
[0013] According to a third aspect of an embodiment of the present disclosure, there is provided a computer-readable storage medium on which a computer program is stored. When the computer program is executed by a processor, the steps of any of the above-mentioned multimedia file processing methods are implemented.
[0014] According to a fourth aspect of an embodiment of the present disclosure, there is provided an electronic device, including:
[0015] processor;
[0016] a memory for storing processor-executable instructions;
[0017] The processor is configured to execute the executable instructions to implement the steps of any of the above-mentioned multimedia file processing methods.
[0018] The technical solution provided by the embodiments of the present disclosure may have the following beneficial effects:
[0019] In the present disclosure, when a multimedia file is played, a first sliding track on the screen can be detected. When the first sliding track matches a first preset track, the current playing time point of the multimedia file is automatically recorded, and in response to a jump operation, the multimedia file is controlled to start playing from a specified playing time point, wherein the specified playing time point is a recorded playing time point. Through the above process, the playing progress of the multimedia file can be accurately adjusted to the time point expected by the user, which is simple to implement and has high usability.
[0020] It is to be understood that the foregoing general description and the following detailed description are exemplary and explanatory only and are not restrictive of the present disclosure. BRIEF DESCRIPTION OF THE DRAWINGS
[0021] The accompanying drawings, which are incorporated in and constitute a part of this specification, illustrate embodiments consistent with the invention and, together with the description, serve to explain the principles of the invention.
[0022] Figure 1 is a flowchart of a multimedia file processing method according to an exemplary embodiment of the present disclosure;
[0023] FIG. 2A to FIG. 2E is a schematic diagram showing a method of detecting a jump operation and determining a designated playback time point according to an exemplary embodiment of the present disclosure;
[0024] Figure 3 is a block diagram of a multimedia file processing device according to an exemplary embodiment of the present disclosure;
[0025] Figure 4 It is a structural schematic diagram of a multimedia file processing device according to an exemplary embodiment of the present disclosure. DETAILED DESCRIPTION
[0026] Exemplary embodiments will be described in detail herein, examples of which are shown in the accompanying drawings. When the following description refers to the drawings, the same numbers in different drawings represent the same or similar elements unless otherwise indicated. The embodiments described in the following exemplary embodiments do not represent all embodiments consistent with the present invention. Instead, they are merely examples of devices and methods consistent with some aspects of the present invention as detailed in the appended claims.
[0027] At present, with the advent of the online class era, more and more online multimedia teaching files are appearing in the field of vision. If users want to watch and / or listen to a certain part of the content repeatedly, they need to drag the progress bar of the multimedia file with their fingers. However, it is difficult to accurately adjust the progress of the multimedia file in this way. In addition, although there are breakpoints in some multimedia files, the starting position of the content that the user wants to watch and / or listen to repeatedly does not coincide with the breakpoint, which also causes the problem of being unable to accurately adjust the playback progress of the multimedia file. Among them, the breakpoint refers to one or more playback positions in the multimedia file that can be directly jumped to and provided by the publisher of the multimedia file. The breakpoint cannot be set by the user.
[0028] In order to solve the above technical problems, the present disclosure provides the following multimedia file processing method and device, and storage medium, which can accurately adjust the video progress to the time point expected by the user for playback, with simple implementation and high usability.
[0029] Reference Figure 1 As shown, Figure 1 FIG. 1 is a flowchart of a multimedia file processing method shown in an exemplary embodiment of the present disclosure. The embodiment is described from the electronic device side, wherein the electronic device includes but is not limited to mobile phones, laptops, tablet computers, desktops, personal work assistants and other devices. Figure 1 As shown, the multimedia file processing method includes the following steps:
[0030] In step 101, when the multimedia file is played, a first sliding track on the screen is detected.
[0031] In an embodiment of the present disclosure, a user may slide on the screen of an electronic device through a handwriting input device, other input devices or handwriting, and the electronic device may automatically detect a first sliding track on the screen.
[0032] Exemplarily, the handwriting input device may include but is not limited to a stylus or other devices that can be used for handwriting input. The handwriting input device may be connected to the electronic device in advance through a wired connection or a wireless connection.
[0033] Exemplarily, the handwriting input device can establish a connection with the electronic device via a wireless connection method such as Bluetooth, infrared, or Zigbee.
[0034] Exemplarily, other input devices include but are not limited to external input devices such as a mouse and a keyboard, or portable input devices such as a USB flash drive, or other input devices. The present disclosure is not limited to this. Among them, other input devices can also be pre-connected to the electronic device via a wired connection or a wireless connection.
[0035] In the embodiments of the present disclosure, multimedia files include but are not limited to audio files and video files.
[0036] In a possible implementation, the electronic device may detect the first sliding track on the screen by detecting changes in resistance, electromagnetism, or capacitance at various locations on the screen.
[0037] In step 102, when the first sliding track matches a first preset track, the current playing time point of the multimedia file is recorded.
[0038] The first preset trajectory includes but is not limited to any of the following: sliding downward first and then sliding upward; sliding upward first and then sliding downward; sliding up and down back and forth.
[0039] When the electronic device determines that the first sliding track on the screen matches the first preset track, the current playing time point of the multimedia file can be recorded.
[0040] For example, the multimedia file is 50 minutes in total, and the current playing time point is 5 minutes and 18 seconds, then the electronic device records the current playing time point, that is, records 5 minutes and 18 seconds.
[0041] In a possible implementation, the electronic device may output a query message at this time, the query message being used to ask the user whether a text description of the currently recorded playback time point is required. Figure 2A shown.
[0042] Further, when the electronic device determines that a text description is needed for the playback time point of the current recording, for example, the user Figure 2A If a virtual key of "Yes" is selected in the interface, the electronic device can display an input interface, such as a text input box, so that the user can enter a text description of the current playback time point in the text box, such as knowledge point A. The electronic device obtains and records the text description corresponding to the playback time point. For example, the electronic device records the playback time point 5 minutes and 18 seconds and the knowledge point A corresponding to the playback time point.
[0043] In step 103, in response to a jump operation to jump to a designated playback time point, the multimedia file is controlled to start playing from the designated playback time point.
[0044] The designated playback time point is the recorded playback time point.
[0045] If the electronic device has recorded multiple playback time points, the designated time point may be one of the multiple recorded playback time points.
[0046] In a possible implementation, step 103 may be implemented in any of the following ways:
[0047] In the first mode, in response to a search operation for a play time point, all the recorded play time points are displayed on the interface of the electronic device. In response to a selection operation for the play time point, the multimedia file is controlled to start playing from the play time point corresponding to the selection operation.
[0048] In an embodiment of the present disclosure, the electronic device may respond to a search operation for a playback time point, for example, when a user selects a virtual key to search for a playback time point, and display all the recorded playback time points on the interface of the electronic device, for example Figure 2B shown.
[0049] In an example, the number of the playback time points selected by the selection operation is 1, for example, the playback time points selected by the selection operation include a first playback time point, and the electronic device can control the multimedia file to start playing from the first playback time point.
[0050] For example, in Figure 2B In the selection operation, the play time point 2 is selected, and the electronic device automatically controls the multimedia file to start playing from the play time point 2.
[0051] In another example, the number of playback time points selected by the selection operation is 2, for example, the playback time points selected by the selection operation include a second playback time point and a third playback time point, wherein the second playback time point is before the third playback time point, then the electronic device can control the multimedia file to start from the second playback time point and end at the third playback time point.
[0052] For example, in Figure 2B In the selection operation, the play time point 1 and the play time point 3 are selected, and the electronic device automatically controls the multimedia file to start playing from the play time point 1 and end playing at the play time point 3.
[0053] The second way is to control the multimedia file to start playing from the designated playing time point based on the second sliding track detected on the screen.
[0054] In an embodiment of the present disclosure, in response to detecting the second sliding trajectory, and the second sliding trajectory conforming to the second preset trajectory, the electronic device may control the multimedia file to start playing from the designated playback time point.
[0055] In one example, the second preset track includes sliding to the left or sliding to the right. It should be noted that in order to distinguish it from the fast forward operation and the fast rewind operation, the second preset track can be located in a specified area of the screen of the electronic device, such as the upper half of the screen, for example. Figure 2C or Figure 2D As shown. That is, the electronic device detects the second sliding track, and the second sliding track is a sliding track to the left or right in the designated area of the viewing screen. At this time, the electronic device determines that the designated playback time point is a recorded playback time point determined based on the first time point and the sliding direction of the second sliding track. Among them, the first time point is the time point when the second sliding track is detected.
[0056] Exemplarily, the electronic device detects a second sliding track, and the second sliding track conforms to a sliding track to the left in the upper half of the screen, then the electronic device determines the previous recorded playback time point adjacent to the first time point as the designated playback time point, for example Figure 2C shown.
[0057] Exemplarily, the electronic device detects a second sliding track, and the second sliding track conforms to a sliding track to the right in the upper half of the screen, then the electronic device determines the next recorded playback time point adjacent to the first time point as the designated playback time point, for example Figure 2D shown.
[0058] In another example, the second preset track includes a preset track having two intersections with the playback progress bar of the multimedia file, wherein the two intersections correspond to a fourth playback time point and a fifth playback time point, respectively, and the fourth playback time point is before the fifth playback time point. At this time, the electronic device determines that the designated playback time point is the fourth playback time point.
[0059] Exemplarily, the second preset track is used to draw a circle on the progress bar of the multimedia file. Figure 2E As shown, the electronic device determines that the time point corresponding to the intersection of the circle and the left side of the progress bar is the fourth playback time point, and the time point corresponding to the intersection of the circle and the right side of the progress bar is the fifth playback time point, and the fourth playback time point is before the fifth playback time point. The electronic device automatically records the fourth playback time point and the fifth playback time point.
[0060] Furthermore, the electronic device may control the multimedia file to loop and play the target file content between the fourth play time point and the fifth play time point.
[0061] Exemplarily, the second sliding trajectory includes clicking more than twice at two different positions on the progress bar, and the electronic device determines that the second sliding trajectory meets the second preset trajectory, that is, the second sliding trajectory meets the preset trajectory with two intersections with the playback progress bar of the multimedia file. At this time, the electronic device determines the fourth playback time point and the fifth playback time point corresponding to the two positions, respectively, and the fourth playback time point is before the fifth playback time point.
[0062] Furthermore, the electronic device may control the multimedia file to loop and play the target file content between the fourth play time point and the fifth play time point.
[0063] It should be noted that the electronic device loops the target file content between the fourth playback time point and the fifth playback time point until the electronic device detects that the fourth playback time point is deleted, or detects that the fifth playback time point is deleted, or detects that the second sliding track is deleted, and stops looping the target file content.
[0064] In one example, for example Figure 2E As shown, when the user manually deletes the circle, the loop playback of the target file content stops. Or when the user manually deletes the fourth playback time point or the fifth playback time point, the loop playback of the target file content stops.
[0065] In another example, when the user manually chooses to delete at least one of the two progress bar positions, the loop playback of the target file content is stopped. The above is only an exemplary description, and other methods of controlling the multimedia file to start playing from the specified playback time point based on the detected second sliding track should fall within the protection scope of the present disclosure.
[0066] It should also be noted that when the electronic device detects a third sliding track of the manual input device in other areas, for example, when a left sliding is detected in the lower half of the screen, a fast-forward operation is performed on the multimedia file. When a right sliding is detected in the lower half of the screen, a fast-forward operation is performed on the multimedia file.
[0067] In the above embodiment, the playback progress of the multimedia file can be accurately adjusted to the time point expected by the user, which is simple to implement and has high usability.
[0068] The above scheme is further illustrated as follows.
[0069] First, when a user watches a multimedia file, which is a video file (it is understood that the multimedia file may also be an audio file, which is not limited in the present disclosure), the electronic device automatically detects the first sliding track of the stylus (the present embodiment takes the stylus as an example, it is understood that other input devices or manual input methods are within the protection scope of the present disclosure) on the screen. The electronic device has established a wired or wireless connection with the stylus in advance.
[0070] Secondly, when the first sliding track of the stylus on the screen is sliding upward and then sliding downward (or sliding downward and then sliding upward, or sliding back and forth), it is determined that the current play time point needs to be marked. At this time, the electronic device records the current play time point of the multimedia file and pops up a query message to ask the user whether a text description of the play time point is required. When it is determined that the user needs to provide a text description of the currently recorded play time point, an input interface is displayed to obtain and record the text description corresponding to the play time point.
[0071] Again, the user can search for the playback time point, and the electronic device responds to the search operation for the playback time point by displaying all the recorded playback time points on the interface of the electronic device. After the user selects a playback time point, the electronic device responds to the selection operation for the playback time point and controls the multimedia file to start playing from the playback time point corresponding to the selection operation.
[0072] For example, when the user selects a first playback time point through a selection operation, the electronic device controls the multimedia file to start playing from the first playback time point.
[0073] For another example, when the user selects the second playback time point and the third playback time point through a selection operation, the electronic device controls the multimedia file to start playing from the second playback time point and end playing at the third playback time point, and the second playback time point is before the third playback time point.
[0074] Alternatively, when the stylus slides to the left on the upper half of the screen, the electronic device determines that a second sliding track is detected, and the second sliding track conforms to a second preset track, then the previous playback time point adjacent to the first time point can be determined as the designated playback time point, and the multimedia file is controlled to start playing from the designated playback time point. The first time point is the time point when the second sliding track is detected.
[0075] When the stylus slides to the right on the upper half of the screen, the electronic device determines that a second sliding track is detected, and the second sliding track conforms to a second preset track, and at this time, a subsequent playback time point adjacent to the first time point can be determined as a designated playback time point, and the multimedia file is controlled to start playing from the designated playback time point. The first time point is the time point when the second sliding track is detected.
[0076] Of course, the electronic device performs the above jump operation when there is a previous playback time point or a subsequent playback time point adjacent to the first time point.
[0077] Again, the existing fast forward or fast rewind operation of the video file can be achieved by sliding the stylus to the left or right in the lower half of the screen.
[0078] Again, the user can directly draw a circle on the progress bar with the stylus. When the second sliding track of the stylus draws a complete circle on the progress bar, the electronic device determines to repeat playing part of the content of the video file. The electronic device determines the positions of the two progress bars circled by the circle, and respectively determines the fourth play time point and the fifth play time point corresponding to the different progress bar positions. The target file content between the fourth play time point and the fifth play time point is played in a loop.
[0079] Finally, the circle can be retained on the screen until the user manually removes the circle or manually deletes the fourth play time point or the fifth play time point, at which time the electronic device stops looping the target file content. In the above embodiment, the video progress can be accurately adjusted to the time point desired by the user for playback, which is simple to implement and has high usability.
[0080] Corresponding to the aforementioned application function implementation method embodiment, the present disclosure also provides an application function implementation device embodiment.
[0081] Reference Figure 3 , Figure 3 1 is a block diagram of a multimedia file processing device according to an exemplary embodiment, wherein the device is applied to an electronic device, and the device includes:
[0082] A detection module 301, configured to detect a first sliding track on the interface when playing the multimedia file;
[0083] A recording module 302, configured to record a current playing time point of the multimedia file when the first sliding track matches a first preset track;
[0084] The execution module 303 is used to control the multimedia file to start playing from the designated playback time point in response to a jump operation to jump to the designated playback time point; wherein the designated playback time point is the recorded playback time point.
[0085] Optionally, the execution module 303 includes:
[0086] A display submodule, configured to display all the recorded playback time points on the interface of the electronic device in response to a search operation for the playback time points;
[0087] The first control submodule is used to control the multimedia file to start playing from the playing time point corresponding to the selected operation in response to the selected operation for the playing time point.
[0088] Optionally, the first control submodule is further used for any of the following:
[0089] If the play time point selected by the selection operation includes a first play time point, controlling the multimedia file to start playing from the first play time point;
[0090] If the playback time point selected by the selection operation includes a second playback time point and a third playback time point, the multimedia file is controlled to start playing from the second playback time point and end playing at the third playback time point; wherein the second playback time point is before the third playback time point.
[0091] Optionally, the execution module 303 includes:
[0092] The second control submodule is used to control the multimedia file to start playing from the designated playing time point in response to detecting a second sliding trajectory and the second sliding trajectory conforming to a second preset trajectory.
[0093] Optionally, the second preset trajectory includes:
[0094] A sliding track to the left or a sliding track to the right in a designated area of the screen;
[0095] The designated playback time point is a recorded playback time point determined based on a first time point and a sliding direction of the second sliding track, and the first time point is a time point when the second sliding track is detected.
[0096] Optionally, the second preset trajectory includes:
[0097] A preset track having two intersection points with the playback progress bar of the multimedia file, the two intersection points respectively corresponding to a fourth playback time point and a fifth playback time point, the fourth playback time point being before the fifth playback time point;
[0098] The designated playback time point is the fourth playback time point.
[0099] Optionally, the execution module includes:
[0100] The third control submodule is used to loop the target file content between the fourth playback time point and the fifth playback time point.
[0101] Optionally, the device further comprises:
[0102] The control module is used to stop the loop playback of the target file content in response to the fourth playback time point being deleted, the fifth playback time point being deleted, or the second sliding track being deleted.
[0103] Optionally, the device further comprises ( Figure 3 Not shown):
[0104] An output module, used for outputting inquiry information; wherein the inquiry information is used for asking the user whether a text description of the currently recorded playback time point is required;
[0105] The execution module is also used to display an input interface to obtain and record the text description corresponding to the playback time point when it is determined that the user needs to provide a text description for the currently recorded playback time point.
[0106] For the device embodiments, since they basically correspond to the method embodiments, the relevant parts can refer to the partial description of the method embodiments. The device embodiments described above are only schematic, wherein the units described above as separate components may or may not be physically separated, and the components displayed as units may or may not be physical units, that is, they may be located in one place, or they may be distributed on multiple network units. Some or all of the modules may be selected according to actual needs to achieve the purpose of the disclosed solution. A person of ordinary skill in the art may understand and implement it without creative work.
[0107] Correspondingly, the present disclosure also provides a computer-readable storage medium for storing a computer program, wherein the computer program is used to implement the steps of any of the above-mentioned multimedia file processing methods when executed by a processor.
[0108] Accordingly, the present disclosure also provides a multimedia file processing device, comprising:
[0109] processor;
[0110] a memory for storing processor-executable instructions;
[0111] The processor is configured to execute the executable instructions to implement the steps of any of the above-mentioned multimedia file processing methods.
[0112] Figure 4 4 is a block diagram of a multimedia file processing device 400 according to an exemplary embodiment. For example, the device 400 may be an electronic device such as a mobile phone, a tablet computer, an e-book reader, a multimedia player, a wearable device, a vehicle-mounted user device, an iPad, a smart TV, etc.
[0113] Reference Figure 4 , the device 400 may include one or more of the following components: a processing component 402 , a memory 404 , a power component 406 , a multimedia component 408 , an audio component 410 , an input / output (I / O) interface 412 , a sensor component 416 , and a communication component 418 .
[0114] The processing component 402 generally controls the overall operation of the device 400, such as operations associated with display, phone calls, random access to data, camera operations, and recording operations. The processing component 402 may include one or more processors 420 to execute instructions to complete all or part of the steps of the above-mentioned multimedia file processing method. In addition, the processing component 402 may include one or more modules to facilitate the interaction between the processing component 402 and other components. For example, the processing component 402 may include a multimedia module to facilitate the interaction between the multimedia component 408 and the processing component 402. For another example, the processing component 402 may read executable instructions from a memory to implement the steps of a multimedia file processing method provided in the above-mentioned embodiments.
[0115] The memory 404 is configured to store various types of data to support operations on the device 400. Examples of such data include instructions for any application or method operating on the device 400, contact data, phone book data, messages, pictures, videos, etc. The memory 404 can be implemented by any type of volatile or non-volatile storage device or a combination thereof, such as static random access memory (SRAM), electrically erasable programmable read-only memory (EEPROM), erasable programmable read-only memory (EPROM), programmable read-only memory (PROM), read-only memory (ROM), magnetic memory, flash memory, magnetic disk or optical disk.
[0116] The power supply component 406 provides power to the various components of the device 400. The power supply component 406 may include a power management system, one or more power supplies, and other components associated with generating, managing, and distributing power to the device 400.
[0117] The multimedia component 408 includes a display screen that provides an output interface between the device 400 and the user. In some embodiments, the multimedia component 408 includes a front camera and / or a rear camera. When the device 400 is in an operating mode, such as a shooting mode or a video mode, the front camera and / or the rear camera can receive external multimedia data. Each front camera and rear camera can be a fixed optical lens system or have a focal length and optical zoom capability.
[0118] The audio component 410 is configured to output and / or input audio signals. For example, the audio component 410 includes a microphone (MIC), and when the device 400 is in an operating mode, such as a call mode, a recording mode, and a speech recognition mode, the microphone is configured to receive an external audio signal. The received audio signal can be further stored in the memory 404 or sent via the communication component 418. In some embodiments, the audio component 410 also includes a speaker for outputting audio signals.
[0119] I / O interface 412 provides an interface between processing component 402 and peripheral interface modules, such as keyboards, click wheels, buttons, etc. These buttons may include but are not limited to: a home button, a volume button, a start button, and a lock button.
[0120] The sensor assembly 416 includes one or more sensors for providing various aspects of the status assessment of the device 400. For example, the sensor assembly 416 can detect the open / closed state of the device 400, the relative positioning of components, such as the display and keypad of the device 400, and the sensor assembly 416 can also detect the position change of the device 400 or a component of the device 400, the presence or absence of user contact with the device 400, the orientation or acceleration / deceleration of the device 400, and the temperature change of the device 400. The sensor assembly 416 may include a proximity sensor configured to detect the presence of nearby objects without any physical contact. The sensor assembly 416 may also include an optical sensor, such as a CMOS or CCD image sensor, for use in imaging applications. In some embodiments, the sensor assembly 416 may also include an accelerometer, a gyroscope sensor, a magnetic sensor, a pressure sensor, or a temperature sensor.
[0121] The communication component 418 is configured to facilitate wired or wireless communication between the device 400 and other devices. The device 400 can access a wireless network based on a communication standard, such as Wi-Fi, 2G, 3G, 4G, 5G or 4G, or a combination thereof. In an exemplary embodiment, the communication component 418 receives a broadcast signal or broadcast-related information from an external broadcast management system via a broadcast channel. In an exemplary embodiment, the communication component 418 also includes a near field communication (NFC) module to facilitate short-range communication. For example, the NFC module can be implemented based on radio frequency identification (RFID) technology, infrared data association (IrDA) technology, ultra-wideband (UWB) technology, Bluetooth (BT) technology and other technologies.
[0122] In an exemplary embodiment, the device 400 can be implemented by one or more application-specific integrated circuits (ASICs), digital signal processors (DSPs), digital signal processing devices (DSPDs), programmable logic devices (PLDs), field programmable gate arrays (FPGAs), controllers, microcontrollers, microprocessors or other electronic components to execute any of the multimedia file processing methods described above on the terminal side.
[0123] In an exemplary embodiment, a non-transitory machine-readable storage medium including instructions is also provided, such as a memory 404 including instructions, and the instructions can be executed by a processor 420 of the device 400 to complete the above-mentioned multimedia file processing method. For example, the non-transitory computer-readable storage medium can be a ROM, a random access memory (RAM), a CD-ROM, a magnetic tape, a floppy disk, an optical data storage device, etc.
[0124] It should be noted that, in this article, relational terms such as first and second, etc. are only used to distinguish one entity or operation from another entity or operation, and do not necessarily require or imply any such actual relationship or order between these entities or operations. The terms "include", "comprises" or any other variants thereof are intended to cover non-exclusive inclusion, so that a process, method, article or device including a series of elements includes not only those elements, but also other elements not explicitly listed, or also includes elements inherent to such process, method, article or device. In the absence of further restrictions, the elements defined by the statement "comprises a ..." do not exclude the presence of other identical elements in the process, method, article or device including the elements.
[0125] Those skilled in the art will readily appreciate other embodiments of the present disclosure after considering the specification and practicing the disclosure disclosed herein. This application is intended to cover any variations, uses, or adaptations of the present disclosure that follow the general principles of the present disclosure and include common knowledge or customary techniques in the art that are not disclosed in the present disclosure. The description and examples are intended to be exemplary only, and the true scope and spirit of the present disclosure are indicated by the following claims.
[0126] It should be understood that the present disclosure is not limited to the exact structures that have been described above and shown in the drawings, and that various modifications and changes may be made without departing from the scope thereof. The scope of the present disclosure is limited only by the appended claims.
Claims
1. A multimedia file processing method, characterized in that: The method comprises: When playing the multimedia file, detecting a first sliding track on the screen; When the first sliding track matches the first preset track, recording the current playing time point of the multimedia file; In response to a jump operation to a designated playback time point, the multimedia file is controlled to start playing from the designated playback time point; wherein the designated playback time point is the recorded playback time point.
2. The method according to claim 1, characterized in that: In response to the jump operation to the designated playback time point, controlling the multimedia file to start playing from the designated playback time point includes: In response to a search operation for a playback time point, displaying all the recorded playback time points on an interface of the electronic device; In response to a selection operation on the play time point, the multimedia file is controlled to start playing from the play time point corresponding to the selection operation.
3. The method according to claim 2, characterized in that In response to the selection operation for the playback time point, controlling the multimedia file to start playing from the playback time point corresponding to the selection operation includes any one of the following: If the play time point selected by the selection operation includes a first play time point, controlling the multimedia file to start playing from the first play time point; If the playback time point selected by the selection operation includes a second playback time point and a third playback time point, the multimedia file is controlled to start playing from the second playback time point and end playing at the third playback time point; wherein the second playback time point is before the third playback time point.
4. The method according to claim 1, characterized in that: In response to the jump operation to the designated playback time point, controlling the multimedia file to start playing from the designated playback time point includes: In response to detecting a second sliding track, and when the second sliding track matches a second preset track, the multimedia file is controlled to start playing from the designated playing time point.
5. The method according to claim 4, characterized in that The second preset trajectory includes: A sliding track to the left or a sliding track to the right in a designated area of the screen; The designated playback time point is a recorded playback time point determined based on a first time point and a sliding direction of the second sliding track, and the first time point is a time point when the second sliding track is detected.
6. The method according to claim 4, characterized in that The second preset trajectory includes: A preset track having two intersection points with the playback progress bar of the multimedia file, the two intersection points respectively corresponding to a fourth playback time point and a fifth playback time point, the fourth playback time point being before the fifth playback time point; The designated playback time point is the fourth playback time point.
7. The method according to claim 6, characterized in that The controlling the multimedia file to start playing from the designated playing time point includes: The target file content between the fourth play time point and the fifth play time point is played in a loop.
8. The method according to claim 6, characterized in that The method further comprises: In response to the fourth playback time point being deleted, the fifth playback time point being deleted, or the second sliding track being deleted, the loop playback of the target file content is stopped.
9. The method according to any one of claims 1 to 8, characterized in that: After recording the playback time point, the method further includes: Outputting inquiry information; wherein the inquiry information is used to inquire whether the user needs to provide a text description of the currently recorded playback time point; When it is determined that the user needs to provide a text description for the currently recorded playback time point, an input interface is displayed to obtain and record the text description corresponding to the playback time point.
10. A multimedia file processing device, characterized in that: The device comprises: A detection module, used for detecting a first sliding track on the interface when playing the multimedia file; A recording module, configured to record a current playing time point of the multimedia file when the first sliding track matches a first preset track; The execution module is used to control the multimedia file to start playing from the designated playback time point in response to a jump operation to the designated playback time point; wherein the designated playback time point is the recorded playback time point.
11. A computer-readable storage medium having a computer program stored thereon, characterized in that: When the computer program is executed by a processor, the steps of the multimedia file processing method according to any one of claims 1 to 9 are implemented.
12. An electronic device, characterized in that: include: processor; a memory for storing processor-executable instructions; The processor is configured to execute the executable instructions to implement the steps of the multimedia file processing method according to any one of claims 1 to 9.
