CN113992638B - Synchronous playing method and device for multimedia resources, storage position and electronic device - Google Patents

Synchronous playing method and device for multimedia resources, storage position and electronic device Download PDF

Info

Publication number
CN113992638B
CN113992638B CN202111285330.6A CN202111285330A CN113992638B CN 113992638 B CN113992638 B CN 113992638B CN 202111285330 A CN202111285330 A CN 202111285330A CN 113992638 B CN113992638 B CN 113992638B
Authority
CN
China
Prior art keywords
resource
playing
animation
audio
target
Prior art date
Legal status (The legal status is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the status listed.)
Active
Application number
CN202111285330.6A
Other languages
Chinese (zh)
Other versions
CN113992638A (en
Inventor
陈权
Current Assignee (The listed assignees may be inaccurate. Google has not performed a legal analysis and makes no representation or warranty as to the accuracy of the list.)
Tencent Technology Shanghai Co Ltd
Original Assignee
Tencent Technology Shanghai Co Ltd
Priority date (The priority date is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the date listed.)
Filing date
Publication date
Application filed by Tencent Technology Shanghai Co Ltd filed Critical Tencent Technology Shanghai Co Ltd
Priority to CN202111285330.6A priority Critical patent/CN113992638B/en
Publication of CN113992638A publication Critical patent/CN113992638A/en
Application granted granted Critical
Publication of CN113992638B publication Critical patent/CN113992638B/en
Active legal-status Critical Current
Anticipated expiration legal-status Critical

Links

Images

Classifications

    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04NPICTORIAL COMMUNICATION, e.g. TELEVISION
    • H04N21/00Selective content distribution, e.g. interactive television or video on demand [VOD]
    • H04N21/40Client devices specifically adapted for the reception of or interaction with content, e.g. set-top-box [STB]; Operations thereof
    • H04N21/43Processing of content or additional data, e.g. demultiplexing additional data from a digital video stream; Elementary client operations, e.g. monitoring of home network or synchronising decoder's clock; Client middleware
    • H04N21/4302Content synchronisation processes, e.g. decoder synchronisation
    • H04N21/4307Synchronising the rendering of multiple content streams or additional data on devices, e.g. synchronisation of audio on a mobile phone with the video output on the TV screen

Landscapes

  • Engineering & Computer Science (AREA)
  • Multimedia (AREA)
  • Signal Processing (AREA)
  • Processing Or Creating Images (AREA)
  • Two-Way Televisions, Distribution Of Moving Picture Or The Like (AREA)

Abstract

The invention discloses a synchronous playing method and device of multimedia resources, a storage position and an electronic device. Wherein the method comprises the following steps: and playing a first resource in the target multimedia resources, acquiring a first playing position of the first resource and the playing time length of the first resource, determining the target playing progress of the first resource according to the first playing position and the playing time length of the first resource, determining a second playing position corresponding to the first playing position in the second resource according to the target playing progress and the total frame number of the target animation resources, and playing the animation frame positioned at the second playing position in the second resource. The invention solves the technical problem of lower synchronization efficiency of multimedia resources during playing.

Description

Synchronous playing method and device for multimedia resources, storage position and electronic device
Technical Field
The present invention relates to the field of computers, and in particular, to a method and an apparatus for synchronously playing multimedia resources, a storage location, and an electronic apparatus.
Background
In order to better attract the attention of users, multimedia resources can be played in the scenes of page promotion, application introduction, downloading interfaces and the like. The current playing scheme is that the animation and the audio are respectively played, and for the scheme, the audio and the animation can have synchronous effect when being played at the beginning, but the playing is continued, the deviation between the audio and the animation is larger and larger, and the phenomenon is more obvious in the mobile equipment with lower end, so that the experience of a user is greatly influenced.
In view of the above problems, no effective solution has been proposed at present.
Disclosure of Invention
The embodiment of the invention provides a synchronous playing method and device for multimedia resources, a storage position and an electronic device, which are used for at least solving the technical problem of low synchronous efficiency of the multimedia resources during playing.
According to an aspect of the embodiment of the present invention, there is provided a synchronous playing method of a multimedia resource, including: playing a first resource in a target multimedia resource, wherein the target multimedia resource comprises the first resource and a second resource; acquiring a first playing position of the first resource, wherein the first playing position is a current playing position of the first resource; determining a second playing position corresponding to the first playing position on the second resource; and playing the resources positioned at the second playing position in the second resources.
According to another aspect of the embodiment of the present invention, there is also provided a method for synchronously playing multimedia resources, including: playing a first resource in target multimedia resources, wherein the target multimedia resources comprise the first resource and a second resource, the first resource is an audio resource, and the second resource is a target animation resource; acquiring a first playing position of the first resource and a playing time length of the first resource, wherein the first playing position is a current playing position of the first resource; determining a target playing progress of the first resource according to the first playing position and the playing duration of the first resource; determining a second playing position corresponding to the first playing position in the second resource according to the target playing progress and the total frame number of the target animation resource, wherein the second playing position is used for indicating the playing position of the animation frame of the target animation resource; and playing the animation frames positioned at the second playing position in the second resource.
According to another aspect of the embodiment of the present invention, there is also provided a method for synchronously playing multimedia resources, including: loading the audio resource and the animation resource; obtaining an animation frame corresponding to each playing position of the audio resource from the animation resource to obtain the target animation resource with the same playing time length as the audio resource; determining the audio resource as the first resource and the target animation resource as the second resource; playing the first resource in the target multimedia resources; acquiring a first playing position of the first resource, wherein the first playing position is the current playing position of the audio resource; determining a second playing position corresponding to the first playing position in the second resource, wherein the second playing position is used for indicating the playing position of the animation frame of the target animation resource; and playing the animation frames positioned at the second playing position in the animation resources.
According to another aspect of the embodiment of the present invention, there is also provided a synchronous playing device for multimedia resources, including: the first playing module is used for playing a first resource in the target multimedia resources, wherein the target multimedia resources comprise a first resource and a second resource; the first acquisition module is used for acquiring a first playing position of the first resource, wherein the first playing position is a current playing position of the first resource; the first determining module is used for determining a second playing position corresponding to the first playing position on the second resource; and the second playing module is used for playing the resources positioned at the second playing position in the second resources.
According to a further aspect of an embodiment of the present invention, there is also provided a storage medium, characterized in that the storage medium has stored therein a computer program, wherein the computer program is arranged to perform the method of any of the above-mentioned methods when run.
According to a further aspect of an embodiment of the invention there is also provided an electronic device comprising a memory and a processor, characterized in that the memory has stored therein a computer program, the processor being arranged to execute the method according to any of the preceding claims by means of the computer program.
In the embodiment of the invention, a first resource in a target multimedia resource is played, wherein the target multimedia resource comprises a first resource and a second resource, the first resource is an audio resource, and the second resource is a target animation resource; acquiring a first playing position of a first resource and a playing time length of the first resource, wherein the first playing position is a current playing position of the first resource; determining a target playing progress of the first resource according to the first playing position and the playing duration of the first resource; determining a second playing position corresponding to the first playing position in the second resource according to the target playing progress and the total frame number of the target animation resource, wherein the second playing position is used for indicating the playing position of the animation frame of the target animation resource; and playing the animation frames positioned at the second playing position in the second resources, so that the second resources are synchronously controlled by the playing of the first resources to ensure the synchronous playing of the first resources and the second resources, thereby realizing the technical effect of improving the synchronous efficiency of the multimedia resources during playing, and further solving the technical problem of lower synchronous efficiency of the multimedia resources during playing.
Drawings
The accompanying drawings, which are included to provide a further understanding of the invention and are incorporated in and constitute a part of this application, illustrate embodiments of the invention and together with the description serve to explain the invention and do not constitute a limitation on the invention. In the drawings:
FIG. 1 is a schematic diagram of an alternative method for synchronized playback of multimedia assets according to an embodiment of the invention;
FIG. 2 is a schematic view of an application environment of an alternative method for synchronously playing multimedia resources according to an embodiment of the present invention;
FIG. 3 is a schematic diagram of an alternative method of synchronized playback of multimedia assets in accordance with an alternative embodiment of the invention;
FIG. 4 is a schematic diagram of another alternative method of synchronized playback of multimedia assets in accordance with an alternative embodiment of the invention;
FIG. 5 is a schematic diagram of another alternative method of synchronized playback of multimedia assets in accordance with an alternative embodiment of the invention;
FIG. 6 is a schematic diagram of an alternative multimedia asset synchronized playback device according to an embodiment of the present invention;
fig. 7 is a schematic diagram of an application scenario of an alternative synchronous playing method of multimedia resources according to an embodiment of the present invention;
fig. 8 is a second application scenario diagram of an alternative method for synchronously playing multimedia resources according to an embodiment of the present invention;
Fig. 9 is an application scenario diagram of an alternative method for synchronously playing multimedia resources according to an embodiment of the present invention; and
fig. 10 is a schematic diagram of an alternative electronic device according to an embodiment of the invention.
Detailed Description
In order that those skilled in the art will better understand the present invention, a technical solution in the embodiments of the present invention will be clearly and completely described below with reference to the accompanying drawings in which it is apparent that the described embodiments are only some embodiments of the present invention, not all embodiments. All other embodiments, which can be made by those skilled in the art based on the embodiments of the present invention without making any inventive effort, shall fall within the scope of the present invention.
It should be noted that the terms "first," "second," and the like in the description and the claims of the present invention and the above figures are used for distinguishing between similar objects and not necessarily for describing a particular sequential or chronological order. It is to be understood that the data so used may be interchanged where appropriate such that the embodiments of the invention described herein may be implemented in sequences other than those illustrated or otherwise described herein. Furthermore, the terms "comprises," "comprising," and "having," and any variations thereof, are intended to cover a non-exclusive inclusion, such that a process, method, system, article, or apparatus that comprises a list of steps or elements is not necessarily limited to those steps or elements expressly listed but may include other steps or elements not expressly listed or inherent to such process, method, article, or apparatus.
According to an aspect of an embodiment of the present invention, there is provided a method for synchronously playing multimedia resources, as shown in fig. 1, including:
s102, playing a first resource in a target multimedia resource, wherein the target multimedia resource comprises the first resource and a second resource;
s104, acquiring a first playing position of the first resource, wherein the first playing position is the current playing position of the first resource;
s106, determining a second playing position corresponding to the first playing position on the second resource;
s108, playing the resources located at the second playing position in the second resources.
Alternatively, in the present embodiment, the above method for synchronously playing multimedia resources may be applied to a hardware environment formed by the client 202 as shown in fig. 2. As shown in fig. 2, the client 202 plays a first resource in the target multimedia resources, where the target multimedia resources include a first resource and a second resource; acquiring a first playing position of a first resource, wherein the first playing position is a current playing position of the first resource; determining a second playing position corresponding to the first playing position on the second resource; and playing the resources positioned at the second playing position in the second resources.
Alternatively, in this embodiment, the above method for synchronously playing multimedia resources may be applied to, but not limited to, a scene where multimedia resources are played. The client may be, but not limited to, various types of applications, such as an online education application, an instant messaging application, a community space application, a game application, a shopping application, a browser application, a financial application, a multimedia application, a live broadcast application, and the like. Specifically, the method can be applied to a scene of playing the multimedia resource in the browser application, or can be applied to a scene of playing the multimedia resource in the instant messaging application, so as to improve the synchronization efficiency of the multimedia resource during playing. The above is merely an example, and there is no limitation in this embodiment.
Alternatively, in the present embodiment, the multimedia resources may include, but are not limited to: video assets (video streams, video files, etc.), audio assets (audio streams, audio files, etc.), slides, electronic albums, moving pictures, animations, etc.
Alternatively, in the present embodiment, the multimedia resources may include a plurality of resources (e.g., a first resource and a second resource), such as: for video resources, the video resources can comprise audio resources, image resources and the like, and one of the resources drives the playing of the other resources, so that the synchronous playing of the multimedia resources is realized. In one arrangement, the first resource may be an audio resource and the second resource may be an image resource, that is, the playback of the image resource may be driven by the playback of the audio resource so that the two are synchronized. In another aspect, the first resource may be an image resource, and the second resource may be an audio resource, and the playing of the audio resource is driven by the playing of the image resource.
For another example: for the audio resource, it may include an audio resource and an audio effect map, and in one scheme, the first resource may be an audio resource, and the second resource may be an audio effect map, that is, the playing of the audio effect map may be driven by the playing of the audio resource, so that the two are synchronized. In another aspect, the first resource may be an audio map, and the second resource may be an audio resource, and playing of the audio resource is driven by playing of the audio map.
It should be noted that the second resource may be one or more resources, that is, the first resource in the multimedia resource may drive synchronous playing of the other one or more resources.
Alternatively, in this embodiment, the timing of acquiring the first playing position of the first resource may be, but not limited to, a set time interval, that is, during the playing of the first resource, the first playing position of the first resource is acquired once every time the time interval, the second playing position of the second resource is determined, and the resource located at the second playing position in the second resource is played. The smaller the time interval is, the weaker the click feeling is when the resource is played, and the higher the experience of the user is.
Alternatively, in the present embodiment, the play position of the resource may be represented by, but not limited to, the following form: play time, play percentage, frames played, etc. For example: taking a first resource in video resources as an audio resource and a second resource as an image resource as an example, acquiring a first playing position of the audio resource as M% of the whole audio resource, and then playing an image frame N when determining that a second playing position corresponding to the first playing position M% on the image resource is the image frame N positioned at the M% of the whole image resource.
In an alternative embodiment, as shown in FIG. 3, video asset A is played on a page, where video asset A includes audio asset B and image asset C. And playing the audio resource B in the video resource A, acquiring the first playing position of the audio resource B as 00:00:35, namely, the 35 th second of the audio, determining the corresponding second playing position of the audio resource B as 00:00:35 on the image resource C as the image frame D, and playing the image frame D in the image resource C, so that the image resource jumps to the playing of the image frame D when the audio is played to the audio of 00:00:35.
Therefore, by the steps, the first resource in the multimedia resources is played, the current playing position of the first resource is obtained, the second playing position corresponding to the position on the second resource is determined according to the current playing position of the first resource, and the resource positioned on the second playing position in the second resource is played, so that the second resource is synchronous with the first resource by the playing control of the first resource, the synchronous playing of the first resource and the second resource is ensured, the technical effect of improving the synchronous efficiency of the multimedia resource during playing is achieved, and the technical problem that the synchronous efficiency of the multimedia resource during playing is lower is solved.
Further, the playing of the multimedia resource is a process of respectively playing the first resource and the second resource, so that the playing of other multimedia resources can be loaded on the UI interface of the multimedia resource in the playing process of the multimedia resource, thereby being capable of manufacturing a playing effect of the mixed sound, creating a more shocking audio-visual effect for a user and improving the experience of the user.
As an alternative, determining the second play position corresponding to the first play position on the second resource includes:
s1, determining a target playing progress of a first resource according to a first playing position and a playing duration of the first resource;
s2, determining a playing position of which the playing progress in the second resource is the target playing progress as a second playing position, wherein the playing time length of the second resource is the same as that of the first resource.
Optionally, in this embodiment, for the first resource and the second resource with the same playing duration, the second playing position of the second resource may be determined according to the playing progress of the first resource, so as to ensure that the playing progress of the first resource and the playing progress of the second resource are the same.
Alternatively, in this embodiment, the playing progress of the asset may be represented by, but not limited to, a playing percentage, a playing length, a percentage of the remaining assets in total from the end of playing, a length of the remaining assets from the end of playing, and the like. For example: 46% played, 5 seconds played, 50% of the total resources remaining from the end of play, 35 seconds remaining from the end of play, etc.
As an alternative, determining the target playing progress of the first resource according to the first playing position and the playing duration of the first resource includes:
s1, acquiring the playing time of a first playing position;
s2, determining the percentage of the playing time in the playing time of the first resource;
and S3, determining the percentage as a target playing progress.
Optionally, in this embodiment, since the playing durations of the first resource and the second resource are the same, that is, when the first resource is played to P%, the second resource should be played to P% to ensure synchronous playing of the first resource and the second resource, so that the current playing time of the first resource may be converted into the current playing percentage, the percentage may be determined as the target playing progress, and the control of the second resource to keep the same target playing progress as the first resource at any time may keep synchronous playing of the first resource and the second resource.
In an alternative embodiment, as shown in FIG. 4, an audio asset A is played on a page, where the audio asset A includes an audio B and an effect graph C. And playing the audio B in the audio resource A, acquiring a first playing position of the audio B to be 00:00:35, namely, 35 th second of the audio, wherein the playing time of the audio is 4 minutes and 30 seconds, determining that the playing time of the audio 00:00:35 accounts for 13% of 4 minutes and 30 seconds of the playing time of the audio, and when determining that the playing progress of the effect graph C is 13%, playing the effect graph D, so that the effect graph jumps to the playing of the effect graph D when the audio is played to 00:00:35.
As an alternative, determining the second play position corresponding to the first play position on the second resource includes:
s1, acquiring a playing position of a first resource and a playing position of a second resource which have a corresponding relationship;
s2, searching a second playing position corresponding to the first playing position from the playing position of the first resource and the playing position of the second resource which have the corresponding relation.
Alternatively, in this embodiment, a correspondence between a play position of a first resource and a play position of a second resource may be recorded, and a second play position of the second resource corresponding to the first play position of the first resource may be determined according to the correspondence while the first resource is played.
For example: as shown in fig. 5, taking the first resource as an audio resource and the second resource as an image resource as an example, a corresponding relationship between a playing position of the audio resource and a playing position of the image resource is established: the method comprises the steps of corresponding P1 frames in A1 seconds, corresponding P2 frames in A2 seconds, corresponding P3 frames in A3 seconds, … …, corresponding Pi frames in Ai seconds, … …, corresponding PN frames in AN seconds, playing audio resources, obtaining a first playing position A3 seconds of the audio resources, and searching the corresponding P3 frames in A3 seconds from the first playing position and the second playing position with the corresponding relation, so that the P3 frames in the image resources are played. And obtaining the first playing position A4 seconds of the audio resource again, and searching the P4 frames corresponding to the A4 seconds from the first playing position and the second playing position with the corresponding relation, so as to play the P4 frames in the image resource. And so on until the playing of the multimedia resource is finished.
As an alternative, before determining the second play position corresponding to the first play position on the second resource, the method further includes:
s1, loading an audio resource and an animation resource;
s2, obtaining animation frames corresponding to each playing position of the audio resource from the animation resources to obtain target animation resources with the same playing time length as the audio resource;
s3, determining the audio resource as a first resource and determining the target animation resource as a second resource.
Alternatively, in the present embodiment, the above-described process of determining the first resource and the second resource may be completed on an animation editor, for example: adobe animation CC animation editor. And carrying out alignment processing on the audio resources and the animation resources through the animation editor, so that each playing time of the audio resources has a corresponding animation frame, deleting redundant animation frames in the animation resources to obtain target animation resources with the same playing time length as the audio resources, wherein the audio resources are the first resources, and the target animation resources are the second resources.
As an alternative, determining the audio resource as the first resource and determining the target animation resource as the second resource includes:
S1, recording each play position and animation frame of the audio resource with a corresponding relation;
s2, determining each play position of the audio resources with the corresponding relation and the animation frame as a play position of the first resources and a play position of the second resources with the corresponding relation.
Optionally, in this embodiment, since the playing durations of the two are the same, the second playing position of the second resource may be obtained only by determining the current playing progress of the first resource. Or the corresponding relation between the playing time of the audio and the animation frames of the target animation resources can be recorded, so that the playing of the target animation resources is controlled by utilizing the playing of the audio resources.
As an alternative, playing the resource located at the second playing position in the second resource includes:
s1, playing the animation frames positioned at the second playing position in the target animation resource.
Alternatively, in the present embodiment, the resource located at the second playing position in the second played resources may be, but not limited to, an animation frame at the second playing position.
It should be noted that, for simplicity of description, the foregoing method embodiments are all described as a series of acts, but it should be understood by those skilled in the art that the present invention is not limited by the order of acts described, as some steps may be performed in other orders or concurrently in accordance with the present invention. Further, those skilled in the art will also appreciate that the embodiments described in the specification are all preferred embodiments, and that the acts and modules referred to are not necessarily required for the present invention.
From the description of the above embodiments, it will be clear to a person skilled in the art that the method according to the above embodiments may be implemented by means of software plus the necessary general hardware platform, but of course also by means of hardware, but in many cases the former is a preferred embodiment. Based on such understanding, the technical solution of the present invention may be embodied essentially or in a part contributing to the prior art in the form of a software product stored in a storage medium (e.g. ROM/RAM, magnetic disk, optical disk) comprising instructions for causing a terminal device (which may be a mobile phone, a computer, a server, or a network device, etc.) to perform the method according to the embodiments of the present invention.
According to another aspect of the embodiment of the present invention, there is also provided a synchronous playing device of a multimedia resource for implementing the synchronous playing method of a multimedia resource, as shown in fig. 6, the device includes:
1) A first playing module 62, configured to play a first resource in the target multimedia resources, where the target multimedia resources include a first resource and a second resource;
2) A first obtaining module 64, configured to obtain a first playing position of the first resource, where the first playing position is a current playing position of the first resource;
3) A first determining module 66, configured to determine a second playing position corresponding to the first playing position on the second resource;
4) And a second playing module 68, configured to play a resource located at a second playing position in the second resources.
Alternatively, in this embodiment, the above-mentioned synchronous playing device of multimedia resources may be applied to a hardware environment formed by the client 202 shown in fig. 2. As shown in fig. 2, the client 202 plays a first resource in the target multimedia resources, where the target multimedia resources include a first resource and a second resource; acquiring a first playing position of a first resource, wherein the first playing position is a current playing position of the first resource; determining a second playing position corresponding to the first playing position on the second resource; and playing the resources positioned at the second playing position in the second resources.
Alternatively, in this embodiment, the synchronous playing device of the multimedia resource may be applied to, but not limited to, a scene of playing the multimedia resource. The client may be, but not limited to, various types of applications, such as an online education application, an instant messaging application, a community space application, a game application, a shopping application, a browser application, a financial application, a multimedia application, a live broadcast application, and the like. Specifically, the method can be applied to a scene of playing the multimedia resource in the browser application, or can be applied to a scene of playing the multimedia resource in the instant messaging application, so as to improve the synchronization efficiency of the multimedia resource during playing. The above is merely an example, and there is no limitation in this embodiment.
Alternatively, in the present embodiment, the multimedia resources may include, but are not limited to: video assets (video streams, video files, etc.), audio assets (audio streams, audio files, etc.), slides, electronic albums, moving pictures, animations, etc.
Alternatively, in the present embodiment, the multimedia resources may include a plurality of resources (e.g., a first resource and a second resource), such as: for video resources, the video resources can comprise audio resources, image resources and the like, and one of the resources drives the playing of the other resources, so that the synchronous playing of the multimedia resources is realized. In one arrangement, the first resource may be an audio resource and the second resource may be an image resource, that is, the playback of the image resource may be driven by the playback of the audio resource so that the two are synchronized. In another aspect, the first resource may be an image resource, and the second resource may be an audio resource, and the playing of the audio resource is driven by the playing of the image resource.
For another example: for the audio resource, it may include an audio resource and an audio effect map, and in one scheme, the first resource may be an audio resource, and the second resource may be an audio effect map, that is, the playing of the audio effect map may be driven by the playing of the audio resource, so that the two are synchronized. In another aspect, the first resource may be an audio map, and the second resource may be an audio resource, and playing of the audio resource is driven by playing of the audio map.
It should be noted that the second resource may be one or more resources, that is, the first resource in the multimedia resource may drive synchronous playing of the other one or more resources.
Alternatively, in this embodiment, the timing of acquiring the first playing position of the first resource may be, but not limited to, a set time interval, that is, during the playing of the first resource, the first playing position of the first resource is acquired once every time the time interval, the second playing position of the second resource is determined, and the resource located at the second playing position in the second resource is played. The smaller the time interval is, the weaker the click feeling is when the resource is played, and the higher the experience of the user is.
Alternatively, in the present embodiment, the play position of the resource may be represented by, but not limited to, the following form: play time, play percentage, frames played, etc. For example: taking a first resource in video resources as an audio resource and a second resource as an image resource as an example, acquiring a first playing position of the audio resource as M% of the whole audio resource, and then playing an image frame N when determining that a second playing position corresponding to the first playing position M% on the image resource is the image frame N positioned at the M% of the whole image resource.
In an alternative embodiment, as shown in FIG. 3, video asset A is played on a page, where video asset A includes audio asset B and image asset C. And playing the audio resource B in the video resource A, acquiring the first playing position of the audio resource B as 00:00:35, namely, the 35 th second of the audio, determining the corresponding second playing position of the audio resource B as 00:00:35 on the image resource C as the image frame D, and playing the image frame D in the image resource C, so that the image resource jumps to the playing of the image frame D when the audio is played to the audio of 00:00:35.
Therefore, the first resource in the multimedia resources is played through the device, the current playing position of the first resource is obtained, the second playing position corresponding to the second position on the second resource is determined according to the current playing position of the first resource, and the resource located in the second playing position in the second resource is played, so that the second resource is synchronous with the first resource by the playing control of the first resource, synchronous playing of the first resource and the second resource is ensured, the technical effect of improving the synchronous efficiency of the multimedia resources during playing is achieved, and the technical problem that the synchronous efficiency of the multimedia resources during playing is lower is solved.
Further, the playing of the multimedia resource is a process of respectively playing the first resource and the second resource, so that the playing of other multimedia resources can be loaded on the UI interface of the multimedia resource in the playing process of the multimedia resource, thereby being capable of manufacturing a playing effect of the mixed sound, creating a more shocking audio-visual effect for a user and improving the experience of the user.
As an alternative, the first determining module includes:
1) The first determining unit is used for determining the target playing progress of the first resource according to the first playing position and the playing duration of the first resource;
2) And the second determining unit is used for determining the playing position of which the playing progress in the second resource is the target playing progress as a second playing position, wherein the playing time length of the second resource is the same as that of the first resource.
Optionally, in this embodiment, for the first resource and the second resource with the same playing duration, the second playing position of the second resource may be determined according to the playing progress of the first resource, so as to ensure that the playing progress of the first resource and the playing progress of the second resource are the same.
Alternatively, in this embodiment, the playing progress of the asset may be represented by, but not limited to, a playing percentage, a playing length, a percentage of the remaining assets in total from the end of playing, a length of the remaining assets from the end of playing, and the like. For example: 46% played, 5 seconds played, 50% of the total resources remaining from the end of play, 35 seconds remaining from the end of play, etc.
As an alternative, the first determining unit includes:
1) An acquisition subunit, configured to acquire a play time of the first play position;
2) The first determining subunit is used for determining the percentage of the playing time in the playing duration of the first resource;
3) And the second determining subunit is used for determining the percentage as the target playing progress.
Optionally, in this embodiment, since the playing durations of the first resource and the second resource are the same, that is, when the first resource is played to P%, the second resource should be played to P% to ensure synchronous playing of the first resource and the second resource, so that the current playing time of the first resource may be converted into the current playing percentage, the percentage may be determined as the target playing progress, and the control of the second resource to keep the same target playing progress as the first resource at any time may keep synchronous playing of the first resource and the second resource.
In an alternative embodiment, as shown in FIG. 4, an audio asset A is played on a page, where the audio asset A includes an audio B and an effect graph C. And playing the audio B in the audio resource A, acquiring a first playing position of the audio B to be 00:00:35, namely, 35 th second of the audio, wherein the playing time of the audio is 4 minutes and 30 seconds, determining that the playing time of the audio 00:00:35 accounts for 13% of 4 minutes and 30 seconds of the playing time of the audio, and when determining that the playing progress of the effect graph C is 13%, playing the effect graph D, so that the effect graph jumps to the playing of the effect graph D when the audio is played to 00:00:35.
As an alternative, the first determining module includes:
1) The device comprises an acquisition unit, a control unit and a control unit, wherein the acquisition unit is used for acquiring the play position of a first resource and the play position of a second resource with a corresponding relation;
2) The searching unit is used for searching the second playing position corresponding to the first playing position from the playing position of the first resource and the playing position of the second resource which have the corresponding relation.
Alternatively, in this embodiment, a correspondence between a play position of a first resource and a play position of a second resource may be recorded, and a second play position of the second resource corresponding to the first play position of the first resource may be determined according to the correspondence while the first resource is played.
For example: as shown in fig. 5, taking the first resource as an audio resource and the second resource as an image resource as an example, a corresponding relationship between a playing position of the audio resource and a playing position of the image resource is established: the method comprises the steps of corresponding P1 frames in A1 seconds, corresponding P2 frames in A2 seconds, corresponding P3 frames in A3 seconds, … …, corresponding Pi frames in Ai seconds, … …, corresponding PN frames in AN seconds, playing audio resources, obtaining a first playing position A3 seconds of the audio resources, and searching the corresponding P3 frames in A3 seconds from the first playing position and the second playing position with the corresponding relation, so that the P3 frames in the image resources are played. And obtaining the first playing position A4 seconds of the audio resource again, and searching the P4 frames corresponding to the A4 seconds from the first playing position and the second playing position with the corresponding relation, so as to play the P4 frames in the image resource. And so on until the playing of the multimedia resource is finished.
As an alternative, the apparatus further includes:
1) The loading module is used for loading the audio resource and the animation resource;
2) The second acquisition module is used for acquiring animation frames corresponding to each playing position of the audio resource from the animation resources to obtain target animation resources with the same playing time length as the audio resource;
3) And the second determining module is used for determining the audio resource as a first resource and determining the target animation resource as a second resource.
Alternatively, in the present embodiment, the above-described process of determining the first resource and the second resource may be completed on an animation editor, for example: adobe animation CC animation editor. And carrying out alignment processing on the audio resources and the animation resources through the animation editor, so that each playing time of the audio resources has a corresponding animation frame, deleting redundant animation frames in the animation resources to obtain target animation resources with the same playing time length as the audio resources, wherein the audio resources are the first resources, and the target animation resources are the second resources.
As an alternative, the second determining module includes:
1) The recording unit is used for recording each playing position and animation frame of the audio resource with the corresponding relation;
2) And a third determining unit for determining each play position of the audio resource having a corresponding relationship with the animation frame as a play position of the first resource and a play position of the second resource having a corresponding relationship.
Optionally, in this embodiment, since the playing durations of the two are the same, the second playing position of the second resource may be obtained only by determining the current playing progress of the first resource. Or the corresponding relation between the playing time of the audio and the animation frames of the target animation resources can be recorded, so that the playing of the target animation resources is controlled by utilizing the playing of the audio resources.
As an alternative, the playing module includes:
1) And the playing unit is used for playing the animation frames positioned at the second playing position in the target animation resources.
Alternatively, in the present embodiment, the resource located at the second playing position in the second played resources may be, but not limited to, an animation frame at the second playing position.
The application environment of the embodiment of the present invention may be, but is not limited to, the application environment in the above embodiment, and this will not be described in detail in this embodiment. The embodiment of the invention provides an alternative specific application example of the connection method for implementing the real-time communication.
As an alternative embodiment, the above method for synchronously playing multimedia assets may be applied, but not limited to, in a scenario where video assets are played as shown in fig. 7. In the scene, the target multimedia resource is split into an HTML5 animation part and an audio part, a user can click a button positioned at the lower half part of the interface to select audio to be played, and the animation is displayed at the upper half part of the interface while the audio selected by the user is played. The audio playing of the mobile terminal selects webaudio, which can play audio as well, and the audio tag can only provide the functions of reading, playing, suspending and adjusting the volume of the sound file for the developer, so that the mobile terminal cannot process more complex audio applications, and the webaudio has more comprehensive functions, such as: first, webaudio plays only when the audio is completely loaded, so that the situation that the buffer is blocked due to insufficient resources in the playing process can be avoided. Second, webaudio has the property of the current playing time of the audio, i.e. the position property, to be able to determine the audio playing head position in milliseconds. The percentage of the playing position of the current audio can be calculated through the position attribute and the duration attribute.
Optionally, in this embodiment, since the animation and the audio are separately manufactured, there is a certain deviation when synchronization occurs, after the deviation occurs, the user experience is destroyed, the situation that the audio is faster or slower than the picture occurs, in order to overcome this problem, as shown in fig. 8, an HTML5 Canvas file is newly built first by using an Adobe animation CC animation editor, then two layers are newly built in the scene, layer 1 is used for placing the animation, layer 2 is used for placing the audio file, introducing the audio and the animation resource, at this moment, the synchronization situation of the audio and the animation resource can be clearly seen on the time axis, then the synchronization alignment of the resource is performed, at first, the alignment of the audio and the animation can be directly played in the animation editor, at this moment, direct preview can be performed, when an unsynchronized place is found, direct preview is performed after the modification is completed, and polishing is repeated until complete synchronization is completed, after the completion of the above steps, the frame of the animation is deleted, the total length of the audio is aligned, and preparation is made for the synchronization of the subsequent front-end logic.
The main synchronous core of the front-end logic is to drive the animation picture to update through the playing progress of the audio, obtain the playing percentage of the current audio through conversion through two attributes of the audio position and duration, and convert the current animation into the frame which the current animation should stay on the basis of the total frame number of the animation, thereby realizing the animation playing, and as shown in fig. 9, the method can be divided into the following three aspects:
Firstly, using page frame circulation function to obtain audio playing progress and set animation picture in real time, the codes are as follows:
Figure BDA0003332703830000171
/>
Figure BDA0003332703830000181
secondly, the audio progress is converted, and the code is as follows:
Figure BDA0003332703830000182
finally, setting the animation picture played on the interface, wherein the code is as follows:
var movie; a// animation file;
movie. The number of total frames of the animation;
movie. The current frame number of the animation;
movie. Currentframe = getSoundProgress (). Movie. Total frames; converting the current animation progress;
according to the description, in the embodiment, the HTML5 animation and the audio synchronization are realized, technical support is provided for the mobile terminal HTML5 creative, the mobile terminal HTML5 creative is mainly aimed at the service requirement with higher audio synchronization requirement, the mobile terminal HTML5 creative is not needed to be presented by means of videos, a plurality of groups of HTML5 animation with transparent channels can be presented at the same time, and the mobile terminal HTML5 animation and other design resources can be combined in a superposition mode.
According to still another aspect of the embodiment of the present invention, there is further provided an electronic device for implementing the synchronous playing of the multimedia resource, as shown in fig. 10, the electronic device includes: one or more (only one is shown in the figure) processors 1002, a memory 1004, in which a computer program is stored, which are arranged to perform the steps of any of the method embodiments described above by means of the computer program, a sensor 1006, an encoder 1008, and a transmission means 1010.
Alternatively, in this embodiment, the electronic apparatus may be located in at least one network device of a plurality of network devices of the computer network.
Alternatively, in the present embodiment, the above-described processor may be configured to execute the following steps by a computer program:
s1, playing a first resource in a target multimedia resource, wherein the target multimedia resource comprises the first resource and a second resource;
s2, acquiring a first playing position of a first resource, wherein the first playing position is the current playing position of the first resource;
s3, determining a second playing position corresponding to the first playing position on the second resource;
s4, playing the resources located in the second playing position in the second resources.
Alternatively, it will be understood by those skilled in the art that the structure shown in fig. 10 is only schematic, and the electronic device may also be a terminal device such as a smart phone (e.g. an Android phone, an iOS phone, etc.), a tablet computer, a palm computer, and a mobile internet device (Mobile Internet Devices, MID), a PAD, etc. Fig. 10 is not limited to the structure of the electronic device. For example, the electronic device may also include more or fewer components (e.g., network interfaces, display devices, etc.) than shown in FIG. 10, or have a different configuration than shown in FIG. 10.
The memory 1002 may be configured to store software programs and modules, such as program instructions/modules corresponding to the method and apparatus for synchronously playing multimedia resources in the embodiment of the present invention, and the processor 1004 executes the software programs and modules stored in the memory 1002 to perform various functional applications and data processing, that is, implement the control method of the target component. The memory 1002 may include high-speed random access memory, and may also include non-volatile memory, such as one or more magnetic storage devices, flash memory, or other non-volatile solid state memory. In some examples, the memory 1002 may further include memory located remotely from the processor 1004, which may be connected to the terminal via a network. Examples of such networks include, but are not limited to, the internet, intranets, local area networks, mobile communication networks, and combinations thereof.
The transmission device 1010 is used to receive or transmit data via a network. Specific examples of the network described above may include wired networks and wireless networks. In one example, the transmission device 1010 includes a network adapter (Network Interface Controller, NIC) that may be connected to other network devices and routers via a network cable to communicate with the internet or a local area network. In one example, the transmission device 1010 is a Radio Frequency (RF) module for communicating with the internet wirelessly.
In particular, the memory 1002 is used to store applications.
An embodiment of the invention also provides a storage medium having a computer program stored therein, wherein the computer program is arranged to perform the steps of any of the method embodiments described above when run.
Alternatively, in the present embodiment, the above-described storage medium may be configured to store a computer program for performing the steps of:
s1, playing a first resource in a target multimedia resource, wherein the target multimedia resource comprises the first resource and a second resource;
s2, acquiring a first playing position of a first resource, wherein the first playing position is the current playing position of the first resource;
s3, determining a second playing position corresponding to the first playing position on the second resource;
s4, playing the resources located in the second playing position in the second resources.
Optionally, the storage medium is further configured to store a computer program for executing the steps included in the method in the above embodiment, which is not described in detail in this embodiment.
Alternatively, in this embodiment, it will be understood by those skilled in the art that all or part of the steps in the methods of the above embodiments may be performed by a program for instructing a terminal device to execute the steps, where the program may be stored in a computer readable storage medium, and the storage medium may include: flash disk, read-Only Memory (ROM), random-access Memory (Random Access Memory, RAM), magnetic or optical disk, and the like.
The foregoing embodiment numbers of the present invention are merely for the purpose of description, and do not represent the advantages or disadvantages of the embodiments.
The integrated units in the above embodiments may be stored in the above-described computer-readable storage medium if implemented in the form of software functional units and sold or used as separate products. Based on such understanding, the technical solution of the present invention may be embodied in essence or a part contributing to the prior art or all or part of the technical solution in the form of a software product stored in a storage medium, comprising several instructions for causing one or more computer devices (which may be personal computers, servers or network devices, etc.) to perform all or part of the steps of the method described in the embodiments of the present invention.
In the foregoing embodiments of the present invention, the descriptions of the embodiments are emphasized, and for a portion of this disclosure that is not described in detail in this embodiment, reference is made to the related descriptions of other embodiments.
In several embodiments provided in the present application, it should be understood that the disclosed client may be implemented in other manners. The above-described embodiments of the apparatus are merely exemplary, and the division of the units, such as the division of the units, is merely a logical function division, and may be implemented in another manner, for example, multiple units or components may be combined or may be integrated into another system, or some features may be omitted, or not performed. Alternatively, the coupling or direct coupling or communication connection shown or discussed with each other may be through some interfaces, units or modules, or may be in electrical or other forms.
The units described as separate units may or may not be physically separate, and units shown as units may or may not be physical units, may be located in one place, or may be distributed on a plurality of network units. Some or all of the units may be selected according to actual needs to achieve the purpose of the solution of this embodiment.
In addition, each functional unit in the embodiments of the present invention may be integrated in one processing unit, or each unit may exist alone physically, or two or more units may be integrated in one unit. The integrated units may be implemented in hardware or in software functional units.
The foregoing is merely a preferred embodiment of the present invention and it should be noted that modifications and adaptations to those skilled in the art may be made without departing from the principles of the present invention, which are intended to be comprehended within the scope of the present invention.

