WO2015085873A1 - 视频码流的获取方法及装置 - Google Patents

视频码流的获取方法及装置 Download PDF

Info

Publication number
WO2015085873A1
WO2015085873A1 PCT/CN2014/092583 CN2014092583W WO2015085873A1 WO 2015085873 A1 WO2015085873 A1 WO 2015085873A1 CN 2014092583 W CN2014092583 W CN 2014092583W WO 2015085873 A1 WO2015085873 A1 WO 2015085873A1
Authority
WO
WIPO (PCT)
Prior art keywords
terminal
video
code stream
code rate
acquiring
Prior art date
Application number
PCT/CN2014/092583
Other languages
English (en)
French (fr)
Inventor
吕卓逸
周建同
傅佳莉
杨海涛
Original Assignee
华为技术有限公司
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 华为技术有限公司 filed Critical 华为技术有限公司
Priority to EP14870025.5A priority Critical patent/EP3070951A1/en
Publication of WO2015085873A1 publication Critical patent/WO2015085873A1/zh
Priority to US15/177,751 priority patent/US10404606B2/en

Links

Images

Classifications

    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04LTRANSMISSION OF DIGITAL INFORMATION, e.g. TELEGRAPHIC COMMUNICATION
    • H04L47/00Traffic control in data switching networks
    • H04L47/10Flow control; Congestion control
    • H04L47/25Flow control; Congestion control with rate being modified by the source upon detecting a change of network conditions
    • 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/258Client or end-user data management, e.g. managing client capabilities, user preferences or demographics, processing of multiple end-users preferences to derive collaborative data
    • H04N21/25808Management of client data
    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04LTRANSMISSION OF DIGITAL INFORMATION, e.g. TELEGRAPHIC COMMUNICATION
    • H04L65/00Network arrangements, protocols or services for supporting real-time applications in data packet communication
    • H04L65/60Network streaming of media packets
    • H04L65/75Media network packet handling
    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04LTRANSMISSION OF DIGITAL INFORMATION, e.g. TELEGRAPHIC COMMUNICATION
    • H04L65/00Network arrangements, protocols or services for supporting real-time applications in data packet communication
    • H04L65/60Network streaming of media packets
    • H04L65/75Media network packet handling
    • H04L65/752Media network packet handling adapting media to network capabilities
    • 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/23Processing of content or additional data; Elementary server operations; Server middleware
    • H04N21/234Processing of video elementary streams, e.g. splicing of video streams or manipulating encoded video stream scene graphs
    • H04N21/2343Processing of video elementary streams, e.g. splicing of video streams or manipulating encoded video stream scene graphs involving reformatting operations of video signals for distribution or compliance with end-user requests or end-user device requirements
    • H04N21/23439Processing of video elementary streams, e.g. splicing of video streams or manipulating encoded video stream scene graphs involving reformatting operations of video signals for distribution or compliance with end-user requests or end-user device requirements for generating different versions
    • 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/262Content or additional data distribution scheduling, e.g. sending additional data at off-peak times, updating software modules, calculating the carousel transmission frequency, delaying a video stream transmission, generating play-lists
    • H04N21/26258Content or additional data distribution scheduling, e.g. sending additional data at off-peak times, updating software modules, calculating the carousel transmission frequency, delaying a video stream transmission, generating play-lists for generating a list of items to be played back in a given order, e.g. playlist, or scheduling item distribution according to such list
    • 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/442Monitoring of processes or resources, e.g. detecting the failure of a recording device, monitoring the downstream bandwidth, the number of times a movie has been viewed, the storage space available from the internal hard disk
    • H04N21/44209Monitoring of downstream path of the transmission network originating from a server, e.g. bandwidth variations of a wireless network
    • 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/45Management 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/462Content 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/4621Controlling 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
    • 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/83Generation or processing of protective or descriptive data associated with content; Content structuring
    • H04N21/845Structuring of content, e.g. decomposing content into time segments
    • H04N21/8456Structuring of content, e.g. decomposing content into time segments by decomposing the content in the time domain, e.g. in time segments

