Media content display method, apparatus, device, storage medium, and product
By dynamically determining the timing of media content switching and optimizing media content display based on audio feature time information, the problem of inflexible matching between media content and audio in existing technologies is solved, thus improving the viewing experience.
Patent Information
- Application Number
- CN202411596795.7
- Authority / Receiving Office
- CN · China
- Patent Type
- Patents(China)
- Current Assignee / Owner
- Filing Date
- 2022-06-28
- Publication Date
- 2025-10-24
- Estimated Expiration
- 2042-06-28
AI Technical Summary
In existing technologies, the switching between media content and audio is based on fixed time intervals, resulting in inflexible matching of media content and audio and affecting the viewing experience.
By dynamically determining the timing of media content switching based on the current playback progress and characteristic moment information of preset audio, the switching of media content is controlled by using the time points when the audio characteristics meet preset conditions.
It enables more flexible switching of media content to match audio characteristics, improves the viewing experience of media works, and achieves a real-time, synchronized display effect.
Smart Images

Figure CN119537618B_ABST
Abstract
Description
[0001] This application is a divisional application, the original application's application number is 202210749375.2, the application date is June 28, 2022, and the invention name is "media content display method, device, equipment and storage medium". TECHNICAL FIELD
[0002] The embodiments of the present disclosure relate to the technical field of computer, and particularly relate to a media content display method, device, equipment, storage medium and product. BACKGROUND
[0003] With the continuous development of Internet technology, application programs (APPs) can display various media contents to users, and different users can share their works in the form of publishing pictures or videos.
[0004] At present, media works, which can include audio and multiple pictures, are favored by many users. When displaying the works, each picture is displayed in turn at a fixed time interval during the playing of the audio. SUMMARY
[0005] The embodiments of the present disclosure provide a media content display method, device, storage medium, equipment and product, which can optimize the existing media content display scheme.
[0006] In a first aspect, the embodiments of the present disclosure provide a media content display method, comprising:
[0007] displaying current media content in a target media work in a preset display page and playing a preset audio, wherein the target media work includes the preset audio and multiple media contents, and the media content includes pictures and / or videos;
[0008] determining a target feature time point in real time according to a current playing progress of the preset audio and feature time point information corresponding to a feature time point associated with the preset audio, wherein the feature time point includes a time point at which an audio feature in the preset audio meets a preset condition, and the target feature time point is a feature time point at which the preset audio is to play a next media content at the current playing progress;
[0009] when the playing progress of the preset audio reaches the target feature time point, switching the preset display page from displaying the current media content to displaying the next media content.
[0010] In a second aspect, the embodiments of the present disclosure also provide a media content display device, comprising:
[0011] A media content display module, configured to display the current media content in a target media work on a preset display page and play preset audio, wherein the target media work includes the preset audio and multiple media contents, wherein the media contents include images and / or videos;
[0012] a target characteristic moment determination module, configured to determine a target characteristic moment in real time based on the current playback progress of the preset audio and characteristic moment information corresponding to the characteristic moment associated with the preset audio, wherein the characteristic moment includes a time point at which an audio feature in the preset audio satisfies a preset condition, and the target characteristic moment is a characteristic moment at which the next media content to be played by the preset audio at the current playback progress;
[0013] The media content switching module is used to control the preset display page to switch from displaying the current media content to displaying the next media content when the playback progress of the preset audio reaches the target characteristic moment.
[0014] In a third aspect, an embodiment of the present disclosure further provides an electronic device, the electronic device comprising:
[0015] one or more processors;
[0016] a storage device for storing one or more programs,
[0017] When the one or more programs are executed by the one or more processors, the one or more processors implement the media content display method provided by the embodiment of the present disclosure.
[0018] In a fourth aspect, an embodiment of the present disclosure further provides a storage medium comprising computer-executable instructions, which, when executed by a computer processor, are used to execute the media content presentation method provided by an embodiment of the present disclosure.
[0019] The media content display scheme provided by the embodiments of the present disclosure displays the current media content in the target media work including the preset audio and a plurality of media contents in the preset display page, and plays the preset audio. According to the current playing progress of the preset audio and the characteristic time information associated with the preset audio, the target characteristic time is determined, wherein the characteristic time includes a time point at which the audio characteristic in the preset audio meets the preset condition, and the target characteristic time is the characteristic time at which the preset audio plays the next media content under the current playing progress. When the playing progress of the preset audio reaches the target characteristic time, the preset display page is automatically switched from displaying the current media content to displaying the next media content. By using the above technical scheme, in the process of displaying the media work, the switching time of the media content is dynamically determined according to the unplayed characteristic time in the preset audio, so that the switching of the media content is more flexible to match the audio characteristic of the audio, and the display effect of real-time card point can be achieved, and the viewing experience of the media work is improved. BRIEF DESCRIPTION OF DRAWINGS
[0020] The above and other features, advantages, and aspects of the present disclosure will become more apparent by describing in detail the embodiments thereof with reference to the attached drawings. Throughout the drawings, the same or similar reference numerals refer to the same or similar elements. It should be understood that the drawings are schematic, and the original and elements are not necessarily drawn according to the scale.
[0021] Figure 1 A flowchart of a media content display method provided by the embodiments of the present disclosure;
[0022] Figure 2 A flowchart of a media content display method provided by the embodiments of the present disclosure;
[0023] Figure 3 An interface interaction schematic diagram provided by the embodiments of the present disclosure;
[0024] Figure 4 Another interface interaction schematic diagram provided by the embodiments of the present disclosure;
[0025] Figure 5 A structural schematic diagram of a media content display device provided by the embodiments of the present disclosure;
[0026] Figure 6 A structural schematic diagram of an electronic device provided by the embodiments of the present disclosure. DETAILED DESCRIPTION
[0027] Embodiments of the present disclosure will be described in more detail below with reference to the accompanying drawings. While certain embodiments of the present disclosure are shown in the drawings, it is understood that the present disclosure can be embodied in various forms and should not be interpreted as being limited to the embodiments set forth herein; rather, these embodiments are provided so as to more completely and thoroughly understand the present disclosure. It should be understood that the drawings and embodiments of the present disclosure are only for illustrative purposes and are not intended to limit the scope of protection of the present disclosure.
[0028] It should be understood that each of the steps recited in the method embodiments of the present disclosure can be performed in different orders and / or in parallel. In addition, the method embodiments can include additional steps and / or omit the steps shown. The scope of the present disclosure is not limited in this respect.
[0029] The term "comprising" and variations thereof as used herein are open-ended, that is "including but not limited to". The term "based on" is "based, at least in part, on". The term "one embodiment" means "at least one embodiment"; the term "another embodiment" means "at least one additional embodiment"; the term "some embodiments" means "at least some embodiments". Related terms are defined in the following description.
[0030] It should be noted that the terms "first", "second", and the like in the present disclosure are only used to distinguish different devices, modules or units, and are not intended to limit the order or interdependence of the functions performed by these devices, modules or units.
[0031] It should be noted that the adjectives "one", "more" mentioned in the present disclosure are illustrative and not limiting, and those skilled in the art should understand that "one or more" should be understood unless the context clearly indicates otherwise.
[0032] The names of the messages or information exchanged between the devices in the embodiments of the present disclosure are only for illustrative purposes, and are not intended to limit the scope of the messages or information.
[0033] It can be understood that, before using the technical solutions disclosed in the embodiments of the present disclosure, the type, scope of use, use scenario, etc. of the personal information involved in the present disclosure should be informed to the user and the authorization of the user should be obtained in accordance with relevant laws and regulations.
[0034] For example, when responding to the active request of the user, the user is sent a prompt message to explicitly prompt the user that the operation requested to be performed will require the acquisition and use of the personal information of the user. Thus, the user can voluntarily choose whether to provide personal information to the software or hardware, such as electronic devices, application programs, servers or storage media, etc. that perform the operation of the technical solutions of the present disclosure according to the prompt message.
[0035] As an optional but non-limiting implementation, in response to receiving the active request of the user, the manner of sending the prompt information to the user may be, for example, a pop-up window manner, in which the prompt information may be presented in a text manner. In addition, the pop-up window may also carry a selection control for the user to select "agree" or "disagree" to provide personal information to the electronic device.
[0036] It can be understood that the above notification and user authorization obtaining process is only illustrative and does not limit the implementation of the present disclosure, and other manners meeting the relevant laws and regulations can also be applied to the implementation of the present disclosure.
[0037] It can be understood that the data involved in the technical solution (including but not limited to the data itself, the acquisition or use of the data) should comply with the requirements of the relevant laws and regulations and the relevant provisions.
[0038] Figure 1 A flowchart of a media content display method provided by an embodiment of the present disclosure is shown. The embodiment of the present disclosure is applicable to the case of media content display. The method can be executed by a media content display device, which can be implemented in the form of software and / or hardware. Optionally, the device is implemented by an electronic device, which can be a mobile terminal such as a mobile phone, a smart watch, a tablet computer, a personal digital assistant, or a personal computer (PC) or a server.
[0039] As shown in Figure 1 The method comprises the following steps.
[0040] In step 101, current media content in a target media work is displayed in a preset display page, and a preset audio is played, wherein the target media work comprises the preset audio and a plurality of media content, and the media content comprises a picture and / or a video.
[0041] In the embodiments of the present disclosure, the preset display page can be a page in a preset application. The preset application can provide a media work display function and also can provide a media work publishing function, that is, a user can view the media works created by himself or the media works published by others in the preset application, and also can publish the media works created by himself in the preset application. The media works include audio and multiple media contents. The media contents can include pictures or videos. The video can be understood as continuous multiple video images, and also can be referred to as a video clip. For example, the media works can include audio and multiple pictures, which can be referred to as picture works; can include audio and multiple (segment) videos, which can be referred to as multi-segment video works; and can include audio, at least one picture and at least one video, which can be referred to as mixed arrangement works. The picture or the video frame of the video can include image content and / or text content, etc. The multiple media contents can constitute a media content set. The content display order of each media content in the media content set can be preset, that is, the multiple media contents in the target media works are arranged in a preset order. It can be understood that the multiple media contents in the target media works can be played again from the first media content after being played completely. The pictures in the media works can be stored in a picture format, the videos can be stored in a video file form, and the audio can be stored in an audio file form, which can be generally stored in a server corresponding to the preset application or a local electronic device.
[0042] In the embodiments of the present disclosure, a current media content in a target media work is displayed in a preset display page. The target media work can be understood as a media work that is currently being displayed in the preset display page. The current media content can be understood as a media content that is currently being displayed in the preset display page, which can be a picture or a video, and specifically can be any one of the media contents in the target media work. While the current media content is displayed, a preset audio is played. The preset audio is an audio included in the target media work, which can be understood as background music of the media content. The target media work can include a to-be-published media work and / or a published media work.
[0043] In step 102, a target feature time point is determined in real time according to a current playing progress of the preset audio and feature time point information corresponding to a feature time point associated with the preset audio. The feature time point includes a time point at which an audio feature in the preset audio meets a preset condition. The target feature time point is a feature time point at which the preset audio is to play a next media content at the current playing progress.
[0044] Exemplarily, in the preset display page, if in the automatic switching mode, each media content can be displayed in sequence according to the content display order corresponding to the target media work, which can be single-round display (each media content is displayed once), or multi-round loop playing (after each media content is displayed once, the first media content is displayed again in sequence), and the like.
[0045] In the related art, in the automatic switching mode, the duration of single display of each media content can be set by default by a preset application or set by the creator (i.e., the user who creates the media content work), that is, the duration is set before display, and is generally allocated averagely, that is, the duration of single display of each media content is generally equal. Taking a picture work as an example, assuming that it contains four pictures, denoted as picture a, picture b, picture c and picture d, and the picture work also contains audio e, and the display duration of each picture is 2 seconds, when starting to display the picture work, audio e is played and picture a is displayed, the display duration of picture a reaches 2 seconds, and then picture b is automatically switched to be displayed, the display duration of picture b reaches 2 seconds, and then picture c is automatically switched to be displayed, and the like, until the display of the picture work is exited. It can be seen that the switching time of the pictures is determined according to whether the display duration reaches the specified duration, which is not associated with the audio, that is, the media content and the audio are separated, and the viewing experience is poor.
[0046] In the embodiments of the present disclosure, before switching the media content, the next switching time can be dynamically determined according to the current playing progress of the preset audio and the characteristic time point information associated with the preset audio, and the characteristic time point of the music playing corresponding to each media content is different according to different playing control operations of the target media work by the user, so that the switching of the media content can be more flexibly matched with the audio characteristics of the audio.
[0047] Exemplarily, the characteristic time point includes a time point at which an audio characteristic in the preset audio meets a preset condition. The audio characteristic in the preset audio can include at least one of a decibel, a frequency, a tone, a sound intensity, a pitch, an amplitude and a rhythm included in the preset audio, and is not limited in detail. The preset condition can be set according to actual needs, for example, the preset condition can be set according to the change of the audio characteristic, or the preset condition can be set according to whether the value of the audio characteristic is in a preset range. For example, the audio characteristic can be sound intensity or rhythm, and the characteristic time point can include a time point at which a heavy tone is located. The heavy tone can be understood as a tone with greater intensity in a music, which is a main note constituting the rhythm. The heavy tone can include a heavy tone represented by increasing sound intensity and a heavy tone represented by change of pitch, and the time point at which the heavy tone is located can also be referred to as a rhythm point.
[0048] For example, after determining the preset audio, the preset audio can be analyzed to determine the plurality of feature time points contained therein to obtain feature time point information, which can include the plurality of feature time points arranged in a playing order. The feature time points can be quantified based on the start and end times of the preset audio, for example, a feature time point appears at 1 minute and 20 seconds in the preset audio, which can be recorded as 1 minute and 20 seconds. The determination process of the feature time point information can be performed before the target media work starts to be displayed. When creating a media work, the creator can select a preset audio from an audio library provided by a server of a preset application, or upload a preset audio from a local electronic device or the like. For the audios in the audio library, the corresponding feature time point information of each audio (which can be stored in a configuration file) can be obtained by pre-analysis and stored in association with the corresponding audio for the creator to select. For the audio uploaded by the creator, the preset application or the corresponding server can analyze the audio selected by the user and generate feature time point information (which can be stored in a configuration file), and associate the generated feature time point information with the selected audio. When the media work needs to be displayed (including preview display before publication), the server can send the feature time point information to the preset application. Of course, the feature time point of the preset audio can also be dynamically analyzed during the display of the target media work to obtain the feature time point information, which is not limited in detail. It can be understood that when editing the target media work, a switch for automatically setting music points can be provided on the editing panel for the creator to select whether to turn on, and the type of audio features determined by the creator to select feature time points also needs to be considered.
[0049] Optionally, for the case where the creator selects a preset audio from the audio library, the associated information of the feature time point information can be displayed in the associated area (such as the right side of the option) of the option of the alternative audio in the audio library, wherein the associated information can be, for example, the time interval between every two adjacent feature time points, or the statistical value (such as the average value, etc.) of the time interval, which is beneficial for the creator to quickly estimate the rhythm and other related information (such as slow rhythm or fast rhythm, etc.) of the alternative audio according to the associated information, so as to quickly select an audio with high matching degree with the media content of the creator, improve the efficiency and accuracy of audio selection, and provide convenience for the creation of the creator.
[0050] For example, the current playing progress of the preset audio can be understood as the current playing position in the preset audio. For example, the current playing progress can be 1 minute and 17 seconds if the current playing position is 1 minute and 17 seconds in the preset audio. According to the current playing progress and the feature time information, the target feature time for switching the media content can be determined. The target feature time is the feature time of the next media content to be played in the preset audio at the current playing progress, which can be the Nth (N is a positive integer greater than 1) feature time to be played. N can be a fixed value set in advance or a dynamically determined value. For example, when the current media content is a picture, N is a fixed value, for example, 1, that is, the corresponding target feature time can be the next feature time to be played in the preset audio at the current playing progress. For another example, when the current media content is a video, N is a dynamically determined value, which can be determined according to the video duration, that is, the corresponding target feature time is determined according to the video duration of the current media content.
[0051] For example, when the current media content is a picture, the corresponding target feature time is the next feature time to be played in the preset audio. The first feature time after 1 minute and 17 seconds is 1 minute and 20 seconds, so the target feature time is determined to be 1 minute and 20 seconds.
[0052] Step 103, when the playing progress of the preset audio reaches the target feature time, the preset display page is controlled to switch from displaying the current media content to displaying the next media content.
[0053] For example, after determining the target feature time, the display of the current media content can be continued and the preset audio can be continued to be played, and the playing progress of the preset audio can be detected in real time. When the playing progress reaches the target feature time, the switching of the media content is triggered, that is, the display of the next media content is automatically switched from the display of the current media content in the preset display page.
[0054] The media content display method provided by the embodiments of the present disclosure displays the current media content in the target media work including the preset audio and a plurality of media contents in the preset display page, and plays the preset audio. According to the current playing progress of the preset audio and the characteristic time information associated with the preset audio, the target characteristic time is determined, wherein the characteristic time includes a time point at which the audio characteristic in the preset audio meets a preset condition, and the target characteristic time is the characteristic time at which the preset audio plays the next media content at the current playing progress. When the playing progress of the preset audio reaches the target characteristic time, the preset display page is automatically switched from displaying the current media content to displaying the next media content. By using the above technical solution, in the process of displaying the media work, the switching time of the media content is dynamically determined according to the unplayed characteristic time in the preset audio, so that the switching of the media content is more flexible to match the audio characteristic of the audio, and the display effect of real-time card points can be achieved, and the viewing experience of the media work is improved.
[0055] In some embodiments, the displaying the current media content in the target media work in the preset display page and playing the preset audio includes: in response to a media content switching operation of a user, controlling the preset display page to switch from displaying the current media content to displaying the target media content, maintaining the display of the target media content, and continuing to play the preset audio, wherein the target media content is the next media content or the previous media content of the current media content. The advantage of this setting is that it can support the user to manually switch the media content, so that the user can view the media content in the media work more freely.
[0056] For example, the media content switching operation can be a first preset gesture operation, which can be a sliding operation, and the next media content (such as corresponding to left sliding) or the previous media content (such as corresponding to right sliding) of the current media content can be determined according to the action direction of the first preset gesture operation. After switching, the display of the target media content after switching is maintained, which can also be understood as switching from the automatic switching mode to the manual switching mode. At this time, the switching of the media content is performed under the operation of the user, that is, the switching time is determined according to the input time of the media content switching operation input by the user. In the manual switching mode, the continuous playing of the preset audio can be supported, and the viewing experience of the media content is ensured.
[0057] In some embodiments, after the maintaining the display of the target media content and continuing to play the preset audio, the method further comprises: in response to the automatic switching resuming operation of the user, determining a target feature time instant in real time according to the current playing progress of the preset audio and the feature time instant information; and when the playing progress of the preset audio reaches the target feature time instant, controlling the preset display page to display the next media content instead of the current media content. In this way, after the automatic switching mode is resumed by the operation of the user, the target feature time instant for switching to the next media content is determined again, so that the media content switching is matched with the audio features again.
[0058] For example, the automatic switching resuming operation can be a triggering operation (such as clicking, etc.) on a preset resuming button. The automatic switching resuming operation can also be a second preset gesture operation on the preset display page. The second preset gesture operation can be divided into two gesture operations, for example, a preset pause operation and a preset play operation. The preset pause operation and the preset play operation can be the same or different, for example, both are clicking operations. It can be understood that the automatic switching resuming operation of the user can also be that the user does not have further operations after a preset time period, etc.
[0059] For example, after the user inputs the automatic switching resuming operation, the playing progress at the input time of the operation is taken as a starting point, and the next media content is taken as the first media content, and the automatic switching is started again. For example, the user slides from the second media content to the third media content by a sliding operation. The display of the media content stops at the third media content, and the preset audio continues to play from the second feature time instant (the progress is not affected). If the user does not continue to switch the media content, and inputs the automatic switching resuming operation before the preset audio plays to the eighth heavy tone, the media work resumes the carousel, and the entire media work can continue to be played with the fourth media content and the eighth heavy tone (target feature time instant) as a new corresponding relationship.
[0060] In some embodiments, the method further comprises: in response to a preset pause operation of the user, maintaining the display of the current media content and pausing the playing of the preset audio. In this way, the user can quickly pause the automatic switching of the media content and the playing of the preset audio by inputting the preset pause operation, and the convenience of the pause operation is improved.
[0061] In some embodiments, after the maintaining the display of the current media content and the pausing of the preset audio, the method further comprises: in response to a media content switching operation of the user, controlling the preset display page to switch from displaying the current media content to displaying a target media content, maintaining the display of the target media content, and maintaining the pausing of the preset audio, wherein the target media content is a next media content or a previous media content of the current media content. This arrangement has the advantage that after pausing the media work, the user is allowed to freely switch media content while maintaining the pausing of the audio during the switching process, thereby meeting the user's diverse media content viewing needs. The media content switching operation here can be the same as the media content switching operation described above, and will not be described again here.
[0062] In some embodiments, during the maintaining of the pausing of the preset audio, the method further comprises: in response to a preset pausing cancel operation of the user, determining a target feature time according to the current playing progress of the preset audio and the feature time information, and continuing to play the preset audio; and when the playing progress of the preset audio reaches the target feature time, automatically switching from displaying the current media content to displaying a next media content in the preset display page. This arrangement has the advantage that when the user cancels the pausing of the media work, the automatic switching mode can be resumed, the target feature time for switching to the next media content is re-determined, and media content switching that matches the audio features is achieved.
[0063] In some embodiments, in the case where the current media content is a video, the corresponding target feature time is determined according to the video duration of the current media content. Optionally, in the case where the current media content is a video, the corresponding target feature time is a feature time that is a preset number of feature times away from the completion time of the current media content and that the preset audio can meet the complete playing of the current media content at the current playing progress. This arrangement has the advantage that the complete playing of the video segment can be ensured while matching the media content switching with the feature time. The preset number can be set according to actual needs, such as 1 or 2, etc.
[0064] Optionally, the preset number is 1, i.e., the nearest feature time to the completion time of the current media content. For example, the unplayed duration of the current video segment is 10 seconds, the current playing progress is 1 minute and 17 seconds, and the next feature times are 1 minute and 20 seconds, 1 minute and 22 seconds, 1 minute and 26 seconds, and 1 minute and 29 seconds. If the current video segment is played completely, it needs to be played to 1 minute and 27 seconds, which is between 1 minute and 26 seconds and 1 minute and 29 seconds. At this time, 1 minute and 29 seconds can be determined as the target feature time.
[0065] Further, the controlling the preset display page to automatically switch from displaying the current media content to displaying the next media content when the playing progress of the preset audio reaches the target feature moment comprises: maintaining display of a video frame at a preset position in the current media content after all video frames of the current media content are played, and controlling the preset display page to automatically switch from displaying the current media content to displaying the next media content when the playing progress of the preset audio reaches the target feature moment. In this way, if the switching moment has not been reached after the video is played, the preset position (e.g., the last) video frame is used to fill the blank period, ensuring the continuity of the media content display, and thus ensuring the viewing experience.
[0066] In some embodiments, the controlling the preset display page to automatically switch from displaying the current media content to displaying the next media content when the playing progress of the preset audio reaches the target feature moment comprises: displaying a first transition picture after all video frames of the current media content are played, and controlling the preset display page to automatically switch from displaying the current media content to displaying the next media content when the playing progress of the preset audio reaches the target feature moment. The first transition picture can include at least n frames of the next video, or n frames of the previous video and n frames of the next video. In this way, if the switching moment has not been reached after the video is played, the first transition picture is used to fill the blank period, ensuring the smoothness of the media content display, and making the switching between the previous and next media content more natural, and thus ensuring the viewing experience.
[0067] For example, the first transition picture can include the last frame of the previous video and / or the first frame of the next video, and the specific transition manner is not limited, such as vertical curtain, erasing transition, color dissolving transition, and lens transition, etc.
[0068] In some embodiments, in the case where the current media content is a video, the corresponding target feature moment is the preset number of feature moments before the complete playing of the current media content at the current playing progress. In this way, the continuity of the media content display can be ensured, and thus the viewing experience can be ensured. The preset number can be set according to actual needs, such as 1 or 2, etc.
[0069] In some embodiments, the controlling the preset display page to switch from displaying the current media content to displaying the next media content when the playing progress of the preset audio reaches the target feature time comprises: displaying a second transition picture after the playing progress of the preset audio reaches the target feature time, the second transition picture comprising a video frame that is not played by the current media content. This has the advantage of making the switching of media content more natural by adding a second transition picture comprising a video frame that is not played, while ensuring that the switching time matches the audio feature. The specific transition method is not limited, such as vertical curtain, wipe transition, color dissolve transition, and lens transition, etc. For example, in the case where the current media content is a video, the corresponding target feature time is the first feature time before the complete playing of the current media content, and after the playing progress of the preset audio reaches the target feature time, a curtain transition picture is displayed, the second transition picture comprising a video frame that is not played by the current media content from the target feature time to the completion of playing.
[0070] In some embodiments, in the case where the current media content is a video, the corresponding target feature time can also be the nearest feature time to be played from the estimated completion time of the current media content. As an example above, 1 minute 26 seconds is closer to 1 minute 27 seconds than 1 minute 29 seconds, and 1 minute 26 seconds can be determined as the target feature time. In this way, in the case where the current video segment is not played to completion, the next media content will be automatically switched when the target feature time is reached, improving the continuity of the playing of the two media contents.
[0071] In some embodiments, determining a target characteristic moment in real time based on the current playback progress of the preset audio and the characteristic moment information corresponding to the characteristic moment associated with the preset audio includes: obtaining a target file corresponding to the target media work, the target file including multiple target image resources, target audio resources, and a configuration file corresponding to multiple media contents, wherein the target image resources and the target audio resources are independent of each other; obtaining the characteristic moment information based on the configuration file; obtaining the current playback progress of the target audio resource, and determining a target characteristic moment based on the current playback progress and the characteristic moment information, wherein the target characteristic moment is used to control the playback of the multiple target image resources. The image resources may include image files and video files. The advantage of this setting is that the target image resources and the target audio resources are independent of each other, so that the resources corresponding to the same media content can be switched at different characteristic moments based on different user operations (for example, achieving different rhythm points based on different user operations). In the prior art, the card point video is pre-combined with images or videos and audio into a file. Therefore, the point at which each media content is carded in the prior art is fixed. However, the technical solution of the embodiment of the present disclosure can achieve a more flexible and real-time card point effect.
[0072] It is understandable that when a viewing user wishes to download a target media work, files can be synthesized based on the above-mentioned multiple target image resources, target audio resources and configuration files to generate a card point video for the user to download.
[0073] Figure 2 This is a flow chart of a method for displaying media content provided by an embodiment of the present disclosure. This embodiment of the present disclosure is optimized based on the various optional solutions in the above embodiments. Taking the media work as a picture work as an example, the method specifically includes the following steps:
[0074] Step 201: Display the current media content in the target media work on a preset display page and play the preset audio.
[0075] The target media work includes preset audio and multiple media contents, and the media contents include pictures.
[0076] Figure 3 This is a schematic diagram of an interface interaction provided by an embodiment of the present disclosure, such as Figure 3 As shown, the first picture in the target media work, the star picture, is displayed in the preset display page 301. Short lines can be used at the bottom of the preset display page 301 to indicate the number of pictures in the target media work. Bold short lines indicate pictures that have been displayed or are being displayed in this round, and thin short lines indicate pictures that have not been displayed in this round.
[0077] Step 202: Determine a first target characteristic moment in real time based on the current playback progress of the preset audio and characteristic moment information corresponding to the characteristic moment associated with the preset audio.
[0078] The characteristic moment includes the moment of the accent, and the target characteristic moment is the next characteristic moment to be played in the preset audio under the current playback progress.
[0079] like Figure 3 As shown, for the sake of convenience, the playback progress bar of the preset audio (corresponding to the characteristic moment information) is shown above each interface diagram. The characteristic moments in the preset audio include 2s (seconds), 5s, 6s, 8s and 11s, etc., and the subsequent characteristic moments are omitted and not shown. When the first picture is displayed, the next characteristic moment to be played can be determined as the first target characteristic moment based on the current playback progress of the preset audio (such as the progress is 0s or close to 0s when the playback starts) and the characteristic moment information associated with the preset audio. Figure 3 , the first target characteristic moment at this time is 2s.
[0080] Step 203: When the playback progress of the preset audio reaches the first target characteristic moment, the preset display page is controlled to switch from displaying the current media content to displaying the next media content.
[0081] For example, as the preset audio is played, the playing progress continues to advance, and when the first target feature moment is reached, it automatically switches to displaying the next picture. Figure 3 As shown, the black bold line in the playback progress bar is used to indicate the playback progress. When the playback progress reaches 2s, it automatically switches to displaying the second picture, the moon picture.
[0082] Step 204 : In response to the user's media content switching operation, control the preset display page to switch from displaying the current media content to displaying the first target media content, maintain the display of the first target media content, and continue to play the preset audio.
[0083] The first target media content is the next media content or the previous media content of the current media content.
[0084] For example, Figure 3As shown, when displaying the moon image, the corresponding first target characteristic moment can be determined to be 5 seconds. Before the playback progress of the preset audio reaches 5 seconds (such as 3.5 seconds in the figure), the user inputs a left swipe operation (media content switching operation). At this time, there is no need to wait for 5 seconds. The user's operation can be responded to immediately, switching to the third image, the sun image. At this time, the sun image will remain displayed and the preset audio will continue to play. Subsequently, while continuing to play the preset audio, the user can continue to freely switch images by inputting a left swipe operation or a right swipe operation. During the user's free switching process, the image is no longer played at a fixed point but completely follows the user's control.
[0085] Step 205: In response to the user's automatic switching recovery operation, determine the second target characteristic moment according to the current playback progress and characteristic moment information of the preset audio.
[0086] like Figure 3 As shown, during the display of the sun picture, if the user wants to restore the automatic switching mode of the picture, the user can input the automatic switching recovery operation (as input at 7s in the figure). If the preset pause operation (such as a click operation) is first input, and then the preset pause cancel operation (such as a click operation for the playback control) is input, it can be considered that the user triggers the restoration of the automatic switching mode. At this time, the current second target characteristic moment can be determined as the next characteristic moment to be played, that is, 8s, according to the current playback progress and characteristic moment information, and the display of the sun picture can continue.
[0087] Step 206: When the playback progress of the preset audio reaches the second target characteristic moment, the preset display page is controlled to switch from displaying the target media content to displaying the next media content.
[0088] like Figure 3 As shown, as the preset audio continues to play, when the playback progress reaches 8s, it can automatically switch to displaying the fourth picture, a landscape picture.
[0089] Step 207: In response to the user's preset pause operation, the display of the current media content is maintained, and the playback of the preset audio is paused.
[0090] Figure 4 This is another interface interaction diagram provided by the embodiment of the present disclosure. Assume that Figure 3 Based on the last interface, the playback continues. Before reaching the next characteristic moment 11s, the user inputs a preset pause operation (such as a click operation) (such as input at 9s), keeps displaying the landscape picture, and pauses the playback of the preset audio.
[0091] Step 208, in response to the media content switching operation of the user, the preset display page is controlled to switch from displaying the current media content to displaying the second target media content, the display of the second target media content is maintained, and the pause playing of the preset audio is maintained.
[0092] The second target media content is the next media content or the previous media content of the current media content.
[0093] As shown in FIG. 8, the user can input a rightward sliding operation to browse the previous sun picture, and the preset audio is kept paused during the switching of the pictures. Figure 4
[0094] Step 209, in response to the preset pause cancel operation of the user, a third target feature time is determined according to the current playing progress of the preset audio and the feature time information, and the preset audio is continued to be played.
[0095] As shown in FIG. 8, when the user inputs the preset pause cancel operation (such as a click operation on the playing control), the preset audio is continued to be played, and the next feature time is determined as the third target feature time, that is, 11s. Figure 4
[0096] Step 210, when the playing progress of the preset audio reaches the third target feature time, the preset display page is controlled to switch from displaying the current media content to displaying the next media content.
[0097] As shown in FIG. 8, when the playing progress of the preset audio reaches 11s, the preset display page is automatically switched to display the next landscape picture of the sun picture. Figure 4 It should be noted that the sequence of the above steps can be changed, for example, steps 207 to 210 can be before steps 204 to 206.
[0098] The media content display method provided by the embodiments of the present disclosure can dynamically determine the switching time of the media content according to the unplayed feature time in the preset audio in the automatic switching mode, support entering the manual switching mode, and control the switching of the pictures freely in the manual switching mode, flexibly control the pause and playing of the preset audio, and continue to dynamically determine the automatic switching time of the media content according to the unplayed feature time in the preset audio after the automatic switching mode is restored. There is no strict binding relationship between the media content and the feature time, the music will not jump when the user manually switches the media content and restores the click point playing, the switching of the media content is more flexible to match the audio features of the audio, the real-time click point display effect can be achieved, the self-switching ability of the user is ensured, and the viewing experience of the media work is improved.
[0099]
[0100] Figure 5 A structural schematic diagram of a media content display device provided by an embodiment of the present disclosure is shown in FIG. 1. As shown in the figure, the device includes a media content display module 501, a target feature time point determination module 502, and a media content switching module 503. Figure 5
[0101] The media content display module 501 is configured to display current media content in a target media work in a preset display page and play a preset audio, wherein the target media work includes the preset audio and a plurality of media content, and the media content includes pictures and / or videos.
[0102] The target feature time point determination module 502 is configured to determine a target feature time point in real time according to a current playing progress of the preset audio and feature time point information corresponding to a feature time point associated with the preset audio, wherein the feature time point includes a time point at which an audio feature in the preset audio meets a preset condition, and the target feature time point is a feature time point at which the next media content is to be played in the preset audio at the current playing progress.
[0103] The media content switching module 503 is configured to control the preset display page to switch from displaying the current media content to displaying the next media content when the playing progress of the preset audio reaches the target feature time point.
[0104] The media content display device provided by the embodiment of the present disclosure displays current media content in a target media work including a preset audio and a plurality of media content in a preset display page and plays the preset audio, determines a target feature time point according to a current playing progress of the preset audio and feature time point information associated with the preset audio, wherein the feature time point includes a time point at which an audio feature in the preset audio meets a preset condition, and the target feature time point is a feature time point to be played in the preset audio, and the preset display page automatically switches from displaying the current media content to displaying the next media content when the playing progress of the preset audio reaches the target feature time point. By using the above technical solution, in the process of displaying a media work, the switching time of media content is dynamically determined according to the unplayed feature time point in the preset audio, so that the switching of media content is more flexible to match the audio feature of the audio, and the display effect of real-time key points can be achieved, and the viewing experience of the media work is improved.
[0105] Optionally, the media content display module is specifically configured to, in response to a media content switching operation of a user, control the preset display page to switch from displaying the current media content to displaying target media content, maintain the display of the target media content, and continue to play the preset audio, wherein the target media content is the next media content or the previous media content of the current media content.
[0106] Optionally, the apparatus further comprises:
[0107] a resuming operation response module, configured to, after the maintaining the display of the target media content and the continuing playing of the preset audio, in response to the automatic switching resuming operation of the user, determine a target feature time according to the current playing progress of the preset audio and the feature time information in real time;
[0108] The media content switching module is further configured to, when the playing progress of the preset audio reaches the target feature time, control the preset display page to automatically switch from displaying the current media content to displaying the next media content.
[0109] Optionally, the apparatus further comprises:
[0110] a pausing response module, configured to, in response to a preset pausing operation of the user, maintain the display of the current media content and pause the playing of the preset audio.
[0111] Optionally, the apparatus further comprises:
[0112] a second switching operation response module, configured to, after the maintaining the display of the current media content and the pausing the playing of the preset audio, in response to a media content switching operation of the user, control the preset display page to switch from displaying the current media content to displaying a target media content, maintain the display of the target media content, and maintain the pausing of the playing of the preset audio, wherein the target media content is the next media content or the previous media content of the current media content.
[0113] Optionally, the apparatus further comprises:
[0114] a pausing canceling response module, configured to, in the process of the maintaining the pausing of the playing of the preset audio, in response to a preset pausing canceling operation of the user, determine a target feature time according to the current playing progress of the preset audio and the feature time information in real time, and continue playing the preset audio.
[0115] The media content switching module is further configured to, when the playing progress of the preset audio reaches the target feature time, control the preset display page to automatically switch from displaying the current media content to displaying the next media content.
[0116] Optionally, in the case where the current media content is a picture, the corresponding target feature time is the next feature time to be played by the preset audio at the current playing progress.
[0117] Optionally, in the case where the current media content is a video, the corresponding target feature time is determined according to the video duration of the current media content.
[0118] Optionally, in a case where the current media content is a video, the corresponding target feature moment is a feature moment that is a preset number of feature moments before complete playing of the current media content under the current playing progress of the preset audio.
[0119] Optionally, the controlling the preset display page to switch from displaying the current media content to displaying the next media content when the playing progress of the preset audio reaches the target feature moment comprises:
[0120] After all video frames of the current media content are played, a video frame at a preset position of the current media content is kept displayed, and the preset display page is controlled to switch from displaying the current media content to displaying the next media content when the playing progress of the preset audio reaches the target feature moment.
[0121] Optionally, the feature moment comprises a moment at which a stress tone is located.
[0122] Optionally, the controlling the preset display page to switch from displaying the current media content to displaying the next media content when the playing progress of the preset audio reaches the target feature moment comprises:
[0123] After all video frames of the current media content are played, a first transition picture is displayed, and the preset display page is controlled to switch from displaying the current media content to displaying the next media content when the playing progress of the preset audio reaches the target feature moment.
[0124] Optionally, in a case where the current media content is a video, the corresponding target feature moment is a feature moment that is a preset number of feature moments before complete playing of the current media content under the current playing progress of the preset audio.
[0125] Optionally, the controlling the preset display page to switch from displaying the current media content to displaying the next media content when the playing progress of the preset audio reaches the target feature moment comprises:
[0126] After the playing progress of the preset audio reaches the target feature moment, a second transition picture is displayed, the second transition picture comprising a video frame that is not played of the current media content.
[0127] Optionally, the target feature moment determination module comprises:
[0128] The file acquisition unit is configured to acquire a target file corresponding to the target media work, the target file comprising a plurality of target image resources, a target audio resource and a configuration file corresponding to a plurality of media contents, wherein the target image resources and the target audio resource are independent of each other.
[0129] The feature time information acquisition unit is configured to acquire the feature time information based on the configuration file.
[0130] The target feature time determination unit is configured to acquire a current playing progress of the target audio resource, and determine a target feature time based on the current playing progress and the feature time information, wherein the target feature time is used to control playing of the plurality of target image resources.
[0131] The media content display device provided by the embodiments of the present disclosure can execute the media content display method provided by any of the embodiments of the present disclosure, and has the corresponding function modules and beneficial effects of executing the method.
[0132] It is worth noting that each unit and module included in the above device is only divided according to the function logic, but is not limited to the above division, as long as the corresponding function can be realized; in addition, the specific name of each functional unit is only for easy mutual distinction, and does not limit the protection scope of the embodiments of the present disclosure.
[0133] Figure 6 A structural schematic diagram of an electronic device provided by an embodiment of the present disclosure is shown in FIG. 6. Figure 6 FIG. 6 shows a structural schematic diagram of an electronic device (for example, a terminal device or a server) 600 suitable for implementing the embodiments of the present disclosure. The terminal device in the embodiments of the present disclosure can include but is not limited to mobile terminals such as mobile phones, notebook computers, digital broadcast receivers, PDAs (personal digital assistants), PADs (tablets), PMPs (portable multimedia players), vehicle-mounted terminals (such as vehicle-mounted navigation terminals), and the like, and fixed terminals such as digital TVs, desktop computers, and the like. Figure 6 The electronic device shown is only an example, and should not bring any limitation to the functions and use range of the embodiments of the present disclosure. Figure 6
[0134] As shown in FIG. 6, the electronic device 600 can include a processor 601, a memory 602, a communication interface 603, and the like. Figure 6 As shown, the electronic device 600 can include a processing device (e.g., a central processing unit, a graphics processing unit, etc.) 601 that can perform various appropriate actions and processes according to programs stored in a read-only memory (ROM) 602 or loaded into a random access memory (RAM) 603 from a storage device 608. Various programs and data required for the operation of the electronic device 600 are also stored in the RAM 603. The processing device 601, the ROM 602, and the RAM 603 are connected to each other through a bus 604. An input / output (I / O) interface 605 is also connected to the bus 604.
[0135] Generally, the following devices can be connected to the I / O interface 605: input devices 606 including, for example, a touch screen, a touch pad, a keyboard, a mouse, a camera, a microphone, an accelerometer, a gyroscope, etc.; output devices 607 including, for example, a liquid crystal display (LCD), a speaker, a vibrator, etc.; storage devices 608 including, for example, a magnetic tape, a hard disk, etc.; and communication devices 609. The communication devices 609 can allow the electronic device 600 to communicate wirelessly or wired with other devices to exchange data. Although Figure 6 The electronic device 600 is shown with various devices, but it should be understood that not all of the shown devices are required to be implemented or present. More or fewer devices can alternatively be implemented or present.
[0136] In particular, the processes described above with reference to the flowcharts can be implemented as a computer software program according to embodiments of the present disclosure. For example, embodiments of the present disclosure include a computer program product comprising a computer program carried on a non-transitory computer readable medium, the computer program containing program code for performing the methods illustrated by the flowcharts. In such embodiments, the computer program can be downloaded and installed from a network through the communication devices 609, or installed from the storage devices 608, or installed from the ROM 602. When the computer program is executed by the processing device 601, the above-mentioned functions defined in the methods of embodiments of the present disclosure are performed.
[0137] The names of the messages or information exchanged between the plurality of devices in the embodiments of the present disclosure are only for illustrative purposes, and are not intended to limit the scope of the messages or information.
[0138] The electronic device provided by the embodiments of the present disclosure and the media content presentation method provided by the above-mentioned embodiments belong to the same inventive concept, and the technical details not described in detail in the present embodiment can be referred to the above-mentioned embodiments, and the present embodiment has the same beneficial effects as the above-mentioned embodiments.
[0139] The embodiments of the present disclosure provide a computer storage medium having a computer program stored thereon, which, when executed by a processor, implements the media content presentation method provided by the above-mentioned embodiments.
[0140] Note that the computer readable medium described above in the present disclosure can be a computer readable signal medium or a computer readable storage medium or any combination thereof. The computer readable storage medium can be, for example and without limitation, an electronic, magnetic, optical, electromagnetic, infrared, or semiconductor system, apparatus or device, or any suitable combination thereof. More specific examples of the computer readable storage medium can include, but are not limited to, an electrical connection having one or more wires, a portable computer diskette, a hard disk, a random access memory (RAM), a read-only memory (ROM), an erasable programmable read-only memory (EPROM or Flash memory), an optical fiber, a portable compact disc read-only memory (CD-ROM), an optical storage device, a magnetic storage device, or any suitable combination thereof. In the present disclosure, the computer readable storage medium can be any tangible medium that contains or stores a program used by or in connection with an instruction execution system, apparatus or device. In the present disclosure, the computer readable signal medium can include a data signal propagated in baseband or propagated as a carrier wave in a propagated data signal, in which the computer readable program code is contained. Such a propagated data signal can take any of a variety of forms, including but not limited to electro-magnetic, optical, or any suitable combination thereof. The computer readable signal medium can also be any computer readable medium that is not a computer readable storage medium and that can communicate, propagate or transport a program for use by or in connection with an instruction execution system, apparatus or device. The program code contained on the computer readable medium can be transmitted by any suitable medium, including but not limited to wire, cable, RF, etc., or any suitable combination thereof.
[0141] In some embodiments, the client, server, or both can communicate using any current known or future developed network protocol, such as HTTP (HyperText Transfer Protocol), and can be interconnected with any form or medium of digital data communication (e.g., a communication network). Examples of communication networks include local area networks ("LAN"), wide area networks ("WAN"), the Internet, and peer-to-peer networks (e.g., ad hoc peer-to-peer networks), as well as any current known or future developed networks.
[0142] The computer readable medium described above can be included in the electronic device described above; or can exist separately from the electronic device, and can be accessed via the electronic device.
[0143] The computer readable medium described above carries one or more programs, when the one or more programs are executed by the electronic device, cause the electronic device to: display current media content in a target media work in a preset display page, and play a preset audio, wherein the target media work comprises the preset audio and a plurality of media content, and the media content comprises pictures and / or videos; determine a target feature time point in real time according to a current playing progress of the preset audio and feature time point information corresponding to a feature time point associated with the preset audio, wherein the feature time point comprises a time point at which an audio feature in the preset audio meets a preset condition, and the target feature time point is a feature time point at which the preset audio is to play a next media content at the current playing progress; and control the preset display page to switch from displaying the current media content to displaying the next media content when the playing progress of the preset audio reaches the target feature time point.
[0144] Computer program code for carrying out operations of the present disclosure can be written in any of one or more programming languages or combinations of languages including object or visual programming languages such as Java, Smalltalk, C++ or conventional procedural programming languages such as the "C" programming language or similar programming languages. The program code can execute entirely on the user's computer, partly on the user's computer, as a stand-alone software package, partly on the user's computer and partly on a remote computer or entirely on the remote computer or server. In the latter scenario, the remote computer can be connected to the user's computer through any type of network, including a local area network (LAN) or a wide area network (WAN), or the connection can be made to an external computer (for example, through the Internet using an Internet Service Provider).
[0145] The flow and block diagrams in the drawings show architectural, functional, and operational representations of possible implementations of systems, methods, and computer program products according to various embodiments of the present disclosure. In this regard, each block in the flow and block diagrams can represent a module, a segment, or a portion of code, which comprises one or more executable instructions for implementing the specified logical function(s). It should also be noted that in some alternative implementations, the functions noted in the blocks can occur out of the order noted in the figures. For example, two blocks shown in succession may, in fact, be executed substantially concurrently or the blocks may
[0146] The units described in the embodiments of the present disclosure can be implemented in the form of software, or can be implemented in the form of hardware. In some cases, the name of the module does not constitute a limitation on the module itself. For example, the media content switching module can also be described as a module that automatically switches the preset display page from displaying the current media content to displaying the next media content when the playing progress of the preset audio reaches the target feature time.
[0147] The functions described above in the present document can be performed, at least in part, by one or more hardware logic components. For example, and without limitation, example types of hardware logic components that can be used include Field-programmable Gate Arrays (FPGAs), Application-specific Integrated Circuits (ASICs), Application-specific Standard Products (ASSPs), System-on-a-chip systems (SOCs), Complex Programmable Logic Devices (CPLDs), etc.
[0148] In the context of the present disclosure, a machine-readable medium can be a tangible medium that contains or stores a program for use by or in connection with an instruction execution system, apparatus, or device. The machine-readable medium can be a machine-readable signal medium or a machine-readable storage medium. The machine-readable medium can include, but is not limited to, an electronic, magnetic, optical, electromagnetic, infrared, or semiconductor system, apparatus, or device, or any suitable combination of the foregoing. More specific examples of the machine-readable storage medium will include one or more lines of electrical connections, portable computer disks, hard disks, random access memory (RAM), read-only memory (ROM), erasable programmable read-only memory (EPROM or Flash memory), optical fibers, portable compact disc read-only memories (CD-ROMs), optical storage devices, magnetic storage devices, or any suitable combination of the foregoing.
[0149] According to one or more embodiments of the present disclosure, example 1 provides a media content display method, comprising:
[0150] displaying current media content in a target media work in a preset display page, and playing a preset audio, wherein the target media work comprises the preset audio and a plurality of media content, and the media content comprises pictures and / or videos;
[0151] determining a target feature time in real time according to a current playing progress of the preset audio and feature time information corresponding to a feature time associated with the preset audio, wherein the feature time comprises a time point at which an audio feature in the preset audio meets a preset condition, and the target feature time is a feature time at which the preset audio is to play the next media content at the current playing progress;
[0152] when the playing progress of the preset audio reaches the target feature time, controlling the preset display page to switch from displaying the current media content to displaying the next media content.
[0153] According to one or more embodiments of the present disclosure, example 2, the method according to example 1, the displaying of the current media content in the target media work in the preset display page and the playing of the preset audio, comprises:
[0154] in response to a media content switching operation of the user, controlling the preset display page to switch from displaying the current media content to displaying the target media content, maintaining the display of the target media content, and continuing to play the preset audio, wherein the target media content is the next media content or the previous media content of the current media content.
[0155] According to one or more embodiments of the present disclosure, example 3, the method according to example 2, after the maintaining of the display of the target media content and the continuing to play of the preset audio, further comprises:
[0156] in response to an automatic switching resuming operation of the user, determining a target feature time in real time according to the current playing progress of the preset audio and the feature time information;
[0157] when the playing progress of the preset audio reaches the target feature time, controlling the preset display page to switch from displaying the current media content to displaying the next media content.
[0158] According to one or more embodiments of the present disclosure, example 4, the method according to example 1, further comprises:
[0159] in response to a preset pausing operation of the user, maintaining the display of the current media content and pausing the playing of the preset audio;
[0160] in response to a media content switching operation of the user, controlling the preset display page to switch from displaying the current media content to displaying the target media content, maintaining the display of the target media content, and maintaining the pausing of the playing of the preset audio, wherein the target media content is the next media content or the previous media content of the current media content.
[0161] in response to a preset pausing canceling operation of the user, determining a target feature time in real time according to the current playing progress of the preset audio and the feature time information, and continuing to play the preset audio;
[0162] when the playing progress of the preset audio reaches the target feature time, controlling the preset display page to switch from displaying the current media content to displaying the next media content.
[0163] According to one or more embodiments of the present disclosure, in example 5, the method according to example 1, in the case that the current media content is a picture, the corresponding target feature time point is a next feature time point of the preset audio to be played at the current playing progress.
[0164] According to one or more embodiments of the present disclosure, in example 6, the method according to example 1, in the case that the current media content is a video, the corresponding target feature time point is determined according to a video length of the current media content.
[0165] According to one or more embodiments of the present disclosure, in example 7, the method according to example 6, in the case that the current media content is a video, the corresponding target feature time point is a feature time point that is the preset number of feature time points away from a time point at which the current media content is completely played, and that can satisfy complete playing of the current media content at the current playing progress.
[0166] According to one or more embodiments of the present disclosure, in example 8, the method according to example 7, the controlling the preset display page to switch from displaying the current media content to displaying the next media content when the playing progress of the preset audio reaches the target feature time point comprises:
[0167] After all video frames of the current media content are played, a video frame at a preset position in the current media content is kept displayed, and the preset display page is controlled to switch from displaying the current media content to displaying the next media content when the playing progress of the preset audio reaches the target feature time point.
[0168] According to one or more embodiments of the present disclosure, in example 9, the method according to example 8, the controlling the preset display page to switch from displaying the current media content to displaying the next media content when the playing progress of the preset audio reaches the target feature time point comprises:
[0169] After all video frames of the current media content are played, a first transition picture is displayed, and the preset display page is controlled to switch from displaying the current media content to displaying the next media content when the playing progress of the preset audio reaches the target feature time point.
[0170] According to one or more embodiments of the present disclosure, in example 10, the method according to example 6, in the case that the current media content is a video, the corresponding target feature time point is a feature time point that is the preset number of feature time points away from complete playing of the current media content at the current playing progress.
[0171] According to one or more embodiments of the present disclosure, example 11 provides a method according to example 10, wherein the controlling the preset display page to switch from displaying the current media content to displaying the next media content when the playing progress of the preset audio reaches the target feature time comprises:
[0172] displaying a second transition picture after the playing progress of the preset audio reaches the target feature time, the second transition picture comprising a video frame that is not played by the current media content.
[0173] According to one or more embodiments of the present disclosure, example 12 provides a method according to example 1, wherein the determining the target feature time in real time according to the current playing progress of the preset audio and the feature time information corresponding to the feature time associated with the preset audio comprises:
[0174] obtaining a target file corresponding to the target media work, the target file comprising a plurality of target image resources, a target audio resource, and a configuration file corresponding to a plurality of media contents, wherein the target image resource and the target audio resource are independent of each other;
[0175] obtaining the feature time information based on the configuration file;
[0176] obtaining a current playing progress of the target audio resource, and determining a target feature time based on the current playing progress and the feature time information, wherein the target feature time is used to control playing of the plurality of target image resources
[0177] According to one or more embodiments of the present disclosure, example 13 provides a media content display device, comprising:
[0178] a media content display module configured to display a current media content in a target media work in a preset display page and play a preset audio, wherein the target media work comprises the preset audio and a plurality of media contents, and the media content comprises a picture and / or a video;
[0179] a target feature time determination module configured to determine a target feature time in real time according to a current playing progress of the preset audio and feature time information corresponding to a feature time associated with the preset audio, wherein the feature time comprises a time point at which an audio feature in the preset audio meets a preset condition, and the target feature time is a feature time at which the preset audio is to play a next media content at the current playing progress;
[0180] a media content switching module configured to control the preset display page to switch from displaying the current media content to displaying the next media content when a playing progress of the preset audio reaches the target feature time.
[0181] According to related embodiments of the present disclosure, example 14 provides an apparatus according to example 13, comprising: modules for performing the method according to any one of examples 2-12.
[0182] According to related embodiments of the present disclosure, example 15 provides an electronic device, comprising:
[0183] one or more processors;
[0184] a memory device for storing one or more programs,
[0185] when the one or more programs are executed by the one or more processors, the one or more processors implement the method for presenting media content according to embodiments of the present disclosure.
[0186] According to related embodiments of the present disclosure, example 16 provides a storage medium containing computer executable instructions, which when executed by a computer processor, perform the method for presenting media content according to embodiments of the present disclosure.
[0187] The above description merely provides preferred embodiments of the present disclosure and a description of the technical principles of the present disclosure. It should be understood by those skilled in the art that the disclosed scope of the present disclosure is not limited to the above technical features in a certain combination, and also includes other technical solutions formed by any combination of the above technical features or equivalent features without departing from the above disclosed concept. For example, the above technical features can be replaced with technical features disclosed in the present disclosure (but not limited to) having similar functions to form technical solutions.
[0188] In addition, although each operation is depicted in a particular order, this should not be understood as requiring the operations to be performed in the particular order shown or in sequential order. In certain circumstances, multitasking and parallel processing can be advantageous. Similarly, although several implementation details are included in the above discussion, these should not be interpreted as limiting the scope of the present disclosure. Certain features described in the context of separate embodiments can also be combined in a single embodiment. Conversely, various features described in the context of a single embodiment can also be separated and implemented in multiple embodiments. The various features described in the context of the above embodiments can be combined in any suitable sub-combination.
[0189] Although the subject matter has been described in language specific to structural features and / or methodological acts, it is to be understood that the subject defined in the appended claims is not necessarily limited to the specific features or acts described above. Rather, the specific features and acts described above are disclosed as example forms of implementing the claims.
Claims
1. A method of media content presentation, characterized by, The method comprises: displaying current media content in a target media work in a preset display page, and playing a preset audio, wherein the target media work comprises the preset audio and a plurality of media content, and the media content comprises pictures and / or videos; in response to the target media work being in an automatic switching mode, when a playing progress of the preset audio reaches a target feature time, the preset display page is switched from displaying the current media content to displaying next media content, the target feature time is a feature time at which the preset audio is to play the next media content at a current playing progress, and the feature time comprises a time point at which an audio feature in the preset audio meets a preset condition; in response to a media content switching operation of a user, the display of the target media work is switched to a manual switching mode, switching between the plurality of media content is performed based on a current user operation, and during the switching between the plurality of media content based on the current user operation, the preset audio continues to be played in the original progress; wherein the display of the target media work supports switching from the manual switching mode to the automatic switching mode.
2. The method of claim 1, wherein, The method further comprises: determining a target feature time in real time according to a current playing progress of the preset audio and feature time information corresponding to a feature time associated with the preset audio.
3. The method of claim 1, wherein, The switching between the plurality of media content based on the current user operation comprises: in response to a media content switching operation of a user, the preset display page is switched from displaying the current media content to displaying target media content, the display of the target media content is maintained, and the preset audio continues to be played, wherein the target media content is next media content or previous media content of the current media content.
4. The method of claim 3, wherein, After the display of the target media content is maintained and the preset audio continues to be played, the method further comprises: in response to an automatic switching resuming operation of the user, determining a target feature time in real time according to a current playing progress of the preset audio and the feature time information; when a playing progress of the preset audio reaches the target feature time, the preset display page is switched from displaying the current media content to displaying the next media content.
5. The method of claim 1, wherein, The method further comprises: in response to a preset pausing operation of a user, maintaining the display of the current media content and pausing the playing of the preset audio; in response to a media content switching operation of the user, the preset display page is switched from displaying the current media content to displaying target media content, the display of the target media content is maintained, and the pausing of the preset audio is maintained, wherein the target media content is next media content or previous media content of the current media content; in response to a preset pausing canceling operation of the user, determining a target feature time in real time according to a current playing progress of the preset audio and the feature time information, and continuing to play the preset audio; when a playing progress of the preset audio reaches the target feature time, the preset display page is switched from displaying the current media content to displaying the next media content.
6. The method of claim 2, wherein, The determining of the target feature time in real time comprises at least one of: determining, in response to the current media content being a picture, a next feature time point of the preset audio to be played at the current playing progress as the target feature time point; determining, in response to the current media content being a video, the target feature time point based on a video duration of the current media content.
7. The method of claim 6, wherein, The method for determining, in response to the current media content being a video, the target feature time point based on a video duration of the current media content, comprises: determining, in response to the current media content being a video, a feature time point of the preset audio to be played at the current playing progress, which is the target feature time point, and which is the preset number of feature time points away from a time point when the current media content is completely played.
8. The method of claim 7, wherein, The method for switching, when the playing progress of the preset audio reaches the target feature time point, the preset display page from displaying the current media content to displaying the next media content, comprises: maintaining the display of a video frame at a preset position in the current media content after all video frames of the current media content are played, and switching, when the playing progress of the preset audio reaches the target feature time point, the preset display page from displaying the current media content to displaying the next media content.
9. The method of claim 8, wherein, The method for switching, when the playing progress of the preset audio reaches the target feature time point, the preset display page from displaying the current media content to displaying the next media content, comprises: displaying a first transition picture after all video frames of the current media content are played, and switching, when the playing progress of the preset audio reaches the target feature time point, the preset display page from displaying the current media content to displaying the next media content.
10. The method of claim 6, wherein, The method for determining, in response to the current media content being a video, the target feature time point based on a video duration of the current media content, comprises: determining, in response to the current media content being a video, a feature time point of the preset audio to be played at the current playing progress, which is the target feature time point, and which is the preset number of feature time points before the complete playing of the current media content.
11. The method of claim 10, wherein, The method for switching, when the playing progress of the preset audio reaches the target feature time point, the preset display page from displaying the current media content to displaying the next media content, comprises: displaying a second transition picture after the playing progress of the preset audio reaches the target feature time point, the second transition picture comprising a video frame that is not played in the current media content.
12. The method of claim 1, wherein, The method for determining, in real time, the target feature time point according to the current playing progress of the preset audio and the feature time point information corresponding to the feature time point associated with the preset audio, comprises: obtaining a target file corresponding to the target media work, the target file comprising a plurality of target image resources, a target audio resource and a configuration file corresponding to a plurality of media contents, wherein the target image resource and the target audio resource are independent of each other; obtaining the feature time point information based on the configuration file; obtaining a current playing progress of the target audio resource, and determining a target feature time based on the current playing progress and the feature time information, wherein the target feature time is used to execute playing of the plurality of target image resources.
13. A media content presentation device, characterized by The method comprises: a media content display module configured to display current media content in a target media work in a preset display page and play a preset audio, wherein the target media work comprises the preset audio and a plurality of media contents, and the media contents comprise pictures and / or videos; a media content automatic switching module configured to, in response to the target media work being in an automatic switching mode, switch the preset display page from displaying the current media content to displaying next media content when a playing progress of the preset audio reaches a target feature time, wherein the target feature time is a feature time of playing next media content of the preset audio at the current playing progress and is determined in real time, and the feature time comprises a time point at which an audio feature in the preset audio meets a preset condition; a media content manual switching module configured to, in response to a media content switching operation of a user, switch display of the target media work to a manual switching mode, perform switching between the plurality of media contents based on a current user operation, and keep the preset audio playing in an original process during the switching between the plurality of media contents based on the current user operation; wherein the display of the target media work supports switching from the manual switching mode to the automatic switching mode.
14. An electronic device, comprising: The electronic device comprises: one or more processors; a storage device configured to store one or more programs, when the one or more programs are executed by the one or more processors, the one or more processors implement the media content display method according to any one of claims 1-12.
15. A storage medium containing computer-executable instructions, wherein: The computer executable instructions, when executed by a computer processor, are configured to perform the media content display method according to any one of claims 1-12.
16. A computer program product, characterised in that, The computer program, when executed by a processor, implements the media content display method according to any one of claims 1-12.
Citation Information
Patent Citations
Picture switching method and picture switching device for picture video playing
CN105142017A