CN111339323A - Information processing method and device for multimedia file - Google Patents

Information processing method and device for multimedia file Download PDF

Info

Publication number
CN111339323A
CN111339323A CN202010108135.5A CN202010108135A CN111339323A CN 111339323 A CN111339323 A CN 111339323A CN 202010108135 A CN202010108135 A CN 202010108135A CN 111339323 A CN111339323 A CN 111339323A
Authority
CN
China
Prior art keywords
target
multimedia file
playing
information
adjusting
Prior art date
Legal status (The legal status is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the status listed.)
Pending
Application number
CN202010108135.5A
Other languages
Chinese (zh)
Inventor
谢军
陈锋
陈茂刚
Current Assignee (The listed assignees may be inaccurate. Google has not performed a legal analysis and makes no representation or warranty as to the accuracy of the list.)
Lenovo Beijing Ltd
Original Assignee
Lenovo Beijing Ltd
Priority date (The priority date is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the date listed.)
Filing date
Publication date
Application filed by Lenovo Beijing Ltd filed Critical Lenovo Beijing Ltd
Priority to CN202010108135.5A priority Critical patent/CN111339323A/en
Publication of CN111339323A publication Critical patent/CN111339323A/en
Pending legal-status Critical Current

Links

Images

Classifications

    • GPHYSICS
    • G06COMPUTING; CALCULATING OR COUNTING
    • G06FELECTRIC DIGITAL DATA PROCESSING
    • G06F16/00Information retrieval; Database structures therefor; File system structures therefor
    • G06F16/40Information retrieval; Database structures therefor; File system structures therefor of multimedia data, e.g. slideshows comprising image and additional audio data
    • G06F16/43Querying
    • G06F16/432Query formulation
    • GPHYSICS
    • G06COMPUTING; CALCULATING OR COUNTING
    • G06FELECTRIC DIGITAL DATA PROCESSING
    • G06F16/00Information retrieval; Database structures therefor; File system structures therefor
    • G06F16/40Information retrieval; Database structures therefor; File system structures therefor of multimedia data, e.g. slideshows comprising image and additional audio data
    • G06F16/43Querying
    • G06F16/432Query formulation
    • G06F16/433Query formulation using audio data
    • GPHYSICS
    • G06COMPUTING; CALCULATING OR COUNTING
    • G06FELECTRIC DIGITAL DATA PROCESSING
    • G06F16/00Information retrieval; Database structures therefor; File system structures therefor
    • G06F16/40Information retrieval; Database structures therefor; File system structures therefor of multimedia data, e.g. slideshows comprising image and additional audio data
    • G06F16/43Querying
    • G06F16/432Query formulation
    • G06F16/434Query formulation using image data, e.g. images, photos, pictures taken by a user
    • GPHYSICS
    • G06COMPUTING; CALCULATING OR COUNTING
    • G06FELECTRIC DIGITAL DATA PROCESSING
    • G06F16/00Information retrieval; Database structures therefor; File system structures therefor
    • G06F16/40Information retrieval; Database structures therefor; File system structures therefor of multimedia data, e.g. slideshows comprising image and additional audio data
    • G06F16/43Querying
    • G06F16/438Presentation of query results
    • G06F16/4387Presentation of query results by the use of playlists
    • G06F16/4393Multimedia presentations, e.g. slide shows, multimedia albums

Abstract

The invention discloses an information processing method and device of a multimedia file, wherein the method comprises the following steps: acquiring reference information for adjusting the playing progress; searching the target multimedia file based on the reference information, and determining the position of the reference information in the target multimedia file as a target adjustment position; and adjusting the playing progress of the multimedia file based on the target adjustment position so as to adjust the current playing progress to the target adjustment position. The playing position of the reference information in the target multimedia file is determined according to the reference information, so that the playing of the multimedia file can be automatically adjusted, automatic fast forward or backward is realized, the adjustment of the playing progress is more accurate, and the adjustment efficiency of the playing is improved.

Description