Claims (18)

1. A method for synchronously playing multimedia resources, comprising the steps of:
playing a first resource in target multimedia resources, wherein the target multimedia resources comprise the first resource and a second resource, the first resource is an audio resource, and the second resource is a target animation resource;
In the playing process of the first resource, a first playing position of the first resource and the playing time length of the first resource are obtained at intervals of a set time, wherein the first playing position is the current playing position of the first resource;
determining a target playing progress of the first resource according to the first playing position and the playing duration of the first resource;
determining a second playing position corresponding to the first playing position in the second resource according to the target playing progress and the total frame number of the target animation resource, wherein the second playing position is used for indicating the playing position of the animation frame of the target animation resource;
playing the animation frames positioned at the second playing position in the second resources, wherein the playing of the first resources and the playing of the second resources are respectively processes of playing, and the first resources are used for driving the playing of the second resources;
before playing the first resource in the target multimedia resources, the method further comprises: loading the audio resource and the animation resource; obtaining an animation frame corresponding to each playing position of the audio resource from the animation resource to obtain the target animation resource with the same playing time length as the audio resource; determining the audio resource as the first resource and the target animation resource as the second resource;
The determining the audio resource as a first resource and the target animation resource as a second resource includes: recording each play position and animation frame of the audio resource with corresponding relation; and determining each play position of the audio resource with the corresponding relation and the animation frame as the play position of the first resource and the play position of the second resource with the corresponding relation.
2. The method according to claim 1, wherein the obtaining, from the animation resources, the animation frames corresponding to each playing position of the audio resources, and obtaining the target animation resources with the same playing duration as the audio resources, includes:
and carrying out alignment processing on the audio resource and the animation resource through an animation editor, so that each playing time of the audio resource has a corresponding animation frame, and deleting redundant animation frames in the animation resource to obtain the target animation resource with the same playing time length as the audio resource.
3. The method of claim 1, wherein determining a second play position of the second resource corresponding to the first play position according to the target play progress and a total frame number of the target animation resource comprises:
And determining the playing position of the current frame of the target animation resource as the product of the total frame number of the target animation resource and the target playing progress, wherein the playing time length of the second resource is the same as the playing time length of the first resource.
4. The method of claim 1, wherein determining a target play progress of the first asset based on the first play position and a play duration of the first asset comprises:
acquiring the playing time of the first playing position; determining the percentage of the playing time in the playing time of the first resource; determining the percentage as the target playing progress; or alternatively
Acquiring the playing time of the first playing position; determining the playing time of the first playing position as the target playing progress; or alternatively
Acquiring the percentage of the residual resources accounting for the total resources after the play time interval of the first play position is finished; determining the percentage of the residual resources accounting for the total resources from the end of playing as the target playing progress; or alternatively
And acquiring the play time interval play end residual resource length of the first play position and determining the resource length as the target play progress.
5. The method of claim 1, wherein the obtaining the first play position of the first resource and the play duration of the first resource comprises:
acquiring two attributes position and duration of the audio resource by using a page frame circulation function;
and determining the attribute position as a first playing position of the first resource, and determining the attribute duration as a playing time length of the first resource.
6. A method for synchronously playing multimedia resources, comprising the steps of:
loading audio resources and animation resources;
obtaining an animation frame corresponding to each playing position of the audio resource from the animation resource to obtain a target animation resource with the same playing time length as the audio resource;
determining the audio resource as a first resource and the target animation resource as a second resource;
playing the first resource in the target multimedia resources;
acquiring a first playing position of the first resource, wherein the first playing position is the current playing position of the audio resource;
determining a second playing position corresponding to the first playing position in the second resource, wherein the second playing position is used for indicating the playing position of the animation frame of the target animation resource;
Playing the animation frames positioned at the second playing position in the animation resources, wherein the playing of the first resources and the playing of the second resources are respectively performed, and the first resources are used for driving the playing of the second resources;
the determining the audio resource as the first resource and the target animation resource as the second resource includes: recording each play position of the audio resource and the animation resource with a corresponding relation; determining each play position of the audio resource and the animation resource which have a corresponding relation as a play position of the first resource and a play position of the second resource which have a corresponding relation;
the obtaining the first playing position of the first resource includes: and in the playing process of the first resource, acquiring the first playing position of the first resource at intervals of set time.
7. The method according to claim 6, wherein the obtaining, from the animation resources, the animation frames corresponding to each playing position of the audio resources, and obtaining the target animation resources with the same playing duration as the audio resources, includes:
And carrying out alignment processing on the audio resource and the animation resource through an animation editor, so that each playing time of the audio resource has a corresponding animation frame, and deleting redundant animation frames in the animation resource to obtain the target animation resource with the same playing time length as the audio resource.
8. The method of claim 6, wherein the determining a second play position in the second resource corresponding to the first play position comprises:
acquiring the playing position of the first resource and the playing position of the second resource with corresponding relations;
searching the second playing position corresponding to the first playing position from the playing position of the first resource and the playing position of the second resource with the corresponding relation.
9. A synchronized playback device for multimedia assets, comprising:
the first playing module is used for playing a first resource in target multimedia resources, wherein the target multimedia resources comprise the first resource and a second resource, the first resource is an audio resource, and the second resource is a target animation resource;
the first acquisition module is used for acquiring a first playing position of the first resource and the playing duration of the first resource at intervals of a set time in the playing process of the first resource, wherein the first playing position is the current playing position of the first resource;
The first determining module is used for determining the target playing progress of the first resource according to the first playing position and the playing duration of the first resource;
the second determining module is used for determining a second playing position corresponding to the first playing position in the second resource according to the target playing progress and the total frame number of the target animation resource, wherein the second playing position is used for indicating the playing position of the animation frame of the target animation resource;
the second playing module is used for playing the animation frames positioned at the second playing position in the second resources, wherein the playing of the first resources and the playing of the second resources are respectively in the process of playing, and the first resources are used for driving the playing of the second resources;
the device is also for: before playing the first resource in the target multimedia resources, loading the audio resources and the animation resources; obtaining an animation frame corresponding to each playing position of the audio resource from the animation resource to obtain the target animation resource with the same playing time length as the audio resource; determining the audio resource as the first resource and the target animation resource as the second resource;
The apparatus is configured to determine an audio resource as a first resource and a target animation resource as a second resource by: recording each play position and animation frame of the audio resource with corresponding relation; and determining each play position of the audio resource with the corresponding relation and the animation frame as the play position of the first resource and the play position of the second resource with the corresponding relation.
10. The apparatus of claim 9, wherein the apparatus is configured to obtain the target animation resource that is the same as a playing duration of the audio resource by obtaining an animation frame corresponding to each playing position of the audio resource from the animation resource by:
and carrying out alignment processing on the audio resource and the animation resource through an animation editor, so that each playing time of the audio resource has a corresponding animation frame, and deleting redundant animation frames in the animation resource to obtain the target animation resource with the same playing time length as the audio resource.
11. The apparatus of claim 9, wherein the apparatus is configured to determine a second play position in the second resource corresponding to the first play position according to the target play progress and a total frame number of the target animation resource by:
And determining the playing position of the current frame of the target animation resource as the product of the total frame number of the target animation resource and the target playing progress, wherein the playing time length of the second resource is the same as the playing time length of the first resource.
12. The apparatus of claim 9, wherein the apparatus is configured to determine the target playback progress of the first asset based on the first playback position and the playback time period of the first asset by:
acquiring the playing time of the first playing position; determining the percentage of the playing time in the playing time of the first resource; determining the percentage as the target playing progress; or alternatively
Acquiring the playing time of the first playing position; determining the playing time of the first playing position as the target playing progress; or alternatively
Acquiring the percentage of the residual resources accounting for the total resources after the play time interval of the first play position is finished; determining the percentage of the residual resources accounting for the total resources from the end of playing as the target playing progress; or alternatively
And acquiring the play time interval play end residual resource length of the first play position and determining the resource length as the target play progress.
13. The apparatus of claim 9, wherein the apparatus is configured to obtain the first play position of the first asset and the play duration of the first asset by:
acquiring two attributes position and duration of the audio resource by using a page frame circulation function;
and determining the attribute position as a first playing position of the first resource, and determining the attribute duration as a playing time length of the first resource.
14. A synchronized playback device for multimedia assets, comprising:
the loading module is used for loading the audio resource and the animation resource;
the second acquisition module is used for acquiring the animation frames corresponding to each playing position of the audio resource from the animation resources to obtain target animation resources with the same playing time length as the audio resource;
a third determining module, configured to determine the audio resource as a first resource and determine the target animation resource as a second resource;
the third playing module is used for playing the first resource in the target multimedia resources;
a third obtaining module, configured to obtain a first playing position of the first resource, where the first playing position is a current playing position of the audio resource;
A fourth determining module, configured to determine a second playing position corresponding to the first playing position in the second resource, where the second playing position is used to indicate a playing position where an animation frame of the target animation resource is located;
a fourth playing module, configured to play the animation frame located at the second playing position in the animation resource, where the playing of the first resource and the playing of the second resource are respectively a playing process, and the first resource is used to drive the playing of the second resource;
the apparatus is configured to determine the audio resource as the first resource and the target animation resource as the second resource by: recording each play position of the audio resource and the animation resource with a corresponding relation; determining each play position of the audio resource and the animation resource which have a corresponding relation as a play position of the first resource and a play position of the second resource which have a corresponding relation;
the device is used for acquiring a first playing position of the first resource by the following method: and in the playing process of the first resource, acquiring the first playing position of the first resource at intervals of set time.
15. The apparatus of claim 14, wherein the apparatus is configured to obtain the target animation resource that is the same as a playing duration of the audio resource by obtaining an animation frame corresponding to each playing position of the audio resource from the animation resource by:
and carrying out alignment processing on the audio resource and the animation resource through an animation editor, so that each playing time of the audio resource has a corresponding animation frame, and deleting redundant animation frames in the animation resource to obtain the target animation resource with the same playing time length as the audio resource.
16. The apparatus of claim 14, wherein the apparatus is configured to determine a second play position in the second asset that corresponds to the first play position by:
acquiring the playing position of the first resource and the playing position of the second resource with corresponding relations;
searching the second playing position corresponding to the first playing position from the playing position of the first resource and the playing position of the second resource with the corresponding relation.
17. A storage medium having a computer program stored therein, wherein the computer program is arranged to perform the method of any of claims 1 to 5 or 6 to 8 when run.
18. An electronic device comprising a memory and a processor, characterized in that the memory has stored therein a computer program, the processor being arranged to execute the method according to any of the claims 1-5 or 6-8 by means of the computer program.
CN202111285330.6A 2018-05-02 2018-05-02 Synchronous playing method and device for multimedia resources, storage position and electronic device Active CN113992638B (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN202111285330.6A CN113992638B (en) 2018-05-02 2018-05-02 Synchronous playing method and device for multimedia resources, storage position and electronic device

Applications Claiming Priority (2)

Application Number Priority Date Filing Date Title
CN201810411619.XA CN108616768B (en) 2018-05-02 2018-05-02 Synchronous playing method and device of multimedia resources, storage position and electronic device
CN202111285330.6A CN113992638B (en) 2018-05-02 2018-05-02 Synchronous playing method and device for multimedia resources, storage position and electronic device

Related Parent Applications (1)

Application Number Title Priority Date Filing Date
CN201810411619.XA Division CN108616768B (en) 2018-05-02 2018-05-02 Synchronous playing method and device of multimedia resources, storage position and electronic device

Publications (2)

Publication Number Publication Date
CN113992638A CN113992638A (en) 2022-01-28
CN113992638B true CN113992638B (en) 2023-07-14

Family

ID=63661512

Family Applications (2)

Application Number Title Priority Date Filing Date
CN202111285330.6A Active CN113992638B (en) 2018-05-02 2018-05-02 Synchronous playing method and device for multimedia resources, storage position and electronic device
CN201810411619.XA Active CN108616768B (en) 2018-05-02 2018-05-02 Synchronous playing method and device of multimedia resources, storage position and electronic device

Family Applications After (1)

Application Number Title Priority Date Filing Date
CN201810411619.XA Active CN108616768B (en) 2018-05-02 2018-05-02 Synchronous playing method and device of multimedia resources, storage position and electronic device

Country Status (1)

Country Link
CN (2) CN113992638B (en)

Families Citing this family (2)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN110505511B (en) * 2019-08-20 2022-03-18 海南车智易通信息技术有限公司 Method, device and system for playing video in webpage and computing equipment
CN112990173B (en) * 2021-02-04 2023-10-27 上海哔哩哔哩科技有限公司 Reading processing method, device and system

Citations (9)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN101262612A (en) * 2008-03-27 2008-09-10 凌阳科技股份有限公司 A system and method for synchronous playing of multimedia file audio and video
CN101969460A (en) * 2010-09-28 2011-02-09 同辉佳视(北京)信息技术有限公司 Multi-screen synchronized video playing method and system
CN103325398A (en) * 2012-03-23 2013-09-25 腾讯科技(深圳)有限公司 Animation playing method and device
CN105872699A (en) * 2016-04-28 2016-08-17 乐视控股(北京)有限公司 Video playing control method and device
CN106162293A (en) * 2015-04-22 2016-11-23 无锡天脉聚源传媒科技有限公司 A kind of video sound and the method and device of image synchronization
CN106658133A (en) * 2016-10-26 2017-05-10 广州市百果园网络科技有限公司 Audio and video synchronous playing method and terminal
CN107509100A (en) * 2017-09-15 2017-12-22 深圳国微技术有限公司 Audio and video synchronization method, system, computer installation and computer-readable recording medium
CN107613356A (en) * 2017-08-30 2018-01-19 瑞声科技(新加坡)有限公司 Media and vibrations synchronous broadcast method and device, electronic equipment and storage medium
CN107959821A (en) * 2017-11-27 2018-04-24 安徽威斯贝尔智能科技有限公司 A kind of meeting visible dialogue system based on cloud

Family Cites Families (14)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN1567381A (en) * 2003-06-20 2005-01-19 北京北佳信息系统有限公司 Multimedia material synchronous editing device
US20090273712A1 (en) * 2008-05-01 2009-11-05 Elliott Landy System and method for real-time synchronization of a video resource and different audio resources
US8347210B2 (en) * 2008-09-26 2013-01-01 Apple Inc. Synchronizing video with audio beats
CN101621572A (en) * 2009-08-10 2010-01-06 上海闻泰电子科技有限公司 Mobile phone supporting RMVB video file playing
US9185445B2 (en) * 2009-09-24 2015-11-10 At&T Intellectual Property I, L.P. Transmitting a prioritized audio stream along with multimedia content
CN101719375B (en) * 2010-01-12 2012-01-11 深圳市同洲电子股份有限公司 Method for positioning music playing position and music player
CN102314917A (en) * 2010-07-01 2012-01-11 北京中星微电子有限公司 Method and device for playing video and audio files
CN102447949A (en) * 2011-08-24 2012-05-09 上海文广科技(集团)有限公司 High efficient frame-accurate TS stream splicing method
CN102630017B (en) * 2012-04-10 2014-03-19 中兴通讯股份有限公司 Method and system for synchronizing mobile multi-media broadcasting and subtitles
CN105611401B (en) * 2015-12-18 2018-08-24 无锡天脉聚源传媒科技有限公司 A kind of method and apparatus of video clipping
US10432988B2 (en) * 2016-04-15 2019-10-01 Ati Technologies Ulc Low latency wireless virtual reality systems and methods
CN107454479A (en) * 2017-08-22 2017-12-08 无锡天脉聚源传媒科技有限公司 A kind of processing method and processing device of multi-medium data
CN107613357B (en) * 2017-09-13 2020-05-19 广州酷狗计算机科技有限公司 Sound and picture synchronous optimization method and device and readable storage medium
CN107801080A (en) * 2017-11-10 2018-03-13 普联技术有限公司 A kind of audio and video synchronization method, device and equipment

Patent Citations (9)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN101262612A (en) * 2008-03-27 2008-09-10 凌阳科技股份有限公司 A system and method for synchronous playing of multimedia file audio and video
CN101969460A (en) * 2010-09-28 2011-02-09 同辉佳视(北京)信息技术有限公司 Multi-screen synchronized video playing method and system
CN103325398A (en) * 2012-03-23 2013-09-25 腾讯科技(深圳)有限公司 Animation playing method and device
CN106162293A (en) * 2015-04-22 2016-11-23 无锡天脉聚源传媒科技有限公司 A kind of video sound and the method and device of image synchronization
CN105872699A (en) * 2016-04-28 2016-08-17 乐视控股(北京)有限公司 Video playing control method and device
CN106658133A (en) * 2016-10-26 2017-05-10 广州市百果园网络科技有限公司 Audio and video synchronous playing method and terminal
CN107613356A (en) * 2017-08-30 2018-01-19 瑞声科技(新加坡)有限公司 Media and vibrations synchronous broadcast method and device, electronic equipment and storage medium
CN107509100A (en) * 2017-09-15 2017-12-22 深圳国微技术有限公司 Audio and video synchronization method, system, computer installation and computer-readable recording medium
CN107959821A (en) * 2017-11-27 2018-04-24 安徽威斯贝尔智能科技有限公司 A kind of meeting visible dialogue system based on cloud

Also Published As

Publication number Publication date
CN113992638A (en) 2022-01-28
CN108616768B (en) 2021-10-15
CN108616768A (en) 2018-10-02

Similar Documents

Publication Publication Date Title
CN105701217B (en) Information processing method and server
US11889132B2 (en) Method and apparatus for implementing multi-person video live-streaming service, and computer device
CN107920274B (en) Video processing method, client and server
CN110708589B (en) Information sharing method and device, storage medium and electronic device
CN103905835B (en) A kind of progress method for previewing of video player, device and system
CN112866787B (en) Bullet screen setting method, device and system
CN113038239B (en) Bullet screen setting method, device and system
US10929460B2 (en) Method and apparatus for storing resource and electronic device
WO2016004240A1 (en) Interactive distributed multimedia system
CN113965811A (en) Play control method and device, storage medium and electronic device
CN110505511B (en) Method, device and system for playing video in webpage and computing equipment
CN112383790B (en) Live broadcast screen recording method and device, electronic equipment and storage medium
CN103929669A (en) Interactive video generator, player, generating method and playing method
CN110602543A (en) Method and apparatus for displaying material, storage medium, and electronic apparatus
CN104463932A (en) Animation effect achieving method and device
CN113630630A (en) Method, device and equipment for processing dubbing information of video commentary
CN113992638B (en) Synchronous playing method and device for multimedia resources, storage position and electronic device
CN112188223B (en) Live video playing method, device, equipment and medium
CN106470353B (en) Multimedia data processing method and device and electronic equipment
CN108833809A (en) A kind of video mixed flow control method, device, system, equipment and medium
CN109525852B (en) Live video stream processing method, device and system and computer readable storage medium
CN114173173B (en) Bullet screen information display method and device, storage medium and electronic equipment
US20120063743A1 (en) System and method for remote presentation provision
CN105979333B (en) Data synchronous display method and device
CN111773661A (en) System, method and device for team formation game based on live broadcast interface

Legal Events

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