US20170111414A1 - Video playing method and device - Google Patents

Video playing method and device Download PDF

Info

Publication number
US20170111414A1
US20170111414A1 US15/244,851 US201615244851A US2017111414A1 US 20170111414 A1 US20170111414 A1 US 20170111414A1 US 201615244851 A US201615244851 A US 201615244851A US 2017111414 A1 US2017111414 A1 US 2017111414A1
Authority
US
United States
Prior art keywords
playing
video
target video
page
storage address
Prior art date
Legal status (The legal status is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the status listed.)
Abandoned
Application number
US15/244,851
Other languages
English (en)
Inventor
Peng CANG
Current Assignee (The listed assignees may be inaccurate. Google has not performed a legal analysis and makes no representation or warranty as to the accuracy of the list.)
Le Holdings Beijing Co Ltd
Leshi Zhixin Electronic Technology Tianjin Co Ltd
Original Assignee
Le Holdings Beijing Co Ltd
Leshi Zhixin Electronic Technology Tianjin Co Ltd
Priority date (The priority date is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the date listed.)
Filing date
Publication date
Application filed by Le Holdings Beijing Co Ltd, Leshi Zhixin Electronic Technology Tianjin Co Ltd filed Critical Le Holdings Beijing Co Ltd
Publication of US20170111414A1 publication Critical patent/US20170111414A1/en
Abandoned legal-status Critical Current

Links

Images

Classifications

    • 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/61Network streaming of media packets for supporting one-way streaming services, e.g. Internet radio
    • 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/472End-user interface for requesting content, additional data or services; End-user interface for interacting with content, e.g. for content reservation or setting reminders, for requesting event notification, for manipulating displayed content
    • H04N21/47202End-user interface for requesting content, additional data or services; End-user interface for interacting with content, e.g. for content reservation or setting reminders, for requesting event notification, for manipulating displayed content for requesting content on demand, e.g. video on demand
    • H04L65/4069
    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04LTRANSMISSION OF DIGITAL INFORMATION, e.g. TELEGRAPHIC COMMUNICATION
    • H04L47/00Traffic control in data switching networks
    • H04L47/70Admission control; Resource allocation
    • H04L47/72Admission control; Resource allocation using reservation actions during connection setup
    • H04L47/722Admission control; Resource allocation using reservation actions during connection setup at the destination endpoint, e.g. reservation of terminal resources or buffer space
    • 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/61Network streaming of media packets for supporting one-way streaming services, e.g. Internet radio
    • H04L65/612Network streaming of media packets for supporting one-way streaming services, e.g. Internet radio for unicast
    • 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/764Media network packet handling at the destination 
    • 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/80Responding to QoS
    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04NPICTORIAL COMMUNICATION, e.g. TELEVISION
    • H04N21/00Selective content distribution, e.g. interactive television or video on demand [VOD]
    • H04N21/40Client devices specifically adapted for the reception of or interaction with content, e.g. set-top-box [STB]; Operations thereof
    • H04N21/43Processing of content or additional data, e.g. demultiplexing additional data from a digital video stream; Elementary client operations, e.g. monitoring of home network or synchronising decoder's clock; Client middleware
    • H04N21/433Content storage operation, e.g. storage operation in response to a pause request, caching operations
    • H04N21/4331Caching operations, e.g. of an advertisement for later insertion during playback
    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04NPICTORIAL COMMUNICATION, e.g. TELEVISION
    • H04N21/00Selective content distribution, e.g. interactive television or video on demand [VOD]
    • H04N21/40Client devices specifically adapted for the reception of or interaction with content, e.g. set-top-box [STB]; Operations thereof
    • H04N21/43Processing of content or additional data, e.g. demultiplexing additional data from a digital video stream; Elementary client operations, e.g. monitoring of home network or synchronising decoder's clock; Client middleware
    • H04N21/434Disassembling of a multiplex stream, e.g. demultiplexing audio and video streams, extraction of additional data from a video stream; Remultiplexing of multiplex streams; Extraction or processing of SI; Disassembling of packetised elementary stream
    • H04N21/4341Demultiplexing of audio and video streams
    • 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/438Interfacing the downstream path of the transmission network originating from a server, e.g. retrieving encoded video stream packets from an IP network
    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04NPICTORIAL COMMUNICATION, e.g. TELEVISION
    • H04N21/00Selective content distribution, e.g. interactive television or video on demand [VOD]
    • H04N21/60Network structure or processes for video distribution between server and client or between remote clients; Control signalling between clients, server and network components; Transmission of management data between server and client, e.g. sending from server to client commands for recording incoming content stream; Communication details between server and client 
    • H04N21/63Control signaling related to video distribution between client, server and network components; Network processes for video distribution between server and clients or between remote clients, e.g. transmitting basic layer and enhancement layers over different transmission paths, setting up a peer-to-peer communication via Internet between remote STB's; Communication protocols; Addressing
    • H04N21/643Communication protocols
    • H04L67/2847
    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04LTRANSMISSION OF DIGITAL INFORMATION, e.g. TELEGRAPHIC COMMUNICATION
    • H04L67/00Network arrangements or protocols for supporting network services or applications
    • H04L67/50Network services
    • H04L67/56Provisioning of proxy services
    • H04L67/568Storing data temporarily at an intermediate stage, e.g. caching
    • H04L67/5681Pre-fetching or pre-delivering data based on network characteristics

