WO2023202159A1 - 视频播放方法及装置 - Google Patents

视频播放方法及装置 Download PDF

Info

Publication number
WO2023202159A1
WO2023202159A1 PCT/CN2022/144236 CN2022144236W WO2023202159A1 WO 2023202159 A1 WO2023202159 A1 WO 2023202159A1 CN 2022144236 W CN2022144236 W CN 2022144236W WO 2023202159 A1 WO2023202159 A1 WO 2023202159A1
Authority
WO
WIPO (PCT)
Prior art keywords
target
video
video stream
stream address
window
Prior art date
Application number
PCT/CN2022/144236
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 上海哔哩哔哩科技有限公司
Publication of WO2023202159A1 publication Critical patent/WO2023202159A1/zh

Links

Images

Classifications

    • 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/443OS processes, e.g. booting an STB, implementing a Java virtual machine in an STB or power management in an STB
    • H04N21/4438Window management, e.g. event handling following interaction with the user interface
    • 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/47End-user applications
    • H04N21/485End-user interface for client configuration
    • H04N21/4858End-user interface for client configuration for modifying screen layout parameters, e.g. fonts, size of the windows

Definitions

  • This application relates to the field of network communication technology, and in particular to a video playback method.
  • the present application also relates to a video playback device, a computing device, and a computer-readable storage medium.
  • the live streams watched by users are divided into original streams and transcoded streams. Since the original stream is the original stream pushed by the anchor, the parameter specifications and bit rate upper limit are different.
  • the inventor realized that when the user wants to watch high-definition During the live broadcast, due to poor network and low bandwidth problems of some users, users will experience lag when watching the live broadcast. Therefore, how to reduce the lag when users watch without reducing the quality of the user's viewing is currently a problem. A problem that needs to be solved urgently.
  • embodiments of the present application provide a video playing method.
  • This application also relates to a video playback device, a computing device, and a computer-readable storage medium to solve the problem in the prior art that users with poor network speeds cannot have a good viewing experience.
  • a video playback method which is applied to a user client and includes:
  • the target video corresponding to the target window information is played based on the target video stream address, wherein the initial video and the target video playback content are the same and have different code rates.
  • a video playback method which is applied to a user client and includes:
  • the target live video corresponding to the target window information is played based on the target live stream address, wherein the initial live video and the target live video playback content are the same and have different code rates.
  • a video playback device which is applied to a user client and includes:
  • a receiving module configured to receive a window adjustment instruction of the initial video, wherein the window adjustment instruction is used to adjust the window size of the initial video
  • a determining module configured to determine the target window information and the target video stream address according to the window adjustment instruction
  • a switching module configured to switch the initial video stream address of the initial video to the target video stream address
  • a playback module configured to play a target video corresponding to the target window information based on the target video stream address, wherein the initial video and the target video playback content are the same and have different code rates.
  • a video playback device which is applied to a user client and includes:
  • the receiving module is configured to receive a window adjustment instruction of the initial live video, wherein the window adjustment instruction is used to adjust the window size of the initial live video;
  • a determination module configured to determine the target window information and the target live stream address according to the window adjustment instruction
  • a switching module configured to switch the initial live stream address of the initial live video to the target live stream address
  • a playback module configured to play the target live video corresponding to the target window information based on the target live stream address, wherein the initial live video and the target live video playback content are the same and have different code rates.
  • a computing device including a memory, a processor, and computer instructions stored in the memory and executable on the processor.
  • the processor executes the computer instructions, the desired Describe the steps of video playback method.
  • a computer-readable storage medium which stores computer instructions.
  • the steps of the video playback method are implemented.
  • the video playback method provided by this application is applied to a client and includes: receiving a window adjustment instruction for an initial video, wherein the window adjustment instruction is used to adjust the window size of the initial video; and determining a target window according to the window adjustment instruction. information and the target video stream address; switching the initial video stream address of the initial video to the target video stream address; playing the target video corresponding to the target window information based on the target video stream address, wherein the initial The video plays the same content as the target video but has different bitrates.
  • An embodiment of the present application switches the initial video stream address to the target video stream address according to the target window information, so that when the user watches the same video stream in different windows, different video stream addresses are provided, so that the user can watch in a windowed manner.
  • a secondary compressed video stream can be provided for it, which can reduce the occurrence of video freezes without affecting the user's viewing experience, and can also reduce the bandwidth cost of the video provider.
  • Figure 1 is a flow chart of a video playback method provided by an embodiment of the present application.
  • Figure 2 is a processing flow chart of a video playback method for watching live broadcast provided by an embodiment of the present application
  • Figure 3 is a schematic structural diagram of a video playback device provided by an embodiment of the present application.
  • Figure 4 is a schematic structural diagram of another video playback device provided by an embodiment of the present application.
  • Figure 5 is a structural block diagram of a computing device provided by an embodiment of the present application.
  • first, second, etc. may be used to describe various information in one or more embodiments of the present application, the information should not be limited to these terms. These terms are only used to distinguish information of the same type from each other.
  • the first may also be called the second, and similarly the second may also be called the first.
  • the word "if” as used herein may be interpreted as "when” or "when” or "in response to determining.”
  • Video stream A transmission stream of audio and video data.
  • the video stream can be transmitted to the audience through the network as a stable and continuous stream, so that the audience can watch the video.
  • Bit rate the number of data bits transmitted per unit time during video data transmission. The higher the bit rate, the clearer the video picture. The lower the bit rate, the blurr the video picture.
  • Frame rate A measure of the number of frames displayed, known as the refresh rate, measured in frames per second.
  • the video provider assigns video streams of different bit rates to the user by default, that is, different definitions.
  • Original painting The original video stream pushed by the video provider.
  • Transcoding stream After the transcoding system uses algorithm optimization, the original video stream encoding is optimized to maintain the same viewing experience and reduce the bit rate as much as possible.
  • video streams are divided into original streams and transcoded streams.
  • the client When a user watches a video through a client, the client will pull the video stream of the video and obtain the video file of the video by parsing the video stream. to watch.
  • different user clients use different bandwidths, that is, there are differences in network speeds. Therefore, the video provider will transcode the video stream to produce a variety of video streams with different bit rates.
  • the original painting video will be streamed Switch to low-bitrate high-definition video streams, ultra-clear video streams, etc., so that users can choose the corresponding definition according to the network speed, which can effectively reduce the user's live broadcast freeze and make the playback smoother, and can also reduce the bandwidth of the video provider cost.
  • Video providers need to proactively solve the above problems for users and provide users with a better viewing environment.
  • This application also relates to a video playback device, a computing device, and a computer-readable storage medium, which will be described in detail one by one in the following embodiments.
  • Figure 1 shows a flow chart of a video playback method according to an embodiment of the present application, which specifically includes the following steps:
  • Step 102 Receive a window adjustment instruction of the initial video, where the window adjustment instruction is used to adjust the window size of the initial video.
  • the initial video can be understood as the video that the user is currently watching
  • the window adjustment instruction can be understood as an instruction to adjust the window of the initial video.
  • the window adjustment instruction can include the window information that you want to adjust.
  • the initial video can be Adjust the window to the window size the user wants. For example, if the initial video window is 800*600 and the user wants to watch a 1440*900 video, a window adjustment instruction will be sent to the user client, and the client will receive the window adjustment After the command, adjust the initial video to a 1440*900 window.
  • bit rate of the video when the bit rate of the video is the same, that is, when the definition remains unchanged, the larger the window, the blurr the video the user watches.
  • the window when the window remains unchanged, the bit rate of the video is higher. The clearer the video viewed by the user, however, as the video bit rate increases, the corresponding bandwidth requirements for the user also increase.
  • this application provides a video playback method that reduces the video code rate and provides a video stream that consumes less bandwidth when the user watches the video in a window.
  • a video playback method that reduces the video code rate and provides a video stream that consumes less bandwidth when the user watches the video in a window.
  • the user client when the user wants to adjust the window size of video A while watching video A, he will click the window adjustment button. At this time, the user client will receive the window adjustment instruction. After receiving the After the window adjustment instruction, adjust the window of video A to the size that the user wants to watch, that is, adjust the window of video A to the size of the viewing window that the user desires.
  • a viewing instruction for the video to be viewed is sent to the user client.
  • the user client After relevant processing, the user client provides the user with the playback of the video to be viewed.
  • the window adjustment instruction of the initial video before receiving the window adjustment instruction of the initial video, it also includes:
  • the video to be viewed can be understood as the video that the user is ready to watch
  • the viewing instruction can be understood as the instruction to watch the video to be viewed.
  • the viewing instruction may carry identification information of the video.
  • the user client After receiving the viewing instruction, the user client will Provide users with the playback function of videos to be watched.
  • the default video stream address can be understood as the default video stream address provided by the video provider for users to watch videos.
  • the user client can pull the corresponding video stream based on the video stream address. For example, when a user watches a video through a web page, the user will be provided with a high-definition video with a window size of 800*600 (bit rate 1500) by default.
  • the user client can obtain the video file of the video to be watched based on the default video stream, thereby providing user plays.
  • the user client when the user is preparing to watch video A through the web page, he clicks the play button of video A. At this time, the user client receives a viewing instruction for the video to be viewed, and the user client performs the viewing according to the The instruction obtains the default video stream address of the video to be viewed. According to the default video stream, the user client will play video A in the default size window.
  • the bit rate of video A is 1500 kilobits per second (kbps).
  • the user client obtains the default video stream address through the server. Specifically, the user client obtains the default video stream address of the video to be viewed according to the viewing instruction, including:
  • a default video stream address is determined in the video stream address set according to the viewing instruction.
  • the viewing request can be understood as a request for the user client to watch the video to be viewed.
  • the user client After the user client receives the viewing instruction, it will send a viewing request to the server.
  • the viewing request can carry the user client identification information, the user client's Bandwidth information, video identification information, etc., based on the viewing request, the server will send the video stream address corresponding to the video to be viewed to the client so that the client can play the video to be viewed.
  • a video will have multiple video stream addresses, and different video stream addresses correspond to different bit rates.
  • the server After receiving the original stream of the video, the server will transcode it into multiple transcoding streams based on the original stream, for example , SD (bit rate 800), HD (bit rate 1500), Ultra Definition (bit rate 2500), Blu-ray (bit rate 4000), these transcoding streams can be understood as one-press video streams, so that the user client can according to the current Bandwidth selects a video stream with an appropriate bit rate and plays it; in addition, the server also performs secondary compression for each bit rate, generating a second-pressure video stream corresponding to each bit rate, so that the user client can play the video in a window. , providing video streams that consume less bandwidth, so that users will not experience lag when watching videos, and the video quality will not be reduced in the user's perception.
  • the user client generates a viewing request according to the viewing instruction and sends the viewing request to the server.
  • the server will send the video stream address set of video A to the user client, and the video The stream address set includes the first-press video stream address of high-definition, ultra-clear, and original paintings, and the second-press video stream address of high-definition, ultra-clear, and original paintings.
  • the user client will determine the default video stream address in the video stream address set according to the viewing instructions. , that is, select the video stream address corresponding to the bit rate in the default size window, thereby providing the user with the video stream address with the best viewing experience and no lagging in this window.
  • the default video stream address is determined in the video stream address set according to the viewing instruction, including:
  • the default video stream address is determined according to the default window information.
  • the default window information can be understood as the default window of the video when the user watches the video.
  • the user client will provide a default window for the video to play, which can be understood as the user client A video with a default window size will be provided for playback.
  • the user client will determine a default video stream address based on the default window information.
  • the video corresponding to the default video stream address will have clear picture quality when played in this window, and there will be no playback lag, which is understandable.
  • the user client obtains the default window information of the video to be viewed according to the viewing instruction.
  • the default window information is 1280*1024.
  • the user client determines that the default video stream address is 1500 bit rate based on the default window information.
  • the video stream address, and since it is windowed viewing, the video stream address can be the second-pressure video stream address corresponding to the high-definition bit rate. Compared with the high-definition bit rate of the first-pressure video stream address, the bit rate of the second-pressure video stream address is lower, but when viewed in windowed mode, the user's viewing experience remains unchanged.
  • Step 104 Determine target window information and target video stream address according to the window adjustment instruction.
  • the user client needs to re-determine a video stream address based on the user's desired window to provide the user with a clearer video without affecting the user's viewing experience.
  • the target window information can be understood as the video window information expected by the user, that is, the window of the video after window adjustment
  • the target video stream address can be understood as the video stream address corresponding to the video under the target window information
  • the user client determines the video quality according to the size of the window, that is, the window determines the bit rate of the video stream. Therefore, when the window is adjusted, the user client will re- Determine a video stream address that is suitable for the bit rate of the current window, so as to provide the user with a video stream address that will not cause lag for playback without affecting the viewing quality.
  • the user client determines that the target window information is 1440*900 and the target video stream address is the address of the ultra-clear video stream according to the window adjustment instruction.
  • determining the target window information and target video stream address according to the window adjustment instruction includes:
  • the video bit rate information can be understood as the bit rate information corresponding to the video stream.
  • the user client obtains the target window information carried in the window adjustment instruction, and determines the video bit rate information corresponding to the target window information based on the target window information.
  • the corresponding target video stream address can be determined according to the video bit rate information.
  • the above example is used to obtain the target window information in the window adjustment instruction.
  • the target window information is 1440*900.
  • the video code rate information corresponding to the target window information is ultra-clear (code rate 2500)
  • determining the target video stream address according to the video bit rate information includes:
  • a target video stream address is determined in the target video stream address set according to the target window information.
  • the video streams corresponding to the video stream addresses in the target video stream address set have the same video bit rate information, but the encoding strategies of the video streams corresponding to each video address are different.
  • the server will provide the user client with the first-pressure video stream address and the second-pressure video stream address.
  • the user client will not only select the video stream with the bit rate corresponding to the target window, but also determine whether to use a video stream based on the target window information.
  • the address of the compressed video stream is still the address of the second-pressed video stream.
  • the resolution of the second-pressed video stream will not be significantly different from that of the first-pressed video stream.
  • Streaming consumes less bandwidth. Therefore, select the second-pressure video stream to watch in windowed mode, and select the first-pressure video stream to watch in full-screen mode. This way, the bandwidth of the user's viewing experience can be reduced without affecting the user's viewing experience. Less consumption and no lagging.
  • determining the target video stream address in the target video stream address set according to the target window information also includes:
  • the target window information is the maximum window of the device, select a video stream address from the target video stream address set as the target video stream address;
  • the second-pressure video stream address is selected as the target video stream address in the target video stream address set.
  • the target window information is the maximum window of the device, which can be understood as the user switching the window to full screen.
  • the target window information is non-device
  • the maximum window can be understood as the user watching through a window.
  • the stream is pulled through the secondary video stream address to play the video with no difference in image quality for the user.
  • the user will adjust the video window, and the user client will dynamically adjust the bit rate of the video stream according to the window, and select the first-pressure video stream or the second-pressure video at the relative bitrate based on whether the window is the maximum window of the device.
  • Streaming enables users to provide the best viewing experience by dynamically adjusting the video bitrate.
  • a video stream address with a code rate corresponding to the window is selected for streaming playback.
  • the second-pressure video stream address of the code rate corresponding to the window is selected for streaming playback.
  • determining the target video stream address in the target video stream address set according to the target window information also includes:
  • the compressed video stream address can be understood as a second-pressure video stream address.
  • the compression strategies of the two compressed video streams corresponding to at least two compressed video stream addresses are different.
  • the compressed video stream can be a 264 video stream or 265 video stream.
  • the 264 video stream is obtained by compressing the video stream through the H.264 encoding and compression strategy.
  • the 265 video is obtained by compressing the video stream through the H.265 encoding and compression strategy.
  • the specific compression strategy is determined based on the actual situation and will not be discussed in this application. Specific restrictions.
  • the compressed video stream is determined based on the video stream that the device can support playing. For example, some devices can only support parsing 264 video streams, then the address of the 264 video stream is determined to be the target video stream address. During specific implementation, priority will be given to determining whether the device can support parsing of 265 video streams. If the device does not support parsing of 265 video streams, 264 video streams will be selected for streaming playback.
  • the user client determines two compressed video stream addresses corresponding to the target window in the target video stream address set, which are 264 video.
  • Stream address and 265 video stream address determine the 265 video stream address as the target video stream address based on the attribute information of the user client.
  • Step 106 Switch the initial video stream address of the initial video to the target video stream address.
  • the initial video stream address of the currently playing initial video can be switched to the target video stream address, and the video stream can be played according to the target video stream.
  • the user client when the user client switches the video stream address, it will also obtain the playback progress information of the initial video, so that after switching to the target video stream address, the user can continue to watch the same video when playing the video according to the target video stream address. video progress to ensure the user’s viewing experience.
  • the user client determines that the target video stream address is an ultra-high-definition second-pressure video stream address, and plays the video according to the second-pressure video stream address.
  • Step 108 Play the target video corresponding to the target window information based on the target video stream address, wherein the initial video and the target video playback content are the same and have different code rates.
  • the target video can be understood as a video that is streamed based on the target video stream address.
  • the target video and the initial video are the same video, that is, the playback content is the same, but the bit rate is different, that is, the definition is different.
  • the user client can pull and play the target video based on the target video stream address, and the target video can continue to play according to the playback progress of the initial video.
  • the user client plays the target video corresponding to the target window information based on the target video stream address.
  • the playback contents of the target video and the initial video are both video A, but the target video and the initial video
  • the code rates are different.
  • playing the target video corresponding to the target window information based on the target video stream address includes:
  • the user client will obtain the video stream according to the target video stream address and play it for the user by parsing the video stream.
  • the user client obtains the target video stream according to the target video stream address.
  • the target video stream is an ultra-clear video stream.
  • the user client parses the target video stream and performs operations in the target window. Play, that is, play under the video size adjusted by the user.
  • a video playback method provided by this application, applied to a user client includes: receiving a window adjustment instruction for an initial video, wherein the window adjustment instruction is used to adjust the window size of the initial video; adjusting according to the window The instructions determine the target window information and the target video stream address; switch the initial video stream address of the initial video to the target video stream address; play the target video corresponding to the target window information based on the target video stream address, wherein , the initial video and the target video have the same playback content but different code rates.
  • Figure 2 shows a processing flow chart of a video playback method for watching live broadcast provided by an embodiment of the present application, which specifically includes the following steps:
  • Step 202 Receive a window adjustment instruction for the initial live video, where the window adjustment instruction is used to adjust the window size of the initial live video.
  • the initial live video may be a live video in full-screen viewing mode or a live video in window viewing mode.
  • the live broadcast platform will provide the user with a windowed live video to watch.
  • the live broadcast platform server will provide the user client with a video stream collection.
  • the video stream collection includes the original video stream, A first-pressure video stream that compresses the original video stream and a second-pressure video stream that compresses the first-pressure video stream.
  • the criteria for whether an anchor is a major anchor can be determined based on the number of fans of the anchor, or based on the length of the anchor's live broadcast. This application does not impose specific restrictions here.
  • the user enters the live broadcast room to watch the live broadcast.
  • the live broadcast platform server will provide the user client with a video stream address set.
  • the user client determines the default video stream address in the video stream address set.
  • the default The video stream address is the second-pressure video stream address.
  • the user client performs streaming playback based on the second-pressure video stream address, so that the user can watch the live broadcast with clear picture quality under the premise of watching in windowed mode.
  • the live video is the initial live video.
  • the user will click the full screen button.
  • the user's client will receive a window adjustment instruction for the initial live video, and the adjustment window will be the maximum window of the device.
  • Step 204 Determine the target window information and the target live stream address according to the window adjustment instruction.
  • the user client determines the target window information as the maximum window of the device according to the window adjustment instruction, and the target live stream address corresponding to the maximum window of the device.
  • the target live stream address is a video stream address.
  • Step 206 Switch the initial live stream address of the initial live video to the target live stream address.
  • the user client switches the second-pressure live stream address of the initial live video to the first-pressure live stream address, so that when the user watches in full screen, the user's viewing clarity experience will not be There is a big difference to ensure the user’s viewing experience.
  • Step 208 Play the target live video corresponding to the target window information based on the target live stream address, wherein the initial live video and the target live video playback content are the same and have different code rates.
  • the user client plays the target live video corresponding to the device's maximum window information based on the target live stream address.
  • This application provides a video playback method for watching live broadcasts, which is applied to a user client and includes: receiving a window adjustment instruction for an initial live broadcast video, wherein the window adjustment instruction is used to adjust the window size of the initial live broadcast video. ; Determine the target window information and the target live stream address according to the window adjustment instruction; switch the initial live stream address of the initial live video to the target live stream address; play the target window based on the target live stream address The target live video corresponding to the information, wherein the initial live video and the target live video play the same content but have different code rates.
  • FIG. 3 shows a schematic structural diagram of a video playback device applied to a user client provided by an embodiment of the present application.
  • the device includes:
  • the receiving module 302 is configured to receive a window adjustment instruction of the initial video, where the window adjustment instruction is used to adjust the window size of the initial video.
  • the determining module 304 is configured to determine the target window information and the target video stream address according to the window adjustment instruction.
  • the switching module 306 is configured to switch the initial video stream address of the initial video to the target video stream address.
  • the playback module 308 is configured to play the target video corresponding to the target window information based on the target video stream address, wherein the initial video and the target video playback content are the same and have different code rates.
  • the determination module 304 is further configured as:
  • the determination module 304 is further configured as:
  • a target video stream address is determined in the target video stream address set according to the target window information.
  • the determination module 304 is further configured as:
  • the target window information is a non-device maximum window
  • Determining a target video stream address in the target video stream address set according to the target window information also includes:
  • the determination module 304 is further configured as:
  • the target window information is the maximum window of the device, select a video stream address from the target video stream address set as the target video stream address;
  • the second-pressure video stream address is selected as the target video stream address in the target video stream address set.
  • the playback module 308 is further configured as:
  • the device also includes an acquisition module configured to:
  • the acquisition module is further configured as:
  • a default video stream address is determined in the video stream address set according to the viewing instruction.
  • the acquisition module is further configured as:
  • the default video stream address is determined according to the default window information.
  • This application provides a video playback device applied to a client, including: a receiving module configured to receive a window adjustment instruction of an initial video, wherein the window adjustment instruction is used to adjust the window size of the initial video; a determining module , configured to determine the target window information and the target video stream address according to the window adjustment instruction; the switching module is configured to switch the initial video stream address of the initial video to the target video stream address; the playback module is configured Playing the target video corresponding to the target window information based on the target video stream address, wherein the initial video and the target video playback content are the same and have different code rates.
  • this application also provides an embodiment of a video playback device applied to a user client.
  • Figure 4 shows a schematic structural diagram of another video playback device applied to a user client provided by an embodiment of the present application. . As shown in Figure 4, the device includes:
  • the receiving module 402 is configured to receive a window adjustment instruction of the initial live video, where the window adjustment instruction is used to adjust the window size of the initial live video;
  • the determination module 404 is configured to determine the target window information and the target live stream address according to the window adjustment instruction
  • the switching module 406 is configured to switch the initial live stream address of the initial live video to the target live stream address;
  • the playback module 408 is configured to play the target live video corresponding to the target window information based on the target live stream address, wherein the initial live video and the target live video have the same playback content and different code rates.
  • This application provides a video playback device applied to a user client, including: a receiving module configured to receive a window adjustment instruction for an initial live video, wherein the window adjustment instruction is used to adjust the window size of the initial live video ; Determination module, configured to determine the target window information and target live stream address according to the window adjustment instruction; Switching module, configured to switch the initial live stream address of the initial live video to the target live stream address; Play A module configured to play a target live video corresponding to the target window information based on the target live stream address, wherein the initial live video and the target live video playback content are the same and have different code rates.
  • the above is a schematic solution of the video playback device of this embodiment. It should be noted that the technical solution of the video playback device and the technical solution of the above-mentioned video playback method belong to the same concept. For details that are not described in detail in the technical solution of the video playback device, please refer to the description of the technical solution of the above video playback method. .
  • Figure 5 shows a structural block diagram of a computing device 500 provided according to an embodiment of the present application.
  • Components of the computing device 500 include, but are not limited to, memory 510 and processor 520 .
  • the processor 520 is connected to the memory 510 through a bus 530, and the database 550 is used to save data.
  • Computing device 500 also includes an access device 540 that enables computing device 500 to communicate via one or more networks 560 .
  • networks include the Public Switched Telephone Network (PSTN), a local area network (LAN), a wide area network (WAN), a personal area network (PAN), or a combination of communications networks such as the Internet.
  • Access device 540 may include one or more of any type of network interface (eg, a network interface card (NIC)), wired or wireless, such as an IEEE 802.11 Wireless Local Area Network (WLAN) wireless interface, Global Interconnection for Microwave Access ( Wi-MAX) interface, Ethernet interface, Universal Serial Bus (USB) interface, cellular network interface, Bluetooth interface, Near Field Communication (NFC) interface, etc.
  • NIC network interface card
  • the above-mentioned components of the computing device 500 and other components not shown in FIG. 5 may also be connected to each other, for example, through a bus. It should be understood that the structural block diagram of the computing device shown in FIG. 5 is only for the purpose of illustration and does not limit the scope of the present application. Those skilled in the art can add or replace other components as needed.
  • Computing device 500 may be any type of stationary or mobile computing device, including a mobile computer or mobile computing device (e.g., tablet computer, personal digital assistant, laptop computer, notebook computer, netbook, etc.), a mobile telephone (e.g., smartphone ), a wearable computing device (e.g., smart watch, smart glasses, etc.) or other type of mobile device, or a stationary computing device such as a desktop computer or PC.
  • a mobile computer or mobile computing device e.g., tablet computer, personal digital assistant, laptop computer, notebook computer, netbook, etc.
  • a mobile telephone e.g., smartphone
  • a wearable computing device e.g., smart watch, smart glasses, etc.
  • stationary computing device such as a desktop computer or PC.
  • Computing device 500 may also be a mobile or stationary server.
  • the above is a schematic solution of a computing device in this embodiment. It should be noted that the technical solution of the computing device and the technical solution of the above-mentioned video playback method belong to the same concept. For details that are not described in detail in the technical solution of the computing device, please refer to the description of the technical solution of the above video playback method.
  • An embodiment of the present application also provides a computer-readable storage medium that stores computer instructions. When the computer instructions are executed by a processor, the steps of the video playback method as described above are implemented.
  • the above is a schematic solution of a computer-readable storage medium in this embodiment. It should be noted that the technical solution of the storage medium and the technical solution of the above-mentioned video playback method belong to the same concept. For details that are not described in detail in the technical solution of the storage medium, please refer to the description of the technical solution of the above video playback method.
  • the computer instructions include computer program code, which may be in the form of source code, object code, executable file or some intermediate form.
  • the computer-readable medium may include: any entity or device capable of carrying the computer program code, recording media, U disk, mobile hard disk, magnetic disk, optical disk, computer memory, read-only memory (ROM, Read-Only Memory) , Random Access Memory (RAM, Random Access Memory), electrical carrier signals, telecommunications signals, and software distribution media, etc.
  • ROM Read-Only Memory
  • RAM Random Access Memory
  • electrical carrier signals telecommunications signals
  • software distribution media etc.
  • the content contained in the computer-readable medium can be appropriately added or deleted according to the requirements of legislation and patent practice in the jurisdiction.
  • the computer-readable medium Excludes electrical carrier signals and telecommunications signals.

