CN102244825A - Multimedia stream playing method and device - Google Patents

Multimedia stream playing method and device Download PDF

Info

Publication number
CN102244825A
CN102244825A CN2011101556124A CN201110155612A CN102244825A CN 102244825 A CN102244825 A CN 102244825A CN 2011101556124 A CN2011101556124 A CN 2011101556124A CN 201110155612 A CN201110155612 A CN 201110155612A CN 102244825 A CN102244825 A CN 102244825A
Authority
CN
China
Prior art keywords
medium data
loses
detection module
lose
stream
Prior art date
Legal status (The legal status is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the status listed.)
Pending
Application number
CN2011101556124A
Other languages
Chinese (zh)
Inventor
梁宪
Current Assignee (The listed assignees may be inaccurate. Google has not performed a legal analysis and makes no representation or warranty as to the accuracy of the list.)
ZTE Corp
Original Assignee
ZTE Corp
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 ZTE Corp filed Critical ZTE Corp
Priority to CN2011101556124A priority Critical patent/CN102244825A/en
Publication of CN102244825A publication Critical patent/CN102244825A/en
Priority to PCT/CN2012/072793 priority patent/WO2012167646A1/en
Pending legal-status Critical Current

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/60Network structure or processes for video distribution between server and client or between remote clients; Control signalling between clients, server and network components; Transmission of management data between server and client, e.g. sending from server to client commands for recording incoming content stream; Communication details between server and client 
    • H04N21/63Control signaling related to video distribution between client, server and network components; Network processes for video distribution between server and clients or between remote clients, e.g. transmitting basic layer and enhancement layers over different transmission paths, setting up a peer-to-peer communication via Internet between remote STB's; Communication protocols; Addressing
    • H04N21/647Control signaling between network components and server or clients; Network processes for video distribution between server and clients, e.g. controlling the quality of the video stream, by dropping packets, protecting content from unauthorised alteration within the network, monitoring of network load, bridging between two different networks, e.g. between IP and wireless
    • 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/439Processing of audio elementary streams
    • H04N21/4396Processing of audio elementary streams by muting the audio signal

Landscapes

  • Engineering & Computer Science (AREA)
  • Multimedia (AREA)
  • Signal Processing (AREA)
  • Computer Networks & Wireless Communication (AREA)
  • Computer Security & Cryptography (AREA)
  • Signal Processing For Digital Recording And Reproducing (AREA)
  • Two-Way Televisions, Distribution Of Moving Picture Or The Like (AREA)

Abstract

The invention provides a multimedia stream playing method and device. The method comprises the step that: in a process of playing a multimedia stream, if loss of multimedia stream data is detected, mute operation is instantly executed. Decoded sound output cannot generate squeal due to the fact that the sound is not output by adopting a mute method when the multimedia data is lost, so that the user experience is improved.

Description

A kind of player method of media stream and device
Technical field
The present invention relates to the player method in the decode system, characteristics relate to a kind of player method and device of media stream.
 