Definitions

  • the present disclosure generally relates to the technical field of videos, and in particular relates to a video playing method and a video playing device.
  • service platforms play network videos by means of players to provide diversified services.
  • the service platforms may play news, TV dramas, films, and animations by means of webpage players.
  • the inventor found that, usually, before playing a network video, it needs to analyze a streaming media transmission protocol, buffer part of video data for analysis, and create a demultiplexer and an audio decoder.
  • preparation time i.e., playing starting time
  • the technical problems to be solved by embodiments of the present disclosure is to provide a video playing method to reduce the time of a user waiting for video loading and improve the playing efficiency.
  • the embodiments of the present disclosure also provide a video playing device that is used to guarantee the implementation and application of the above method.
  • the embodiments of the present disclosure provide a video playing method, including the following steps:
  • the embodiments of the present disclosure also provide an electronic device for video playing, including: at least one processor; and a memory communicably connected with the at least one processor for storing instructions executable by the at least one processor, wherein execution of the instructions by the at least one processor causes the at least one processor to:
  • a non-transitory computer readable medium storing executable instructions that, when executed by an electronic device, cause the electronic device to: obtain a storage address of a target video by a player in a playing page when the playing page is loaded; determine a playing component for the target video by analyzing the storage address; obtain a data packet of the target video according to the storage address; use the playing component to process the obtained data packet to generate buffered data; and play the target video according to the buffered data if a playing command is detected after the completion of loading the playing page.
  • the data packet of a target video can be obtained by means of the storage address of the target video, and then the data packet is processed to generate buffered data.
  • the target video can be played according to the buffered data.
  • FIG. 1 is a step flow diagram of a video playing method in accordance with some embodiments.
  • FIG. 2 is a step flow diagram of a video playing method in accordance with some embodiments.
  • FIG. 3 is a structural block diagram of a video playing device in accordance with some embodiments.
  • FIG. 4 is a structural block diagram of a video playing device in accordance with some embodiments.
  • FIG. 5 exemplarily shows a block diagram of an electronic device for executing a method according to the present disclosure.
  • FIG. 6 exemplarily shows a storage unit for holding or carrying program codes for implementing a method according to the present disclosure.
  • Streaming media are continuous time-based media using the stream transmission technology in the Internet, for example, audios, videos, or other multimedia documents.
  • the data streams of the streaming media have the characteristic that they can be transmitted at any time and played at any time.
  • a player requires enough preparation time for getting ready to play the network video.
  • a player is activated for preparation time typically after receiving a playing command input by a user, for example, after a playing button is clicked.
  • the player also may buffer more video data to play the network video fluently, which leads to an increase in preparation time and reduction of the playing efficiency.
  • one core concept of the embodiments of the present disclosure is as follows: when a playing page is loaded, a player can be pre-activated to obtain a data packet of a target video, and a playing component is created, which is used to analyze the data packet to generate buffered data. After the playing page is loaded completely, if a playing command is detected, the target video can be played according to the buffered data. In this way, the time of a user waiting for video loading is reduced, and the playing efficiency is improved.
  • FIG. 1 illustrated is a step flow diagram of an embodiment of a video playing method of the present disclosure; the video playing method may specifically include the steps as follows.
  • Step 101 a player in a playing page obtains a storage address of a target video when the playing page is loaded.
  • a user can enter the playing interface of a chosen network video by means of an application or a webpage browser.
  • the user can get the content of the network video from the brief introduction of the network video or comments made by other users, i.e., stay in the playing interface of the chosen network video for a while.
  • the idle network bandwidth can be used to pre-activate a player to obtain the storage address of the target video chosen by the user. That is to say, when the playing page is loaded, the player in the playing page is pre-activated to obtain the storage address of the target video.
  • a video player can be activated directly.
  • the interface setDataSource of the player is called to receive the storage address of the target video; equivalently, a method setDataSource( ) is called to obtain the URL (Uniform Resource Locator) of the target video.
  • the storage address may include such information as a streaming media transmission protocol, a server name (or an IP address), a path and a file name.
  • the storage address may include the following two parts:
  • the first part is the streaming media transmission protocol, which may specify how a file to be opened is processed.
  • the streaming media transmission protocol may be one of such protocols as RTP (Real-time Transport Protocol), RTCP (Real-time Transport Control Protocol), RTSP (Real Time Streaming Protocol), RSV (Resource Reserve Protocol), and HLS (HTTP Live Streaming), which is not limited in the embodiments of the present disclosure.
  • RTP Real-time Transport Protocol
  • RTCP Real-time Transport Control Protocol
  • RTSP Real Time Streaming Protocol
  • RSV Resource Reserve Protocol
  • HLS HTTP Live Streaming
  • RTP provides a time stamp, a sequence number, and any other method capable of ensuring processing time during real-time data transmission
  • RTCP is the control part of RTP, and used to ensure the quality of service and member management
  • RTSP hands over specific data transmission to RTP, and provides remote control on streams
  • RSVP reserves bandwidth to improve QOS (Quality Of Service)
  • HLS is a streaming media transmission protocol based on HTTP (HyperText Transfer Protocol), and is capable of live broadcasting and on-demand broadcasting of streaming media.
  • the second part may include the name or the IP address of a server where a file is stored, as well as a path to the file and the name of the file.
  • Step 103 a playing component for the target video is determined by analyzing the storage address.
  • audio-video files should be created in corresponding file formats. That is to say, different multimedia information may form different streaming media format files; different file formats require different playing components for playing, which is called opening different locks with different keys.
  • common streaming media formats may include sound streams, video streams, text streams, image streams, animation streams, etc.
  • the file formats suitable for the streaming media technology may include such file formats as ASF (Advanced Streaming Format), MPEG (Moving Picture Experts Group), and AVI (Audio Video Interleaved), which is not limited in the embodiments of the present disclosure.
  • the streaming media transmission protocol by which the file of the target video is transmitted can be determined by analyzing the storage address.
  • the file format of the target video i.e., the video format
  • the playing component may include a demultiplexer and a decoder, wherein the demultiplexer is capable of separating the data streams of different streaming media in the target video file according to the streaming media formats, and the decoder is capable of decoding the data streams separated out to generate corresponding media playing data.
  • the media playing data can be used to display the target video, i.e., play it.
  • the step that the playing component for the target video is determined by analyzing the storage address includes the substeps as follows.
  • Substep 10301 the storage address is analyzed to determine the video format of the target video.
  • Substep 10303 the playing component required for playing the target video is created according to the video format.
  • Step 105 data packets of the target video are obtained according to the storage address.
  • the target video On the basis of the storage address of the target video, access can be made to a media server where the target video is stored according to the name or the address of the server, and then the multimedia file of the target video can be obtained according to the path and the name of the file.
  • Relevant multimedia data streams can be extracted from the multimedia file of the target video according to the determined streaming media transmission protocol, and the extracted multimedia data streams are formed into a plurality of data packets.
  • One of these data packets may include a sound stream, a video stream, a text stream, an animation stream, etc. That is to say, each data packet may include one or more of such data streams as the audio data stream, the text data stream, and the video data stream.
  • the data packets According to the streaming media transmission protocol, the data packets can be transmitted to the player of a client. In other words, the player may obtain the data packets of the target video according to the streaming media transmission protocol.
  • Step 107 the playing component is used to process the obtained data packets to generate buffered data.
  • the playing component can be used to process the data packets to generate relevant data for playing the target video.
  • the demultiplexer can be used to process the data packets, namely separating multimedia data streams according to different multimedia data types.
  • the decoder may decode the multimedia data streams separated by the demultiplexer to generate multimedia data that can be played.
  • the player may save the multimedia data generated after decoding, namely generating the buffered data.
  • the buffer data therein may include video data, animation data, audio data, and the like, which is not limited in the embodiments of the present disclosure.
  • the playing component may include a demultiplexer and a decoder; the above step 107 that the playing component is used to process the obtained data packets to generate the buffered data may include the substeps as follows.
  • the demultiplexer is used to separate the data packets to generate a video data stream and an audio data stream.
  • Substep 10702 the video data stream and the audio data stream are decoded by the decoder to generate the buffered data.
  • Step 109 the target video is played according to the buffered data if a playing command is detected after the completion of loading the playing page.
  • the player is ready for playing the target video, but may not directly play the target video.
  • a playing instruction input by a user i.e., a playing command input by the user is detected
  • the target video is played according to the buffered data.
  • the user can directly watch the chosen video after inputting the playing command.
  • the playing efficiency of the player is improved, and the time of the user waiting for video loading is saved.
  • the player clicks the playing page or the playing button of the player the player may detect the playing command and play the buffered data by calling a playing method Start( ), namely playing the target video. The user can directly watch the video chosen to play after clicking the playing button, and therefore, the waiting time is saved.
  • the player may also generate more buffered data by using the idle network bandwidth before defecting the playing command of the user, thereby realizing fluent playing of the target video.
  • a player before loading a network page, a player can be directly activated and pre-activated.
  • the player enters the stage of preparing for playing a video, namely analyzing the streaming media transmission protocol, and creating a playing component.
  • the playing component is used to process the obtained data packets to generate multimedia data needed for playing the target video.
  • the user can directly watch the video after inputting the playing instruction. The time of the user is saved while the playing efficiency is improved.
  • FIG. 2 illustrated is a step flow diagram of another embodiment of a video playing method of the present disclosure, and the video playing method may include the steps as follows.
  • Step 201 a player is pre-activated in a playing page after a command of entering the page is received.
  • a user may enter a playing interface of a network video via an application or a webpage browser.
  • the user opens a video watching webpage via the webpage browser.
  • an instruction of entering the page needs to be sent to a server to open the video watching page.
  • a webpage link is clicked to send an instruction of entering the webpage to the server.
  • the server After receiving the command of entering the page, the server analyzes the command of entering the page, and responds to the command of entering the page, namely loading the page. If the page is a playing page, the player of the playing page is directly activated while the page is loaded.
  • Step 203 the player in the playing page obtains a storage address of a target video when the playing page is loaded.
  • the step that the player in the playing page obtains a storage address of a target video when the playing page is loaded may include the following substeps.
  • the target video is determined according to video information locally buffered or in the page command when the playing page is loaded.
  • the playing page may save historical records of a user watching videos to generate locally buffered data.
  • the watching records of the user are saved by means of webpage cookies.
  • the playing page when the playing page is loaded, the last video that the user watches in the playing webpage can be determined according to the locally buffered data, and is regarded as the target video.
  • the user can also choose one video in the playing page, and the video chosen by the user is determined as the target video.
  • the video chosen by the user is determined as the target video.
  • the user chooses a certain video by clicking the icon of the video.
  • Choosing a video is equivalent to sending a command of choosing a target video; the command of choosing the target video may be understood as the page command of the playing page.
  • the playing page may also determine the target video according to the page command.
  • the mode of determining the target video is not limited in the embodiments of the present disclosure.
  • Substep 20301 the player obtains the storage address of the target video that is transmitted by the playing page.
  • the playing page may transmit the storage address of the target video to the player. That is to say, the player may obtain the storage address transmitted by the playing page.
  • Step 205 the storage address is analyzed to determine a video format of the target video.
  • streaming media when streaming media are transmitted on networks, the transmitted files need to be made into streaming media format files suitable for streaming media transmission.
  • a file needing to be transmitted in a streaming media format should be preprocessed to generate a streaming media format file. That is to say, while streaming information is added to the file, the file is compressed by using an appropriate compression algorithm to generate the streaming media format file of smaller capacity.
  • the player may determine the video format of the target video by analyzing the storage address of the target.
  • the video format can be determined by means of the file extension of the multimedia file in which the target video is stored.
  • MPEG format when the file extension of the multimedia file is MPEG or MPG, it may be sure that the video format of the target video is the MPEG format.
  • Step 207 a playing component is required for playing the target video is created according to the video format.
  • Multimedia files in different video formats may be generated by processing multimedia data using different software.
  • the compression algorithm employed by the target video can be determined according to the video format.
  • a creation method corresponding to the compression algorithm may be called to create the playing component.
  • the playing component may include a demultiplexer and a decoder, wherein the demultiplexer may include an audio decoder and a video decoder.
  • a playing component creation method may be called via interface PrepareAsync to create a corresponding playing component, such that Media Player may enter a preparation stage, namely preloading and buffering data.
  • demultiplexer Demux may be created by means of demultiplexer creation method finishSetDataSource_1( ); alternatively, a video decoder may be created by means of video decoder creation method initVideoDecoder( ); also, an audio decoder may be created by means of audio decoder creation method initAudioDecoder( ).
  • Step 209 a data packet of the target video is obtained according to the storage address.
  • Step 211 the demultiplexer is used to separate the data packet to generate a video data stream and an audio data stream.
  • an audio and a video are coded independently in the making process, and therefore, separate multimedia data, namely audio data and video data, are obtained.
  • the audio data and the video data are packaged together.
  • a multimedia file is generated by using a pair of compression algorithms, such that the audio data and the video data can be transmitted together.
  • the data packet may include the audio data stream and the video data stream.
  • the data packet may be decompressed by using a decompression algorithm of the playing component.
  • Step 213 the video data stream and the audio data stream are decoded by the decoder to generate buffered data.
  • the data packet may be unpacked by the demultiplexer, such that different multimedia data streams, namely the audio data stream and the video data stream of the data packet, can be separated.
  • the audio data stream and the video data stream generated after separation are sent to an audio decoder and a video decoder for decoding, respectively, thereby restoring the audio data and the video data.
  • the decoder includes an audio decoder and a video decoder.
  • the step that the video data stream and the audio data stream are decoded by the decoder to generate the buffered data may include the substeps as follows.
  • the audio decoder is used to decode the audio data stream to generate the audio data.
  • the video decoder is used to decode the video data stream to generate the video data.
  • Substep 21305 the audio data and the video data are combined to generate the buffered data.
  • the audio data and the video data need to be played simultaneously in accordance with a certain playing sequence.
  • the player may combine the decoded audio data and video data to generate and save the relevant data for playing the video, namely generating the buffered data.
  • Step 215 if a playing command is detected after the completion of loading the playing page, the buffered data is called according to starting time, and played to display the target video.
  • the player may play the buffered data.
  • the video may be played from the beginning, or according to set starting time.
  • the player is preset to skip the beginning, which correspondingly lasts for 2 minutes, the buffered data can be called from the moment of 2 minutes to be played, thereby displaying the target video.
  • a record is made to that the user watched before the video, and then the buffered data is called by taking the time point when the user stops last time as the starting time. Therefore, the time of the user waiting for video loading can be further reduced.
  • the player can be directly activated when the page is loaded to preload the target video, i.e., pre-generate the buffered data, by using the idle network bandwidth before receiving the playing command; thus, the waste of network resources is avoided.
  • the buffered data can be called according to a position of a slider on a progress bar, namely the starting time, such that the content of the video that a user wants to watch can be played directly. As a result, the playing efficiency of the player is improved while the network resources are saved, and the time of the user is saved.
  • FIG. 3 illustrated is a structural block diagram of an embodiment of a video playing device of the present disclosure.
  • the video playing device may specifically include the following modules:
  • a storage address obtaining module 301 which may be configured to enable a player in a playing page to obtain a storage address of a target video when the playing page is loaded;
  • a playing component determining module 303 which may be configured to determine a playing component for the target video by analyzing the storage address
  • a data packet obtaining module 305 which may be configured to obtain a data packet of the target video according to the storage address;
  • a buffered data generating module 307 which may be configured to use the playing component to process the obtained data packet to generate buffered data;
  • a playing module 309 which may be configured to play the target video according to the buffered data if a playing command is detected after the completion of loading the playing page.
  • a player before loading a network page, a player can be directly activated and pre-activated.
  • the player enters the stage of preparing for playing a video, namely analyzing the streaming media transmission protocol, and creating a playing component.
  • the playing component is used to process the obtained data packets to generate multimedia data needed for playing the target video.
  • the user can directly watch the video after inputting the playing instruction. The time of the user is saved while the playing efficiency is improved.
  • FIG. 4 illustrated is a structural block diagram of a preferred embodiment of a video playing device of the present disclosure.
  • the video playing device may specifically include the following modules.
  • a storage address obtaining module 401 may be configured to enable a player in a playing page to obtain a storage address of a target video when the playing page is loaded.
  • the storage address obtaining module 401 may include the following submodules:
  • a target video determining submodule 40101 configured to determine the target video according to video information locally buffered or in the page command when the playing page is loaded;
  • a storage address obtaining submodule 40103 configured to enable the player to obtain the storage address of the target video that is transmitted by the playing page.
  • a playing component determining module 403 may be configured to determine a playing component for the target video by analyzing the storage address.
  • the playing component determining module 403 may include the following submodules:
  • a video format determining submodule 40301 which may be configured to analyze the storage address to determine a video format of the target video
  • a playing component creating submodule 40303 which may be configured to create the playing component required for playing the target video according to the video format.
  • a data packet obtaining module 405 may be configured to obtain a data packet of the target video according to the storage address.
  • a buffered data generating module 407 may be configured to use the playing component to process the obtained data packet to generate buffered data.
  • the playing component includes a demultiplexer and a decoder.
  • the buffered data generating module 407 may include the following submodules:
  • a data packet separating submodule 40701 which may be configured to use the demultiplexer to separate the data packet to generate a video data stream and an audio data stream;
  • a decoding submodule 40703 which may be configured to decode the video data stream and the audio data stream by using the decoder to generate the buffered data.
  • the decoder includes an audio decoder and a video decoder.
  • the decoding submodule 40703 may include the followings:
  • an audio data generating unit 4070301 which may be configured to decode the audio data stream by using the audio decoder to generate audio data;
  • a video data generating unit 4070303 which may be configured to decode the video data stream by using the video decoder to generate video data;
  • a combination unit 4070305 which may be configured to combine the audio data and the video data to generate the buffered data.
  • a playing module 409 may be specifically configured to, if a playing command is detected after the completion of loading the playing, call the buffered data according to starting time, and play the buffered data to display the target video.
  • the device may also include a pre-activation module 411 .
  • the pre-activation module 411 is configured to pre-activate the player in the playing page after receiving a command of entering the page.
  • the player can be directly activated when the page is loaded to preload the target video, i.e., pre-generate the buffered data, by using the idle network bandwidth before receiving the playing command; thus, the waste of network resources is avoided.
  • the buffered data can be called according to a position of a slider on a progress bar, namely the starting time, such that the content of the video that a user wants to watch can be played directly. As a result, the playing efficiency of the player is improved while the network resources are saved, and the time of the user is saved.
  • the device embodiments are described simply because they are substantially similar to the method embodiments, and the relevant parts of the device embodiments just refer to the corresponding parts of the method embodiments.
  • Each of devices according to the embodiments of the disclosure can be implemented by hardware, or implemented by software modules operating on one or more processors, or implemented by the combination thereof.
  • a person skilled in the art should understand that, in practice, a microprocessor or a digital signal processor (DSP) may be used to realize some or all of the functions of some or all of the modules in the device according to the embodiments of the disclosure.
  • the disclosure may further be implemented as device program (for example, computer program and computer program product) for executing some or all of the methods as described herein.
  • Such program for implementing the disclosure may be stored in the computer readable medium, or have a form of one or more signals. Such a signal may be downloaded from the internet websites, or be provided in carrier, or be provided in other manners.
  • FIG. 5 illustrates a block diagram of an electronic device for executing the method according the disclosure.
  • the electronic device includes a processor 510 and a computer program product or a computer readable medium in form of a memory 520 .
  • the memory 520 could be electronic memories such as flash memory, EEPROM (Electrically Erasable Programmable Read-Only Memory), EPROM, hard disk or ROM.
  • the memory 520 has a memory space 530 for executing program codes 531 of any steps in the above methods.
  • the memory space 530 for program codes may include respective program codes 531 for implementing the respective steps in the method as mentioned above. These program codes may be read from and/or be written into one or more computer program products.
  • These computer program products include program code carriers such as hard disk, compact disk (CD), memory card or floppy disk. These computer program products are usually the portable or stable memory cells as shown in reference FIG. 6 .
  • the memory cells may be provided with memory sections, memory spaces, etc., similar to the memory 520 of the server as shown in FIG. 5 .
  • the program codes may be compressed for example in an appropriate form.
  • the memory cell includes computer readable codes 531 ′ which can be read for example by processors 510 . When these codes are operated on the server, the server may execute respective steps in the method as described above.
  • an embodiment means that the specific features, structures or performances described in combination with the embodiment(s) would be included in at least one embodiment of the disclosure.
  • the wording “in an embodiment” herein may not necessarily refer to the same embodiment.
  • These computer program commands may be provided to a universal computer, a special purpose computer, an embedded processor or a processor of another programmable data processing terminal equipment to generate a machine, such that the commands executed by the computer or the processor of another programmable data processing terminal equipment create a device for implementing functions specified in one flow or multiple flows of each flow diagram and/or one block or multiple blocks of each block diagram.
  • These computer program commands may also be stored in a computer readable memory that is capable of guiding the computer or another programmable data processing terminal equipment to work in a specified mode, such that the commands stored in the computer readable memory create a manufacture including a command device for implementing functions specified in one flow or multiple flows of each flow diagram and/or one block or multiple blocks of each block diagram.
  • these computer program commands may be loaded on the computer or another programmable data processing terminal equipment, such that a series operation steps are executed on the computer or another programmable data processing terminal equipment to generate processing implemented by the computer; in this way, the commands executed on the computer or another programmable data processing terminal equipment provide steps for implementing functions specified in one flow or multiple flows of each flow diagram and/or one block or multiple blocks of each block diagram.
  • the electronic device in embodiment of the present disclosure may have various types, which include but are not limited to:
  • a mobile terminal device having the characteristics of having mobile communication functions and mainly aiming at providing voice and data communication.
  • This type of terminals include mobile terminals (such as iPhone), multi-functional mobile phones, functional mobile phones and lower-end mobile phones, etc.;
  • PDA personal digital assistant
  • MID mobile internet device
  • UMPC ultra mobile personal computer
  • a portable entertainment device which may display and play multi-media contents.
  • This type of devices include audio players, video players (such as an iPod), handheld game players, e-books, intelligent toy, and portable vehicle-mounted navigation devices;
  • the server includes a processor, a hard disk, a memory and a system bus.
  • the server has the same architecture as a computer, whereas, it is required higher in processing ability, stableness, reliable ability, safety, expandable ability, manageable ability etc. since the server is required to provide high reliable service;
  • the device embodiment(s) described above is (are) only schematic, the units illustrated as separated parts may be or may not be separated physically, and the parts shown in unit may be or may not be a physical unit. That is, the parts may be located at one place or distributed in multiple network units.
  • a skilled person in the art may select part or all modules therein to realize the objective of achieving the technical solution of the embodiment.
  • the embodiments can be implemented by software and necessary universal hardware platforms, or by hardware.
  • the above solutions or contributions thereof to the prior art can be reflected in form of software products, and the computer software products can be stored in computer readable media, for example, ROM/RAM, magnetic discs, optical discs, etc., including various commands, which are used for driving a computer device (which may be a personal computer, a server or a network device) to execute methods described in all embodiments or in some parts of the embodiments.
  • a computer device which may be a personal computer, a server or a network device

