CN106231395B - Play control method, media player and computer readable storage medium - Google Patents

Play control method, media player and computer readable storage medium Download PDF

Info

Publication number
CN106231395B
CN106231395B CN201610605447.0A CN201610605447A CN106231395B CN 106231395 B CN106231395 B CN 106231395B CN 201610605447 A CN201610605447 A CN 201610605447A CN 106231395 B CN106231395 B CN 106231395B
Authority
CN
China
Prior art keywords
media data
data
media
played
processing
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
CN201610605447.0A
Other languages
Chinese (zh)
Other versions
CN106231395A (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 Shenzhen Co Ltd
Original Assignee
Tencent Technology Shenzhen 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 Shenzhen Co Ltd filed Critical Tencent Technology Shenzhen Co Ltd
Priority to CN201610605447.0A priority Critical patent/CN106231395B/en
Publication of CN106231395A publication Critical patent/CN106231395A/en
Application granted granted Critical
Publication of CN106231395B publication Critical patent/CN106231395B/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/41Structure of client; Structure of client peripherals
    • H04N21/426Internal components of the client ; Characteristics thereof
    • H04N21/42607Internal components of the client ; Characteristics thereof for processing the incoming bitstream
    • 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/432Content retrieval operation from a local storage medium, e.g. hard-disk
    • H04N21/4325Content retrieval operation from a local storage medium, e.g. hard-disk by playing back content from the storage medium
    • 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/433Content storage operation, e.g. storage operation in response to a pause request, caching operations
    • H04N21/4331Caching operations, e.g. of an advertisement for later insertion during playback

Landscapes

  • Engineering & Computer Science (AREA)
  • Multimedia (AREA)
  • Signal Processing (AREA)
  • Databases & Information Systems (AREA)
  • Signal Processing For Digital Recording And Reproducing (AREA)

Abstract

The application discloses a play control method and a media player. The method comprises the following steps: when the media player is ready to switch to a playing effect, copying the media data to be played written into the buffer area to obtain first media data; determining media data which are not played in the first media data according to a preset delay length; processing the media data which are not played according to the playing effect to obtain processed second media data; and writing the second media data into the buffer area and playing. By using the technical scheme, the playing time delay during the switching of the playing effect can be reduced, and the resource utilization rate of the media player is improved.

Description

Play control method, media player and computer readable storage medium
Technical Field
The present application relates to the field of media playing technologies, and in particular, to a playing control method and a media player.
Background
In order to meet the media playing requirements of users, various media players can be installed on user terminals for playing media files such as audio, video, etc.
In the playing process, the media player reads the media data from the buffer area for playing. Typically, no changes are made to media data that has been stored in the buffer. When the playing effect of the media data to be played needs to be switched, the media data in the buffer area cannot be processed. For example, the duration of playing the media data in the buffer is 1 second, and when the playing effect is switched, it is necessary to wait for the duration of about 1 second to finish playing the data in the buffer before switching to the desired playing effect. Therefore, the resource utilization rate of the media player is reduced, and the user experience is greatly influenced.
Disclosure of Invention
The invention provides a playing control method and a media player, which can reduce the playing time delay when the playing effect is switched and improve the resource utilization rate of the media player.
The technical scheme of the invention is realized as follows:
the invention provides a play control method, which comprises the following steps:
when the media player is ready to switch to a playing effect, copying the media data to be played written into the buffer area to obtain first media data;
determining the media data which are not played in the first media data according to a preset delay length;
processing the media data which are not played according to the playing effect to obtain processed second media data; and a process for the preparation of a coating,
and writing the second media data into the buffer area and playing.
The present invention also provides a media player comprising: the copying module is used for copying the media data to be played written into the buffer area to obtain first media data when the media player is ready to switch to a playing effect;
the data processing module is used for determining the media data which are not played in the first media data obtained by the copying module according to the preset delay length; processing the media data which are not played according to the playing effect to obtain processed second media data; and a process for the preparation of a coating,
and the playing module is used for writing the second media data obtained by the data processing module into the buffer area and playing the second media data.
The playing control method provided by the invention can reduce the playing time delay caused by the media data in the playing buffer area, can quickly play the media data with new playing effect when the playing effect is switched, and improves the resource utilization rate of the media player.
Drawings
Fig. 1 is a flowchart illustrating a playback control method according to an embodiment of the invention;
FIG. 2 is a diagram illustrating a second media data processing according to an embodiment of the invention;
FIG. 3 is a flowchart illustrating a playback control method according to another embodiment of the present invention;
FIG. 4a is a diagram illustrating operations for compensating processing delay according to an embodiment of the present invention;
FIG. 4b is a diagram illustrating a second media data processing according to an embodiment of the invention;
FIG. 5 is a flowchart illustrating a playback control method according to another embodiment of the present invention;
FIG. 6a is a diagram illustrating an operation of performing a tapering process according to an embodiment of the present invention;
FIG. 6b is a diagram illustrating a process of second media data according to an embodiment of the invention;
FIG. 7 is a diagram illustrating a structure of a media player according to an embodiment of the invention;
fig. 8 is a schematic structural diagram of a media player according to another embodiment of the invention.
Detailed Description
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 some, not all, embodiments of the present invention. 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.
Fig. 1 is a flowchart illustrating a playback control method according to an embodiment of the present invention. Referring to fig. 1, the method includes:
step 101, when the media player is ready to switch to a playing effect, copying the media data to be played written in the buffer area to obtain first media data.
When the media player plays the media data, the media data to be played is firstly cached in the buffer area by calling an Application Programming Interface (API) of the operating system. When the media player is ready to switch to a new playing effect, since the media data stored in the buffer area cannot be processed, in this step, the media data to be played written in the buffer area is copied to obtain the first media data.
Step 102, determining the media data which is not played in the first media data according to the preset delay length.
Considering that the playing process of the media player is continuous, the media player continues to read the media data of the buffer for continuous playing during the copying in step 101 and the processing in this step. In which, for the played media data, the new playing effect cannot be processed. Therefore, in this step, a delay length T0 is preset, which includes all the played media data in T0, and the media data that has not been played after T0.
Fig. 2 is a schematic diagram illustrating processing of second media data according to an embodiment of the invention. In fig. 2, the first media data copied from the buffer is D1, and the length of D1 is the total length Tb of the buffer. Tp is the length of the media data that has been played out, and the delay length T0 is set to be greater than Tp in consideration of the deviation of the estimated value of Tp. Generally, the value of T0-Tp is related to the value of Tb, and is within a range of milliseconds or tens of milliseconds. The media data starting from T0 in D1 is the media data that has not been played yet, the total length is Tb-T0, and the second media data D2 is obtained after the playing effect is processed.
And 103, processing the media data which is not played yet according to the playing effect to obtain processed second media data.
In the present application, the processing of playing effect to the media data includes various sound effect processing methods. For example, audio of media data that has not yet been played is subjected to digital signal processing, or other audio data is superimposed on the media data that has not yet been played, to obtain various sound effects. When the media data is video data, the audio data is extracted for sound effect processing.
And 104, writing the second media data into a buffer zone and playing.
And after the processing of the playing effect is finished, writing the second media data into the buffer area, and calling a system function to read the media data in the buffer area for playing. Referring to FIG. 2, the overall length of the second media data D2 is Tb-T0. When writing the second media data to the buffer, the start position is T0+ 1. At this time, the starting position is searched and located in the buffer area through a Search (SEEK) function, and the buffer area data which is played completely and cannot be processed any more can be directly skipped. Then, the media player sequentially reads the media data in the buffer area for playing, and when the media data after T0+1 is read, a new playing effect will be presented.
In this embodiment, when the media player is ready to switch to a playing effect, the media data to be played written in the buffer area is copied to obtain first media data; determining media data which are not played in the first media data according to a preset delay length; processing the media data which are not played according to the playing effect to obtain processed second media data; writing the second media data into the buffer area and playing, so that when the audio switching is performed, new audio processing can be performed on a part of the media data in the buffer area, thereby reducing the playing delay caused by the media data in the playing buffer area, and all the media data in the buffer area which needs to be played in the prior art needs to be played, which usually needs about 1s, namely the media data is switched to a new playing effect after waiting for about 1s of duration.
Considering that a certain processing delay is brought when the media data which is not played is processed with the playing effect, the second media data is represented by that a part of the data at the beginning is mute data and a part of the media data with the same length is lacked at the end. Such processing delays can introduce delayed noise, reflected in sound as, for example, a "click". To compensate for the processing delay, fig. 3 is a flowchart illustrating a playback control method according to another embodiment of the present invention. Referring to fig. 3, the method includes:
step 301, when the media player is ready to switch to a playing effect, copying the media data to be played written in the buffer area to obtain the first media data.
Step 301 is the same as step 101, and will not be described herein again.
Steps 302 and 303 described below provide an operational method for compensating for processing delays. In particular, the amount of the solvent to be used,
step 302, determining the media data not yet played in the first media data according to the preset delay length, and adding mute data with the preset first data length after the media data not yet played to obtain third media data.
Fig. 4a is a diagram illustrating operations of compensating for processing delay according to an embodiment of the present invention. In fig. 4a, the mute data 401 of the first data length T1 is added after the not yet played media data, and the two are combined to obtain the third media data D3 to be processed.
Step 303, processing the third media data according to the playing effect to obtain fourth media data, and taking out the media data after the first data length in the fourth media data to obtain second media data.
For the data processing module in the media player, when the third media data is input, the data of the fourth media data output which is long by the first T1 will be mute data. Therefore, in this step, the media data after the first data length in the fourth media data is taken out as the second media data.
FIG. 4b is a diagram illustrating a process of second media data according to an embodiment of the invention. As shown in fig. 4b, the data of the fourth media data D4 that is the first T1 long data is the mute data 402, and the subsequent media data is the media data processed by the play effect, and the extracted data is the second media data D2.
And step 304, writing the second media data into the buffer area and playing.
At the time of writing, the start position of the media data not yet played in the buffer is determined, and then the second media data is written into the buffer from the start position.
In view of fig. 4a and 4b, the mute data 401 with a length of T1 is added before the compensation processing time delay, and the mute data 402 with a length of T1 is removed after the processing, so that the total length of the media data before and after the compensation and the second media data D2 are the same, and are Tb-T0. Therefore, when writing to the buffer, the starting position of D2 in the buffer is T0+ 1. At this point, the start position is located by a SEEK (SEEK) function in the buffer, starting from which the second media data is written into the buffer.
In this embodiment, when the media player is ready to switch to a playing effect, the media data to be played written in the buffer area is copied to obtain first media data; determining media data which are not played in the first media data according to a preset delay length, and adding mute data with a preset first data length after the media data which are not played to obtain third media data; processing the third media data according to the playing effect to obtain fourth media data, and taking out the media data with the length of the first data in the fourth media data to obtain second media data; and writing the second media data into a buffer zone and playing the second media data, wherein the whole processing process takes two time delays into consideration: the playing time delay caused by reading the data in the buffer area and the processing time delay caused by the data processing process are read, the technical scheme of the embodiment can reduce the playing time delay and compensate the processing time delay, not only part of mute data at the beginning of sound effect switching is removed, but also missing tail end data is complemented, and a frame missing effect caused by sound effect switching to no sound effect is prevented, so that the reduction of the whole time delay during the sound effect switching is effectively ensured, the speed of switching to a new sound effect is further improved, and the use experience of a user and the resource utilization rate of a media player are improved.
Further, considering that, when the audio effect is switched, the abrupt change of the audio effect before and after the switching causes inconvenience when the user listens, for example, the sudden appearance or disappearance of the sound may be very abrupt, and therefore, the media data before and after the switching may be subjected to the fade-in and fade-out processing. Fig. 5 is a flowchart illustrating a playback control method according to another embodiment of the invention. Referring to fig. 5, the method includes:
step 501, when the media player is ready to switch to a playing effect, copying the media data to be played written in the buffer area to obtain the first media data.
Step 502, determining the media data not yet played in the first media data according to the preset delay length, and adding mute data with the preset first data length after the media data not yet played to obtain third media data.
Steps 501 to 502 are the same as steps 301 to 302, respectively, and are not described again.
Step 503, processing the third media data according to the playing effect to obtain fourth media data.
Step 504, determining media data with a preset second data length from the media data which are not played in the first media data to the front, and performing first gradient processing to obtain fifth media data.
Here, the first fade processing is fade processing for performing fade processing on the media data before switching to a new playback effect. The digital signal processing method related to the first gradation processing includes linear processing, logarithmic processing, cosine processing, and the like. For example, the fade-out gradation process is to gradually decrease the intensity of sound from strong to weak.
Referring to fig. 2, the first media data is D1, the media data not yet played is the second media data D2 before processing, and the preset second data length is T2. It is determined from D2 onward in D1 that media data having a length of T2 is subjected to fade-out processing, i.e., media data between [ T0-T2+1, T2] is subjected to fade-out processing, and the processed data is taken as fifth media data D5. Typically, the value of T2 is a few milliseconds, and the value of T0-Tp-T2 is related to the value of Tb, and is within a few milliseconds or a few tens of milliseconds.
Step 505, the media data after the first data length in the fourth media data are taken out to obtain sixth media data, and the media data with the preset third data length is determined from the beginning in the sixth media data and the second gradual change processing is performed.
FIG. 6a is a diagram illustrating an operation of performing a tapering process according to an embodiment of the invention. On the basis of fig. 4b, as shown in fig. 6a, media data having a third data length T3 is determined in the sixth media data D6, and the second fade processing performed may be fade-in processing. For example, the fade-in process gradually increases the intensity of the sound from weak to strong. Typically the value of T3 is a few milliseconds.
Step 506, the fifth media data and the processed sixth media data are spliced to obtain second media data, and the second media data is written into the buffer area and played.
Fig. 6b is a schematic diagram illustrating the processing of second media data according to an embodiment of the present invention, wherein the media data length of the fade-out process and the fade-in process is the same, i.e., T2 is T3. And splicing the fifth media data D5 and the processed sixth media data D6, namely, connecting the fifth media data D5 and the processed sixth media data D6 end to obtain second media data D2. As described above with reference to step 304, the total length of the sixth media data D6 is Tb-T0, and the total length of the second media data D2 is Tb-T0+ T2.
When writing the buffer area, determining the starting position of the fifth media data in the buffer area, and writing the second media data into the buffer area from the starting position.
Referring to the description of step 504 above, the starting position of the fifth media data in the buffer is T0-T2+1, then when D2 is written into the buffer, the starting position of D2 in the buffer is also T0-T2+ 1. At this point, the start position is located by a SEEK (SEEK) function in the buffer, starting from which the second media data is written into the buffer.
In this embodiment, the media data with the preset second data length is determined forward from the media data which is not yet played in the first media data, and the first gradual change processing is performed, the media data after the first data length in the fourth media data is taken out to obtain sixth media data, the media data with the preset third data length is determined from the beginning in the sixth media data, and the second gradual change processing is performed, and further the gradual change processing of fade-out and fade-in is performed on the media data before and after the sound effect switching, so that the listening effect during the sound effect switching is further improved, and the use experience of a user is improved.
In the present invention, the media player may be an independent media playing device based on an operating system, or may be located in any electronic device based on an operating system with a media playing function, including but not limited to a desktop computer, a smart phone, a palm computer, a tablet computer, a smart phone, and the like.
Fig. 7 is a schematic structural diagram of a media player according to an embodiment of the invention. As shown in fig. 7, the media player 700 includes:
the copying module 710 is configured to copy media data to be played written in a buffer area to obtain first media data when the media player is ready to switch to a playing effect;
a data processing module 720, configured to determine, according to a preset delay length, media data that has not been played in the first media data obtained by the copying module 710; processing the media data which are not played according to the playing effect to obtain processed second media data; and a process for the preparation of a coating,
the playing module 730 is configured to write the second media data obtained by the data processing module 720 into the buffer and play the second media data.
In an embodiment, the data processing module 720 is configured to add mute data with a preset first data length after the media data that has not been played, to obtain third media data; processing the third media data according to the playing effect to obtain fourth media data; and taking out the media data with the first data length in the fourth media data to obtain second media data.
In one embodiment, the playing module 730 is configured to determine a starting position of media data that has not been played in the buffer; the second media data is written to the buffer starting from the start position.
In an embodiment, the data processing module 720 is further configured to determine, from the media data that has not been played, media data with a preset second data length in the first media data and perform a first fading process to obtain fifth media data;
the data processing module 720 is configured to take out data after the first data length in the fourth media data as sixth media data; and determining media data with a preset third data length from the beginning in the sixth media data, performing second gradient processing, and splicing the fifth media data and the processed sixth media data to obtain second media data.
In one embodiment, the playing module 730 is configured to determine a starting position of the fifth media data in the buffer; the second media data is written to the buffer starting from the start position.
In one embodiment, the data processing module 720 is used to perform digital signal processing on the audio of the media data that has not been played, or to superimpose other audio data on the media data that has not been played.
Fig. 8 is a schematic structural diagram of a media player according to another embodiment of the invention. The media player 800 includes: a processor 810, a memory 820, a port 830, and a bus 840. The processor 810 and the memory 820 are interconnected by a bus 840. Processor 810 may receive and transmit data through port 830. Wherein the content of the first and second substances,
processor 810 is configured to execute modules of machine-readable instructions stored by memory 820.
Memory 820 stores modules of machine-readable instructions executable by processor 810. The processor 810 may execute modules of instructions including: a copy module 821, a data processing module 822, and a play module 823. Wherein the content of the first and second substances,
copy module 821, when executed by processor 810, may be to: when the media player is ready to switch to a playing effect, copying the media data to be played written into the buffer area to obtain first media data;
data processing module 822 when executed by processor 810 may be: determining the media data which is not played in the first media data obtained by the copying module 821 according to the preset delay length; processing the media data which are not played according to the playing effect to obtain processed second media data;
the play module 823, when executed by the processor 810, may be: and writing the second media data obtained by the data processing module 822 into a buffer and playing the second media data.
It can thus be seen that the various functions of the copy module, data processing module, and play module in the various embodiments described above may be implemented by modules of instructions stored in memory 820 when executed by processor 810.
In the above device embodiment, the specific method for each module and unit to implement its own function is described in the method embodiment, and is not described herein again.
In addition, functional modules in the embodiments of the present invention may be integrated into one processing unit, or each module may exist alone physically, or two or more modules 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.
In addition, each of the embodiments of the present invention can be realized by a data processing program executed by a data processing apparatus such as a computer. It is clear that the data processing program constitutes the invention. Further, the data processing program, which is generally stored in one storage medium, is executed by directly reading the program out of the storage medium or by installing or copying the program into a storage device (such as a hard disk and/or a memory) of the data processing device. Such a storage medium therefore also constitutes the present invention. The storage medium may use any type of recording means, such as a paper storage medium (e.g., paper tape, etc.), a magnetic storage medium (e.g., a flexible disk, a hard disk, a flash memory, etc.), an optical storage medium (e.g., a CD-ROM, etc.), a magneto-optical storage medium (e.g., an MO, etc.), and the like.
The invention therefore also discloses a storage medium in which a data processing program is stored which is designed to carry out any one of the embodiments of the method according to the invention described above.
The above description is only for the purpose of illustrating the preferred embodiments of the present invention and is not to be construed as limiting the invention, and any modifications, equivalents, improvements and the like made within the spirit and principle of the present invention should be included in the scope of the present invention.

Claims (14)

1. A playback control method, comprising:
when the media player is ready to switch to a playing effect, copying the media data to be played written into the buffer area to obtain first media data;
determining the media data which are not played in the first media data according to a preset delay length;
processing the media data which are not played according to the playing effect to obtain processed second media data, and determining the initial position of the second media data in the buffer area according to the processing process; and a process for the preparation of a coating,
and writing the second media data into the buffer zone from the starting position and playing.
2. The method of claim 1, wherein the processing the media data that has not been played according to the playing effect to obtain processed second media data comprises:
adding mute data with a preset first data length after the media data which are not played to obtain third media data;
processing the third media data according to the playing effect to obtain fourth media data;
and taking out the media data with the length of the first data in the fourth media data to obtain the second media data.
3. The method of claim 2, wherein said determining a starting position of the second media data in the buffer according to a process comprises:
determining the starting position of the media data which is not played in the buffer area as the starting position of the second media data in the buffer area.
4. The method of claim 1, further comprising:
determining media data with a preset second data length from the media data which are not played in the first media data to the front, and performing first gradual change processing to obtain fifth media data;
wherein, the processing the media data which is not played yet according to the playing effect to obtain the processed second media data comprises:
adding mute data with a preset first data length after the media data which are not played to obtain third media data; processing the third media data according to the playing effect to obtain fourth media data; taking out data with the length after the first data length in the fourth media data as sixth media data;
and determining media data with a preset third data length from the beginning in the sixth media data, performing second gradient processing, and splicing the fifth media data and the processed sixth media data to obtain the second media data.
5. The method of claim 4, wherein said determining a starting position of the second media data in the buffer according to a process comprises:
determining a starting position of the fifth media data in the buffer area as a starting position of the second media data in the buffer area.
6. The method according to any one of claims 1-5, wherein the processing the not-yet-played media data according to the play effect comprises: and carrying out digital signal processing on the audio of the media data which are not played yet, or superposing other audio data on the media data which are not played yet.
7. A media player, comprising:
the copying module is used for copying the media data to be played written into the buffer area to obtain first media data when the media player is ready to switch to a playing effect;
the data processing module is used for determining the media data which are not played in the first media data obtained by the copying module according to the preset delay length; processing the media data which are not played according to the playing effect to obtain processed second media data, and determining the initial position of the second media data in the buffer area according to the processing process; and a process for the preparation of a coating,
and the playing module is used for writing the second media data obtained by the data processing module into the buffer area from the initial position and playing the second media data.
8. The media player according to claim 7, wherein the data processing module is configured to add mute data with a preset first data length after the media data that has not been played, so as to obtain third media data; processing the third media data according to the playing effect to obtain fourth media data; and taking out the media data with the length of the first data in the fourth media data to obtain the second media data.
9. The media player of claim 8, wherein the playing module is configured to determine a starting position of the not-yet-played media data in the buffer area as a starting position of the second media data in the buffer area.
10. The media player according to claim 7, wherein the data processing module is further configured to determine, in the first media data, media data with a preset second data length from the media data that has not yet been played forward, and perform a first fade process to obtain fifth media data;
the data processing module is used for adding mute data with a preset first data length after the media data which are not played to obtain third media data; processing the third media data according to the playing effect to obtain fourth media data; taking out data with the length after the first data length in the fourth media data as sixth media data; and determining media data with a preset third data length from the beginning in the sixth media data, performing second gradient processing, and splicing the fifth media data and the processed sixth media data to obtain the second media data.
11. The media player of claim 10, wherein the playing module is configured to determine a starting position of the fifth media data in the buffer as a starting position of the second media data in the buffer.
12. The media player according to any of claims 7-11, wherein the data processing module is configured to perform digital signal processing on the audio of the not yet played media data or to superimpose other audio data on top of the not yet played media data.
13. A media player comprising a memory and a processor, the memory having stored therein computer-readable instructions operable to cause the processor to perform the method of any one of claims 1 to 6.
14. A computer-readable storage medium having stored thereon computer-readable instructions for causing at least one processor to perform the method of any one of claims 1 to 6.
CN201610605447.0A 2016-07-28 2016-07-28 Play control method, media player and computer readable storage medium Active CN106231395B (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN201610605447.0A CN106231395B (en) 2016-07-28 2016-07-28 Play control method, media player and computer readable storage medium

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN201610605447.0A CN106231395B (en) 2016-07-28 2016-07-28 Play control method, media player and computer readable storage medium

Publications (2)

Publication Number Publication Date
CN106231395A CN106231395A (en) 2016-12-14
CN106231395B true CN106231395B (en) 2020-03-17

Family

ID=57534701

Family Applications (1)

Application Number Title Priority Date Filing Date
CN201610605447.0A Active CN106231395B (en) 2016-07-28 2016-07-28 Play control method, media player and computer readable storage medium

Country Status (1)

Country Link
CN (1) CN106231395B (en)

Families Citing this family (2)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN109002361B (en) * 2017-06-07 2022-06-03 阿里巴巴集团控股有限公司 Data processing method, distribution method, electronic device, client and storage medium
CN107358969A (en) * 2017-07-19 2017-11-17 无锡冰河计算机科技发展有限公司 One kind recording fusion method

Citations (5)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
EP0562221A1 (en) * 1992-03-27 1993-09-29 ALCATEL BELL Naamloze Vennootschap Video decoder
CN101764816A (en) * 2009-12-25 2010-06-30 杭州华三通信技术有限公司 Data transmission method and device
CN102547435A (en) * 2011-12-16 2012-07-04 Tcl集团股份有限公司 System and method for playing and processing multimedia file
EP2813087A1 (en) * 2012-02-07 2014-12-17 Hirschmann Car Communication GmbH Method for quickly switching between alternative transmission paths
CN105635797A (en) * 2015-12-25 2016-06-01 深圳市路通网络技术有限公司 Video playing control method, middleware and system

Patent Citations (5)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
EP0562221A1 (en) * 1992-03-27 1993-09-29 ALCATEL BELL Naamloze Vennootschap Video decoder
CN101764816A (en) * 2009-12-25 2010-06-30 杭州华三通信技术有限公司 Data transmission method and device
CN102547435A (en) * 2011-12-16 2012-07-04 Tcl集团股份有限公司 System and method for playing and processing multimedia file
EP2813087A1 (en) * 2012-02-07 2014-12-17 Hirschmann Car Communication GmbH Method for quickly switching between alternative transmission paths
CN105635797A (en) * 2015-12-25 2016-06-01 深圳市路通网络技术有限公司 Video playing control method, middleware and system

Also Published As

Publication number Publication date
CN106231395A (en) 2016-12-14

Similar Documents

Publication Publication Date Title
US20180286459A1 (en) Audio processing
WO2018149176A1 (en) Method and apparatus for automatically recording video, and terminal
US5732256A (en) CD-ROM optimization and stream splitting
CN111177453B (en) Method, apparatus, device and computer readable storage medium for controlling audio playing
CN102543119A (en) Scene-based music playing processing method and music playing device
WO2017092329A1 (en) Method and apparatus for playing streaming media
US11587560B2 (en) Voice interaction method, device, apparatus and server
KR102458962B1 (en) Method and apparatus for controlling audio signal for applying audio zooming effect in virtual reality
CN105448312A (en) Audio synchronous play method, device and system
US11205431B2 (en) Method, apparatus and device for presenting state of voice interaction device, and storage medium
CN104967901A (en) Audio track switching method in multimedia playing and multimedia playing device
WO2019033921A1 (en) Method and apparatus for adjusting volume, terminal device and storage medium
CN106231395B (en) Play control method, media player and computer readable storage medium
JP3393740B2 (en) Surround sound system and method
EP4304187A1 (en) Application video processing method, and electronic device
WO2017121304A1 (en) Audio data processing method and terminal
US20160216934A1 (en) Skip of a portion of audio
WO2016171900A1 (en) Gapless media generation
CN110704015B (en) Speed regulation method for audio playing, storage medium and electronic equipment
CN111435600A (en) Method and apparatus for processing audio
JP2022095689A (en) Voice data noise reduction method, device, equipment, storage medium, and program
JP2022095689A5 (en)
TW200603079A (en) Data processor and data processing method, program and program recording medium, and data recording medium
CN115248657A (en) Audio processing method, device and computer readable storage medium
WO2023045730A1 (en) Audio/video processing method and apparatus, device, and storage medium

Legal Events

Date Code Title Description
C06 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