Background technology
In recent years, multimedia technology is widely used, and various software and hardware multimedia players are extensively used by people, and people also more and more use multimedia file on network, as see a film, listen song etc. on network.Present Internet(internet) because the influence of factors such as the network bandwidth, distance inevitably can produce problems such as packet loss, under the situation of voice data disappearance, player can produce and utter long and high-pitched sounds, and influences user's experience.
Summary of the invention
The technical problem to be solved in the present invention provides a kind of player method and device of media stream, to avoid the producing problem of uttering long and high-pitched sounds when multi-medium data is lost.
In order to solve the problems of the technologies described above, the invention provides a kind of player method of media stream, this method comprises:
In the process of play multimedia stream,, then carry out quiet operation immediately if detecting multi-medium data loses.
Further, said method also has following characteristics: described detecting after multi-medium data loses also comprises:
Do not lose if multi-medium data takes place in the given time in detection, then continue to play described media stream.
Further, said method also has following characteristics: the step that described detection multi-medium data is lost is specially:
Whether detect multi-medium data according to the packing form of multi-medium data loses.
Further, said method also has following characteristics: the packing form of described multi-medium data comprises transport stream format, then detects the step whether multi-medium data lose according to the packing form of multi-medium data and comprises:
Whether the value of the continuous counter field of detected transmission stream bag is continuous, if discontinuous, judges that then multi-medium data loses.
Further, said method also has following characteristics: the packing form of described multi-medium data comprises: one or more in transport stream format, video file format and the Audio Video Interleaved form.
In order to address the above problem, the present invention also provides a kind of playing device of media stream, comprising:
Whether detection module is used for the process at play multimedia stream, detect multi-medium data and lose;
Playing module is used for detecting under the situation that multi-medium data loses at described detection module, carries out quiet operation immediately.
Further, above-mentioned playing device also has following characteristics:
Described detection module also is used for after losing detecting multi-medium data, detects whether multi-medium data takes place in the given time to lose;
Described playing module also is used for detecting at described detection module and does not take place in the given time to continue to play described media stream under the situation that multi-medium data loses.
Further, above-mentioned playing device also has following characteristics:
Whether described detection module specifically is used for packing form according to multi-medium data and detects multi-medium data and lose.
Further, above-mentioned playing device also has following characteristics:
Described detection module specifically is used for when the packing form of described multi-medium data is transport stream format, and whether the value of the continuous counter field of detected transmission stream bag is continuous, if discontinuous, judges that then multi-medium data loses.
Further, above-mentioned playing device also has following characteristics:
The packing form of described multi-medium data comprises: one or more in transport stream format, video file format and the Audio Video Interleaved form.
To sum up, the player method of a kind of media stream provided by the invention and device can solve the problem of uttering long and high-pitched sounds in the not full-time generation of multi-medium data.
Description of drawings
Fig. 1 is the schematic diagram of the playing device of media stream of the present invention;
Fig. 2 is the flow chart of the player method of media stream of the present invention;
Fig. 3 is the flow chart of player method of the media stream of the embodiment of the invention.
Embodiment
For making the purpose, technical solutions and advantages of the present invention clearer, hereinafter will be elaborated to embodiments of the invention in conjunction with the accompanying drawings.Need to prove that under the situation of not conflicting, embodiment among the application and the feature among the embodiment be combination in any mutually.
Fig. 1 is the schematic diagram of the playing device of media stream of the present invention, and as shown in Figure 1, the playing device of present embodiment comprises:
Whether detection module is used for the process at play multimedia stream, detect multi-medium data and lose;
Playing module is used for detecting under the situation that multi-medium data loses at described detection module, carries out quiet operation immediately.
Like this, the playing device of present embodiment is uttered long and high-pitched sounds not full-time just not can the generation of data.
In the present embodiment, described detection module also is used for after losing detecting multi-medium data, detects whether multi-medium data takes place in the given time to lose;
Described playing module also is used for detecting at described detection module and does not take place in the given time to continue to play described media stream under the situation that multi-medium data loses.
Like this, the quiet of long-time section just can not appear in the playing device of present embodiment, do not influence user's experience.
Fig. 2 is the flow chart of the player method of media stream of the present invention, and this method comprises following step:
S10, in the process of play multimedia stream, if detecting multi-medium data loses, then carry out quiet operation immediately.
Multi-medium data has a variety of packing forms, as transport stream (TS stream), MKV(Matroska Video File, video file format), AVI(Audio Video Interleaved, the Audio Video Interleaved form) etc., whether each packing form can be judged its data has and loses.Transport stream for example can be utilized the continuity_counter(continuous counter of transport stream packets) field judged whether loss of data.The continuity_counter field is the field of a 4bit, identical PID(Program Identifier, program identifier) this field of TS bag increase progressively continuously, return to 0 again after being incremented to 15.
Be example with the transport stream format below, the inventive method be described in detail, in the present embodiment, at first judging multi-medium data according to the continuity_counter field of transport stream has and loses, in the time of loss of data, quiet immediately, make the audio decoder module can not produce and utter long and high-pitched sounds; And then detect, if loss of data did not take place in a period of time, then open sound immediately and continue to play.
As shown in Figure 3, present embodiment comprises the steps:
Step 101 according to the PID of audio frequency, is got the value of the continuity_counter field of an audio TS bag;
Step 102 is got the value of the continuity_counter field of next audio TS bag;
Step 103, whether the continuity_counter field value of judging two TS bags is continuous, if discontinuous, the value of the continuity_counter field of promptly back TS bag is not to add 1 on previous basis, and packet loss has been described, the data disappearance is promptly arranged, then execution in step 104, if continuously, the value of the continuity_counter field of promptly back TS bag is to add 1 on previous basis, then explanation does not have packet loss, changes step 102;
Step 104, quiet immediately, avoided uttering long and high-pitched sounds, change step 105;
5 audio TS bags of continuous detecting again take place behind the packet loss in step 105, if these 5 TS bag the insides all do not have packet loss, then open sound again, continue to play, and change step 102 then.
In the step 105, being not limited to and detecting 5 audio TS bags, also can be other numbers.
Adopt method of the present invention can avoid the factor certificate to lose and uttering long and high-pitched sounds of causing, improve user experience.
One of ordinary skill in the art will appreciate that all or part of step in the said method can instruct related hardware to finish by program, described program can be stored in the computer-readable recording medium, as read-only memory, disk or CD etc.Alternatively, all or part of step of the foregoing description also can use one or more integrated circuits to realize.Correspondingly, each the module/unit in the foregoing description can adopt the form of hardware to realize, also can adopt the form of software function module to realize.The present invention is not restricted to the combination of the hardware and software of any particular form.
Below only be the preferred embodiments of the present invention; certainly; the present invention also can have other various embodiments; under the situation that does not deviate from spirit of the present invention and essence thereof; those of ordinary skill in the art work as can make various corresponding changes and distortion according to the present invention, but these corresponding changes and distortion all should belong to the protection range of the appended claim of the present invention.