Landscapes

  • Engineering & Computer Science (AREA)
  • Multimedia (AREA)
  • Signal Processing (AREA)
  • Computer Networks & Wireless Communication (AREA)
  • Databases & Information Systems (AREA)
  • Human Computer Interaction (AREA)
  • Two-Way Televisions, Distribution Of Moving Picture Or The Like (AREA)
US15/244,851 2015-10-16 2016-08-23 Video playing method and device Abandoned US20170111414A1 (en)

Applications Claiming Priority (3)

Application Number Priority Date Filing Date Title
CN201510672124.9 2015-10-16
CN201510672124.9A CN105681912A (zh) 2015-10-16 2015-10-16 一种视频播放方法和装置
PCT/CN2016/088895 WO2017063399A1 (zh) 2015-10-16 2016-07-06 一种视频播放方法和装置

Related Parent Applications (1)

Application Number Title Priority Date Filing Date
PCT/CN2016/088895 Continuation WO2017063399A1 (zh) 2015-10-16 2016-07-06 一种视频播放方法和装置

Publications (1)

Publication Number Publication Date
US20170111414A1 true US20170111414A1 (en) 2017-04-20

Family

ID=56946971

Family Applications (1)

Application Number Title Priority Date Filing Date
US15/244,851 Abandoned US20170111414A1 (en) 2015-10-16 2016-08-23 Video playing method and device