Definitions

  • the present invention relates to the field of information technology, and in particular, to a method and an apparatus for acquiring a video code stream.
  • DASH Dynamic Adaptive Streaming over HTTP
  • DASH technology can provide users with media data that meets their needs.
  • DASH technology combines traditional streaming technology and progressive download technology.
  • the client when providing a video stream that meets the demand, the client first detects the real-time network bandwidth and sends the real-time network bandwidth to the server, and then the server obtains the corresponding code rate according to the real-time network bandwidth, and according to the code rate.
  • the video stream generated by the encoding is provided to the user.
  • the embodiment of the invention provides a method and a device for acquiring a video code stream, which can improve network bandwidth utilization.
  • an embodiment of the present invention provides a method for acquiring a video code stream, including:
  • the terminal acquires a minimum code rate corresponding to its own parameter
  • the terminal sends a video code stream acquisition request to the server, where the video code stream acquisition request includes an identifier of the video data that needs to be acquired, so that the server is based on the label of the video data. Identifying, by the terminal, a media index description MPD, where the MPD includes a correspondence between a minimum code rate corresponding to each physical size and each video code stream corresponding to the video data;
  • the terminal acquires a video code stream according to the MPD and the minimum code rate.
  • the method before the step of the terminal acquiring the minimum bit rate corresponding to the parameter, the method further includes:
  • the terminal acquires its own parameters.
  • the parameter includes a physical size of the terminal
  • the step of the terminal acquiring its own parameters includes:
  • the terminal acquires a physical size of the terminal
  • the step of the terminal acquiring the minimum bit rate corresponding to the self parameter includes:
  • r min u ⁇ a 2 ⁇ s 3 +v ⁇ a ⁇ s 2 +w ⁇ s, a minimum code rate corresponding to the physical size, where s is a physical size of the terminal, u , v, w, a are fixed values.
  • the step of acquiring, by the terminal, the physical size of the terminal include:
  • the terminal acquires a physical size of a video display window of the terminal.
  • the step of the terminal acquiring the video code stream according to the MPD and the minimum code rate includes:
  • the terminal searches for a target code rate, and the target code rate is a code rate that matches the minimum code rate;
  • the terminal acquires a video code stream corresponding to the target code rate according to the MPD.
  • the method further includes:
  • the terminal acquires real-time network bandwidth
  • the step of the terminal sending a video code stream acquisition request to the server includes:
  • the terminal sends the video code stream acquisition request to the server;
  • the terminal sends a transcoding request to the server, where the transcoding request carries a proportional relationship between the minimum code rate and the real-time network bandwidth. So that the server transcodes the video code stream corresponding to the target code rate according to the proportional relationship.
  • an embodiment of the present invention provides a device for acquiring a video code stream, including:
  • An obtaining unit configured to acquire a minimum code rate corresponding to a parameter of the terminal
  • a sending unit configured to send a video code stream acquisition request to the server when the acquiring unit obtains the minimum code rate, where the video code stream acquisition request includes an identifier of the video data that needs to be acquired;
  • a receiving unit configured to receive the MPD sent by the server when the sending unit completes the sending of the video code stream acquisition request, where the minimum code rate corresponding to each physical size in the MPD corresponds to the video data Correspondence between individual video streams;
  • the acquiring unit is further configured to acquire a video code stream according to the MPD received by the receiving unit and the minimum code rate.
  • the acquiring unit is further configured to acquire parameters of the terminal.
  • the obtaining unit is specifically configured to acquire a physical size of the terminal
  • the acquiring unit is specifically configured to acquire a physical size of a video display window of the terminal.
  • the obtaining unit includes:
  • a searching module configured to find a target code rate, where the target code rate is a code rate that matches the minimum code rate
  • an obtaining module configured to acquire, according to the MPD, a video code stream corresponding to the target code rate searched by the searching module.
  • the device further includes: a determining unit;
  • the obtaining unit is further configured to acquire real-time network bandwidth
  • the determining unit is configured to determine whether the real-time network bandwidth acquired by the acquiring unit is greater than or equal to the minimum code rate
  • the sending unit is configured to: when the determining unit determines that the real-time network bandwidth is greater than or equal to the minimum code rate, send the video code stream acquisition request to the server; when the determining unit determines the When the real-time network bandwidth is less than the minimum code rate, a transcoding request is sent to the server, and the transcoding request carries a proportional relationship between the minimum code rate and the real-time network bandwidth.
  • an embodiment of the present invention provides a method for acquiring a video code stream, including:
  • the server receives the video code stream acquisition request sent by the terminal, where the video code stream acquisition request carries an identifier corresponding to the video data that the terminal needs to acquire;
  • a media index description MPD to the terminal, where the MPD includes each Corresponding relationship between the minimum code rate corresponding to the physical size and each video code stream corresponding to the video data, so that the terminal acquires the video code stream according to the MPD and the minimum code rate.
  • the method before the step of the server receiving the video code stream acquisition request sent by the terminal, the method further includes:
  • the server establishes, in the MPD, a correspondence between a minimum code rate corresponding to each physical size and each video code stream corresponding to the video data, so that the terminal corresponds to each physical size. And obtaining a video code stream by using a correspondence between a minimum code rate and each video code stream corresponding to the video data.
  • the method before the step of the server sending the media index description MPD to the terminal, the method further includes:
  • the server transcodes the video code stream corresponding to the minimum code rate according to the proportional relationship.
  • an embodiment of the present invention provides a device for acquiring a video code stream, including:
  • a receiving unit configured to receive a video code stream acquisition request sent by the terminal, where the video code stream acquisition request carries an identifier corresponding to the video data that the terminal needs to acquire;
  • a sending unit configured to: when the receiving unit receives the video code stream acquisition request, send a media index description MPD to the terminal, where the MPD includes a minimum code rate corresponding to each physical size corresponding to the video data. Correspondence between individual video streams.
  • the device further includes: an acquiring unit, an establishing unit;
  • the acquiring unit is configured to acquire each physical size corresponding to the terminal
  • the physical size corresponding to the terminal, u, v, w, and a are fixed values;
  • the establishing unit is configured to establish, in the MPD, a correspondence between a minimum code rate corresponding to the physical size acquired by the acquiring unit and each video code stream corresponding to the video data.
  • the device further includes: a transcoding unit;
  • the receiving unit is further configured to receive a transcoding request sent by the terminal, where the transcoding request carries a proportional relationship between a minimum code rate and a real-time network bandwidth;
  • the transcoding unit is configured to transcode the video code stream corresponding to the minimum code rate according to the proportional relationship received by the receiving unit.
  • the method and device for acquiring a video code stream provided by the embodiment of the present invention, first, the terminal acquires a minimum code rate corresponding to the parameter, and then the terminal sends a video code stream acquisition request to the server, and the server receives the video code stream acquisition request sent by the terminal. At the time, the MPD is sent to the terminal, and finally the terminal receives the MPD sent by the server, and acquires the video code stream according to the MPD and the minimum code rate.
  • the embodiment of the present invention can obtain the corresponding video code stream for the terminal with different parameters by using the minimum code rate corresponding to the parameter of the terminal, thereby avoiding the use of the video data.
  • the utilization of network bandwidth can be improved.
  • FIG. 1 is a flowchart of a method for acquiring a video code stream according to Embodiment 1 of the present invention
  • FIG. 2 is a schematic structural diagram of a device for acquiring a video code stream according to Embodiment 1 of the present invention
  • FIG. 3 is a schematic structural diagram of a client according to Embodiment 1 of the present invention.
  • FIG. 4 is a flowchart of a method for acquiring a video code stream according to Embodiment 2 of the present invention.
  • FIG. 5 is a schematic structural diagram of a device for acquiring a video bitstream according to Embodiment 2 of the present invention.
  • FIG. 6 is a schematic structural diagram of a server according to Embodiment 2 of the present invention.
  • FIG. 7 is a flowchart of a method for acquiring a video code stream according to Embodiment 3 of the present invention.
  • FIG. 8 is a schematic structural diagram of a device for acquiring a video code stream according to Embodiment 3 of the present invention.
  • FIG. 9 is a schematic structural diagram of a client according to Embodiment 3 of the present invention.
  • FIG. 10 is a flowchart of a method for acquiring a video code stream according to Embodiment 4 of the present invention.
  • FIG. 11 is a schematic structural diagram of a device for acquiring a video code stream according to Embodiment 4 of the present invention.
  • FIG. 12 is a schematic structural diagram of a server according to Embodiment 4 of the present invention.
  • An embodiment of the present invention provides a method for acquiring a video code stream. As shown in FIG. 1 , the method includes:
  • the terminal acquires a minimum code rate corresponding to the parameter.
  • the parameter of the terminal may be the physical size of the terminal.
  • the terminal may obtain the parameters of the terminal through the protocol, and may obtain the parameters of the terminal by using a function, which is not limited in the embodiment of the present invention.
  • the terminal can be saved in a DDC (Display Data Channel) chip according to a DDC/CI (Display Data Channel Command Interface) protocol through a graphics card inside the computer.
  • the parameters of the terminal If the terminal is a mobile phone, the terminal can obtain the parameters of the terminal by calling a Display Metric function in the system package.
  • the terminal sends a video code stream acquisition request to the server.
  • the video stream acquisition request includes an identifier of the video data that needs to be acquired.
  • the terminal sends a video code stream acquisition request to the server, so that the server sends the media index description MPD to the terminal according to the identifier of the video data.
  • the MPD includes a correspondence between a minimum code rate corresponding to each physical size and each video code stream corresponding to the video data.
  • each video code stream is obtained by the server separately encoding the original video data according to each code rate, and each physical size of the MPD has a minimum code rate and a video code stream corresponding thereto.
  • the terminal receives the MPD sent by the server.
  • the terminal acquires a video code stream according to the MPD and a minimum code rate.
  • the embodiment of the present invention provides a device for acquiring a video code stream.
  • the entity of the device may be a terminal, such as a PC (Personal Computer, personal).
  • the computer includes a acquiring unit 21, a transmitting unit 22, and a receiving unit 23.
  • the obtaining unit 21 is configured to acquire a minimum code rate corresponding to the parameter of the terminal.
  • the sending unit 22 is configured to send a video code stream acquisition request to the server when the obtaining unit 21 acquires the minimum code rate.
  • the video stream acquisition request includes an identifier of the video data that needs to be acquired.
  • the receiving unit 23 is configured to receive when the sending unit 22 completes the transmission of the video code stream acquisition request The MPD sent by the server.
  • the MPD includes a correspondence between a minimum code rate corresponding to each physical size and each video code stream corresponding to the video data.
  • the obtaining unit 21 is further configured to acquire a video code stream according to the MPD received by the receiving unit 23 and the minimum code rate.
  • the entity of the device for acquiring the video code stream may be a terminal.
  • the client may include: a processor 31, a transmitter 32, and a receiver 33.
  • the processor 31 is configured to acquire a minimum code rate corresponding to a parameter of the terminal.
  • the sender 32 is configured to send a video code stream acquisition request to the server.
  • the video stream acquisition request includes an identifier of the video data that needs to be acquired.
  • the receiver 33 is configured to receive an MPD sent by the server.
  • the MPD includes a correspondence between a minimum code rate corresponding to each physical size and each video code stream corresponding to the video data.
  • the processor 31 is further configured to acquire a video code stream according to the MPD and the minimum code rate.
  • the method and device for acquiring a video code stream provided by the embodiment of the present invention, first, the terminal acquires a minimum code rate corresponding to the parameter, and then the terminal sends a video code stream acquisition request to the server, and the server receives the video code stream acquisition request sent by the terminal. At the time, the MPD is sent to the terminal, and finally the terminal receives the MPD sent by the server, and acquires the video code stream according to the MPD and the minimum code rate.
  • the embodiment of the present invention can obtain the corresponding video code stream for the terminal with different parameters by using the minimum code rate corresponding to the parameter of the terminal, thereby avoiding the use of the video data.
  • the utilization of network bandwidth can be improved.
  • An embodiment of the present invention provides a method for acquiring a video code stream. As shown in FIG. 4, the method includes:
  • the terminal acquires a physical size of the terminal.
  • the terminal may obtain the physical size of the terminal through the protocol, and obtain the physical size of the terminal by using a function, which is not limited in the embodiment of the present invention.
  • the terminal can be saved in a DDC (Display Data Channel) chip according to a DDC/CI (Display Data Channel Command Interface) protocol through a graphics card inside the computer.
  • DDC Display Data Channel
  • the terminal can obtain the physical size of the terminal by calling a DisplayMetric function in the system package.
  • step 401 is that the terminal acquires the physical size of the video display window of the terminal.
  • the terminal obtains the physical size of the video display window of the terminal, so that the physical size of the actual video display window can be obtained when the terminal does not display the video display window in full screen.
  • the terminal acquires the physical size of the video display window of the terminal by 10 inches.
  • s is the physical size of the terminal, and u, v, w, and a are fixed values.
  • the terminal acquires real-time network bandwidth.
  • the terminal may acquire real-time network bandwidth according to a preset period.
  • the preset period may be configured in advance by the terminal, or may be configured in advance by the server, which is not limited in the embodiment of the present invention.
  • the terminal determines whether the real-time network bandwidth is greater than or equal to a minimum code rate.
  • step 405a is executed, and the terminal sends a video code stream acquisition request to the server.
  • the video stream acquisition request includes an identifier of the video data that needs to be acquired.
  • the terminal when the real-time network bandwidth is greater than or equal to the minimum code rate, the terminal can smoothly play the video resource. Therefore, when the real-time network bandwidth is greater than or equal to the minimum code rate, the terminal The server sends a video stream acquisition request.
  • the server is configured to send the media index description MPD to the terminal according to the identifier of the video data.
  • the MPD includes a correspondence between a minimum code rate corresponding to each physical size and each video code stream corresponding to the video data.
  • each video code stream is obtained by the server separately encoding the original video data according to each code rate, and each physical size of the MPD has a minimum code rate and a video code stream corresponding thereto.
  • step 405b is executed, and the terminal sends a transcoding request to the server.
  • the transcoding request carries a proportional relationship between the minimum code rate and the real-time network bandwidth.
  • the terminal cannot smoothly play the video resource when the real-time network bandwidth is less than the minimum code rate. Therefore, the terminal can smoothly play the video resource after the video code stream is transcoded by the server.
  • the server transcodes the video code stream
  • the correspondence between the minimum code rate after the transcoding and the corresponding video code stream is established in the MPD, so that the minimum after the terminal is transcoded according to the MPD can be implemented.
  • the terminal receives the MPD sent by the server.
  • the terminal searches for a target bit rate.
  • the target code rate is a code rate that matches the minimum code rate.
  • the code rate matched to the minimum code rate among the respective code rates included in the MPD may be the same code rate as the minimum code rate among the respective code rates, or the smallest code rate among the code rates each greater than the minimum code rate.
  • the terminal obtains a code rate greater than the minimum code rate in each code rate included in the MPD, so that no block effect occurs when the video code stream corresponding to the code rate is played, thereby improving the viewing experience of the user; Further, the terminal searches for the minimum code rate in each of the code rates greater than the minimum code rate as the target code rate, and can avoid the bandwidth wave without blocking effect. Fees, which can increase the utilization of network bandwidth.
  • the terminal acquires a video code stream corresponding to the target bit rate according to the MPD.
  • an embodiment of the present invention provides a device for acquiring a video code stream.
  • the entity of the device may be a terminal, such as a PC (Personal Computer, personal).
  • the computer includes a acquiring unit 51, a transmitting unit 52, and a receiving unit 53.
  • the obtaining unit 51 is configured to acquire a minimum code rate corresponding to the parameter of the terminal.
  • the sending unit 52 is configured to send a video code stream acquisition request to the server when the obtaining unit 51 acquires the minimum code rate.
  • the video stream acquisition request includes an identifier of the video data that needs to be acquired.
  • the receiving unit 53 is configured to receive the MPD sent by the server when the sending unit 52 completes the transmission of the video code stream acquisition request.
  • the MPD includes a correspondence between a minimum code rate corresponding to each physical size and each video code stream corresponding to the video data.
  • the obtaining unit 51 is further configured to acquire a video code stream according to the MPD received by the receiving unit 53 and the minimum code rate.
  • the obtaining unit 51 is further configured to acquire parameters of the terminal.
  • the obtaining unit 51 is specifically configured to acquire the physical size of the terminal.
  • s is the physical size of the terminal, and u, v, w, and a are fixed values.
  • the obtaining unit 51 is specifically configured to acquire a physical size of a video display window of the terminal.
  • the obtaining unit 51 includes a searching module 5101 and an obtaining module 5102.
  • the searching module 5101 is configured to find a target bit rate.
  • the target code rate is a code rate that matches the minimum code rate.
  • the obtaining module 5102 is configured to obtain, according to the MPD, the video code stream corresponding to the target code rate searched by the searching module 5101.
  • the device may further include: a determining unit 54.
  • the obtaining unit 51 is further configured to acquire real-time network bandwidth.
  • the determining unit 54 is configured to determine whether the real-time network bandwidth acquired by the obtaining unit 51 is greater than or equal to a minimum code rate.
  • the sending unit 52 is configured to: when the determining unit 54 determines that the real-time network bandwidth is greater than or equal to the minimum code rate, send a video code stream acquisition request to the server; when the determining unit 54 determines that the real-time network bandwidth is less than the minimum code rate, send the switch to the server. Code request.
  • the transcoding request carries a proportional relationship between the minimum code rate and the real-time network bandwidth.
  • the entity of the device for acquiring the video code stream may be a terminal.
  • the client may include: a processor 61, a transmitter 62, and a receiver 63.
  • the processor 61 is configured to acquire a minimum code rate corresponding to a parameter of the terminal.
  • the transmitter 62 is configured to send a video code stream acquisition request to the server.
  • the video stream acquisition request includes an identifier of the video data that needs to be acquired.
  • the receiver 63 is configured to receive an MPD sent by the server.
  • the MPD includes a correspondence between a minimum code rate corresponding to each physical size and each video code stream corresponding to the video data.
  • the processor 61 is further configured to acquire a video code stream according to the MPD and the minimum code rate.
  • the processor 61 is further configured to acquire parameters of the terminal.
  • the processor 61 is further configured to acquire a physical size of the terminal.
  • s is the physical size of the terminal, and u, v, w, and a are fixed values.
  • the processor 61 is further configured to acquire a physical size of a video display window of the terminal.
  • the processor 61 is further configured to find a target bit rate.
  • the target code rate is a code rate that matches the minimum code rate.
  • the processor 61 is further configured to acquire a video code stream corresponding to the target code rate according to the MPD.
  • the processor 61 is further configured to acquire real-time network bandwidth.
  • the processor 61 is further configured to determine whether the real-time network bandwidth is greater than or equal to a minimum code rate.
  • the transmitter 62 is further configured to send a video code stream acquisition request to the server when the real-time network bandwidth is greater than or equal to the minimum code rate.
  • the transmitter 62 is further configured to send a transcoding request to the server when the real-time network bandwidth is less than the minimum code rate.
  • the transcoding request carries a proportional relationship between the minimum code rate and the real-time network bandwidth.
  • the method and device for acquiring a video code stream provided by the embodiment of the present invention, first, the terminal acquires a minimum code rate corresponding to the parameter, and then the terminal sends a video code stream acquisition request to the server, and the server receives the video code stream acquisition request sent by the terminal. At the time, the MPD is sent to the terminal, and finally the terminal receives the MPD sent by the server, and acquires the video code stream according to the MPD and the minimum code rate.
  • the embodiment of the present invention can obtain the corresponding video code stream for the terminal with different parameters by using the minimum code rate corresponding to the parameter of the terminal, thereby avoiding the use of the video data.
  • the utilization of network bandwidth can be improved.
  • the server receives a video code stream acquisition request sent by the terminal.
  • the video code stream acquisition request carries an identifier corresponding to the video data that the terminal needs to obtain.
  • the server sends a media index description MPD to the terminal.
  • the MPD includes a correspondence between a minimum code rate corresponding to each physical size and each video code stream corresponding to the video data.
  • each video code stream is obtained by the server separately encoding the original video data according to each code rate, and each physical size of the MPD has a minimum code rate and a video code stream corresponding thereto.
  • the server describes the MPD by sending a media index to the terminal, so that the terminal acquires the video code stream according to the MPD and the minimum code rate.
  • the embodiment of the present invention provides a device for acquiring a video code stream.
  • the entity of the device may be a server, and the device includes: a receiving unit. 81. Transmitting unit 82.
  • the receiving unit 81 is configured to receive a video code stream acquisition request sent by the terminal.
  • the video code stream acquisition request carries an identifier corresponding to the video data that the terminal needs to obtain.
  • the sending unit 82 is configured to send the media index description MPD to the terminal when the receiving unit 81 receives the video code stream acquisition request.
  • the MPD includes a correspondence between a minimum code rate corresponding to each physical size and each video code stream corresponding to the video data.
  • the entity of the acquiring device of the video code stream may be a server.
  • the server may include: a receiver 91, a transmitter 92, and a processor 93, and the processor 93 respectively receives and receives The transmitter 91 and the transmitter 92 are connected.
  • the receiver 91 is configured to receive a video code stream acquisition request sent by the terminal.
  • the video code stream acquisition request carries an identifier corresponding to the video data that the terminal needs to obtain.
  • the transmitter 92 is configured to send a media index description MPD to the terminal.
  • the MPD includes a correspondence between a minimum code rate corresponding to each physical size and each video code stream corresponding to the video data.
  • the method and device for acquiring a video code stream provided by the embodiment of the present invention, first, the terminal acquires a minimum code rate corresponding to the parameter, and then the terminal sends a video code stream acquisition request to the server, and the server receives the video code stream acquisition request sent by the terminal. At the time, the MPD is sent to the terminal, and finally the terminal receives the MPD sent by the server, and acquires the video code stream according to the MPD and the minimum code rate.
  • the embodiment of the present invention can obtain the corresponding video code stream for the terminal with different parameters by using the minimum code rate corresponding to the parameter of the terminal, thereby avoiding the use of the video data.
  • there is a terminal with low picture quality there is a network bandwidth wave. In the case of fees, the utilization of network bandwidth can be increased.
  • An embodiment of the present invention provides a method for acquiring a video code stream. As shown in FIG. 10, the method includes:
  • the server acquires physical dimensions corresponding to the terminal.
  • the server can obtain each typical physical size corresponding to different terminal types, and the specific size can be as follows:
  • s is the physical size corresponding to the terminal, and u, v, w, and a are fixed values.
  • the server respectively configures corresponding coding parameters according to the minimum code rate corresponding to each physical size, and separately encodes the video data according to the coding parameters, thereby generating a video code stream corresponding to each physical size.
  • the server establishes, in the MPD, a correspondence between a minimum code rate corresponding to each physical size and each video code stream corresponding to the video data.
  • the video code stream is obtained by the server respectively encoding the original video data according to the minimum code rate corresponding to each physical size, and the minimum code rate corresponding to each physical size in the MPD has a corresponding video code stream.
  • the server establishes, in the MPD, a correspondence between each video code stream corresponding to the minimum bit rate corresponding to the video data in the MPD, so that the terminal corresponds to the video data according to the minimum bit rate corresponding to each physical size. Corresponding relationship between video streams, to obtain a video stream.
  • the server receives a video code stream acquisition request sent by the terminal.
  • the video code stream acquisition request carries an identifier corresponding to the video data that the terminal needs to obtain.
  • the server receives a transcoding request sent by the terminal.
  • the transcoding request carries a proportional relationship between the minimum code rate and the real-time network bandwidth.
  • the terminal when the real-time network bandwidth is less than the minimum code rate, the terminal sends a transcoding request to the server.
  • the terminal when the real-time network bandwidth is less than the minimum code rate, the terminal cannot smoothly play the video resource. Therefore, after the transcoding process is performed on the video code stream by the server, the terminal can smoothly play the video resource.
  • the server transcodes the video code stream corresponding to the minimum bit rate according to a proportional relationship.
  • the server reduces the spatial resolution of the video code stream according to a proportional relationship between the minimum code rate carried in the transcoding request and the real-time network bandwidth and the real-time network bandwidth, or reduces the frame of the video code stream proportionally. Rate transcoding operation so that the terminal can smoothly play video resources.
  • the server transcodes the video code stream
  • the correspondence between the minimum code rate after the transcoding and the corresponding video code stream is established in the MPD.
  • the corresponding video code stream is obtained by the terminal according to the correspondence between the minimum code rate after the MPD transcoding and the corresponding video code stream.
  • the server sends a media index description MPD to the terminal.
  • the MPD includes a correspondence between a minimum code rate corresponding to each physical size and each video code stream corresponding to the video data.
  • each video code stream is obtained by the server separately encoding the original video data according to each code rate, and each physical size of the MPD has a minimum code rate and a video code stream corresponding thereto.
  • an embodiment of the present invention provides a device for acquiring a video code stream. As shown in FIG. 11, the entity of the device may be a server, and the device includes: a receiving unit. 111. Transmitting unit 112.
  • the receiving unit 111 is configured to receive a video code stream acquisition request sent by the terminal.
  • the video code stream acquisition request carries an identifier corresponding to the video data that the terminal needs to obtain.
  • the sending unit 112 is configured to send a media index description MPD to the terminal when the receiving unit 111 receives the video code stream acquisition request.
  • the MPD includes a correspondence between a minimum code rate corresponding to each physical size and each video code stream corresponding to the video data.
  • the device may further include: an obtaining unit 113 and an establishing unit 114.
  • the obtaining unit 113 is configured to acquire each physical size corresponding to the terminal.
  • s is the physical size corresponding to the terminal, and u, v, w, and a are fixed values.
  • the establishing unit 114 is configured to establish, in the MPD, a correspondence between a minimum code rate corresponding to each physical size acquired by the acquiring unit 113 and each video code stream corresponding to the video data.
  • the device may further include: a transcoding unit 115.
  • the receiving unit 111 is further configured to receive a transcoding request sent by the terminal.
  • the transcoding request carries a proportional relationship between the minimum code rate and the real-time network bandwidth.
  • the transcoding unit 115 is configured to transcode the video code stream corresponding to the minimum code rate according to the proportional relationship received by the receiving unit 111.
  • the entity of the acquiring device of the video code stream may be a server.
  • the server may include: a receiver 121, a transmitter 122, and a processor 123.
  • the receiver 121 is configured to receive a video code stream acquisition request sent by the terminal.
  • the video code stream acquisition request carries an identifier corresponding to the video data that the terminal needs to obtain.
  • the transmitter 122 is configured to send a media index description MPD to the terminal.
  • the MPD includes a correspondence between a minimum code rate corresponding to each physical size and each video code stream corresponding to the video data.
  • the processor 123 is configured to acquire each physical size corresponding to the terminal.
  • s is the physical size corresponding to the terminal, and u, v, w, and a are fixed values.
  • the processor 123 is further configured to establish, in the MPD, a correspondence between a minimum code rate corresponding to each physical size and each video code stream corresponding to the video data.
  • the receiver 121 is further configured to receive a transcoding request sent by the terminal.
  • the transcoding request carries a proportional relationship between the minimum code rate and the real-time network bandwidth.
  • the processor 123 is further configured to transcode the video code stream corresponding to the minimum code rate according to the proportional relationship.
  • the method and device for acquiring a video code stream provided by the embodiment of the present invention, first, the terminal acquires a minimum code rate corresponding to the parameter, and then the terminal sends a video code stream acquisition request to the server, and the server receives the video code stream acquisition request sent by the terminal. At the time, the MPD is sent to the terminal, and finally the terminal receives the MPD sent by the server, and acquires the video code stream according to the MPD and the minimum code rate.
  • the embodiment of the present invention can obtain the corresponding video code stream for the terminal with different parameters by using the minimum code rate corresponding to the parameter of the terminal, thereby avoiding the use of the video data.
  • the utilization of network bandwidth can be improved.
  • the device for obtaining the video code stream provided by the embodiment of the present invention may implement the foregoing method embodiment.
  • the method and device for acquiring a video code stream provided by the embodiment of the present invention may be applicable to a user downloading video data through a terminal, but is not limited thereto.
  • the storage medium may be a magnetic disk, an optical disk, or a read-only memory. Read-Only Memory (ROM) or Random Access Memory (RAM).

