CN102065339B - Method and system for playing audio and video media stream - Google Patents
Method and system for playing audio and video media stream Download PDFInfo
- Publication number
- CN102065339B CN102065339B CN201010536555.XA CN201010536555A CN102065339B CN 102065339 B CN102065339 B CN 102065339B CN 201010536555 A CN201010536555 A CN 201010536555A CN 102065339 B CN102065339 B CN 102065339B
- Authority
- CN
- China
- Prior art keywords
- stream
- audio
- video frequency
- media
- parameter
- 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.)
- Active
Links
Images
Landscapes
- Two-Way Televisions, Distribution Of Moving Picture Or The Like (AREA)
Abstract
The invention discloses a method and a system for playing audio and video media stream. The method comprises that: a stream media terminal judges whether the playing parameter of the audio and video media stream is matched with the playing parameter supported by the stream media terminal, and judges whether the network parameter of a transport network supports the downloading parameter of the audio and video media stream; when the playing parameter of the audio and video media stream is not matched with the playing parameter supported by the stream media terminal, a request transcoding server transcodes the playing parameter of the audio and video media stream according to the playing parameter supported by the stream media terminal; and when the network parameter of the transport network does not support the downloading parameter of the audio and video media stream, the request transcoding server transcodes the playing parameter of the audio and video media stream according to the network parameter of the transport network, and then decodes and plays the transcoded audio and video media stream. According to the embodiment of the invention, the method and the system can avoid the conditions that the audio and video media stream cannot be played and the pictures are paused when the audio and video media stream is played through the network.
Description
Technical field
The present invention relates to the audio frequency and video technology, especially a kind of player method and system of audio-video frequency media stream.
Background technology
Stream media technology, exactly continuous image and acoustic information after processing, overcompression are obtained audio, video data, this audio, video data is placed on the streaming media server, and the user can be from the network transmission technology of streaming media server limit this audio, video data of downloading and playing by client.Along with constantly bringing forth new ideas of network technology and Digital Media compress technique, on mobile network and internet, all obtained high speed development based on the streaming media service of stream media technology, become a kind of trend by watching audio, video data on the network.
In realizing process of the present invention, the inventor finds, in traditional stream media service system, because terminal is of a great variety, various terminals are uneven in the parameter of the aspects such as screen size, decoding capability, so that the audio-video frequency media stream that streaming media server issues can't be accurately adaptive with terminal; The impact that network is watched audio-video frequency media stream is larger, especially on radio hand-held equipment, can't adjust in real time the code check of the audio-video frequency media stream that streaming media server issues, and makes it adaptive with the network bandwidth.Therefore; under the overall background that the prior art multiple network merges; when the user watches streaming media service by terminal, the playback problem such as not smooth, picture pause in audio-video frequency media stream playing process, often can occur to play, playing, make the experience of user's convection current media business relatively poor.
Summary of the invention
Embodiment of the invention technical problem to be solved is: player method and the system of a kind of audio-video frequency media stream are provided, occur audio-video frequency media stream when avoiding flowing by the netcast audio-video frequency media and can't play, play the playback problem such as not smooth, picture pause.
For solving the problems of the technologies described above, the player method of a kind of audio-video frequency media stream that the embodiment of the invention provides comprises:
Stream media terminal obtains play parameter and the download parameters of the audio-video frequency media stream on the streaming media server of current accessed, and whether the play parameter of more described audio-video frequency media stream mate with the play parameter of described stream media terminal support, and judge whether the network parameter that transmits network supports the download parameters that described audio-video frequency media flows;
When the play parameter of the play parameter of described audio-video frequency media stream and described stream media terminal support is not mated, described stream media terminal sends the first transcoding request to transcoding server, comprises the universal resource locator URL of described audio-video frequency media stream and the play parameter that described stream media terminal is supported in described the first transcoding request; Described transcoding server is accessed described audio-video frequency media stream according to described URL, and according to the play parameter of described stream media terminal support the play parameter of described audio-video frequency media stream is carried out transcoding;
When the network parameter that transmits network is not supported the download parameters of described audio-video frequency media stream, described stream media terminal sends the second transcoding request to transcoding server, comprises the URL and the network parameter that transmits network of described audio-video frequency media stream in described the second transcoding request; Described transcoding server is accessed described audio-video frequency media stream according to described URL, and according to the network parameter that transmits network the play parameter of described audio-video frequency media stream is carried out transcoding;
The audio-video frequency media stream of described transcoding server after with transcoding sends to described stream media terminal;
Described stream media terminal receives the audio-video frequency media stream behind the transcoding, and the audio-video frequency media stream behind the described transcoding is decoded and play.
The Play System of a kind of audio-video frequency media stream that the embodiment of the invention provides comprises:
Streaming media server, be used for the storage audio, video data, and when receiving the access request that stream media terminal sends based on URL, the audio, video data of storage is resolved to audio-video frequency media stream send to described stream media terminal, described audio, video data is by unique URL location;
Stream media terminal, play parameter and download parameters for the audio-video frequency media stream that obtains current accessed, and whether the play parameter of more described audio-video frequency media stream mate with the play parameter of described stream media terminal support, and judge whether the network parameter that transmits network supports the download parameters that described audio-video frequency media flows; When the play parameter of the play parameter of described audio-video frequency media stream and described stream media terminal support is not mated, send the first transcoding request to transcoding server, comprise the URL of described audio-video frequency media stream and the play parameter that described stream media terminal is supported in described the first transcoding request; When the network parameter that transmits network is not supported the download parameters of described audio-video frequency media stream, send the second transcoding request to transcoding server, comprise the URL and the network parameter that transmits network of described audio-video frequency media stream in described the second transcoding request; And receive audio-video frequency media stream behind the described transcoding server transcoding, and the audio-video frequency media stream behind the described transcoding is decoded and play; And when the play parameter coupling of the play parameter of described audio-video frequency media stream and described stream media terminal support, the network parameter that transmits network are supported download parameters that described audio-video frequency media flows, the audio-video frequency media stream of current accessed is decoded and play;
Transcoding server, be used for when receiving described the first transcoding request and/or described the second transcoding request, access described audio-video frequency media stream according to the URL in described the first transcoding request and/or described the second transcoding request, and according to the play parameter of stream media terminal support described in described the first transcoding request the play parameter of described audio-video frequency media stream is carried out transcoding, and according to the network parameter that transmits network described in described the second transcoding request the play parameter of described audio-video frequency media stream is carried out transcoding, and the audio-video frequency media stream behind the transcoding is sent to described stream media terminal.
Player method and system that the audio-video frequency media that provides based on the above embodiment of the present invention flows, stream media terminal can compare the play parameter of current accessed audio-video frequency media stream and whether the play parameter of stream media terminal support mates, and judge whether the network parameter that transmits network supports the download parameters of this audio-video frequency media stream, when the play parameter of the play parameter of audio-video frequency media stream and stream media terminal support is not mated, the request transcoding server carries out transcoding according to the play parameter according to the stream media terminal support to the play parameter of this audio-video frequency media stream, makes the play parameter of audio-video frequency media stream and the play parameter coupling that stream media terminal is supported; And when the network parameter that transmits network is not supported the download parameters of this audio-video frequency media stream, the request transcoding server carries out transcoding according to the network parameter that transmits network to the download parameters that this audio-video frequency media flows, make the network parameter that transmits network support the download parameters of audio-video frequency media stream, then the audio-video frequency media behind the stream media terminal broadcast transcoding flows, compared with prior art, solve stream media terminal and transmitted the impact of network on the playing audio-video Media Stream, avoided because the audio-video frequency media stream and stream media terminal parameter of playing, what the network parameter of transmission network caused when inconsistent can't play, play not smooth, the playback problem such as picture pause have improved the experience of user to streaming media service.
Below by drawings and Examples, technical scheme of the present invention is described in further detail.
Description of drawings
In order to be illustrated more clearly in the embodiment of the invention or technical scheme of the prior art, the below will do to introduce simply to the accompanying drawing of required use in embodiment or the description of the Prior Art, apparently, accompanying drawing in the following describes only is some embodiments of the present invention, for those of ordinary skills, under the prerequisite of not paying creative work, can also obtain according to these accompanying drawings other accompanying drawing.
Fig. 1 is the flow chart of an embodiment of player method of audio-video frequency media stream of the present invention;
Fig. 2 is the flow chart of another embodiment of player method of audio-video frequency media stream of the present invention;
Fig. 3 is the structural representation of an embodiment of Play System of audio-video frequency media stream of the present invention.
Embodiment
Below in conjunction with the accompanying drawing in the embodiment of the invention, the technical scheme in the embodiment of the invention is clearly and completely described, obviously, described embodiment only is the present invention's part embodiment, rather than whole embodiment.Based on the embodiment among the present invention, those of ordinary skills belong to the scope of protection of the invention not making the every other embodiment that obtains under the creative work prerequisite.
Fig. 1 is the flow chart of an embodiment of player method of audio-video frequency media stream of the present invention.As shown in Figure 1, the player method of the audio-video frequency media of this embodiment stream comprises following flow process:
If the play parameter coupling that the play parameter of audio-video frequency media stream and stream media terminal are supported, and the network parameter that transmits network is supported the download parameters of this audio-video frequency media stream, then stream media terminal directly the audio/video flow of convection media server transmission decode and play.
As a specific embodiment of the present invention, transmission network wherein specifically can be: global system for mobile communications (Global System for Mobile Communications, hereinafter to be referred as: GSM) network, code division multiple access (Code Division Multiple Access, hereinafter to be referred as: CDMA) network, the third generation (The 3rd Generation, hereinafter to be referred as: 3G) mobile telephone network, WLAN (Wireless Local Area Network, hereinafter to be referred as: WLAN), NGN system (Next Generation Network, hereinafter to be referred as: NGN), internet or GPRS (General Packet RadioService, hereinafter to be referred as: GPRS) any communication network that can the transmission tone video media stream such as network.
The player method of the audio-video frequency media that the provides stream that the above embodiment of the present invention provides, stream media terminal can compare the play parameter of current accessed audio-video frequency media stream and whether the play parameter of stream media terminal support mates, and judge whether the network parameter that transmits network supports the download parameters of this audio-video frequency media stream, when the play parameter of the play parameter of audio-video frequency media stream and stream media terminal support is not mated, the request transcoding server carries out transcoding according to the play parameter according to the stream media terminal support to the play parameter of this audio-video frequency media stream, makes the play parameter of audio-video frequency media stream and the play parameter coupling that stream media terminal is supported; And when the network parameter that transmits network is not supported the download parameters of this audio-video frequency media stream, the request transcoding server carries out transcoding according to the network parameter that transmits network to the download parameters that this audio-video frequency media flows, make the network parameter that transmits network support the download parameters of audio-video frequency media stream, then the audio-video frequency media behind the stream media terminal broadcast transcoding flows, solve stream media terminal and transmitted the impact of network on the playing audio-video Media Stream, avoided because the audio-video frequency media stream and stream media terminal parameter of playing, what the network parameter of transmission network caused when inconsistent can't play, play not smooth, the playback problem such as picture pause have improved the experience of user to streaming media service.
As a specific embodiment of the present invention, in step 101, stream media terminal can obtain first the play parameter of the audio-video frequency media stream on the streaming media server of current accessed, and relatively whether the play parameter of this audio-video frequency media stream and the play parameter of stream media terminal support mate; Also can obtain first the download parameters of the audio-video frequency media stream on the streaming media server, and whether the network parameter that relatively transmits network supports the download parameters of this audio-video frequency media stream; Perhaps, stream media terminal also can obtain play parameter and the download parameters of the audio-video frequency media stream on the streaming media server of current accessed simultaneously, and carry out simultaneously relatively the play parameter of this audio-video frequency media stream and whether mate with the play parameter of stream media terminal support, whether support the operation of the download parameters that this audio-video frequency media flows with the network parameter that transmits network.
As another specific embodiment of the present invention, step 101 specifically can realize in the following way: stream media terminal obtains the play parameter of the audio-video frequency media stream on the streaming media server of current accessed, and relatively whether the play parameter of audio-video frequency media stream and the play parameter of stream media terminal support mate; When the play parameter coupling that play parameter and the stream media terminal of audio-video frequency media stream are supported, stream media terminal receives audio-video frequency media stream, obtain the download parameters of audio-video frequency media stream, then begin to carry out the operation whether network parameter that middle judgement embodiment illustrated in fig. 1 transmits network supports the download parameters of audio-video frequency media stream; When the play parameter of audio-video frequency media stream was not mated with the play parameter of stream media terminal support, the operation of execution in step 102-step 103 began afterwards to carry out above-mentioned stream media terminal and receives the operation that audio-video frequency media flows.
In addition, as another specific embodiment of the present invention, the play parameter of audio-video frequency media stream comprises resolution, frame per second and the code/decode type of audio-video frequency media stream.Accordingly, in the step 101 of embodiment shown in Figure 1, stream media terminal can obtain the play parameter of the audio-video frequency media stream of current accessed in the following way: stream media terminal is by the stream of the audio-video frequency media on the URL access stream media server, and this audio-video frequency media stream can be audio-video document and/or live TV stream; When audio-video frequency media stream was live TV stream, stream media terminal obtained the play parameter of audio-video frequency media stream by the stream media protocol of resolution flow media server to stream media terminal transmission live TV stream.Concrete, this stream media protocol specifically can be: real-time Flow Control agreement (Real Time StreamProtocol, hereinafter to be referred as: RTSP), HTML (Hypertext Markup Language) (Hyper Text TransportProtocol, hereinafter to be referred as: HTTP) or the real-time messages agreement (Real Time MessageProtocol, hereinafter to be referred as: RTMP).When audio-video frequency media stream was audio-video document, stream media terminal obtained the play parameter of audio-video frequency media stream by resolving file header or the packet header of audio-video document.
In addition, as another specific embodiment of the present invention, the download parameters of audio-video frequency media stream comprises downloading flow and the code check of audio-video frequency media stream.Accordingly, in the step 101 of embodiment shown in Figure 1, the download parameters that stream media terminal specifically can obtain the audio-video frequency media stream of current accessed in the following way comprises: stream media terminal obtains the downloading flow of audio-video frequency media stream, and according to the downloading flow of audio-video frequency media stream and the code check of download time calculating audio-video frequency media stream.
Further, as also specific embodiment of the present invention, the player method of audio-video frequency media stream embodiment illustrated in fig. 1 can also comprise: stream media terminal obtains the play parameter that stream media terminal is supported, comprises resolution, frame per second and coding/decoding capability parameter that stream media terminal is supported.Concrete, can from this stream media terminal, obtain the play parameter that this pre-stored stream media terminal is supported, also can obtain the play parameter that this stream media terminal is supported from the pre-stored respectively server of the play parameter of this stream media terminal support, and calculating the network parameter that transmits network, this network parameter comprises the actual flow bit rate that transmits network.
Fig. 2 is the flow chart of another embodiment of player method of audio-video frequency media stream of the present invention.As shown in Figure 2, the player method of the audio-video frequency media of this embodiment stream comprises following flow process:
Concrete, can send access request DESCRIBE message to streaming media server by RTSP, comprising the URL of the audio, video data of wanting to access.
Among the player method embodiment of audio-video frequency media stream shown in Figure 2, describe take audio-video frequency media stream as live TV stream as example, applicable equally for the situation of audio-video document for audio-video frequency media stream, different is, when audio-video frequency media stream is audio-video document, in the step 202, stream media terminal obtains the play parameter of audio-video frequency media stream by resolving file header or the packet header of audio-video document.In the step 203, whether the play parameter of the audio-video frequency media stream that stream media terminal directly relatively obtains and the play parameter of stream media terminal support mate.
Fig. 3 is the structural representation of an embodiment of Play System of audio-video frequency media stream of the present invention.The Play System of the audio-video frequency media stream of this embodiment can be used in the present invention the flow process of the player method embodiment of above-mentioned each audio-video frequency media stream.As shown in Figure 3, it comprises streaming media server 1, stream media terminal 2 and transcoding server 3.
Wherein, streaming media server 1 is used for the storage audio, video data, and when receiving the access request that stream media terminal sends based on URL, the audio, video data of storage is resolved to audio-video frequency media stream send to stream media terminal 2, audio, video data wherein is by unique URL location.
The Play System of the audio-video frequency media stream that the embodiment of the invention provides, stream media terminal can compare the play parameter of current accessed audio-video frequency media stream and whether the play parameter of stream media terminal support mates, and judge whether the network parameter that transmits network supports the download parameters of this audio-video frequency media stream, when the play parameter of the play parameter of audio-video frequency media stream and stream media terminal support is not mated, the request transcoding server carries out transcoding according to the play parameter according to the stream media terminal support to the play parameter of this audio-video frequency media stream, makes the play parameter of audio-video frequency media stream and the play parameter coupling that stream media terminal is supported; And when the network parameter that transmits network is not supported the download parameters of this audio-video frequency media stream, the request transcoding server carries out transcoding according to the network parameter that transmits network to the download parameters that this audio-video frequency media flows, make the network parameter that transmits network support the download parameters of audio-video frequency media stream, then the audio-video frequency media behind the stream media terminal broadcast transcoding flows, solve stream media terminal and transmitted the impact of network on the playing audio-video Media Stream, avoided because the audio-video frequency media stream and stream media terminal parameter of playing, what the network parameter of transmission network caused when inconsistent can't play, play not smooth, the playback problem such as picture pause have improved the experience of user to streaming media service.
Another embodiment as the Play System of audio-video frequency media of the present invention stream, in the Play System of audio-video frequency media stream shown in Figure 3, stream media terminal 2 is concrete to be used for obtaining the play parameter of the audio-video frequency media stream on the streaming media servers 1 of current accessed, and relatively whether the play parameter of audio-video frequency media stream and the play parameter of stream media terminal support mate; When the play parameter coupling that play parameter and the stream media terminal of audio-video frequency media stream are supported, reception audio-video frequency media stream, obtain the download parameters of audio-video frequency media stream, and judge whether the network parameter that transmits network supports the download parameters of audio-video frequency media stream, when the network parameter that transmits network is not supported the download parameters of audio-video frequency media stream, send the second transcoding request to transcoding server 3, and receive audio-video frequency media stream behind transcoding server 3 transcodings, and the audio-video frequency media stream behind the transcoding is decoded and play; When the play parameter of the play parameter of audio-video frequency media stream and stream media terminal support is not mated, send the first transcoding request to transcoding server 3, and after according to the play parameter of stream media terminal support the play parameter of audio-video frequency media stream being carried out transcoding, carry out the operation that receives audio-video frequency media stream.
In the Play System of the audio-video frequency media of above-described embodiment stream, the play parameter of audio-video frequency media stream can comprise that specifically the resolution of audio-video frequency media stream, frame per second join with coding/decoding capability.Accordingly, the stream media terminal 2 concrete audio-video frequency medias that are used for passing through on the URL access stream media server 1 flow, this audio-video frequency media stream comprises audio-video document and/or live TV stream, send the stream media protocol of live TV stream to stream media terminal by resolution flow media server 1, obtain the play parameter of audio-video frequency media stream, stream media protocol wherein is RTSP, HTTP or RTMP specifically; Perhaps, by resolving file header or the packet header of audio-video document, obtain the play parameter of audio-video frequency media stream.
In addition, in the Play System of the audio-video frequency media of above-described embodiment stream, the download parameters of audio-video frequency media stream specifically can comprise downloading flow and the code check of audio-video frequency media stream.Accordingly, the stream media terminal 2 concrete downloading flow that are used for obtaining audio-video frequency media stream, and according to the downloading flow of audio-video frequency media stream and the code check of download time calculating audio-video frequency media stream.
Further, in the Play System of the audio-video frequency media of the above embodiment of the present invention stream, stream media terminal also is used for obtaining the play parameter that stream media terminal is supported, comprise resolution, frame per second and coding/decoding capability parameter that stream media terminal is supported, and calculate the network parameter that transmits network, comprise the actual flow bit rate that transmits network.
Each embodiment all adopts the mode of going forward one by one to describe in this specification, and what each embodiment stressed is and the difference of other embodiment that same or analogous part cross-references gets final product between each embodiment.For device embodiment because itself and embodiment of the method basic simlarity, so describe fairly simple, relevant part gets final product referring to the part explanation of embodiment of the method.
One of ordinary skill in the art will appreciate that: all or part of step that realizes said method embodiment can be finished by the relevant hardware of program command, aforesaid program can be stored in the computer read/write memory medium, this program is carried out the step that comprises said method embodiment when carrying out; And aforesaid storage medium comprises: the various media that can be program code stored such as ROM, RAM, magnetic disc or CD.
The embodiment of the invention can be carried out transcoding to the play parameter of this audio-video frequency media stream according to the play parameter according to the stream media terminal support, makes the play parameter of audio-video frequency media stream and the play parameter coupling that stream media terminal is supported; And according to the network parameter that transmits network the download parameters of this audio-video frequency media stream is carried out transcoding, make the network parameter that transmits network support the download parameters of audio-video frequency media stream, then the audio-video frequency media behind the stream media terminal broadcast transcoding flows, solve stream media terminal and transmitted the impact of network on the playing audio-video Media Stream, avoided because the audio-video frequency media stream and stream media terminal parameter of playing, what the network parameter of transmission network caused when inconsistent can't play, play not smooth, the playback problem such as picture pause have improved the experience of user to streaming media service.
Description of the invention provides for example with for the purpose of describing, and is not exhaustively or limit the invention to disclosed form.Many modifications and variations are obvious for the ordinary skill in the art.Selecting and describing embodiment is for better explanation principle of the present invention and practical application, thereby and makes those of ordinary skill in the art can understand the various embodiment with various modifications that the present invention's design is suitable for special-purpose.
Claims (14)
1. the player method of an audio-video frequency media stream is characterized in that, comprising:
Stream media terminal obtains play parameter and the download parameters of the audio-video frequency media stream on the streaming media server of current accessed, and whether the play parameter of more described audio-video frequency media stream mate with the play parameter of described stream media terminal support, and judge whether the network parameter that transmits network supports the download parameters that described audio-video frequency media flows;
When the play parameter of the play parameter of described audio-video frequency media stream and described stream media terminal support is not mated, described stream media terminal sends the first transcoding request to transcoding server, comprises the universal resource locator URL of described audio-video frequency media stream and the play parameter that described stream media terminal is supported in described the first transcoding request; Described transcoding server is accessed described audio-video frequency media stream according to described URL, and according to the play parameter of described stream media terminal support the play parameter of described audio-video frequency media stream is carried out transcoding;
When the network parameter that transmits network is not supported the download parameters of described audio-video frequency media stream, described stream media terminal sends the second transcoding request to transcoding server, comprises the URL and the network parameter that transmits network of described audio-video frequency media stream in described the second transcoding request; Described transcoding server is accessed described audio-video frequency media stream according to described URL, and according to the network parameter that transmits network the play parameter of described audio-video frequency media stream is carried out transcoding;
The audio-video frequency media stream of described transcoding server after with transcoding sends to described stream media terminal;
Described stream media terminal receives the audio-video frequency media stream behind the transcoding, and the audio-video frequency media stream behind the described transcoding is decoded and play.
2. method according to claim 1, it is characterized in that, stream media terminal obtains play parameter and the download parameters of the audio-video frequency media stream on the streaming media server of current accessed, and whether the play parameter of more described audio-video frequency media stream mate with the play parameter of described stream media terminal support, and judge that the download parameters whether network parameter that transmits network supports described audio-video frequency media to flow comprises:
Stream media terminal obtains the play parameter of the audio-video frequency media stream on the streaming media server of current accessed, and whether the play parameter of more described audio-video frequency media stream and the play parameter of described stream media terminal support mate;
When the play parameter coupling that play parameter and the described stream media terminal of described audio-video frequency media stream are supported, described stream media terminal receives described audio-video frequency media stream, obtain the download parameters of described audio-video frequency media stream, and carry out the operation whether network parameter that described judgement transmits network supports the download parameters of described audio-video frequency media stream;
When the play parameter of the play parameter of described audio-video frequency media stream and described stream media terminal support is not mated, carry out described stream media terminal sends operation from the first transcoding request to transcoding server, and after according to the play parameter of described stream media terminal support the play parameter of described audio-video frequency media stream being carried out transcoding, carry out the operation that described stream media terminal receives described audio-video frequency media stream.
3. method according to claim 1 is characterized in that, the play parameter that described stream media terminal obtains the audio-video frequency media stream of current accessed comprises:
Described stream media terminal flows by the described audio-video frequency media that described URL accesses on the described streaming media server, and described audio-video frequency media stream comprises audio-video document and live TV stream;
Described stream media terminal sends the stream media protocol of described live TV stream by resolving described streaming media server to described stream media terminal, obtains the play parameter of described audio-video frequency media stream; Perhaps, described stream media terminal obtains the play parameter of described audio-video frequency media stream by resolving file header or the packet header of described audio-video document;
The play parameter of described audio-video frequency media stream comprises resolution, frame per second and the code/decode type of described audio-video frequency media stream.
4. method according to claim 3 is characterized in that, described stream media protocol is specially: real-time Flow Control agreement RTSP, HTML (Hypertext Markup Language) HTTP or real-time messages agreement RTMP.
5. method according to claim 3 is characterized in that, the download parameters of described audio-video frequency media stream comprises downloading flow and the code check of described audio-video frequency media stream;
The download parameters that described stream media terminal obtains the audio-video frequency media stream of current accessed comprises: described stream media terminal obtains the downloading flow of described audio-video frequency media stream, and calculates the code check of described audio-video frequency media stream.
6. according to claim 1 to the described method of 5 any one, it is characterized in that, also comprise:
Described stream media terminal obtains the play parameter that described stream media terminal is supported, and calculating transmits the network parameter of network, described network parameter comprises the actual flow bit rate that transmits network, and the play parameter of described stream media terminal support comprises resolution, frame per second and the coding/decoding capability parameter that stream media terminal is supported.
7. method according to claim 6, it is characterized in that described transmission network is specially: global system for mobile communications GSM network, Code Division Multiple Access (CDMA) network, third generation 3G mobile telephone network, WLAN WLAN, NGN system NGN, internet or general packet radio service (GPRS) network.
8. the Play System of an audio-video frequency media stream is characterized in that, comprising:
Streaming media server, be used for the storage audio, video data, and when receiving the access request that stream media terminal sends based on URL, the audio, video data of storage is resolved to audio-video frequency media stream send to described stream media terminal, described audio, video data is by unique URL location;
Stream media terminal, play parameter and download parameters for the audio-video frequency media stream that obtains current accessed, and whether the play parameter of more described audio-video frequency media stream mate with the play parameter of described stream media terminal support, and judge whether the network parameter that transmits network supports the download parameters that described audio-video frequency media flows; When the play parameter of the play parameter of described audio-video frequency media stream and described stream media terminal support is not mated, send the first transcoding request to transcoding server, comprise the URL of described audio-video frequency media stream and the play parameter that described stream media terminal is supported in described the first transcoding request; When the network parameter that transmits network is not supported the download parameters of described audio-video frequency media stream, send the second transcoding request to transcoding server, comprise the URL and the network parameter that transmits network of described audio-video frequency media stream in described the second transcoding request; And receive audio-video frequency media stream behind the described transcoding server transcoding, and the audio-video frequency media stream behind the described transcoding is decoded and play; And when the play parameter coupling of the play parameter of described audio-video frequency media stream and described stream media terminal support, the network parameter that transmits network are supported download parameters that described audio-video frequency media flows, the audio-video frequency media stream of current accessed is decoded and play;
Transcoding server, be used for when receiving described the first transcoding request and/or described the second transcoding request, access described audio-video frequency media stream according to the URL in described the first transcoding request and/or described the second transcoding request, and according to the play parameter of stream media terminal support described in described the first transcoding request the play parameter of described audio-video frequency media stream is carried out transcoding, and according to the network parameter that transmits network described in described the second transcoding request the play parameter of described audio-video frequency media stream is carried out transcoding, and the audio-video frequency media stream behind the transcoding is sent to described stream media terminal.
9. system according to claim 8, it is characterized in that, described stream media terminal specifically is used for obtaining the play parameter of the audio-video frequency media stream on the streaming media server of current accessed, and whether the play parameter of more described audio-video frequency media stream and the play parameter of described stream media terminal support mate; When the play parameter coupling that play parameter and the described stream media terminal of described audio-video frequency media stream are supported, receive described audio-video frequency media stream, obtain the download parameters of described audio-video frequency media stream, and judge whether the network parameter that transmits network supports the download parameters of described audio-video frequency media stream, when the network parameter that transmits network is not supported the download parameters of described audio-video frequency media stream, send the second transcoding request to transcoding server, and receive audio-video frequency media stream behind the described transcoding server transcoding, and the audio-video frequency media stream behind the described transcoding is decoded and play; When the play parameter of the play parameter of described audio-video frequency media stream and described stream media terminal support is not mated, send the first transcoding request to transcoding server, and after according to the play parameter of described stream media terminal support the play parameter of described audio-video frequency media stream being carried out transcoding, carry out the operation that receives described audio-video frequency media stream.
10. system according to claim 9 is characterized in that, the play parameter of described audio-video frequency media stream comprises resolution, frame per second and the coding/decoding capability parameter of described audio-video frequency media stream; Described stream media terminal specifically is used for flowing by the described audio-video frequency media that described URL accesses on the described streaming media server, described audio-video frequency media stream comprises audio-video document and live TV stream, send the stream media protocol of described live TV stream by resolving described streaming media server to described stream media terminal, obtain the play parameter of described audio-video frequency media stream; Perhaps, by file header or the packet header of resolving described audio-video document, obtain the play parameter of described audio-video frequency media stream.
11. system according to claim 10 is characterized in that, described stream media protocol is specially: real-time Flow Control agreement RTSP, HTML (Hypertext Markup Language) HTTP or real-time messages agreement RTMP.
12. system according to claim 9 is characterized in that, the download parameters of described audio-video frequency media stream comprises downloading flow and the code check of described audio-video frequency media stream;
Described stream media terminal specifically is used for obtaining the downloading flow of described audio-video frequency media stream, and calculates the code check of described audio-video frequency media stream.
13. according to claim 8 to the described system of 12 any one, it is characterized in that, described stream media terminal also is used for obtaining the play parameter that described stream media terminal is supported, and calculating transmits the network parameter of network, described network parameter comprises the actual flow bit rate that transmits network, and the play parameter of described stream media terminal support comprises resolution, frame per second and the coding/decoding capability parameter that stream media terminal is supported.
14. system according to claim 13 is characterized in that, described transmission network is specially: GSM network, cdma network, 3G mobile telephone network, WLAN, NGN, internet or GPRS network.
Priority Applications (1)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
CN201010536555.XA CN102065339B (en) | 2010-11-09 | 2010-11-09 | Method and system for playing audio and video media stream |
Applications Claiming Priority (1)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
CN201010536555.XA CN102065339B (en) | 2010-11-09 | 2010-11-09 | Method and system for playing audio and video media stream |
Publications (2)
Publication Number | Publication Date |
---|---|
CN102065339A CN102065339A (en) | 2011-05-18 |
CN102065339B true CN102065339B (en) | 2013-03-20 |
Family
ID=44000396
Family Applications (1)
Application Number | Title | Priority Date | Filing Date |
---|---|---|---|
CN201010536555.XA Active CN102065339B (en) | 2010-11-09 | 2010-11-09 | Method and system for playing audio and video media stream |
Country Status (1)
Country | Link |
---|---|
CN (1) | CN102065339B (en) |
Cited By (1)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN103763577A (en) * | 2013-12-31 | 2014-04-30 | 华为技术有限公司 | Method, device and system for playing media file |
Families Citing this family (21)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
US9210208B2 (en) | 2011-06-21 | 2015-12-08 | The Nielsen Company (Us), Llc | Monitoring streaming media content |
CN102594805A (en) * | 2012-01-30 | 2012-07-18 | 中兴通讯股份有限公司 | Method and system for providing multiple media services through single node |
CN103379363B (en) * | 2012-04-19 | 2018-09-11 | 腾讯科技(深圳)有限公司 | Method for processing video frequency and device, mobile terminal and system |
CN103036889B (en) * | 2012-12-19 | 2016-08-17 | 常州中流电子科技有限公司 | A kind of adaptive flow media playing method and Play System thereof |
CN105264905B (en) * | 2013-05-31 | 2019-06-18 | 索尼公司 | Information processing equipment and information processing method |
CN103561279B (en) * | 2013-10-10 | 2017-02-01 | 中兴通讯股份有限公司 | Method and system for playing multi-media file and cloud transcoding service device |
CN104661113A (en) * | 2013-11-25 | 2015-05-27 | 乐视网信息技术(北京)股份有限公司 | Streaming media live-broadcasting method, server, terminal and communication system |
CN103702180B (en) * | 2014-01-14 | 2017-06-20 | 北京奇艺世纪科技有限公司 | media file playing method and device |
CN103957469B (en) * | 2014-05-21 | 2017-09-15 | 百视通网络电视技术发展有限责任公司 | Based on the Internet video-on-demand method and system for turning encapsulation in real time |
CN106210611B (en) * | 2015-04-30 | 2019-05-03 | 中国电信股份有限公司 | A kind of method for playing video, video monitoring platform and system |
CN105187951B (en) * | 2015-08-05 | 2019-07-09 | 秦永红 | A kind of RTMP flow medium live system Reverse Turning Control method and its system |
CN105847265A (en) * | 2016-03-31 | 2016-08-10 | 乐视控股(北京)有限公司 | Video living streaming transcoding method and device |
CN106101744B (en) * | 2016-06-23 | 2020-07-10 | 深圳创维-Rgb电子有限公司 | Method and device for playing television online |
CN110139167B (en) * | 2018-02-09 | 2022-02-25 | 华为技术有限公司 | Data processing method and server |
CN110278460A (en) * | 2018-03-16 | 2019-09-24 | 上海小麦互动企业发展有限公司 | Content control system and its control method |
CN108965997B (en) * | 2018-07-06 | 2019-09-17 | 刘雅芸 | Stream media live broadcasting method and device based on mobile vulnerable network environment |
CN109347967B (en) * | 2018-11-02 | 2021-08-03 | 网宿科技股份有限公司 | Method and device for acquiring audio and video data |
CN109729384B (en) * | 2018-12-18 | 2021-11-19 | 广州市百果园信息技术有限公司 | Video transcoding selection method and device |
CN111314378B (en) * | 2020-03-18 | 2022-07-29 | 浩云科技股份有限公司 | Code stream data processing method |
CN113784219A (en) * | 2020-06-09 | 2021-12-10 | 中兴通讯股份有限公司 | Terminal device upgrading method, terminal device, control system and storage medium |
CN112804535B (en) * | 2020-12-31 | 2022-06-07 | 湖南快乐阳光互动娱乐传媒有限公司 | Video playing method and capability management system |
Citations (6)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN1694527A (en) * | 2004-04-30 | 2005-11-09 | 微软公司 | Systems and methods for novel real-time audio-visual communication and data collaboration |
CN1946086A (en) * | 2006-10-27 | 2007-04-11 | 杭州华为三康技术有限公司 | Transmission method and device for supporting non-standard speed rate |
CN1981505A (en) * | 2004-05-04 | 2007-06-13 | 高通股份有限公司 | Method and apparatus for content delivery to a mobile device |
CN101060623A (en) * | 2006-04-20 | 2007-10-24 | 佳能株式会社 | Moving image reproducing apparatus and method |
CN101727446A (en) * | 2008-10-27 | 2010-06-09 | 国际商业机器公司 | Method and system for accessing mobile Web, corresponding server and mobile equipment |
CN101849261A (en) * | 2007-08-17 | 2010-09-29 | 菲尼克斯没药树脂科技专营有限公司 | Method and system for content delivery |
Family Cites Families (2)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
AU2001283004A1 (en) * | 2000-07-24 | 2002-02-05 | Vivcom, Inc. | System and method for indexing, searching, identifying, and editing portions of electronic multimedia files |
US9122808B2 (en) * | 2002-02-25 | 2015-09-01 | Csr Technology Inc. | Network interface to a video device |
-
2010
- 2010-11-09 CN CN201010536555.XA patent/CN102065339B/en active Active
Patent Citations (6)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN1694527A (en) * | 2004-04-30 | 2005-11-09 | 微软公司 | Systems and methods for novel real-time audio-visual communication and data collaboration |
CN1981505A (en) * | 2004-05-04 | 2007-06-13 | 高通股份有限公司 | Method and apparatus for content delivery to a mobile device |
CN101060623A (en) * | 2006-04-20 | 2007-10-24 | 佳能株式会社 | Moving image reproducing apparatus and method |
CN1946086A (en) * | 2006-10-27 | 2007-04-11 | 杭州华为三康技术有限公司 | Transmission method and device for supporting non-standard speed rate |
CN101849261A (en) * | 2007-08-17 | 2010-09-29 | 菲尼克斯没药树脂科技专营有限公司 | Method and system for content delivery |
CN101727446A (en) * | 2008-10-27 | 2010-06-09 | 国际商业机器公司 | Method and system for accessing mobile Web, corresponding server and mobile equipment |
Cited By (1)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN103763577A (en) * | 2013-12-31 | 2014-04-30 | 华为技术有限公司 | Method, device and system for playing media file |
Also Published As
Publication number | Publication date |
---|---|
CN102065339A (en) | 2011-05-18 |
Similar Documents
Publication | Publication Date | Title |
---|---|---|
CN102065339B (en) | Method and system for playing audio and video media stream | |
JP6455741B2 (en) | Streaming with video orientation adjustment (CVO) | |
JP6337350B2 (en) | Improved video quality | |
CN102143385B (en) | Media play processing method, digital media server and system | |
DK2227017T3 (en) | Media Channel-handling | |
US9282448B2 (en) | Method, system and apparatus for providing streaming media service | |
US9578352B2 (en) | Multi-format distribution of content | |
CN108769616A (en) | A kind of real-time video based on RTSP agreements is without plug-in unit method for previewing and system | |
EP2271098A1 (en) | Server device, content distribution method, and program | |
CN101237340B (en) | System and method for realizing multicast channel in multimedia service | |
CN102790921B (en) | Method and device for choosing and recording partial screen area of multi-screen business | |
JPWO2009128515A1 (en) | Gateway apparatus and method | |
CN103561279A (en) | Method and system for playing multi-media file and cloud transcoding service device | |
CN104796796A (en) | Method for improving fault tolerance of HLS (hyper text transport protocol live streaming) player of Android platform | |
KR20120114016A (en) | Method and apparatus for network adaptive streaming user data in a outer terminal | |
CN101848205A (en) | RTSP based stream media playing method and system thereof on mobile terminal | |
JPWO2011010601A1 (en) | Gateway device, data conversion method and program | |
KR20130005873A (en) | Method and apparatus for receiving contents in broadcast system | |
CN104581385A (en) | Multi-screen interactive self-adaptive playback method and system | |
WO2010114092A1 (en) | Distribution system and method, conversion device, and program | |
CN101848367A (en) | File-based video live webcasting method | |
CN105430510A (en) | Video on demand method, gateway, smart terminal and video on demand system | |
CN103635938A (en) | Method in streaming client for handling video streaming data, streaming client, computer programs and computer program products | |
CN102088624B (en) | Television signal processing method, mobile terminal and system | |
CN102651745B (en) | A kind of player method of business tine, system and device |
Legal Events
Date | Code | Title | Description |
---|---|---|---|
C06 | Publication | ||
PB01 | Publication | ||
C10 | Entry into substantive examination | ||
SE01 | Entry into force of request for substantive examination | ||
C14 | Grant of patent or utility model | ||
GR01 | Patent grant |