Country Status (3)

Country Link
US (1) US20170111414A1 (zh)
CN (1) CN105681912A (zh)
WO (1) WO2017063399A1 (zh)

Cited By (10)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN110333840A (zh) * 2019-06-28 2019-10-15 百度在线网络技术(北京)有限公司 推荐方法、装置、电子设备和存储介质
CN110784750A (zh) * 2019-08-13 2020-02-11 腾讯科技(深圳)有限公司 视频播放方法、装置及计算机设备
CN113038237A (zh) * 2021-03-17 2021-06-25 百度(中国)有限公司 直播信息处理方法、装置、设备及存储介质
CN113365150A (zh) * 2021-06-04 2021-09-07 上海哔哩哔哩科技有限公司 视频处理方法和视频处理装置
CN113794924A (zh) * 2021-08-02 2021-12-14 乐融致新电子科技(天津)有限公司 视频播放方法、装置、设备和计算机可读存储介质
CN113891170A (zh) * 2021-11-23 2022-01-04 维沃移动通信有限公司 下载方法、装置、电子设备及存储介质
CN114374869A (zh) * 2022-01-05 2022-04-19 烽火通信科技股份有限公司 一种全景视频播放方法、装置及计算机存储介质
CN114501134A (zh) * 2021-12-28 2022-05-13 广东南方新媒体科技有限公司 一种iOS跨页面视频播放方法、装置、设备及存储介质
CN114727132A (zh) * 2021-01-05 2022-07-08 武汉斗鱼网络科技有限公司 清晰度地址的获取方法、装置、设备及存储介质
CN115460469A (zh) * 2022-08-24 2022-12-09 网易(杭州)网络有限公司 多视频播放的处理方法、装置、计算机设备及存储介质