Landscapes

  • Engineering & Computer Science (AREA)
  • Multimedia (AREA)
  • Signal Processing (AREA)
  • Databases & Information Systems (AREA)
  • Computer Networks & Wireless Communication (AREA)
  • Computer Graphics (AREA)
  • Two-Way Televisions, Distribution Of Moving Picture Or The Like (AREA)
  • Information Transfer Between Computers (AREA)
  • Compression Or Coding Systems Of Tv Signals (AREA)
  • Data Exchanges In Wide-Area Networks (AREA)

Abstract

本发明实施例公开了一种视频码流的获取方法及装置,涉及信息技术领域,可以提高网络带宽利用率。所述方法包括:首先终端获取自身参数所对应的最小码率,然后终端向服务器发送视频码流获取请求,当服务器接收到终端发送的视频码流获取请求时,向终端发送MPD,最后终端接收服务器发送的MPD,并根据MPD以及最小码率获取视频码流。本发明实施例适用于用户通过终端下载视频数据。

Description

视频码流的获取方法及装置 技术领域
本发明涉及信息技术领域,特别涉及一种视频码流的获取方法及装置。
背景技术
随着网络的发展与高分辨率终端的普及,客户端对在线视频的观看体验要求越来越高。在流媒体应用中,DASH(Dynamic Adaptive Streaming over HTTP,基于HTTP的动态自适应流式传输)技术可以为用户提供满足需求的媒体数据。其中,DASH技术结合了传统流媒体技术和渐进式下载技术。
目前,在为用户提供满足需求的视频码流时,首先客户端检测实时的网络带宽,并将实时网络带宽发送给服务器,然后服务器根据实时网络带宽获取对应的码率,并将根据该码率进行编码生成的视频码流提供给用户。
然而通过网络带宽获取对应的码率,使用对视频数据的画面质量要求较低的终端时,直接通过网络带宽获取的码率进行编码生成的视频码流画面质量相对较高,存在网络带宽浪费的情况,从而造成网络带宽的利用率较低。
发明内容
本发明实施例提供一种视频码流的获取方法及装置,可以提高网络带宽利用率。
本发明实施例采用的技术方案为:
第一方面,本发明实施例提供一种视频码流的获取方法,包括:
终端获取自身参数所对应的最小码率;
所述终端向服务器发送视频码流获取请求,所述视频码流获取请求包含需要获取的视频数据的标识,以使得所述服务器根据所述视频数据的标 识向所述终端发送媒体索引描述MPD,所述MPD中包括各个物理尺寸对应的最小码率与所述视频数据对应的各个视频码流之间的对应关系;
所述终端接收所述服务器发送的所述MPD;
所述终端根据所述MPD以及所述最小码率获取视频码流。
结合第一方面,在第一方面的第一种实现方式中,所述终端获取自身参数所对应的最小码率的步骤之前,还包括:
所述终端获取自身的参数。
结合第一方面或者第一方面的第一种实现方式,在第一方面的第二种实现方式中,所述参数包括终端的物理尺寸;
所述终端获取自身的参数的步骤包括:
所述终端获取所述终端的物理尺寸;
所述终端获取自身参数所对应的最小码率的步骤包括:
所述终端根据公式rmin=u×a2×s3+v×a×s2+w×s,获取所述物理尺寸对应的最小码率,其中,s为所述终端的物理尺寸,u、v、w、a为固定数值。
结合第一方面或者第一方面的第一种实现方式,或者第一方面的第二种实现方式,在第一方面的第三种实现方式中,所述终端获取所述终端的物理尺寸的步骤包括:
所述终端获取所述终端的视频显示窗口的物理尺寸。
结合第一方面或者第一方面的第一种实现方式,或者第一方面的第二种实现方式,或者第一方面的第三种实现方式,在第一方面的第四种实现方式中,所述终端根据所述MPD以及所述最小码率获取视频码流的步骤包括:
所述终端查找目标码率,所述目标码率为与所述最小码率匹配的码率;
所述终端根据所述MPD获取所述目标码率对应的视频码流。
结合第一方面或者第一方面的第一种实现方式,或者第一方面的第二种实现方式,或者第一方面的第三种实现方式,或者第一方面的第四种实 现方式,在第一方面的第五种实现方式中,所述终端获取自身参数所对应的最小码率的步骤之后,还包括:
所述终端获取实时网络带宽;
所述终端判断所述实时网络带宽是否大于或者等于所述最小码率;
所述终端向服务器发送视频码流获取请求的步骤包括:
若所述实时网络带宽大于或者等于所述最小码率,则所述终端向所述服务器发送所述视频码流获取请求;
若所述实时网络带宽小于所述最小码率,则所述终端向所述服务器发送转码请求,所述转码请求携带有所述最小码率与所述实时网络带宽之间的比例关系,以使得所述服务器根据所述比例关系,对所述目标码率对应的视频码流进行转码。
第二方面,本发明实施例提供一种视频码流的获取装置,包括:
获取单元,用于获取终端的参数所对应的最小码率;
发送单元,用于在所述获取单元获取到所述最小码率时,向服务器发送视频码流获取请求,所述视频码流获取请求包含需要获取的视频数据的标识;
接收单元,用于在所述发送单元完成所述视频码流获取请求发送时,接收所述服务器发送的所述MPD,所述MPD中包括各个物理尺寸对应的最小码率与所述视频数据对应的各个视频码流之间的对应关系;
所述获取单元,还用于根据所述接收单元接收的所述MPD以及所述最小码率获取视频码流。
结合第二方面,在第二方面的第一种实现方式中,
所述获取单元,还用于获取所述终端的参数。
结合第二方面或者第二方面的第一种实现方式,在第二方面的第二种实现方式中,
所述获取单元,具体用于获取所述终端的物理尺寸;
所述获取单元,具体还用于根据公式rmin=u×a2×s3+v×a×s2+w×s,获取 所述物理尺寸对应的最小码率,其中,s为所述终端的物理尺寸,u、v、w、a为固定数值。
结合第二方面或者第二方面的第一种实现方式,或者第二方面的第二种实现方式,在第二方面的第三种实现方式中,
所述获取单元,具体用于获取所述终端的视频显示窗口的物理尺寸。
结合第二方面或者第二方面的第一种实现方式,或者第二方面的第二种实现方式,或者第二方面的第三种实现方式,在第二方面的第四种实现方式中,所述获取单元包括:
查找模块,用于查找目标码率,所述目标码率为与所述最小码率匹配的码率;
获取模块,用于根据所述MPD获取所述查找模块查找的所述目标码率对应的视频码流。
结合第二方面或者第二方面的第一种实现方式,或者第二方面的第二种实现方式,或者第二方面的第三种实现方式,或者第二方面的第四种实现方式,在第二方面的第五种实现方式中,所述装置还包括:判断单元;
所述获取单元,还用于获取实时网络带宽;
所述判断单元,用于判断所述获取单元获取的所述实时网络带宽是否大于或者等于所述最小码率;
所述发送单元,具体用于当所述判断单元判断所述实时网络带宽大于或者等于所述最小码率时,向所述服务器发送所述视频码流获取请求;当所述判断单元判断所述实时网络带宽小于所述最小码率时,向所述服务器发送转码请求,所述转码请求携带有所述最小码率与所述实时网络带宽之间的比例关系。
第三方面,本发明实施例提供一种视频码流的获取方法,包括:
服务器接收终端发送的视频码流获取请求,所述视频码流获取请求携带有所述终端需要获取的视频数据对应的标识;
所述服务器向所述终端发送媒体索引描述MPD,所述MPD中包括各 个物理尺寸对应的最小码率与所述视频数据对应的各个视频码流之间的对应关系,以使得所述终端根据所述MPD以及最小码率获取视频码流。
结合第三方面,在第三方面的第一种实现方式中,所述服务器接收终端发送的视频码流获取请求的步骤之前,还包括:
所述服务器获取终端对应的各个物理尺寸;
所述服务器根据公式rmin=u×a2×s3+v×a×s2+w×s,分别获取所述各个物理尺寸对应的最小码率,其中,s为所述终端对应的物理尺寸,u、v、w、a为固定数值;
所述服务器在所述MPD中,建立所述各个物理尺寸对应的最小码率与所述视频数据对应的各个视频码流之间的对应关系,以使得所述终端根据所述各个物理尺寸对应的最小码率与所述视频数据对应的各个视频码流之间的对应关系,获取视频码流。
结合第三方面或者第三方面的第一种实现方式,在第三方面的第二种实现方式中,所述服务器向所述终端发送媒体索引描述MPD的步骤之前,还包括:
所述服务器接收所述终端发送的转码请求,所述转码请求携带有最小码率与实时网络带宽的比例关系;
所述服务器根据所述比例关系,对所述最小码率对应的视频码流进行转码。
第四方面,本发明实施例提供一种视频码流的获取装置,包括:
接收单元,用于接收终端发送的视频码流获取请求,所述视频码流获取请求携带有所述终端需要获取的视频数据对应的标识;
发送单元,用于在所述接收单元接收到所述视频码流获取请求时,向所述终端发送媒体索引描述MPD,所述MPD中包括各个物理尺寸对应的最小码率与所述视频数据对应的各个视频码流之间的对应关系。
结合第四方面,在第四方面的第一种实现方式中,所述装置还包括:获取单元、建立单元;
所述获取单元,用于获取终端对应的各个物理尺寸;
所述获取单元,还用于根据公式rmin=u×a2×s3+v×a×s2+w×s,分别获取所述各个物理尺寸对应的最小码率,其中,s为所述终端对应的物理尺寸,u、v、w、a为固定数值;
所述建立单元,用于在所述MPD中,建立所述获取单元获取的所述各个物理尺寸对应的最小码率与所述视频数据对应的各个视频码流之间的对应关系。
结合第四方面或者第四方面的第一种实现方式,在第四方面的第二种实现方式中,所述装置还包括:转码单元;
所述接收单元,还用于接收所述终端发送的转码请求,所述转码请求携带有最小码率与实时网络带宽的比例关系;
所述转码单元,用于根据所述接收单元接收的所述比例关系,对所述最小码率对应的视频码流进行转码。
本发明实施例提供的视频码流的获取方法及装置,首先终端获取自身参数所对应的最小码率,然后终端向服务器发送视频码流获取请求,当服务器接收到终端发送的视频码流获取请求时,向终端发送MPD,最后终端接收服务器发送的MPD,并根据MPD以及最小码率获取视频码流。与目前通过网络带宽获取对应的码率相比,本发明实施例通过终端的自身参数所对应的最小码率,能够为不同参数的终端获取对应的视频码流,从而可以避免使用对视频数据的画面质量要求较低的终端时,存在网络带宽浪费的情况,进而可以提高网络带宽的利用率。
附图说明
为了更清楚地说明本发明实施例中的技术方案,下面将对实施例或现有技术描述中所需要使用的附图作简单地介绍,显而易见地,下面描述中的附图仅仅是本发明的一些实施例,对于本领域普通技术人员来讲,在不付出创造性劳动的前提下,还可以根据这些附图获得其它的附图。
图1为本发明实施例一提供的一种视频码流的获取方法流程图;
图2为本发明实施例一提供的一种视频码流的获取装置的结构示意图;
图3为本发明实施例一提供的一种客户端的结构示意图;
图4为本发明实施例二提供的一种视频码流的获取方法流程图;
图5为本发明实施例二提供的一种视频码流的获取装置的结构示意图;
图6为本发明实施例二提供的一种服务器的结构示意图;
图7为本发明实施例三提供的一种视频码流的获取方法流程图;
图8为本发明实施例三提供的一种视频码流的获取装置的结构示意图;
图9为本发明实施例三提供的一种客户端的结构示意图;
图10为本发明实施例四提供的一种视频码流的获取方法流程图;
图11为本发明实施例四提供的一种视频码流的获取装置的结构示意图;
图12为本发明实施例四提供的一种服务器的结构示意图。
具体实施方式
下面将结合本发明实施例中的附图,对本发明实施例中的技术方案进行清楚、完整地描述,显然,所描述的实施例仅仅是本发明一部分实施例,而不是全部的实施例。基于本发明中的实施例,本领域普通技术人员在没有做出创造性劳动前提下所获得的所有其它实施例,都属于本发明保护的范围。
为使本发明技术方案的优点更加清楚,下面结合附图和实施例对本发明作详细说明。
实施例一
本发明实施例提供一种视频码流的获取方法,如图1所示,所述方法包括:
101、终端获取自身参数所对应的最小码率。
对于本发明实施例,终端的参数可以为终端的物理尺寸。在本发明实施例中,终端可以通过协议获取终端的参数,还可以通过调用函数获取终端的参数,本发明实施例不做限定。
例如,若终端为计算机,则终端可以通过计算机内部的显卡,按照DDC/CI(Display Data Channel Command Interface,显示数据通道命令接口)协议,获取保存在DDC(Display Data Channel,显示数据通道)芯片中的终端的参数。若终端为手机,则终端可以通过程序调用系统程序包中的Display Metric类函数,获取终端的参数。
102、终端向服务器发送视频码流获取请求。
其中,视频码流获取请求包含需要获取的视频数据的标识。
对于本发明实施例,终端通过向服务器发送视频码流获取请求,以使得服务器根据视频数据的标识向终端发送媒体索引描述MPD。
其中,MPD中包括各个物理尺寸对应的最小码率与视频数据对应的各个视频码流之间的对应关系。在本发明实施例中,各个视频码流是由服务器按照各个码率分别对原始视频数据进行编码得到,MPD中每个物理尺寸均存在与之对应的最小码率及视频码流。
103、终端接收服务器发送的MPD。
104、终端根据MPD以及最小码率获取视频码流。
进一步地,作为图1所示方法的具体实现,本发明实施例提供了一种视频码流的获取装置,如图2所示,所述装置的实体可以为终端,例如PC(Personal Computer,个人计算机)、手机、平板电脑等,所述装置包括:获取单元21、发送单元22、接收单元23。
获取单元21,用于获取终端的参数所对应的最小码率。
发送单元22,用于在获取单元21获取到最小码率时,向服务器发送视频码流获取请求。
其中,视频码流获取请求包含需要获取的视频数据的标识。
接收单元23,用于在发送单元22完成视频码流获取请求发送时,接收 服务器发送的MPD。
其中,MPD中包括各个物理尺寸对应的最小码率与视频数据对应的各个视频码流之间的对应关系。
获取单元21,还用于根据接收单元23接收的MPD以及最小码率获取视频码流。
再进一步地,所述视频码流的获取的装置的实体可以为终端,如图3所示,所述客户端可以包括:处理器31、发送器32、接收器33。
处理器31,用于获取终端的参数所对应的最小码率。
发送器32,用于向服务器发送视频码流获取请求。
其中,视频码流获取请求包含需要获取的视频数据的标识。
接收器33,用于接收服务器发送的MPD。
其中,MPD中包括各个物理尺寸对应的最小码率与视频数据对应的各个视频码流之间的对应关系。
处理器31,还用于根据MPD以及最小码率获取视频码流。
需要说明的是,本发明实施例中提供的视频码流的获取装置中各功能单元所对应的其他相应描述,可以参考图1中的对应描述,在此不再赘述。
本发明实施例提供的视频码流的获取方法及装置,首先终端获取自身参数所对应的最小码率,然后终端向服务器发送视频码流获取请求,当服务器接收到终端发送的视频码流获取请求时,向终端发送MPD,最后终端接收服务器发送的MPD,并根据MPD以及最小码率获取视频码流。与目前通过网络带宽获取对应的码率相比,本发明实施例通过终端的自身参数所对应的最小码率,能够为不同参数的终端获取对应的视频码流,从而可以避免使用对视频数据的画面质量要求较低的终端时,存在网络带宽浪费的情况,进而可以提高网络带宽的利用率。
实施例二
本发明实施例提供一种视频码流的获取方法,如图4所示,所述方法包括:
401、终端获取终端的物理尺寸。
对于本发明实施例,终端可以通过协议获取终端的物理尺寸,还可以通过调用函数获取终端的物理尺寸,本发明实施例不做限定。
例如,若终端为计算机,则终端可以通过计算机内部的显卡,按照DDC/CI(Display Data Channel Command Interface,显示数据通道命令接口)协议,获取保存在DDC(Display Data Channel,显示数据通道)芯片中的终端的物理尺寸。若终端为手机,则终端可以通过程序调用系统程序包中的DisplayMetric类函数,获取终端的物理尺寸。
优选地,步骤401可以为,终端获取终端的视频显示窗口的物理尺寸。在本发明实施例中,终端通过获取终端的视频显示窗口的物理尺寸,从而可以在终端没有全屏显示视频显示窗口时,获取到实际视频显示窗口的物理尺寸。
例如,若终端的物理尺寸为19英寸,而终端的视频显示窗口的物理尺寸为10英寸,则终端获取终端的视频显示窗口的物理尺寸10英寸。
402、终端根据公式rmin=u×a2×s3+v×a×s2+w×s,获取物理尺寸对应的最小码率。
其中,s为终端的物理尺寸,u、v、w、a为固定数值。
403、终端获取实时网络带宽。
具体地,终端可以按照预设周期获取实时网络带宽。其中,预设周期可以由终端预先进行配置,也可以由服务器预先进行配置,本发明实施例不做限定。
404、终端判断实时网络带宽是否大于或者等于最小码率。
若实时网络带宽大于或者等于最小码率,则执行步骤405a、终端向服务器发送视频码流获取请求。
其中,视频码流获取请求包含需要获取的视频数据的标识。在本发明实施例中,由于当实时网络带宽大于或者等于最小码率时,终端才可以流畅播放视频资源,因此当实时网络带宽大于或者等于最小码率时,终端向 服务器发送视频码流获取请求。
进一步地,以使得服务器根据视频数据的标识向终端发送媒体索引描述MPD。其中,MPD中包括各个物理尺寸对应的最小码率与视频数据对应的各个视频码流之间的对应关系。在本发明实施例中,各个视频码流是由服务器按照各个码率分别对原始视频数据进行编码得到,MPD中每个物理尺寸均存在与之对应的最小码率及视频码流。
若实时网络带宽小于最小码率,则执行步骤405b、终端向服务器发送转码请求。
其中,转码请求携带有最小码率与实时网络带宽之间的比例关系。
对于本发明实施例,由于当实时网络带宽小于最小码率时,终端不可以流畅播放视频资源,因此需要通过服务器对视频码流进行转码处理之后,终端才可以流畅播放视频资源。
进一步地,以使得服务器根据比例关系,对目标码率对应的视频码流进行转码。
对于本发明实施例,服务器对视频码流进行转码之后,在MPD中建立转码之后的最小码率及对应的视频码流之间的对应关系,从而可以实现终端根据MPD中转码之后的最小码率及对应的视频码流之间的对应关系,获取对应的视频码流。
406、终端接收服务器发送的MPD。
407、终端查找目标码率。
其中,目标码率为与最小码率匹配的码率。MPD包括的各个码率中与最小码率匹配的码率可以为各个码率中与最小码率相同的码率,或者各个大于最小码率的码率中最小的码率。
对于本发明实施例,终端通过在MPD包括的各个码率中获取各个大于最小码率的码率,能够在播放码率对应的视频码流时不出现块效应,从而可以提高用户的观看体验;进一步地,终端在各个大于最小码率的码率中查找最小的码率作为目标码率,能够在不出现块效应的同时避免带宽浪 费,从而可以提高网络带宽的利用率。
408、终端根据MPD获取目标码率对应的视频码流。
进一步地,作为图4所示方法的具体实现,本发明实施例提供了一种视频码流的获取装置,如图5所示,所述装置的实体可以为终端,例如PC(Personal Computer,个人计算机)、手机、平板电脑等,所述装置包括:获取单元51、发送单元52、接收单元53。
获取单元51,用于获取终端的参数所对应的最小码率。
发送单元52,用于在获取单元51获取到最小码率时,向服务器发送视频码流获取请求。
其中,视频码流获取请求包含需要获取的视频数据的标识。
接收单元53,用于在发送单元52完成视频码流获取请求发送时,接收服务器发送的MPD。
其中,MPD中包括各个物理尺寸对应的最小码率与视频数据对应的各个视频码流之间的对应关系。
获取单元51,还用于根据接收单元53接收的MPD以及最小码率获取视频码流。
获取单元51,还用于获取终端的参数。
获取单元51,具体用于获取终端的物理尺寸。
获取单元51,具体还用于根据公式rmin=u×a2×s3+v×a×s2+w×s,获取物理尺寸对应的最小码率。
其中,s为终端的物理尺寸,u、v、w、a为固定数值。
获取单元51,具体用于获取终端的视频显示窗口的物理尺寸。
获取单元51包括:查找模块5101、获取模块5102。
查找模块5101,用于查找目标码率。
其中,目标码率为与最小码率匹配的码率。
获取模块5102,用于根据MPD获取查找模块5101查找的目标码率对应的视频码流。
可选地,所述装置还可以包括:判断单元54。
获取单元51,还用于获取实时网络带宽。
判断单元54,用于判断获取单元51获取的实时网络带宽是否大于或者等于最小码率。
发送单元52,具体用于当判断单元54判断实时网络带宽大于或者等于最小码率时,向服务器发送视频码流获取请求;当判断单元54判断实时网络带宽小于最小码率时,向服务器发送转码请求。
其中,转码请求携带有最小码率与实时网络带宽之间的比例关系。
再进一步地,所述视频码流的获取的装置的实体可以为终端,如图6所示,所述客户端可以包括:处理器61、发送器62、接收器63。
处理器61,用于获取终端的参数所对应的最小码率。
发送器62,用于向服务器发送视频码流获取请求。
其中,视频码流获取请求包含需要获取的视频数据的标识。
接收器63,用于接收服务器发送的MPD。
其中,MPD中包括各个物理尺寸对应的最小码率与视频数据对应的各个视频码流之间的对应关系。
处理器61,还用于根据MPD以及最小码率获取视频码流。
处理器61,还用于获取终端的参数。
处理器61,还用于获取终端的物理尺寸。
处理器61,还用于根据公式rmin=u×a2×s3+v×a×s2+w×s,获取物理尺寸对应的最小码率。
其中,s为终端的物理尺寸,u、v、w、a为固定数值。
处理器61,还用于获取终端的视频显示窗口的物理尺寸。
处理器61,还用于查找目标码率。
其中,目标码率为与最小码率匹配的码率。
处理器61,还用于根据MPD获取目标码率对应的视频码流。
处理器61,还用于获取实时网络带宽。
处理器61,还用于判断实时网络带宽是否大于或者等于最小码率。
发送器62,还用于当实时网络带宽大于或者等于最小码率时,向服务器发送视频码流获取请求。
发送器62,还用于当实时网络带宽小于最小码率时,向服务器发送转码请求。
其中,转码请求携带有最小码率与实时网络带宽之间的比例关系。
需要说明的是,本发明实施例中提供的视频码流的获取装置中各功能单元所对应的其他相应描述,可以参考图4中的对应描述,在此不再赘述。
本发明实施例提供的视频码流的获取方法及装置,首先终端获取自身参数所对应的最小码率,然后终端向服务器发送视频码流获取请求,当服务器接收到终端发送的视频码流获取请求时,向终端发送MPD,最后终端接收服务器发送的MPD,并根据MPD以及最小码率获取视频码流。与目前通过网络带宽获取对应的码率相比,本发明实施例通过终端的自身参数所对应的最小码率,能够为不同参数的终端获取对应的视频码流,从而可以避免使用对视频数据的画面质量要求较低的终端时,存在网络带宽浪费的情况,进而可以提高网络带宽的利用率。
实施例三
701、服务器接收终端发送的视频码流获取请求。
其中,视频码流获取请求携带有终端需要获取的视频数据对应的标识。
702、服务器向终端发送媒体索引描述MPD。
其中,MPD中包括各个物理尺寸对应的最小码率与视频数据对应的各个视频码流之间的对应关系。在本发明实施例中,各个视频码流是由服务器按照各个码率分别对原始视频数据进行编码得到,MPD中每个物理尺寸均存在与之对应的最小码率及视频码流。
对于本发明实施例,服务器通过向终端发送媒体索引描述MPD,以使得终端根据MPD以及最小码率获取视频码流。
进一步地,作为图7所示方法的具体实现,本发明实施例提供了一种视频码流的获取装置,如图8所示,所述装置的实体可以为服务器,所述装置包括:接收单元81、发送单元82。
接收单元81,用于接收终端发送的视频码流获取请求。
其中,视频码流获取请求携带有终端需要获取的视频数据对应的标识。
发送单元82,用于在接收单元81接收到视频码流获取请求时,向终端发送媒体索引描述MPD。
其中,MPD中包括各个物理尺寸对应的最小码率与视频数据对应的各个视频码流之间的对应关系。再进一步地,所述视频码流的获取装置的实体可以为服务器,如图9所示,所述服务器可以包括:接收器91、发送器92、处理器93,所述处理器93分别与接收器91及发送器92相连接。
接收器91,用于接收终端发送的视频码流获取请求。
其中,视频码流获取请求携带有终端需要获取的视频数据对应的标识。
发送器92,用于向终端发送媒体索引描述MPD。
其中,MPD中包括各个物理尺寸对应的最小码率与视频数据对应的各个视频码流之间的对应关系。
需要说明的是,本发明实施例中提供的视频码流的获取装置中各功能单元所对应的其他相应描述,可以参考图6中的对应描述,在此不再赘述。
本发明实施例提供的视频码流的获取方法及装置,首先终端获取自身参数所对应的最小码率,然后终端向服务器发送视频码流获取请求,当服务器接收到终端发送的视频码流获取请求时,向终端发送MPD,最后终端接收服务器发送的MPD,并根据MPD以及最小码率获取视频码流。与目前通过网络带宽获取对应的码率相比,本发明实施例通过终端的自身参数所对应的最小码率,能够为不同参数的终端获取对应的视频码流,从而可以避免使用对视频数据的画面质量要求较低的终端时,存在网络带宽浪 费的情况,进而可以提高网络带宽的利用率。
实施例四
本发明实施例提供一种视频码流的获取方法,如图10所示,所述方法包括:
1001、服务器获取终端对应的各个物理尺寸。
对于本发明实施例,服务器可以获取不同终端种类对应的各个典型物理尺寸,具体尺寸可以如下表所示:
终端类型 典型尺寸(单位:英寸)
液晶电视 80,70,60,50,40,30,20
电脑显示器 22,19,17,14
平板电脑 10.1,9.7
手机 6,5
1002、服务器根据公式rmin=u×a2×s3+v×a×a2+w×s,分别获取各个物理尺寸对应的最小码率。
其中,s为终端对应的物理尺寸,u、v、w、a为固定数值。
对于本发明实施例,服务器根据各个物理尺寸对应的最小码率分别配置对应的编码参数,并根据编码参数分别对视频数据进行编码,从而生成与各个物理尺寸对应的视频码流。
1003、服务器在MPD中,建立各个物理尺寸对应的最小码率与视频数据对应的各个视频码流之间的对应关系。
其中,各个视频码流是由服务器按照各个物理尺寸对应的最小码率分别对原始视频数据进行编码得到,MPD中每个物理尺寸对应的最小码率均存在与之对应的视频码流。
进一步地,服务器通过在MPD中建立各个物理尺寸对应的最小码率与视频数据对应的各个视频码流之间的对应关系,以使得终端根据各个物理尺寸对应的最小码率与视频数据对应的各个视频码流之间的对应关系,获取视频码流。
1004、服务器接收终端发送的视频码流获取请求。
其中,视频码流获取请求携带有终端需要获取的视频数据对应的标识。
1005、服务器接收终端发送的转码请求。
其中,转码请求携带有最小码率与实时网络带宽的比例关系。
对于本发明实施例,当实时网络带宽小于最小码率时,终端向服务器发送转码请求。在本发明实施例中,由于当实时网络带宽小于最小码率时,终端不可以流畅播放视频资源,因此需要通过服务器对视频码流进行转码处理之后,终端才可以流畅播放视频资源。
1006、服务器根据比例关系,对最小码率对应的视频码流进行转码。
具体地,服务器根据转码请求中携带的最小码率与实时网络带宽之间的比例关系及实时网络带宽,对视频码流进行按比例降低空间分辨率,或者对视频码流进行按比例降低帧率的转码操作,以使得终端可以流畅播放视频资源。
对于本发明实施例,服务器对视频码流进行转码之后,在MPD中建立转码之后的最小码率及对应的视频码流之间的对应关系。进一步地,以使得终端根据MPD中转码之后的最小码率及对应的视频码流之间的对应关系,获取对应的视频码流。
1007、服务器向终端发送媒体索引描述MPD。
其中,MPD中包括各个物理尺寸对应的最小码率与视频数据对应的各个视频码流之间的对应关系。在本发明实施例中,各个视频码流是由服务器按照各个码率分别对原始视频数据进行编码得到,MPD中每个物理尺寸均存在与之对应的最小码率及视频码流。进一步地,作为图10所示方法的具体实现,本发明实施例提供了一种视频码流的获取装置,如图11所示,所述装置的实体可以为服务器,所述装置包括:接收单元111、发送单元112。
接收单元111,用于接收终端发送的视频码流获取请求。
其中,视频码流获取请求携带有终端需要获取的视频数据对应的标识。
发送单元112,用于在接收单元111接收到视频码流获取请求时,向终端发送媒体索引描述MPD。
其中,MPD中包括各个物理尺寸对应的最小码率与视频数据对应的各个视频码流之间的对应关系。
可选地,所述装置还可以包括:获取单元113、建立单元114。
获取单元113,用于获取终端对应的各个物理尺寸。
获取单元113,还用于根据公式rmin=u×a2×s3+v×a×s2+w×s,分别获取各个物理尺寸对应的最小码率。
其中,s为终端对应的物理尺寸,u、v、w、a为固定数值。
建立单元114,用于在MPD中,建立获取单元113获取的各个物理尺寸对应的最小码率与视频数据对应的各个视频码流之间的对应关系。
可选地,所述装置还可以包括:转码单元115。
接收单元111,还用于接收终端发送的转码请求。
其中,转码请求携带有最小码率与实时网络带宽的比例关系。
转码单元115,用于根据接收单元111接收的比例关系,对最小码率对应的视频码流进行转码。
再进一步地,所述视频码流的获取装置的实体可以为服务器,如图12所示,所述服务器可以包括:接收器121、发送器122、处理器123。
接收器121,用于接收终端发送的视频码流获取请求。
其中,视频码流获取请求携带有终端需要获取的视频数据对应的标识。
发送器122,用于向终端发送媒体索引描述MPD。
其中,MPD中包括各个物理尺寸对应的最小码率与视频数据对应的各个视频码流之间的对应关系。
处理器123,用于获取终端对应的各个物理尺寸。
处理器123,还用于根据公式rmin=u×a2×s3+v×a×s2+w×s,分别获取各个物理尺寸对应的最小码率。
其中,s为终端对应的物理尺寸,u、v、w、a为固定数值。
处理器123,还用于在MPD中,建立各个物理尺寸对应的最小码率与视频数据对应的各个视频码流之间的对应关系。
接收器121,还用于接收终端发送的转码请求。
其中,转码请求携带有最小码率与实时网络带宽的比例关系。
处理器123,还用于根据比例关系,对最小码率对应的视频码流进行转码。
需要说明的是,本发明实施例中提供的视频码流的获取装置中各功能单元所对应的其他相应描述,可以参考图10中的对应描述,在此不再赘述。
本发明实施例提供的视频码流的获取方法及装置,首先终端获取自身参数所对应的最小码率,然后终端向服务器发送视频码流获取请求,当服务器接收到终端发送的视频码流获取请求时,向终端发送MPD,最后终端接收服务器发送的MPD,并根据MPD以及最小码率获取视频码流。与目前通过网络带宽获取对应的码率相比,本发明实施例通过终端的自身参数所对应的最小码率,能够为不同参数的终端获取对应的视频码流,从而可以避免使用对视频数据的画面质量要求较低的终端时,存在网络带宽浪费的情况,进而可以提高网络带宽的利用率。
本发明实施例提供的视频码流的获取的装置可以实现上述提供的方法实施例,具体功能实现请参见方法实施例中的说明,在此不再赘述。本发明实施例提供的视频码流的获取方法及装置可以适用于用户通过终端下载视频数据,但不仅限于此。
本领域普通技术人员可以理解实现上述实施例方法中的全部或部分流程,是可以通过计算机程序来指令相关的硬件来完成,所述的程序可存储于一计算机可读取存储介质中,该程序在执行时,可包括如上述各方法的实施例的流程。其中,所述的存储介质可为磁碟、光盘、只读存储记忆 体(Read-Only Memory,ROM)或随机存储记忆体(Random Access Memory,RAM)等。
以上所述,仅为本发明的具体实施方式,但本发明的保护范围并不局限于此,任何熟悉本技术领域的技术人员在本发明揭露的技术范围内,可轻易想到的变化或替换,都应涵盖在本发明的保护范围之内。因此,本发明的保护范围应该以权利要求的保护范围为准。