Information processing method and device for multimedia file
Technical Field
The present invention relates to the field of multimedia file processing technologies, and in particular, to an information processing method and apparatus for a multimedia file.
Background
Multimedia files, i.e., various encoded data representing media, are stored in a computer in the form of files, which are collections of binary data. The user can play the multimedia file through a computer or other terminal equipment.
When the existing multimedia file is played, if the playing progress is required to be adjusted, the playing can be adjusted only in a manual mode, and when the playing progress needs to be adjusted to a preset progress point, a user can only roughly adjust the playing progress by means of fuzzy memory, the playing progress cannot be adjusted quickly and accurately, and the adjustment efficiency is low.
Disclosure of Invention
The embodiment of the invention aims to provide an information processing method and device for a multimedia file, which are used for solving the problems that the playing progress of the multimedia file can only be manually adjusted and cannot be quickly and accurately adjusted in the prior art.
In order to solve the technical problem, the embodiment of the application adopts the following technical scheme: an information processing method of a multimedia file includes:
acquiring reference information for adjusting the playing progress;
searching the target multimedia file based on the reference information, and determining the position of the reference information in the target multimedia file as a target adjustment position;
and adjusting the playing progress of the multimedia file based on the target adjustment position so as to adjust the current playing progress to the target adjustment position.
Optionally, the obtaining of the reference information for adjusting the playing progress specifically includes:
acquiring scene information in a preset time period;
extracting information based on the scene information to obtain the reference information;
the scene information comprises audio information in a target multimedia file playing scene and/or image information in the target multimedia file playing scene.
Optionally, the reference information includes any one or more of a keyword, a key map, and a key audio.
Optionally, the target multimedia file is a PPT file;
the searching the target multimedia file based on the reference information and determining the position of the reference information in the target multimedia file as a target adjustment position specifically includes: searching the target multimedia file based on the key words and/or the key graph;
determining the image frame of the target multimedia file where the keyword and/or the key map are located as a target image frame to determine the target adjustment position;
the adjusting the playing progress of the multimedia file based on the target adjusting position to adjust the current playing progress to the target adjusting position specifically comprises the following steps;
and adjusting the playing progress of the multimedia file based on the target image frame so as to adjust the target image frame to be the currently played image frame of the target multimedia file.
Optionally, the target multimedia file is an audio file;
the searching the target multimedia file based on the reference information and determining the position of the reference information in the target multimedia file as a target adjustment position specifically includes:
searching the target multimedia file based on the key audio;
determining a music frame segment matched with the key audio in the target multimedia file;
determining the playing time corresponding to each audio frame in the music frame segment;
taking one play time of the play times as a target play time to determine a target adjustment position based on the target play time;
the adjusting the playing progress of the multimedia file based on the target adjustment position to adjust the current playing progress to the target adjustment position specifically includes:
and adjusting the playing progress of the target multimedia file based on the target playing time so as to adjust the current playing time to the target playing time.
Optionally, before obtaining the reference information for adjusting the playing progress, the method further includes:
receiving a first operation action;
generating a first playing request based on the first operation action to acquire reference information for adjusting the playing progress;
responding to the first playing request to play the target multimedia file.
The first operation action comprises any one or more of the following actions: double-click operation, single-click operation, and drag operation.
Optionally, the method further includes:
receiving a second operation action;
generating a second playing request based on the second operation action;
determining a target play mode based on the second play request;
responding to the second playing request, switching a current playing mode to play the target multimedia file according to the target playing mode;
the second operation action is different from the first operation action, and the second operation action comprises any one or more of the following actions: double-click operation, single-click operation, and drag operation.
Optionally, before obtaining the reference information for adjusting the playing progress, the method further includes establishing an index relationship between the external information and the target multimedia file.
In another aspect, to solve the above problem, the present application provides an information processing apparatus for a multimedia file, including:
the acquisition module is used for acquiring reference information for adjusting the playing progress;
the determining module is used for searching the target multimedia file based on the reference information and determining the position of the reference information in the target multimedia file as a target adjusting position;
and the adjusting module is used for adjusting the playing progress of the multimedia file based on the target adjusting position so as to adjust the current playing progress to the target adjusting position.
Optionally, the obtaining module is specifically configured to:
acquiring scene information in a preset time period;
extracting information based on the scene information to obtain the reference information;
the scene information comprises audio information in a target multimedia file playing scene and/or image information in the target multimedia file playing scene;
the reference information comprises any one or more of key words, key graphs and key audios.
In order to solve the above problem, the present application provides a storage medium storing a computer program that, when executed by a processor, implements the steps of the information processing method for a multimedia file according to any one of the above.
The embodiment of the invention has the beneficial effects that: the playing position of the reference information in the target multimedia file is determined according to the reference information, so that the playing of the multimedia file can be automatically adjusted, automatic fast forward or backward is realized, the adjustment of the playing progress is more accurate, and the adjustment efficiency of the playing is improved.
Drawings
FIG. 1 is a flowchart illustrating an information processing method for multimedia files according to an embodiment of the present invention;
FIG. 2 is a flowchart illustrating a method for processing multimedia files according to another embodiment of the present invention;
FIG. 3 is a flowchart illustrating a method for processing multimedia files according to another embodiment of the present invention;
FIG. 4 is a flowchart illustrating a method for processing multimedia files according to another embodiment of the present invention;
FIG. 5 is a flowchart illustrating a method for processing multimedia files according to another embodiment of the present invention;
FIG. 6 is a block diagram of an information processing apparatus for multimedia files according to another embodiment of the present invention.
Detailed Description
Various aspects and features of the present application are described herein with reference to the drawings.
It will be understood that various modifications may be made to the embodiments of the present application. Accordingly, the foregoing description should not be construed as limiting, but merely as exemplifications of embodiments. Those skilled in the art will envision other modifications within the scope and spirit of the application.
The accompanying drawings, which are incorporated in and constitute a part of the specification, illustrate embodiments of the application and, together with a general description of the application given above and the detailed description of the embodiments given below, serve to explain the principles of the application.
These and other characteristics of the present application will become apparent from the following description of preferred forms of embodiment, given as non-limiting examples, with reference to the attached drawings.
It should also be understood that, although the present application has been described with reference to some specific examples, a person of skill in the art shall certainly be able to achieve many other equivalent forms of application, having the characteristics as set forth in the claims and hence all coming within the field of protection defined thereby.
The above and other aspects, features and advantages of the present application will become more apparent in view of the following detailed description when taken in conjunction with the accompanying drawings.
Specific embodiments of the present application are described hereinafter with reference to the accompanying drawings; however, it is to be understood that the disclosed embodiments are merely exemplary of the application, which can be embodied in various forms. Well-known and/or repeated functions and constructions are not described in detail to avoid obscuring the application of unnecessary or unnecessary detail. Therefore, specific structural and functional details disclosed herein are not to be interpreted as limiting, but merely as a basis for the claims and as a representative basis for teaching one skilled in the art to variously employ the present application in virtually any appropriately detailed structure.
The specification may use the phrases "in one embodiment," "in another embodiment," "in yet another embodiment," or "in other embodiments," which may each refer to one or more of the same or different embodiments in accordance with the application.
An embodiment of the present invention provides an information processing method for a multimedia file, as shown in fig. 1, including the following steps:
step S101, acquiring reference information for adjusting the playing progress;
in this step, the reference information is any one or more of a keyword, a key map, and a key audio obtained from the external scene information. The external scene information is the environment information where the target multimedia file is played.
Step S102, searching the target multimedia file based on the reference information, and determining the position of the reference information in the target multimedia file as a target adjustment position;
in the step, when the reference information is a keyword, the target multimedia file can be searched according to the keyword so as to find the position of the keyword in the target multimedia file; and similarly, when the reference information is the key map, searching the target multimedia file according to the key map so as to find the position of the key map in the target multimedia file. The specific multimedia file may be an MP3 file, an MP4 file, a PPT file, or an MPG file.
Step S103, the playing progress of the multimedia file is adjusted based on the target adjusting position, so that the current playing progress is adjusted to the target adjusting position.
In this step, after the target adjustment position is determined, the playing progress of the target multimedia file can be adjusted by fast forwarding or rewinding.
According to the embodiment of the invention, the playing position of the reference information in the target multimedia file is determined according to the reference information, so that the playing progress of the multimedia file can be automatically adjusted, automatic fast forward or backward can be realized, the adjustment of the playing progress is more accurate, and the adjustment efficiency of the playing progress is improved.
Another embodiment of the present invention provides an information processing method for a multimedia file, as shown in fig. 2, including the following steps:
step S201, scene information in a preset time period is obtained;
in this step, when the scene information is obtained, the scene information in a certain time period may be obtained after the first play request is received, for example, the scene information in 10 seconds is obtained, or the scene information in 15 seconds is obtained. The specific length of the preset time period in the step can be adjusted according to the actual situation; the longer the time for acquiring the scene information is, the more sufficient the acquired scene information is, and the more favorable the accurate extraction of the subsequent reference information is. In a specific implementation process, the first play request may be generated based on the received first operation action, such as generating the play request based on a double-click operation, a single-click operation, or a drag operation, to obtain reference information for adjusting the play progress.
Step S202, extracting information based on the scene information to obtain the reference information;
the scene information comprises audio information in a target multimedia file playing scene and/or image information in the target multimedia file playing scene.
In this step, after the scene information within the predetermined time period is obtained, that is, the audio information and/or the image information within the predetermined time period are obtained, the audio information and the image information may be processed, for example, after noise and some useless information are removed, a keyword, a key map, or a key audio may be further extracted as reference information.
Step S203, searching the target multimedia file based on the reference information, and determining the position of the reference information in the target multimedia file as a target adjustment position;
step S204, the playing progress of the multimedia file is adjusted based on the target adjusting position, so that the current playing progress is adjusted to the target adjusting position.
In this embodiment, audio information and/or image information in a target multimedia file playing scene is obtained, for example, if the audio information of the target multimedia file playing scene in a predetermined time period is obtained, the audio information may be extracted to obtain a key audio or a keyword; and then searching the target multimedia file based on the obtained key audio or the key words so as to determine the target adjustment position. According to the embodiment of the invention, the playing progress of the target multimedia file is adjusted in a fast-forward or backward mode based on the reference information acquired from the external scene information, so that the adjustment of the playing progress of the multimedia file is more accurate, a user does not need to adjust the playing progress by means of fuzzy memory, and the user experience is improved.
Another embodiment of the present invention provides an information processing method for a multimedia file, where a target multimedia file in this embodiment is a PPT file, as shown in fig. 3, and the method specifically includes the following steps:
step S301, acquiring reference information for adjusting the playing progress; the reference information is a keyword and/or a key graph;
before executing the step, the method also comprises the steps of receiving a first playing request so as to obtain the reference information based on the first playing request; the specific first play request is generated based on the first operation action. The specific generation process is as follows: receiving a first operation action; generating a first playing request based on the first operation action, and then acquiring reference information for adjusting the playing progress based on the first playing request;
step S302, searching the target multimedia file based on the key words and/or the key graph;
determining the image frame of the target multimedia file where the keyword and/or the key map are located as a target image frame to determine the target adjustment position;
step S303, adjusting the playing progress of the target multimedia file based on the target image frame, so as to adjust the target image frame to the currently played image frame of the target multimedia file.
In this step, after the target adjustment position is determined, the target multimedia file may be played in response to the first play request, so as to adjust the target image frame to a currently played image frame of the target multimedia file.
The following description is provided in connection with a specific application scenario. When a speaker is performing a speech, it is necessary to play the PPT file while performing the speech to display the speech content. At this time, the electronic device (or the video player) playing the PPT file may receive one of a double-click operation, a single-click operation, or a drag operation, that is, receive the first operation action, and then generate the first play request based on the first operation action, so that the electronic device or the video player receives the first play request, and then may acquire the audio information and/or the image information in the PPT file play scene within a predetermined time period, for example, the audio information of the speaker within 10s is acquired, and then may extract according to the audio information within 10s, so as to acquire a plurality of keywords. Then retrieving the PPT file according to the obtained keywords through a deep learning technology; character recognition is carried out according to PPT file regions of different frames, and image frames of keywords located in the PPT files are determined according to differences among characters, so that target image frames are obtained, namely target adjustment positions are determined. The progress of the play can then be adjusted to fast forward or rewind. Therefore, the PPT file is rapidly turned according to the speech content of the speaker, the playing progress of the PPT file is adjusted in real time, the speaker does not need to manually adjust the playing progress of the PPT file, and the playing experience is improved.
In this embodiment, the external scene information may also be image information in a target multimedia file playing scene. For example, when an image file needs to be played in a matching manner, another PPT file needs to be played, at this time, image information currently played by the image file can be acquired, so as to obtain a keyword/key map, and then the PPT file is searched based on the keyword/key map, so as to find an image frame matched with the keyword/key map in the PPT file, thereby determining the target adjustment position. The automatic adjustment of the playing progress of the PPT file is realized. In this embodiment, the association relationship between the playing schedules of the image file and the PPT file may be specifically established in advance. For example, if the image file has 3 graphs and the PPT file has 3 pages, the association relationship between the PPT file on page 1 in fig. 1, the association relationship between the PPT file on page 2 in fig. 2, and the association relationship between the PPT file on page 3 in fig. 3 can be established. Therefore, when the image file of figure 2 is played, the playing progress of the PPT file can be automatically adjusted to the page 2. The playing progress of the PPT file does not need to be manually adjusted, and the method is convenient and quick.
Another embodiment of the present invention provides an information processing method for a multimedia file, where a target multimedia file in this embodiment is an audio file, as shown in fig. 4, the method specifically includes the following steps:
step S401, acquiring reference information for adjusting the playing progress; the reference information is key audio;
step S402, searching the target multimedia file based on the key audio;
step S403, determining a music frame segment matched with the key audio in the target multimedia file;
step S404, determining the playing time corresponding to each audio frame in the music frame segment;
step S405, one play time in each play time is taken as a target play time, and a target adjustment position is determined based on the target play time;
step S406, adjusting the playing progress of the target multimedia file based on the target playing time, so as to adjust the current playing time to the target playing time.
The following description is provided in connection with a specific application scenario. For example, when one audio file needs to be played in a matching manner, audio information in a predetermined time period, for example, 15s of audio information, may be obtained first, and then key audio may be obtained by extraction; and searching the other audio file according to the key audio to find the music frame segment which is matched with the key audio in the other audio file. Because a plurality of audio frames are arranged in the music frame segment, each audio frame corresponds to different playing time, one of the playing time can be used as a target playing time, or the playing time corresponding to the first music frame in the music frame segment is used as the target playing time, or the playing time corresponding to the last music frame in the music frame segment is used as the target playing time, so that the playing progress of another audio file is adjusted, the fast positioning of the audio file is realized, and the progress adjustment is not needed manually.
On the basis of the above embodiment, before obtaining the reference information for adjusting the playing progress, the method further includes obtaining a first playing request to obtain the reference information for adjusting the playing progress. As shown in fig. 5, the method includes the following steps:
step S501, receiving a first operation action;
in this step, the first operation action includes any one or more of the following: double-click operation, single-click operation, and drag operation.
Step S502, generating a first playing request based on the first operation action to obtain reference information for adjusting the playing progress;
step S503, responding to the first play request to play the target multimedia file;
step S504, obtaining reference information for adjusting the playing progress based on the first playing request;
step S505, searching the target multimedia file based on the reference information, and determining the position of the reference information in the target multimedia file as a target adjustment position;
step S506, the playing progress of the multimedia file is adjusted based on the target adjusting position, so that the current playing progress is adjusted to the target adjusting position;
in this embodiment, when a user needs to use an electronic device or a player to play a multimedia file, a corresponding operation action may be triggered first, for example, a double-click operation, a single-click operation, and the like are performed on a designated area of the electronic device, so that the designated area of the electronic device receives a first operation action, and then a corresponding first play request is generated based on the first operation action; therefore, the electronic device/player can play the multimedia file based on the first play request, and at the same time, the electronic device/player performs a series of steps of adjusting the play progress, that is, obtaining the reference information to further adjust the play progress of the multimedia file.
Further, in this embodiment, before adjusting the playing progress of the target multimedia file, the method further includes: receiving a second operation action;
generating a second playing request based on the second operation action;
determining a target play mode based on the second play request;
responding to the second playing request, switching a current playing mode to play the target multimedia file according to the target playing mode;
in this embodiment, the second operation action is different from the first operation action, and the second operation action includes any one or more of the following: double-click operation, single-click operation, and drag operation. Specifically, in this embodiment, before playing the multimedia file, a corresponding play mode may be selected for playing, that is, after the electronic device or the player receives the drag operation, a second play request may be generated based on the operation action, then the target play mode is determined according to the second play request, for example, the target play mode is determined to be a single adjustment mode, then the reference information may be obtained according to the first play request generated based on the first operation action (for example, double-click operation), then the play progress of the target multimedia file is adjusted according to the obtained reference information, and when the play progress needs to be adjusted again, the user needs to perform the first operation action (for example, double-click operation) again to implement re-adjustment. For another example, after the electronic device or the player receives the click operation, a second play request may be generated based on the operation, and then the target play mode is determined according to the second play request, for example, the target play mode is determined to be a real-time adjustment mode, so that the play progress of the multi-target multimedia file may be adjusted in real time according to reference information obtained in real time (or at predetermined time intervals); the external scene information is acquired every 2 minutes, for example, thereby obtaining the reference information.
In the embodiment of the present invention, before the reference information for adjusting the playing progress is acquired, the method further includes establishing an index relationship between the external information and the target multimedia file. That is, when there are multiple multimedia files in the same external scene information, the association relationship between the external scene information and the target multimedia file may be established first. Thus, after the reference information is extracted through the external information (i.e. the external scene information), the corresponding multimedia file can be searched based on the established association relationship. Therefore, a foundation is laid for the subsequent adjustment of the playing progress of the target file.
Still another embodiment of the present invention provides an information processing apparatus for multimedia files, as shown in fig. 6, including:
the acquisition module is used for acquiring reference information for adjusting the playing progress based on the received playing request;
the determining module is used for searching the target multimedia file based on the reference information and determining the position of the reference information in the target multimedia file as a target adjusting position;
and the adjusting module is used for adjusting the playing progress of the multimedia file based on the target adjusting position so as to adjust the current playing progress to the target adjusting position.
In this embodiment, in this step, the reference information is any one or more of a keyword, a key map, and a key audio obtained from the external scene information. The external scene information is the environment information where the target multimedia file is played.
According to the embodiment of the invention, the playing position of the reference information in the target multimedia file is determined according to the reference information, so that the playing of the multimedia file can be automatically adjusted, automatic fast forward or rewind is realized, the adjustment of the playing progress is more accurate, and the adjustment efficiency of playing is improved.
On the basis of the foregoing embodiment, another embodiment of the present invention provides an information processing apparatus for multimedia files, which is used for processing a PPT file, that is, a target multimedia file is a PPT file. In this embodiment, the determining module is specifically configured to: searching the target multimedia file based on the key words and/or the key graph;
determining the image frame of the target multimedia file where the keyword and/or the key map are located as a target image frame to determine the target adjustment position;
the adjustment module is specifically configured to: and adjusting the playing progress of the multimedia file based on the target image frame so as to adjust the target image frame to be the currently played image frame of the target multimedia file.
According to the embodiment, automatic page turning of the PPT file can be realized, manual adjustment is not needed, the PPT file can be played more conveniently, and user experience is improved.
On the basis of the foregoing embodiment, another embodiment of the present invention provides an information processing apparatus for multimedia files, configured to process audio files, that is, a target multimedia file is an audio file. In this embodiment, the determining module is specifically configured to: searching the target multimedia file based on the key audio;
determining a music frame segment matched with the key audio in the target multimedia file;
determining the playing time corresponding to each audio frame in the music frame segment;
and taking one play time in each play time as a target play time so as to determine a target adjustment position based on the target play time.
The adjusting module is specifically configured to: and adjusting the playing progress of the target multimedia file based on the target playing time so as to adjust the current playing time to the target playing time.
In the embodiment, when one audio file needs to be played in a matched manner, the audio information in a preset time period can be acquired first, and then the key audio is extracted and acquired; and searching another audio file according to the key audio to find a music frame segment matched with the key audio in the other audio file so as to adjust the playing progress of the other audio file, so that the audio file is quickly positioned without manually adjusting the progress. On the basis of the foregoing embodiment, an information processing apparatus for a multimedia file according to an embodiment of the present invention further includes: the first generation module is used for receiving a first operation action;
generating a first playing request based on the first operation action to acquire reference information for adjusting the playing progress;
responding to the first playing request to play the target multimedia file.
The first operation action comprises any one or more of the following actions: double-click operation, single-click operation, and drag operation.
Preferably, the information processing apparatus for multimedia files further includes: the second generation module is used for receiving a second operation action;
generating a second playing request based on the second operation action;
determining a target play mode based on the second play request;
responding to the second playing request, switching a current playing mode to play the target multimedia file according to the target playing mode;
in this embodiment, the second operation action is different from the first operation action, and the second operation action includes any one or more of the following: double-click operation, single-click operation, and drag operation. In this embodiment, the single-click operation and the double-click operation may be operations performed in a specific area, and the drag operation may be to drag a predetermined icon from a first position to a second position, or to drag a certain picture from the first position to the second position. In the embodiment, the corresponding playing mode is selected according to the specific operation, so that the playing of the multimedia file is more diversified, the user experience is improved, and the personalized requirements are met.
In this embodiment, in a specific implementation process, in order to accurately search a corresponding multimedia file, the information processing apparatus for a multimedia file further includes: and the construction module is used for establishing an index relationship between the external information and the target multimedia file before acquiring the reference information for adjusting the playing progress. Namely, when a plurality of multimedia files exist in the same external scene information, the building module can be used for building the incidence relation between the external scene information and the target multimedia file. Thus, after the reference information is extracted through the external information (i.e. the external scene information), the corresponding multimedia file can be searched based on the established association relationship. Therefore, a foundation is laid for the subsequent adjustment of the playing progress of the target file.
Another embodiment of the present application provides a storage medium, which is a computer-readable medium storing a computer program, which when executed by a processor implements the following method steps:
step one, acquiring reference information for adjusting the playing progress;
in this step, the reference information is any one or more of a keyword, a key map, and a key audio obtained from the external scene information. The external scene information is the environment information where the target multimedia file is played.
Step two, searching the target multimedia file based on the reference information, and determining the position of the reference information in the target multimedia file as a target adjustment position;
and step three, adjusting the playing progress of the multimedia file based on the target adjusting position so as to adjust the current playing progress to the target adjusting position.
Specifically, in the implementation process of the embodiment of the present invention, the steps of the information processing method for a multimedia file provided in any of the above embodiments may be implemented, and are not described herein again.
According to the embodiment of the invention, the playing position of the reference information in the target multimedia file is determined according to the reference information, so that the playing progress of the multimedia file can be automatically adjusted, automatic fast forward or backward can be realized, the adjustment of the playing progress is more accurate, and the adjustment efficiency of the playing progress is improved.
The above embodiments are only exemplary embodiments of the present invention, and are not intended to limit the present invention, and the scope of the present invention is defined by the claims. Various modifications and equivalents may be made by those skilled in the art within the spirit and scope of the present invention, and such modifications and equivalents should also be considered as falling within the scope of the present invention.