Families Citing this family (19)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN105681912A (zh) * 2015-10-16 2016-06-15 乐视致新电子科技(天津)有限公司 一种视频播放方法和装置
CN106131644A (zh) * 2016-07-13 2016-11-16 青岛海信电器股份有限公司 音视频的播放方法及显示设备
CN106131658A (zh) * 2016-07-13 2016-11-16 青岛海信电器股份有限公司 音视频的播放方法及显示设备
CN106341686B (zh) * 2016-09-13 2018-06-26 广州视源电子科技股份有限公司 电子设备的arc测试方法和供arc测试的信号发生器
CN106375866B (zh) * 2016-09-20 2020-10-09 腾讯科技(深圳)有限公司 一种加载页面方法及终端
CN106686428A (zh) * 2016-12-30 2017-05-17 广东欧珀移动通信有限公司 一种视频播放方法及设备
CN109951741A (zh) * 2017-12-21 2019-06-28 阿里巴巴集团控股有限公司 数据对象信息展示方法、装置及电子设备
CN110460862B (zh) * 2018-05-07 2022-03-08 腾讯数码(天津)有限公司 一种直播处理的方法、终端设备及存储介质
CN110545467B (zh) * 2018-05-29 2023-05-02 北京字节跳动网络技术有限公司 一种媒体文件加载控制方法、装置及存储介质
CN112533045A (zh) * 2019-09-17 2021-03-19 中兴通讯股份有限公司 一种视频播放方法、装置、终端以及计算机可读存储介质
CN110636366A (zh) * 2019-10-25 2019-12-31 百度在线网络技术(北京)有限公司 视频的播放处理方法、装置、电子设备和介质
CN112714360B (zh) * 2019-10-25 2023-05-16 上海哔哩哔哩科技有限公司 媒体内容播放方法和***
CN111294591B (zh) * 2020-05-09 2020-09-25 腾讯科技(深圳)有限公司 视频信息处理方法、多媒体信息处理方法、装置
CN111294592B (zh) * 2020-05-13 2022-04-05 腾讯科技(深圳)有限公司 视频信息处理方法、多媒体信息处理方法、装置
CN114363716B (zh) * 2020-09-27 2023-08-01 深圳Tcl新技术有限公司 一种应用数据加载方法、存储介质及智能电视
CN112367558B (zh) * 2020-10-29 2023-12-05 深圳Tcl新技术有限公司 应用起播加速方法、智能播放设备及存储介质
CN112770168B (zh) * 2020-12-23 2023-10-17 广州虎牙科技有限公司 视频的播放方法以及相关装置、设备
CN114302202B (zh) * 2021-12-22 2023-03-14 深圳创维-Rgb电子有限公司 音视频投屏方法、装置、设备、***及存储介质
CN116546257B (zh) * 2023-04-25 2024-04-05 上海兴岩信息科技有限公司 一种在线视频开播加速方法及装置