Claims (18)

  1. 一种视频码流的获取方法,其特征在于,包括:
    终端获取自身参数所对应的最小码率;
    所述终端向服务器发送视频码流获取请求,所述视频码流获取请求包含需要获取的视频数据的标识,以使得所述服务器根据所述视频数据的标识向所述终端发送媒体索引描述MPD,所述MPD中包括各个物理尺寸对应的最小码率与所述视频数据对应的各个视频码流之间的对应关系;
    所述终端接收所述服务器发送的所述MPD;
    所述终端根据所述MPD以及所述最小码率获取视频码流。
  2. 根据权利要求1所述的视频码流的获取方法,其特征在于,所述终端获取自身参数所对应的最小码率的步骤之前,还包括:
    所述终端获取自身的参数。
  3. 根据权利要求2所述的视频码流的获取方法,其特征在于,所述参数包括终端的物理尺寸;
    所述终端获取自身的参数的步骤包括:
    所述终端获取所述终端的物理尺寸;
    所述终端获取自身参数所对应的最小码率的步骤包括:
    所述终端根据公式rmin=u×a2×s3+v×a×s2+w×s,获取所述物理尺寸对应的最小码率,其中,s为所述终端的物理尺寸,u、v、w、a为固定数值。
  4. 根据权利要求3所述的视频码流的获取方法,其特征在于,所述终端获取所述终端的物理尺寸的步骤包括:
    所述终端获取所述终端的视频显示窗口的物理尺寸。
  5. 根据权利要求1至4任一所述的视频码流的获取方法,其特征在于,所述终端根据所述MPD以及所述最小码率获取视频码流的步骤包括:
    所述终端查找目标码率,所述目标码率为与所述最小码率匹配的码率;
    所述终端根据所述MPD获取所述目标码率对应的视频码流。
  6. 根据权利要求5所述的视频码流的获取方法,其特征在于,所述终 端获取自身参数所对应的最小码率的步骤之后,还包括:
    所述终端获取实时网络带宽;
    所述终端判断所述实时网络带宽是否大于或者等于所述最小码率;
    所述终端向服务器发送视频码流获取请求的步骤包括:
    若所述实时网络带宽大于或者等于所述最小码率,则所述终端向所述服务器发送所述视频码流获取请求;
    若所述实时网络带宽小于所述最小码率,则所述终端向所述服务器发送转码请求,所述转码请求携带有所述最小码率与所述实时网络带宽之间的比例关系,以使得所述服务器根据所述比例关系,对所述目标码率对应的视频码流进行转码。
  7. 一种视频码流的获取方法,其特征在于,包括:
    服务器接收终端发送的视频码流获取请求,所述视频码流获取请求携带有所述终端需要获取的视频数据对应的标识;
    所述服务器向所述终端发送媒体索引描述MPD,所述MPD中包括各个物理尺寸对应的最小码率与所述视频数据对应的各个视频码流之间的对应关系,以使得所述终端根据所述MPD以及最小码率获取视频码流。
  8. 根据权利要求7所述的视频码流的获取方法,其特征在于,所述服务器接收终端发送的视频码流获取请求的步骤之前,还包括:
    所述服务器获取终端对应的各个物理尺寸;
    所述服务器根据公式rmin=u×a2×s3+v×a×s2+w×s,分别获取所述各个物理尺寸对应的最小码率,其中,s为所述终端对应的物理尺寸,u、v、w、a为固定数值;
    所述服务器在所述MPD中,建立所述各个物理尺寸对应的最小码率与所述视频数据对应的各个视频码流之间的对应关系,以使得所述终端根据所述各个物理尺寸对应的最小码率与所述视频数据对应的各个视频码流之间的对应关系,获取视频码流。
  9. 根据权利要求7或8所述的视频码流的获取方法,其特征在于,所述 服务器向所述终端发送媒体索引描述MPD的步骤之前,还包括:
    所述服务器接收所述终端发送的转码请求,所述转码请求携带有最小码率与实时网络带宽的比例关系;
    所述服务器根据所述比例关系,对所述最小码率对应的视频码流进行转码。
  10. 一种视频码流的获取装置,其特征在于,包括:
    获取单元,用于获取终端的参数所对应的最小码率;
    发送单元,用于在所述获取单元获取到所述最小码率时,向服务器发送视频码流获取请求,所述视频码流获取请求包含需要获取的视频数据的标识;
    接收单元,用于在所述发送单元完成所述视频码流获取请求发送时,接收所述服务器发送的所述MPD,所述MPD中包括各个物理尺寸对应的最小码率与所述视频数据对应的各个视频码流之间的对应关系;
    所述获取单元,还用于根据所述接收单元接收的所述MPD以及所述最小码率获取视频码流。
  11. 根据权利要求10所述的视频码流的获取装置,其特征在于,
    所述获取单元,还用于获取所述终端的参数。
  12. 根据权利要求11所述的视频码流的获取装置,其特征在于,
    所述获取单元,具体用于获取所述终端的物理尺寸;
    所述获取单元,具体还用于根据公式rmin=u×a2×s3+v×a×s2+w×s,获取所述物理尺寸对应的最小码率,其中,s为所述终端的物理尺寸,u、v、w、a为固定数值。
  13. 根据权利要求12所述的视频码流的获取装置,其特征在于,
    所述获取单元,具体用于获取所述终端的视频显示窗口的物理尺寸。
  14. 根据权利要求10至13任一所述的视频码流的获取装置,其特征在于,所述获取单元包括:
    查找模块,用于查找目标码率,所述目标码率为与所述最小码率匹配 的码率;
    获取模块,用于根据所述MPD获取所述查找模块查找的所述目标码率对应的视频码流。
  15. 根据权利要求14所述的视频码流的获取装置,其特征在于,所述装置还包括:判断单元;
    所述获取单元,还用于获取实时网络带宽;
    所述判断单元,用于判断所述获取单元获取的所述实时网络带宽是否大于或者等于所述最小码率;
    所述发送单元,具体用于当所述判断单元判断所述实时网络带宽大于或者等于所述最小码率时,向所述服务器发送所述视频码流获取请求;当所述判断单元判断所述实时网络带宽小于所述最小码率时,向所述服务器发送转码请求,所述转码请求携带有所述最小码率与所述实时网络带宽之间的比例关系。
  16. 一种视频码流的获取装置,其特征在于,包括:
    接收单元,用于接收终端发送的视频码流获取请求,所述视频码流获取请求携带有所述终端需要获取的视频数据对应的标识;
    发送单元,用于在所述接收单元接收到所述视频码流获取请求时,向所述终端发送媒体索引描述MPD,所述MPD中包括各个物理尺寸对应的最小码率与所述视频数据对应的各个视频码流之间的对应关系。
  17. 根据权利要求16所述的视频码流的获取装置,其特征在于,所述装置还包括:获取单元、建立单元;
    所述获取单元,用于获取终端对应的各个物理尺寸;
    所述获取单元,还用于根据公式rmin=u×a2×s3+v×a×s2+w×s,分别获取所述各个物理尺寸对应的最小码率,其中,s为所述终端对应的物理尺寸,u、v、w、a为固定数值;
    所述建立单元,用于在所述MPD中,建立所述获取单元获取的所述各个物理尺寸对应的最小码率与所述视频数据对应的各个视频码流之间的对 应关系。
  18. 根据权利要求16或17所述的视频码流的获取装置,其特征在于,所述装置还包括:转码单元;
    所述接收单元,还用于接收所述终端发送的转码请求,所述转码请求携带有最小码率与实时网络带宽的比例关系;
    所述转码单元,用于根据所述接收单元接收的所述比例关系,对所述最小码率对应的视频码流进行转码。
