CN109040802A - A kind of method and device that media resource obtains - Google Patents
A kind of method and device that media resource obtains Download PDFInfo
- Publication number
- CN109040802A CN109040802A CN201811020862.5A CN201811020862A CN109040802A CN 109040802 A CN109040802 A CN 109040802A CN 201811020862 A CN201811020862 A CN 201811020862A CN 109040802 A CN109040802 A CN 109040802A
- Authority
- CN
- China
- Prior art keywords
- resolution
- media resource
- frame per
- target video
- highest
- 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.)
- Withdrawn
Links
Classifications
-
- H—ELECTRICITY
- H04—ELECTRIC COMMUNICATION TECHNIQUE
- H04N—PICTORIAL COMMUNICATION, e.g. TELEVISION
- H04N21/00—Selective content distribution, e.g. interactive television or video on demand [VOD]
- H04N21/40—Client devices specifically adapted for the reception of or interaction with content, e.g. set-top-box [STB]; Operations thereof
- H04N21/43—Processing of content or additional data, e.g. demultiplexing additional data from a digital video stream; Elementary client operations, e.g. monitoring of home network or synchronising decoder's clock; Client middleware
- H04N21/44—Processing of video elementary streams, e.g. splicing a video clip retrieved from local storage with an incoming video stream, rendering scenes according to MPEG-4 scene graphs
- H04N21/4402—Processing of video elementary streams, e.g. splicing a video clip retrieved from local storage with an incoming video stream, rendering scenes according to MPEG-4 scene graphs involving reformatting operations of video signals for household redistribution, storage or real-time display
- H04N21/440263—Processing of video elementary streams, e.g. splicing a video clip retrieved from local storage with an incoming video stream, rendering scenes according to MPEG-4 scene graphs involving reformatting operations of video signals for household redistribution, storage or real-time display by altering the spatial resolution, e.g. for displaying on a connected PDA
-
- H—ELECTRICITY
- H04—ELECTRIC COMMUNICATION TECHNIQUE
- H04N—PICTORIAL COMMUNICATION, e.g. TELEVISION
- H04N21/00—Selective content distribution, e.g. interactive television or video on demand [VOD]
- H04N21/20—Servers specifically adapted for the distribution of content, e.g. VOD servers; Operations thereof
- H04N21/25—Management operations performed by the server for facilitating the content distribution or administrating data related to end-users or client devices, e.g. end-user or client device authentication, learning user preferences for recommending movies
- H04N21/266—Channel or content management, e.g. generation and management of keys and entitlement messages in a conditional access system, merging a VOD unicast channel into a multicast channel
- H04N21/2662—Controlling the complexity of the video stream, e.g. by scaling the resolution or bitrate of the video stream based on the client capabilities
-
- H—ELECTRICITY
- H04—ELECTRIC COMMUNICATION TECHNIQUE
- H04N—PICTORIAL COMMUNICATION, e.g. TELEVISION
- H04N21/00—Selective content distribution, e.g. interactive television or video on demand [VOD]
- H04N21/40—Client devices specifically adapted for the reception of or interaction with content, e.g. set-top-box [STB]; Operations thereof
- H04N21/43—Processing of content or additional data, e.g. demultiplexing additional data from a digital video stream; Elementary client operations, e.g. monitoring of home network or synchronising decoder's clock; Client middleware
- H04N21/431—Generation of visual interfaces for content selection or interaction; Content or additional data rendering
-
- H—ELECTRICITY
- H04—ELECTRIC COMMUNICATION TECHNIQUE
- H04N—PICTORIAL COMMUNICATION, e.g. TELEVISION
- H04N21/00—Selective content distribution, e.g. interactive television or video on demand [VOD]
- H04N21/40—Client devices specifically adapted for the reception of or interaction with content, e.g. set-top-box [STB]; Operations thereof
- H04N21/45—Management operations performed by the client for facilitating the reception of or the interaction with the content or administrating data related to the end-user or to the client device itself, e.g. learning user preferences for recommending movies, resolving scheduling conflicts
- H04N21/462—Content or additional data management, e.g. creating a master electronic program guide from data received from the Internet and a Head-end, controlling the complexity of a video stream by scaling the resolution or bit-rate based on the client capabilities
- H04N21/4621—Controlling the complexity of the content stream or additional data, e.g. lowering the resolution or bit-rate of the video stream for a mobile client with a small screen
Abstract
The application provides a kind of method and device that media resource obtains, and is applied to stream media technology field.This method includes when client judges that target video belongs to preset kind, in the case where network bandwidth and terminal device hardware ability to play allow, the media resource that the highest resolution under highest frame per second is obtained in the media resource of the target video provided from server is downloaded.Compared with prior art, the broadcasting fluency for improving the video comprising fast moving picture, improves video interactive sense and realism, more meets user demand.
Description
Technical field
This application involves the method and devices that stream media technology field more particularly to a kind of media resource obtain.
Background technique
With the development of internet technology, Internet service is more and more abundant, and wherein streaming media is more and more extensive
Be applied to every field.
For terminal device, in playing network streaming media audio-video, when current network environment is good, can select current
The audio and video resources for the higher code rate that network environment can be supported, i.e. downloading high-resolution, the audio and video resources of high frame per second, such as film source
It is promoted from 720P/30 frame to 1080P/30 frame or 1080P/60 frame or even 4K/120 frame.The prior art is higher clear in order to obtain
Clear degree ordinary priority downloads high-resolution media resource.But for some certain types of videos, such as racing car, game packet
Video containing fast moving picture is greater than the demand to video resolution for the demand of the fluency of video pictures, that is, uses
Family is more urgent to the careful property demand of the fluency demand conversation structure details of such video pictures innervation.
It can be seen that how to meet user under above-mentioned application scenarios to media resource fluency the needs of, be at present need
Technical problems to be solved.
Summary of the invention
In a first aspect, the embodiment of the present application provides a kind of method that media resource obtains, comprising:
Judge whether target video belongs to preset kind, the preset kind refers to that video is the view comprising fast moving picture
Frequently;
If so, in the case where network bandwidth and terminal device hardware ability to play allow, from the target of server offer
The media resource that the highest resolution under highest frame per second is obtained in the media resource of video is downloaded.
It is selectable, before judging whether target video belongs to preset kind, comprising:
The hardware ability to play parameter of terminal device is obtained, the hardware ability to play parameter includes screen resolution and screen brush
New rate.
It is selectable, the media resource of highest frame per second is provided in the media resource of the target video provided from server
It is downloaded and includes:
Determine that resolution ratio is identical as the currently playing media resource resolution ratio of the target video and frame per second meets less than or equal to described
The highest frame per second of all media resources of screen refresh rate is the first frame per second;
Further determine that the media resource intermediate-resolution that frame per second is the first frame per second meets less than or equal to the screen resolution
Highest resolution is first resolution;
Acquisition frame per second is the first frame per second in the media resource of the target video provided from server and resolution ratio is first point
The media resource of resolution is downloaded.
It is selectable, the media resource of highest frame per second is provided in the media resource of the target video provided from server
It is downloaded further include:
It determines that resolution ratio is less than the currently playing media resource resolution ratio of the target video and meets and is less than or equal to the screen point
The highest resolution of all media resources of resolution is second resolution;
Determine that resolution ratio meets the highest frame for being less than or equal to the screen refresh rate for frame per second in the media resource of second resolution
Rate is the second frame per second;
Acquisition resolution ratio is second resolution in the media resource of the target video provided from server and frame per second is second
The media resource of frame per second is downloaded.
It is selectable, it is described judge whether target video belongs to preset kind after, comprising:
If it is not, being obtained most in the media resource of the target video provided from server in the case where network bandwidth allows
High-resolution media resource is downloaded.
Second aspect, the embodiment of the present application provide a kind of device that media resource obtains, comprising:
Judgment module, for judging whether target video belongs to preset kind, the preset kind refers to that video is comprising quick
The video of motion picture;
First processing module, for being mentioned from server in the case where network bandwidth and terminal device hardware ability to play allow
The media resource that the highest resolution under highest frame per second is obtained in the media resource of the target video supplied is downloaded.
It is selectable, module is obtained, for obtaining the hardware ability to play parameter of terminal device, the hardware ability to play
Parameter includes screen resolution and screen refresh rate.
Selectable, the first processing module is specifically used for:
Determine that resolution ratio is identical as the currently playing media resource resolution ratio of the target video and frame per second meets less than or equal to described
The highest frame per second of all media resources of screen refresh rate is the first frame per second;
Further determine that the media resource intermediate-resolution that frame per second is the first frame per second meets less than or equal to the screen resolution
Highest resolution is first resolution;
Acquisition frame per second is the first frame per second in the media resource of the target video provided from server and resolution ratio is first point
The media resource of resolution is downloaded.
Selectable, the first processing module is also used to:
It determines that resolution ratio is less than the currently playing media resource resolution ratio of the target video and meets and is less than or equal to the screen point
The highest resolution of all media resources of resolution is second resolution;
Determine that resolution ratio meets the highest frame for being less than or equal to the screen refresh rate for frame per second in the media resource of second resolution
Rate is the second frame per second;
Acquisition resolution ratio is second resolution in the media resource of the target video provided from server and frame per second is second
The media resource of frame per second is downloaded.
Selectable, described device further includes Second processing module, for judging that target video is not belonging to preset kind
When, in the case where network bandwidth allows, highest is obtained in the media resource of the target video provided from server and is differentiated
The media resource of rate is downloaded.
The third aspect, the embodiment of the present application also provides a kind of calculating equipment comprising memory and processor, wherein
The memory is used to call the program instruction stored in the memory for storing program instruction, the processor, according to
The program of acquisition executes above-mentioned any method provided by the embodiments of the present application.
Fourth aspect, the embodiment of the present application provide a kind of computer storage medium, the computer storage medium storage
There are computer executable instructions, the computer executable instructions are provided by the embodiments of the present application for executing the computer
Any method.
Detailed description of the invention
Fig. 1 is the system architecture schematic diagram that the embodiment of the present application is applicable in;
Fig. 2 is the schematic diagram of prior art media resource downloading;
Fig. 3 is a kind of flow chart of media resource acquisition methods provided by the embodiments of the present application;
Fig. 4 is a kind of flow chart of media resource acquisition methods provided by the embodiments of the present application;
Fig. 5 is the prior art and the application media resource acquisition methods contrast schematic diagram;
Fig. 6 is that media resource provided by the embodiments of the present application obtains video pictures effect picture;
Fig. 7 is a kind of flow chart of media resource acquisition methods provided by the embodiments of the present application;
Fig. 8 is a kind of flow chart of media resource acquisition methods provided by the embodiments of the present application;
Fig. 9 is a kind of media resource acquisition methods entire flow figure provided by the embodiments of the present application;
Figure 10 A is a kind of media resource acquisition device frame diagram provided by the embodiments of the present application;
Figure 10 B is a kind of media resource acquisition device frame diagram provided by the embodiments of the present application;
Figure 10 C is a kind of media resource acquisition device frame diagram provided by the embodiments of the present application;
Figure 11 is the structural schematic diagram of client device provided by the embodiments of the present application.
Specific embodiment
The embodiment of the present application is described in detail with reference to the accompanying drawing.
Referring to Fig. 1, a kind of system architecture schematic diagram being applicable in for the embodiment of the present application.As shown, in the system architecture
Including server 101, network 102 and client device 103, server 101 and client device 103 can pass through network 102
It interacts.Wherein, client device 103 may include multiple, only using one as example in figure.
Server 101 can provide Video service, be stored with the media resource of video.Specifically, client device 103 can be with
Video media asset is requested to be downloaded to server 101, which, which can be, requests to play a kind of clarity to server 101
Or the video resource of a variety of clarity;The video file of at least one clarity is stored in server 101, it is usually a variety of
The format that the video file of clarity, i.e. a video file have the clarity such as 480P, 720P, 1080P, 4K, server 101
Corresponding video clip can be sent to the client device 103 according to the request, what client device 103 can obtain downloading
Video clip is cached and is played.
According to existing download policy, the selection of preset a variety of resolution ratio in client 103, and it is preferential according to high-resolution
Principle carry out video media resource downloading.For example, client 103 playd in order according to the preferential playing sequence of clarity it is super
Clearly, the video file of the formats such as 720P, high definition, SD, smoothness, 1080P, original painting.In the case where network bandwidth allows, according to
The sequence client can download the media resource that clarity is the super clear video first, if the media resource without the clarity,
Then in the order described above, the media resource for the video that downloading clarity is 720P, if again without the media resource of the clarity,
Sequentially downloading clarity is the media resource of the video of high definition, and so on.
In addition, when network bandwidth changes, according to the prior art, as shown in Fig. 2, client can dynamic select difference
The video clip of resolution ratio, principle are also to select the video media asset of highest resolution under the bandwidth condition, be can guarantee in this way
Video playing is not interrupted.Illustratively, if the video format that client (TV) is supported includes that 1080P@60(resolution ratio is
1080P, screen frame per second are 60 frames), 1080P 30,4K 30,720P 60 etc., user watches track and field ratio under a kind of application scenarios
Match, as shown in figure 4, according to original scheme of the prior art, video rise broadcast moment TV judge network bandwidth for 20Mbps,
Under the bandwidth condition, server end can provide the resolution ratio of the media resource of the highest resolution of downloading and frame per second is 1080@30,
The video media asset that 30 frame of 1080P@of the video can be then downloaded according to the pre-selected rule client of the prior art plays out;
When network bandwidth is stable and is promoted to 40Mbps, the bandwidth condition allows the server video media resource packet downloaded at this time
4K@30,1080P@60,1080P@30,720P@60 are included, can be cut according to the preferential download policy client of prior art resolution ratio
The media resource for changing the video of 4K@30 is downloaded and plays.
Video frame rate, for the measurement for measuring display frame number.It is generally understood as the frame of the picture transmitted in 1 seconds
Number (Frames per second, abbreviation FPS), it is understood that for that can refresh several times graphics processor each second.Due to people
Class ocular physiology structure will be considered that it is coherent if seen picture frame per second is higher than 16, this phenomenon is referred to as vision stop.It is high
The available more smooth animation more true to nature of frame per second, in general 30pfs is acceptable, but extremely by performance boost
60fps can then be obviously improved interaction sense and realism.
From the above mentioned it is found that for some special screnes, demand of the user to video frame rate is higher than the demand of resolution ratio.
It is not able to satisfy the demand of user's this aspect using the strategy that the preferential video media asset downloading of existing resolution ratio plays.Therefore,
A kind of method that more preferably video media asset obtains is needed, the video for playing downloading more meets user demand.
Referring to Fig. 3, for a kind of method flow diagram that media resource obtains provided by the embodiments of the present application.As shown in figure 3, institute
The method of stating includes:
S301: judge whether target video belongs to preset kind.
S302: it if so, in the case where network bandwidth and terminal device hardware ability to play allow, is provided from server
The media resource that the highest resolution under highest frame per second is obtained in the media resource of the target video is downloaded.
The embodiment of the present application can be set when client judges that target video belongs to preset kind in network bandwidth and terminal
Standby ability to play obtains the highest under highest frame per second from the media resource of the target video of server offer in the case where allowing
The media resource of resolution ratio is downloaded.The download policy of the video media asset ensure that the video comprising fast moving picture
Broadcasting fluency, improve video interactive sense and realism compared with prior art, more meet the user demand under the scene.
Wherein, the preset kind refers to that video is the video comprising fast moving picture.In a kind of possible embodiment party
In formula, judge whether target video belongs to preset kind by obtaining the program description of the video from server end, than
If program description indicates that the video is the track and field events of a sport category, it can determine whether that the target video belongs to preset kind.
In alternatively possible embodiment, terminal carries out motion analysis by the segment of the partial target video to acquisition and judges mesh
Whether mark video belongs to preset kind.The application is not limited to above-mentioned two to the judgement whether target video belongs to preset kind
Kind embodiment.
For step S302, optionally, server end is available all to client transmission current network bandwidth situation
The information of video media asset, the information include resolution ratio and frame per second and the corresponding address URL of media resource;Client exists
Under the premise of step S301 judges that the video belongs to preset kind, the highest frame for obtaining and determining through determination strategy is sent to server
The request of highest resolution video media asset under rate is played comprising requested network bandwidth and terminal hardware in the request
Under ability enabled condition under highest frame per second the media resource of highest resolution the address URL;Server end to client send pair
Answer media resource;Client plays out the highest resolution media resource under the highest frame per second of downloading.
In a kind of possible embodiment, when network bandwidth is improved by difference, as video media casts to normal play from
When, as shown in figure 4, obtaining the best result under highest frame per second in the media resource of the target video provided from server
Resolution media resource, which is downloaded, includes:
S401, determine that resolution ratio is identical as the currently playing media resource resolution ratio of target video and frame per second meets less than or equal to described
The highest frame per second of all media resources of screen refresh rate is the first frame per second.
For client, when the frame per second for obtaining video is more than screen refresh rate, since monitor cannot be with so
Fast speed updates, and the frame per second more than refresh rate is caused just to be wasted in this way.Therefore the selection to video media asset frame per second
Consider screen refresh rate.
S402, further determine that the media resource intermediate-resolution that frame per second is the first frame per second meets less than or equal to screen resolution
Highest resolution be first resolution.
S403, obtain that frame per second is the first frame per second and resolution ratio is the from the media resource for the target video that server provides
The media resource of one resolution ratio is downloaded.
Below with reference to Fig. 5 and Fig. 6, the method for the application Fig. 4 is illustrated compared with prior art.Such as Fig. 5 institute
Show it is consistent with the application scenarios of the aforementioned prior art, client (TV) support video format include 1080P@60,1080P@
30,4K@30,720P@60, user watch track and field events, according to scheme shown in Fig. 3, broadcast moment TV in video and judge network
Bandwidth is 20Mbps, and under the bandwidth condition, server end can provide the resolution ratio of the media resource of downloading and frame per second is 1080@
30, the video media asset that client can download 30 frame of 1080P@of the video plays out;When network bandwidth is stable and is promoted
When for 40Mbps, at this time the bandwidth condition allow the server video media resource downloaded include 4K@30,1080P@120,
1080P@60,1080P@30,720P@60, client judges that the type of the video belongs to preset kind at this time, then first determines current
Rising for playing broadcasts video media segment resolution ratio as 1080P, and the frame per second of the media resource under the resolution ratio includes 102 frames, 60 frames
With 30 frames, due to video screen refresh rate maximum support 60 frames, screen resolution 1080P, it is thus determined that under the network bandwidth
The media resource for meeting TV hardware ability to play is 1080P@60, and client can switch the media money of the video of 1080P@60
Source is downloaded and plays.It is illustrated in figure 5 the exemplary effect of Fig. 4 and shows that wherein left-side images have been to broadcast moment, and resolution ratio is
1080P, the picture effect that frame per second is 30, it is seen that picture transition position exists fuzzy;Image right divides for what is used after bandwidth upgrading
Resolution is the video pictures that 1080P frame per second is 60, it is the same that picture fineness is compared with left-side images, but fluency mentions significantly
It rises.According to the prior art and to obtain resolution ratio be video media asset that 4K frame per second is 30, then fluency still can and left hand view
As consistent.By the diagram as it can be seen that more meeting the demand of user under preset kind video scene using the preferential strategy of frame per second.
In second of possible embodiment, when network bandwidth is backward, as shown in fig. 7, described from server
Highest resolution media resource under highest frame per second is provided in the media resource of the target video provided and is downloaded and includes:
S701, determine that resolution ratio is less than the currently playing media resource resolution ratio of the target video and meets less than or equal to the screen
The highest resolution of all media resources of curtain resolution ratio is second resolution.
S702, determine that resolution ratio meets for frame per second in the media resource of second resolution less than or equal to the screen refresh rate
Highest frame per second be the second frame per second.
S703, resolution ratio is obtained from the media resource for the target video that server provides as second resolution and frame
Rate is that the media resource of the second frame per second is downloaded.
Illustratively, it is assumed that the media resource that client is downloaded from network under former network bandwidth condition is 4K@30, works as net
When network bandwidth condition is deteriorated, the downloading of 30 media resource of 4K@can not be supported at this time.It can be provided according to existing way server
The media resource of 1080P@30 is played for client downloads.Under the present embodiment strategy, client can determine whether resolution ratio lower than first
The preceding resolution ratio for playing media resource 4K is 1080P, then obtains the media resource that the available resolution ratio of server is 1080P
Frame per second include 120 frames, 60 frames, 30 frames and obtain the supported maximum screen refresh rate of client itself be 60 frames, therefore really
Fixed second frame per second is 60 frames.It is 1080P, frame that resolution ratio is finally obtained from the media resource for the target video that service provides
Rate is that the media resource of 60 frames is downloaded.
In alternatively possible embodiment, on the basis of method and step shown in Fig. 3, as shown in figure 8, the application is real
Applying example further includes,
Step 303: if it is not, obtaining the media money of highest resolution from the media resource for the target video that server provides
Source is downloaded.
The embodiment of the present application, by judging whether target video belongs to the obvious type of motion change, to select
Property the media resource of target video that provides of slave server in obtain the media resource of highest frame per second or highest resolution and carry out
Downloading, to meet demand of the user to high fluency or fine definition scene.
It is the complete method flow chart that media resource provided in an embodiment of the present invention obtains referring to Fig. 9, as shown in figure 9, institute
The method of stating includes the following steps:
S901: the hardware ability to play parameter of terminal device is obtained.
S902: judge whether target video belongs to preset kind.
If so, step 903 is executed, if it is not, executing step 910.
S903: judge that network bandwidth changes situation.
If belonging to the situation that network bandwidth improves, step S904-S906 is executed;If belonging to the situation of network bandwidth variation,
Execute step S907-S909.
S904: determine that resolution ratio is identical as the currently playing media resource resolution ratio of the target video and frame per second satisfaction is less than
Highest frame per second equal to all media resources of the screen refresh rate is the first frame per second.
S905: further determine that the media resource intermediate-resolution that frame per second is the first frame per second meets less than or equal to the screen point
The highest resolution of resolution is first resolution.
S906: it is the first frame per second and resolution ratio that frame per second is obtained in the media resource of the target video provided from server
It is downloaded for the media resource of first resolution.
S907: it determines that resolution ratio is less than the currently playing media resource resolution ratio of the target video and meets and is less than or equal to institute
The highest resolution for stating all media resources of screen resolution is second resolution.
S908: it determines that resolution ratio meets for frame per second in the media resource of second resolution and is less than or equal to the screen refresh rate
Highest frame per second be the second frame per second.
S909: it is second resolution and frame that resolution ratio is obtained in the media resource of the target video provided from server
Rate is that the media resource of the second frame per second is downloaded.
S910: from server provide the target video media resource in obtain highest resolution media resource into
Row downloading.
The embodiment of the present application, judges whether target video belongs to the video of preset kind, and the preset kind refers to video
For the video comprising fast moving picture;If so, the target video provided from server according to the situation of network change
The media resource that the highest resolution under highest frame per second is obtained in media resource is downloaded;If it is not, obtaining high-resolution media
Resource plays out.Under the premise of guaranteeing video high-resolution, the fluency of video under motion picture scene is realized, is improved
Video interactive sense and realism more meet the user demand under the scene.
Based on the same technical idea, the embodiment of the present application also provides the devices that a kind of media resource obtains, such as Figure 10 A
It is shown, the device can include: judgment module 1001, first processing module 1002, in which:
Judgment module 1001, for judging whether target video belongs to preset kind, the preset kind refer to video be comprising
The video of fast moving picture.
First processing module 1002 is used in the case where network bandwidth and terminal device hardware ability to play allow, from
The media resource that the highest resolution under highest frame per second is obtained in the media resource for the target video that server provides carries out
Downloading.
It is selectable, as shown in Figure 10 B, described device further include:
Module 1000 is obtained, for obtaining the hardware ability to play parameter of terminal device, the hardware ability to play parameter includes
Screen resolution and screen refresh rate.
Selectable, the first processing module 1002 is specifically used for:
Determine that resolution ratio is identical as the currently playing media resource resolution ratio of the target video and frame per second meets less than or equal to described
The highest frame per second of all media resources of screen refresh rate is the first frame per second;
Further determine that the media resource intermediate-resolution that frame per second is the first frame per second meets less than or equal to the screen resolution
Highest resolution is first resolution;
Acquisition frame per second is the first frame per second in the media resource of the target video provided from server and resolution ratio is first point
The media resource of resolution is downloaded.
Selectable, the first processing module 902 is also used to:
It determines that resolution ratio is less than the currently playing media resource resolution ratio of the target video and meets and is less than or equal to the screen point
The highest resolution of all media resources of resolution is second resolution;
Determine that resolution ratio meets the highest frame for being less than or equal to the screen refresh rate for frame per second in the media resource of second resolution
Rate is the second frame per second;
Acquisition resolution ratio is second resolution in the media resource of the target video provided from server and frame per second is second
The media resource of frame per second is downloaded.
It is selectable, as illustrated in figure 10 c, described device further include:
Second processing module 1003, for when judging that target video is not belonging to preset kind, the case where network bandwidth allows
Under, the media resource that highest resolution is obtained in the media resource of the target video provided from server is downloaded.
Based on the same technical idea, the embodiment of the present application also provides a kind of client devices, which can
Realize the process that client device executes in previous embodiment.
Figure 11 shows the structural schematic diagram of client device provided by the embodiments of the present application.As shown in fig.10, the visitor
Family end equipment 1100 includes that processor 1101, memory 1102 optionally may also include display 1103.Wherein, processor
1101 may be controller.The processor 1101 is configured as that terminal is supported to execute the function that foregoing schemes are related to.Storage
Device 1102 saves the necessary program instruction of terminal and data for coupling with processor 1101.Wherein, processor 1101, deposit
Reservoir 1102 is connected with display 1103, and for storing instruction, the processor 1101 is for executing the storage for the memory 1102
The instruction that device 1102 stores, to complete the step of client device executes corresponding function in the above method.
It is related to technical solution provided by the embodiments of the present application involved in client device 1100 in the embodiment of the present application
Concept, explain and be described in detail and other steps refer to retouching about these contents in preceding method or other embodiments
It states, is not repeated herein.
It should be noted that the above-mentioned processor being related to of the embodiment of the present application can be central processing unit (central
Processing unit, CPU), general processor, digital signal processor (digital signal processor, DSP),
Specific integrated circuit (application-specific integrated circuit, ASIC), field programmable gate array
It is (field programmable gate array, FPGA) or other programmable logic device, transistor logic, hard
Part component or any combination thereof.It, which may be implemented or executes, combines various illustrative logic sides described in present disclosure
Frame, module and circuit.Processor is also possible to realize the combination of computing function, such as includes one or more microprocessors group
It closes, DSP and the combination of microprocessor etc..Wherein, the memory can integrate in the processor, can also with it is described
Processor is provided separately.
The embodiment of the present application also provides a kind of computer readable storage medium, for storing some instructions, these instruction quilts
When execution, any one method involved in aforementioned terminals can be completed.
The application is referring to method, the process of equipment (system) and computer program product according to the embodiment of the present application
Figure and/or block diagram describe.It should be understood that every one stream in flowchart and/or the block diagram can be realized by computer program instructions
The combination of process and/or box in journey and/or box and flowchart and/or the block diagram.It can provide these computer programs
Instruct the processor of general purpose computer, special purpose computer, Embedded Processor or other programmable data processing devices to produce
A raw machine, so that being generated by the instruction that computer or the processor of other programmable data processing devices execute for real
The device for the function of being specified in present one or more flows of the flowchart and/or one or more blocks of the block diagram.
These computer program instructions, which may also be stored in, is able to guide computer or other programmable data processing devices with spy
Determine in the computer-readable memory that mode works, so that it includes referring to that instruction stored in the computer readable memory, which generates,
Enable the manufacture of device, the command device realize in one box of one or more flows of the flowchart and/or block diagram or
The function of being specified in multiple boxes.
These computer program instructions can also be loaded into computer or other programmable data processing devices, so that counting
Series of operation steps are executed on calculation machine or other programmable devices to generate computer implemented processing, thus in computer or
The instruction executed on other programmable devices is provided for realizing in one or more flows of the flowchart and/or block diagram one
The step of function of being specified in a box or multiple boxes.
Although the preferred embodiment of the application has been described, it is created once a person skilled in the art knows basic
Property concept, then additional changes and modifications may be made to these embodiments.So it includes excellent that the following claims are intended to be interpreted as
It selects embodiment and falls into all change and modification of the application range.
Obviously, those skilled in the art can carry out various modification and variations without departing from the essence of the application to the application
Mind and range.In this way, if these modifications and variations of the application belong to the range of the claim of this application and its equivalent technologies
Within, then the application is also intended to include these modifications and variations.
Claims (12)
1. a kind of method that media resource obtains characterized by comprising
Judge whether target video belongs to preset kind, the preset kind refers to that video is the view comprising fast moving picture
Frequently;
If so, in the case where network bandwidth and terminal device hardware ability to play allow, from the target of server offer
The media resource that the highest resolution under highest frame per second is obtained in the media resource of video is downloaded.
2. method according to claim 1, which is characterized in that it is described to judge whether target video belongs to before preset kind,
Include:
The hardware ability to play parameter of terminal device is obtained, the hardware ability to play parameter includes screen resolution and screen brush
New rate.
3. method according to claim 2, which is characterized in that the media money of the target video provided from server
The highest resolution media resource under highest frame per second is obtained in source and is downloaded includes:
Determine that resolution ratio is identical as the currently playing media resource resolution ratio of the target video and frame per second meets less than or equal to described
The highest frame per second of all media resources of screen refresh rate is the first frame per second;
Further determine that the media resource intermediate-resolution that frame per second is the first frame per second meets less than or equal to the screen resolution
Highest resolution is first resolution;
Acquisition frame per second is the first frame per second in the media resource of the target video provided from server and resolution ratio is first point
The media resource of resolution is downloaded.
4. method according to claim 2, which is characterized in that the media money of the target video provided from server
The highest resolution media resource obtained under highest frame per second in source is downloaded further include:
It determines that resolution ratio is less than the currently playing media resource resolution ratio of the target video and meets and is less than or equal to the screen point
The highest resolution of all media resources of resolution is second resolution;
Determine that resolution ratio meets the highest frame for being less than or equal to the screen refresh rate for frame per second in the media resource of second resolution
Rate is the second frame per second;
Acquisition resolution ratio is second resolution in the media resource of the target video provided from server and frame per second is second
The media resource of frame per second is downloaded.
5. method according to claim 1, which is characterized in that it is described to judge whether target video belongs to after preset kind,
Include:
If it is not, being obtained most in the media resource of the target video provided from server in the case where network bandwidth allows
High-resolution media resource is downloaded.
6. the device that a kind of media resource obtains characterized by comprising
Judgment module, for judging whether target video belongs to preset kind, the preset kind refers to that video is comprising quick
The video of motion picture;
First processing module, for being broadcast in network bandwidth and terminal device hardware when judging that target video belongs to preset kind
In the case that exoergic power allows, the highest under highest frame per second is obtained in the media resource of the target video provided from server
The media resource of resolution ratio is downloaded.
7. device according to claim 6, which is characterized in that described device further include:
Module is obtained, for obtaining the hardware ability to play parameter of terminal device, the hardware ability to play parameter includes screen
Resolution ratio and screen refresh rate.
8. device according to claim 7, which is characterized in that the first processing module is specifically used for:
Determine that resolution ratio is identical as the currently playing media resource resolution ratio of the target video and frame per second meets less than or equal to described
The highest frame per second of all media resources of screen refresh rate is the first frame per second;
Further determine that the media resource intermediate-resolution that frame per second is the first frame per second meets less than or equal to the screen resolution
Highest resolution is first resolution;
Acquisition frame per second is the first frame per second in the media resource of the target video provided from server and resolution ratio is first point
The media resource of resolution is downloaded.
9. device according to claim 7, which is characterized in that the first processing module is also used to:
It determines that resolution ratio is less than the currently playing media resource resolution ratio of the target video and meets and is less than or equal to the screen point
The highest resolution of all media resources of resolution is second resolution;
Determine that resolution ratio meets the highest frame for being less than or equal to the screen refresh rate for frame per second in the media resource of second resolution
Rate is the second frame per second;
Acquisition resolution ratio is second resolution in the media resource of the target video provided from server and frame per second is second
The media resource of frame per second is downloaded.
10. device according to claim 6, which is characterized in that described device further includes Second processing module, for judging
When target video is not belonging to preset kind, in the case where network bandwidth allows, the target video that is provided from server
The media resource that highest resolution is obtained in media resource is downloaded.
11. a kind of calculating equipment characterized by comprising
Memory, for storing program instruction;
Processor requires 1 to 5 according to the program execution benefit of acquisition for calling the program instruction stored in the memory
Described in any item methods.
12. a kind of computer storage medium, which is characterized in that the computer storage medium is stored with the executable finger of computer
It enables, the computer executable instructions are for making the computer perform claim require 1 to 5 described in any item methods.
Priority Applications (2)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
CN201811020862.5A CN109040802A (en) | 2018-09-03 | 2018-09-03 | A kind of method and device that media resource obtains |
PCT/CN2019/104065 WO2020048429A1 (en) | 2018-09-03 | 2019-09-02 | Method and apparatus for obtaining media resource |
Applications Claiming Priority (1)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
CN201811020862.5A CN109040802A (en) | 2018-09-03 | 2018-09-03 | A kind of method and device that media resource obtains |
Publications (1)
Publication Number | Publication Date |
---|---|
CN109040802A true CN109040802A (en) | 2018-12-18 |
Family
ID=64622918
Family Applications (1)
Application Number | Title | Priority Date | Filing Date |
---|---|---|---|
CN201811020862.5A Withdrawn CN109040802A (en) | 2018-09-03 | 2018-09-03 | A kind of method and device that media resource obtains |
Country Status (2)
Country | Link |
---|---|
CN (1) | CN109040802A (en) |
WO (1) | WO2020048429A1 (en) |
Cited By (11)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN109729385A (en) * | 2018-12-25 | 2019-05-07 | 广州市百果园信息技术有限公司 | Method for downloading video, device, computer equipment, storage medium and terminal |
WO2020048429A1 (en) * | 2018-09-03 | 2020-03-12 | 青岛海信传媒网络技术有限公司 | Method and apparatus for obtaining media resource |
CN110909277A (en) * | 2019-11-06 | 2020-03-24 | 北京奇艺世纪科技有限公司 | Multimedia resource loading method and device, electronic equipment and storage medium |
CN111475245A (en) * | 2020-04-08 | 2020-07-31 | 腾讯科技(深圳)有限公司 | Dynamic picture display method and device, electronic equipment and computer storage medium |
CN111741335A (en) * | 2019-05-21 | 2020-10-02 | 北京京东尚科信息技术有限公司 | Data processing method and device, mobile terminal and computer readable storage medium |
CN113825032A (en) * | 2020-06-18 | 2021-12-21 | 聚好看科技股份有限公司 | Media asset playing method and display equipment |
CN114025241A (en) * | 2021-10-19 | 2022-02-08 | 山东百盟信息技术有限公司 | Management control method and system for television playing capability |
CN114245198A (en) * | 2021-12-17 | 2022-03-25 | 北京达佳互联信息技术有限公司 | Media content processing method and device, electronic equipment and storage medium |
CN114466220A (en) * | 2022-01-29 | 2022-05-10 | 维沃移动通信有限公司 | Video downloading method and electronic equipment |
CN114760309A (en) * | 2022-04-11 | 2022-07-15 | 中国电信股份有限公司 | Business interaction method, device, equipment and medium of terminal based on cloud service |
CN115314723A (en) * | 2022-06-17 | 2022-11-08 | 百果园技术(新加坡)有限公司 | Initial gear video stream transmission method, device, equipment and storage medium |
Citations (5)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
US20030107648A1 (en) * | 2001-12-12 | 2003-06-12 | Richard Stewart | Surveillance system and method with adaptive frame rate |
CN101809590A (en) * | 2007-09-28 | 2010-08-18 | 索尼公司 | Content based adjustment of an image |
DE102013224184A1 (en) * | 2013-11-27 | 2015-05-28 | Sms Siemag Ag | Method and device for evaluating internal defects on a continuously cast cast product |
CN107659553A (en) * | 2016-07-25 | 2018-02-02 | 霍尼韦尔国际公司 | The system and method for frame rate based on the levels of motion adjustment transmission video in video |
CN108462899A (en) * | 2018-03-19 | 2018-08-28 | 青岛海信电器股份有限公司 | Stream media code stream adaptive transmission method, equipment and system based on capacity of equipment |
Family Cites Families (2)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN108235075B (en) * | 2018-01-30 | 2020-11-24 | 广州市百果园信息技术有限公司 | Video quality grade matching method, computer readable storage medium and terminal |
CN109040802A (en) * | 2018-09-03 | 2018-12-18 | 青岛海信传媒网络技术有限公司 | A kind of method and device that media resource obtains |
-
2018
- 2018-09-03 CN CN201811020862.5A patent/CN109040802A/en not_active Withdrawn
-
2019
- 2019-09-02 WO PCT/CN2019/104065 patent/WO2020048429A1/en active Application Filing
Patent Citations (5)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
US20030107648A1 (en) * | 2001-12-12 | 2003-06-12 | Richard Stewart | Surveillance system and method with adaptive frame rate |
CN101809590A (en) * | 2007-09-28 | 2010-08-18 | 索尼公司 | Content based adjustment of an image |
DE102013224184A1 (en) * | 2013-11-27 | 2015-05-28 | Sms Siemag Ag | Method and device for evaluating internal defects on a continuously cast cast product |
CN107659553A (en) * | 2016-07-25 | 2018-02-02 | 霍尼韦尔国际公司 | The system and method for frame rate based on the levels of motion adjustment transmission video in video |
CN108462899A (en) * | 2018-03-19 | 2018-08-28 | 青岛海信电器股份有限公司 | Stream media code stream adaptive transmission method, equipment and system based on capacity of equipment |
Cited By (14)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
WO2020048429A1 (en) * | 2018-09-03 | 2020-03-12 | 青岛海信传媒网络技术有限公司 | Method and apparatus for obtaining media resource |
CN109729385A (en) * | 2018-12-25 | 2019-05-07 | 广州市百果园信息技术有限公司 | Method for downloading video, device, computer equipment, storage medium and terminal |
CN111741335B (en) * | 2019-05-21 | 2022-12-27 | 北京京东尚科信息技术有限公司 | Data processing method and device, mobile terminal and computer readable storage medium |
CN111741335A (en) * | 2019-05-21 | 2020-10-02 | 北京京东尚科信息技术有限公司 | Data processing method and device, mobile terminal and computer readable storage medium |
CN110909277A (en) * | 2019-11-06 | 2020-03-24 | 北京奇艺世纪科技有限公司 | Multimedia resource loading method and device, electronic equipment and storage medium |
CN111475245A (en) * | 2020-04-08 | 2020-07-31 | 腾讯科技(深圳)有限公司 | Dynamic picture display method and device, electronic equipment and computer storage medium |
CN113825032A (en) * | 2020-06-18 | 2021-12-21 | 聚好看科技股份有限公司 | Media asset playing method and display equipment |
CN114025241A (en) * | 2021-10-19 | 2022-02-08 | 山东百盟信息技术有限公司 | Management control method and system for television playing capability |
CN114245198A (en) * | 2021-12-17 | 2022-03-25 | 北京达佳互联信息技术有限公司 | Media content processing method and device, electronic equipment and storage medium |
CN114245198B (en) * | 2021-12-17 | 2024-02-06 | 北京达佳互联信息技术有限公司 | Method and device for processing media content, electronic equipment and storage medium |
CN114466220A (en) * | 2022-01-29 | 2022-05-10 | 维沃移动通信有限公司 | Video downloading method and electronic equipment |
CN114760309A (en) * | 2022-04-11 | 2022-07-15 | 中国电信股份有限公司 | Business interaction method, device, equipment and medium of terminal based on cloud service |
CN115314723A (en) * | 2022-06-17 | 2022-11-08 | 百果园技术(新加坡)有限公司 | Initial gear video stream transmission method, device, equipment and storage medium |
CN115314723B (en) * | 2022-06-17 | 2023-12-12 | 百果园技术(新加坡)有限公司 | Method, device, equipment and storage medium for transmitting initial gear video stream |
Also Published As
Publication number | Publication date |
---|---|
WO2020048429A1 (en) | 2020-03-12 |
Similar Documents
Publication | Publication Date | Title |
---|---|---|
CN109040802A (en) | A kind of method and device that media resource obtains | |
US11677802B2 (en) | Methods and apparatus to reduce latency for 360-degree viewport adaptive streaming | |
CN110636346B (en) | Code rate self-adaptive switching method and device, electronic equipment and storage medium | |
US11019393B2 (en) | Video motion augmentation | |
Sengupta et al. | HotDASH: Hotspot aware adaptive video streaming using deep reinforcement learning | |
US10432690B1 (en) | Manifest partitioning | |
US9253494B2 (en) | Altering streaming video encoding based on user attention | |
CN108810636A (en) | Video broadcasting method, equipment and system | |
US20220165035A1 (en) | Latency indicator for extended reality applications | |
CN107872729A (en) | Obtain, generate the method and apparatus of frame of video thumbnail and obtain system | |
US8908776B1 (en) | Attention misdirection for streaming video | |
US9680895B1 (en) | Media content review timeline | |
CN110351606A (en) | Media information processing method, relevant device and computer storage medium | |
KR20230104602A (en) | Dynamic user device upscaling of media streams | |
US20230336842A1 (en) | Information processing apparatus, information processing method, and program for presenting reproduced video including service object and adding additional image indicating the service object | |
CN110971935A (en) | Adaptive definition video playing method and storage medium | |
US20180324480A1 (en) | Client and Method for Playing a Sequence of Video Streams, and Corresponding Server and Computer Program Product | |
CN116980392A (en) | Media stream processing method, device, computer equipment and storage medium | |
CN108574881A (en) | A kind of projection type recommends method, server and client | |
Seufert et al. | Delivering user experience over networks: Towards a quality of experience centered design cycle for improved design of networked applications | |
US11134236B2 (en) | Image processing device and system | |
KR102659489B1 (en) | Information processing devices, information processing devices and programs | |
JP7101336B2 (en) | CTA display program, information processing device, CTA display method, and video playback system | |
JP7237927B2 (en) | Information processing device, information processing device and program | |
CN106791968B (en) | A kind of data download method and device |
Legal Events
Date | Code | Title | Description |
---|---|---|---|
PB01 | Publication | ||
PB01 | Publication | ||
SE01 | Entry into force of request for substantive examination | ||
SE01 | Entry into force of request for substantive examination | ||
WW01 | Invention patent application withdrawn after publication | ||
WW01 | Invention patent application withdrawn after publication |
Application publication date: 20181218 |