CN103379363B - Method for processing video frequency and device, mobile terminal and system - Google Patents
Method for processing video frequency and device, mobile terminal and system Download PDFInfo
- Publication number
- CN103379363B CN103379363B CN201210115757.6A CN201210115757A CN103379363B CN 103379363 B CN103379363 B CN 103379363B CN 201210115757 A CN201210115757 A CN 201210115757A CN 103379363 B CN103379363 B CN 103379363B
- Authority
- CN
- China
- Prior art keywords
- transcoding
- video
- mobile terminal
- parameter
- original
- 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
Landscapes
- Two-Way Televisions, Distribution Of Moving Picture Or The Like (AREA)
Abstract
The invention discloses a kind of method for processing video frequency and device, mobile terminal and systems, belong to computer realm.The method includes:The broadcasting video request that mobile terminal is sent is received, it is described to play the performance parameter that video request includes video original address and the mobile terminal;Original video is obtained according to the video original address;The original video is subjected to transcoding according to the performance parameter of the mobile terminal, to obtain the video after transcoding;Video after the transcoding is supplied to the mobile terminal, so as to the video after transcoding described in the mobile terminal playing.The present invention according to video original address by obtaining original video, and by original video transcoding be suitble to mobile terminal playing video, reach the video source coverage rate for improving low performance mobile terminal, and the video tastes of closer mobile terminal image procossing and bandwidth ability are provided a user, save the purpose of customer flow rate.
Description
Technical field
The present invention relates to computer realm, more particularly to a kind of method for processing video frequency and device, mobile terminal and system.
Background technology
Have benefited from the continuous development of chip operational capability and wireless communication field, mobile terminal (smart mobile phone, tablet computer
Deng) it can provide more and more abundant network service to the user, wherein video playing becomes gradually most to be used by mobile terminal
One of the network service that family is welcome.
In the prior art, a kind of method for processing video frequency for providing video for mobile terminal is had existed:First, it is each to take
When being engaged in quotient to mobile terminal offer video, the video code conversion in advance that a part of resolution ratio is higher, data volume is larger is at suitable shifting
The video that the resolution ratio of dynamic terminal plays is relatively low, data volume is smaller, for example, original resolution can be in advance 1280 by service provider
The video code conversion of 720 pixels of pixel * is the video that resolution ratio is 320 pixel *, 240 pixels;Second, the mobile terminal of low performance obtains
Take the video after the transcoding to play out, high performance mobile terminal can select obtain transcoding before or transcoding after video into
Row plays;For example the mobile terminal of low performance can obtain the video that resolution ratio is 320 pixel *, 240 pixels and play out, and it is high
The mobile terminal of performance can then select to obtain resolution ratio
The transcoding rear video of 320 pixel *, 240 pixels plays out.
In the implementation of the present invention, the inventor finds that the existing technology has at least the following problems:
First, that a part of video of the advance transcoding of service provider can only be watched using the user of low performance mobile terminal, not
The video of transcoding can not then be watched in advance, and video source coverage area is narrow;Secondly, the screen of different mobile terminal is differentiated in order to balance
Rate, image-capable and bandwidth, the video of transcoding is often with low-down resolution ratio in advance so that result of broadcast is poor;
The user that high-performance mobile terminal is used finally, for those directly plays the video generation of non-transcoding by wireless network
Flow rate are prohibitively expensive.Accordingly, it is considered to rate problem be arrived, even the screen resolution for the mobile terminal that user uses is opposite
Higher, image-capable is relatively strong and wireless network bandwidth is relatively wide, also tends to that better video tastes can not be obtained.
Invention content
In order to improve the video source coverage area of low performance mobile terminal, provide a user closer to user's hardware and bandwidth
The video tastes of ability, and while satisfaction is required using the user of low performance mobile terminal, to use high-performance mobile whole
The user at end saves flow rate, and an embodiment of the present invention provides a kind of video broadcasting method and device, mobile terminal and systems.
The technical solution is as follows:
On the one hand, a kind of method for processing video frequency is provided, the method includes:
The broadcasting video request that mobile terminal is sent is received, the broadcasting video request includes video original address and institute
State the performance parameter of mobile terminal;
Original video is obtained according to the video original address;
The original video is subjected to transcoding according to the performance parameter of the mobile terminal, to obtain the video after transcoding;
Video after the transcoding is supplied to the mobile terminal, after transcoding described in the mobile terminal playing
Video.
The original video includes video heads, at least a frame key frame and the non-key frame for relying on each key frame.
The original video is carried out transcoding by the performance parameter according to the mobile terminal, to obtain regarding after transcoding
Frequently, it specifically includes:
The original video is divided at least one raw frames group, each raw frames group packet according to the key frame
It includes a key frame and relies on the non-key frame of the key frame;
Transcoding is carried out respectively at least one raw frames group, obtains the picture group after at least one transcoding.
It is described that transcoding is carried out respectively at least one raw frames group, the picture group after at least one transcoding is obtained,
It specifically includes:
Determine that transcoding parameter, the transcoding parameter include transcoding resolution ratio and brush according to the performance parameter of the mobile terminal
New rate;
Transcoding is carried out respectively at least one raw frames group according to the transcoding resolution ratio and refresh rate, is obtained extremely
Picture group after a few transcoding.
The performance parameter of the mobile terminal includes:Screen resolution, image-capable parameter and bandwidth parameter, it is described
Image-capable parameter includes:At least one of cpu frequency parameter and GPU frequency parameters.
The performance parameter according to the mobile terminal determines transcoding parameter, specifically includes:
The mobile terminal, which is calculated, according to the image-capable parameter and bandwidth parameter of the mobile terminal handles image
Maximal rate;
The transcoding resolution ratio and refresh rate are determined according to the mobile terminal screen resolution ratio and the maximal rate.
The video by after the transcoding is supplied to the mobile terminal, specifically includes:
Picture group after at least one transcoding of the acquisition is supplied to the mobile terminal.
Picture group after at least one transcoding by the acquisition is supplied to the mobile terminal, specifically includes:
Picture group after current transcoding is supplied to the mobile terminal;
After receiving time and the current transcoding used in the picture group after the current transcoding according to the mobile terminal
Picture group entrained by data volume calculate the real-time bandwidth of the mobile terminal.
After the real-time bandwidth for calculating the mobile terminal, the method further includes:
Transcoding ginseng is adjusted according to the real-time bandwidth of the image-capable parameter of the mobile terminal and the mobile terminal
Number;
Transcoding is carried out respectively to the raw frames group of not yet transcoding according to the transcoding parameter after the adjustment.
On the other hand, a kind of video process apparatus is provided, the video process apparatus includes:
Receiving module, the broadcasting video request for receiving mobile terminal transmission, the broadcasting video request includes regarding
The performance parameter of frequency original address and the mobile terminal;
Acquisition module, for obtaining original video according to the video original address;
Transcoding module, for the original video to be carried out transcoding according to the performance parameter of the mobile terminal, to obtain
Video after transcoding;
Video provides module, for the video after the transcoding to be supplied to the mobile terminal, so as to described mobile whole
End plays the video after the transcoding.
The original video that the acquisition module obtains includes the non-of video heads, at least a frame key frame and each key frame of dependence
Key frame.
The transcoding module includes:
Cutting unit, for the original video to be divided at least one raw frames group according to the key frame, often
A raw frames group includes a key frame and relies on the non-key frame of the key frame;
Transcoding units, for carrying out transcoding respectively at least one raw frames group, after obtaining at least one transcoding
Picture group.
The video process apparatus further includes:
Parameter adaptation module, for determining transcoding parameter, the transcoding parameter according to the performance parameter of the mobile terminal
Including transcoding resolution ratio and refresh rate;
The transcoding units are specifically used for according to the transcoding resolution ratio and refresh rate at least one raw frames
Group carries out transcoding respectively, obtains the picture group after at least one transcoding.
The performance parameter of the mobile terminal includes:Screen resolution, image-capable parameter and bandwidth parameter, it is described
Image-capable parameter includes:At least one of cpu frequency parameter and GPU frequency parameters.
The parameter adaptation module, specifically includes:
Code check computing unit, for calculating the shifting according to the mobile terminal image-capable parameter and bandwidth parameter
The maximal rate of dynamic terminal processes image;
Parameter determination unit, for calculated according to the mobile terminal screen resolution ratio and the code check computing unit
Maximal rate determines the transcoding resolution ratio and refresh rate.
The video provides module, is supplied to specifically for the picture group after at least one transcoding by the acquisition described
Mobile terminal.
The video provides module, specifically for the picture group after current transcoding is supplied to the mobile terminal;
The video process apparatus further includes:Real-time bandwidth computing module, described in being received according to the mobile terminal
The time used in picture group after current transcoding and the data volume entrained by the picture group after the current transcoding calculate the shifting
The real-time bandwidth of dynamic terminal.
The parameter adaptation module is additionally operable to whole according to the image-capable parameter of the mobile terminal and the movement
The real-time bandwidth at end adjusts transcoding parameter;
The transcoding units are additionally operable to original of the transcoding parameter after being adjusted according to the parameter adaptation module to not yet transcoding
Beginning picture group carries out transcoding respectively.
Another aspect, also a kind of mobile terminal, the mobile terminal include:
Request module, for sending the request for playing video to video process apparatus, the broadcasting video request includes
Video original address and the mobile terminal parameter;
Video reception module, the video for including according to the broadcasting video request for receiving the video process apparatus
The performance parameter of original address and the mobile terminal obtains and the picture group after at least one transcoding obtained by transcoding.
In another aspect, also providing a kind of processing system for video, the video providing system includes above-mentioned video process apparatus
And mobile terminal.
The advantageous effect that technical solution provided in an embodiment of the present invention is brought is:
By obtaining original video according to video original address, and it is to be suitble to mobile terminal playing by original video transcoding
Video reaches the video source coverage rate for improving low performance mobile terminal, provide a user closer to mobile terminal image procossing and
The video tastes of bandwidth ability can also be to use high property while satisfaction is required using the user of low performance mobile terminal
The user of energy mobile terminal saves the purpose of flow rate;Simultaneously by being obtained in the video after providing transcoding to mobile terminal
Mobile terminal real-time bandwidth, and transcoding parameter is adjusted according to real-time bandwidth, reach to provide a user and meets the practical band of mobile terminal
The purpose of wide video tastes.
Description of the drawings
To describe the technical solutions in the embodiments of the present invention more clearly, make required in being described below to embodiment
Attached drawing is briefly described, it should be apparent that, drawings in the following description are only some embodiments of the invention, for
For those of ordinary skill in the art, without creative efforts, other are can also be obtained according to these attached drawings
Attached drawing.
Fig. 1 is the method flow diagram for the method for processing video frequency that the embodiment of the present invention one provides;
Fig. 2 is the method flow diagram of method for processing video frequency provided by Embodiment 2 of the present invention;
Fig. 3 is the block diagram for the video process apparatus that the embodiment of the present invention three provides;
Fig. 4 is another block diagram for the video process apparatus that the embodiment of the present invention three provides;
Fig. 5 is the block diagram for the mobile terminal that the embodiment of the present invention four provides;
Fig. 6 is the block diagram for the processing system for video that the embodiment of the present invention five provides.
Specific implementation mode
To make the object, technical solutions and advantages of the present invention clearer, below in conjunction with attached drawing to embodiment party of the present invention
Formula is described in further detail.
Embodiment one
Referring to FIG. 1, the method flow diagram of the method for processing video frequency provided it illustrates the embodiment of the present invention one, the video
Processing method can be used for providing for mobile terminal in the server of Video service.The method for processing video frequency flow is specific as follows:
Step 101, the broadcasting video request that mobile terminal is sent is received, it includes video original address to play video request
With the performance parameter of mobile terminal;
Wherein, the performance parameter of mobile terminal includes the image-capable parameter and bandwidth of the mobile terminal of mobile terminal
Parameter.
Step 102, original video is obtained according to video original address;
Wherein, which can be the arbitrary video address in internet;And it is obtained according to video original address
The original video taken provides for PC mostly, has the characteristics that high resolution, data volume are larger, is often unsuitable for moving
Dynamic terminal directly plays.
Step 103, original video is carried out by transcoding according to the performance parameter of mobile terminal, to obtain the video after transcoding;
In conjunction with the image-capable parameter and bandwidth parameter of mobile terminal, by larger original of high resolution, data volume
The video that video code conversion is relatively low at the resolution ratio suitable for mobile terminal playing, data volume is smaller.
Step 104, the video after transcoding is supplied to mobile terminal, so as to the video after mobile terminal playing transcoding.
The resolution ratio obtained after transcoding is relatively low, data volume is smaller video is sent to mobile terminal, so as to mobile terminal
It being capable of the smooth playing video.The above method can be applied to high in the clouds platform.
The method for processing video frequency that the present embodiment one provides, by obtaining original video according to video original address, and will be former
Beginning video code conversion is the video for being suitble to mobile terminal playing, reaches the video source coverage rate for improving low performance mobile terminal, Xiang Yong
Family provides the video tastes closer to mobile terminal image procossing and bandwidth ability, is meeting the use using low performance mobile terminal
Can also be the purpose that flow rate are saved using the user of high-performance mobile terminal while family requires.
Embodiment two
Referring to FIG. 2, it illustrates a kind of method for processing video frequency provided by Embodiment 2 of the present invention, the method for processing video frequency
The server positioned at high in the clouds is can be applied to, the method for processing video frequency flow is specific as follows:
Step 201, mobile terminal is sent to server plays video request, and the video is carried in the broadcasting video request
The performance parameter of original address and the mobile terminal;
Specifically, mobile terminal receives the instruction for playing certain video that user sends out, sent to server according to the instruction
Play the request of the video;Meanwhile carrying the original address of the video and the performance of mobile terminal in the broadcasting video request
Parameter.
The performance parameter of mobile terminal may include mobile terminal screen resolution ratio, graphics capability parameter and bandwidth ginseng
Number;Wherein, mobile terminal figure processing capacity parameter is to join to the hardware that graphics capability is affected in the mobile terminal
Number, for example, the mobile terminal CPU (Central Processing Unit, central processing unit) dominant frequency, if the mobile terminal
It is also configured with GPU (Graphic Processing Unit, graphics processor), then graphics capability parameter can also include
GPU dominant frequency, for the design parameter of graphics capability, the present embodiment is not specifically limited;In addition, mobile terminal bandwidth parameter
Network type and amount of bandwidth including the mobile terminal etc..
Step 202, server obtains original video according to the video original address;
Specifically, after server receives the broadcasting video request that mobile terminal is sent, according in the broadcasting video request
It downloads and preserves the original video in the original video address of carrying.
Step 203, the original video of acquisition is divided into multiple raw frames groups by server;
Specifically, server download original video content include video heads, the key frame containing special marking and according to
Rely the non-key frame of each key frame;Wherein, frame is the single width image frame of least unit in video cartoon, and key frame then regards
In frequency animation role or object of which movement or variation in key operations residing for that frame, for example, in a certain section of video pictures
Role it is identical with object, then can using the first frame in this section of video content as key frame, and other frames then be rely on should
The non-key frame of key frame.In addition, including the information such as the video length, brief introduction, data volume size in video heads.
Server, which can divide original video according to key frame, forms several original GOP (Group of
Pictures, picture group), each original GOP includes GOP, a key frame and the non-key frame for relying on the key frame,
And preserve a series of original GOP that segmentation generates.
In practical application, it can include only a key frame in each original GOP, can also include continuous multiple key frames
And the non-key frame of these key frames is relied on, for including the quantity of key frame in each GOP, the present embodiment does not do specific limit
It is fixed.
Step 204, server is turned the raw frames group being partitioned into according to the performance parameter of the mobile terminal respectively
Code obtains the picture group after transcoding;
It is first whole according to the movement carried in the broadcasting video request received when server carries out transcoding to original GOP
The performance parameter at end determines a transcoding parameter, carries out transcoding respectively to original GOP according still further to determining transcoding parameter, generates and turn
GOP groups after code;Equally also include GOP in GOP after the transcoding wherein generated, one or more and relies on this at key frame
The non-key frame of a little key frames;In addition, transcoding parameter can specifically include the resolution ratio and refresh rate fps of transcoded video
(Frames Per Second, each second fill the frame number of image) etc..
Specifically, determining that one turns according to the performance parameter of the mobile terminal carried in the broadcasting video request received
When code parameter, the bandwidth parameter of the mobile terminal can be first passed through and graphics capability parameter calculates the mobile terminal and can connect
The maximal rate of graphics process is received and carried out, then determines the resolution ratio of transcoding by the mobile terminal screen resolution ratio, is finally tied
Closing the resolution ratio of transcoding and the mobile terminal can receive and carry out the maximal rate of graphics process and determine the brush of transcoding rear video
New rate;, can be by the screen resolution of mobile terminal directly as transcoding resolution ratio in practical application, and will be differentiated according to transcoding
Rate and maximal rate calculate refresh rate, or transcoding resolution ratio and refresh rate divide several class, according to screen resolution
Determine that immediate transcoding resolution ratio and refresh rate class, the present embodiment are not done the method for determining transcoding parameter with maximal rate
It is specific to limit.
Step 205, the picture group after transcoding is supplied to mobile terminal by server.
GOP after transcoding is sequentially providing to mobile terminal by server, so that mobile terminal is played according to the GOP after transcoding
The video.
Further, it is contemplated that mobile terminal receive transcoding after video actual bandwidth be it is variable, in most cases
Be not achieved the theoretical bandwidth shown by bandwidth parameter, server provide transcoding to mobile terminal after GOP when, can also be according to shifting
The time that dynamic terminal receives the GOP after transcoding determines that the mobile terminal receives the real-time bandwidth of the GOP after transcoding, and according to the reality
Time Bandwidth redefines transcoding parameter, to carry out transcoding according to the transcoding parameter redefined to the original GOP of not yet transcoding
To adapt to the variation of actual bandwidth.
It, can be to being partitioned into specifically, when original video is divided into several original GOP by server according to key frame
Original GOP is numbered according to reproduction time sequencing, also, after the transcoding that generates of transcoding in GOP, can also carry and its
Corresponding original GOP is identically numbered;It, can be according to shifting when the GOP after some transcoding is supplied to mobile terminal by server
Dynamic terminal receives the time of the GOP after the transcoding and the GOP data volume sizes after the transcoding determine that the mobile terminal receives transcoding
The real-time bandwidth of rear video, and transcoding parameter is redefined according to the real-time bandwidth, in order to which server is to the GOP after the transcoding
The corresponding original GOP of next number of number carry out transcoding according to the transcoding parameter that redefines.
For example, GOP is supplied to mobile terminal after server will number the transcoding for being 3, which is received according to mobile terminal
The GOP data volumes to be carried in the time of GOP after 3 transcoding and the GOP heads of the GOP determine the real-time bandwidth of mobile terminal,
And transcoding parameter is redefined according to the real-time bandwidth and mobile terminal figure processing capacity parameter and screen resolution;Service
Device carries out transcoding further according to the transcoding parameter redefined to the original GOP that number is 4, and the number that transcoding is generated is 4
GOP is supplied to mobile terminal after transcoding, so recycles.
In practical application, server can also often send the GOP after multiple transcodings and determine a real-time bandwidth, for example, often
It sends the GOP after 5 or 10 transcodings and determines a real-time bandwidth, in this regard, the present embodiment is not specifically limited.
Further, in order to improve the hit rate to being stored after original video segmentation and transcoding, server can be with
It is that each original video generates a unique special identifier according to video content;Specifically, server can be regarded according to original
The preceding 8k contents of video heads are special identifier of the original video one special string of generation as the original video in frequency, and
The unique mark of generation is added in the GOP after the original GOP that segmentation generates and the transcoding generated to original GOP transcodings;When
When server carries out original GOP transcoding respectively, whether server also verifies the special marking in current original GOP to be transcoded
For the special marking corresponding to the original video, if it is, the step of executing transcoding;GOP after server is by transcoding is carried
When supplying mobile terminal, whether the special marking that server also verify in the GOP after currently transcoding to be supplied is corresponding to this
The special marking of original video, if it is, executing the step of providing video.
In addition, for each video generate a unique special identifier mode can also there are many, such as according to original
4k contents or other parts content generate special identifier before video, in this regard, the present embodiment is not specifically limited.
The method for processing video frequency that the present embodiment two provides, by obtaining original video according to video original address, and will be former
Beginning video code conversion is the video for being suitble to mobile terminal playing, reaches the video source coverage rate for improving low performance mobile terminal, Xiang Yong
Family provides the video tastes closer to mobile terminal image procossing and bandwidth ability, is meeting the use using low performance mobile terminal
Can also be the purpose that flow rate are saved using the user of high-performance mobile terminal while family requires;Simultaneously by
Mobile terminal provide transcoding after video when obtain mobile terminal real-time bandwidth, and according to real-time bandwidth adjust transcoding parameter, reach
To the purpose for providing a user the video tastes for meeting mobile terminal actual bandwidth.
Embodiment three
Referring to FIG. 3, it illustrates a kind of video process apparatus, which can be applied to high in the clouds platform
Server, which includes:Receiving module 301, acquisition module 302, transcoding module 303 and video provide module
304。
Receiving module 301 is used to receive the broadcasting video request of mobile terminal transmission, and it includes video to play video request
The performance parameter of original address and mobile terminal;
Acquisition module 302 is used to obtain original video according to video original address;
Transcoding module 303 is used to that original video to be carried out transcoding according to the performance parameter of mobile terminal, after obtaining transcoding
Video;
Video provides module 304 and is used to the video after transcoding being supplied to mobile terminal, so as to mobile terminal playing transcoding
Video afterwards.
The original video that acquisition module 302 obtains includes the non-of video heads, at least a frame key frame and each key frame of dependence
Key frame.
Transcoding module 303 includes:Cutting unit 303a and transcoding units 303b;
Cutting unit 303a is used to original video being divided at least one raw frames group according to key frame, each original
Picture group includes a key frame and relies on the non-key frame of key frame;
Transcoding units 303b for carrying out transcoding respectively at least one raw frames group, after obtaining at least one transcoding
Picture group.
The video process apparatus further includes:
Parameter adaptation module 305 is used to determine that transcoding parameter, transcoding parameter include turning according to the performance parameter of mobile terminal
Code distinguishability and refresh rate;
Transcoding units 303b be specifically used for according to transcoding resolution ratio and refresh rate at least one raw frames group respectively into
Row transcoding obtains the picture group after at least one transcoding.
The performance parameter of mobile terminal includes:Screen resolution, image-capable parameter and bandwidth parameter, image procossing
Ability parameter includes:At least one of cpu frequency parameter and GPU frequency parameters.
Parameter adaptation module 305 specifically includes:Code check computing unit 305a and parameter determination unit 305b;
Code check computing unit 305a is used to be calculated according to mobile terminal image-capable parameter and bandwidth parameter mobile whole
The maximal rate of end processing image;
Parameter determination unit 305b is used for according to mobile terminal screen resolution ratio and the calculated maximum of code check computing unit
Code check determines transcoding resolution ratio and refresh rate.
Video provides module 304 and is specifically used for the picture group after at least one transcoding obtained being supplied to mobile terminal.
Video provides module 304 and is specifically used for the picture group after current transcoding being supplied to mobile terminal;
Refer to Fig. 4, it is preferred that the video process apparatus can also include:Real-time bandwidth computing module 306;
Real-time bandwidth computing module 306 be used to be received according to mobile terminal time used in the picture group after current transcoding and
The data volume entrained by picture group after current transcoding calculates the real-time bandwidth of mobile terminal.
Parameter adaptation module 305 is additionally operable to the real-time band of image-capable parameter and mobile terminal according to mobile terminal
Width adjustment transcoding parameter;
Transcoding units 303b is additionally operable to original picture of the transcoding parameter after being adjusted according to parameter adaptation module to not yet transcoding
Face group carries out transcoding respectively.
Video process apparatus provided in this embodiment, by obtaining original video according to video original address, and will be original
Video code conversion is the video for being suitble to mobile terminal playing, reaches the video source coverage rate for improving low performance mobile terminal, to user
Video tastes closer to mobile terminal image procossing and bandwidth ability are provided, the user using low performance mobile terminal is being met
It is required that while, can also be the purpose that flow rate are saved using the user of high-performance mobile terminal;Simultaneously by shifting
Mobile terminal real-time bandwidth is obtained when moving the video after terminal provides transcoding, and transcoding parameter is adjusted according to real-time bandwidth, is reached
Provide a user the purpose for the video tastes for meeting mobile terminal actual bandwidth.
Embodiment five
With reference to figure 5, it illustrates a kind of mobile terminal, which includes:Request module 401 and video reception module
402;
Request module 401 is used to send the request for playing video to video process apparatus, which includes
The performance parameter of video original address and the mobile terminal;
Video reception module 402 be used for receive video process apparatus according to play video request include video primitively
The performance parameter of location and mobile terminal obtains and the picture group after at least one transcoding obtained by transcoding.
Mobile device provided in this embodiment, by sending video original address and the mobile terminal to video process apparatus
Performance parameter so that video process apparatus obtains original video according to video original address and be suitable by original video transcoding
The video for closing mobile terminal playing reaches the video source coverage rate for improving low performance mobile terminal, provides a user closer to shifting
The video tastes of dynamic terminal image processing and bandwidth ability, while satisfaction is required using the user of low performance mobile terminal,
It can also be the purpose that flow rate are saved using the user of high-performance mobile terminal.
Embodiment six
With reference to figure 6, it illustrates a kind of processing system for video, which includes video process apparatus shown in example IV
30 and embodiment five shown in mobile terminal 40.
Video providing system provided in this embodiment, by obtaining original video according to video original address, and will be original
Video code conversion is the video for being suitble to mobile terminal playing, reaches the video source coverage rate for improving low performance mobile terminal, to user
Video tastes closer to mobile terminal image procossing and bandwidth ability are provided, the user using low performance mobile terminal is being met
It is required that while, can also be the purpose that flow rate are saved using the user of high-performance mobile terminal;Simultaneously by shifting
Mobile terminal real-time bandwidth is obtained when moving the video after terminal provides transcoding, and transcoding parameter is adjusted according to real-time bandwidth, is reached
Provide a user the purpose for the video tastes for meeting mobile terminal actual bandwidth.
It should be noted that:Above-described embodiment provide a kind of video process apparatus to original video carry out processing and to
It, only the example of the division of the above functional modules, can be according to need in practical application when mobile terminal provides video
It wants and completes above-mentioned function distribution by different function modules, i.e., the internal structure of device is divided into different function moulds
Block, to complete all or part of the functions described above.In addition, a kind of video process apparatus and one that above-described embodiment provides
Kind method for processing video frequency embodiment belongs to same design, and specific implementation process refers to embodiment of the method, and which is not described herein again.
One of ordinary skill in the art will appreciate that realizing that all or part of step of above-described embodiment can pass through hardware
It completes, relevant hardware can also be instructed to complete by program, the program can be stored in a kind of computer-readable
In storage medium, storage medium mentioned above can be read-only memory, disk or CD etc..
The foregoing is merely presently preferred embodiments of the present invention, is not intended to limit the invention, it is all the present invention spirit and
Within principle, any modification, equivalent replacement, improvement and so on should all be included in the protection scope of the present invention.
Claims (18)
1. a kind of method for processing video frequency, which is characterized in that the method includes:
The broadcasting video request that mobile terminal is sent is received, the broadcasting video request includes video original address and the shifting
The performance parameter of dynamic terminal;
Original video is obtained according to the video original address;
The original video is subjected to transcoding according to the performance parameter of the mobile terminal, to obtain the video after transcoding;
Video after the transcoding is supplied to the mobile terminal, so as to regarding after transcoding described in the mobile terminal playing
Frequently;
The time used in the picture group after current transcoding and the picture group after the current transcoding are received according to the mobile terminal
Entrained data volume calculates the real-time bandwidth of the mobile terminal;
According to the real-time bandwidth tune of image-capable parameter and the mobile terminal in the performance parameter of the mobile terminal
Whole transcoding parameter;
Transcoding is carried out respectively to the raw frames group of not yet transcoding according to the transcoding parameter after the adjustment.
2. method for processing video frequency according to claim 1, which is characterized in that
The original video includes video heads, at least a frame key frame and the non-key frame for relying on each key frame.
3. method for processing video frequency according to claim 2, which is characterized in that described to be joined according to the performance of the mobile terminal
Number specifically includes original video progress transcoding to obtain the video after transcoding:
It includes one that the original video is divided at least one raw frames group, each raw frames group according to the key frame
A key frame and the non-key frame for relying on the key frame;
Transcoding is carried out respectively at least one raw frames group, obtains the picture group after at least one transcoding.
4. method for processing video frequency according to claim 3, which is characterized in that described at least one raw frames group
Transcoding is carried out respectively, is obtained the picture group after at least one transcoding, is specifically included:
Determine that the transcoding parameter, the transcoding parameter include transcoding resolution ratio and brush according to the performance parameter of the mobile terminal
New rate;
Transcoding is carried out respectively at least one raw frames group according to the transcoding resolution ratio and refresh rate, obtains at least one
Picture group after a transcoding.
5. method for processing video frequency according to claim 4, which is characterized in that described image processing capacity parameter includes:CPU
The performance parameter of at least one of frequency parameter and GPU frequency parameters, the mobile terminal further includes:Screen resolution and band
Wide parameter.
6. method for processing video frequency according to claim 5, which is characterized in that described to be joined according to the performance of the mobile terminal
Number determines transcoding parameter, specifically includes:
The mobile terminal processing image is calculated according to the image-capable parameter and bandwidth parameter of the mobile terminal most
Big code check;
The transcoding resolution ratio and refresh rate are determined according to the mobile terminal screen resolution ratio and the maximal rate.
7. according to claim 3 to 6 any one of them method for processing video frequency, which is characterized in that it is described will be after the transcoding
Video is supplied to the mobile terminal, specifically includes:
Picture group after at least one transcoding of the acquisition is supplied to the mobile terminal.
8. method for processing video frequency according to claim 7, which is characterized in that at least one transcoding by the acquisition
Picture group afterwards is supplied to the mobile terminal, specifically includes:
Picture group after current transcoding is supplied to the mobile terminal.
9. a kind of video process apparatus, which is characterized in that the video process apparatus includes:
Receiving module, the broadcasting video request for receiving mobile terminal transmission, the broadcasting video request include video original
The performance parameter of beginning address and the mobile terminal;
Acquisition module, for obtaining original video according to the video original address;
Transcoding module, for the original video to be carried out transcoding according to the performance parameter of the mobile terminal, to obtain transcoding
Video afterwards;
Video provides module, for the video after the transcoding to be supplied to the mobile terminal, so that the mobile terminal is broadcast
Put the video after the transcoding;
The video process apparatus further includes:
Real-time bandwidth computing module, for receiving time and institute used in the picture group after current transcoding according to the mobile terminal
State the real-time bandwidth that the data volume entrained by the picture group after current transcoding calculates the mobile terminal;
Parameter adaptation module, for according in the performance parameter of the mobile terminal image-capable parameter and the movement
The real-time bandwidth of terminal adjusts transcoding parameter;
The transcoding module, including transcoding units;
The transcoding units, for the transcoding parameter after being adjusted according to the parameter adaptation module to the raw frames of not yet transcoding
Group carries out transcoding respectively.
10. video process apparatus according to claim 9, which is characterized in that
The original video that the acquisition module obtains includes the non-key of video heads, at least a frame key frame and each key frame of dependence
Frame.
11. video process apparatus according to claim 10, which is characterized in that the transcoding module further includes:
Cutting unit, for the original video to be divided at least one raw frames group, Mei Geyuan according to the key frame
Beginning picture group includes a key frame and relies on the non-key frame of the key frame;
The transcoding units, for carrying out transcoding respectively at least one raw frames group, after obtaining at least one transcoding
Picture group.
12. video process apparatus according to claim 11, which is characterized in that described device further includes:
Parameter adaptation module is additionally operable to determine the transcoding parameter according to the performance parameter of the mobile terminal, the transcoding ginseng
Number includes transcoding resolution ratio and refresh rate;
The transcoding units are specifically used for according to the transcoding resolution ratio and refresh rate at least one raw frames component
Transcoding is not carried out, obtains the picture group after at least one transcoding.
13. video process apparatus according to claim 12, which is characterized in that described image processing capacity parameter includes:
The performance parameter of at least one of cpu frequency parameter and GPU frequency parameters, the mobile terminal further includes:Screen resolution
And bandwidth parameter.
14. video process apparatus according to claim 13, which is characterized in that the parameter adaptation module specifically includes:
Code check computing unit, it is described mobile whole for being calculated according to the mobile terminal image-capable parameter and bandwidth parameter
The maximal rate of end processing image;
Parameter determination unit, for according to the mobile terminal screen resolution ratio and the calculated maximum of code check computing unit
Code check determines the transcoding resolution ratio and refresh rate.
15. according to any video process apparatus of claim 11 to 14, which is characterized in that the video provides module,
It is supplied to the mobile terminal specifically for the picture group after at least one transcoding by the acquisition.
16. video process apparatus according to claim 15, which is characterized in that the video provides module, is specifically used for
Picture group after current transcoding is supplied to the mobile terminal.
17. a kind of mobile terminal, which is characterized in that the mobile terminal includes:
Request module, for sending the request for playing video to video process apparatus, the broadcasting video request includes video
The performance parameter of original address and the mobile terminal;
Video reception module is original for receiving the video that the video process apparatus includes according to the broadcasting video request
The real-time bandwidth of image-capable parameter and the mobile terminal in the performance parameter of address and the mobile terminal adjusts
Transcoding parameter, and the raw frames group of not yet transcoding is carried out obtained by transcoding extremely respectively according to the transcoding parameter after the adjustment
Picture group after a few transcoding, the real-time bandwidth of the mobile terminal are the video process apparatus according to the mobile terminal
It receives the time used in the picture group after transcoding and the data volume entrained by the picture group after the transcoding calculates the real-time of acquisition
Bandwidth.
18. a kind of processing system for video, which is characterized in that at any video of claim 9 to 16
Manage the mobile terminal described in device and the claim 17.
Priority Applications (1)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
CN201210115757.6A CN103379363B (en) | 2012-04-19 | 2012-04-19 | Method for processing video frequency and device, mobile terminal and system |
Applications Claiming Priority (1)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
CN201210115757.6A CN103379363B (en) | 2012-04-19 | 2012-04-19 | Method for processing video frequency and device, mobile terminal and system |
Publications (2)
Publication Number | Publication Date |
---|---|
CN103379363A CN103379363A (en) | 2013-10-30 |
CN103379363B true CN103379363B (en) | 2018-09-11 |
Family
ID=49463847
Family Applications (1)
Application Number | Title | Priority Date | Filing Date |
---|---|---|---|
CN201210115757.6A Active CN103379363B (en) | 2012-04-19 | 2012-04-19 | Method for processing video frequency and device, mobile terminal and system |
Country Status (1)
Country | Link |
---|---|
CN (1) | CN103379363B (en) |
Families Citing this family (24)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN103686206B (en) * | 2014-01-02 | 2017-02-01 | 中安消技术有限公司 | Video transcoding method and system in cloud environment |
CN104935952B (en) * | 2014-03-17 | 2018-06-19 | 无锡天脉聚源传媒科技有限公司 | A kind of video transcoding method and system |
US10965974B2 (en) | 2014-03-17 | 2021-03-30 | Sony Corporation | System, device and method for displaying display-dependent media files |
CN104967868B (en) * | 2014-04-04 | 2018-09-04 | 清华大学 | video transcoding method, device and server |
CN104159127B (en) * | 2014-08-21 | 2019-02-22 | 北京奇艺世纪科技有限公司 | A kind of video transcoding method, apparatus and system |
CN105681823A (en) * | 2014-11-21 | 2016-06-15 | 华为技术有限公司 | Method and device for transcoding video file online |
CN104410903A (en) * | 2014-12-25 | 2015-03-11 | 安科智慧城市技术(中国)有限公司 | Method and system for transcoding video based on mobile terminal |
CN105992027A (en) * | 2015-01-30 | 2016-10-05 | 中兴通讯股份有限公司 | Video signal processing method and device |
CN105979283A (en) * | 2015-08-12 | 2016-09-28 | 乐视云计算有限公司 | Video transcoding method and device |
CN105306963B (en) * | 2015-10-20 | 2019-10-08 | 努比亚技术有限公司 | The processing system for video of adaptive mobile terminal resolution ratio, device and method |
CN106170105A (en) * | 2016-03-31 | 2016-11-30 | 中山大学 | A kind of Multi net voting marketing video service device and method |
KR102286130B1 (en) * | 2016-05-25 | 2021-08-06 | 한국전자통신연구원 | Method and system for providing video |
JP6238255B2 (en) * | 2016-05-25 | 2017-11-29 | 株式会社Nexpoint | Surveillance method and video segmentation apparatus using surveillance camera system |
CN107566854B (en) * | 2016-06-30 | 2020-08-07 | 华为技术有限公司 | Method and device for acquiring and sending media content |
CN106254867A (en) * | 2016-08-08 | 2016-12-21 | 暴风集团股份有限公司 | Based on picture group, video file is carried out the method and system of transcoding |
CN106231416A (en) * | 2016-08-16 | 2016-12-14 | 北京小米移动软件有限公司 | Method for processing video frequency and device |
CN108933952A (en) * | 2017-05-26 | 2018-12-04 | 中兴通讯股份有限公司 | A kind of video broadcasting method, device, computer equipment and computer-readable medium |
CN110278460A (en) * | 2018-03-16 | 2019-09-24 | 上海小麦互动企业发展有限公司 | Content control system and its control method |
CN108462899B (en) * | 2018-03-19 | 2021-04-30 | 海信视像科技股份有限公司 | Streaming media code stream self-adaptive transmission method based on equipment capability, playing equipment and playing system |
CN111291254A (en) * | 2018-12-07 | 2020-06-16 | 北京字节跳动网络技术有限公司 | Information processing method and device |
CN109729385A (en) * | 2018-12-25 | 2019-05-07 | 广州市百果园信息技术有限公司 | Method for downloading video, device, computer equipment, storage medium and terminal |
CN111031389B (en) * | 2019-12-11 | 2022-05-20 | Oppo广东移动通信有限公司 | Video processing method, electronic device and storage medium |
CN112291627B (en) * | 2020-10-12 | 2022-12-09 | 广州市百果园网络科技有限公司 | Video editing method and device, mobile terminal and storage medium |
CN115243074A (en) * | 2022-07-26 | 2022-10-25 | 京东方科技集团股份有限公司 | Video stream processing method and device, storage medium and electronic equipment |
Citations (6)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN1929462A (en) * | 2006-07-25 | 2007-03-14 | 中山大学 | Device and method for digital household network media format transcoding |
CN101668132A (en) * | 2008-09-02 | 2010-03-10 | 华为技术有限公司 | Method and system for matching and processing captions |
CN101702774A (en) * | 2009-10-23 | 2010-05-05 | 深圳中兴力维技术有限公司 | Mobile video code stream customizing device and method applied to mobile video monitoring system |
CN102045312A (en) * | 2009-10-21 | 2011-05-04 | 三星电子(中国)研发中心 | Self-adaptative transcoding method and system |
CN102065339A (en) * | 2010-11-09 | 2011-05-18 | 中国电信股份有限公司 | Method and system for playing audio and video media stream |
CN102143385A (en) * | 2011-03-16 | 2011-08-03 | 华为技术有限公司 | Media play processing method, digital media server and system |
Family Cites Families (1)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
US8233527B2 (en) * | 2007-05-11 | 2012-07-31 | Advanced Micro Devices, Inc. | Software video transcoder with GPU acceleration |
-
2012
- 2012-04-19 CN CN201210115757.6A patent/CN103379363B/en active Active
Patent Citations (6)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN1929462A (en) * | 2006-07-25 | 2007-03-14 | 中山大学 | Device and method for digital household network media format transcoding |
CN101668132A (en) * | 2008-09-02 | 2010-03-10 | 华为技术有限公司 | Method and system for matching and processing captions |
CN102045312A (en) * | 2009-10-21 | 2011-05-04 | 三星电子(中国)研发中心 | Self-adaptative transcoding method and system |
CN101702774A (en) * | 2009-10-23 | 2010-05-05 | 深圳中兴力维技术有限公司 | Mobile video code stream customizing device and method applied to mobile video monitoring system |
CN102065339A (en) * | 2010-11-09 | 2011-05-18 | 中国电信股份有限公司 | Method and system for playing audio and video media stream |
CN102143385A (en) * | 2011-03-16 | 2011-08-03 | 华为技术有限公司 | Media play processing method, digital media server and system |
Also Published As
Publication number | Publication date |
---|---|
CN103379363A (en) | 2013-10-30 |
Similar Documents
Publication | Publication Date | Title |
---|---|---|
CN103379363B (en) | Method for processing video frequency and device, mobile terminal and system | |
US20230283653A1 (en) | Methods and apparatus to reduce latency for 360-degree viewport adaptive streaming | |
He et al. | Rubiks: Practical 360-degree streaming for smartphones | |
Xie et al. | 360ProbDASH: Improving QoE of 360 video streaming using tile-based HTTP adaptive streaming | |
Wang et al. | Adaptive mobile cloud computing to enable rich mobile multimedia applications | |
CN103974135B (en) | A kind of video sharing method and system | |
Jurgelionis et al. | Platform for distributed 3D gaming | |
Ahmadi et al. | Adaptive multicast streaming of virtual reality content to mobile users | |
KR101187622B1 (en) | Coordinating power management functions in a multi-media device | |
Nave et al. | Games@ large graphics streaming architecture | |
CN106688239B (en) | Method for downloading video, apparatus and system | |
WO2018064331A1 (en) | Streaming volumetric video for six degrees of freedom virtual reality | |
WO2017107911A1 (en) | Method and device for playing video with cloud video platform | |
CN107566854B (en) | Method and device for acquiring and sending media content | |
Hosseini et al. | Energy-budget-compliant adaptive 3D texture streaming in mobile games | |
CN106791915A (en) | A kind of method and apparatus for showing video image | |
CN111617466B (en) | Method and device for determining coding format and method for realizing cloud game | |
CN108668138A (en) | A kind of method for downloading video and user terminal | |
CN108810567B (en) | Audio and video visual angle matching method, client and server | |
WO2015085873A1 (en) | Video code stream obtaining method and apparatus | |
US20120265858A1 (en) | Streaming portions of a quilted graphic 2d image representation for rendering into a digital asset | |
Nguyen et al. | An adaptive streaming method of 360 videos over HTTP/2 protocol | |
US20240033624A1 (en) | 5g optimized game rendering | |
CN103918258A (en) | Reducing amount of data in video encoding | |
CN106604085A (en) | Video sharing method and video sharing 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 | ||
GR01 | Patent grant | ||
GR01 | Patent grant |