PCT/CN2014/092583 2013-12-11 2014-11-28 视频码流的获取方法及装置 WO2015085873A1 (zh)

Priority Applications (2)

Application Number Priority Date Filing Date Title
EP14870025.5A EP3070951A1 (en) 2013-12-11 2014-11-28 Video code stream obtaining method and apparatus
US15/177,751 US10404606B2 (en) 2013-12-11 2016-06-09 Method and apparatus for acquiring video bitstream

Applications Claiming Priority (2)

Application Number Priority Date Filing Date Title
CN201310672000.1A CN104717555B (zh) 2013-12-11 2013-12-11 视频码流的获取方法及装置
CN201310672000.1 2013-12-11

Related Child Applications (1)

Application Number Title Priority Date Filing Date
US15/177,751 Continuation US10404606B2 (en) 2013-12-11 2016-06-09 Method and apparatus for acquiring video bitstream

Publications (1)

Publication Number Publication Date
WO2015085873A1 true WO2015085873A1 (zh) 2015-06-18

Family

ID=53370610

Family Applications (1)

Application Number Title Priority Date Filing Date
PCT/CN2014/092583 WO2015085873A1 (zh) 2013-12-11 2014-11-28 视频码流的获取方法及装置

Country Status (4)

Country Link
US (1) US10404606B2 (zh)
EP (1) EP3070951A1 (zh)
CN (1) CN104717555B (zh)
WO (1) WO2015085873A1 (zh)

