CN103167318B - Streaming Media processing method, device and server, system - Google Patents

Streaming Media processing method, device and server, system Download PDF

Info

Publication number
CN103167318B
CN103167318B CN201110414014.4A CN201110414014A CN103167318B CN 103167318 B CN103167318 B CN 103167318B CN 201110414014 A CN201110414014 A CN 201110414014A CN 103167318 B CN103167318 B CN 103167318B
Authority
CN
China
Prior art keywords
video
frame
streaming media
terminal
transcoding
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
Application number
CN201110414014.4A
Other languages
Chinese (zh)
Other versions
CN103167318A (en
Inventor
包盛
王爱宝
蒋力
Current Assignee (The listed assignees may be inaccurate. Google has not performed a legal analysis and makes no representation or warranty as to the accuracy of the list.)
China Telecom Corp Ltd
Original Assignee
China Telecom Corp Ltd
Filing date
Publication date
Application filed by China Telecom Corp Ltd filed Critical China Telecom Corp Ltd
Priority to CN201110414014.4A priority Critical patent/CN103167318B/en
Publication of CN103167318A publication Critical patent/CN103167318A/en
Application granted granted Critical
Publication of CN103167318B publication Critical patent/CN103167318B/en
Active legal-status Critical Current
Anticipated expiration legal-status Critical

Links

Abstract

The invention discloses a kind of Streaming Media processing method, device, server and system, relate to mobile network stream media technology field.The method passes through mobile terminal to streaming media server real-time report terminal access bandwidth, by real-time transcoding device, the audio-video frequency content of mobile terminal request is carried out real-time transcoding, and according to the access bandwidth of terminal to report, object code stream being carried out code check adjustment so that the output of real-time transcoding device meets the audio-video code stream of terminal access bandwidth.

Description

Streaming Media processing method, device and server, system
Technical field
The present invention relates to mobile internet media stream technical field, particularly to a kind of Streaming Media processing method, device, service Device and system.
Background technology
Stream media technology, it is simply that continuous print image and acoustic information are passed through streaming media server after overcompression processes, Client is allowed to receive audio/video flow the network transmission technology played out.
Along with constantly bringing forth new ideas of network technology and digital media compression technology, streaming media service development over the mobile network Tend to ripe.But, due to the access bandwidth unstability of mobile network, user uses Streaming Media industry by mobile terminal Business there is also following deficiency: (1) mobile network cannot provide stable bandwidth safeguard for access terminal, due to the shifting of mobile terminal Dynamic characteristic, causes terminal in movement, and the strong and weak change of wireless signal affects the access bandwidth of terminal, and impact is mobile eventually further Termination radio reception video stream data;(2) existing streaming media server, is typically merely able to configure the audio frequency and video of 2-3 kind difference code check Stream, mobile terminal selects suitable code stream to play out when playing audio-video stream according to terminal capability, in playing process, code Stream will not be adjusted according to the access bandwidth of terminal.
Summary of the invention
The inventors found that in above-mentioned prior art and have problems, and therefore at least in described problem Individual problem proposes a kind of new technical scheme.
It is an object of the present invention to provide a kind of technical scheme processed for Streaming Media.
According to the first aspect of the invention, it is provided that a kind of Streaming Media processing method, including: receive the stream matchmaker of self terminal Body is asked, and Streaming Media request includes the type information of terminal;It is decoded obtaining frame of video to the Streaming Media of terminal request;Root According to the type information of terminal, frame of video carried out the frame of video after transcoding obtains transcoding;According to being currently accessed of the terminal received Frame of video after transcoding is encoded with the Streaming Media being currently accessed rate-matched of output with terminal by speed.
Preferably, the frame of video after transcoding is encoded with output with whole according to the speed that is currently accessed of the terminal received The Streaming Media being currently accessed rate-matched of end includes: according to the type information of terminal, the frame of video after transcoding is carried out precoding Obtain precoded stream media;Receive terminal is currently accessed speed;Comparison terminal be currently accessed speed and precoded stream media Bit rate output, if difference is in range of quantization step, then using precoded stream media as output code flow export, if difference Beyond range of quantization step, then basis is currently accessed speed and the frame of video after transcoding re-starts coding acquisition output code flow.
Preferably, the method also includes: the code check and the terminal that compare output code flow are currently accessed speed, if there is also difference Value, then abandoned by quick high frequency coefficient and output code flow carried out code check adjustment.
Preferably, include before being decoded the Streaming Media of terminal request obtaining frame of video: streaming media is cut into slices Obtain multiple video segment;The Streaming Media of terminal request is decoded obtain frame of video include: parallel to multiple video segments It is decoded obtaining the frame of video of multiple video segment;After type information according to terminal carries out transcoding acquisition transcoding to frame of video Frame of video include: according to the type information of terminal, the frame of video of multiple video segments is carried out transcoding parallel and obtains multiple sections Transcoding after frame of video.
Preferably, the type information of terminal includes: the resolution of terminal, default rate, maximum frame per second and Profile etc. Level.
According to a second aspect of the present invention, it is provided that a kind of Streaming Media processing means, including: master ga(u)ge then control module, it is used for connecing Receiving the Streaming Media request of self terminal, Streaming Media request includes the type information of terminal;Decoding unit, for terminal request Streaming Media be decoded obtain frame of video;Transcoding units, obtains for frame of video being carried out transcoding according to the type information of terminal Obtain the frame of video after transcoding;Code check step size controlling module, be used for reception terminal is currently accessed speed;Coding module, uses Frame of video after transcoding is encoded with output and being currently accessed of terminal in the speed that is currently accessed according to the terminal received The Streaming Media of rate-matched.
Preferably, coding module carries out precoding according to the type information of terminal to the frame of video after transcoding and obtains precoding Streaming Media;Comparison terminal be currently accessed speed and the bit rate output of precoded stream media, if difference is in range of quantization step In, then precoded stream media are exported as output code flow, if difference is beyond range of quantization step, then according to being currently accessed speed Rate re-starts coding and obtains output code flow the frame of video after transcoding.
Preferably, coding module also includes: code check fine-adjusting unit, currently connects for the code check and terminal comparing output code flow Enter speed, if the difference of there is also, then abandoned by quick high frequency coefficient and output code flow is carried out code check adjustment.
Preferably, this device also includes: section module and multiple decoding unit and transcoding units;Section module is for right Streaming Media carries out section and obtains multiple video segments;Decoding unit is multiple for being decoded parallel multiple video segments obtaining The frame of video of video segment;Transcoding units is for carrying out parallel the frame of video of multiple video segments according to the type information of terminal Transcoding obtains the frame of video after the transcoding of multiple sections;Coding unit, the frame of video after being additionally operable to the transcoding of multiple sections is entered Row merges the frame of video after obtaining transcoding.
Preferably, content receiver module is also included;Master ga(u)ge then control module obtains Streaming Media mark from Streaming Media is asked, It is sent to content receiver module;Content receiver module obtains Streaming Media according to Streaming Media mark, is sent to decoding unit.
Preferably, the type information of terminal includes: the resolution of terminal, default rate, maximum frame per second and Profile etc. Level.
According to a third aspect of the present invention, it is provided that a kind of streaming media server, including Streaming Media processing means as above.
According to the fourth aspect of the invention, it is provided that a kind of stream media system, including streaming media server as above.
An advantage of the invention that, carry out transcoding according to the type information of terminal, be currently accessed speed according to terminal Rate carries out the adjustment of bit rate output, it is provided that be adapted to the Streaming Media of terminal present case, improves network efficiency.
By detailed description to the exemplary embodiment of the present invention referring to the drawings, the further feature of the present invention and Advantage will be made apparent from.
Accompanying drawing explanation
The accompanying drawing of the part constituting description describes embodiments of the invention, and is used for together with the description Explain the principle of the present invention.
Referring to the drawings, according to detailed description below, the present invention can be more clearly understood from, wherein:
Fig. 1 illustrates that the Streaming Media of the present invention realizes the system schematic of an embodiment of system.
Fig. 2 illustrates the flow chart of an embodiment of the Streaming Media implementation method of the present invention;
Fig. 3 illustrates the flow chart of another embodiment of the Streaming Media implementation method of the present invention;
Fig. 4 illustrates the flow chart of another embodiment of the Streaming Media implementation method of the present invention;
Fig. 5 illustrates the structure chart of an embodiment of the streaming media transcoding device of the present invention;
Fig. 6 illustrates the structure chart of another embodiment of the streaming media transcoding device of the present invention;
Fig. 7 illustrates the flow chart of an application examples of the Streaming Media implementation method of the present invention.
Detailed description of the invention
The various exemplary embodiments of the present invention are described in detail now with reference to accompanying drawing.It should also be noted that unless additionally have Body illustrates, the parts illustrated the most in these embodiments and positioned opposite, the numerical expression of step and numerical value are not intended to this The scope of invention.
Simultaneously, it should be appreciated that for the ease of describing, the size of the various piece shown in accompanying drawing is not according to reality Proportionate relationship draw.
Description only actually at least one exemplary embodiment is illustrative below, never as to the present invention And any restriction applied or use.
May be not discussed in detail for technology, method and apparatus known to person of ordinary skill in the relevant, but suitable In the case of when, described technology, method and apparatus should be considered to authorize a part for description.
It is shown here that any occurrence should be construed as merely exemplary with in all examples discussed, and not It is as restriction.Therefore, other example of exemplary embodiment can have different values.
It should also be noted that similar label and letter represent similar terms, therefore, the most a certain Xiang Yi in following accompanying drawing Individual accompanying drawing is defined, then need not it is further discussed in accompanying drawing subsequently.
Fig. 1 illustrates that the Streaming Media of the present invention realizes the system schematic of an embodiment of system.Matchmaker is flowed shown in Fig. 1 Body receives terminal 11, streaming media server 12, real-time transcoding device 13, audio-video frequency content storehouse 14, streaming medium content transmission network. Streaming Media receives terminal 11, has reporting terminal access bandwidth and the function of playing audio-video stream, it would be preferable to support streaming media Agreement, it is possible to calculate network per second and receive bit rate, it is possible to transmission streaming media playing address (URL), the type of coding supported And the highest frame per second, the information such as optimum resolution of viewing is to streaming media server.Streaming medium content transmit network, have distribution, Propagating the function of audio/video flow, and support stream media protocol communication, streaming medium content transmits network and such as includes mobile phone The communication networks such as GPRS/CDMA/3G network, WLAN WLAN, NGN system NGN, stream media protocol include but It is not limited to: the conventional Streaming Media communications protocol such as RTSP or HTTP or RTMP.Streaming media server 12, has reception terminal plays stream The request of media content, receive terminal to report access network bandwidth, send transcoding request to real-time transcoding device, receive and turn in real time The target code stream of code device output, provide the terminal with the function of streaming media service.Real-time transcoding device 13, having reception transcoding please Asking, obtain audio-video frequency content source, audio-video frequency content decoding, section, transcoding, coding, Rate Control, code stream exports, and supports stream matchmaker Body host-host protocol, supports that file is locally stored.Audio-video frequency content storehouse 14, has in the audio frequency and video according to the request of real-time transcoding device Rong Yuan, is sent to the function of real-time transcoding device by local file or audio/video flow.
It may be noted that and in FIG streaming media server 12 and real-time transcoding device 13 are illustrated as two entities, ability Territory it will be appreciated by the skilled person that streaming media server 12 and real-time transcoding device 13 may be located on same server;With Sample, real-time transcoding device 13 and audio-video frequency content storehouse 14 can also be positioned on same equipment;Or, streaming media server 12, reality Time transcoding device 13, audio-video frequency content storehouse 14 three be all located on server.
Fig. 2 illustrates the flow chart of an embodiment of the Streaming Media implementation method of the present invention.
As in figure 2 it is shown, step 202, streaming media server receives the Streaming Media request of self terminal, wraps in Streaming Media request Include Streaming Media mark (e.g., Streaming Media URL) and the type information of terminal of request.The type information of terminal such as includes terminal Resolution, default rate, the maximum information such as frame per second and Profile grade.The type information of terminal can also be the equipment of terminal The information such as model, then by the disposal ability of this unit type information acquisition terminal, such as resolution, frame per second, operating system etc. Information.
Step 204, is decoded obtaining frame of video to the Streaming Media of terminal request.Such as, audio/video flow is first carried out point From, isolate audio stream and video flowing, be decoded after the packet in video flowing is extracted, obtain continuous print video Frame.
Step 206, carries out the frame of video after transcoding obtains transcoding according to the type information of terminal to frame of video.According to terminal Spatial resolution frame of video is processed, such as, according to the type of terminal, the image size of frame of video is changed, than If original video frame is D1 standard, and mobile phone is only capable of supporting 320*240, then need to be converted into frame of video from 720*576 320*240.
Step 208, according to receive terminal be currently accessed speed the frame of video after transcoding is encoded with output with The Streaming Media being currently accessed rate-matched of terminal.
When the type information that terminal provides includes the unit type of terminal, can obtain eventually according to the unit type of terminal The resolution of end support and the hardware processing capability of terminal, be then appreciated that terminal institute energy according to the hardware processing capability of terminal Enough maximum decoding capabilities supported.The decoding capability of such as XT800 mobile phone is 720P, then this mobile phone can be supported the most in theory Big code check is 4.5Mbps, and maximum frame per second is 25fps, and coding Profile is Main Profile, i.e. can support I/P/B frame, Variable bit rate.But during actual coding, coding unit also needs to the access bandwidth according to terminal and carries out coding parameter Adjustment, such as access bandwidth only has 1Mbps, then encoder can adjust resolution, frame per second automatically, by Rate Control at bandwidth model In enclosing.Only reducing further when access bandwidth, encoder just can adjust Profile grade, and bit rate output is controlled in bandwidth Scope.
In above-described embodiment, carry out transcoding according to the type streaming media of terminal, be currently accessed speed pair according to terminal Frame of video after transcoding carries out encoding with the Streaming Media being currently accessed rate-matched of output with terminal, thus provides certainly for terminal The Media Stream adapted to.
Fig. 3 illustrates the flow chart of another embodiment of the Streaming Media implementation method of the present invention.
As it is shown on figure 3, step 302, receiving the Streaming Media request of self terminal, Streaming Media request includes the stream matchmaker of request Body mark (e.g., Streaming Media URL) and the type information of terminal
Step 304, streaming media carries out section and obtains multiple video segments.
Multiple video segments are decoded obtaining the frame of video of multiple video segment by step 306 parallel.
Step 308, carries out transcoding according to the type information of terminal parallel to the frame of video of multiple video segments and obtains multiple Frame of video after the transcoding of section.
Step 310, according to receive terminal be currently accessed speed the frame of video after transcoding is encoded with output with The Streaming Media being currently accessed rate-matched of terminal.
In above-described embodiment, carry out section by streaming media and obtain the section of multiple frame of video, it would be desirable to the video of transcoding After frame is cut into slices, give multiple decoding, transcoding units carries out parallel processing, thus improves treatment effeciency.
Fig. 4 illustrates the flow chart of another embodiment of the Streaming Media implementation method of the present invention.
As shown in Figure 4, step 402, receive the Streaming Media request of self terminal, Streaming Media request includes the stream matchmaker of request Body mark (e.g., Streaming Media URL) and the type information of terminal.
Step 404, is decoded obtaining frame of video to the Streaming Media of terminal request.
Step 406, carries out the frame of video after transcoding obtains transcoding according to the type information of terminal to frame of video.
Step 408, carries out precoding according to the type information of terminal to the frame of video after transcoding and obtains precoded stream media.
Step 410, receive terminal be currently accessed speed, it is judged that terminal be currently accessed speed and precoding Media Stream Whether the difference of bit rate output is in range of quantization step, if it is, precoding Media Stream is exported (step as output code flow 412), otherwise, step 414 is continued.
Step 414, re-starts coding acquisition output code according to the speed that is currently accessed of terminal to the frame of video after transcoding Stream.
Step 416, it is judged that whether code check and being currently accessed between speed of terminal of output code flow exist difference, if eventually That holds is currently accessed the speed code check still above bit rate output, then abandoned by quick high frequency coefficient and output code flow is carried out code Rate adjusts (step 418).
By arranging the frequency that quantization step controls the switching of code check.If quantization step is set to 10bps, then bandwidth When there is more than 10bps change, re-start coding, if provided as 100bps, then when there is more than 100bps change in bandwidth, Re-start coding.The conversion frequency of code check can be configured according to application.Increase quantization step size controlling can keep away Exempt to recompile frequently, only when bandwidth change is beyond step-length scope, just encode.
In above-described embodiment, the type previously according to terminal carries out precoding to frame of video, only when precoding Media Stream Code check and the difference that is currently accessed between speed beyond quantization step time, just re-start coding, coding can be improved and imitate Rate.Adjusted by code check so that bit rate output is more suitable for terminal capability.
Fig. 5 illustrates the structure chart of an embodiment of the Streaming Media processing means of the present invention.As it is shown in figure 5, this process dress Putting 500 to include: master ga(u)ge then control module 52, receive the Streaming Media request of self terminal, Streaming Media request includes the class of terminal Type information.Decoding unit 53, is decoded obtaining frame of video to the Streaming Media of terminal request.Transcoding units 54, according to terminal Type information carries out the frame of video after transcoding obtains transcoding to frame of video.Code check step size controlling module 55, receives terminal It is currently accessed speed;Coding module 56, encodes the frame of video after transcoding according to the speed that is currently accessed of the terminal received The Streaming Media being currently accessed rate-matched with output with terminal.
Fig. 6 illustrates the structure chart of another embodiment of the Streaming Media processing means of the present invention.As shown in Figure 6, at one In embodiment, this Streaming Media processing means also includes content receiver module 67.Master ga(u)ge then control module 52 receives self terminal Streaming Media is asked, and Streaming Media request includes Streaming Media mark and the type information of terminal, obtains stream matchmaker from Streaming Media is asked Body identifies, and is sent to content receiver module 67.Content receiver module 67 obtains Streaming Media according to Streaming Media mark, is sent to decoding Unit.In one embodiment, module 68 of cutting into slices, and multiple decoding unit 63 and transcoding units 64 are also included.Section module 68 for receiving such as from the Streaming Media of content receiver module 67, and streaming media carries out section and obtains multiple video segments;Many Individual decoding unit 63 is decoded obtaining the frame of video of multiple video segment respectively parallel to multiple video segments;Multiple transcoding lists Unit carries out transcoding according to the type information of terminal parallel to the frame of video of multiple video segments respectively and obtains the transcoding of multiple sections After frame of video;Frame of video after coding module 66 is additionally operable to the transcoding of multiple sections merges the video after obtaining transcoding Frame, encodes the frame of video after transcoding according to the speed that is currently accessed of the terminal received with output and being currently accessed of terminal The Streaming Media of rate-matched.Section module 68 is selectable unit (SU), mainly considers in the case of large concurrent transcoding is asked, for Ensure that the concurrent processing ability of real-time transcoding device, and the assembly of elements increased.The frame of video needing transcoding is carried out After section, give multiple decoding, transcoding units carries out parallel processing, thus improves treatment effeciency.
In one embodiment, coding module 66 carries out precoding according to the type information of terminal to the frame of video after transcoding Obtain precoded stream media;Comparison terminal be currently accessed speed and the bit rate output of precoded stream media, if difference amount In the range of changing step-length, then precoded stream media are exported as output code flow, if difference is beyond range of quantization step, then basis It is currently accessed speed and the frame of video after transcoding is re-started coding acquisition output code flow.Increase code check step size controlling module permissible Avoid recompiling frequently, only when bandwidth change is beyond step-length scope, just recompile.An enforcement In example, coding module 66 also includes code check fine-adjusting unit 661, is currently accessed speed for the code check and terminal comparing output code flow Rate, if the difference of there is also, is then abandoned by quick high frequency coefficient and output code flow is carried out code check adjustment.
Below in conjunction with Fig. 6, the work process of this Streaming Media processing means is described.Master ga(u)ge then control module 52 receives Streaming Media is asked;Content receiver module 67 receives audio-video frequency content source, i.e. Streaming Media;The frame of video of section module 68 streaming media Cut into slices, and each video segment is distributed to multiple decoding unit 63;The frame of video of compression is solved by decoding unit 63 Code, obtains complete video frame images after decoding;The type letter of the terminal that transcoding units 64 provides according to master ga(u)ge then control module Breath (resolution) carries out transcoding to frame of video, and the frame of video after the transcoding made meets the resolution requirement of terminal;Coding unit 66 The terminal type information provided according to master ga(u)ge then control module 52 carries out encoding (default rate, maximum frame per second, Profile etc. Level);Code check step size controlling module 55 real-time reception terminal access rate, meanwhile, to terminal access rate and current bit rate output Carry out difference comparsion, if difference is in range of quantization step, do not operate;If difference exceeds quantization step, then want Coding module 66 is asked to re-start coding.The difference data that code check step size controlling module 55 is provided by coding module 66 is sentenced Disconnected, if difference data is positive number, then increases the frame per second of video flowing, but maximum is less than the decoding capability of terminal;If difference For negative, then reduce the frame per second of video flowing, but minimum is not less than worst viewing experience (5fps);Code check fine-adjusting unit 661 compares The code check of relatively encoder output and target bit rate, if the difference of yet suffering from, then abandoned by quick high frequency coefficient and carry out code Rate adjusts, and is allowed to coincidence loss scope, if within range of error, then without again adjusting, and direct output code flow.
Fig. 7 illustrates the flow chart of an application examples of the Streaming Media implementation method of the present invention.
As it is shown in fig. 7, step 702, stream media terminal is accessed by streaming media playing address (URL) and is positioned at streaming media service Audio-video document on device or live TV stream, the simultaneously various information of carried terminal in request address.
Step 704, the playing request of terminal is submitted to real-time transcoding device, is taken in the request simultaneously by streaming media server The various information that tape terminal reports.
Step 706, real-time transcoding device according to the URL address of terminal request to request content source, audio-video frequency content storehouse, sound Video content storehouse provides audio-video frequency content source for real-time transcoding device.
Step 708, the audio/video flow received is decoded by real-time transcoding device, it is thus achieved that continuous print frame of video.
Step 710, real-time transcoding device carries out transcoding according to the type information of terminal, and is carried by the audio/video flow after coding Supply streaming media server.
Step 712, the audio/video flow that real-time transcoding device exports is supplied to terminal by streaming media server.
Step 714, the code stream of terminal receiving stream media server, it is decoded and plays, calculating under video flowing simultaneously Carry and relief area situation, and current downloading rate is reported streaming media server.
Step 716, terminal downloads speed is sent to real-time transcoding device by streaming media server, real-time transcoding device according to The code stream of output is adjusted by terminal downloads speed.
The present invention provides the Streaming Media processing scheme of a kind of continuous dynamic code stream, by mobile terminal to streaming media server Real-time report terminal access bandwidth, is carried out real-time transcoding by real-time transcoding device to the audio-video frequency content of mobile terminal request, and Access bandwidth according to terminal to report carries out code check adjustment to object code stream so that the output of real-time transcoding device meets terminal and accesses The audio-video code stream of bandwidth.
So far, Streaming Media processing method, device and system according to the present invention is described in detail.In order to avoid covering The design of the present invention, does not describe details more known in the field.Those skilled in the art as described above, completely It can be appreciated how implement technical scheme disclosed herein.
The method and system of the present invention may be achieved in many ways.Such as, can pass through software, hardware, firmware or Software, hardware, any combination of firmware realize the method and system of the present invention.Said sequence for the step of described method Merely to illustrate, the step of the method for the present invention is not limited to order described in detail above, special unless otherwise Do not mentionlet alone bright.Additionally, in certain embodiments, the present invention also can be embodied as the program recorded in the recording medium, these programs Including the machine readable instructions for realizing the method according to the invention.Thus, the present invention also covers storage for performing basis The record medium of the program of the method for the present invention.
Although by example, some specific embodiments of the present invention have been described in detail, but the skill of this area Art personnel are it should be understood that above example is merely to illustrate rather than in order to limit the scope of the present invention.The skill of this area Art personnel are it should be understood that can modify to above example without departing from the scope and spirit of the present invention.This Bright scope is defined by the following claims.

Claims (11)

1. a Streaming Media processing method, it is characterised in that including:
Receiving the Streaming Media request of self terminal, the request of described Streaming Media includes the type information of described terminal;
It is decoded obtaining frame of video to the Streaming Media of described terminal request;
Type information according to described terminal carries out the frame of video after transcoding obtains transcoding to described frame of video;
Frame of video after described transcoding is encoded with output with described by the speed that is currently accessed according to the described terminal received The Streaming Media being currently accessed rate-matched of terminal;
Wherein, the frame of video after described transcoding is encoded with defeated by the described speed that is currently accessed according to the described terminal received Go out the Streaming Media being currently accessed rate-matched with described terminal to include:
Type information according to described terminal carries out precoding and obtains precoded stream media the frame of video after described transcoding;
Receive described terminal is currently accessed speed;
That compares described terminal is currently accessed speed and the bit rate output of described precoded stream media, if difference is at quantization step In the range of, then described precoded stream media are exported as output code flow, if difference is beyond described range of quantization step, then root According to the described speed that is currently accessed, the frame of video after described transcoding is re-started coding acquisition output code flow.
Method the most according to claim 1, it is characterised in that also include:
Relatively code check and the described terminal of described output code flow is currently accessed speed, if the difference of there is also, then by the highest Frequently coefficient abandons and described output code flow is carried out code check adjustment.
Method the most according to claim 1, it is characterised in that obtain the Streaming Media of described terminal request is decoded Include before frame of video:
Described Streaming Media is carried out section and obtains multiple video segments;
The described Streaming Media to described terminal request is decoded obtaining frame of video and includes:
The plurality of video segment is decoded obtaining the frame of video of multiple video segment parallel;
The described type information according to described terminal carries out the frame of video after transcoding obtains transcoding and includes described frame of video:
Type information according to described terminal carries out transcoding parallel and obtains the plurality of the frame of video of the plurality of video segment Frame of video after the transcoding of section.
Method the most according to claim 1, it is characterised in that the type information of described terminal includes: the resolution of terminal, Default rate, maximum frame per second and Profile grade.
5. a Streaming Media processing means, it is characterised in that including:
Master ga(u)ge then control module, for receiving the Streaming Media request of self terminal, the request of described Streaming Media includes described terminal Type information;
Decoding unit, for being decoded obtaining frame of video to the Streaming Media of described terminal request;
Transcoding units, is used for the type information according to described terminal and described frame of video carries out the video after transcoding obtains transcoding Frame;
Code check step size controlling module, be used for the described terminal of reception is currently accessed speed;
Coding module, for encoding the frame of video after described transcoding according to the speed that is currently accessed of the described terminal received The Streaming Media being currently accessed rate-matched with output with described terminal;
Wherein, described coding module carries out precoding acquisition according to the type information of described terminal to the frame of video after described transcoding Precoded stream media;That compares described terminal is currently accessed speed and the bit rate output of described precoded stream media, if difference In range of quantization step, then described precoded stream media are exported as output code flow, if difference quantifies step beyond described Long scope, then be currently accessed speed and the frame of video after described transcoding re-start coding acquisition output code flow described in basis.
Device the most according to claim 5, it is characterised in that described coding module also includes:
Code check fine-adjusting unit, code check and described terminal for relatively described output code flow are currently accessed speed, if there is also Difference, then abandoned by quick high frequency coefficient and described output code flow carried out code check adjustment.
Device the most according to claim 5, it is characterised in that also include: section module and multiple described decoding unit And transcoding units;
Described section module obtains multiple video segments for described Streaming Media carries out section;
Described decoding unit for being decoded obtaining the frame of video of multiple video segment parallel to the plurality of video segment;
Described transcoding units is for carrying out parallel the frame of video of the plurality of video segment according to the type information of described terminal Transcoding obtains the frame of video after the transcoding of the plurality of section;
Described coding unit, after the frame of video after being additionally operable to the transcoding of the plurality of section merges the described transcoding of acquisition Frame of video.
Device the most according to claim 5, it is characterised in that also include content receiver module;
Described master ga(u)ge then control module obtains Streaming Media mark from described Streaming Media is asked, and is sent to described content reception mould Block;
Described content receiver module obtains described Streaming Media according to described Streaming Media mark, is sent to described decoding unit.
Device the most according to claim 5, it is characterised in that the type information of described terminal includes: the resolution of terminal, Default rate, maximum frame per second and Profile grade.
10. a streaming media server, including the Streaming Media processing means as described in any one in claim 5 to 9.
11. 1 kinds of stream media systems, including the streaming media server described in claim 10.
CN201110414014.4A 2011-12-13 Streaming Media processing method, device and server, system Active CN103167318B (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN201110414014.4A CN103167318B (en) 2011-12-13 Streaming Media processing method, device and server, system

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN201110414014.4A CN103167318B (en) 2011-12-13 Streaming Media processing method, device and server, system

Publications (2)

Publication Number Publication Date
CN103167318A CN103167318A (en) 2013-06-19
CN103167318B true CN103167318B (en) 2016-12-14

Family

ID=

Similar Documents

Publication Publication Date Title
US10757158B2 (en) Feedback optimized video coding parameters
US10298985B2 (en) Systems and methods for performing quality based streaming
CN102598617B (en) System and method of transmitting content from a mobile device to a wireless display
TWI383684B (en) System and method for dynamic video encoding in multimedia streaming
Han et al. AMVS-NDN: Adaptive mobile video streaming and sharing in wireless named data networking
CN103636229B (en) Distribute audio-video frequency content
US20140181266A1 (en) System, streaming media optimizer and methods for use therewith
CN107210993A (en) The method and system of the dynamic rate shaping of multimedia content flows in cordless communication network
JP2017533607A (en) Improved video quality
CN101375604A (en) Methods and systems for rate control within an encoding device
CN101499918A (en) Adaptive stream media playing method, apparatus, system and mobile terminal
US11283854B2 (en) Method and system for providing variable quality streaming video services in mobile communication networks
US10778938B2 (en) Video chunk combination optimization
US11902631B2 (en) Methods, systems, and apparatuses for improved content scoring and delivery
KR102652518B1 (en) Session based adaptive playback profile decision for video streaming
CN104581385A (en) Multi-screen interactive self-adaptive playback method and system
Ban et al. An optimal spatial-temporal smoothness approach for tile-based 360-degree video streaming
CN105430510A (en) Video on demand method, gateway, smart terminal and video on demand system
GB2540571A (en) Digital home network multimedia share system and share method thereof
KR20150093507A (en) Method and system for providing adaptive video streaming service based on viewing distance
CN105376595A (en) Video mixing encoding system and method
CN103167318B (en) Streaming Media processing method, device and server, system
Qiang Consumption reduction solution of TV news broadcast system based on wireless communication network
KR101251312B1 (en) Method for handling video seek request in video transcoding server
CN103167318A (en) Streaming media processing method, device, server and system

Legal Events

Date Code Title Description
PB01 Publication
SE01 Entry into force of request for substantive examination
GR01 Patent grant