Landscapes

  • Engineering & Computer Science (AREA)
  • Multimedia (AREA)
  • Signal Processing (AREA)
  • Human Computer Interaction (AREA)
  • Software Systems (AREA)
  • Two-Way Televisions, Distribution Of Moving Picture Or The Like (AREA)

Abstract

本申请提供视频播放方法及装置,其中所述视频播放方法包括:应用于用户客户端,包括:接收初始视频的窗口调整指令,其中,所述窗口调整指令用于调整所述初始视频的窗口大小;根据所述窗口调整指令确定目标窗口信息和目标视频流地址;将所述初始视频的初始视频流地址切换为所述目标视频流地址;基于所述目标视频流地址播放与所述目标窗口信息对应的目标视频,其中,所述初始视频与所述目标视频播放内容相同且码率不同。通过根据视频的窗口动态调整播放视频的清晰度,实现在用户网络差的情况下,为用户提供合适画质的视频,优化用户观看体验,同时降低视频提供方的带宽成本。

Description

视频播放方法及装置
本申请申明2022年04月21日递交的申请号为202210422085.7、名称为“视频播放方法及装置”的中国专利申请的优先权,该中国专利申请的整体内容以参考的方式结合在本申请中。
技术领域
本申请涉及网络通信技术领域,特别涉及视频播放方法。本申请同时涉及视频播放装置,一种计算设备,以及一种计算机可读存储介质。
背景技术
随着直播平台业务的增长,观看直播的用户也在增加。目前,用户观看的直播流分为原始流和转码流,由于原始流是主播的原始推流,因此参数规格和码率上限都不相同,发明人意识到,在用户想要观看高画质直播时,由于部分用户的网络差、带宽低的问题,导致用户观看直播时会出现卡顿的现象,因此,如何在不降低用户观看画质的情况下,减少用户观看时的卡顿是目前亟需解决的问题。
发明内容
有鉴于此,本申请实施例提供了视频播放方法。本申请同时涉及视频播放装置,一种计算设备,以及一种计算机可读存储介质,以解决现有技术中存在的网速差的用户无法拥有良好的观看体验的问题。
根据本申请实施例的第一方面,提供了一种视频播放方法,应用于用户客户端,包括:
接收初始视频的窗口调整指令,其中,所述窗口调整指令用于调整所述初始视频的窗口大小;
根据所述窗口调整指令确定目标窗口信息和目标视频流地址;
将所述初始视频的初始视频流地址切换为所述目标视频流地址;
基于所述目标视频流地址播放与所述目标窗口信息对应的目标视频,其中,所述初始视频与所述目标视频播放内容相同且码率不同。
根据本申请实施例的第二方面,提供了一种视频播放方法,应用于用户客户端,包括:
接收初始直播视频的窗口调整指令,其中,所述窗口调整指令用于调整所述初始直播视频的窗口大小;
根据所述窗口调整指令确定目标窗口信息和目标直播流地址;
将所述初始直播视频的初始直播流地址切换为所述目标直播流地址;
基于所述目标直播流地址播放与所述目标窗口信息对应的目标直播视频,其中,所述初始直播视频与所述目标直播视频播放内容相同且码率不同。
根据本申请实施例的第三方面,提供了一种视频播放装置,应用于用户客户端,包括:
接收模块,被配置为接收初始视频的窗口调整指令,其中,所述窗口调整指令用于调整所述初始视频的窗口大小;
确定模块,被配置为根据所述窗口调整指令确定目标窗口信息和目标视频流地址;
切换模块,被配置为将所述初始视频的初始视频流地址切换为所述目标视频流地址;
播放模块,被配置为基于所述目标视频流地址播放与所述目标窗口信息对应的目标视频,其中,所述初始视频与所述目标视频播放内容相同且码率不同。
根据本申请实施例的第四方面,提供了一种视频播放装置,应用于用户客户端,包括:
接收模块,被配置为接收初始直播视频的窗口调整指令,其中,所述窗口调整指令用于调整所述初始直播视频的窗口大小;
确定模块,被配置为根据所述窗口调整指令确定目标窗口信息和目标直播流地址;
切换模块,被配置为将所述初始直播视频的初始直播流地址切换为所述目标直播流地址;
播放模块,被配置为基于所述目标直播流地址播放与所述目标窗口信息对应的目标直播视频,其中,所述初始直播视频与所述目标直播视频播放内容相同且码率不同。
根据本申请实施例的第五方面,提供了一种计算设备,包括存储器、处理器及存储在存储器上并可在处理器上运行的计算机指令,所述处理器执行所述计算机指令时实现所述视频播放方法的步骤。
根据本申请实施例的第六方面,提供了一种计算机可读存储介质,其存储有计算机指令,该计算机指令被处理器执行时实现所述视频播放方法的步骤。
本申请提供的视频播放方法,应用于客户端,包括:接收初始视频的窗口调整指令,其中,所述窗口调整指令用于调整所述初始视频的窗口大小;根据所述窗口调整指令确定目标窗口信息和目标视频流地址;将所述初始视频的初始视频流地址切换为所述目标视频流地址;基于所述目标视频流地址播放与所述目标窗口信息对应的目标视频,其中,所述初始视频与所述目标视频播放内容相同且码率不同。
本申请一实施例通过根据目标窗口信息将初始视频流地址切换为目标视频流地址,实现了用户在不同窗口下观看同一个视频流时,提供不同的视频流地址,使得用户在窗口化观看的情况下,可以为其提供二次压缩的视频流,在不影响用户观看体验的情况下,减少视频卡顿的现象发生,同时能够降低视频提供方的带宽成本。
附图说明
图1是本申请一实施例提供的一种视频播放方法的流程图;
图2是本申请一实施例提供的一种应用于观看直播的视频播放方法的处理流程图;
图3是本申请一实施例提供的一种视频播放装置的结构示意图;
图4是本申请一实施例提供的另一种视频播放装置的结构示意图;
图5是本申请一实施例提供的一种计算设备的结构框图。
具体实施方式
在下面的描述中阐述了很多具体细节以便于充分理解本申请。但是本申请能够以很多不同于在此描述的其它方式来实施,本领域技术人员可以在不违背本申请内涵的情况下做类似推广,因此本申请不受下面公开的具体实施的限制。
在本申请一个或多个实施例中使用的术语是仅仅出于描述特定实施例的目的,而非旨在限制本申请一个或多个实施例。在本申请一个或多个实施例和所附权利要求书中所使用的单数形式的“一种”、“所述”和“该”也旨在包括多数形式,除非上下文清楚地表示其他含义。 还应当理解,本申请一个或多个实施例中使用的术语“和/或”是指并包含一个或多个相关联的列出项目的任何或所有可能组合。
应当理解,尽管在本申请一个或多个实施例中可能采用术语第一、第二等来描述各种信息,但这些信息不应限于这些术语。这些术语仅用来将同一类型的信息彼此区分开。例如,在不脱离本申请一个或多个实施例范围的情况下,第一也可以被称为第二,类似地,第二也可以被称为第一。取决于语境,如在此所使用的词语“如果”可以被解释成为“在……时”或“当……时”或“响应于确定”。
首先,对本申请一个或多个实施例涉及的名词术语进行解释。
视频流:音视频数据的传输流,视频流能够被作为一个稳定连续的流通过网络传输给观众,以使观众能够观看到该视频。
码率:视频数据传输时单位时间传送的数据位数,码率越高则视频画面越清晰,码率越低视频画面越模糊。
帧率:用于测量显示帧数的量度,即刷新率,测量单位为每秒显示帧数。
默认清晰度:观众观看视频时,视频提供方默认分配给用户的不同码率的视频流,即不同的清晰度。
原画:视频提供方推送的原始视频流。
转码流:经过转码系统用算法优化,将原始视频流编码优化,尽可能保持相同观看体验并降低码率。
在现有的观看视频体系中,视频流分为原始流和转码流,用户通过客户端观看视频时,客户端会拉取该视频的视频流,通过解析视频流获得该视频的视频文件,从而进行观看。但是不同的用户客户端所使用的带宽不同,即网速有快慢区分,因此,视频提供方会针对视频流进行转码处理,生产出多种不同码率的视频流,例如,将原画视频流转换成低码率的高清视频流、超清视频流等,以使用户能够根据网速选择对应的清晰度,可有效降低用户的直播卡顿使播放更加流畅,又可以降低视频提供方的带宽成本。
但是,在实际应用中,当用户想要观看清晰度更高的视频时,往往由于用户的低带宽、网速差等原因,导致用户观看时出现视频卡顿、使得用户观看体验差,因此,视频提供方需要主动为用户解决上述问题,给用户提供更好的观看环境。
基于此,在本申请中,提供了视频播放方法,本申请同时涉及视频播放装置,一种计算设备,以及一种计算机可读存储介质,在下面的实施例中逐一进行详细说明。
图1示出了根据本申请一实施例提供的一种视频播放方法的流程图,具体包括以下步骤:
步骤102:接收初始视频的窗口调整指令,其中,所述窗口调整指令用于调整所述初始视频的窗口大小。
其中,初始视频可以理解为用户当前正在观看的视频,窗口调整指令可以理解为调整初始视频的窗口的指令,窗口调整指令中可以包含有想要调整的窗口信息,根据窗口调整指令可以将初始视频的窗口调整到用户想要的窗口大小,例如,当时初始视频的窗口为800*600,用户想要观看1440*900的视频,则会向用户客户端发出窗口调整指令,用户端接收到窗口调整指令之后,将初始视频调整至1440*900的窗口。
在实际应用中,在视频的码率相同,即清晰度不变的情况下,窗口越大,用户观看的视频越模糊,相应的,在窗口不变的情况下,视频的码率越高,则用户观看到的视频越清晰,但是,由于视频码率的提高,相对的对用户的带宽要求也同样提高。
基于此,本申请提供一种视频播放方法,在用户通过窗口化观看视频的情况下,降低视频码率,为其提供消耗带宽更少的视频流,在用户全屏观看视频的情况下,为其切换至画质更高的视频流,虽然用户通过窗口化观看视频时的视频流码率低,但是由于窗口化播放,用户的清晰度观感不变;在用户全屏观看时,为其提供画质更高的视频流,保证用户的观看体验不会受到影响。
在本申请一具体实施例中,用户在观看视频A时,想要调整视频A的窗口大小,则会点击窗口调整按钮,用户客户端此时会接收到窗口调整指令,用户客户端在接收到窗口调整指令之后,将视频A的窗口调整至用户想要观看的尺寸,即将视频A的窗口调整至用户期望的观看窗口大小。
在实际应用中,当用户通过网页观看一个视频时,会点击该视频,则向用户客户端发出针对待观看视频的观看指令,用户客户端经过相关处理之后,为用户提供待观看视频的播放。
具体地,接收初始视频的窗口调整指令之前,还包括:
接收对应待观看视频的观看指令;
根据所述观看指令获取所述待观看视频的默认视频流地址;
基于所述默认视频流地址播放所述待观看视频。
其中,待观看视频可以理解为用户准备观看的视频,观看指令可以理解为观看待观看视频的指令,观看指令中可能会携带有视频的标识信息,用户客户端在接收到观看指令之后,则会为用户提供待观看视频的播放功能。
默认视频流地址可以理解为视频提供方为用户提供的默认观看视频的视频流地址,用户客户端可以根据视频流地址拉取对应的视频流。例如,用户通过网页观看一个视频时,会默认的为用户提供窗口大小为800*600的高清(码率1500)视频,用户客户端根据默认视频流可以获取到待观看视频的视频文件,从而为用户进行播放。
在本申请一具体实施例中,沿用上例,用户通过网页准备观看视频A时,点击视频A的播放按钮,此时用户客户端接收到针对待观看视频的观看指令,用户客户端根据该观看指令获取到待观看视频的默认视频流地址,根据该默认视频流,用户客户端会在默认大小窗口下播放视频A,视频A的码率为1500千位每秒(kbps)。
在实际应用中,用户客户端通过服务器获取默认视频流地址,具体地,根据所述观看指令获取所述待观看视频的默认视频流地址,包括:
根据所述观看指令生成观看请求,并将所述观看请求发送至服务器;
接收所述服务器响应于所述观看请求发送的视频流地址集合;
根据所述观看指令在所述视频流地址集合中确定默认视频流地址。
其中,观看请求可以理解为用户客户端观看待观看视频的请求,在用户客户端接收到观看指令之后,则会向服务器发送观看请求,观看请求中可以携带有用户客户端标识信息、用户客户端的带宽信息、视频标识信息等,基于观看请求,服务器会发送待观看视频对应的视频流地址给客户端,以使客户端能够播放待观看视频。
在实际应用中,一个视频的视频流地址会有多个,不同的视频流地址对应的码率不同,服务器在接收到视频的原始流之后,会根据原始流转码成多个转码流,例如,标清(码率800),高清(码率1500),超清(码率2500),蓝光(码率4000),这些转码流可以理解为一压视频流,以使用户客户端能够根据当前带宽选择合适的码率的视频流并进行播放;并且,服务器还会针对每种码率进行二次压缩,生成每个码率对应的二压视频流,为用户客户端在窗口化播放视频时,提供带宽消耗更少的视频流,使用户在观看视频时不会出现卡顿,并且在用户感官上,视频画质也没有减少。
在本申请一具体实施例中,用户客户端根据观看指令生成观看请求,并将观看请求发送至服务器,服务器在接收到观看请求之后,会发送视频A的视频流地址集合至用户客户端,视频流地址集合中包括有高清、超清、原画的一压视频流地址和高清、超清、原画的二压视频流地址,用户客户端会根据观看指令在视频流地址集合中确定默认视频流地址,即选择默认大小窗口下对应码率的视频流地址,从而为用户提供在该窗口下,观看体验最好且不会出现卡顿现象的视频流地址。
具体地,根据所述观看指令在所述视频流地址集合中确定默认视频流地址,包括:
根据所述观看指令获取所述待观看视频的默认窗口信息;
根据所述默认窗口信息确定默认视频流地址。
其中,默认窗口信息可以理解为用户观看视频时,视频的默认窗口,例如,在用户打开一个视频准备观看时,用户客户端会为其提供一个默认窗口的视频进行播放,可以理解为用户客户端会为其提供一个默认窗口大小的视频进行播放。
在实际应用中,用户客户端会根据默认窗口信息,确定一个默认视频流地址,默认视频流地址对应的视频在该窗口下播放的画质清晰、且不会出现播放卡顿的现象,可以理解为用户客户端在带宽、窗口固定的情况下,为用户提供的一个直播观看体验较好的视频流地址。
在本申请一具体实施例中,用户客户端根据观看指令获取待观看视频的默认窗口信息,默认窗口信息为1280*1024,则用户客户端根据默认窗口信息确定默认视频流地址为码率1500的视频流地址,且由于是窗口化观看,因此该视频流地址可以是高清码率对应的二压视频流地址。相较于高清码率的一压视频流地址,二压视频流地址码率有所降低,但是在窗口化模式观看的情况下,用户的观看体验不变。
步骤104:根据所述窗口调整指令确定目标窗口信息和目标视频流地址。
在用户观看视频的过程中,若用户调整了视频的窗口,则用户客户端需要根据用户期望的窗口,重新确定一个视频流地址,为用户提供画质更清晰的视频,从而不会影响用户的观看体验。
其中,目标窗口信息可以理解为用户期望的视频窗口信息,即视频在经过窗口调整之后的窗口,目标视频流地址可以理解为在目标窗口信息下,视频对应的视频流地址。
在实际应用中,用户在窗口化观看的情况下,用户客户端根据窗口的大小确定视频画质,也即窗口确定视频流的码率,因此,在窗口调整的情况下,用户客户端会重新确定一个适合当前窗口的码率的视频流地址,从而在不影响用户观看画质的情况下,为其提供一个不会出现卡顿的视频流地址进行播放。
在本申请一具体实施例中,沿用上例,用户客户端根据窗口调整指令确定出目标窗口信息为1440*900,目标视频流地址为超清的视频流的地址。
具体地,根据所述窗口调整指令确定目标窗口信息和目标视频流地址,包括:
获取所述窗口调整指令中的目标窗口信息;
根据所述目标窗口信息确定所述目标窗口信息对应的视频码率信息;
根据所述视频码率信息确定目标视频流地址。
其中,视频码率信息可以理解为视频流对应码率信息,在实际应用中,用户客户端获取窗口调整指令中携带的目标窗口信息,根据目标窗口信息确定目标窗口信息对应的视频码率信息,根据视频码率信息可以确定出对应的目标视频流地址。
在本申请一具体实施例中,沿用上例,获取窗口调整指令中的目标窗口信息,目标窗口信息为1440*900,根据目标窗口信息确定目标窗口信息对应的视频码率信息为超清(码率2500),根据视频码率信息确定目标视频流地址为码率2500的视频流对应的视频流地址。
具体地,根据所述视频码率信息确定目标视频流地址,包括:
根据所述视频码率信息确定与所述视频码率信息对应的目标视频流地址集合,其中,所述目标视频流地址集合中包括至少一个视频流地址,且每个视频流地址对应的视频流的编码策略不同;
根据所述目标窗口信息在所述目标视频流地址集合中确定目标视频流地址。
其中,目标视频流地址集合中的视频流地址对应的视频流,对应的视频码率信息相同,但是每个视频地址对应的视频流的编码策略不同。
在实际应用中,服务器会为用户客户端提供一压视频流地址和二压视频流地址,用户客户端不仅会选择目标窗口对应的码率的视频流,还会根据目标窗口信息确定是用一压视频流地址还是二压视频流地址,二压视频流相较于一压视频流,在窗口化模式观看情况下,清晰度与一压视频流不会有明显区别,但是拉取二压视频流消耗的带宽更少,因此,在窗口化模式下选择二压视频流进行观看,在全屏模式下选择一压视频流进行观看,从而实现在不影响用户观看体验的前提下,用户观看时带宽消耗更少,不会出现卡顿的现象。
具体地,根据所述目标窗口信息在所述目标视频流地址集合中确定目标视频流地址,还包括:
在所述目标窗口信息为设备最大窗口的情况下,在所述目标视频流地址集合中选择一压视频流地址作为目标视频流地址;
在所述目标窗口信息为非设备最大窗口的情况下,在所述目标视频流地址集合中选择二压视频流地址作为目标视频流地址。
其中,目标窗口信息为设备最大窗口可以理解为用户将窗口切换至全屏,在全屏观看的情况下,为用户提供清晰度更高的一压视频流地址进行拉流播放;标窗口信息为非设备最大窗口可以理解为用户通过窗口化进行观看,在窗口化观看的情况下,通过二压视频流地址进行拉流,为用户播放画质无差别的视频。
在实际应用中,用户会调整视频的窗口,则用户客户端会根据窗口动态调整视频流的码率,并且根据窗口是否为设备最大窗口,选择相对码率下的一压视频流或二压视频流,实现了通过动态调整视频码率为用户提供最佳观看体验。
在本申请一具体实施例中,沿用上例,在目标窗口为设备最大窗口的情况下,选择该窗口对应的码率的一压视频流地址进行拉流播放。
在本申请另一具体实施例中,沿用上例,在目标窗口为非设备最大窗口的情况下,选择该窗口对应的码率的二压视频流地址进行拉流播放。
具体地,在所述目标窗口信息为非设备最大窗口的情况下,根据所述目标窗口信息在所述目标视频流地址集合中确定目标视频流地址,还包括:
根据所述目标窗口信息在所述目标视频流地址集合中确定至少两个压缩视频流地址;
根据所述用户客户端的属性信息在至少两个压缩视频流地址中确定目标视频流地址。
其中,压缩视频流地址可以理解为二压视频流地址,在至少两个压缩视频流地址中对应的两个压缩视频流的压缩策略不同,在实际应用中,压缩视频流可以是264视频流或者265视频流,264视频流是通过H.264编码压缩策略压缩视频流获得的,265视频是通过H.265编码压缩策略压缩视频流获得的,具体压缩策略根据实际情况确定,本申请在此不作具体限制。
在实际应用中,根据设备能够支持播放的视频流确定压缩视频流,例如,部分设备只能够支持解析264视频流,则确定264视频流的地址为目标视频流地址。在具体实施时,会优先判断设备是否能够支持265视频流的解析,在设备不支持265视频流的解析的情况下,选择264视频流进行拉流播放。
在本申请一具体实施例中,沿用上例,目标窗口不是设备的最大窗口的情况下,用户客户端在目标视频流地址集合中确定目标窗口对应的两个压缩视频流地址,分别为264视频流地址和265视频流地址,根据用户客户端的属性信息确定265视频流地址为目标视频流地址。
步骤106:将所述初始视频的初始视频流地址切换为所述目标视频流地址。
其中,在用户客户端确定目标视频流地址之后,则可以将当前正在播放的初始视频的初始视频流地址切换为目标视频流地址,根据目标视频流进行播放。
在实际应用中,用户客户端在切换视频流地址时,同时会获取初始视频的播放进度信息,以使在切换至目标视频流地址之后,根据目标视频流地址播放视频时,用户能够继续观看相同的视频进度,从而保证用户的观看体验。
在本申请一具体实施例中,沿用上例,用户客户端确定目标视频流地址为超清的二压视频流地址,根据该二压视频流地址进行该视频的播放。
步骤108:基于所述目标视频流地址播放与所述目标窗口信息对应的目标视频,其中,所述初始视频与所述目标视频播放内容相同且码率不同。
其中,目标视频可以理解为基于目标视频流地址进行拉流播放的视频,目标视频与初始视频为同一个视频,即播放内容相同,但是码率不同即清晰度不同。
在实际应用中,用户客户端可以基于目标视频流地址进行拉流播放目标视频,目标视频可以根据初始视频的播放进度继续播放。
在本申请一具体实施例中,沿用上例,用户客户端基于目标视频流地址播放与目标窗口信息对应的目标视频,目标视频与初始视频的播放内容都是视频A,但是目标视频与初始视频的码率不同。
具体地,基于所述目标视频流地址播放与所述目标窗口信息对应的目标视频,包括:
根据所述目标视频流地址获取并解析目标视频流;
根据解析结果和所述目标窗口信息播放目标视频。
在实际应用中,用户客户端会根据目标视频流地址获取到视频流,通过解析视频流为用户进行播放。
在本申请一具体实施例中,沿用上例,用户客户端根据目标视频流地址获取到目标视频流,目标视频流为超清的视频流,用户客户端解析目标视频流,并以目标窗口进行播放,即在用户调整的视频大小尺寸下进行播放。
本申请提供的一种,视频播放方法,应用于用户客户端,包括:接收初始视频的窗口调整指令,其中,所述窗口调整指令用于调整所述初始视频的窗口大小;根据所述窗口调整指令确定目标窗口信息和目标视频流地址;将所述初始视频的初始视频流地址切换为所述目标视频流地址;基于所述目标视频流地址播放与所述目标窗口信息对应的目标视频,其中,所述初始视频与所述目标视频播放内容相同且码率不同。通过根据视频的窗口动态调整播放视频的清晰度,实现在用户网络差的情况下,为用户提供合适画质的视频,优化用户观看体验,同时降低视频提供方的带宽成本。
下述结合附图2,以本申请提供的视频播放方法在观看直播的应用为例,对所述视频播放方法进行进一步说明。其中,图2示出了本申请一实施例提供的一种应用于观看直播的视频播放方法的处理流程图,具体包括以下步骤:
步骤202:接收初始直播视频的窗口调整指令,其中,所述窗口调整指令用于调整所述初始直播视频的窗口大小。
其中,初始直播视频可以是全屏观看模式下的直播视频,也可以是窗口观看模式下的直播视频。
在实际应用中,在用户通过网页进入直播间观看直播时,直播平台会为用户提供一个窗口化观看的直播视频,在用户想要全屏观看时,用户点击屏幕上的全屏按钮,用户客户端则会接收到窗口调整指令,调整窗口至设备最大窗口。用户进入直播间观看直播时,直播平台服务器会为用户客户端提供一个视频流集合,当该直播间对应的主播为满足判断主播是否为大主播条件时,视频流集合中包括有原始视频流、对原始视频流压缩的一压视频流以及对一压视频流压缩的二压视频流。主播是否为大主播条件可以是根据主播的粉丝人数判断,也可以是根据主播的直播时长判断,本申请在此不作具体限制。
在本申请一具体实施例中,用户进入直播间进行观看直播,直播平台服务器此时会为用户客户端提供一个视频流地址集合,用户客户端在视频流地址集合中确定默认视频流地址,默认视频流地址为二压视频流地址,用户客户端基于该二压视频流地址进行拉流播放,使得用户在窗口化模式观看的前提下,也能够观看到画质清晰的直播,此时播放的直播视频即为初始直播视频。在用户想要全屏观看直播时,用户会点击全屏按钮,用户客户端此时会接收到针对初始直播视频的窗口调整指令,调整窗口为设备最大窗口。
步骤204:根据所述窗口调整指令确定目标窗口信息和目标直播流地址。
在本申请一具体实施例中,沿用上例,用户客户端根据窗口调整指令确定目标窗口信息为设备最大窗口,和设备最大窗口对应的目标直播流地址,此时目标直播流地址为一压视频流地址。
步骤206:将所述初始直播视频的初始直播流地址切换为所述目标直播流地址。
在本申请一具体实施例中,沿用上例,用户客户端将初始直播视频的二压直播流地址切换为一压直播流地址,以使用户在全屏观看时,用户的观看清晰度体验不会有太大区别,保证用户的观看体验。
步骤208:基于所述目标直播流地址播放与所述目标窗口信息对应的目标直播视频,其中,所述初始直播视频与所述目标直播视频播放内容相同且码率不同。
在本申请一具体实施例中,沿用上例,用户客户端基于目标直播流地址播放与设备最大窗口信息对应的目标直播视频。
本申请提供的一种应用于观看直播的视频播放方法,应用于用户客户端,包括:接收初始直播视频的窗口调整指令,其中,所述窗口调整指令用于调整所述初始直播视频的窗口大小;根据所述窗口调整指令确定目标窗口信息和目标直播流地址;将所述初始直播视频的初始直播流地址切换为所述目标直播流地址;基于所述目标直播流地址播放与所述目标窗口信息对应的目标直播视频,其中,所述初始直播视频与所述目标直播视频播放内容相同且码率不同。通过根据直播视频的窗口动态调整播放直播视频的清晰度,实现在用户网络差的情况下,为用户提供合适画质的直播流,并根据直播流拉流进行直播观看,优化用户观看直播体验,同时降低直播平台的带宽成本。
与上述方法实施例相对应,本申请还提供了应用于用户客户端的视频播放装置实施例,图3示出了本申请一实施例提供的一种应用于用户客户端的视频播放装置的结构示意图。如图3所示,该装置包括:
接收模块302,被配置为接收初始视频的窗口调整指令,其中,所述窗口调整指令用于调整所述初始视频的窗口大小。
确定模块304,被配置为根据所述窗口调整指令确定目标窗口信息和目标视频流地址。
切换模块306,被配置为将所述初始视频的初始视频流地址切换为所述目标视频流地址。
播放模块308,被配置为基于所述目标视频流地址播放与所述目标窗口信息对应的目标视频,其中,所述初始视频与所述目标视频播放内容相同且码率不同。
相应的,所述确定模块304,进一步被配置为:
获取所述窗口调整指令中的目标窗口信息;
根据所述目标窗口信息确定所述目标窗口信息对应的视频码率信息;
根据所述视频码率信息确定目标视频流地址。
相应的,所述确定模块304,进一步被配置为:
根据所述视频码率信息确定与所述视频码率信息对应的目标视频流地址集合,其中,所述目标视频流地址集合中包括至少一个视频流地址,且每个视频流地址对应的视频流的编码策略不同;
根据所述目标窗口信息在所述目标视频流地址集合中确定目标视频流地址。
相应的,所述确定模块304,进一步被配置为:
所述目标窗口信息为非设备最大窗口;
根据所述目标窗口信息在所述目标视频流地址集合中确定目标视频流地址,还包括:
根据所述目标窗口信息在所述目标视频流地址集合中确定至少两个压缩视频流地址;
根据所述用户客户端的属性信息在至少两个压缩视频流地址中确定目标视频流地址。
相应的,所述确定模块304,进一步被配置为:
在所述目标窗口信息为设备最大窗口的情况下,在所述目标视频流地址集合中选择一压视频流地址作为目标视频流地址;
在所述目标窗口信息为非设备最大窗口的情况下,在所述目标视频流地址集合中选择二压视频流地址作为目标视频流地址。
相应的,所述播放模块308,进一步被配置为:
根据所述目标视频流地址获取并解析目标视频流;
根据解析结果和所述目标窗口信息播放目标视频。
相应的,所述装置还包括获取模块,被配置为:
接收对应待观看视频的观看指令;
根据所述观看指令获取所述待观看视频的默认视频流地址;
基于所述默认视频流地址播放所述待观看视频。
相应的,所述获取模块,进一步被配置为:
根据所述观看指令生成观看请求,并将所述观看请求发送至服务器;
接收所述服务器响应于所述观看请求发送的视频流地址集合;
根据所述观看指令在所述视频流地址集合中确定默认视频流地址。
相应的,所述获取模块,进一步被配置为:
根据所述观看指令获取所述待观看视频的默认窗口信息;
根据所述默认窗口信息确定默认视频流地址。
本申请提供的一种应用于客户端的视频播放装置,包括:接收模块,被配置为接收初始视频的窗口调整指令,其中,所述窗口调整指令用于调整所述初始视频的窗口大小;确定模块,被配置为根据所述窗口调整指令确定目标窗口信息和目标视频流地址;切换模块,被配置为将所述初始视频的初始视频流地址切换为所述目标视频流地址;播放模块,被配置为基于所述目标视频流地址播放与所述目标窗口信息对应的目标视频,其中,所述初始视频与所述目标视频播放内容相同且码率不同。通过根据视频的窗口动态调整播放视频的清晰度,实现在用户网络差的情况下,为用户提供合适画质的视频,优化用户观看体验,同时降低视频提供方的带宽成本。
与上述方法实施例相对应,本申请还提供了应用于用户客户端的视频播放装置实施例,图4示出了本申请一实施例提供的另一种应用于用户客户端的视频播放装置的结构示意图。如图4所示,该装置包括:
接收模块402,被配置为接收初始直播视频的窗口调整指令,其中,所述窗口调整指令用于调整所述初始直播视频的窗口大小;
确定模块404,被配置为根据所述窗口调整指令确定目标窗口信息和目标直播流地址;
切换模块406,被配置为将所述初始直播视频的初始直播流地址切换为所述目标直播流地址;
播放模块408,被配置为基于所述目标直播流地址播放与所述目标窗口信息对应的目标直播视频,其中,所述初始直播视频与所述目标直播视频播放内容相同且码率不同。
本申请提供的一种应用于用户客户端的视频播放装置,包括:接收模块,被配置为接收初始直播视频的窗口调整指令,其中,所述窗口调整指令用于调整所述初始直播视频的窗口大小;确定模块,被配置为根据所述窗口调整指令确定目标窗口信息和目标直播流地址;切换模块,被配置为将所述初始直播视频的初始直播流地址切换为所述目标直播流地址;播放模块,被配置为基于所述目标直播流地址播放与所述目标窗口信息对应的目标直播视频,其中,所述初始直播视频与所述目标直播视频播放内容相同且码率不同。通过根据直播视频的窗口动态调整播放直播视频的清晰度,实现在用户网络差的情况下,为用户提供合适画质的直播流,并根据直播流拉流进行直播观看,优化用户观看直播体验,同时降低直播平台的带宽成本。
上述为本实施例的视频播放装置的示意性方案。需要说明的是,该视频播放装置的技术方案与上述的视频播放方法的技术方案属于同一构思,视频播放装置的技术方案未详细描述的细节内容,均可以参见上述视频播放方法的技术方案的描述。
图5示出了根据本申请一实施例提供的一种计算设备500的结构框图。该计算设备500的部件包括但不限于存储器510和处理器520。处理器520与存储器510通过总线530相连接,数据库550用于保存数据。
计算设备500还包括接入设备540,接入设备540使得计算设备500能够经由一个或多个网络560通信。这些网络的示例包括公用交换电话网(PSTN)、局域网(LAN)、广域网(WAN)、个域网(PAN)或诸如因特网的通信网络的组合。接入设备540可以包括有线或无线的任何类型的网络接口(例如,网络接口卡(NIC))中的一个或多个,诸如IEEE802.11无线局域网(WLAN)无线接口、全球微波互联接入(Wi-MAX)接口、以太网接口、通用串行总线(USB)接口、蜂窝网络接口、蓝牙接口、近场通信(NFC)接口,等等。
在本申请的一个实施例中,计算设备500的上述部件以及图5中未示出的其他部件也可以彼此相连接,例如通过总线。应当理解,图5所示的计算设备结构框图仅仅是出于示例的目的,而不是对本申请范围的限制。本领域技术人员可以根据需要,增添或替换其他部件。
计算设备500可以是任何类型的静止或移动计算设备,包括移动计算机或移动计算设备(例如,平板计算机、个人数字助理、膝上型计算机、笔记本计算机、上网本等)、移动电话(例如,智能手机)、可佩戴的计算设备(例如,智能手表、智能眼镜等)或其他类型的移动设备,或者诸如台式计算机或PC的静止计算设备。计算设备500还可以是移动式或静止式的服务器。
其中,处理器520执行所述计算机指令时实现所述的视频播放方法的步骤。
上述为本实施例的一种计算设备的示意性方案。需要说明的是,该计算设备的技术方案与上述的视频播放方法的技术方案属于同一构思,计算设备的技术方案未详细描述的细节内容,均可以参见上述视频播放方法的技术方案的描述。
本申请一实施例还提供一种计算机可读存储介质,其存储有计算机指令,该计算机指令被处理器执行时实现如前所述视频播放方法的步骤。
上述为本实施例的一种计算机可读存储介质的示意性方案。需要说明的是,该存储介质的技术方案与上述的视频播放方法的技术方案属于同一构思,存储介质的技术方案未详细描述的细节内容,均可以参见上述视频播放方法的技术方案的描述。
上述对本申请特定实施例进行了描述。其它实施例在所附权利要求书的范围内。在一些情况下,在权利要求书中记载的动作或步骤可以按照不同于实施例中的顺序来执行并且仍然可以实现期望的结果。另外,在附图中描绘的过程不一定要求示出的特定顺序或者连续顺序才能实现期望的结果。在某些实施方式中,多任务处理和并行处理也是可以的或者可能是有利的。
所述计算机指令包括计算机程序代码,所述计算机程序代码可以为源代码形式、对象代码形式、可执行文件或某些中间形式等。所述计算机可读介质可以包括:能够携带所述计算机程序代码的任何实体或装置、记录介质、U盘、移动硬盘、磁碟、光盘、计算机存储器、只读存储器(ROM,Read-Only Memory)、随机存取存储器(RAM,Random Access Memory)、电载波信号、电信信号以及软件分发介质等。需要说明的是,所述计算机可读 介质包含的内容可以根据司法管辖区内立法和专利实践的要求进行适当的增减,例如在某些司法管辖区,根据立法和专利实践,计算机可读介质不包括电载波信号和电信信号。
需要说明的是,对于前述的各方法实施例,为了简便描述,故将其都表述为一系列的动作组合,但是本领域技术人员应该知悉,本申请并不受所描述的动作顺序的限制,因为依据本申请,某些步骤可以采用其它顺序或者同时进行。其次,本领域技术人员也应该知悉,说明书中所描述的实施例均属于优选实施例,所涉及的动作和模块并不一定都是本申请所必须的。
在上述实施例中,对各个实施例的描述都各有侧重,某个实施例中没有详述的部分,可以参见其它实施例的相关描述。
以上公开的本申请优选实施例只是用于帮助阐述本申请。可选实施例并没有详尽叙述所有的细节,也不限制该发明仅为所述的具体实施方式。显然,根据本申请的内容,可作很多的修改和变化。本申请选取并具体描述这些实施例,是为了更好地解释本申请的原理和实际应用,从而使所属技术领域技术人员能很好地理解和利用本申请。本申请仅受权利要求书及其全部范围和等效物的限制。

