CN110071862B - Method and device for processing motion trail video - Google Patents

Method and device for processing motion trail video Download PDF

Info

Publication number
CN110071862B
CN110071862B CN201910208857.5A CN201910208857A CN110071862B CN 110071862 B CN110071862 B CN 110071862B CN 201910208857 A CN201910208857 A CN 201910208857A CN 110071862 B CN110071862 B CN 110071862B
Authority
CN
China
Prior art keywords
target
motion
sporter
video
information
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
CN201910208857.5A
Other languages
Chinese (zh)
Other versions
CN110071862A (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.)
Beijing Calorie Information Technology Co ltd
Original Assignee
Beijing Calorie Information Technology 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 Beijing Calorie Information Technology Co ltd filed Critical Beijing Calorie Information Technology Co ltd
Priority to CN201910208857.5A priority Critical patent/CN110071862B/en
Publication of CN110071862A publication Critical patent/CN110071862A/en
Application granted granted Critical
Publication of CN110071862B publication Critical patent/CN110071862B/en
Active legal-status Critical Current
Anticipated expiration legal-status Critical

Links

Images

Classifications

    • GPHYSICS
    • G10MUSICAL INSTRUMENTS; ACOUSTICS
    • G10HELECTROPHONIC MUSICAL INSTRUMENTS; INSTRUMENTS IN WHICH THE TONES ARE GENERATED BY ELECTROMECHANICAL MEANS OR ELECTRONIC GENERATORS, OR IN WHICH THE TONES ARE SYNTHESISED FROM A DATA STORE
    • G10H1/00Details of electrophonic musical instruments
    • G10H1/0008Associated control or indicating means
    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04LTRANSMISSION OF DIGITAL INFORMATION, e.g. TELEGRAPHIC COMMUNICATION
    • H04L51/00User-to-user messaging in packet-switching networks, transmitted according to store-and-forward or real-time protocols, e.g. e-mail
    • H04L51/07User-to-user messaging in packet-switching networks, transmitted according to store-and-forward or real-time protocols, e.g. e-mail characterised by the inclusion of specific contents
    • H04L51/10Multimedia information
    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04LTRANSMISSION OF DIGITAL INFORMATION, e.g. TELEGRAPHIC COMMUNICATION
    • H04L51/00User-to-user messaging in packet-switching networks, transmitted according to store-and-forward or real-time protocols, e.g. e-mail
    • H04L51/21Monitoring or handling of messages
    • H04L51/222Monitoring or handling of messages using geographical location information, e.g. messages transmitted or received in proximity of a certain spot or area
    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04LTRANSMISSION OF DIGITAL INFORMATION, e.g. TELEGRAPHIC COMMUNICATION
    • H04L51/00User-to-user messaging in packet-switching networks, transmitted according to store-and-forward or real-time protocols, e.g. e-mail
    • H04L51/52User-to-user messaging in packet-switching networks, transmitted according to store-and-forward or real-time protocols, e.g. e-mail for supporting social networking services
    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04NPICTORIAL COMMUNICATION, e.g. TELEVISION
    • H04N5/00Details of television systems
    • H04N5/76Television signal recording
    • H04N5/91Television signal processing therefor
    • H04N5/92Transformation of the television signal for recording, e.g. modulation, frequency changing; Inverse transformation for playback
    • H04N5/9201Transformation of the television signal for recording, e.g. modulation, frequency changing; Inverse transformation for playback involving the multiplexing of an additional signal and the video signal
    • H04N5/9202Transformation of the television signal for recording, e.g. modulation, frequency changing; Inverse transformation for playback involving the multiplexing of an additional signal and the video signal the additional signal being a sound signal
    • GPHYSICS
    • G10MUSICAL INSTRUMENTS; ACOUSTICS
    • G10HELECTROPHONIC MUSICAL INSTRUMENTS; INSTRUMENTS IN WHICH THE TONES ARE GENERATED BY ELECTROMECHANICAL MEANS OR ELECTRONIC GENERATORS, OR IN WHICH THE TONES ARE SYNTHESISED FROM A DATA STORE
    • G10H2210/00Aspects or methods of musical processing having intrinsic musical character, i.e. involving musical theory or musical parameters or relying on musical knowledge, as applied in electrophonic musical tools or instruments
    • G10H2210/021Background music, e.g. for video sequences, elevator music

Landscapes

  • Engineering & Computer Science (AREA)
  • Signal Processing (AREA)
  • Computer Networks & Wireless Communication (AREA)
  • Multimedia (AREA)
  • Computing Systems (AREA)
  • Physics & Mathematics (AREA)
  • Acoustics & Sound (AREA)
  • Electrophonic Musical Instruments (AREA)
  • Processing Or Creating Images (AREA)