Claims (10)

1. An information processing method of a multimedia file is characterized by comprising the following steps:
acquiring reference information for adjusting the playing progress;
searching the target multimedia file based on the reference information, and determining the position of the reference information in the target multimedia file as a target adjustment position;
and adjusting the playing progress of the multimedia file based on the target adjustment position so as to adjust the current playing progress to the target adjustment position.
2. The method of claim 1, wherein the obtaining of the reference information for adjusting the playing progress specifically includes:
acquiring scene information in a preset time period;
extracting information based on the scene information to obtain the reference information;
the scene information comprises audio information in a target multimedia file playing scene and/or image information in the target multimedia file playing scene.
3. The method of claim 1, wherein the reference information comprises any one or more of a keyword, a key map, and a key audio.
4. The method of claim 3, wherein the target multimedia file is a PPT file;
the searching the target multimedia file based on the reference information and determining the position of the reference information in the target multimedia file as a target adjustment position specifically includes: searching the target multimedia file based on the key words and/or the key graph;
determining the image frame of the target multimedia file where the keyword and/or the key map are located as a target image frame to determine the target adjustment position;
the adjusting the playing progress of the multimedia file based on the target adjusting position to adjust the current playing progress to the target adjusting position specifically comprises the following steps;
and adjusting the playing progress of the multimedia file based on the target image frame so as to adjust the target image frame to be the currently played image frame of the target multimedia file.
5. The method of claim 3, wherein the target multimedia file is an audio file;
the searching the target multimedia file based on the reference information and determining the position of the reference information in the target multimedia file as a target adjustment position specifically includes:
searching the target multimedia file based on the key audio;
determining a music frame segment matched with the key audio in the target multimedia file;
determining the playing time corresponding to each audio frame in the music frame segment;
taking one play time of the play times as a target play time to determine a target adjustment position based on the target play time;
the adjusting the playing progress of the multimedia file based on the target adjustment position to adjust the current playing progress to the target adjustment position specifically includes:
and adjusting the playing progress of the target multimedia file based on the target playing time so as to adjust the current playing time to the target playing time.
6. The method of claim 1, wherein before acquiring the reference information for adjusting the play progress, the method further comprises:
receiving a first operation action;
generating a first playing request based on the first operation action to acquire reference information for adjusting the playing progress;
responding to the first playing request to play the target multimedia file.
The first operation action comprises any one or more of the following actions: double-click operation, single-click operation, and drag operation.
7. The method of claim 6, wherein the method further comprises:
receiving a second operation action;
generating a second playing request based on the second operation action;
determining a target play mode based on the second play request;
responding to the second playing request, switching a current playing mode to play the target multimedia file according to the target playing mode;
the second operation action is different from the first operation action, and the second operation action comprises any one or more of the following actions: double-click operation, single-click operation, and drag operation.
8. The method of claim 1, wherein before the obtaining of the reference information for adjusting the play progress, the method further comprises establishing an index relationship between the external information and the target multimedia file.
9. An information processing apparatus for a multimedia file, comprising:
the acquisition module is used for acquiring reference information for adjusting the playing progress;
the determining module is used for searching the target multimedia file based on the reference information and determining the position of the reference information in the target multimedia file as a target adjusting position;
and the adjusting module is used for adjusting the playing progress of the multimedia file based on the target adjusting position so as to adjust the current playing progress to the target adjusting position.
10. The apparatus of claim 9, wherein the acquisition module is specifically configured to:
acquiring scene information in a preset time period;
extracting information based on the scene information to obtain the reference information;
the scene information comprises audio information in a target multimedia file playing scene and/or image information in the target multimedia file playing scene;
the reference information comprises any one or more of key words, key graphs and key audios.
CN202010108135.5A 2020-02-21 2020-02-21 Information processing method and device for multimedia file Pending CN111339323A (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN202010108135.5A CN111339323A (en) 2020-02-21 2020-02-21 Information processing method and device for multimedia file

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN202010108135.5A CN111339323A (en) 2020-02-21 2020-02-21 Information processing method and device for multimedia file

Publications (1)

Publication Number Publication Date
CN111339323A true CN111339323A (en) 2020-06-26

Family

ID=71185546

Family Applications (1)

Application Number Title Priority Date Filing Date
CN202010108135.5A Pending CN111339323A (en) 2020-02-21 2020-02-21 Information processing method and device for multimedia file

Country Status (1)

Country Link
CN (1) CN111339323A (en)

Citations (5)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN1662053A (en) * 2004-02-24 2005-08-31 皇家飞利浦电子股份有限公司 Program content positioning method and device
CN105635849A (en) * 2015-12-25 2016-06-01 网易传媒科技(北京)有限公司 Text display method and device during playing of multi-media files
US20170162229A1 (en) * 2015-12-03 2017-06-08 Le Holdings (Beijing) Co., Ltd. Play method and device
CN108337532A (en) * 2018-02-13 2018-07-27 腾讯科技(深圳)有限公司 Perform mask method, video broadcasting method, the apparatus and system of segment
CN110225369A (en) * 2019-07-16 2019-09-10 百度在线网络技术(北京)有限公司 Video selection playback method, device, equipment and readable storage medium storing program for executing

Patent Citations (6)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN1662053A (en) * 2004-02-24 2005-08-31 皇家飞利浦电子股份有限公司 Program content positioning method and device
CN1922610A (en) * 2004-02-24 2007-02-28 皇家飞利浦电子股份有限公司 Program contents positioning method and device
US20170162229A1 (en) * 2015-12-03 2017-06-08 Le Holdings (Beijing) Co., Ltd. Play method and device
CN105635849A (en) * 2015-12-25 2016-06-01 网易传媒科技(北京)有限公司 Text display method and device during playing of multi-media files
CN108337532A (en) * 2018-02-13 2018-07-27 腾讯科技(深圳)有限公司 Perform mask method, video broadcasting method, the apparatus and system of segment
CN110225369A (en) * 2019-07-16 2019-09-10 百度在线网络技术(北京)有限公司 Video selection playback method, device, equipment and readable storage medium storing program for executing

Similar Documents

Publication Publication Date Title
US11030987B2 (en) Method for selecting background music and capturing video, device, terminal apparatus, and medium
US9898847B2 (en) Multimedia picture generating method, device and electronic device
CN105976818B (en) Instruction recognition processing method and device
CN106098063B (en) Voice control method, terminal device and server
CN111447505B (en) Video clipping method, network device, and computer-readable storage medium
CN110913241B (en) Video retrieval method and device, electronic equipment and storage medium
JP2005122713A (en) Inferring of information regarding media stream object
CN112653902B (en) Speaker recognition method and device and electronic equipment
US20170171471A1 (en) Method and device for generating multimedia picture and an electronic device
CN112752121B (en) Video cover generation method and device
US10135950B2 (en) Creating a cinematic storytelling experience using network-addressable devices
CN111263186A (en) Video generation, playing, searching and processing method, device and storage medium
CN109471955B (en) Video clip positioning method, computing device and storage medium
CN109064787B (en) Point reading equipment
CN113392273A (en) Video playing method and device, computer equipment and storage medium
CN108153882A (en) A kind of data processing method and device
CN113992972A (en) Subtitle display method and device, electronic equipment and readable storage medium
CN110110146A (en) Video clip searching method, device, medium and equipment based on artificial intelligence
JP2019008779A (en) Text extraction apparatus, comment posting apparatus, comment posting support apparatus, reproduction terminal, and context vector calculation apparatus
US20140129221A1 (en) Sound recognition device, non-transitory computer readable storage medium stored threreof sound recognition program, and sound recognition method
CN111339323A (en) Information processing method and device for multimedia file
CN110069658A (en) It is a kind of to control audio switching method and device in the state of the lock screen
CN113204668A (en) Audio clipping method and device, storage medium and electronic equipment
JP2017004193A (en) Information processing device, information processing method, and program
CN111489757A (en) Audio processing method and device, electronic equipment and readable storage medium

Legal Events

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