CN1471305A - Synchrnoous driven technique for multimedia audio-video and declarative word - Google Patents
Synchrnoous driven technique for multimedia audio-video and declarative word Download PDFInfo
- Publication number
- CN1471305A CN1471305A CNA021253226A CN02125322A CN1471305A CN 1471305 A CN1471305 A CN 1471305A CN A021253226 A CNA021253226 A CN A021253226A CN 02125322 A CN02125322 A CN 02125322A CN 1471305 A CN1471305 A CN 1471305A
- Authority
- CN
- China
- Prior art keywords
- audio
- file
- player
- ready
- time
- 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
- Information Transfer Between Computers (AREA)
Abstract
The invented technique is realized through the following steps. The player requests audio/video stream and dot file at same time. When the audio/video stream is played back, meanwhile the comparison is carried out between the playing position (time), which is continuously obtained by time massage in the playing process, and the time in chain table (time list) obtained by parsing the dot file. If the result of the comparison is accord with requirement, the player triggers a event, which through a capture even of IE browser carries out the treatment of browsing literal information. The simultaneous technique is not related to format of audio/video stream. That is means the symbols marked by audio/video stream can be written into the dot file. Thus, the invention has wide suitable area and does not affect the playing effect. The technique can be used in multimedia network teaching.
Description
1 technical field
The present invention realizes audio frequency, and a special kind of skill that video and literal show does not synchronously need special video file format or changes video file format, but realize by the file (getting file ready) of a writing time and other information.
2 technical backgrounds
In today of software engineering develop rapidly, multimedia technology also in constantly raising and perfect, has especially reached certain level in the Voice ﹠ Video field, but has still lacked some technology in some field of multimedia.
Such as the ducoment with illusion technology, can browse literal when seldom having technology can be implemented in audio plays/video flowing.Though player can be realized ducoment with illusion when playing the video file of advanced streaming format (hereinafter to be referred as ASF), but the technology that it adopts is to insert some signs in the middle of audio, yet not every audio can be inserted sign in the centre, and this technology scope of application is smaller like this.What need now is to change audio, and can both realize the technology of ducoment with illusion when being adapted at playing any format audio/video flowing, and the present invention has just realized such technology.
3 summary of the invention
The method that audio is got ready is to indicate in audio, but sign is not to write in the audio but write the method for a file (getting file ready).
The form that audio is got file ready is that the beginning of file is unified resource ground (hereinafter to be referred as URL), then is the tabulation of the file of time and corresponding storage literal.
The method for synchronous of audio and literal is that file is got in player request in the request audio ready.Particularly, the broadcast process has a request audio thread and a request to get the file thread ready, get ready in the file thread to resolve in request and get file ready and write chained list (time list), by clock message retrieval time list, watch whether free node is within last second of current play position (time), if just trigger an incident.Catch simultaneously this incident in the IE browser, then the URL address that spreads out of by this incident of IE browser link is carried out literal and is browsed.Based on the audio of these all forms of technology can both realize with literal synchronously.
4 description of drawings
Fig. 1 is a form of getting file ready.
Fig. 2 has provided the process of the synchronous realization of audio and literal.
Fig. 3 gets file ready for resolving.
Fig. 4 is IE browser capturing events and the process of browsing literal.
5 embodiments
The present invention browses literal when being implemented in audio plays/video flowing by a series of processing method, and need not change audio.The basic thought of its realization is:
Produce the sign that a file (getting file ready) storage should be done in audio;
In player, ask audio and get file ready simultaneously, and do certain processing, be played in audio and produce an incident as extraneous interface when needing display text;
Catching this incident by the IE browser handles accordingly and browses literal.
When want to realize that audio and literal are synchronous, at first should in audio, indicate that player just can be known this display text in the process of player plays audio like this.The ASF video file format is exactly that so sign has been made in the place at this display text in its stream, and the whole video file is exactly one section video flowing one segment mark.When this format video file of player plays, just can realize that audio and literal are synchronous like this.But the audio/video stream file of not all form can both make this form into, can reduce result of broadcast even can change also.We write another place to these signs based on this, write in the file, and this file is called as gets file ready, so just need not change audio, no matter therefore the video file of which kind of form can be realized the synchronous of audio and literal.
Getting file ready is not the very complicated file of what form, and it is a text only.Form such as Fig. 1 comprise URL address, time tag and WEB filename or text (storage literal) name.
Real realization audio and literal are player synchronously.In program, the player process is divided two request threads, a thread request audio, and file such as Fig. 2 are got in another request ready.
Request is got the file thread ready and is mainly handled to resolve and get file (will check whether get file ready certainly in the player process, if just need not start this thread) ready.Check at first whether get fileinfo ready wrong, if wrong end thread is not resolved, if errorless analysis result is deposited in chained list (claiming time list here), wherein two word strings are as follows in chained list:
The word string 1=time
Word string 2=HTTP: //WEB server ip address/WEB virtual directory/filename word string 1 is that player is handled the time (being to be least unit with the second) required when synchronous, word string 2 is URL addresses that player spreads out of by incident when showing synchronously, and connects this URL address by the IE browser and browse literal.
In request audio thread, just read in stream and do not do any processing.Begin to play as Fig. 2 after reading in stream, in this broadcast process, handle whole synchronizing process.
In the broadcast process, be provided with clock (, be a second so clock interval is set, otherwise can produce synchronism deviation or repeatedly activate incident), in its call back function, carry out Synchronous Processing because the time in the time list is least unit with the second.Judged whether that at first audio plays, do not returned, because program stream is play and stopped to remake any processing and all do not have what meaning if do not make any processing function; So just judge further that not free tabulation is arranged if program stream is being play, if having, then whether the judgement time tabulation is empty; If be empty, then obtain current play position (time) from player, allow in front one second with the internal trigger incident at every turn, do not comprise just equaling current location last second.Whether the present node of review time tabulation in this scope, if, trigger event then; If this node is greater than current play position, so just tabulation retrieval time forward is up to retrieving satisfactory node and with this node trigger event of present node pointed, if just the trigger event node pointer is not motionless; If this node subtracts one second less than current play position, so search for first backward and subtract one second big node than current location and, if search is less than back node trigger event not always just with this node trigger event of present node pointed.In the broadcast forward that this process sound intermediate frequency/video flowing does not stop, just whether trigger event is received also not processing events regardless of incident.This incident is exactly an external interface, outwards spreads out of a parameter, and this parameter is the URL address string in the chained list.
Write as an assembly in this player process, in the IE browser, called the incident of this assembly and capture component triggering at any time.When player the time just in audio plays/video flowing, the IE browser is being waited for the generation of incident always, the IE browser will capture this incident when player produces incident, because the parameter that incident spreads out of is the URL address, the IE browser will be connected to this URL address, just can browse Word message in browser.
Whole process is exactly the synchronous realization of audio and literal, this know-why is similar to the video flowing of playing the ASF form, but difference is that it is the distillation of the simultaneous techniques of ASF format audio/video flowing and literal, and the audio that player need not depend on certain form just can realize the synchronous of audio and literal.
This technology can be used on multimedia net work teaching, by it, can be implemented in synchronous demonstration of Web-based instruction sound intermediate frequency, video and comment and broadcast, thereby can make the Web-based instruction lively more and effective.
Claims (3)
1. audio and literal is to make the audio of various forms and literal show synchronously by certain method synchronously.The step of this method is:
Getting file logging ready by a special file needs at middle some signs that should do of audio, and these signs are when should trigger an incident for player in the process of audio plays/video flowing.
In the player process, realize synchronous process.Player requests divides two threads to carry out, and one is to get file request ready, and a resolution file and a parsing content deposit chained list in request process.Another is the audio request, be provided with clock in the broadcast process, when audio plays/video flowing while, the retrieval chained list is sought at the timing node of current play position (time) in last second in the call back function of clock, if any just trigger event of player, as external interface.
The IE browser is caught the incident that player triggers, and the URL address string that connection event spreads out of is browsed literal.
2. according to the process of claim 1 wherein that the method that audio is got ready is that the sign that do has been write in the file (getting file ready) in audio.Need not change the form of original audio, the form to audio does not have special requirement.
3. according to the method for claim 2, wherein getting file ready is exactly the text of the form of oneself, and file head is a URL address string, then is the tabulation of time and filename.The word string reorganization deposits chained list in behind the document analysis.
Priority Applications (1)
| Application Number | Priority Date | Filing Date | Title |
|---|---|---|---|
| CNA021253226A CN1471305A (en) | 2002-07-25 | 2002-07-25 | Synchrnoous driven technique for multimedia audio-video and declarative word |
Applications Claiming Priority (1)
| Application Number | Priority Date | Filing Date | Title |
|---|---|---|---|
| CNA021253226A CN1471305A (en) | 2002-07-25 | 2002-07-25 | Synchrnoous driven technique for multimedia audio-video and declarative word |
Publications (1)
| Publication Number | Publication Date |
|---|---|
| CN1471305A true CN1471305A (en) | 2004-01-28 |
Family
ID=34142838
Family Applications (1)
| Application Number | Title | Priority Date | Filing Date |
|---|---|---|---|
| CNA021253226A Pending CN1471305A (en) | 2002-07-25 | 2002-07-25 | Synchrnoous driven technique for multimedia audio-video and declarative word |
Country Status (1)
| Country | Link |
|---|---|
| CN (1) | CN1471305A (en) |
Cited By (9)
| Publication number | Priority date | Publication date | Assignee | Title |
|---|---|---|---|---|
| CN1859544B (en) * | 2005-12-01 | 2010-05-05 | 华为技术有限公司 | System and method for playing media |
| CN101149957B (en) * | 2007-09-30 | 2010-06-23 | 炬力集成电路设计有限公司 | Voice and word synchronous playing method and player |
| CN103220058A (en) * | 2012-01-20 | 2013-07-24 | 旭扬半导体股份有限公司 | Device and method for synchronizing audio data and visual data |
| CN103605510A (en) * | 2013-11-01 | 2014-02-26 | 国家电网公司 | Digital learning tool manufacturing system and method |
| WO2014032580A1 (en) * | 2012-09-03 | 2014-03-06 | Tencent Technology (Shenzhen) Company Limited | System and method for generating event distribution information |
| CN104053066A (en) * | 2014-06-13 | 2014-09-17 | 无锡天脉聚源传媒科技有限公司 | Method and device for dotting video |
| CN105897725A (en) * | 2016-05-06 | 2016-08-24 | 亿瑞互动科技(北京)有限公司 | Method and device for synchronizing audio with PPT in online teaching and relevant equipment |
| CN107330000A (en) * | 2017-06-09 | 2017-11-07 | 天脉聚源(北京)传媒科技有限公司 | The player method and device of news video |
| CN108241461A (en) * | 2016-12-26 | 2018-07-03 | 北京奇虎科技有限公司 | A method and device for online production of audio presentations |
-
2002
- 2002-07-25 CN CNA021253226A patent/CN1471305A/en active Pending
Cited By (14)
| Publication number | Priority date | Publication date | Assignee | Title |
|---|---|---|---|---|
| CN1859544B (en) * | 2005-12-01 | 2010-05-05 | 华为技术有限公司 | System and method for playing media |
| CN101149957B (en) * | 2007-09-30 | 2010-06-23 | 炬力集成电路设计有限公司 | Voice and word synchronous playing method and player |
| CN103220058A (en) * | 2012-01-20 | 2013-07-24 | 旭扬半导体股份有限公司 | Device and method for synchronizing audio data and visual data |
| US9116605B2 (en) | 2012-09-03 | 2015-08-25 | Tencent Technology (Shenzhen) Company Limited | System and method for generating event distribution information |
| WO2014032580A1 (en) * | 2012-09-03 | 2014-03-06 | Tencent Technology (Shenzhen) Company Limited | System and method for generating event distribution information |
| CN103680562A (en) * | 2012-09-03 | 2014-03-26 | 腾讯科技(深圳)有限公司 | Point distribution method and device for audio file |
| CN103680562B (en) * | 2012-09-03 | 2017-03-22 | 腾讯科技(深圳)有限公司 | Point distribution method and device for audio file |
| CN103605510A (en) * | 2013-11-01 | 2014-02-26 | 国家电网公司 | Digital learning tool manufacturing system and method |
| CN103605510B (en) * | 2013-11-01 | 2017-08-25 | 国家电网公司 | A kind of Digital Learning tool making system and method |
| CN104053066A (en) * | 2014-06-13 | 2014-09-17 | 无锡天脉聚源传媒科技有限公司 | Method and device for dotting video |
| CN105897725A (en) * | 2016-05-06 | 2016-08-24 | 亿瑞互动科技(北京)有限公司 | Method and device for synchronizing audio with PPT in online teaching and relevant equipment |
| CN108241461A (en) * | 2016-12-26 | 2018-07-03 | 北京奇虎科技有限公司 | A method and device for online production of audio presentations |
| CN107330000A (en) * | 2017-06-09 | 2017-11-07 | 天脉聚源(北京)传媒科技有限公司 | The player method and device of news video |
| CN107330000B (en) * | 2017-06-09 | 2020-03-17 | 天脉聚源(北京)传媒科技有限公司 | News video playing method and device |
Similar Documents
| Publication | Publication Date | Title |
|---|---|---|
| US7458013B2 (en) | Concurrent voice to text and sketch processing with synchronized replay | |
| US8392834B2 (en) | Systems and methods of authoring a multimedia file | |
| US8074161B2 (en) | Methods and systems for selection of multimedia presentations | |
| US6871318B1 (en) | System and method for authoring, distributing and replaying derivative hypermedia content | |
| CN1152335C (en) | Authoring device and authoring method for creating multimedia files | |
| US20050154679A1 (en) | System for inserting interactive media within a presentation | |
| US10853218B1 (en) | Recording and playback of a web browser session | |
| JP2008521147A (en) | Application crawler method and apparatus | |
| US20130174007A1 (en) | Methods and systems for displaying videos with overlays and tags | |
| US20050144305A1 (en) | Systems and methods for identifying, segmenting, collecting, annotating, and publishing multimedia materials | |
| CN101141622B (en) | Interactive edit and extended expression method of network video link information | |
| CN1471672A (en) | Methods for Collecting Data Using Embedded Media Player Pages | |
| US20040243944A1 (en) | Graphical user interface for viewing interactions between web service objects | |
| TW201909626A (en) | Processing media data using the archive track of web content | |
| CN1471305A (en) | Synchrnoous driven technique for multimedia audio-video and declarative word | |
| Johansen et al. | Search-based composition, streaming and playback of video archive content | |
| RU2399090C2 (en) | System and method for real time internet search of multimedia content | |
| Cazenave et al. | Timesheets. js: When SMIL meets HTML5 and CSS3 | |
| WO2007064438A1 (en) | Triggerless interactive television | |
| JP2010262620A (en) | Method and web server of processing dynamic image for searching purpose | |
| JP2004508605A5 (en) | ||
| JP2004508605A (en) | Method, apparatus and system for storing, reading and playing multimedia data | |
| CN1188796C (en) | System and method for authoring, distributing and replaying derivative hypermedia content | |
| CN118016110A (en) | A media data recording and playing method | |
| CN102487461A (en) | Method for reading aloud webpage on web television and device thereof |
Legal Events
| Date | Code | Title | Description |
|---|---|---|---|
| C06 | Publication | ||
| PB01 | Publication | ||
| C10 | Entry into substantive examination | ||
| SE01 | Entry into force of request for substantive examination | ||
| C02 | Deemed withdrawal of patent application after publication (patent law 2001) | ||
| WD01 | Invention patent application deemed withdrawn after publication |