CN101047911A - System for playing flow media audio vedio on radio binary operation environment mobile phone - Google Patents
System for playing flow media audio vedio on radio binary operation environment mobile phone Download PDFInfo
- Publication number
- CN101047911A CN101047911A CNA2006100659368A CN200610065936A CN101047911A CN 101047911 A CN101047911 A CN 101047911A CN A2006100659368 A CNA2006100659368 A CN A2006100659368A CN 200610065936 A CN200610065936 A CN 200610065936A CN 101047911 A CN101047911 A CN 101047911A
- Authority
- CN
- China
- Prior art keywords
- video
- audio
- data
- module
- playing
- 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
Links
Images
Abstract
This invention provides a system for playing stream media audio and video of radio binary operational environment cell phones including a control module, an interface module, a synchronous module and a play module, in which, the control module is used in controlling the process of playing of stream media audio and video play, registering the call-back functions of the reception of video data and that of the audio data and sending the data to the synchronous module, which is used in comparing if the timestamp difference is in the error sphere to keep their synchronization and said play modue is used in playing based on the data sent by a synchronous module.
Description
Technical field
The present invention relates to the play-back technology field of stream medium audio and video, particularly a kind of in vedio on radio binary operation environment mobile phone the system of playing flow media audio.
Background technology
BREW (Binary Runtime Environment for Wireless, vedio on radio binary operation environment), it is the fundamental system that QualCom company releases calendar year 2001 based on CDMA (code division multipleaccess, code division multiple access inserts) the last value-added service developing operation of network " wireless Internet flat pad ".
Corresponding with the BREW system is the JAVA system, and BREW is fast with the speed of service, takies the welcome that the few characteristics of resource are subjected to numerous mobile phone producer.Relative Java, BREW is a more technology of bottom.Because the BREW system can freely load and unload and run application on the BREW mobile phone.Carry out the initial stage at mobile flow medium service, real Streaming Media mobile phone kind is seldom developed a kind of streaming media playing that can move and is used on the BREW mobile phone.Can allow more user need not change mobile phone and just can use streaming media service.BREW system on the mobile phone is not a kind of perfect operating system, does not have the multithreading of windows system support, the characteristics of multi-process.How to realize playing flow media audio in the BREW system? this is the problem that the present invention need solve.
Summary of the invention
Technical problem to be solved by this invention is, a kind of system of playing flow media audio-vedio on radio binary operation environment mobile phone is provided, use system of the present invention, can be implemented in playing flow media audio file on the vedio on radio binary operation environment mobile phone of not supporting multithreading, multi-process.
For solving the problems of the technologies described above, the invention provides a kind of system of playing flow media audio-vedio on radio binary operation environment mobile phone, comprise control module, interface module, synchronization module and playing module, wherein:
Described control module is used for the process control that stream medium audio and video is play, the call back function that the registration video data receives and voice data receives, the error range of setting audio data and video data timestamp difference;
Described interface module is used to receive voice data and video data, and voice data and the video data that receives sent synchronization module;
Described synchronization module, voice data that is used for relatively receiving and video data timestamp difference whether in error range, keep between the audio frequency and video synchronously;
Described playing module is used for carrying out audio frequency and video according to the data that synchronization module sends and plays.
Described playing module can be further used for carrying out audio frequency and video and playing according to decoding of mobile phone wireless binary running environment system processing power or maintenance media formats.
Described synchronization module can be to carry out in the cycle to the comparison of difference between voice data and the video data timestamp.
Described control module can be further used for, and after receiving media data, calls call back function data are handled, and checks whether video information is complete, and whether voice data can satisfy the time of playing preseting length.
Described synchronization module can be further used for, and according to video frame rate, calculates frame of video at interval, regulates the interval between the frame of video, and the interval between the maintenance frame of video is in being fit to the scope of playing.
Described playing module can be further used for, and during displaying video, Xie Ma video information changes into displayable media data demonstration on the mobile phone with receiving video data as required.
Described playing module can be further used for, and during audio plays, Xie Ma audio-frequency information is as required play receiving the audio format that voice data changes into the mobile phone support.
Use system of the present invention, can be implemented in playing flow media audio file on the vedio on radio binary operation environment mobile phone of not supporting multithreading, multi-process, and support independent audio frequency or the processing of video separately.
Description of drawings
Fig. 1 is the flow chart of handling according to the described independent audio or video of embodiment of the invention audio-video frequency playing system;
Fig. 2 is the flow chart according to the described audio plays task of embodiment of the invention audio-video frequency playing system;
Fig. 3 is the flow chart according to the described displaying video task of embodiment of the invention audio-video frequency playing system;
Fig. 4 is according to the described Play System structure chart of embodiment of the invention audio-video frequency playing system.
Embodiment
As shown in Figure 1, be the flow chart of handling according to the described independent audio or video of embodiment of the invention audio-video frequency playing system, concrete steps are:
As shown in Figure 2, be the flow chart according to the described audio plays task of embodiment of the invention audio-video frequency playing system, concrete steps are:
As shown in Figure 3, be the flow chart according to the described displaying video task of embodiment of the invention audio-video frequency playing system, concrete steps are:
As shown in Figure 4, for according to the described Play System structure chart of embodiment of the invention audio-video frequency playing system, the system of playing flow media audio-vedio on radio binary operation environment mobile phone comprises among the figure: control module 401, interface module 402, synchronization module 403 and playing module 404 is characterized in that:
The principle of another embodiment of the present invention is: the BREW system on the mobile phone terminal supports the readjustment and the timer function of communication Network Based.The readjustment of communication Network Based, just when the BREW system when network receives data, can be invoked at the processing function of registering in the BREW system.Timer is identical with the timer function that operating system provides, and after timing arrives, can produce timed events, and the call back function of timed events carries out the processing of timed events.Based on above-mentioned BREW system characteristics.The present invention receives audio frequency and video reception difference registered callbacks function.After receiving media data, call call back function data are handled, check whether video information is a complete frame, the time whether voice data enough plays preseting length.The error between the audio frequency and video timestamp relatively, when error during at setting range, beginning playing audio-video content, setting audio time and timestamp be complement mark relatively.Finish playing up to a section audio, keep therebetween between the audio frequency and video synchronously.When both errors were big, being as the criterion with audio frequency abandoned video information.When regulating audio-visual synchronization, the interval that also needs to regulate between the frame of video keeps sizableness.When having only video information or having only audio-frequency information, only need be play according to timestamp and get final product.When displaying video, decode video information changes into displayable media data demonstration on the mobile phone as required.During audio plays, decoded audio information as required, the audio format that changes into the mobile phone support is play.
Concrete implementation step is as follows:
Step 1 is registered the call back function that video data receives and voice data receives respectively in the BREW system, be used for handling audio, video data and receive.Check whether audio frequency, video can be play.If can play, then continue subsequent step, otherwise continue step 1.
Step 2, relatively whether difference if in error range, is then prepared to play in error range between the audio, video data timestamp, continues subsequent step, and relatively complement mark of timestamp is set.Otherwise forward step 4 to.
Step 3 according to decoding of mobile phone B REW system processing power or maintenance media formats, is carried out audio frequency and video and is play the record audio broadcast start time.The time timer of next frame presentation of video frames is set.If the next frame timestamp surpasses this section audio reproduction time, timestamp then is set relatively indicates.
If step 4 not in error range, is a benchmark with the audio frequency then, abandons video data, the timer delayed video perhaps is set plays registered callbacks function, only audio plays.The step of audio plays is with step 3.
Step 5, the timer event of slowed-down video or next frame frame of video timer arrive, and finish if timestamp relatively indicates, then begin playing video data, and step is with step 3.Otherwise forward step 2 to.
Step 6 according to video frame rate, calculates frame of video at interval.When displaying video,, constantly adjust the demonstration time of next frame video according to the timestamp refresh timer.
Step 7 for the situation of having only audio frequency, is play-overed audio frequency and is got final product, and does not need the comparison timestamp.
Step 8 for the situation of having only video, is provided with the next frame video playback time, and timer event carries out step 6 simultaneously and handles to then carrying out video playback.
Claims (7)
1, a kind of system of playing flow media audio-vedio on radio binary operation environment mobile phone is characterized in that, comprises control module, interface module, synchronization module and playing module, wherein:
Described control module is used for the process control that stream medium audio and video is play, the call back function that the registration video data receives and voice data receives, the error range of setting audio data and video data timestamp difference;
Described interface module is used to receive voice data and video data, and voice data and the video data that receives sent synchronization module;
Described synchronization module, voice data that is used for relatively receiving and video data timestamp difference whether in error range, keep between the audio frequency and video synchronously;
Described playing module is used for carrying out audio frequency and video according to the data that synchronization module sends and plays.
According to the described system of claim 1, it is characterized in that 2, described playing module is further used for carrying out audio frequency and video and playing according to decoding of mobile phone wireless binary running environment system processing power or maintenance media formats.
3, according to the described system of claim 1, it is characterized in that, described synchronization module, to difference between voice data and the video data timestamp relatively is to carry out in the cycle.
4, according to the described system of claim 1, it is characterized in that described control module, be further used for, after receiving media data, call call back function data are handled, check whether video information is complete, and whether voice data can satisfy the time of playing preseting length.
According to the described system of claim 1, it is characterized in that 5, described synchronization module is further used for, according to video frame rate, calculate frame of video at interval, regulate the interval between the frame of video, the interval between the maintenance frame of video is in being fit to the scope of playing.
According to the described system of claim 1, it is characterized in that 6, described playing module is further used for, during displaying video, Xie Ma video information changes into displayable media data demonstration on the mobile phone with receiving video data as required.
According to the described method of claim 1, it is characterized in that 7, described playing module is further used for, during audio plays, Xie Ma audio-frequency information is as required play receiving the audio format that voice data changes into the mobile phone support.
Priority Applications (1)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
CNA2006100659368A CN101047911A (en) | 2006-03-27 | 2006-03-27 | System for playing flow media audio vedio on radio binary operation environment mobile phone |
Applications Claiming Priority (1)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
CNA2006100659368A CN101047911A (en) | 2006-03-27 | 2006-03-27 | System for playing flow media audio vedio on radio binary operation environment mobile phone |
Publications (1)
Publication Number | Publication Date |
---|---|
CN101047911A true CN101047911A (en) | 2007-10-03 |
Family
ID=38772045
Family Applications (1)
Application Number | Title | Priority Date | Filing Date |
---|---|---|---|
CNA2006100659368A Pending CN101047911A (en) | 2006-03-27 | 2006-03-27 | System for playing flow media audio vedio on radio binary operation environment mobile phone |
Country Status (1)
Country | Link |
---|---|
CN (1) | CN101047911A (en) |
Cited By (5)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN101335799B (en) * | 2008-08-04 | 2010-12-08 | 捷开通讯(深圳)有限公司 | Method for BREW platform mobile phone environment abnormal alarm and equipment thereof |
CN103426439A (en) * | 2013-05-08 | 2013-12-04 | 杭州联汇数字科技有限公司 | Method for detecting consistency of broadcast television audio signal content |
CN103828449A (en) * | 2011-09-23 | 2014-05-28 | 想象技术有限公司 | Method and apparatus for time synchronization in wireless networks |
CN105872699A (en) * | 2016-04-28 | 2016-08-17 | 乐视控股(北京)有限公司 | Video playing control method and device |
CN114339389A (en) * | 2022-01-10 | 2022-04-12 | 稿定(厦门)科技有限公司 | Audio-video system |
-
2006
- 2006-03-27 CN CNA2006100659368A patent/CN101047911A/en active Pending
Cited By (12)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN101335799B (en) * | 2008-08-04 | 2010-12-08 | 捷开通讯(深圳)有限公司 | Method for BREW platform mobile phone environment abnormal alarm and equipment thereof |
CN103828449A (en) * | 2011-09-23 | 2014-05-28 | 想象技术有限公司 | Method and apparatus for time synchronization in wireless networks |
CN103828449B (en) * | 2011-09-23 | 2016-05-11 | 想象技术有限公司 | Be used for the method and apparatus of the time synchronized of wireless network |
US9444567B2 (en) | 2011-09-23 | 2016-09-13 | Imagination Technologies Limited | Method and apparatus for time synchronisation in wireless networks |
US9794058B2 (en) | 2011-09-23 | 2017-10-17 | Imagination Technologies Limited | Method and apparatus for time synchronisation in wireless networks |
US10491371B2 (en) | 2011-09-23 | 2019-11-26 | Imagination Technologies Limited | Method and apparatus for time synchronisation in wireless networks |
US11394524B2 (en) | 2011-09-23 | 2022-07-19 | Imagination Technologies Limited | Method and apparatus for time synchronization in wireless networks |
US11863656B2 (en) | 2011-09-23 | 2024-01-02 | Imagination Technologies Limited | Method and apparatus for time synchronisation in wireless networks |
CN103426439A (en) * | 2013-05-08 | 2013-12-04 | 杭州联汇数字科技有限公司 | Method for detecting consistency of broadcast television audio signal content |
CN103426439B (en) * | 2013-05-08 | 2016-04-27 | 杭州联汇数字科技有限公司 | A kind of broadcast television audio signal content consistency detecting method |
CN105872699A (en) * | 2016-04-28 | 2016-08-17 | 乐视控股(北京)有限公司 | Video playing control method and device |
CN114339389A (en) * | 2022-01-10 | 2022-04-12 | 稿定(厦门)科技有限公司 | Audio-video system |
Similar Documents
Publication | Publication Date | Title |
---|---|---|
CN101047842A (en) | Method for playing flow media audio-vedio on radio binary operation environment mobile phone | |
KR102000084B1 (en) | Method for providing of adaptive streaming service and apparatus therefor | |
CN101484939B (en) | Clock drift compensation techniques for audio decoding | |
CN101271720B (en) | Synchronization process for mobile phone stream media audio and video | |
CN102761776B (en) | Video and audio synchronizing method of P2PVoD (peer-to-peer video on demand) system based on SVC (scalable video coding) | |
CN101047911A (en) | System for playing flow media audio vedio on radio binary operation environment mobile phone | |
CN1798383A (en) | Apparatus and method for providing in a terminal a pause function for a broadcast stream | |
CN1780185A (en) | Method and apparatus to transmit data broadcasting content and method and apparatus to receive data broadcasting content | |
CN101262610B (en) | A playing system for AVS-TS programs at portable terminal | |
CN101079973A (en) | A method and system for simultaneously playing multi-channel TV signals | |
CN1655619A (en) | Transcoding system and method for maintaining timing parameters before and after performing transcoding process | |
CN101075949A (en) | Method for changing fluid-medium file broadcasting speed | |
CN1798318A (en) | Reproduction apparatus and decoding control method | |
CN1678019A (en) | Data synchronousely regenerating device and terminal device | |
CN1977554A (en) | Interactive broadcast system | |
CN101064669A (en) | Network real-time playing multimedia data method | |
CN1675931A (en) | Domestic multimedia transmission method and system | |
CN1710963A (en) | Data synchronization method and apparatus for digital multimedia data receiver | |
CN1960485A (en) | Method for playing back video and audio synchronistically in mobile media broadcast | |
CN1976514A (en) | Single-mode double-card double-standby method for time-division synchronous code division multiple access system terminal | |
CN1253809C (en) | Data playback device and method | |
CN1421859A (en) | After-recording apparatus | |
CN1842971A (en) | Contents providing system and mobile communication terminal therefor | |
CN1301016C (en) | Apparatus and method for multimedia reproduction using output buffering in a mobile communication terminal | |
CN101047476A (en) | Method and device for selecting modulation mode |
Legal Events
Date | Code | Title | Description |
---|---|---|---|
C06 | Publication | ||
PB01 | Publication | ||
C10 | Entry into substantive examination | ||
SE01 | Entry into force of request for substantive examination | ||
C12 | Rejection of a patent application after its publication | ||
RJ01 | Rejection of invention patent application after publication |
Open date: 20071003 |