Families Citing this family (5)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN107046645B9 (zh) 2016-02-06 2020-08-14 华为技术有限公司 图像编解码方法及装置
CN110662017B (zh) 2018-06-30 2022-05-10 华为技术有限公司 一种视频播放质量检测方法和装置
CN109195010B (zh) * 2018-08-15 2021-08-06 咪咕视讯科技有限公司 一种码率调节方法及装置
CN114651449B (zh) * 2020-04-26 2023-09-29 华为技术有限公司 一种流媒体参数动态自适应网络的调整方法及装置
CN113242438A (zh) * 2021-04-12 2021-08-10 郑州阿帕斯数云信息科技有限公司 视频数据传输方法和装置

Citations (3)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN101511010A (zh) * 2009-03-27 2009-08-19 北京中星微电子有限公司 一种媒体流发送方法及装置
CN102130936A (zh) * 2010-08-17 2011-07-20 华为技术有限公司 一种在动态http流传输方案中支持时移回看的方法和装置
CN103167318A (zh) * 2011-12-13 2013-06-19 中国电信股份有限公司 流媒体处理方法、装置和服务器、系统

Family Cites Families (26)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
US20030065803A1 (en) * 2001-09-28 2003-04-03 Koninklijke Philips Electronics N. V. Intelligent delivery method for streamed content
US7095907B1 (en) 2002-01-10 2006-08-22 Ricoh Co., Ltd. Content and display device dependent creation of smaller representation of images
JP2009260818A (ja) 2008-04-18 2009-11-05 Nec Corp サーバ装置とコンテンツ配信方法とプログラム
US20110088076A1 (en) * 2009-10-08 2011-04-14 Futurewei Technologies, Inc. System and Method for Media Adaptation
CN102118357B (zh) 2009-12-31 2014-12-17 华为技术有限公司 一种流媒体处理方法、设备和系统
US8467412B2 (en) * 2010-04-14 2013-06-18 Ericsson Television Inc. Adaptive rate shifting for delivery of video services to service groups
KR20120034550A (ko) * 2010-07-20 2012-04-12 한국전자통신연구원 스트리밍 컨텐츠 제공 장치 및 방법
US9596447B2 (en) * 2010-07-21 2017-03-14 Qualcomm Incorporated Providing frame packing type information for video coding
JP5610930B2 (ja) * 2010-08-30 2014-10-22 三菱電機株式会社 半導体装置
US20130268630A1 (en) * 2012-04-10 2013-10-10 Jan Besehanic Methods and apparatus to measure exposure to streaming media
GB2492538B (en) * 2011-06-30 2014-06-04 Nds Ltd Distributing audio video content
WO2013017165A1 (en) * 2011-08-02 2013-02-07 Telefonaktiebolaget L M Ericsson (Publ) Shaping media traffic based on manifest file in http adaptive streaming
US8924580B2 (en) * 2011-08-12 2014-12-30 Cisco Technology, Inc. Constant-quality rate-adaptive streaming
US9225762B2 (en) * 2011-11-17 2015-12-29 Google Technology Holdings LLC Method and apparatus for network based adaptive streaming
CN102595204A (zh) * 2012-02-28 2012-07-18 华为终端有限公司 一种流媒体传输方法、设备及系统
KR102015204B1 (ko) * 2012-10-26 2019-08-27 인텔 코포레이션 비디오 방향에 기초한 멀티미디어 적응
WO2014088297A1 (ko) * 2012-12-03 2014-06-12 삼성전자 주식회사 화면 구성 정보를 이용한 컨텐츠 재생 방법 및 장치
CN105052107B (zh) * 2013-01-15 2019-04-12 华为技术有限公司 使用质量信息进行媒体内容自适应传输
EP2896189B1 (en) * 2013-01-16 2016-09-14 Huawei Technologies Co., Ltd. Storing and transmitting content for downloading and streaming
US20160050246A1 (en) * 2013-03-29 2016-02-18 Intel IP Corporation Quality-aware rate adaptation techniques for dash streaming
CN103248962B (zh) * 2013-04-23 2016-12-28 华为技术有限公司 获取流媒体数据的方法、设备及系统
US9332035B2 (en) * 2013-10-10 2016-05-03 The Nielsen Company (Us), Llc Methods and apparatus to measure exposure to streaming media
US9509742B2 (en) * 2014-10-29 2016-11-29 DLVR, Inc. Configuring manifest files referencing infrastructure service providers for adaptive streaming video
US20160182594A1 (en) * 2014-12-19 2016-06-23 Cable Television Laboratories, Inc. Adaptive streaming
US9860294B2 (en) * 2014-12-24 2018-01-02 Intel Corporation Media content streaming
US10200725B2 (en) * 2015-06-15 2019-02-05 Intel Corporation Adaptive data streaming based on virtual screen size

