CN101047842A - Method for playing flow media audio-vedio on radio binary operation environment mobile phone - Google Patents
Method for playing flow media audio-vedio on radio binary operation environment mobile phone Download PDFInfo
- Publication number
- CN101047842A CN101047842A CN 200610065935 CN200610065935A CN101047842A CN 101047842 A CN101047842 A CN 101047842A CN 200610065935 CN200610065935 CN 200610065935 CN 200610065935 A CN200610065935 A CN 200610065935A CN 101047842 A CN101047842 A CN 101047842A
- Authority
- CN
- China
- Prior art keywords
- video
- audio
- data
- playing
- mobile phone
- 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
Landscapes
- Two-Way Televisions, Distribution Of Moving Picture Or The Like (AREA)
Abstract
This invention provides a method for playing audio-video of streaming-media of radio binay operation environment cell phones including the following steeps: 1, registering the call-back functions of video and audio reception in a radio binary operation environment system and setting the error sphere of timestamp diference, 2, receiving the audio and video data to compare if the timestamp is in the error sphere, if so, it plays the audio and video contents to keep synchronous play of them, 3, if the error is not in the sphere, it takes the audio as the standard to cast off the video information, 4, adjusting the distance among video frames to keep them in a sphere suitable for playing.
Description
Technical field
The present invention relates to the player method technical field of stream medium audio and video, particularly a kind of in vedio on radio binary operation environment mobile phone the method for 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 method of playing flow media audio-vedio on radio binary operation environment mobile phone is provided, use the inventive method, 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 method of playing flow media audio-vedio on radio binary operation environment mobile phone, may further comprise the steps:
(1) in the vedio on radio binary operation environment system, registers the call back function that video data receives and voice data receives, the error range of setting audio data and video data timestamp difference respectively;
(2) receive voice data and video data, in error range, when error was in setting range, the playing audio-video content kept synchronous playing between the audio frequency and video for comparing audio data and video data timestamp difference;
(3) when error is not in setting range, being as the criterion with audio frequency abandons video information;
(4) interval between the adjusting frame of video, the interval between the maintenance frame of video is in being fit to the scope of playing.
Described method may further include:
(5) according to decoding of mobile phone wireless binary running environment system processing power or maintenance media formats, carry out audio frequency and video and play.
Described step (2) can be to carry out in the cycle to the comparison of difference between voice data and the video data timestamp.
Described step (2) may further include: 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.
Described step (4) may further include: 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.
Described method may further include: during displaying video, Xie Ma video information changes into displayable media data demonstration on the mobile phone with receiving video data as required.
Described method may further include: 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 the inventive method, 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 method;
Fig. 2 is the flow chart according to the described audio plays task of embodiment of the invention method;
Fig. 3 is the flow chart according to the described displaying video task of embodiment of the invention method;
Fig. 4 is according to the described Play System structure chart of embodiment of the invention method.
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 method, concrete steps are:
As shown in Figure 2, be the flow chart according to the described audio plays task of embodiment of the invention method, concrete steps are:
As shown in Figure 3, be the flow chart according to the described displaying video task of embodiment of the invention method, concrete steps are:
As shown in Figure 4, for according to the described Play System structure chart of embodiment of the invention method, 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 method of playing flow media audio-vedio on radio binary operation environment mobile phone is characterized in that, may further comprise the steps:
(1) in the vedio on radio binary operation environment system, registers the call back function that video data receives and voice data receives, the error range of setting audio data and video data timestamp difference respectively;
(2) receive voice data and video data, in error range, when error was in setting range, the playing audio-video content kept synchronous playing between the audio frequency and video for comparing audio data and video data timestamp difference;
(3) when error is not in setting range, being as the criterion with audio frequency abandons video information;
(4) interval between the adjusting frame of video, the interval between the maintenance frame of video is in being fit to the scope of playing.
2, according to the described method of claim 1, it is characterized in that, further comprise:
(5) according to decoding of mobile phone wireless binary running environment system processing power or maintenance media formats, carry out audio frequency and video and play.
3, according to claim 1 or 2 described methods, it is characterized in that, described step (2), to difference between voice data and the video data timestamp relatively is to carry out in the cycle.
4, according to claim 1 or 2 described methods, it is characterized in that described step (2) further comprises: 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 claim 1 or 2 described methods, it is characterized in that 5, described step (4) further comprises: 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.
6, according to claim 1 or 2 described methods, it is characterized in that, further comprise: during displaying video, Xie Ma video information changes into displayable media data demonstration on the mobile phone with receiving video data as required.
7, according to claim 1 or 2 described methods, it is characterized in that, further comprise: 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 |
---|---|---|---|
CN 200610065935 CN101047842A (en) | 2006-03-27 | 2006-03-27 | Method for playing flow media audio-vedio on radio binary operation environment mobile phone |
Applications Claiming Priority (1)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
CN 200610065935 CN101047842A (en) | 2006-03-27 | 2006-03-27 | Method for playing flow media audio-vedio on radio binary operation environment mobile phone |
Publications (1)
Publication Number | Publication Date |
---|---|
CN101047842A true CN101047842A (en) | 2007-10-03 |
Family
ID=38771997
Family Applications (1)
Application Number | Title | Priority Date | Filing Date |
---|---|---|---|
CN 200610065935 Pending CN101047842A (en) | 2006-03-27 | 2006-03-27 | Method for playing flow media audio-vedio on radio binary operation environment mobile phone |
Country Status (1)
Country | Link |
---|---|
CN (1) | CN101047842A (en) |
Cited By (16)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
WO2010017742A1 (en) * | 2008-08-11 | 2010-02-18 | 深圳华为通信技术有限公司 | Method and apparatus for processing video and audio data received in decoding system |
CN101964903A (en) * | 2010-10-11 | 2011-02-02 | 陕西赛瑞德科技发展有限责任公司 | Method for synchronously playing audio and video streaming media in wireless environment |
CN102063923A (en) * | 2009-11-18 | 2011-05-18 | 新奥特(北京)视频技术有限公司 | Adaptive playing method and device of animation |
CN101271720B (en) * | 2008-04-22 | 2011-06-22 | 中兴通讯股份有限公司 | Synchronization process for mobile phone stream media audio and video |
CN102196303A (en) * | 2010-03-02 | 2011-09-21 | 中兴通讯股份有限公司 | Media synchronization method and system |
CN101771869B (en) * | 2008-12-30 | 2011-09-28 | 深圳市万兴软件有限公司 | AV (audio/video) encoding and decoding device and method |
CN103024490A (en) * | 2012-12-26 | 2013-04-03 | 北京奇艺世纪科技有限公司 | Method and device supporting independent playing of audio and video |
CN103581604A (en) * | 2012-08-01 | 2014-02-12 | 希姆通信息技术(上海)有限公司 | Video call device and method |
CN103686164A (en) * | 2012-09-06 | 2014-03-26 | 腾讯科技(深圳)有限公司 | Method, system and module for self-adaptive hardware coding and decoding |
CN105118077A (en) * | 2015-09-02 | 2015-12-02 | 广东建设职业技术学院 | Method for improving file shooting fluency and system for improving file shooting fluency |
CN105187688A (en) * | 2015-09-01 | 2015-12-23 | 福建富士通信息软件有限公司 | Method and system for carrying out synchronization on real-time video and audio collected by mobile phone |
CN105760132A (en) * | 2016-02-03 | 2016-07-13 | 广东欧珀移动通信有限公司 | Method, device and mobile device for achieving frame rate dynamic refreshing |
CN105872699A (en) * | 2016-04-28 | 2016-08-17 | 乐视控股(北京)有限公司 | Video playing control method and device |
CN108614829A (en) * | 2016-12-12 | 2018-10-02 | 中移(杭州)信息技术有限公司 | A kind of playback method and terminal |
CN111586589A (en) * | 2020-04-30 | 2020-08-25 | 上海交通大学 | Multi-receiving-end audio streaming media wireless transmission and synchronous playing method and system |
CN115834943A (en) * | 2023-01-10 | 2023-03-21 | 荣耀终端有限公司 | Audio and video synchronization method and device |
-
2006
- 2006-03-27 CN CN 200610065935 patent/CN101047842A/en active Pending
Cited By (24)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN101271720B (en) * | 2008-04-22 | 2011-06-22 | 中兴通讯股份有限公司 | Synchronization process for mobile phone stream media audio and video |
WO2010017742A1 (en) * | 2008-08-11 | 2010-02-18 | 深圳华为通信技术有限公司 | Method and apparatus for processing video and audio data received in decoding system |
RU2483470C2 (en) * | 2008-08-11 | 2013-05-27 | Хуавэй Дивайс Ко., Лтд | Method and apparatus for processing video and audio data received in decoding system |
US8582947B2 (en) | 2008-08-11 | 2013-11-12 | Huawei Technologies Co., Ltd. | Method and apparatus for processing video and audio data received in decoding system |
CN101771869B (en) * | 2008-12-30 | 2011-09-28 | 深圳市万兴软件有限公司 | AV (audio/video) encoding and decoding device and method |
CN102063923A (en) * | 2009-11-18 | 2011-05-18 | 新奥特(北京)视频技术有限公司 | Adaptive playing method and device of animation |
CN102063923B (en) * | 2009-11-18 | 2015-05-27 | 新奥特(北京)视频技术有限公司 | Adaptive playing method and device of animation |
CN102196303A (en) * | 2010-03-02 | 2011-09-21 | 中兴通讯股份有限公司 | Media synchronization method and system |
CN102196303B (en) * | 2010-03-02 | 2014-03-19 | 中兴通讯股份有限公司 | Media synchronization method and system |
CN101964903A (en) * | 2010-10-11 | 2011-02-02 | 陕西赛瑞德科技发展有限责任公司 | Method for synchronously playing audio and video streaming media in wireless environment |
CN103581604A (en) * | 2012-08-01 | 2014-02-12 | 希姆通信息技术(上海)有限公司 | Video call device and method |
US9323545B2 (en) | 2012-09-06 | 2016-04-26 | Tencent Technology (Shenzhen) Company Limited | Method, system, module, and storage medium for automatic adaptation of hardware encoding and decoding |
CN103686164A (en) * | 2012-09-06 | 2014-03-26 | 腾讯科技(深圳)有限公司 | Method, system and module for self-adaptive hardware coding and decoding |
CN103024490A (en) * | 2012-12-26 | 2013-04-03 | 北京奇艺世纪科技有限公司 | Method and device supporting independent playing of audio and video |
CN105187688A (en) * | 2015-09-01 | 2015-12-23 | 福建富士通信息软件有限公司 | Method and system for carrying out synchronization on real-time video and audio collected by mobile phone |
CN105187688B (en) * | 2015-09-01 | 2018-03-23 | 福建富士通信息软件有限公司 | The method and system that a kind of real-time video and audio to mobile phone collection synchronizes |
CN105118077A (en) * | 2015-09-02 | 2015-12-02 | 广东建设职业技术学院 | Method for improving file shooting fluency and system for improving file shooting fluency |
CN105118077B (en) * | 2015-09-02 | 2018-02-09 | 广东建设职业技术学院 | A kind of method and system for improving file shooting fluency |
CN105760132A (en) * | 2016-02-03 | 2016-07-13 | 广东欧珀移动通信有限公司 | Method, device and mobile device for achieving frame rate dynamic refreshing |
CN105760132B (en) * | 2016-02-03 | 2018-11-20 | 广东欧珀移动通信有限公司 | Realize the method, apparatus and mobile device of frame per second dynamic refresh |
CN105872699A (en) * | 2016-04-28 | 2016-08-17 | 乐视控股(北京)有限公司 | Video playing control method and device |
CN108614829A (en) * | 2016-12-12 | 2018-10-02 | 中移(杭州)信息技术有限公司 | A kind of playback method and terminal |
CN111586589A (en) * | 2020-04-30 | 2020-08-25 | 上海交通大学 | Multi-receiving-end audio streaming media wireless transmission and synchronous playing method and system |
CN115834943A (en) * | 2023-01-10 | 2023-03-21 | 荣耀终端有限公司 | Audio and video synchronization method and device |
Similar Documents
Publication | Publication Date | Title |
---|---|---|
CN101047842A (en) | Method for playing flow media audio-vedio on radio binary operation environment mobile phone | |
CN101484939B (en) | Clock drift compensation techniques for audio decoding | |
KR102000084B1 (en) | Method for providing of adaptive streaming service and apparatus therefor | |
CN102761776B (en) | Video and audio synchronizing method of P2PVoD (peer-to-peer video on demand) system based on SVC (scalable video coding) | |
CN101262610B (en) | A playing system for AVS-TS programs at portable terminal | |
CN101047911A (en) | System for playing flow media audio vedio on radio binary operation environment mobile phone | |
CN1780185A (en) | Method and apparatus to transmit data broadcasting content and method and apparatus to receive data broadcasting content | |
CN1678019A (en) | Data synchronousely regenerating device and terminal device | |
CN1767424A (en) | Broadcast station synchronization method and mobile terminal | |
CN1798318A (en) | Reproduction apparatus and decoding control method | |
CN101075949A (en) | Method for changing fluid-medium file broadcasting speed | |
CN1738437A (en) | Synchronizing video/audio of mobile communication terminal | |
CN101710997A (en) | MPEG-2 (Moving Picture Experts Group-2) system based method and system for realizing video and audio synchronization | |
CN1710963A (en) | Data synchronization method and apparatus for digital multimedia data receiver | |
CN101064669A (en) | Network real-time playing multimedia data method | |
CN1675931A (en) | Domestic multimedia transmission method and system | |
CN1949880A (en) | Device and method for synchronizing data in digital television receiver | |
CN102075803B (en) | Method for synchronously playing video and audio | |
CN101047776A (en) | Mobile broadcast network system and method for implementing synchronous of the network | |
CN1436001A (en) | Method for synchronizing video with audio in decoding system | |
CN1253809C (en) | Data playback device and method | |
CN1879342A (en) | Transmitting apparatus, relaying apparatus, receiving apparatus and network system including these apparatus | |
CN1301016C (en) | Apparatus and method for multimedia reproduction using output buffering in a mobile communication terminal | |
CN1960501A (en) | Conversion method of multiplexing protocols in broadcast network | |
CN108122558A (en) | A kind of LATM AAC audio streams turn appearance implementation method and device in real time |
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 |