Claims (20)

  1. 一种视频播放方法,应用于用户客户端,包括:
    接收初始视频的窗口调整指令,其中,所述窗口调整指令用于调整所述初始视频的窗口大小;
    根据所述窗口调整指令确定目标窗口信息和目标视频流地址;
    将所述初始视频的初始视频流地址切换为所述目标视频流地址;
    基于所述目标视频流地址播放与所述目标窗口信息对应的目标视频,其中,所述初始视频与所述目标视频播放内容相同且码率不同。
  2. 如权利要求1所述的方法,根据所述窗口调整指令确定目标窗口信息和目标视频流地址,包括:
    获取所述窗口调整指令中的目标窗口信息;
    根据所述目标窗口信息确定所述目标窗口信息对应的视频码率信息;
    根据所述视频码率信息确定目标视频流地址。
  3. 如权利要求2所述的方法,根据所述视频码率信息确定目标视频流地址,包括:
    根据所述视频码率信息确定与所述视频码率信息对应的目标视频流地址集合,其中,所述目标视频流地址集合中包括至少一个视频流地址,且每个视频流地址对应的视频流的编码策略不同;
    根据所述目标窗口信息在所述目标视频流地址集合中确定目标视频流地址。
  4. 如权利要求3所述的方法,所述目标窗口信息为非设备最大窗口;
    根据所述目标窗口信息在所述目标视频流地址集合中确定目标视频流地址,还包括:
    根据所述目标窗口信息在所述目标视频流地址集合中确定至少两个压缩视频流地址;
    根据所述用户客户端的属性信息在至少两个压缩视频流地址中确定目标视频流地址。
  5. 如权利要求3所述的方法,根据所述目标窗口信息在所述目标视频流地址集合中确定目标视频流地址,还包括:
    在所述目标窗口信息为设备最大窗口的情况下,在所述目标视频流地址集合中选择一压视频流地址作为目标视频流地址;
    在所述目标窗口信息为非设备最大窗口的情况下,在所述目标视频流地址集合中选择二压视频流地址作为目标视频流地址。
  6. 如权利要求1所述的方法,基于所述目标视频流地址播放与所述目标窗口信息对应的目标视频,包括:
    根据所述目标视频流地址获取并解析目标视频流;
    根据解析结果和所述目标窗口信息播放目标视频。
  7. 如权利要求1所述的方法,接收初始视频的窗口调整指令之前,还包括:
    接收对应待观看视频的观看指令;
    根据所述观看指令获取所述待观看视频的默认视频流地址;
    基于所述默认视频流地址播放所述待观看视频。
  8. 如权利要求7所述的方法,根据所述观看指令获取所述待观看视频的默认视频流地址,包括:
    根据所述观看指令生成观看请求,并将所述观看请求发送至服务器;
    接收所述服务器响应于所述观看请求发送的视频流地址集合;
    根据所述观看指令在所述视频流地址集合中确定默认视频流地址。
  9. 如权利要求8所述的方法,根据所述观看指令在所述视频流地址集合中确定默认视频流地址,包括:
    根据所述观看指令获取所述待观看视频的默认窗口信息;
    根据所述默认窗口信息确定默认视频流地址。
  10. 一种视频播放方法,应用于用户客户端,包括:
    接收初始直播视频的窗口调整指令,其中,所述窗口调整指令用于调整所述初始直播视频的窗口大小;
    根据所述窗口调整指令确定目标窗口信息和目标直播流地址;
    将所述初始直播视频的初始直播流地址切换为所述目标直播流地址;
    基于所述目标直播流地址播放与所述目标窗口信息对应的目标直播视频,其中,所述初始直播视频与所述目标直播视频播放内容相同且码率不同。
  11. 一种视频播放装置,应用于用户客户端,包括:
    接收模块,被配置为接收初始视频的窗口调整指令,其中,所述窗口调整指令用于调整所述初始视频的窗口大小;
    确定模块,被配置为根据所述窗口调整指令确定目标窗口信息和目标视频流地址;
    切换模块,被配置为将所述初始视频的初始视频流地址切换为所述目标视频流地址;
    播放模块,被配置为基于所述目标视频流地址播放与所述目标窗口信息对应的目标视频,其中,所述初始视频与所述目标视频播放内容相同且码率不同。
  12. 一种视频播放装置,应用于用户客户端,其中,所述用户客户端用于观看直播,所述装置包括:
    接收模块,被配置为接收初始直播视频的窗口调整指令,其中,所述窗口调整指令用于调整所述初始直播视频的窗口大小;
    确定模块,被配置为根据所述窗口调整指令确定目标窗口信息和目标直播流地址;
    切换模块,被配置为将所述初始直播视频的初始直播流地址切换为所述目标直播流地址;
    播放模块,被配置为基于所述目标直播流地址播放与所述目标窗口信息对应的目标直播视频,其中,所述初始直播视频与所述目标直播视频播放内容相同且码率不同。
  13. 一种计算设备,包括存储器、处理器及存储在存储器上并可在处理器上运行的计算机指令,所述处理器执行所述计算机指令时实现以下步骤:
    接收初始视频的窗口调整指令,其中,所述窗口调整指令用于调整所述初始视频的窗口大小;
    根据所述窗口调整指令确定目标窗口信息和目标视频流地址;
    将所述初始视频的初始视频流地址切换为所述目标视频流地址;
    基于所述目标视频流地址播放与所述目标窗口信息对应的目标视频,其中,所述初始视频与所述目标视频播放内容相同且码率不同。
  14. 如权利要求13所述的计算设备,根据所述窗口调整指令确定目标窗口信息和目标视频流地址,包括:
    获取所述窗口调整指令中的目标窗口信息;
    根据所述目标窗口信息确定所述目标窗口信息对应的视频码率信息;
    根据所述视频码率信息确定目标视频流地址。
  15. 如权利要求14所述的计算设备,根据所述视频码率信息确定目标视频流地址,包括:
    根据所述视频码率信息确定与所述视频码率信息对应的目标视频流地址集合,其中,所述目标视频流地址集合中包括至少一个视频流地址,且每个视频流地址对应的视频流的编码策略不同;
    根据所述目标窗口信息在所述目标视频流地址集合中确定目标视频流地址。
  16. 如权利要求15所述的计算设备,所述目标窗口信息为非设备最大窗口;
    根据所述目标窗口信息在所述目标视频流地址集合中确定目标视频流地址,还包括:
    根据所述目标窗口信息在所述目标视频流地址集合中确定至少两个压缩视频流地址;
    根据所述用户客户端的属性信息在至少两个压缩视频流地址中确定目标视频流地址。
  17. 如权利要求15所述的计算设备,根据所述目标窗口信息在所述目标视频流地址集合中确定目标视频流地址,还包括:
    在所述目标窗口信息为设备最大窗口的情况下,在所述目标视频流地址集合中选择一压视频流地址作为目标视频流地址;
    在所述目标窗口信息为非设备最大窗口的情况下,在所述目标视频流地址集合中选择二压视频流地址作为目标视频流地址。
  18. 如权利要求13所述的计算设备,基于所述目标视频流地址播放与所述目标窗口信息对应的目标视频,包括:
    根据所述目标视频流地址获取并解析目标视频流;
    根据解析结果和所述目标窗口信息播放目标视频。
  19. 一种计算设备,包括存储器、处理器及存储在存储器上并可在处理器上运行的计算机指令,所述处理器执行所述计算机指令时实现以下步骤:
    接收初始直播视频的窗口调整指令,其中,所述窗口调整指令用于调整所述初始直播视频的窗口大小;
    根据所述窗口调整指令确定目标窗口信息和目标直播流地址;
    将所述初始直播视频的初始直播流地址切换为所述目标直播流地址;
    基于所述目标直播流地址播放与所述目标窗口信息对应的目标直播视频,其中,所述初始直播视频与所述目标直播视频播放内容相同且码率不同。
  20. 一种计算机可读存储介质,其存储有计算机指令,该计算机指令被处理器执行时实现权利要求1-9或者10任意一项所述方法的步骤。