Family Cites Families (10)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN102402755A (zh) * 2010-09-10 2012-04-04 江苏紫日连锁网吧投资管理有限公司 一种实现分割显示屏播放广告的方法
CN102843605A (zh) * 2012-08-22 2012-12-26 Tcl集团股份有限公司 视频播放方法、装置
CN103561337A (zh) * 2013-10-30 2014-02-05 乐视致新电子科技(天津)有限公司 一种基于智能电视的网络直播方法和装置
CN103702213A (zh) * 2013-12-10 2014-04-02 乐视网信息技术(北京)股份有限公司 一种视频文件的播放方法及电子设备
CN103686414B (zh) * 2013-12-19 2018-08-07 北京奇艺世纪科技有限公司 网络视频播放方法及装置
CN105338409B (zh) * 2014-06-30 2020-07-03 小米科技有限责任公司 一种网络视频预加载方法及装置
CN104967909A (zh) * 2014-09-19 2015-10-07 腾讯科技(深圳)有限公司 页面视频播放方法及页面视频播放装置
CN104361071A (zh) * 2014-11-12 2015-02-18 沈文策 页面预加载方法及装置
CN104796785A (zh) * 2015-03-31 2015-07-22 北京奇虎科技有限公司 应用程序内的视频播放方法及装置
CN105681912A (zh) * 2015-10-16 2016-06-15 乐视致新电子科技(天津)有限公司 一种视频播放方法和装置