Claims (10)

1. the player method of a media stream comprises:
In the process of play multimedia stream,, then carry out quiet operation immediately if detecting multi-medium data loses.
2. player method as claimed in claim 1 is characterized in that: described detecting after multi-medium data loses also comprises:
Do not lose if multi-medium data takes place in the given time in detection, then continue to play described media stream.
3. player method as claimed in claim 1 is characterized in that: the step that described detection multi-medium data is lost is specially:
Whether detect multi-medium data according to the packing form of multi-medium data loses.
4. player method as claimed in claim 3 is characterized in that: the packing form of described multi-medium data comprises transport stream format, then detects the step whether multi-medium data lose according to the packing form of multi-medium data and comprises:
Whether the value of the continuous counter field of detected transmission stream bag is continuous, if discontinuous, judges that then multi-medium data loses.
5. player method as claimed in claim 3 is characterized in that: the packing form of described multi-medium data comprises: one or more in transport stream format, video file format and the Audio Video Interleaved form.
6. the playing device of a media stream comprises:
Whether detection module is used for the process at play multimedia stream, detect multi-medium data and lose;
Playing module is used for detecting under the situation that multi-medium data loses at described detection module, carries out quiet operation immediately.
7. playing device as claimed in claim 6 is characterized in that:
Described detection module also is used for after losing detecting multi-medium data, detects whether multi-medium data takes place in the given time to lose;
Described playing module also is used for detecting at described detection module and does not take place in the given time to continue to play described media stream under the situation that multi-medium data loses.
8. playing device as claimed in claim 6 is characterized in that:
Whether described detection module specifically is used for packing form according to multi-medium data and detects multi-medium data and lose.
9. playing device as claimed in claim 8 is characterized in that:
Described detection module specifically is used for when the packing form of described multi-medium data is transport stream format, and whether the value of the continuous counter field of detected transmission stream bag is continuous, if discontinuous, judges that then multi-medium data loses.
10. playing device as claimed in claim 8 is characterized in that: the packing form of described multi-medium data comprises: one or more in transport stream format, video file format and the Audio Video Interleaved form.
CN2011101556124A 2011-06-10 2011-06-10 Multimedia stream playing method and device Pending CN102244825A (en)

Priority Applications (2)

Application Number Priority Date Filing Date Title
CN2011101556124A CN102244825A (en) 2011-06-10 2011-06-10 Multimedia stream playing method and device
PCT/CN2012/072793 WO2012167646A1 (en) 2011-06-10 2012-03-22 Method and device for playing multimedia stream

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN2011101556124A CN102244825A (en) 2011-06-10 2011-06-10 Multimedia stream playing method and device

Publications (1)

Publication Number Publication Date
CN102244825A true CN102244825A (en) 2011-11-16

Family

ID=44962604

Family Applications (1)

Application Number Title Priority Date Filing Date
CN2011101556124A Pending CN102244825A (en) 2011-06-10 2011-06-10 Multimedia stream playing method and device

Country Status (2)

Country Link
CN (1) CN102244825A (en)
WO (1) WO2012167646A1 (en)

Cited By (2)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
WO2012167646A1 (en) * 2011-06-10 2012-12-13 中兴通讯股份有限公司 Method and device for playing multimedia stream
CN109792558A (en) * 2016-09-30 2019-05-21 索尼公司 Transmission device, transfer approach, reception device and method of reseptance