Patent Citations (3)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN101511010A (zh) * 2009-03-27 2009-08-19 北京中星微电子有限公司 一种媒体流发送方法及装置
CN102130936A (zh) * 2010-08-17 2011-07-20 华为技术有限公司 一种在动态http流传输方案中支持时移回看的方法和装置
CN103167318A (zh) * 2011-12-13 2013-06-19 中国电信股份有限公司 流媒体处理方法、装置和服务器、系统

Non-Patent Citations (1)

* Cited by examiner, † Cited by third party
Title
See also references of EP3070951A4 *

Also Published As

Publication number Publication date
US10404606B2 (en) 2019-09-03
CN104717555B (zh) 2018-01-02
EP3070951A4 (en) 2016-09-21
CN104717555A (zh) 2015-06-17
EP3070951A1 (en) 2016-09-21
US20160294711A1 (en) 2016-10-06

Similar Documents

Publication Publication Date Title
US20230283653A1 (en) Methods and apparatus to reduce latency for 360-degree viewport adaptive streaming
JP6169690B2 (ja) 装置方位能力交換シグナリング及び装置方位に応答するマルチメディアコンテンツのサーバ適応
US10484446B1 (en) VBR encoding of live content
WO2015085873A1 (zh) 视频码流的获取方法及装置
US11138715B2 (en) Method and apparatus for determining experience quality of VR multimedia
WO2015120766A1 (zh) 一种视频优化系统及方法
US9344678B2 (en) Information processing apparatus, information processing method and computer-readable storage medium
US10491855B2 (en) Orientation adjustment for casting videos
US20150341634A1 (en) Method, apparatus and system to select audio-video data for streaming
US10708667B1 (en) Combining fragments with different encodings
US10771855B1 (en) Deep characterization of content playback systems
CN104683734A (zh) 一种视频监控的内容适配方法、系统及中心服务器、装置
WO2023202159A1 (zh) 视频播放方法及装置
US9912984B2 (en) Devices and methods for obtaining media stream with adaptive resolutions
JP2017517793A (ja) ビデオオリエンテーションネゴシエーション
CN110753243A (zh) 图像处理方法、图像处理服务器及图像处理系统
US11265357B2 (en) AV1 codec for real-time video communication
US11140442B1 (en) Content delivery to playback systems with connected display devices
KR20140103377A (ko) 컨텐츠 서버 및 서버의 컨텐츠 제공방법
JP2020053904A (ja) データ受信装置、データ配信制御方法、及びデータ配信制御プログラム
TW201501516A (zh) 多訊源影像串流顯示系統、多訊源影像串流顯示裝置及其方法
CN111818336B (zh) 视频处理方法、装置、存储介质以及通信装置
US20150286633A1 (en) Generation, at least in part, of at least one service request, and/or response to such request

Legal Events

Date Code Title Description
121 Ep: the epo has been informed by wipo that ep was designated in this application

Ref document number: 14870025

Country of ref document: EP

Kind code of ref document: A1

NENP Non-entry into the national phase

Ref country code: DE

REEP Request for entry into the european phase

Ref document number: 2014870025

Country of ref document: EP

WWE Wipo information: entry into national phase

Ref document number: 2014870025

Country of ref document: EP

WWE Wipo information: entry into national phase

Ref document number: IDP00201604430

Country of ref document: ID