PCT/CN2022/144236 2022-04-21 2022-12-30 视频播放方法及装置 WO2023202159A1 (zh)

Applications Claiming Priority (2)

Application Number Priority Date Filing Date Title
CN202210422085.7A CN114827725A (zh) 2022-04-21 2022-04-21 视频播放方法及装置
CN202210422085.7 2022-04-21

Publications (1)

Publication Number Publication Date
WO2023202159A1 true WO2023202159A1 (zh) 2023-10-26

Family

ID=82505581

Family Applications (1)

Application Number Title Priority Date Filing Date
PCT/CN2022/144236 WO2023202159A1 (zh) 2022-04-21 2022-12-30 视频播放方法及装置

Country Status (2)

Country Link
CN (1) CN114827725A (zh)
WO (1) WO2023202159A1 (zh)

Families Citing this family (2)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN114827725A (zh) * 2022-04-21 2022-07-29 上海哔哩哔哩科技有限公司 视频播放方法及装置
CN118118697A (zh) * 2022-11-30 2024-05-31 北京字跳网络技术有限公司 视频流播放方法、设备、存储介质及程序产品

Citations (5)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN202799004U (zh) * 2012-06-04 2013-03-13 深圳市景阳科技股份有限公司 一种视频播放终端及系统
CN103517137A (zh) * 2013-09-30 2014-01-15 广州华多网络科技有限公司 网络视频传输方法和系统、发送/接收端处理方法和装置
US20140082144A1 (en) * 2012-09-20 2014-03-20 General Instrument Corporation Use of a receive-window size advertised by a client to a content server to change a video stream bitrate streamed by the content server
CN114257861A (zh) * 2020-09-24 2022-03-29 腾讯科技(深圳)有限公司 视频处理方法、装置、存储介质及设备
CN114827725A (zh) * 2022-04-21 2022-07-29 上海哔哩哔哩科技有限公司 视频播放方法及装置