Cited By (10)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN110333840A (zh) * 2019-06-28 2019-10-15 百度在线网络技术(北京)有限公司 推荐方法、装置、电子设备和存储介质
CN110784750A (zh) * 2019-08-13 2020-02-11 腾讯科技(深圳)有限公司 视频播放方法、装置及计算机设备
CN114727132A (zh) * 2021-01-05 2022-07-08 武汉斗鱼网络科技有限公司 清晰度地址的获取方法、装置、设备及存储介质
CN113038237A (zh) * 2021-03-17 2021-06-25 百度(中国)有限公司 直播信息处理方法、装置、设备及存储介质
CN113365150A (zh) * 2021-06-04 2021-09-07 上海哔哩哔哩科技有限公司 视频处理方法和视频处理装置
CN113794924A (zh) * 2021-08-02 2021-12-14 乐融致新电子科技(天津)有限公司 视频播放方法、装置、设备和计算机可读存储介质
CN113891170A (zh) * 2021-11-23 2022-01-04 维沃移动通信有限公司 下载方法、装置、电子设备及存储介质
CN114501134A (zh) * 2021-12-28 2022-05-13 广东南方新媒体科技有限公司 一种iOS跨页面视频播放方法、装置、设备及存储介质
CN114374869A (zh) * 2022-01-05 2022-04-19 烽火通信科技股份有限公司 一种全景视频播放方法、装置及计算机存储介质
CN115460469A (zh) * 2022-08-24 2022-12-09 网易(杭州)网络有限公司 多视频播放的处理方法、装置、计算机设备及存储介质

