CN101064669A - Network real-time playing multimedia data method - Google Patents
Network real-time playing multimedia data method Download PDFInfo
- Publication number
- CN101064669A CN101064669A CNA2006100353808A CN200610035380A CN101064669A CN 101064669 A CN101064669 A CN 101064669A CN A2006100353808 A CNA2006100353808 A CN A2006100353808A CN 200610035380 A CN200610035380 A CN 200610035380A CN 101064669 A CN101064669 A CN 101064669A
- Authority
- CN
- China
- Prior art keywords
- multimedia
- video
- audio
- bag
- data
- 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
- Data Exchanges In Wide-Area Networks (AREA)
Abstract
The invention relates to a sending and receiving method of network real time playing multimedia data, the sending method includes following steps: step 1: the local multimedia file with different format, multimedia file collected by local video, multimedia file inducted by URL address of outer multimedia source are as the issuance source of multimedia file, step 2: the multimedia data sending device Source Filter1 packs the multimedia file of said issuance source to multimedia head, multimedia audio package and multimedia video package, and sends via network. The invention also discloses receiving mode of said transmission data. Adopting the invention the compatibility problem of multimedia source and compatibility problem of traditional MMS and RTSP playing are resolved, the receiving end uses Media Player to play real time flow, and compatibles the traditional custom.
Description
Technical field
The present invention relates to Image Communication, especially relate to a kind of method of network real-time playing multimedia data.
Background technology
In traditional real time flow medium is used, the most widely used is MMS (MicrosoftMedia Server) and RTSP (Real Time Streaming Protocol) stream media protocol, do streaming media service if want in same application system, to use these two kinds of agreements, so just must handle MMS and RTSP respectively, need open Media Player player and Real Player player respectively at receiving terminal, when the broadcast format as service end changes (changing the RMVB form into by the ASF form), receiving terminal can not accomplish to use same player plays, and more to the restriction ratio in the real-time multimedia source of playing.Issue requirement at the variety classes multimedia sources, and consider the real-time broadcast of unified multiple different-format file and compatibility, the habituation of receiving terminal, traditional real time flow medium has following shortcoming: the unicity of (1) multimedia sources is difficult to introduce other outside source.(2) the compatible property of multimedia sources is poor, and ASF and RM form switch mutually to be handled dumb to receiving terminal.(3) autgmentability of agreement is strong inadequately, is difficult to add the agreement that the user needs.
Summary of the invention
Technical problem to be solved by this invention is the defective that remedies prior art, proposes the transmission and the method for reseptance of the network real-time playing multimedia data of the compatibility issue that a kind of compatibility issue that can solve multiple multimedia sources and traditional MMS and RTSP play.
Technical problem of the present invention is solved by the following technical programs:
A kind of sending method of network real-time playing multimedia data comprises the steps:
Step 1: will comprise the multimedia file the URL address in multimedia file that the local multimedia file, local video of different-format gather, external multimedia source introduced issue source as multimedia source files,
Step 2: by multi-medium data dispensing device Source Filter1 the multimedia file of described issue source is packaged into multimedia packet header, multimedia audio bag and multimedia video bag, sends by network.
The sending method of described network real-time playing multimedia data is to go out audio and video data streams in the media data flow with the isolated in form of playing, and is packaged as multimedia audio bag and multimedia video bag again.
The media audio bag of described packing and media video bag comprise bag sequence number and the timestamp of stream and the attribute of stream that the type of bag, current time stab, progressively increase successively.
It is to adopt the SOCKET service to intercept that described network sends, and after having listened to the successful connection of multimedia receiving system, at first sends the multimedia packet header of appointment, sends multimedia audio bag, multimedia video bag from current beginning then successively.
A kind of method of reseptance of network real-time playing multimedia data comprises the steps:
Step 1: have the Multimedia Data Receiving Arrangement Source Filter2 of receiving multimedia data dispensing device connection protocol to receive the packet that described multimedia dispensing device sends by a registration;
Step 2: after receiving multimedia packet header, be divided into according to the agreement of installing appointment: multi-medium data packet header, multi-medium data audio pack, multi-medium data video packets;
Step 3:, set up the broadcast link of Source Filter2, simultaneously according to the multimedia header packet information, by different multimedia head types, select audio stream or video flowing, come isochronous audio and video as a reference, when not having audio or video, with independent video flowing or audio stream reference synchronization;
Step 4: synchronous audio/video flow is play.
Described registration has receiving multimedia data dispensing device connection protocol to be meant the address and the port of direct appointment multimedia dispensing device, or generates the form (please carefully examining the expression way here) of URL.
Described step 2 also comprises shifts the multi-medium data that is split as audio pack and video packets onto audio data buffer and video data buffer respectively, the step that the packet that receives in the buffering area is sorted according to the sequence number of bag.
Described synchronized audio/video is with reference to comprising the steps:
Step 5: when synchronized audio/video, set a buffering area that receives audio, video data;
Step 6: begin audio plays from the arrival of first audio pack, write down the timestamp of first audio pack simultaneously, and remember the media time in the current system;
Step 7: open video playback, and the stream timestamp of video packets is not less than the stream timestamp of first audio pack, otherwise the video packets before will abandoning;
Step 8: calculate the media time of current system and the time interval of first audio pack, later on each audio frequency and video bag of arriving of order is just sent into broadcast after all needing stream time by current bag to add the timestamp of adjusting stream blanking time.
Adopt technique scheme, beneficial technical effects of the present invention is: because various multimedia files all are packaged into multimedia packet header, multimedia audio bag and multimedia video bag, send and receive, so can compatible multiple multimedia sources, can support that local video collection, local multimedia file are play, the introducing of outside URL address, the compatible property enhancing of multimedia sources.Because packet fully with self-defining protocol transmission, is handled not influence so ASF and RM formatted data are switched mutually to receiving terminal, has very strong autgmentability.The data buffer zone is set can make broadcast continuously.The stream timestamp of video packets is less than the stream timestamp of first audio pack during video playback, and the video packets before then will abandoning has guaranteed the synchronous of video and audio frequency.In the whole process, receiving terminal is to the unified Media Player that uses of the broadcast of real-time stream, compatible traditional custom, the real-time Transmission that the local media file of different-format is play, directly use the flow data after the compression of original document, do not need to add other coding-decoding operation, improved the efficient of system greatly.
Description of drawings
Fig. 1 is the entire block diagram of netcast multimedia scheme.
Fig. 2 is the schematic diagram of multimedia dispensing device.
Fig. 3 is the schematic diagram that the Source Filter of dispensing device handles data.
Fig. 4 is the Source Filter schematic diagram of receiving system.
Fig. 5 is the schematic diagram that the Source Filter of receiving system handles data.
Embodiment
Also the present invention is described in further detail in conjunction with the accompanying drawings below by specific embodiment.
Embodiment
A kind of method of network real-time playing multimedia data as Fig. 2, shown in Figure 3, comprises the steps:
To comprise the multimedia file the URL address in multimedia file that the local multimedia file, local video of different-format gather, external multimedia source introduced issue source as multimedia source files, by multi-medium data dispensing device Source Filter1 the multimedia file of described issue source is packaged into multimedia packet header, multimedia audio bag and multimedia video bag, sends by network.
Sending method is to go out audio and video data streams in the media data flow with the isolated in form of playing, and is packaged as multimedia audio bag and multimedia video bag again.The bag sequence number that the type that the media audio bag of packing and media video bag comprise bag, current time stab, progressively increase successively and the timestamp of stream and the attribute of stream.
Server adopts SOCKET to intercept, and after having listened to the successful connection of multimedia receiving system, at first sends the multimedia packet header of appointment, sends multimedia audio bag, multimedia video bag from current beginning then successively.
A kind of method of reseptance of network real-time playing multimedia data is as Fig. 4, shown in Figure 5 comprising the steps:
There is the Multimedia Data Receiving Arrangement Source Filter2 of receiving multimedia data dispensing device connection protocol to receive the packet that described multimedia dispensing device sends by a registration; After receiving multimedia packet header, be divided into according to the agreement of installing appointment: multi-medium data packet header, multi-medium data audio pack, multi-medium data video packets; According to the multimedia header packet information, set up the broadcast link of Source Filter2, simultaneously, by different multimedia head types, select audio stream or video flowing, come isochronous audio and video as a reference, when not having audio or video, with independent video flowing or audio stream reference synchronization; Synchronous audio/video flow is play.
Registration has receiving multimedia data dispensing device connection protocol to be meant the address and the port of direct appointment multimedia dispensing device, or generates the form of URL.As VNET: 127.0.0.1:9000 ABC, wherein " VNET " this sign is when registration appointment of multimedia receiving system, can be other any sign; " ABC " is any appointment, also can be other sign.
Also comprise when setting up the broadcast link of Source Filter2 and shift the multi-medium data that is split as audio pack and video packets onto audio data buffer and video data buffer respectively, the step that the packet that receives in the buffering area is sorted according to the sequence number of bag.
Synchronized audio/video is with reference to comprising the steps:
When synchronized audio/video, set a buffering area that receives audio, video data; After receiving the audio frequency and video bag, split respectively, utilize simultaneously after the data of buffer queue buffering 30s, select audio stream, come synchronized audio/video as a reference, the data in buffer queue are less than 10s, then suspend and play, begin to receive buffering, be no less than 30s up to the data that cushion.Begin audio plays from the arrival of first audio pack, write down the timestamp of first audio pack simultaneously, and remember the media time in the current system; Open video playback, and the stream timestamp of video packets is not less than the stream timestamp of first audio pack, otherwise the video packets before will abandoning; In the time of synchronized audio/video, if the bag sequence number of current bag is continuously, but timestamp beat greater than 10 frames (being equivalent to about 0.5s), then carry out frame-skipping and handle; Carry out frame losing handles if the bag sequence number of current bag is discontinuous; If breakpoint is arranged in the attribute, and the timestamp of stream beats greater than 10 frames (being equivalent to about 0.5s), then set reference time again, removes buffered data, receives again.The standard of stream time, stream attribute then stamp to(for) normal stream in order carry out playback process.
Calculate the media time of current system and the time interval of first audio pack, later on each audio frequency and video bag of arriving of order is just sent into broadcast after all needing stream time by current bag to add the timestamp of adjusting stream blanking time.The unified Media Player player that uses of user is watched exactly, need not switch player.
Claims (8)
1. the sending method of a network real-time playing multimedia data comprises the steps:
Step 1: will comprise the multimedia file the URL address in multimedia file that the local multimedia file, local video of different-format gather, external multimedia source introduced issue source as multimedia source files,
Step 2: by multi-medium data dispensing device Source Filter1 the multimedia file of described issue source is packaged into multimedia packet header, multimedia audio bag and multimedia video bag, sends by network.
2. the sending method of network real-time playing multimedia data according to claim 1 is characterized in that: be to go out audio and video data streams in the media data flow with the isolated in form of playing, be packaged as multimedia audio bag and multimedia video bag again.
3. the sending method of network real-time playing multimedia data according to claim 1 and 2 is characterized in that: the media audio bag of described packing and media video bag comprise bag sequence number and the timestamp of stream and the attribute of stream that the type of bag, current time stab, progressively increase successively.
4. the sending method of network real-time playing multimedia data according to claim 3, it is characterized in that: it is to adopt the SOCKET service to intercept that described network sends, after having listened to the successful connection of multimedia receiving system, at first send the multimedia packet header of appointment, send multimedia audio bag, multimedia video bag then successively from current beginning.
5. the method for reseptance of a network real-time playing multimedia data comprises the steps:
Step 1: have the Multimedia Data Receiving Arrangement Source Filter2 of receiving multimedia data dispensing device connection protocol to receive the packet that described multimedia dispensing device sends by a registration;
Step 2: after receiving multimedia packet header, be divided into according to the agreement of installing appointment: multi-medium data packet header, multi-medium data audio pack, multi-medium data video packets;
Step 3:, set up the broadcast link of Source Filter2, simultaneously according to the multimedia header packet information, by different multimedia head types, select audio stream or video flowing, come isochronous audio and video as a reference, when not having audio or video, with independent video flowing or audio stream reference synchronization;
Step 4: synchronous audio/video flow is play.
6. the method for reseptance of network real-time playing multimedia data according to claim 5, it is characterized in that: described registration has receiving multimedia data dispensing device connection protocol to be meant the address and the port of direct appointment multimedia dispensing device, or generates the form of URL.
7. the method for reseptance of network real-time playing multimedia data according to claim 5, it is characterized in that: described step 2 also comprises shifts the multi-medium data that is split as audio pack and video packets onto audio data buffer and video data buffer respectively, the step that the packet that receives in the buffering area is sorted according to the sequence number of bag.
8. the method for reseptance of network real-time playing multimedia data according to claim 5 is characterized in that: described synchronized audio/video is with reference to comprising the steps:
Step 5: when synchronized audio/video, set a buffering area that receives audio, video data;
Step 6: begin audio plays from the arrival of first audio pack, write down the timestamp of first audio pack simultaneously, and remember the media time in the current system;
Step 7: open video playback, and the stream timestamp of video packets is not less than the stream timestamp of first audio pack, otherwise the video packets before will abandoning;
Step 8: calculate the media time of current system and the time interval of first audio pack, later on each audio frequency and video bag of arriving of order is just sent into broadcast after all needing stream time by current bag to add the timestamp of adjusting stream blanking time.
Priority Applications (1)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
CNA2006100353808A CN101064669A (en) | 2006-04-29 | 2006-04-29 | Network real-time playing multimedia data method |
Applications Claiming Priority (1)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
CNA2006100353808A CN101064669A (en) | 2006-04-29 | 2006-04-29 | Network real-time playing multimedia data method |
Publications (1)
Publication Number | Publication Date |
---|---|
CN101064669A true CN101064669A (en) | 2007-10-31 |
Family
ID=38965394
Family Applications (1)
Application Number | Title | Priority Date | Filing Date |
---|---|---|---|
CNA2006100353808A Pending CN101064669A (en) | 2006-04-29 | 2006-04-29 | Network real-time playing multimedia data method |
Country Status (1)
Country | Link |
---|---|
CN (1) | CN101064669A (en) |
Cited By (17)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN101741808A (en) * | 2008-11-17 | 2010-06-16 | 纬创资通股份有限公司 | Network real-time multimedia transmission method and server |
CN102081643A (en) * | 2010-11-23 | 2011-06-01 | 中国联合网络通信集团有限公司 | Method and system for processing contents for downloading |
CN102082761A (en) * | 2009-11-27 | 2011-06-01 | 浙江省公众信息产业有限公司 | Stream media protocol conversion system and method |
CN102196312A (en) * | 2010-03-02 | 2011-09-21 | 北大方正集团有限公司 | Audio and video data stream playing method and device |
CN101552791B (en) * | 2009-05-22 | 2012-09-19 | 腾讯科技(深圳)有限公司 | Method and system for playing multiple media file |
CN102754120A (en) * | 2008-09-30 | 2012-10-24 | 惠普发展公司,有限责任合伙企业 | Auto-publishing photo albums on a home server |
CN101938606B (en) * | 2009-07-03 | 2012-12-26 | 北京大学 | Method, system and device for propelling multimedia data |
CN102970556A (en) * | 2012-12-03 | 2013-03-13 | 深圳市维尚视界立体显示技术有限公司 | 3DV (Three-Dimensional Video) encapsulation and playing method and 3DV encapsulating and playing system |
CN104270594A (en) * | 2014-09-24 | 2015-01-07 | 大唐移动通信设备有限公司 | Data packet sending and receiving method and device |
CN105263032A (en) * | 2015-10-12 | 2016-01-20 | 天脉聚源(北京)传媒科技有限公司 | Program acquiring method and device |
CN105263033A (en) * | 2015-10-12 | 2016-01-20 | 天脉聚源(北京)传媒科技有限公司 | Audio and video data sending method and device and audio and video data receiving method and device |
CN106878804A (en) * | 2011-09-06 | 2017-06-20 | 高通股份有限公司 | Transmitted as a stream through the network of coded video data |
CN108174283A (en) * | 2017-12-27 | 2018-06-15 | 威创集团股份有限公司 | A kind of vision signal source generating method and device |
CN108322821A (en) * | 2018-02-28 | 2018-07-24 | 北京酷我科技有限公司 | A kind of audio play in data buffering strategy |
CN108563760A (en) * | 2018-04-17 | 2018-09-21 | 青岛海信电器股份有限公司 | media playing method and device |
CN108737807A (en) * | 2018-05-10 | 2018-11-02 | Oppo广东移动通信有限公司 | A kind of data processing method, terminal, server and computer storage media |
CN109660843A (en) * | 2018-12-29 | 2019-04-19 | 深圳市九洲电器有限公司 | Vehicle-mounted real time playing method and system |
-
2006
- 2006-04-29 CN CNA2006100353808A patent/CN101064669A/en active Pending
Cited By (22)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN102754120A (en) * | 2008-09-30 | 2012-10-24 | 惠普发展公司,有限责任合伙企业 | Auto-publishing photo albums on a home server |
CN101741808A (en) * | 2008-11-17 | 2010-06-16 | 纬创资通股份有限公司 | Network real-time multimedia transmission method and server |
CN101552791B (en) * | 2009-05-22 | 2012-09-19 | 腾讯科技(深圳)有限公司 | Method and system for playing multiple media file |
CN101938606B (en) * | 2009-07-03 | 2012-12-26 | 北京大学 | Method, system and device for propelling multimedia data |
CN102082761A (en) * | 2009-11-27 | 2011-06-01 | 浙江省公众信息产业有限公司 | Stream media protocol conversion system and method |
CN102196312A (en) * | 2010-03-02 | 2011-09-21 | 北大方正集团有限公司 | Audio and video data stream playing method and device |
CN102081643A (en) * | 2010-11-23 | 2011-06-01 | 中国联合网络通信集团有限公司 | Method and system for processing contents for downloading |
CN102081643B (en) * | 2010-11-23 | 2014-03-12 | 中国联合网络通信集团有限公司 | Method and system for processing contents for downloading |
CN106878804A (en) * | 2011-09-06 | 2017-06-20 | 高通股份有限公司 | Transmitted as a stream through the network of coded video data |
CN106878804B (en) * | 2011-09-06 | 2019-10-18 | 高通股份有限公司 | Method and apparatus and non-transitory computer readable medium for the network stream transmission through coded video data |
CN102970556A (en) * | 2012-12-03 | 2013-03-13 | 深圳市维尚视界立体显示技术有限公司 | 3DV (Three-Dimensional Video) encapsulation and playing method and 3DV encapsulating and playing system |
CN102970556B (en) * | 2012-12-03 | 2014-12-03 | 深圳市维尚视界立体显示技术有限公司 | 3DV (Three-Dimensional Video) encapsulation and playing method and 3DV encapsulating and playing system |
CN104270594A (en) * | 2014-09-24 | 2015-01-07 | 大唐移动通信设备有限公司 | Data packet sending and receiving method and device |
CN105263033A (en) * | 2015-10-12 | 2016-01-20 | 天脉聚源(北京)传媒科技有限公司 | Audio and video data sending method and device and audio and video data receiving method and device |
CN105263032B (en) * | 2015-10-12 | 2018-06-19 | 天脉聚源(北京)传媒科技有限公司 | A kind of program acquisition method and device |
CN105263033B (en) * | 2015-10-12 | 2018-09-25 | 天脉聚源(北京)传媒科技有限公司 | A kind of sending method of audio, video data, method of reseptance and device |
CN105263032A (en) * | 2015-10-12 | 2016-01-20 | 天脉聚源(北京)传媒科技有限公司 | Program acquiring method and device |
CN108174283A (en) * | 2017-12-27 | 2018-06-15 | 威创集团股份有限公司 | A kind of vision signal source generating method and device |
CN108322821A (en) * | 2018-02-28 | 2018-07-24 | 北京酷我科技有限公司 | A kind of audio play in data buffering strategy |
CN108563760A (en) * | 2018-04-17 | 2018-09-21 | 青岛海信电器股份有限公司 | media playing method and device |
CN108737807A (en) * | 2018-05-10 | 2018-11-02 | Oppo广东移动通信有限公司 | A kind of data processing method, terminal, server and computer storage media |
CN109660843A (en) * | 2018-12-29 | 2019-04-19 | 深圳市九洲电器有限公司 | Vehicle-mounted real time playing method and system |
Similar Documents
Publication | Publication Date | Title |
---|---|---|
CN101064669A (en) | Network real-time playing multimedia data method | |
CN101371488B (en) | Synchronization method and system between different media flows | |
US20200029130A1 (en) | Method and apparatus for configuring content in a broadcast system | |
JP5214659B2 (en) | Transport stream for program stream conversion | |
CN100568971C (en) | The transmission code stream of a kind of MPEG-4 is to the real time conversion method of internet stream media alliance stream | |
US20030161302A1 (en) | Continuous media system | |
US20050018615A1 (en) | Media transmitting method, media receiving method, media transmitter and media receiver | |
KR20190045117A (en) | Method of delivering media data based on packet with header minimizing delivery overhead | |
CN1960498A (en) | Method for realizing multiple audio tracks in mobile multimedia broadcast system | |
WO2007045140A1 (en) | A real-time method for transporting multimedia data | |
WO2008061416A1 (en) | A method and a system for supporting media data of various coding formats | |
CN108881927A (en) | A kind of video data synthetic method and device | |
EP2471271A1 (en) | System and method to support different ingest and delivery schemes for a content delivery network | |
JP4308555B2 (en) | Receiving device and information browsing method | |
CN1822592A (en) | Method for performing data transport over a serial bus using internet protocol and apparatus for use in the method | |
CN101616060B (en) | Method and system for switching multicast to unicast for IPTV terminal | |
EP1936908A1 (en) | Method, apparatus and data container for transferring high resolution audio/video data in a high speed IP network | |
CN101854286A (en) | UDP (User Datagram Protocol)-based data stream sending-receiving method and device | |
KR101567991B1 (en) | Data transport container for transferring data in a high speed internet protocol network | |
JP4689996B2 (en) | Multimedia content high-speed download service apparatus and method | |
CN100464586C (en) | MPEG1 file real-time playing method based on IP STB | |
WO2008022499A1 (en) | A packetting method of a mobile multimedia broadcasting real-time strame | |
CN112953899A (en) | Streaming media distribution system and method supporting multi-audio video streaming protocol | |
CN1976495A (en) | Mobile multimedia broadcasting control information and media information specification transmitting method | |
EP1090491A1 (en) | Preprocessing method for adapting mpeg-4 data streams to the internet network |
Legal Events
Date | Code | Title | Description |
---|---|---|---|
C06 | Publication | ||
PB01 | Publication | ||
C02 | Deemed withdrawal of patent application after publication (patent law 2001) | ||
WD01 | Invention patent application deemed withdrawn after publication |