Family Cites Families (7)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN101848382A (zh) * 2010-05-31 2010-09-29 深圳市景阳科技股份有限公司 一种视频流图像分辨率和码流的调整方法及系统
CN102595204A (zh) * 2012-02-28 2012-07-18 华为终端有限公司 一种流媒体传输方法、设备及系统
CN105988807B (zh) * 2015-02-15 2020-03-24 联想(北京)有限公司 一种信息处理方法及电子设备
CN106412621B (zh) * 2016-09-28 2019-11-26 广州华多网络科技有限公司 网络直播间的视频显示方法及装置、控制方法与相关设备
CN110662100A (zh) * 2018-06-28 2020-01-07 中兴通讯股份有限公司 一种信息处理方法、装置、系统和计算机可读存储介质
CN110324708A (zh) * 2019-07-16 2019-10-11 浙江大华技术股份有限公司 视频处理方法、终端设备及计算机存储介质
CN113315991A (zh) * 2021-06-01 2021-08-27 南京海比信息技术有限公司 一种自动调整网络视频传输码率和清晰度的方法

Patent Citations (5)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN202799004U (zh) * 2012-06-04 2013-03-13 深圳市景阳科技股份有限公司 一种视频播放终端及系统
US20140082144A1 (en) * 2012-09-20 2014-03-20 General Instrument Corporation Use of a receive-window size advertised by a client to a content server to change a video stream bitrate streamed by the content server
CN103517137A (zh) * 2013-09-30 2014-01-15 广州华多网络科技有限公司 网络视频传输方法和系统、发送/接收端处理方法和装置
CN114257861A (zh) * 2020-09-24 2022-03-29 腾讯科技(深圳)有限公司 视频处理方法、装置、存储介质及设备
CN114827725A (zh) * 2022-04-21 2022-07-29 上海哔哩哔哩科技有限公司 视频播放方法及装置