Also Published As

Publication number Publication date
WO2017063399A1 (zh) 2017-04-20
CN105681912A (zh) 2016-06-15

Similar Documents

Publication Publication Date Title
US20170111414A1 (en) Video playing method and device
CN109257646B (zh) 视频处理方法、装置、电子设备及计算机可读介质
US10187668B2 (en) Method, system and server for live streaming audio-video file
US8670072B1 (en) Method and apparatus for streaming media data processing, and streaming media playback equipment
CN112653700B (zh) 一种基于webrtc网页视频通信的方法
CN110784750B (zh) 视频播放方法、装置及计算机设备
US20140229973A1 (en) Authoring System for IPTV Network
US11490173B2 (en) Switch of audio and video
JP7100052B2 (ja) 電子装置及びその制御方法
WO2010033351A2 (en) Improved audio and video testing methodology
EP2953132B1 (en) Method and apparatus for processing audio/video file
CN111510755A (zh) 音视频的切换方法、装置、计算机设备及可读存储介质
US10819951B2 (en) Recording video from a bitstream
CN110996122B (zh) 视频帧传输方法、装置、计算机设备及存储介质
CN114222156A (zh) 视频剪辑方法、装置、计算机设备和存储介质
CN110753259B (zh) 视频数据的处理方法、装置、电子设备及计算机可读介质
US20170048291A1 (en) Synchronising playing of streaming content on plural streaming clients
CN116261008A (zh) 音频处理方法和音频处理装置
KR102281217B1 (ko) 인코딩 방법 및 디코딩 방법, 그리고 이를 위한 장치
CN105657460B (zh) 流媒体播放方法、装置和移动终端
CN113139090A (zh) 交互方法、装置、电子设备及计算机可读存储介质
CN115086705A (zh) 一种资源预加载方法、装置、设备和存储介质
CN111447490A (zh) 流媒体文件处理方法及装置
KR100926420B1 (ko) 스트리밍 파일의 재생 위치 인덱싱 방법 및 스트리밍파일의 재생 위치 인덱싱 기능을 구비한 휴대용 단말기
CN117376593A (zh) 直播流的字幕处理方法、装置、存储介质及计算机设备

Legal Events

Date Code Title Description
STCB Information on status: application discontinuation

Free format text: EXPRESSLY ABANDONED -- DURING EXAMINATION