CN110267100A - Code rate switching method, device, electronic equipment and the storage medium of FLV video - Google Patents

Code rate switching method, device, electronic equipment and the storage medium of FLV video Download PDF

Info

Publication number
CN110267100A
CN110267100A CN201910631959.8A CN201910631959A CN110267100A CN 110267100 A CN110267100 A CN 110267100A CN 201910631959 A CN201910631959 A CN 201910631959A CN 110267100 A CN110267100 A CN 110267100A
Authority
CN
China
Prior art keywords
code rate
current
video
target bit
flv
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.)
Granted
Application number
CN201910631959.8A
Other languages
Chinese (zh)
Other versions
CN110267100B (en
Inventor
王涛
Current Assignee (The listed assignees may be inaccurate. Google has not performed a legal analysis and makes no representation or warranty as to the accuracy of the list.)
Beijing Dajia Internet Information Technology Co Ltd
Original Assignee
Beijing Dajia Internet Information Technology Co Ltd
Priority date (The priority date 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 date listed.)
Filing date
Publication date
Application filed by Beijing Dajia Internet Information Technology Co Ltd filed Critical Beijing Dajia Internet Information Technology Co Ltd
Priority to CN201910631959.8A priority Critical patent/CN110267100B/en
Publication of CN110267100A publication Critical patent/CN110267100A/en
Application granted granted Critical
Publication of CN110267100B publication Critical patent/CN110267100B/en
Active legal-status Critical Current
Anticipated expiration legal-status Critical

Links

Classifications

    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04NPICTORIAL COMMUNICATION, e.g. TELEVISION
    • H04N21/00Selective content distribution, e.g. interactive television or video on demand [VOD]
    • H04N21/20Servers specifically adapted for the distribution of content, e.g. VOD servers; Operations thereof
    • H04N21/25Management 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/266Channel 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/2662Controlling the complexity of the video stream, e.g. by scaling the resolution or bitrate of the video stream based on the client capabilities
    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04NPICTORIAL COMMUNICATION, e.g. TELEVISION
    • H04N21/00Selective content distribution, e.g. interactive television or video on demand [VOD]
    • H04N21/40Client devices specifically adapted for the reception of or interaction with content, e.g. set-top-box [STB]; Operations thereof
    • H04N21/43Processing 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/433Content storage operation, e.g. storage operation in response to a pause request, caching operations
    • H04N21/4331Caching operations, e.g. of an advertisement for later insertion during playback
    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04NPICTORIAL COMMUNICATION, e.g. TELEVISION
    • H04N21/00Selective content distribution, e.g. interactive television or video on demand [VOD]
    • H04N21/40Client devices specifically adapted for the reception of or interaction with content, e.g. set-top-box [STB]; Operations thereof
    • H04N21/43Processing 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/44Processing of video elementary streams, e.g. splicing a video clip retrieved from local storage with an incoming video stream or rendering scenes according to encoded video stream scene graphs
    • H04N21/4402Processing of video elementary streams, e.g. splicing a video clip retrieved from local storage with an incoming video stream or rendering scenes according to encoded video stream scene graphs involving reformatting operations of video signals for household redistribution, storage or real-time display
    • H04N21/440263Processing of video elementary streams, e.g. splicing a video clip retrieved from local storage with an incoming video stream or rendering scenes according to encoded video stream 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
    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04NPICTORIAL COMMUNICATION, e.g. TELEVISION
    • H04N21/00Selective content distribution, e.g. interactive television or video on demand [VOD]
    • H04N21/40Client devices specifically adapted for the reception of or interaction with content, e.g. set-top-box [STB]; Operations thereof
    • H04N21/43Processing 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/44Processing of video elementary streams, e.g. splicing a video clip retrieved from local storage with an incoming video stream or rendering scenes according to encoded video stream scene graphs
    • H04N21/4402Processing of video elementary streams, e.g. splicing a video clip retrieved from local storage with an incoming video stream or rendering scenes according to encoded video stream scene graphs involving reformatting operations of video signals for household redistribution, storage or real-time display
    • H04N21/440281Processing of video elementary streams, e.g. splicing a video clip retrieved from local storage with an incoming video stream or rendering scenes according to encoded video stream scene graphs involving reformatting operations of video signals for household redistribution, storage or real-time display by altering the temporal resolution, e.g. by frame skipping
    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04NPICTORIAL COMMUNICATION, e.g. TELEVISION
    • H04N21/00Selective content distribution, e.g. interactive television or video on demand [VOD]
    • H04N21/80Generation or processing of content or additional data by content creator independently of the distribution process; Content per se
    • H04N21/85Assembly of content; Generation of multimedia applications
    • H04N21/854Content authoring
    • H04N21/8547Content authoring involving timestamps for synchronizing content

Landscapes

  • Engineering & Computer Science (AREA)
  • Multimedia (AREA)
  • Signal Processing (AREA)
  • Databases & Information Systems (AREA)
  • Computer Security & Cryptography (AREA)
  • Two-Way Televisions, Distribution Of Moving Picture Or The Like (AREA)

Abstract

Code rate switching method, device, electronic equipment and storage medium of the disclosure about a kind of FLV video, this method comprises: obtaining the current speed of download of current network downloading FLV video;Target bit rate is determined from preset multiple code rates according to current speed of download;Whether the current code rate according to the target bit rate and FLV video is identical, judges whether to need to carry out code rate switching;If necessary to carry out code rate switching, then after having downloaded the current GOP of current code rate, the downloading of the FLV video of current code rate is terminated, current code rate is switched to target bit rate.As it can be seen that the technical scheme provided by this disclosed embodiment, during FLV video playing, it may be implemented to switch over code rate according to the network environment of user is adaptive, to ensure that the continuity of user's viewing, effectively prevent the appearance of Caton.

Description

Code rate switching method, device, electronic equipment and the storage medium of FLV video
Technical field
This disclosure relates to field of video broadcasting technology more particularly to a kind of code rate switching method, device, the electricity of FLV video Sub- equipment and storage medium.
Background technique
FLV (Flash Video, stream media format) is increasingly becoming the video playing mode of mainstream at present.FLV is by continuous Data flow composition, basic unit be GOP (Group Of Picture, picture group), wherein the duration of a GOP be it is fixed, That is the time interval between two I frames.
It is all by manually realizing currently, being switched in the related technology in the code rate to the FLV video in playing process 's.The height of code rate, be all it is reflected by the clarity of video playing, manually adjust code rate be exactly manually adjust it is clear The process of degree.Typically: during carrying out FLV video playing by the clarity of user setting, if there is card , user can be with the clarity of manual modification player, to guarantee the fluency of video playing.Such as: user is first arranged clear Clear degree is high definition, occurs Caton during FLV video playing, the clarity of player is revised as marking by user manually Clearly, that is, code rate is reduced to guarantee the fluency of video playing.The different code rates of the same video, with different downloadings Location, the switching of switching code rate i.e. video download address.
As it can be seen that this video code rate switching method in the related technology, is after Caton appearance by manually switching over, The continuity of video playing is not high enough.
Summary of the invention
The disclosure provides code rate switching method, device, electronic equipment and the storage medium of a kind of FLV video, at least to solve The certainly problem not high enough in FLV video playing continuity in the related technology.The technical solution of the disclosure is as follows:
According to the first aspect of the embodiments of the present disclosure, a kind of code rate switching method of FLV video is provided, comprising:
Obtain the current speed of download of current network downloading FLV video;
Target bit rate is determined from preset multiple code rates according to the current speed of download;
Whether the current code rate according to the target bit rate and the FLV video is identical, judges whether to need to carry out code rate Switching;
If necessary to carry out code rate switching, then after the current GOP for having downloaded the current code rate, termination is described to work as former code The current code rate is switched to the target bit rate by the downloading of the FLV video of rate.
It is described according to the current speed of download in a kind of specific embodiment, from preset multiple code rates, determine The step of target bit rate out, comprising:
The current speed of download will be less than and be determined as target with the smallest code rate of difference of the current speed of download Code rate.
In a kind of specific embodiment, it is described according to the current code rate of the target bit rate and the FLV video whether It is identical, judge whether to need the step of carrying out code rate switching, comprising:
Judge whether the code rate value of the current code rate of the target bit rate and the FLV video is identical;
If the code rate value of the current code rate of the target bit rate and the FLV video is not identical, judgement has currently been delayed Whether the data to be played deposited meet preset switching condition;If the data to be played currently cached meet described preset Switching condition then needs to carry out code rate switching;
If the code rate value of the current code rate of the target bit rate and the FLV video is identical, do not need to carry out code rate Switching.
In a kind of specific embodiment, the preset switching condition are as follows:
When the code rate value of the current code rate is lower than the code rate value of the target bit rate, it is desirable that the number to be played cached According to playing duration be greater than or equal to preset first caching duration, wherein the first caching duration be greater than GOP when It is long;
When the code rate value of the current code rate is higher than the code rate value of the target bit rate, it is desirable that the number to be played cached According to playing duration be less than preset second caching duration, wherein the second caching duration be greater than or equal to GOP when It grows and is less than the first caching duration.
In a kind of specific embodiment, in the step of the current speed of download of the acquisition current network downloading FLV video Before rapid, further includes:
Obtain the configuration file of the FLV video of current network downloading;Include in the configuration file: described preset multiple The server address of each corresponding code rate value of code rate and the code rate value and the FLV video for preserving the code rate in code rate Between corresponding relationship.
In a kind of specific embodiment, the described the step of current code rate is switched to the target bit rate, comprising:
From the configuration file, the address for preserving the destination server of FLV video of the target bit rate is obtained;
Obtain the corresponding object time stamp of next GOP after the current GOP;
It is stabbed according to the object time of acquisition, it is corresponding that Xiang Suoshu destination server issues the acquisition object time stamp The video data of GOP downloads request, the code rate value comprising the target bit rate and the mesh in the video data downloading request Mark timestamp;
Receive the video data that the destination server is sent, wherein the video data is the target bit rate Middle timestamp is the video data of the FLV video of the current network downloading of object time stamp;
The video data received is stored to caching.
According to the second aspect of an embodiment of the present disclosure, a kind of code rate switching device of FLV video is provided, comprising:
Speed of download acquiring unit is configured as executing the current speed of download for obtaining current network downloading FLV video;
Determination unit is configured as executing and determines mesh from preset multiple code rates according to the current speed of download Coding rate;
Judging unit, be configured as executing it is whether identical according to the current code rate of the target bit rate and the FLV video, Judge whether to need to carry out code rate switching;
Switch unit is configured as executing when needing to carry out code rate switching, is downloading the current of the current code rate After GOP, the downloading of the FLV video of the current code rate is terminated, the current code rate is switched to the target bit rate.
In a kind of specific embodiment, the determination unit is configured as executing:
The current speed of download will be less than and be determined as target with the smallest code rate of difference of the current speed of download Code rate.
In a kind of specific embodiment, the judging unit is configured as executing:
Judge whether the code rate value of the current code rate of the target bit rate and the FLV video is identical;
If the code rate value of the current code rate of the target bit rate and the FLV video is not identical, judgement has currently been delayed Whether the data to be played deposited meet preset switching condition;If the data to be played currently cached meet described preset Switching condition then needs to carry out code rate switching;
If the code rate value of the current code rate of the target bit rate and the FLV video is identical, do not need to carry out code rate Switching.
In a kind of specific embodiment, the preset switching condition are as follows:
When the code rate value of the current code rate is lower than the code rate value of the target bit rate, it is desirable that the number to be played cached According to playing duration be greater than or equal to preset first caching duration, wherein the first caching duration be greater than GOP when It is long;
When the code rate value of the current code rate is higher than the code rate value of the target bit rate, it is desirable that the number to be played cached According to playing duration be less than preset second caching duration, wherein the second caching duration be greater than or equal to GOP when It grows and is less than the first caching duration.
In a kind of specific embodiment, the code rate switching device of the FLV video, further includes:
Configuration file acquiring unit is configured as executing the configuration file for the FLV video for obtaining current network downloading;It is described Include in configuration file: in preset multiple code rates each corresponding code rate value of code rate and the code rate value with preserve Corresponding relationship between the server address of the FLV video of the code rate.
In a kind of specific embodiment, the switch unit is configured as executing:
From the configuration file, the address for preserving the destination server of FLV video of the target bit rate is obtained;
Obtain the corresponding object time stamp of next GOP after the current GOP;
It is stabbed according to the object time of acquisition, it is corresponding that Xiang Suoshu destination server issues the acquisition object time stamp The video data of GOP downloads request;Code rate value comprising the target bit rate and the mesh in the video data downloading request Mark timestamp;
Receive the video data that the destination server is sent, wherein the video data is the target bit rate Middle timestamp is the video data of the FLV video of the current network downloading of object time stamp;
The video data received is stored to caching.
According to the third aspect of an embodiment of the present disclosure, a kind of electronic equipment is provided characterized by comprising
Processor;
For storing the memory of the processor-executable instruction;
Obtain the current speed of download of current network downloading FLV video;
Target bit rate is determined from preset multiple code rates according to the current speed of download;
Whether the current code rate according to the target bit rate and the FLV video is identical, judges whether to need to carry out code rate Switching;
If necessary to carry out code rate switching, then after the current GOP for having downloaded the current code rate, termination is described to work as former code The current code rate is switched to the target bit rate by the downloading of the FLV video of rate.
According to a fourth aspect of embodiments of the present disclosure, a kind of instruction when in the storage medium is provided by electronic equipment When processor executes, so that electronic equipment is able to carry out following steps:
Obtain the current speed of download of current network downloading FLV video;
Target bit rate is determined from preset multiple code rates according to the current speed of download;
Whether the current code rate according to the target bit rate and the FLV video is identical, judges whether to need to carry out code rate Switching;
If necessary to carry out code rate switching, then after the current GOP for having downloaded the current code rate, termination is described to work as former code The current code rate is switched to the target bit rate by the downloading of the FLV video of rate.
The technical scheme provided by this disclosed embodiment at least bring it is following the utility model has the advantages that FLV video playing process In, it realizes and code rate is switched over according to the network environment of user is adaptive.The technology provided due to embodiment of the disclosure Scheme may be implemented during video playing, and according to the current network environment of user, adaptive switching plays video Clarity plays video high-definition when network environment is good, when network environment difference that the broadcasting of video is clear Clear degree adapts to the clarity of network environment at that time by automatically switching to for higher resolution, to ensure that the continuous of user's viewing Property, effectively prevent the appearance of Caton.
It should be understood that above general description and following detailed description be only it is exemplary and explanatory, not The disclosure can be limited.
Detailed description of the invention
The drawings herein are incorporated into the specification and forms part of this specification, and shows the implementation for meeting the disclosure Example, and together with specification for explaining the principles of this disclosure, do not constitute the improper restriction to the disclosure.
Fig. 1 is a kind of flow chart of the code rate switching method of FLV video shown according to an exemplary embodiment.
Fig. 2 is the flow chart of the code rate switching method of another kind FLV video shown according to an exemplary embodiment.
Fig. 3 is a kind of block diagram of the code rate switching device of FLV video shown according to an exemplary embodiment.
Fig. 4 is the block diagram of the code rate switching device of another kind FLV video shown according to an exemplary embodiment.
Fig. 5 is the block diagram of a kind of electronic equipment shown according to an exemplary embodiment.
Specific embodiment
In order to make ordinary people in the field more fully understand the technical solution of the disclosure, below in conjunction with attached drawing, to this public affairs The technical solution opened in embodiment is clearly and completely described.
It should be noted that the specification and claims of the disclosure and term " first " in above-mentioned attached drawing, " Two " etc. be to be used to distinguish similar objects, without being used to describe a particular order or precedence order.It should be understood that using in this way Data be interchangeable under appropriate circumstances, so as to embodiment of the disclosure described herein can in addition to illustrating herein or Sequence other than those of description is implemented.Embodiment described in following exemplary embodiment does not represent and disclosure phase Consistent all embodiments.On the contrary, they are only and as detailed in the attached claim, the disclosure some aspects The example of consistent device and method.
Fig. 1 is a kind of flow chart of the code rate switching method of FLV video shown according to an exemplary embodiment, such as Fig. 1 Shown, the code rate switching method of the FLV video is in client, comprising the following steps:
In step s101, the current speed of download of current network downloading FLV video is obtained.
In practical applications, before FLV video playing, player can first download the configuration file of the FLV video, therefrom obtain The default server address of the FLV video is taken, and starts to play out from the server address foradownloaded video data.
In step s 102, target bit rate is determined from preset multiple code rates according to current speed of download.
In a kind of specific embodiment, object code is determined from preset multiple code rates according to current speed of download The step of rate may include:
Current speed of download will be less than and be determined as target bit rate with the smallest code rate of the difference of current speed of download.
In step s 103, whether the current code rate according to the target bit rate and FLV video identical, judge whether to need into The switching of row code rate.
In a kind of specific embodiment, whether the current code rate according to target bit rate and FLV video is identical, judges whether The step of carrying out code rate switching is needed, may include:
Judge whether the code rate value of the current code rate of target bit rate and FLV video is identical;
If the code rate value of the current code rate of target bit rate and FLV video is not identical, judgement currently cached wait broadcast Put whether data meet preset switching condition;If the data to be played currently cached meet preset switching condition, It needs to carry out code rate switching;
If the code rate value of the current code rate of target bit rate and FLV video is identical, do not need to carry out code rate switching.
In practical applications, preset switching condition can be with are as follows:
When the code rate value of current code rate is lower than the code rate value of target bit rate, it is desirable that the broadcasting of the data to be played cached Duration is greater than or equal to preset first caching duration, wherein the first caching duration is greater than the duration of a GOP;
When the code rate value of current code rate is higher than the code rate value of target bit rate, it is desirable that the broadcasting of the data to be played cached Duration is less than preset second caching duration, wherein the second caching duration is greater than or equal to the duration of a GOP and less than first Cache duration.
Wherein, the playing duration of the data to be played cached can be the data according to the data to be played cached Amount and current code rate calculate acquisition.
In step S104, if necessary to carry out code rate switching, then after having downloaded the current GOP of current code rate, terminate The downloading of the FLV video of current code rate, is switched to target bit rate for current code rate.
In a kind of specific embodiment, the step of current code rate is switched to target bit rate, may include:
From configuration file, the address for preserving the destination server of FLV video of target bit rate is obtained;
Obtain the corresponding object time stamp of next GOP after current GOP;
It is stabbed according to the object time of acquisition, the video counts of corresponding GOP is stabbed to the destination server sending acquisition object time It is requested according to downloading;Code rate value comprising target bit rate and object time stamp in video data downloading request;
Receive the video data that destination server is sent, wherein the video data is that timestamp is target in target bit rate The video data of the FLV video of the current network downloading of timestamp;
The video data received is stored to caching.
The technical scheme provided by this disclosed embodiment realizes the network according to user during FLV video playing Environment self-adaption switches over code rate.Due to the technical scheme provided by this disclosed embodiment, may be implemented to broadcast in video During putting, the clarity of video is played according to the adaptive switching of the current network environment of user, it is good in network environment When play video high-definition, by the play clarity of video by the automatic of higher resolution when network environment difference It is switched to the clarity for adapting to network environment at that time, to ensure that the continuity of user's viewing, effectively prevents going out for Caton It is existing.
It is exemplified below a specific embodiment, the code rate switching method for the FLV video that the embodiment of the present disclosure provides is done Further details of explanation.
Fig. 2 is the flow chart of the code rate switching method of another kind FLV video shown according to an exemplary embodiment, is such as schemed Shown in 2, the code rate switching method of the FLV video, comprising the following steps:
In step s 201, the configuration file of the FLV video of current network downloading is obtained.
In this embodiment, FLV video can be live video.
In practical applications, before player obtains FLV video, understand and first obtain a configuration file, particularly one Manifest file includes in the manifest file: the corresponding code rate value of each code rate and code rate in preset multiple code rates Be worth and preserve the code rate FLV video server address i.e. download address between corresponding relationship.Usual player The download address of a default can be selected to start to download FLV video, the download address of the usual default is preset multiple code rates The corresponding download address of the minimum code rate of middle code rate.
In step S202, the current speed of download of current network downloading FLV video is obtained.
In a kind of specific embodiment, the method for obtaining the current speed of download of current network downloading FLV video can be with It is: is compared with the data volume for downloading the FLV video within a preset period of time with preset time period, obtains current network and download FLV The current speed of download of video.Such as: with the data volume for downloading the FLV video in 5 seconds divided by 5 seconds, obtain current network downloading The current speed of download of FLV video.
In step S203, target bit rate is determined from preset multiple code rates according to current speed of download.
In general, the GOP time span of all code rates is identical in the same preset multiple code rates of FLV video;All code rates The corresponding timestamp of GOP it is identical;The coded format of the corresponding data flow of all code rates is identical, such as: when the GOP of all code rates Between length be all 3 seconds, the coded format of the corresponding data flow of all code rates is all H264 or is all H265 etc..
In a kind of specific embodiment, object code is determined from preset multiple code rates according to current speed of download The step of rate may include:
Current speed of download will be less than and be determined as target bit rate with the smallest code rate of the difference of current speed of download.
In another specific embodiment, mesh can also be determined according to the following steps from preset multiple code rates Coding rate:
According to current speed of download, determines and refer to speed of download;Wherein, it is less than current speed of download with reference to speed of download;
For each code rate, judge to subtract the difference after code rate with reference to speed of download, the current ratio with current speed of download Whether value is in preset interval range;
If current ratio is in preset interval range, it is determined that the code rate is target bit rate.
In practical applications, according to current speed of download, determine that the mode with reference to speed of download can be with are as follows: will currently download Speed is multiplied with the preset numerical value less than 100%, determines and refers to speed of download.Such as: by the 80% of current speed of download, really It is set to reference to speed of download.
The calculation formula of ratio can be with are as follows:If the ratio is smaller, show that the code rate is closer With reference to speed of download.It can will corresponding code rate be determined as when ratio minimum in preset range in a kind of specific embodiment Target bit rate, the preset range can be 0 to the 10% of current speed of download.
Example 1: preset code rate has: 4000kpbs, 5000kpbs, 6000kpbs, 7500kpbs, current code rate 4000kpbs, current speed of download are 10240kpbs.With reference to the current speed of download=8192kpbs of speed of download=80%, by InAccordingly, it is determined that 7500kpbs is target bit rate.
Example 1: preset code rate has: 4000kpbs, 5000kpbs, 6000kpbs, 7500kpbs, current code rate 6000kpbs, current speed of download are 7000kpbs.With reference to the current speed of download=5600kpbs of speed of download=80%, due to
Accordingly, it is determined that 5000kpbs is object code Rate.
In step S204, the current code rate of FLV video is obtained.
In a kind of specific embodiment, it can be according to current speed of download, from preset multiple code rates, determine Out before the step of target bit rate, the current code rate of FLV video is obtained.In another specific embodiment, it can also be Before the current speed of download for obtaining current network downloading FLV video, the current code rate of FLV video is obtained.The embodiment of the present invention The sequence for the step for not limiting the current code rate for obtaining FLV video, as long as getting working as FLV video before step S205 Preceding code rate.
In step S205, judge whether the code rate value of current code rate and target bit rate is identical;If current code rate and mesh The code rate value of coding rate is not identical, thens follow the steps S206;If the code rate value of current code rate and target bit rate is identical, execute Step S215.
In step S206, judge whether the code rate value of current code rate is lower than the code rate value of target bit rate;If working as former code The code rate value of rate is lower than the code rate value of target bit rate, thens follow the steps S207;If the code rate value of current code rate is higher than object code The code rate value of rate, thens follow the steps S208.
In step S207, judge whether the playing duration of the data to be played cached is greater than or equal to preset first Cache duration;If the playing duration of the data to be played cached is greater than or equal to preset first caching duration, execute Step S209 thens follow the steps S215 if being less than preset first caching duration when the broadcasting of the data to be played cached, Wherein, the first caching duration is greater than the duration of a GOP.
In step S208, when judging whether the playing duration of the data to be played cached is less than the preset second caching It is long;If the playing duration of the data to be played cached is less than preset second caching duration, S209 is thened follow the steps, if The playing duration of the data to be played cached is greater than or equal to preset second caching duration, thens follow the steps S215, wherein Second caching duration is greater than or equal to the duration of a GOP, less than the first caching duration.
Specifically, the playing duration of the data to be played cached, is the data volume according to the data to be played cached Acquisition is calculated with current code rate.Setting caching duration is to guarantee to prevent Caton when carrying out code rate switching.
GOP is the basic unit of FLV video, and a GOP is a multi-medium data frame, by an I frame (Intra- Coded picture, in-frame encoding picture frame), multiple P frame (Predictive-coded Picture, predictive-coded pictures Frame) and multiple B frames (Bidirectionally-predicted picture, bidirectionally predictive coded picture frame) composition, I frame is Key frame, P frame are forward predicted frame, and B frame is two-way interpolation frame.Key frame in one multi-medium data frame is usually one complete Whole picture, and the P frame and B frame in a multi-medium data frame are mainly used for recording the variation relative to key frame, do not close Key frame, which can not then decode, obtains P frame and B frame.
In practical applications, the duration of GOP is usually fixed in FLV video, is between the time between two I frames Every, a usual GOP when it is 2~3 seconds a length of.
In a kind of specific embodiment, the duration of a GOP can be 3 seconds, and the first caching duration can be 4 seconds, the Two caching durations can be 3 seconds.
In step S209, from configuration file, the ground for preserving the destination server of FLV video of target bit rate is obtained Location.
In step S210, the corresponding object time stamp of next GOP after current GOP is obtained.
It in step S211, is stabbed according to the object time of acquisition, is issued to destination server and obtain object time stamp correspondence GOP video data download request;Wherein, the code rate value and target of target bit rate be may include in video data downloading request Timestamp.
In practical applications, probably due to some GOP may be lacked in the reasons destination server such as loss of data.It is logical In normal situation, if there is the object time to stab corresponding GOP in destination server video data when, the object time can will stab correspondence GOP video data be sent to issue downloading request client;If there is no object time stamp to correspond in destination server GOP video data when, can by first timestamp be greater than the object time stamp GOP video data be sent to sending downloading The client of request.Such as: object time stamp is 2, and not having timestamp in destination server is 2 GOP, the in destination server It is 3 that one, which is stabbed 2 big timestamps than the object time, then, the video data transmitting for the GOP that timestamp can be 3 by destination server Give the client for issuing downloading request.
In step S212, the video data that destination server is sent is received.
In step S213, the video data received is stored to caching.
In step S214, the corresponding code rate of video data is identified in the buffer;So that player is in playing caching After the video data of previous code rate downloading, the decoded information of video data can be sent out according to video data corresponding code rate Corresponding decoder is given to be decoded.The decoded video data of player plays.
In step S215, continue the FLV video for downloading current code rate.
Specifically, can be unit according to TAG (frame) by the video data received, store into buffer queue previous After the video data of code rate downloading, the corresponding code rate of video data is identified in the caching, i.e. video data in mark caching Index (index) changed, when code rate previous in the complete buffer queue of player plays downloading video data after, It can know that the corresponding code rate of video data changes according to the mark in caching, thus, the handle before the decoding of new flow data The information such as the metadata (metadata) newly flowed, that is, the height and width that newly flow inform decoder, to guarantee that decoder can be just Seamless switching is realized in often work.
The technical scheme provided by this disclosed embodiment realizes the network according to user during FLV video playing Environment self-adaption switches over code rate.Due to the technical scheme provided by this disclosed embodiment, may be implemented to broadcast in video During putting, the clarity of video is played according to the adaptive switching of the current network environment of user, it is good in network environment When play video high-definition, by the play clarity of video by the automatic of higher resolution when network environment difference It is switched to the clarity for adapting to network environment at that time, to ensure that the continuity of user's viewing, effectively prevents going out for Caton It is existing.
Fig. 3 is a kind of block diagram of the code rate switching device of FLV video shown according to an exemplary embodiment.Reference Fig. 3, The device includes speed of download acquiring unit 301, determination unit 302, judging unit 303 and switch unit 304.
Speed of download acquiring unit 301 is configured as executing the current downloading speed for obtaining current network downloading FLV video Degree;
Determination unit 302 is configured as executing and determines mesh from preset multiple code rates according to current speed of download Coding rate;
Judging unit 303, be configured as executing according to the current code rate of the target bit rate and the FLV video whether phase Together, judge whether to need to carry out code rate switching;
Switch unit 304 is configured as executing when needing to carry out code rate switching, is downloading the current of current code rate After GOP, the downloading of the FLV video of current code rate is terminated, current code rate is switched to target bit rate.
In a specific embodiment, determination unit 302 specifically can be configured as execution:
Current speed of download will be less than and be determined as target bit rate with the smallest code rate of the difference of current speed of download.
In a specific embodiment, judging unit 303 are specifically configured to execute:
Judge whether the code rate value of the current code rate of the target bit rate and the FLV video is identical;
If the code rate value of the current code rate of the target bit rate and the FLV video is not identical, judgement has currently been delayed Whether the data to be played deposited meet preset switching condition;If the data to be played currently cached meet described preset Switching condition then needs to carry out code rate switching;
If the code rate value of the current code rate of the target bit rate and the FLV video is identical, do not need to carry out code rate Switching.
In a specific embodiment, preset switching condition can be with are as follows:
When the code rate value of the current code rate is lower than the code rate value of the target bit rate, it is desirable that the number to be played cached According to playing duration be greater than or equal to preset first caching duration, wherein the first caching duration be greater than GOP when It is long;
When the code rate value of the current code rate is higher than the code rate value of the target bit rate, it is desirable that the number to be played cached According to playing duration be less than preset second caching duration, wherein the second caching duration be greater than or equal to GOP when It grows and is less than the first caching duration.
Fig. 4 is the block diagram of the code rate switching device of another kind FLV video shown according to an exemplary embodiment.Referring to figure 4, which can also include: configuration file acquiring unit 401.
The configuration file acquiring unit 401 is configured as executing the configuration text for the FLV video for obtaining current network downloading Part;Include in configuration file: the corresponding code rate value of each code rate and code rate value and preserving code rate in preset multiple code rates Corresponding relationship between the server address of FLV video.
In a specific embodiment, switch unit 304 specifically can be configured as execution:
From configuration file, the address for preserving the destination server of FLV video of target bit rate is obtained;
Obtain the corresponding object time stamp of next GOP after current GOP;
It is stabbed according to the object time of acquisition, the video counts of corresponding GOP is stabbed to the destination server sending acquisition object time It is requested according to downloading;Code rate value comprising target bit rate and object time stamp in video data downloading request;
Receive the video data that destination server is sent, wherein the video data is that timestamp is target in target bit rate The video data of the FLV video of the current network downloading of timestamp;
The video data received is stored to caching.
About the device in above-described embodiment, wherein each unit executes the concrete mode of operation in related this method Embodiment in be described in detail, no detailed explanation will be given here.
The device that embodiment of the disclosure provides realizes the network environment according to user during FLV video playing Adaptive switches over code rate.Due to the device that embodiment of the disclosure provides, the process in video playing may be implemented In, the clarity of video is played according to the adaptive switching of the current network environment of user, is played when network environment is good Video high-definition, it is when network environment difference that the play clarity of video is suitable by automatically switching to for higher resolution Should when network environment clarity, thus ensure that user viewing continuity, effectively prevent the appearance of Caton.
Fig. 5 is the block diagram of a kind of electronic equipment shown according to an exemplary embodiment.Referring to Fig. 5, which can To include:
Processor 501, communication interface 502, memory 503 and communication bus 504, wherein processor 501, communication interface 502, memory 503 completes mutual communication by communication bus 504,
Memory 503, for storing computer program;
Processor 501 when for executing the program stored on memory 503, realizes following steps:
Obtain the current speed of download of current network downloading FLV video;
Target bit rate is determined from preset multiple code rates according to current speed of download;
Whether the current code rate according to target bit rate and FLV video is identical, judges whether to need to carry out code rate switching;
If necessary to carry out code rate switching, then after having downloaded the current GOP of current code rate, the FLV of current code rate is terminated Current code rate is switched to target bit rate by the downloading of video.
The electronic equipment that embodiment of the disclosure provides realizes the network according to user during FLV video playing Environment self-adaption switches over code rate.Due to the electronic equipment that embodiment of the disclosure provides, may be implemented to broadcast in video During putting, the clarity of video is played according to the adaptive switching of the current network environment of user, it is good in network environment When play video high-definition, by the play clarity of video by the automatic of higher resolution when network environment difference It is switched to the clarity for adapting to network environment at that time, to ensure that the continuity of user's viewing, effectively prevents going out for Caton It is existing.
The communication bus that above-mentioned electronic equipment is mentioned can be Peripheral Component Interconnect standard (Peripheral Component Interconnect, PCI) bus or expanding the industrial standard structure (Extended Industry Standard Architecture, EISA) bus etc..The communication bus can be divided into address bus, data/address bus, control bus etc..For just It is only indicated with a thick line in expression, figure, it is not intended that an only bus or a type of bus.
Communication interface is for the communication between above-mentioned electronic equipment and other equipment.
Memory may include random access memory (Random Access Memory, RAM), also may include non-easy The property lost memory (Non-Volatile Memory, NVM), for example, at least a magnetic disk storage.Optionally, memory may be used also To be storage device that at least one is located remotely from aforementioned processor.
Above-mentioned processor can be general processor, including central processing unit (Central Processing Unit, CPU), network processing unit (Network Processor, NP) etc.;It can also be digital signal processor (Digital Signal Processing, DSP), it is specific integrated circuit (Application Specific Integrated Circuit, ASIC), existing It is field programmable gate array (Field-Programmable Gate Array, FPGA) or other programmable logic device, discrete Door or transistor logic, discrete hardware components.
In the another embodiment that the disclosure provides, a kind of computer readable storage medium is additionally provided, which can It reads to be stored with computer program in storage medium, the computer program realizes any of the above-described FLV video when being executed by processor Code rate switching method the step of.
In the another embodiment that the disclosure provides, a kind of computer program product comprising instruction is additionally provided, when it When running on computers, so that computer executes the code rate switching method of any FLV video in above-described embodiment.
Those skilled in the art after considering the specification and implementing the invention disclosed here, will readily occur to its of the disclosure Its embodiment.This application is intended to cover any variations, uses, or adaptations of the disclosure, these modifications, purposes or Person's adaptive change follows the general principles of this disclosure and including the undocumented common knowledge in the art of the disclosure Or conventional techniques.The description and examples are only to be considered as illustrative, and the true scope and spirit of the disclosure are by following Claim is pointed out.
It should be understood that the present disclosure is not limited to the precise structures that have been described above and shown in the drawings, and And various modifications and changes may be made without departing from the scope thereof.The scope of the present disclosure is only limited by the accompanying claims.

Claims (10)

1. a kind of code rate switching method of FLV video, which is characterized in that be applied to client, the method, comprising:
Obtain the current speed of download of current network downloading FLV video;
Target bit rate is determined from preset multiple code rates according to the current speed of download;
Whether the current code rate according to the target bit rate and the FLV video is identical, judges whether to need to carry out code rate switching;
If necessary to carry out code rate switching, then after the current GOP for having downloaded the current code rate, the current code rate is terminated The current code rate is switched to the target bit rate by the downloading of the FLV video.
2. according to right want 1 described in FLV video code rate switching method, which is characterized in that it is described according to the current downloading Speed, from preset multiple code rates, the step of determining target bit rate, comprising:
The current speed of download will be less than and be determined as target bit rate with the smallest code rate of difference of the current speed of download.
3. the code rate switching method of FLV video according to claim 1, which is characterized in that described according to the object code Whether the current code rate of rate and the FLV video is identical, judges whether to need the step of carrying out code rate switching, comprising:
Judge whether the code rate value of the current code rate of the target bit rate and the FLV video is identical;
If the code rate value of the current code rate of the target bit rate and the FLV video is not identical, what judgement had currently cached Whether data to be played meet preset switching condition;If the data to be played currently cached meet the preset switching Condition then needs to carry out code rate switching;
If the code rate value of the current code rate of the target bit rate and the FLV video is identical, do not need to carry out code rate switching.
4. the code rate switching method of FLV video according to claim 3, which is characterized in that the preset switching condition Are as follows:
When the code rate value of the current code rate is lower than the code rate value of the target bit rate, it is desirable that the data to be played cached Playing duration is greater than or equal to preset first caching duration, wherein the first caching duration is greater than the duration of a GOP;
When the code rate value of the current code rate is higher than the code rate value of the target bit rate, it is desirable that the data to be played cached Playing duration be less than it is preset second caching duration, wherein it is described second caching duration more than or equal to a GOP duration and Less than the first caching duration.
5. the code rate switching method of FLV video according to claim 1, which is characterized in that in the acquisition current network Before the step of downloading the current speed of download of FLV video, further includes:
Obtain the configuration file of the FLV video of current network downloading;Include in the configuration file: preset multiple code rates In between the corresponding code rate value of each code rate and the code rate value and the server address of FLV video for preserving the code rate Corresponding relationship.
6. the code rate switching method of FLV video according to claim 5, which is characterized in that described by the current code rate The step of being switched to the target bit rate, comprising:
From the configuration file, the address for preserving the destination server of FLV video of the target bit rate is obtained;
Obtain the corresponding object time stamp of next GOP after the current GOP;
It is stabbed according to the object time of acquisition, Xiang Suoshu destination server, which issues, obtains the corresponding GOP of the object time stamp Video data download request, when including the code rate value and the target of the target bit rate in video data downloading request Between stab;
Receive the video data that the destination server is sent, wherein when the video data is in the target bit rate Between stamp be the object time stamp current network downloading FLV video video data;
The video data received is stored to caching.
7. a kind of code rate switching device of FLV video characterized by comprising
Speed of download acquiring unit is configured as executing the current speed of download for obtaining current network downloading FLV video;
Determination unit is configured as executing and determines object code from preset multiple code rates according to the current speed of download Rate;
Judging unit is configured as executing, judgement whether identical according to the current code rate of the target bit rate and the FLV video Whether need to carry out code rate switching;
Switch unit is configured as executing when needing to carry out code rate switching, in the current GOP for having downloaded the current code rate Afterwards, the downloading for terminating the FLV video of the current code rate, is switched to the target bit rate for the current code rate.
8. the code rate switching device of FLV video according to claim 7, which is characterized in that the determination unit is configured To execute:
The current speed of download will be less than and be determined as target bit rate with the smallest code rate of difference of the current speed of download.
9. a kind of electronic equipment characterized by comprising
Processor;
For storing the memory of the processor-executable instruction;
Wherein, the processor is configured to executing described instruction, to realize such as FLV described in any one of claims 1 to 6 The code rate switching method of video.
10. a kind of storage medium, when the instruction in the storage medium is executed by the processor of electronic equipment, so that the electricity Sub- equipment is able to carry out the code rate switching method such as FLV video described in any one of claims 1 to 6.
CN201910631959.8A 2019-07-12 2019-07-12 Code rate switching method and device for FLV (flash video), electronic equipment and storage medium Active CN110267100B (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN201910631959.8A CN110267100B (en) 2019-07-12 2019-07-12 Code rate switching method and device for FLV (flash video), electronic equipment and storage medium

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN201910631959.8A CN110267100B (en) 2019-07-12 2019-07-12 Code rate switching method and device for FLV (flash video), electronic equipment and storage medium

Publications (2)

Publication Number Publication Date
CN110267100A true CN110267100A (en) 2019-09-20
CN110267100B CN110267100B (en) 2022-01-25

Family

ID=67926063

Family Applications (1)

Application Number Title Priority Date Filing Date
CN201910631959.8A Active CN110267100B (en) 2019-07-12 2019-07-12 Code rate switching method and device for FLV (flash video), electronic equipment and storage medium

Country Status (1)

Country Link
CN (1) CN110267100B (en)

Cited By (8)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN110913245A (en) * 2019-11-08 2020-03-24 网宿科技股份有限公司 Method and device for controlling video transcoding code rate
CN111726642A (en) * 2019-03-19 2020-09-29 北京京东尚科信息技术有限公司 Live broadcast method, device and computer readable storage medium
CN112019873A (en) * 2020-09-08 2020-12-01 北京金山云网络技术有限公司 Video code rate adjusting method and device and electronic equipment
CN113141541A (en) * 2020-01-17 2021-07-20 北京达佳互联信息技术有限公司 Code rate switching method, device, equipment and storage medium
CN113141524A (en) * 2020-01-17 2021-07-20 北京达佳互联信息技术有限公司 Resource transmission method, device, terminal and storage medium
CN113891155A (en) * 2021-09-29 2022-01-04 百果园技术(新加坡)有限公司 Video playing gear determining method, video playing method and related device
CN113905257A (en) * 2021-09-29 2022-01-07 北京字节跳动网络技术有限公司 Video code rate switching method and device, electronic equipment and storage medium
CN115396731A (en) * 2022-08-10 2022-11-25 北京势也网络技术有限公司 Panoramic video playing method and device, electronic equipment and readable storage medium

Citations (13)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
US20060143678A1 (en) * 2004-12-10 2006-06-29 Microsoft Corporation System and process for controlling the coding bit rate of streaming media data employing a linear quadratic control technique and leaky bucket model
CN102957672A (en) * 2011-08-25 2013-03-06 中国电信股份有限公司 Method, client side and system for self-adaptive playing of FLV (flash video) media streams
CN103002272A (en) * 2011-09-15 2013-03-27 上海聚力传媒技术有限公司 Method, device and equipment for switching code rate of audio and video information
CN103945245A (en) * 2014-04-16 2014-07-23 上海交通大学 DASH code rate conversion method and rapid video starting method
CN105744342A (en) * 2016-01-28 2016-07-06 腾讯科技(深圳)有限公司 Data transmission method and device for mobile terminal
CN105898403A (en) * 2015-11-16 2016-08-24 乐视云计算有限公司 Online media service code stream self-adaptive method and system
CN107071529A (en) * 2017-03-29 2017-08-18 咪咕视讯科技有限公司 A kind of HLS video broadcasting methods, terminal and server
CN107135411A (en) * 2016-02-26 2017-09-05 掌赢信息科技(上海)有限公司 A kind of method and electronic equipment for adjusting video code rate
CN107438202A (en) * 2016-05-26 2017-12-05 中兴通讯股份有限公司 A kind of method and device for realizing code check switching
CN108063955A (en) * 2017-12-15 2018-05-22 重庆邮电大学 The code check switching method of dynamic self-adapting transmission of video based on state machine
CN108668146A (en) * 2017-03-27 2018-10-16 华为技术有限公司 A kind of method and apparatus of adjustment streaming media bit rate
CN109769125A (en) * 2018-12-06 2019-05-17 北京东方广视科技股份有限公司 Dynamic adjusting method, media server and the transcoding server of streaming media bit rate
CN109862403A (en) * 2019-02-19 2019-06-07 未来电视有限公司 Self-adaption code rate switching method, device, electronic equipment and storage medium

Patent Citations (13)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
US20060143678A1 (en) * 2004-12-10 2006-06-29 Microsoft Corporation System and process for controlling the coding bit rate of streaming media data employing a linear quadratic control technique and leaky bucket model
CN102957672A (en) * 2011-08-25 2013-03-06 中国电信股份有限公司 Method, client side and system for self-adaptive playing of FLV (flash video) media streams
CN103002272A (en) * 2011-09-15 2013-03-27 上海聚力传媒技术有限公司 Method, device and equipment for switching code rate of audio and video information
CN103945245A (en) * 2014-04-16 2014-07-23 上海交通大学 DASH code rate conversion method and rapid video starting method
CN105898403A (en) * 2015-11-16 2016-08-24 乐视云计算有限公司 Online media service code stream self-adaptive method and system
CN105744342A (en) * 2016-01-28 2016-07-06 腾讯科技(深圳)有限公司 Data transmission method and device for mobile terminal
CN107135411A (en) * 2016-02-26 2017-09-05 掌赢信息科技(上海)有限公司 A kind of method and electronic equipment for adjusting video code rate
CN107438202A (en) * 2016-05-26 2017-12-05 中兴通讯股份有限公司 A kind of method and device for realizing code check switching
CN108668146A (en) * 2017-03-27 2018-10-16 华为技术有限公司 A kind of method and apparatus of adjustment streaming media bit rate
CN107071529A (en) * 2017-03-29 2017-08-18 咪咕视讯科技有限公司 A kind of HLS video broadcasting methods, terminal and server
CN108063955A (en) * 2017-12-15 2018-05-22 重庆邮电大学 The code check switching method of dynamic self-adapting transmission of video based on state machine
CN109769125A (en) * 2018-12-06 2019-05-17 北京东方广视科技股份有限公司 Dynamic adjusting method, media server and the transcoding server of streaming media bit rate
CN109862403A (en) * 2019-02-19 2019-06-07 未来电视有限公司 Self-adaption code rate switching method, device, electronic equipment and storage medium

Non-Patent Citations (2)

* Cited by examiner, † Cited by third party
Title
YANAN ZHAO等: ""A rate adaptive algorithm for HTTP streaming"", 《2012 IEEE 2ND INTERNATIONAL CONFERENCE ON CLOUD COMPUTING AND INTELLIGENCE SYSTEMS》 *
程果: "" 基于HTTP的动态自适应流媒体技术的研究"", 《中国优秀硕士学位论文全文数据库》 *

Cited By (16)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN111726642A (en) * 2019-03-19 2020-09-29 北京京东尚科信息技术有限公司 Live broadcast method, device and computer readable storage medium
CN111726642B (en) * 2019-03-19 2023-05-30 北京京东尚科信息技术有限公司 Live broadcast method, apparatus and computer readable storage medium
CN110913245A (en) * 2019-11-08 2020-03-24 网宿科技股份有限公司 Method and device for controlling video transcoding code rate
US11528311B2 (en) 2020-01-17 2022-12-13 Beijing Dajia Internet Information Technology Co., Ltd. Method for transmitting multimedia resource and terminal
CN113141524A (en) * 2020-01-17 2021-07-20 北京达佳互联信息技术有限公司 Resource transmission method, device, terminal and storage medium
WO2021143388A1 (en) * 2020-01-17 2021-07-22 北京达佳互联信息技术有限公司 Bitrate switching method and device
WO2021143362A1 (en) * 2020-01-17 2021-07-22 北京达佳互联信息技术有限公司 Resource transmission method and terminal
CN113141541B (en) * 2020-01-17 2022-06-10 北京达佳互联信息技术有限公司 Code rate switching method, device, equipment and storage medium
EP3968651A4 (en) * 2020-01-17 2022-08-31 Beijing Dajia Internet Information Technology Co., Ltd. Bitrate switching method and device
CN113141541A (en) * 2020-01-17 2021-07-20 北京达佳互联信息技术有限公司 Code rate switching method, device, equipment and storage medium
CN113141524B (en) * 2020-01-17 2023-09-29 北京达佳互联信息技术有限公司 Resource transmission method, device, terminal and storage medium
CN112019873A (en) * 2020-09-08 2020-12-01 北京金山云网络技术有限公司 Video code rate adjusting method and device and electronic equipment
CN113891155A (en) * 2021-09-29 2022-01-04 百果园技术(新加坡)有限公司 Video playing gear determining method, video playing method and related device
CN113905257A (en) * 2021-09-29 2022-01-07 北京字节跳动网络技术有限公司 Video code rate switching method and device, electronic equipment and storage medium
CN113891155B (en) * 2021-09-29 2024-04-05 百果园技术(新加坡)有限公司 Video playing gear determining method, video playing method and related devices
CN115396731A (en) * 2022-08-10 2022-11-25 北京势也网络技术有限公司 Panoramic video playing method and device, electronic equipment and readable storage medium

Also Published As

Publication number Publication date
CN110267100B (en) 2022-01-25

Similar Documents

Publication Publication Date Title
CN110267100A (en) Code rate switching method, device, electronic equipment and the storage medium of FLV video
CN110636346B (en) Code rate self-adaptive switching method and device, electronic equipment and storage medium
KR102039778B1 (en) Method and apparatus for adaptively providing multiple bit rate stream media in server
US10305947B2 (en) Pre-buffering audio streams
KR101500892B1 (en) Variable bit video streams for adaptive streaming
US9769505B2 (en) Adaptive streaming for digital content distribution
JP6226490B2 (en) Low latency rate control system and method
TWI596933B (en) Codec techniques for fast switching
TWI511544B (en) Techniques for adaptive video streaming
US8997160B2 (en) Variable bit video streams for adaptive streaming
US20100211690A1 (en) Block partitioning for a data stream
WO2016131223A1 (en) Frame loss method for video frame and video sending apparatus
KR20150110734A (en) Adaptive streaming techniques
CA2965484A1 (en) Adaptive bitrate streaming latency reduction
US9621613B1 (en) Bitrate adaptation transitioning using key frames
MX2012001100A (en) Adaptive streaming for digital content distribution.
US11438645B2 (en) Media information processing method, related device, and computer storage medium
CN108924574B (en) Packet loss processing method, device, equipment and storage medium in recording and broadcasting system
US8812724B2 (en) Method and device for transmitting variable rate video data
CN112866746A (en) Multi-path streaming cloud game control method, device, equipment and storage medium
TW202416716A (en) Video coding using a coded picture buffer
US7940843B1 (en) Method of implementing improved rate control for a multimedia compression and encoding system
CN115278308B (en) Media stream processing method, device, equipment and storage medium
CN117459799A (en) Video playing method, device and storage medium
CN115529474A (en) Panoramic video transmission method and device, electronic equipment and storage medium

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
GR01 Patent grant
GR01 Patent grant