Also Published As

Publication number Publication date
CN114827725A (zh) 2022-07-29

Similar Documents

Publication Publication Date Title
US10419787B2 (en) Dynamic programming across multiple streams
EP3562163B1 (en) Audio-video synthesis method and system
US9338744B2 (en) Server initiated power mode switching in portable communication devices
JP5314825B2 (ja) Cpuの負荷を安定させるためにスケーラブルビデオを動的に適応復号化するためのシステム及び方法
US20170311006A1 (en) Method, system and server for live streaming audio-video file
US10771823B1 (en) Presentation of composite streams to users
CN110662114B (zh) 视频处理方法、装置、电子设备及存储介质
JP2018023133A (ja) メディアコンテンツの適応型ストリーミングのための品質情報の使用
WO2017138387A1 (ja) 情報処理装置および情報処理方法
WO2023202159A1 (zh) 视频播放方法及装置
US10708667B1 (en) Combining fragments with different encodings
US10104143B1 (en) Manifest segmentation
US10116719B1 (en) Customized dash manifest
WO2018014691A1 (zh) 一种媒体数据的获取方法和装置
US10171530B2 (en) Devices and methods for transmitting adaptively adjusted documents
CN114173160A (zh) 直播推流方法及装置
US10404606B2 (en) Method and apparatus for acquiring video bitstream
US20220103783A1 (en) High-fidelity freeze-frame for precision video communication applications
US20240406242A1 (en) Adaptive video quality for large-scale video conferencing
US10681105B2 (en) Decision engine for dynamically selecting media streams
KR20050021812A (ko) 이동통신 단말기에서 출력 버퍼링을 이용한 멀티미디어재생 장치 및 그 제어 방법
JP2017157904A (ja) 情報処理装置
KR20120012089A (ko) 스케일러블 비디오 코딩기법을 활용하는 영상 제공 시스템 및 그 방법
US20210289238A1 (en) Information processing apparatus and method
US11245935B1 (en) Managing supplemental content in content delivery systems

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: 22938377

Country of ref document: EP

Kind code of ref document: A1

NENP Non-entry into the national phase

Ref country code: DE