Abstract

The invention discloses a method and a device for processing a motion trail video. Wherein, the method comprises the following steps: in the process of movement of a target sporter, acquiring characteristic information of other sporters, wherein the characteristic information comprises: attribute information of other players, motion information of other players, and relative positions of the other players with respect to the target player; generating a motion state of the target sporter and a preset audio frequency corresponding to the characteristic information; and adding the preset audio into the motion trail video of the target sporter to obtain the target motion trail video. The invention solves the technical problem that the content of the motion trail video generated according to the motion state of the sporter is relatively single in the related technology.

Description

Method and device for processing motion trail video
Technical Field
The invention relates to the technical field of motion data processing, in particular to a method and a device for processing a motion trail video.
Background
At present, with the continuous improvement of living standard of people, people have higher requirements on the mental world besides the requirements on basic life (for example, eating and wearing), and the importance of people on health is mainly reflected here. More and more people are participating in various sports for their health. With the progress of science and technology, various intelligent applications or devices suitable for user movement come into endless. The sporter can use the intelligent applications or equipment to guide the movement, and can also record the movement track and play back the movement track. However, only the motion trail playback function of individuals or teams playing together exists in the market at present, and other players who encounter in the process of sports and recorded motion trail videos cannot be known, and background music does not exist.
In view of the above-mentioned problem in the related art that the content of the motion trail video generated according to the motion state of the sporter is relatively single, no effective solution has been proposed at present.
Disclosure of Invention
The embodiment of the invention provides a method and a device for processing a motion trail video, which are used for at least solving the technical problem that the content of the motion trail video generated according to the motion state of a sporter is single in the related technology.
According to an aspect of the embodiments of the present invention, there is provided a method for processing a motion trajectory video, including: in the process of movement of a target sporter, acquiring characteristic information of other sporters, wherein the characteristic information comprises: attribute information of the other players, motion information of the other players, relative positions of the other players with respect to the target player; generating a motion state of the target sporter and a preset audio corresponding to the characteristic information; and adding the preset audio into the motion trail video of the target sporter to obtain the target motion trail video.
Optionally, while the predetermined audio is added to the motion trail video of the target sporter, the method for processing the motion trail video further comprises: and adding the characteristic information into the motion trail video.
Optionally, in the process of the movement of the target sporter, before acquiring feature information of other sporters, the method for processing the movement track video further includes: and acquiring authorization information, wherein the authorization information is used for indicating that the feature information is allowed to be pushed, reporting the current position information of the target sporter is allowed, and pushing the feature information according to the current position information.
Optionally, the obtaining of the feature information of the other sporters includes at least one of: acquiring the characteristic information in a server-side pushing mode; and acquiring the characteristic information in a Bluetooth detection mode.
Optionally, the generating the motion state of the target sporter and the predetermined audio corresponding to the feature information includes: determining the number of other players and the music style selected by the target player; determining the types of the musical instruments corresponding to the music styles according to the number of the other sporters; and selecting a music segment according to the type of the musical instrument, and generating the motion state of the target sporter and a preset audio corresponding to the characteristic information according to the music segment.
Optionally, the other sporters are selected from a plurality of sporters in the target area where the target sporter is located according to the current position information of the target sporter.
Optionally, after the predetermined audio is added to the motion trail video of the target sporter to obtain the target motion trail video, the method for processing the motion trail video further includes: and playing the target motion track video.
Optionally, after the predetermined audio is added to the motion trail video of the target sporter to obtain the target motion trail video, the processing method of the motion trail video further includes at least one of the following: saving the target motion track video; and sharing the target motion track video to a preset platform.
According to another aspect of the embodiments of the present invention, there is also provided a motion trail video processing apparatus, including: the first acquisition unit is used for acquiring characteristic information of other sporters in the movement process of a target sporter, wherein the characteristic information comprises: attribute information of the other players, motion information of the other players, relative positions of the other players with respect to the target player; the generating unit is used for generating the motion state of the target sporter and the preset audio corresponding to the characteristic information; and the second acquisition unit is used for adding the preset audio into the motion trail video of the target sporter to obtain the target motion trail video.
Optionally, the processing apparatus for motion trail video further includes: an adding unit configured to add the feature information to the motion trail video of the target sporter while adding the predetermined audio to the motion trail video.
Optionally, the processing apparatus for motion trail video further includes: a third obtaining unit, configured to obtain authorization information before obtaining feature information of another sporter in a moving process of a target sporter, where the authorization information is used to indicate that pushing of the feature information is allowed, and to allow reporting of current location information of the target sporter, and push the feature information according to the current location information.
Optionally, the first obtaining unit includes at least one of: the first acquisition module is used for acquiring the characteristic information in a server-side pushing mode; and the second acquisition module is used for acquiring the characteristic information in a Bluetooth detection mode.
Optionally, the generating unit includes: a first determining module for determining the number of the other players and the music style selected by the target player; the second determining module is used for determining the types of the musical instruments corresponding to the music styles according to the number of the other sporters; and the generating module is used for selecting a music segment according to the type of the musical instrument and generating the motion state of the target sporter and the preset audio corresponding to the characteristic information according to the music segment.
Optionally, the other sporters are selected from a plurality of sporters in the target area where the target sporter is located according to the current position information of the target sporter.
Optionally, the processing apparatus for motion trail video further includes: and the playing unit is used for playing the target motion track video after the preset audio is added into the motion track video of the target sporter to obtain the target motion track video.
Optionally, the processing apparatus for motion trail video further includes at least one of: the storage unit is used for storing the target motion track video after the preset audio is added into the motion track video of the target sporter to obtain the target motion track video; and the sharing unit is used for sharing the target motion track video to a preset platform.
According to another aspect of the embodiments of the present invention, there is also provided a storage medium including a stored program, wherein the program executes the method for processing a motion trajectory video according to any one of the above.
According to another aspect of the embodiment of the present invention, there is further provided a processor, where the processor is configured to execute a program, where the program executes the method for processing the motion trail video.
In the embodiment of the invention, the characteristic information of other sporters is acquired in the moving process of a target sporter, wherein the characteristic information comprises the following steps: attribute information of other players, motion information of other players, and relative positions of the other players with respect to the target player; generating a motion state of the target sporter and a preset audio frequency corresponding to the characteristic information; in the embodiment, the preset audio can be used as the background music of the motion trail video of the target sporter, so that the purpose of adding the background music to the motion trail video of the sporter is achieved, the technical effects of improving the motion quality and the motion experience of the sporter are achieved, the technical problem that the content of the motion trail video generated according to the motion state of the sporter in the related technology is single is further solved, and meanwhile, the content and the display form of the motion trail video of the sporter are enriched.
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 embodiment(s) of the invention and together with the description serve to explain the invention without limiting the invention. In the drawings:
fig. 1 is a flowchart of a method of processing a motion trajectory video according to an embodiment of the present invention;
FIG. 2 is a schematic illustration of the manner in which a rock-and-roll style sub-music library may be composed in accordance with an example of the present invention;
FIG. 3 is a schematic diagram of an initial interface for video playback of a motion trajectory of a client according to an embodiment of the present invention;
fig. 4 is a schematic diagram of a motion trajectory video processing apparatus according to an embodiment of the present invention.
Detailed Description
In order to make the technical solutions of the present invention better understood, the technical solutions in the embodiments of the present invention will be clearly and completely described below with reference to the drawings in the embodiments of the present invention, and it is obvious that the described embodiments are only a part of the embodiments of the present invention, and not all of the embodiments. All other embodiments, which can be derived by a person skilled in the art from the embodiments given herein without making any creative effort, shall fall within the protection scope of the present invention.
It should be noted that the terms "first," "second," and the like in the description and claims of the present invention and in the drawings described above are used for distinguishing between similar elements and not necessarily for describing a particular sequential or chronological order. It is to be understood that the data so used is interchangeable under appropriate circumstances such that the embodiments of the invention described herein are capable of operation in sequences other than those illustrated or 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.
Example 1
In accordance with an embodiment of the present invention, there is provided a method embodiment of a method for processing motion trail video, it is noted that the steps illustrated in the flowchart of the drawings may be executed in a computer system such as a set of computer executable instructions, and although a logical order is illustrated in the flowchart, in some cases the steps illustrated or described may be executed in an order different from that shown.
Fig. 1 is a flowchart of a method for processing a motion trajectory video according to an embodiment of the present invention, and as shown in fig. 1, the method for processing a motion trajectory video includes the following steps:
step S102, in the process of the movement of the target sporter, acquiring the characteristic information of other sporters, wherein the characteristic information comprises: attribute information of other players, motion information of other players, and relative positions of other players with respect to the target player.
For example, the attribute information of the sporter may include, but is not limited to, the following: sex of the athlete, age of the athlete. The sports information of the sporter may include, but is not limited to, the following: the type of movement of the athlete, the speed of the athlete's movement.
And step S104, generating the motion state of the target sporter and the preset audio corresponding to the characteristic information.
And step S106, adding the preset audio into the motion trail video of the target sporter to obtain the target motion trail video.
Through the steps, the characteristic information of other sporters can be acquired in the moving process of the target sporter, wherein the characteristic information comprises the following steps: attribute information of other players, motion information of other players, and relative positions of the other players with respect to the target player; generating a motion state of the target sporter and a preset audio frequency corresponding to the characteristic information; and adding the preset audio into the motion trail video of the target sporter to obtain the target motion trail video. In the embodiment, the preset audio can be generated by the characteristic information of other sporters encountered by the target sporter in the moving process and the information determined by the target sporter, and the preset audio is used as the background music of the motion trail video of the target sporter, so that the purpose of adding the background music to the motion trail video of the sporter is achieved, the technical effects of improving the motion quality and the motion experience of the sporter are achieved, the technical problem that the content of the motion trail video generated according to the motion state of the sporter in the related technology is single is solved, and meanwhile, the content and the display form of the motion trail video of the sporter are enriched.
As an alternative embodiment, while adding the predetermined audio to the motion trail video of the target sporter, the processing method of the motion trail video further comprises: and adding the characteristic information into the motion trail video. Namely, not only background music but also characteristic information of other players, which encounter in the moving process, is added to the motion trail video of the target player, so that the motion trail video of the player is enriched.
As an alternative embodiment, even though the data processing method in the exercise process provided by the embodiment of the present invention only shows the approximate position of the athlete and does not directly expose the specific position information of the athlete, the specific position of the athlete is likely to be inferred due to the richness of the prompt, so that it is necessary for the user to know the position explicitly. In the process of the movement of the target sporter and before acquiring the feature information of other sporters, the method for processing the movement track video may further include: and acquiring authorization information, wherein the authorization information is used for indicating that the characteristic information is allowed to be pushed, reporting the current position information of the target sporter is allowed, and pushing the characteristic information according to the current position information.
As an optional embodiment, before obtaining feature information of other sporters, the method for processing a motion trajectory video may further include: uploading the current position information of the target sporter to a server, wherein the server divides a target area corresponding to the current position information into a plurality of GeoHash blocks by using a GeoHash algorithm, and after historical position information in a GeoHash block I corresponding to the current position information is eliminated, mapping the current position information into the GeoHash block I.
The GeoHash converts two-dimensional point data into one-dimensional data by a certain method, namely converts two-dimensional longitude and latitude into one-dimensional character strings, and is convenient for indexing positions. The longer the string, the more precise the range of representation. The merchant can be quickly indexed through the index of the database, the cache is easy to carry out, and the privacy can be protected.
It should be noted that, in the embodiment of the present invention, the tasks performed by the server may also be performed by the client when the function of the client is powerful enough.
As an alternative embodiment, in step S102, the obtaining of the feature information of the other sporter may include at least one of: acquiring characteristic information in a server-side pushing mode; and acquiring the characteristic information in a Bluetooth detection mode.
For example, after the target sporter authorizes, the client may report the current location information of the target object to the server, and the server may also receive the current location information of many sporters in the target area, and select a predetermined number of other sporters from the multiple sporters, and push the feature information of the other sporters to the client of the target sporter, so that the client of the target sporter may receive the feature information of the other sporters. In addition, the client of the target sporter can also acquire the characteristic information of other sporters in a Bluetooth detection mode. Of course, in the embodiment of the present invention, the obtaining manner of the feature information of other athletes may include, but is not limited to, the above several manners.
As an alternative embodiment, in step S104, generating the motion state of the target sporter and the predetermined audio corresponding to the feature information may include: determining the number of other players and the music style selected by the target player; determining the type of the musical instrument corresponding to the music style according to the number of other sporters; and selecting a music segment according to the type of the musical instrument, and generating a preset audio frequency corresponding to the motion state and the characteristic information of the target sporter according to the music segment.
For example, a library of musical materials may be provided at a sporter's client, as a large whole, consisting of various styles of sub-libraries each containing a plurality of musical instruments each having a plurality of musical pieces as random musical materials. Fig. 2 is a schematic diagram of the composition of a rock-style sub-music library according to an example of the present invention, in which 4 instruments (i.e., tracks) in the rock-style are specified (more or less kinds are possible, of course) in the embodiment of the present invention, and are sequentially assigned according to the number of other players, for example, when the number of other players is 1, one instrument, namely, a drum kit, is selected; when the number of other players is 2, two musical instruments, i.e., the drum kit and bass in fig. 2, are selected; when the number of other players is 3, three musical instruments, namely drum set, bass and king guitar, are selected; when the number of other players is 4, four instruments are selected — drum set, bass, master guitar melody guitar. As shown in fig. 2, each musical instrument has 8 musical pieces (wherein, the number of the musical pieces of each musical instrument may be different), and the musical pieces corresponding to each musical instrument may be randomly selected or distributed according to the characteristic information of other players. Random selection is used as an example for explanation.
It should be noted that it is required to ensure that the tempo of the corresponding music piece of each instrument is the same (in the embodiment of the present invention, 126bpm is taken as an example), the number of beats per bar is also the same (in the embodiment of the present invention, 4 beats per bar is taken as an example), and the total length of the music piece is controlled to be about the length of one motion trajectory video playback, for example, 10 s.
The music style shown in fig. 2 is rock (rock style), and the music style may be manually selected by the target player, or may be generated according to the motion state of the target player and the feature information of other players. The manual selection by the user is explained here as an example. Among them, the track codes i of 4 instruments (sequentially assigned in the entering order): drum (drums): 1, bass (bass): 2, primary guitar (leadguitar): 3, melodic guitar (rhytmguitar): 4. each piece of music represents Rij (j being randomly chosen) of the musical material. The music pieces for the drum set shown in fig. 2 are from R11 to R18, for bass from R21 to R28, for the main guitar from R31 to R38, and for the melodic guitar from R41 to R48.
When the other player of the target player encounter is 1, a first instrument (track) is assigned to represent him, such as the drum set of fig. 2, followed by a program randomly selecting one of a plurality of pieces of music of this instrument, e.g., R12; when the number of people is 2, sequentially allocating the drum kit and the bass, and randomly selecting a piece of music, for example, R12 and R24, from the corresponding audio pieces; and so on. Wherein when the other player who has encountered the encounter is 2 persons, music superimposed by R12 and R24 is synthesized as background music (i.e., predetermined audio) of the motion trajectory video of the target player.
It should be noted that if the number of instruments (i.e., the number of tracks) in the music library is 4 at most, the final result of the synthesis can only represent 4 persons. The music style may be set by the target player, or may be assigned according to a rule.
As an alternative embodiment, the other sporters are selected from a plurality of sporters in the target area where the target sporter is located according to the current location information of the target sporter.
As an optional embodiment, after adding the predetermined audio to the motion trail video of the target sporter to obtain the target motion trail video, the method for processing the motion trail video may further include: and playing the target motion track video.
Fig. 3 is a schematic diagram of an initial interface of playing a motion trajectory video of a client according to an embodiment of the present invention, as shown in fig. 3, showing a type of motion (fitness) of an athlete Alice, a motion date (1 month, 14 days, 20:08), a motion distance (5.12) kilometers, a motion speed (4' 56 "), a motion duration (00:26:24), a consumed heat (560 kcal), and also showing music and a meeting, and a user can click" view playback "to play back an heard music signal during the motion, that is, a target motion trajectory video.
In addition, after the predetermined audio is added to the motion trail video of the target sporter to obtain the target motion trail video, the processing method of the motion trail video may further include at least one of the following: saving a target motion track video; and sharing the target motion track video to a preset platform. For example, the target sporter may save the generated target motion trajectory video for later browsing; the generated target motion trail video can also be shared to a predetermined platform (such as WeChat, microwave, QQ and the like) for browsing of relatives and friends.
By the motion trail video processing method provided by the embodiment of the invention, other surrounding sporters can be detected in the motion process of the target sporter, the information such as the relative position and the motion state of the target sporter is recorded, and random music is generated according to the recorded information and is used as background music of the motion trail video of the target sporter. When the target sporter views the own motion track video playback, the information of other sporters who encounter can be played in the motion track video, and the generated background music is played. In addition, the target sporter is allowed to store the finally generated target motion track video or share the target motion track video, so that the purpose of adding background music to the motion track video of the sporter is achieved, and the technical effects of improving the motion quality and motion experience of the sporter are achieved.
Example 2
According to the embodiment of the present invention, a motion trail video processing device is further provided, and it should be noted that the motion trail video processing device according to the embodiment of the present invention may be used to execute the motion trail video processing method provided by the embodiment of the present invention. The following describes a motion trajectory video processing apparatus according to an embodiment of the present invention.
Fig. 4 is a schematic diagram of a motion trail video processing apparatus according to an embodiment of the present invention, and as shown in fig. 4, the motion trail video processing apparatus includes: a first acquisition unit 41, a generation unit 43 and a second acquisition unit 45. The following describes the processing apparatus of the motion trajectory video in detail.
A first obtaining unit 41, configured to obtain feature information of another sporter in a moving process of a target sporter, where the feature information includes: attribute information of other players, motion information of other players, and relative positions of other players with respect to the target player.
And a generating unit 43, configured to generate a predetermined audio corresponding to the motion state and the feature information of the target sporter.
And the second obtaining unit 45 is configured to add a predetermined audio to the motion trail video of the target sporter, so as to obtain the target motion trail video.
It should be noted that the first acquiring unit 41 in this embodiment may be configured to execute step S102 in this embodiment of the present invention, the generating unit 43 in this embodiment may be configured to execute step S104 in this embodiment of the present invention, and the second acquiring unit 45 in this embodiment may be configured to execute step S106 in this embodiment of the present invention. The modules are the same as the corresponding steps in the realized examples and application scenarios, but are not limited to the disclosure of the above embodiments.
In this embodiment, the first obtaining unit 41 may be used to obtain feature information of other sporters during the course of the target sporter's movement, where the feature information includes: attribute information of other players, motion information of other players, and relative positions of the other players with respect to the target player; the generating unit 43 may then be used to generate a predetermined audio corresponding to the motion state and the feature information of the target sporter; and adds the predetermined audio to the motion trail video of the target sporter by using the second obtaining unit 45 to obtain the target motion trail video. In the embodiment, the preset audio can be generated by the characteristic information of other sporters encountered by the target sporter in the moving process and the information determined by the target sporter, and the preset audio is used as the background music of the motion trail video of the target sporter, so that the purpose of adding the background music to the motion trail video of the sporter is achieved, the technical effects of improving the motion quality and the motion experience of the sporter are achieved, the technical problem that the content of the motion trail video generated according to the motion state of the sporter in the related technology is single is solved, and meanwhile, the content and the display form of the motion trail video of the sporter are enriched.
As an optional embodiment, the processing apparatus of the motion trajectory video may further include: an adding unit for adding the characteristic information to the motion trail video while adding the predetermined audio to the motion trail video of the target sporter.
As an optional embodiment, the processing apparatus for motion trail video further includes: and a third obtaining unit, configured to obtain authorization information before obtaining the feature information of another sporter in a moving process of the target sporter, where the authorization information is used to indicate that pushing of the feature information is allowed, and to allow reporting of current location information of the target sporter, and push the feature information according to the current location information.
As an alternative embodiment, the first obtaining unit includes at least one of: the first acquisition module is used for acquiring the characteristic information in a server-side pushing mode; and the second acquisition module is used for acquiring the characteristic information in a Bluetooth detection mode.
As an alternative embodiment, the generating unit includes: the first determining module is used for determining the number of other sporters and the music style selected by the target sporter; the second determining module is used for determining the types of the musical instruments corresponding to the music styles according to the number of other sporters; and the generating module is used for selecting the music segments according to the types of the musical instruments and generating the motion state of the target sporter and the preset audio corresponding to the characteristic information according to the music segments.
As an alternative embodiment, the other sporters are selected from a plurality of sporters in the target area where the target sporter is located according to the current location information of the target sporter.
As an optional embodiment, the processing apparatus for motion trail video further includes: and the playing unit is used for playing the target motion track video after adding the preset audio into the motion track video of the target sporter to obtain the target motion track video.
As an optional embodiment, the processing apparatus for motion trail video further includes at least one of: the storage unit is used for storing the target motion track video after adding the preset audio to the motion track video of the target sporter to obtain the target motion track video; and the sharing unit is used for sharing the target motion track video to a preset platform.
The information presentation device includes a processor and a memory, the first acquiring unit 41, the generating unit 43, the second acquiring unit 45, and the like are stored in the memory as program units, and the processor executes the program units stored in the memory to implement corresponding functions.
The processor comprises a kernel, and the kernel calls a corresponding program unit from the memory. The kernel can be set to be one or more than one, and the preset audio is added into the motion trail video of the target sporter by adjusting the kernel parameters to obtain the target motion trail video.
The memory may include volatile memory in a computer readable medium, Random Access Memory (RAM) and/or nonvolatile memory such as Read Only Memory (ROM) or flash memory (flash RAM), and the memory includes at least one memory chip.
According to another aspect of the embodiments of the present invention, there is also provided a storage medium including a stored program, wherein the program performs the method for processing a motion trajectory video according to any one of the above.
According to another aspect of the embodiment of the present invention, there is further provided a processor, where the processor is configured to execute a program, where the program executes a method for processing a motion trajectory video according to any one of the above methods.
The embodiment of the present invention further provides an apparatus, which includes a processor, a memory, and a program stored in the memory and executable on the processor, and when the processor executes the program, the following steps are implemented: in the process of movement of a target sporter, acquiring characteristic information of other sporters, wherein the characteristic information comprises: attribute information of other players, motion information of other players, and relative positions of the other players with respect to the target player; generating a motion state of the target sporter and a preset audio frequency corresponding to the characteristic information; and adding the preset audio into the motion trail video of the target sporter to obtain the target motion trail video.
There is also provided in an embodiment of the invention a computer program product adapted to perform a program for initializing the following method steps when executed on a data processing device: in the process of movement of a target sporter, acquiring characteristic information of other sporters, wherein the characteristic information comprises: attribute information of other players, motion information of other players, and relative positions of the other players with respect to the target player; generating a motion state of the target sporter and a preset audio frequency corresponding to the characteristic information; and adding the preset audio into the motion trail video of the target sporter to obtain the target motion trail video.
The above-mentioned serial numbers of the embodiments of the present invention are merely for description and do not represent the merits of the embodiments.
In the above embodiments of the present invention, the descriptions of the respective embodiments have respective emphasis, and for parts that are not described in detail in a certain embodiment, reference may be made to related descriptions of other embodiments.
In the embodiments provided in the present application, it should be understood that the disclosed technology can be implemented in other ways. The above-described embodiments of the apparatus are merely illustrative, and for example, the division of the units may be a logical division, and in actual implementation, there may be another division, for example, multiple units or components may be combined or integrated into another system, or some features may be omitted, or not executed. In addition, the shown or discussed mutual coupling or direct coupling or communication connection may be an indirect coupling or communication connection through some interfaces, units or modules, and may be in an electrical or other form.
The units described as separate parts may or may not be physically separate, and parts displayed as units may or may not be physical units, may be located in one place, or may be distributed on a plurality of units. Some or all of the units can be selected according to actual needs to achieve the purpose of the solution of the embodiment.
In addition, functional units in the embodiments of the present invention may be integrated into one processing unit, or each unit may exist alone physically, or two or more units are integrated into one unit. The integrated unit can be realized in a form of hardware, and can also be realized in a form of a software functional unit.
The integrated unit, if implemented in the form of a software functional unit and sold or used as a stand-alone product, may be stored in a computer readable storage medium. Based on such understanding, the technical solution of the present invention may be embodied in the form of a software product, which is stored in a storage medium and includes instructions for causing a computer device (which may be a personal computer, a server, or a network device) to execute all or part of the steps of the method according to the embodiments of the present invention. And the aforementioned storage medium includes: a U-disk, a Read-Only Memory (ROM), a Random Access Memory (RAM), a removable hard disk, a magnetic or optical disk, and other various media capable of storing program codes.
The foregoing is only a preferred embodiment of the present invention, and it should be noted that, for those skilled in the art, various modifications and decorations can be made without departing from the principle of the present invention, and these modifications and decorations should also be regarded as the protection scope of the present invention.

Claims (9)

1. A processing method of motion trail video is characterized by comprising the following steps:
in the process of movement of a target sporter, acquiring characteristic information of other sporters, wherein the characteristic information comprises: attribute information of the other players, motion information of the other players, relative positions of the other players with respect to the target player;
generating a motion state of the target sporter and a preset audio corresponding to the characteristic information;
adding the preset audio into the motion track video of the target sporter to obtain a target motion track video;
wherein, while adding the predetermined audio to the motion trail video of the target sporter, further comprising: adding the characteristic information into the motion trail video;
wherein the generating of the motion state of the target sporter and the predetermined audio corresponding to the feature information comprises:
determining the number of other players and the music style selected by the target player;
determining the types of the musical instruments corresponding to the music styles according to the number of the other sporters;
and selecting a music segment according to the type of the musical instrument, and generating the motion state of the target sporter and a preset audio corresponding to the characteristic information according to the music segment.
2. The method according to claim 1, wherein before acquiring the feature information of other players during the movement of the target player, the method further comprises:
and acquiring authorization information, wherein the authorization information is used for indicating that the feature information is allowed to be pushed, reporting the current position information of the target sporter is allowed, and pushing the feature information according to the current position information.
3. The method of claim 1, wherein obtaining the characteristic information of the other players comprises at least one of:
acquiring the characteristic information in a server-side pushing mode;
and acquiring the characteristic information in a Bluetooth detection mode.
4. The method according to any one of claims 1 to 3, wherein the other players are selected from a plurality of players in a target area where the target player is located according to the current location information of the target player.
5. The method according to any one of claims 1 to 3, further comprising, after adding the predetermined audio to the motion trail video of the target sporter, obtaining a target motion trail video: and playing the target motion track video.
6. The method according to any one of claims 1 to 3, wherein after adding the predetermined audio to the target sporter's motion trail video, obtaining a target motion trail video, further comprising at least one of:
saving the target motion track video;
and sharing the target motion track video to a preset platform.
7. A motion trajectory video processing apparatus, comprising:
the first acquisition unit is used for acquiring characteristic information of other sporters in the movement process of a target sporter, wherein the characteristic information comprises: attribute information of the other players, motion information of the other players, relative positions of the other players with respect to the target player;
the generating unit is used for generating the motion state of the target sporter and the preset audio corresponding to the characteristic information;
the second acquisition unit is used for adding the preset audio into the motion track video of the target sporter to obtain a target motion track video;
wherein, the processing device of the motion trail video further comprises: an adding unit configured to add the feature information to a motion trail video of the target sporter while adding the predetermined audio to the motion trail video;
wherein the generating unit includes: a first determining module for determining the number of the other players and the music style selected by the target player; the second determining module is used for determining the types of the musical instruments corresponding to the music styles according to the number of the other sporters; and the generating module is used for selecting a music segment according to the type of the musical instrument and generating the motion state of the target sporter and the preset audio corresponding to the characteristic information according to the music segment.
8. A storage medium characterized by comprising a stored program, wherein the program executes the method of processing a motion trajectory video according to any one of claims 1 to 6.
9. A processor, characterized in that the processor is configured to execute a program, wherein the program executes the method for processing the motion trail video according to any one of claims 1 to 6.
CN201910208857.5A 2019-03-19 2019-03-19 Method and device for processing motion trail video Active CN110071862B (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN201910208857.5A CN110071862B (en) 2019-03-19 2019-03-19 Method and device for processing motion trail video

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN201910208857.5A CN110071862B (en) 2019-03-19 2019-03-19 Method and device for processing motion trail video

Publications (2)

Publication Number Publication Date
CN110071862A CN110071862A (en) 2019-07-30
CN110071862B true CN110071862B (en) 2022-02-22

Family

ID=67366401

Family Applications (1)

Application Number Title Priority Date Filing Date
CN201910208857.5A Active CN110071862B (en) 2019-03-19 2019-03-19 Method and device for processing motion trail video

Country Status (1)

Country Link
CN (1) CN110071862B (en)

Families Citing this family (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN112911363B (en) * 2021-01-15 2023-04-25 深圳市爱都科技有限公司 Track video generation method, terminal device and computer readable storage medium

Citations (3)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN105761321A (en) * 2016-02-02 2016-07-13 广州恒康伟业教育科技有限公司 Anti-cheating device for middle-distance race match and assessment
CN109304024A (en) * 2018-09-21 2019-02-05 北京卡路里信息技术有限公司 Generation method, device, storage medium and the processor of sport video
CN109359203A (en) * 2018-09-21 2019-02-19 北京卡路里信息技术有限公司 The processing method and processing device of motion profile video

Family Cites Families (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
US9700781B2 (en) * 2015-06-26 2017-07-11 Lawrence Maxwell Monari Sports entertainment tracking system for mobile sports spectators

Patent Citations (3)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN105761321A (en) * 2016-02-02 2016-07-13 广州恒康伟业教育科技有限公司 Anti-cheating device for middle-distance race match and assessment
CN109304024A (en) * 2018-09-21 2019-02-05 北京卡路里信息技术有限公司 Generation method, device, storage medium and the processor of sport video
CN109359203A (en) * 2018-09-21 2019-02-19 北京卡路里信息技术有限公司 The processing method and processing device of motion profile video

Also Published As

Publication number Publication date
CN110071862A (en) 2019-07-30

Similar Documents

Publication Publication Date Title
RU2390056C2 (en) Sound player, method of playing back sound
US10353952B2 (en) Performance metadata for media
KR20080085863A (en) Content reproduction device, content reproduction method, and program
US10055413B2 (en) Identifying media content
WO2007081048A1 (en) Contents reproducing device, contents reproducing method, and program
US8907191B2 (en) Music application systems and methods
CN107079138A (en) The storage with the motion video of spectators' label data and editor using sensor and participant
WO2016191461A1 (en) Music streaming for athletic activities
US10372757B2 (en) Search media content based upon tempo
CN110071862B (en) Method and device for processing motion trail video
RU2402366C2 (en) Audio playback device, audio playback method
JP2006239397A5 (en)
CN110086849B (en) Data processing method, device and system in motion process
US11689692B2 (en) Looping presentation of video content
CA2725722A1 (en) Method and system for incorporating music into a video game using game parameters
JP2007156280A (en) Sound reproduction device, sound reproduction method, and sound reproduction program
JP6197096B1 (en) TERMINAL DEVICE, TERMINAL DEVICE PERFORMANCE EXECUTION METHOD, PERFORMANCE EXECUTION PROGRAM, AND PERFORMANCE EXECUTION PROGRAM RECORDING MEDIUM
JP2016208422A (en) Training implementation situation discrimination method, server device and training implementation situation discrimination system
WO2017023717A1 (en) Utilizing athletic activities to augment audible compositions
JP5949824B2 (en) Information processing apparatus and program
JP7084069B1 (en) Video generation system, computer program and control method
JP2010284473A (en) Game player evaluation system
JP2007200432A (en) Device and method for creating playlist, device and method for reproducing contents, server, and information processor
Kwon et al. Artifact mixtape: curating music in personal tangible artifacts
Marshall et al. A realistic distributed interactive application testbed for static and dynamic entity state data acquisition

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