Citations (7)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN1757059A (en) * 2003-02-28 2006-04-05 松下电器产业株式会社 Reproduction device and reproduction method
US20060259618A1 (en) * 2005-05-16 2006-11-16 Lg Electronics Inc. Method and apparatus of processing audio of multimedia playback terminal
CN101043759A (en) * 2006-03-24 2007-09-26 华为技术有限公司 Method for realizing data service through voice band data VBD mode and system thereof
CN101056245A (en) * 2006-04-13 2007-10-17 日本电气株式会社 Media stream relay device and method
CN101068210A (en) * 2007-06-20 2007-11-07 中兴通讯股份有限公司 Multimedia data transmitting method
WO2008040250A1 (en) * 2006-10-01 2008-04-10 Huawei Technologies Co., Ltd. A method, a device and a system for error concealment of an audio stream
CN101771869A (en) * 2008-12-30 2010-07-07 深圳市万兴软件有限公司 AV (audio/video) encoding and decoding device and method

Family Cites Families (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN102244825A (en) * 2011-06-10 2011-11-16 中兴通讯股份有限公司 Multimedia stream playing method and device

Patent Citations (8)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN1757059A (en) * 2003-02-28 2006-04-05 松下电器产业株式会社 Reproduction device and reproduction method
US20060259618A1 (en) * 2005-05-16 2006-11-16 Lg Electronics Inc. Method and apparatus of processing audio of multimedia playback terminal
CN101043759A (en) * 2006-03-24 2007-09-26 华为技术有限公司 Method for realizing data service through voice band data VBD mode and system thereof
CN101056245A (en) * 2006-04-13 2007-10-17 日本电气株式会社 Media stream relay device and method
US20070242663A1 (en) * 2006-04-13 2007-10-18 Nec Corporation Media stream relay device and method
WO2008040250A1 (en) * 2006-10-01 2008-04-10 Huawei Technologies Co., Ltd. A method, a device and a system for error concealment of an audio stream
CN101068210A (en) * 2007-06-20 2007-11-07 中兴通讯股份有限公司 Multimedia data transmitting method
CN101771869A (en) * 2008-12-30 2010-07-07 深圳市万兴软件有限公司 AV (audio/video) encoding and decoding device and method

Cited By (3)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
WO2012167646A1 (en) * 2011-06-10 2012-12-13 中兴通讯股份有限公司 Method and device for playing multimedia stream
CN109792558A (en) * 2016-09-30 2019-05-21 索尼公司 Transmission device, transfer approach, reception device and method of reseptance
US11395034B2 (en) 2016-09-30 2022-07-19 Sony Corporation Transmission apparatus, transmission method, receiving apparatus, and receiving method

Also Published As

Publication number Publication date
WO2012167646A1 (en) 2012-12-13

Similar Documents

Publication Publication Date Title
US10950270B2 (en) Audio modification for adjustable playback rate
US10013995B1 (en) Combined reference signal for acoustic echo cancellation
CA2682800C (en) Method and apparatus for modifying playback timing of talkspurts within a sentence without affecting intelligibility
CN101563938B (en) A device for and a method of processing audio data
JP2013537321A5 (en)
NO20035751L (en) Audio system
JP2010538572A (en) Audio signal decoding method and apparatus
MX2011005782A (en) Audio/video data play control method and apparatus.
TW200738310A (en) Communication game system, communication game control method, and information recording medium
CN103854688A (en) Electronic device with hard disk vibration suppression function and hard disk vibration suppression method
CN102075803A (en) Method for synchronously playing video and audio
JP2010164859A (en) Audio playback device, information reproduction system, audio reproduction method and program
US20200322818A1 (en) Obtention of latency information in a wireless audio system
CN102244825A (en) Multimedia stream playing method and device
TWI521985B (en) Wireless communication system and method for adjusting used depth of buffer unit in wireless communication system
NL1030982C2 (en) Volume control method for digital audio broadcasting system, involves detecting number of error frames based on which output volume is controlled
US20140341543A1 (en) Method for playing multimedia content, a related system and related playback module
US20240029755A1 (en) Intelligent speech or dialogue enhancement
US10832735B2 (en) System and method for improved transmission of digital data
CN112073890A (en) Audio data processing method and device and terminal equipment
CN101815114B (en) Method for controlling acoustic gain and mobile phone capable of controlling acoustic gain
JP6353402B2 (en) Acoustic digital watermark system, digital watermark embedding apparatus, digital watermark reading apparatus, method and program thereof
US20090116667A1 (en) Method and Apparatus for Volume Adjustment
WO2019071491A1 (en) Intelligent terminal-based sound effect distinguishing method and sound effect distinguishing system
JP2005348226A (en) Radio communication method and apparatus

Legal Events

Date Code Title Description
C06 Publication
PB01 Publication
C10 Entry into substantive examination
SE01 Entry into force of request for substantive examination
RJ01 Rejection of invention patent application after publication
RJ01 Rejection of invention patent application after publication

Application publication date: 20111116