[go: up one dir, main page]

WO2015051755A1 - Multimedia file playing method and system, cloud transcoding server device and storage medium - Google Patents

Multimedia file playing method and system, cloud transcoding server device and storage medium Download PDF

Info

Publication number
WO2015051755A1
WO2015051755A1 PCT/CN2014/088298 CN2014088298W WO2015051755A1 WO 2015051755 A1 WO2015051755 A1 WO 2015051755A1 CN 2014088298 W CN2014088298 W CN 2014088298W WO 2015051755 A1 WO2015051755 A1 WO 2015051755A1
Authority
WO
WIPO (PCT)
Prior art keywords
multimedia file
terminal device
transcoding
bandwidth
decoding capability
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.)
Ceased
Application number
PCT/CN2014/088298
Other languages
French (fr)
Chinese (zh)
Inventor
吴建华
田智平
付贤会
刘成刚
李克
余晓娟
Current Assignee (The listed assignees may be inaccurate. Google has not performed a legal analysis and makes no representation or warranty as to the accuracy of the list.)
ZTE Corp
Original Assignee
ZTE Corp
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 ZTE Corp filed Critical ZTE Corp
Publication of WO2015051755A1 publication Critical patent/WO2015051755A1/en
Anticipated expiration legal-status Critical
Ceased legal-status Critical Current

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/20Servers specifically adapted for the distribution of content, e.g. VOD servers; Operations thereof
    • H04N21/23Processing of content or additional data; Elementary server operations; Server middleware
    • H04N21/234Processing of video elementary streams, e.g. splicing of video streams or manipulating encoded video stream scene graphs
    • H04N21/2343Processing of video elementary streams, e.g. splicing of video streams or manipulating encoded video stream scene graphs involving reformatting operations of video signals for distribution or compliance with end-user requests or end-user device requirements
    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04NPICTORIAL COMMUNICATION, e.g. TELEVISION
    • H04N21/00Selective content distribution, e.g. interactive television or video on demand [VOD]
    • H04N21/20Servers specifically adapted for the distribution of content, e.g. VOD servers; Operations thereof
    • H04N21/23Processing of content or additional data; Elementary server operations; Server middleware
    • H04N21/234Processing of video elementary streams, e.g. splicing of video streams or manipulating encoded video stream scene graphs
    • H04N21/2343Processing of video elementary streams, e.g. splicing of video streams or manipulating encoded video stream scene graphs involving reformatting operations of video signals for distribution or compliance with end-user requests or end-user device requirements
    • H04N21/234309Processing of video elementary streams, e.g. splicing of video streams or manipulating encoded video stream scene graphs involving reformatting operations of video signals for distribution or compliance with end-user requests or end-user device requirements by transcoding between formats or standards, e.g. from MPEG-2 to MPEG-4 or from Quicktime to Realvideo
    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04NPICTORIAL COMMUNICATION, e.g. TELEVISION
    • H04N21/00Selective content distribution, e.g. interactive television or video on demand [VOD]
    • H04N21/20Servers specifically adapted for the distribution of content, e.g. VOD servers; Operations thereof
    • H04N21/23Processing of content or additional data; Elementary server operations; Server middleware
    • H04N21/238Interfacing the downstream path of the transmission network, e.g. adapting the transmission rate of a video stream to network bandwidth; Processing of multiplex 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

Definitions

  • the invention relates to a multimedia file playing technology, in particular to a method, a system, a cloud transcoding service device and a storage medium for realizing multimedia file playing by cloud transcoding.
  • the protocol standard for multimedia file encoding and decoding has been evolving, and the protocol standard based on H.265 codec has been quietly available.
  • most of the existing terminal devices are only capable of supporting playback of multimedia files based on the H.264 codec protocol standard or a lower codec protocol standard.
  • Most of these terminal devices are embedded architectures.
  • the terminal devices of the embedded architecture are decoded by hardware based on a specific decoding chip. Therefore, the decoding capability of the decoding chip is limited, and one type of terminal device only Multimedia files that support specific codec protocol standards, such as H.264, MPEG2, H.263, etc.
  • the embodiment of the present invention is to provide a multimedia file playing method, a system, a cloud transcoding service device, and a storage medium, so that the terminal device can play a multimedia file of a high-end codec protocol standard without supporting multiple codec protocol standards. And can ensure smooth playback of multimedia files, reducing distortion of multimedia file images.
  • the embodiment of the invention provides a multimedia file playing method, including:
  • the terminal device sends its own decoding capability and bandwidth attribute and requests a video service; according to the decoding capability and bandwidth attribute of the terminal device, it is determined that the multimedia file needs to be transcoded; the cloud transcoding service device transcodes the multimedia file and sends the multimedia file to the terminal device.
  • the method further includes: detecting a bandwidth between the terminal device and the cloud transcoding service device, or a bandwidth between the terminal device and the video server during the multimedia file playing process after the transcoding, and adjusting according to the detection result.
  • the terminal device sends its decoding capability and bandwidth attribute to the video server.
  • Determining that the multimedia file needs to be transcoded according to the decoding capability and the bandwidth attribute of the terminal device includes: after the video server receives the decoding capability and the bandwidth attribute sent by the terminal device, determining the codec protocol standard of the multimedia file and the terminal device support Whether the codec protocol standard matches, and if the judgment result is a mismatch, it is determined that the multimedia file needs to be transcoded, and the video server sends the multimedia file transcoding request to the cloud transcoding service device.
  • the terminal device sends its decoding capability and bandwidth attribute to the video server.
  • Determining that the multimedia file needs to be transcoded according to the decoding capability and the bandwidth attribute of the terminal device includes: after the video server receives the decoding capability and the bandwidth attribute sent by the terminal device, determining the codec protocol standard of the multimedia file and the terminal device support Whether the coding and decoding protocol standards match, and if the determination result is a mismatch, it is determined that the multimedia file needs to be transcoded; the video server notifies the terminal device, and the terminal device sends the multimedia file to the cloud transcoding service device. Code request.
  • the cloud transcoding service device transcoding the multimedia file includes: the cloud transcoding service device calculates a transcoding parameter according to the decoding capability, the bandwidth attribute, and the video data parameter of the acquiring terminal device, and performs the transfer of the multimedia file. code.
  • the embodiment of the present invention further provides a multimedia file playing method, including: the cloud transcoding service device receives the multimedia file data and the decoding capability and the bandwidth attribute of the terminal device, according to the decoding capability, the bandwidth attribute, and the multimedia file data of the received terminal device.
  • the video data parameter calculates a transcoding parameter, transcodes the multimedia file according to the transcoding parameter, and issues the transcoded multimedia file data.
  • the method further includes: the cloud transcoding service device receives the multimedia file transcoding request.
  • the embodiment of the invention further provides a cloud transcoding service device, comprising: a data receiving module, a parameter matching calculation module, a transcoding module and a publishing module; wherein
  • a data receiving module configured to receive multimedia file data and a decoding capability and a bandwidth attribute of the terminal device
  • the parameter matching calculation module is configured to calculate a transcoding parameter according to the decoding capability, the bandwidth attribute of the received terminal device, and the video data parameter in the multimedia file data;
  • transcoding module configured to transcode the multimedia file according to the transcoding parameter
  • the publishing module is configured to release the transcoded multimedia file data.
  • the embodiment of the invention further provides a multimedia file playing system, comprising: a terminal device, a video server and a cloud transcoding service device; wherein
  • the terminal device is configured to send its own decoding capability and network bandwidth and request a video service; and receive and transcode the transcoded multimedia file;
  • the video server is configured to determine, according to the decoding capability and the bandwidth attribute of the terminal device, whether the multimedia file needs to be transcoded, and send a multimedia file transcoding request to the cloud transcoding service device; or receive the multimedia file transcoding of the cloud transcoding service device. Requesting information to provide multimedia files to the cloud transcoding service device;
  • the cloud transcoding service device is configured to transcode the multimedia file and send the transcoded multimedia file to the terminal device.
  • the system further includes: a bandwidth detecting device configured to detect a bandwidth between the terminal device and the cloud transcoding service device during the multimedia file playing process after transcoding, or between the terminal device and the video server Bandwidth, and adjust the bandwidth used to play multimedia files according to the detection result.
  • a bandwidth detecting device configured to detect a bandwidth between the terminal device and the cloud transcoding service device during the multimedia file playing process after transcoding, or between the terminal device and the video server Bandwidth, and adjust the bandwidth used to play multimedia files according to the detection result.
  • the terminal device is configured to send its decoding capability and bandwidth attribute to the video server.
  • the video server is configured to receive the decoding capability and the bandwidth attribute sent by the terminal device, determine whether the codec protocol standard of the multimedia file matches the codec protocol standard supported by the terminal device, and determine that the pair needs to be correct when the judgment result is not matched.
  • the multimedia file is transcoded, and the multimedia file transcoding request is sent to the cloud transcoding service device;
  • the cloud transcoding service device is further configured to receive a multimedia file transcoding request.
  • the terminal device is configured to send its own decoding capability and bandwidth attribute to the video server, and is configured to receive a notification sent by the video server, and send a multimedia file transcoding request to the cloud transcoding service device.
  • the video server is configured to receive the decoding capability and the bandwidth attribute sent by the terminal device, determine whether the codec protocol standard of the multimedia file matches the codec protocol standard supported by the terminal device, and determine that the pair needs to be correct when the judgment result is not matched.
  • the multimedia file is transcoded to notify the terminal device;
  • the cloud transcoding service device is further configured to receive a multimedia file transcoding request.
  • the transcoding the multimedia file by the cloud transcoding service device includes:
  • the cloud transcoding service device calculates a transcoding parameter to perform transcoding on the multimedia file according to the decoding capability, the bandwidth attribute, and the video data parameter of the acquiring terminal device.
  • the embodiment of the present invention further provides a computer storage medium, where the computer storage medium stores a computer program, and the computer program is used to execute the multimedia file playing method of the embodiment of the present invention.
  • the terminal device sends its own decoding capability and bandwidth attribute and requests the video service, and determines the need according to the decoding capability and the bandwidth attribute of the terminal device.
  • the cloud transcoding service device transcodes the multimedia file, and sends the transcoded multimedia file to the terminal device for decoding and playing, so that the terminal device supporting the low-end codec protocol standard can be played. High-end codec protocol standard multimedia files.
  • the decoder in the terminal device can play the multimedia file of the high-end codec protocol standard without supporting multiple codec protocol standards, thereby maximizing the cost of the terminal device and reducing the power consumption of the terminal device;
  • the cloud transcoding service device adjusts the transcoding parameters of the multimedia file according to the bandwidth attribute of the terminal device, and reduces the distortion of the multimedia file image while ensuring the smooth playback of the multimedia file.
  • the bandwidth between the terminal device and the cloud transcoding service device is detected during the multimedia file playback process after the transcoding, and the bandwidth used for playing the multimedia file is adjusted according to the detection result; thus, the network bandwidth can be fully utilized. Enable users to enjoy video clarity and fluency that is compatible with network bandwidth.
  • FIG. 1 is a schematic flowchart of a basic processing procedure of a multimedia file playing method according to an embodiment of the present invention
  • FIG. 2 is a schematic flowchart of a specific implementation process of a multimedia file playing method according to Embodiment 1 of the present invention
  • FIG. 3 is a schematic diagram of a specific implementation process of a multimedia file playing method according to Embodiment 1 of the present invention after adjusting a bandwidth setting;
  • FIG. 4 is a schematic structural diagram of a multimedia file playing system according to Embodiment 1 of the present invention.
  • FIG. 5 is a schematic flowchart of a specific implementation process of a multimedia file playing method according to Embodiment 2 of the present invention.
  • FIG. 6 is a schematic flowchart of a specific implementation process of a multimedia file playing method according to Embodiment 2 of the present invention after adjusting a set bandwidth;
  • FIG. 7 is a schematic structural diagram of a multimedia file playing system according to Embodiment 2 of the present invention.
  • FIG. 8 is a schematic structural diagram of a structure of a cloud transcoding service device according to an embodiment of the present invention.
  • the terminal device sends its own decoding capability and bandwidth attribute and requests the video service; according to the decoding capability and the bandwidth attribute of the terminal device, it is determined that the multimedia file needs to be transcoded; the cloud transcoding service device transcodes the multimedia file. And transmitting the transcoded multimedia file to the terminal device, and the terminal device decodes and plays the transcoded multimedia file.
  • the bandwidth detecting device may detect the bandwidth between the terminal device and the cloud transcoding service device, or the bandwidth between the terminal device and the video server, and adjust the playing multimedia file according to the detection result. The bandwidth used.
  • the terminal device sends its own decoding capability and bandwidth attribute to the video server and requests a video service
  • determining, according to the decoding capability and the bandwidth attribute of the terminal device, that the multimedia file needs to be transcoded includes: the video server receiving the sending by the terminal device After the decoding capability and the bandwidth attribute, it is determined whether the codec protocol standard of the multimedia file matches the codec protocol standard supported by the terminal device, and if the judgment result is a mismatch, it is determined that the multimedia file needs to be transcoded, and the video server transmits the code to the cloud.
  • the device sends a multimedia file transcoding request, and after receiving the multimedia file transcoding request, the cloud transcoding service device transcodes the multimedia file;
  • the video server may not send the multimedia file transcoding request to the cloud transcoding service device, but the video server notifies the terminal device, and the terminal device sends the multimedia file to the cloud transcoding service device. Multimedia file transcoding request.
  • Transmitting the multimedia file by the cloud transcoding service device includes: the cloud transcoding service device acquires the multimedia file from the video server, calculates a transcoding parameter according to the decoding capability, the bandwidth attribute, and the video data parameter of the terminal device, and converts the code The post multimedia file is sent to the terminal device for decoding and playback.
  • the video data parameters and transcoding parameters include a code rate, a frame rate, a resolution, a codec format, an I frame interval, an aspect ratio, a scan type, and a frame coding/field coding.
  • the transcoding parameters are calculated as follows:
  • the priority of the decoding capability, the bandwidth attribute, and the video data parameter of the terminal device used when calculating the transcoding parameter is set, that is, the decoding capability of the terminal device is set to be the first priority, and the encoding parameter supported by the terminal device is used as the encoding parameter used.
  • the bandwidth attribute is set to the second priority, and the code rate and the frame rate of the multimedia file are adjusted according to the bandwidth attribute. Specifically, when the network bandwidth is low, the coding attribute with a higher compression rate is used according to the coding format, and the adjustment code rate and the frame rate are achieved.
  • the terminal device in the embodiment of the present invention is not limited to the set top box, and all the terminal devices having the multimedia file playing function can be applied to the multimedia file playing method of the present invention, and all belong to the terminal device to be protected by the present invention. Within the scope.
  • the basic processing flow of the multimedia file playing method in the embodiment of the present invention is as shown in FIG. 1 , and includes the following steps:
  • Step 101 The terminal device sends its own decoding capability and bandwidth attribute and requests a video service.
  • the terminal device transmits its own decoding capability and bandwidth attribute to the video server and requests a video service.
  • Step 102 After determining that the multimedia file needs to be transcoded according to the decoding capability and the bandwidth attribute of the terminal device, the cloud transcoding service device transcodes the multimedia file, and sends the transcoded multimedia file to the terminal device.
  • the determining, according to the decoding capability and the bandwidth attribute of the terminal device, that the multimedia file needs to be transcoded includes:
  • the video server After receiving the decoding capability and the bandwidth attribute sent by the terminal device, the video server determines whether the codec protocol standard of the multimedia file matches the codec protocol standard supported by the terminal device, and if the judgment result is a mismatch, it is determined that the multimedia file needs to be transcoded.
  • the video server sends a multimedia file transcoding request to the cloud transcoding server, and the cloud transcoding service device transcodes the multimedia file after receiving the multimedia file transcoding request; when the determination result is a match, the video server directly provides the terminal device to request Video service, the terminal device decodes and plays the multimedia file, and ends the current processing flow;
  • the cloud transcoding service device transcodes the multimedia file, including: the cloud transcoding service device obtains the multimedia file from the video server, calculates a transcoding parameter according to the decoding capability, the bandwidth attribute, and the video data parameter of the terminal device, and performs the transcoding parameter on the multimedia file. Transcoding; and the transcoded multimedia file is sent to the terminal device for decoding and playing;
  • the video data parameters and transcoding parameters include a code rate, a frame rate, a resolution, a codec format, an I frame interval, an aspect ratio, a scan type, and a frame coding/field coding.
  • the network bandwidth of the terminal device is low, the resolution of the multimedia file is appropriately reduced, and the transcoding parameter with high compression ratio is adopted to ensure that the terminal device can smoothly play the multimedia file; when the network bandwidth of the terminal device is sufficient, compression is adopted.
  • a low-rate transcoding parameter to ensure that the terminal device reduces the distortion of the image while playing the multimedia file smoothly.
  • Step 103 The terminal device decodes and plays the transcoded multimedia file.
  • the method of the embodiment of the present invention may further include the step of: detecting the bandwidth between the terminal device and the cloud transcoding service device during the multimedia file playing process after the transcoding, and adjusting the playing multimedia file according to the bandwidth detection result.
  • the terminal device sends its decoding capability and bandwidth attribute to the video server, including the following steps:
  • Step 201 The terminal device sends its own decoding capability and bandwidth attribute to the video server and requests a video service.
  • Steps 202 to 203 the video server determines whether the codec protocol standard of the multimedia file matches the codec protocol standard supported by the terminal device, and when the judgment result is a match, the video server directly provides the video service requested by the terminal device, and the terminal device decodes and plays the video device.
  • the multimedia file ends the current processing flow; when the determination result is a mismatch, step 204 is performed.
  • Step 204 The video server sends a multimedia file transcoding request to the cloud transcoding service device.
  • the cloud transcoding service device when the video server sends the multimedia file transcoding request to the cloud transcoding service device, the cloud transcoding service device is provided with the decoding capability, the bandwidth attribute, and the uniform resource locator of the transcoded data (URL, Uniform Resource Locator) )address.
  • URL Uniform Resource Locator
  • Step 205 The cloud transcoding service device transcodes the multimedia file, and sends the transcoded multimedia file to the specified URL address.
  • the cloud transcoding service device obtains the multimedia file from the video server, calculates a transcoding parameter according to the decoding capability, the bandwidth attribute, and the video data parameter of the terminal device, transcodes the multimedia file, and sends the transcoded data to the The specified URL address;
  • the network bandwidth of the terminal device when the network bandwidth of the terminal device is low, the resolution of the multimedia file is appropriately reduced, and the transcoding parameter with high compression ratio is adopted to ensure that the terminal device can smoothly play the multimedia file; when the network bandwidth of the terminal device is sufficient, A transcoding parameter with a low compression ratio to ensure that the terminal device reduces the distortion of the image while playing the multimedia file smoothly.
  • Step 206 The video server sends a URL address to the terminal device.
  • the sending of the URL address by the video server to the terminal device may be performed simultaneously with the video server requesting the transcoding from the cloud transcoding service device, that is, step 206 and step 204 may be performed simultaneously.
  • Step 207 After obtaining the URL address, the terminal device obtains the transcoded multimedia file from the URL address and decodes and plays the file.
  • the method of the first embodiment of the present invention further includes the step 208: detecting the bandwidth between the terminal device and the video server during the multimedia file playing process after the transcoding, and adjusting the bandwidth used for playing the multimedia file in real time according to the detection result. ;
  • the detection bandwidth may be completed by the bandwidth detecting device; the bandwidth detecting device may be integrated into the terminal device and the video server, respectively, or exist as a separate device;
  • the actual network bandwidth is smaller than the bandwidth used by the user to set the video to be played, and the set bandwidth is increased; or the bandwidth set by the user is ignored, and the actual network bandwidth is matched with the bandwidth set by the user to prevent the bandwidth set by the user from being larger than In the actual bandwidth, the video playback is abnormal due to the error parameter being transmitted;
  • the actual network bandwidth is greater than the bandwidth used by the user to set the video to be played, and the set bandwidth is reduced, so that the actual network bandwidth matches the bandwidth set by the user, so as to effectively utilize the excess network bandwidth when the multimedia file is played.
  • the specific implementation process of the multimedia file playing method in Embodiment 1 of the present invention is as shown in FIG. 3, and includes the following steps:
  • Step 301 The terminal device sends the user updated bandwidth to the video server.
  • Steps 302-303 the video server determines whether the transcoding parameter matches the updated bandwidth.
  • the video server directly provides the video service requested by the terminal device, and the terminal device decodes and plays the multimedia file, and ends the current processing flow; If the result is a mismatch, step 304 is performed.
  • Step 304 The transcoding service device re-adjusts the transcoding parameter.
  • the re-adjusting transcoding parameter is to adjust a code rate and a frame rate of the transcoding parameter
  • the cloud transcoding service device can select a picture definition (code rate) priority principle or a picture fluency (frame rate) according to a user requirement.
  • code rate picture definition
  • frame rate picture fluency
  • Principle when selecting the picture clarity priority principle, adjust the multimedia parameters
  • the code rate of the number matches the set bandwidth; when the picture fluency priority principle is selected, the set bandwidth is matched by adjusting the frame rate of the multimedia parameter.
  • Steps 305-307 the processing operations are the same as steps 205-207, and are not described herein again.
  • the system structure of the multimedia file playing system of the first embodiment of the present invention includes: a terminal device 10, a video server 20, and a cloud transcoding service device 30;
  • the terminal device 10 is configured to send its own decoding capability and network bandwidth to the video server 20 and request a video service; receive the transcoded multimedia file and decode and play the video file;
  • the video server 20 is configured to receive the decoding capability and the bandwidth attribute sent by the terminal device 10, determine whether the codec protocol standard of the multimedia file matches the codec protocol standard supported by the terminal device, and when the determination result is not matched,
  • the code service device 30 transmits a multimedia file transcoding request including the decoding capability of the terminal device and the network bandwidth;
  • the video server 20 is further configured to send the URL address of the transcoded multimedia file to the terminal device 10;
  • the cloud transcoding service device 30 is configured to receive a multimedia file transcoding request sent by the video server 20, transcode the multimedia file, and send the transcoded multimedia file to the terminal device 10;
  • the multimedia file playing system of the embodiment 1 of the present invention further includes: a bandwidth detecting device configured to detect a bandwidth between the terminal device and the video server during the multimedia file playing process after transcoding, and adjust a bandwidth used for playing the multimedia file according to the detection result. ;
  • the bandwidth detecting device may be integrated inside the terminal device and the video server, respectively, or as a separate device.
  • the multimedia file after the transcoding can be directly played by the terminal device 10; or can be played by using a special display device, and the decoding result is sent by the terminal device 10 to the display device, and played by the display device.
  • the terminal device sends its decoding capability and bandwidth attribute to the video server, including the following steps:
  • Step 501 The terminal device sends its own decoding capability and bandwidth attribute to the video server and requests a video service.
  • Steps 502 to 503 the video server determines whether the codec protocol standard of the multimedia file matches the codec protocol standard supported by the terminal device, and when the judgment result is a match, the video server directly provides the video service requested by the terminal device, and the terminal device decodes and plays the video device.
  • the multimedia file ends the current processing flow; when the determination result is a mismatch, step 504 is performed.
  • Step 504 The video server sends, to the terminal device, a judgment result that the codec protocol standard of the multimedia file does not match the codec protocol standard supported by the terminal device, and a URL address of the data after the transcoding.
  • Step 505 The terminal device sends a multimedia file transcoding request to the cloud transcoding service device.
  • the terminal device when the terminal device requests the transcoding from the cloud transcoding service device, the terminal device provides the cloud transcoding service device with the decoding capability, the bandwidth attribute, and the URL address of the transcoded data.
  • Step 506 After receiving the multimedia file transcoding request, the cloud transcoding service device transcodes the multimedia file, and sends the transcoded multimedia file to the terminal device.
  • the cloud transcoding service device obtains the multimedia file from the video server, transcodes the multimedia file according to the decoding capability, the bandwidth attribute, and the video data parameter calculated by the terminal device, and sends the transcode to the terminal device.
  • Multimedia file
  • the transcoding parameter with high compression ratio is adopted to ensure that the terminal device with low network bandwidth can smoothly play the multimedia file; when the network bandwidth of the terminal device is sufficient.
  • the transcoding parameters with low compression ratio are adopted to ensure smooth playback of multimedia files and reduce image distortion.
  • Step 507 The terminal device acquires the transcoded multimedia file and decodes and plays the multimedia file.
  • the method of the embodiment 2 of the present invention further includes the step 508: detecting the bandwidth between the terminal device and the cloud transcoding service device during the multimedia file playing process after the transcoding, and adjusting the playing multimedia in real time according to the bandwidth detection result.
  • the bandwidth used by the file
  • the detection bandwidth may be completed by the bandwidth detecting device; the bandwidth detecting device may be integrated into the terminal device and the cloud transcoding service device respectively, or exist as an independent device;
  • the actual network bandwidth is smaller than the bandwidth used by the user to set the video to be played, and the set bandwidth is increased; or the bandwidth set by the user is ignored, and the actual network bandwidth is matched with the bandwidth set by the user to prevent the bandwidth set by the user from being larger than In the actual bandwidth, the video playback is abnormal due to the error parameter being transmitted;
  • the actual network bandwidth is greater than the bandwidth used by the user to set the video to be played, and the set bandwidth is reduced, so that the actual network bandwidth value matches the bandwidth set by the user, so as to effectively utilize the excess network bandwidth when the multimedia file is played.
  • the specific implementation process of the multimedia file playing method in Embodiment 2 of the present invention is as shown in FIG. 6, and includes the following steps:
  • Step 601 The terminal device sends the updated bandwidth of the user to the video server.
  • Step 602 The transcoding service device re-adjusts the transcoding parameter.
  • the re-adjusting transcoding parameter is to adjust a code rate and a frame rate of the transcoding parameter
  • the cloud transcoding service device can select a picture definition (code rate) priority principle or a picture fluency (frame rate) according to a user requirement. Principle; When the picture sharpness priority principle is selected, the code rate of the multimedia parameter is adjusted to match the set bandwidth; when the picture fluency priority principle is selected, the set bandwidth is matched by adjusting the frame rate of the multimedia parameter.
  • Steps 603-604 the processing operations are the same as steps 506-507, and are not described herein again. .
  • the embodiment of the present invention further provides a multimedia file playing system.
  • the system includes: a terminal device 10, a video server 20, and a cloud transcoding service device 30;
  • the terminal device 10 is configured to send its own decoding capability and network bandwidth to the video server 20 and request a video service; receive the transcoded multimedia file and decode and play the video file;
  • the terminal device 10 is further configured to receive a judgment result that the codec protocol standard of the multimedia file does not match the codec protocol standard supported by the terminal device, and a URL address of the data after the transcoding; and send the terminal device to the cloud transcoding service device 30.
  • the video server 20 is configured to receive the decoding capability and the bandwidth attribute sent by the terminal device 10, determine whether the codec protocol standard of the multimedia file matches the codec protocol standard supported by the terminal device, and when the determination result is a mismatch, the terminal device 10 Send the matching result and the URL address of the data after transcoding;
  • the cloud transcoding service device 30 is configured to receive a multimedia file transcoding request sent by the video server 20, transcode the multimedia file, and send the transcoded multimedia file to the terminal device 10;
  • the multimedia file playing system of the embodiment 2 of the present invention further includes: a bandwidth detecting device configured to detect a bandwidth between the terminal device and the cloud transcoding service device during the multimedia file playing process after transcoding, and adjust the playing multimedia file according to the detection result. Bandwidth used;
  • the bandwidth detecting device may be integrated inside the terminal device and the cloud transcoding service device, respectively, or exist as a separate device.
  • the multimedia file after the transcoding can be directly played by the terminal device 10; or can be played by using a special display device, and the decoding result is sent by the terminal device 10 to the display device, and played by the display device.
  • the embodiment of the present invention provides a structure of a cloud transcoding service device as shown in FIG. 8 , which includes: a data receiving module 81 , a parameter matching calculation module 82 , a transcoding module 83 , and a publishing module 84 ;
  • the data receiving module 81 is configured to receive the multimedia file data and the decoding capability and the bandwidth attribute of the terminal device;
  • the parameter matching calculation module 82 is configured to calculate a transcoding parameter according to the obtained decoding capability, the bandwidth attribute, and the video data parameter in the multimedia file number of the terminal device;
  • the transcoding module 83 is configured to transcode the multimedia file according to the transcoding parameter
  • the publishing module 84 is configured to release the transcoded multimedia file data.
  • the data receiving module 81, the parameter matching calculation module 82, the transcoding module 83, and the issuing module 84 in the cloud transcoding service device proposed in the embodiment of the present invention may all be implemented by a processor, and may also be implemented by a specific logic circuit.
  • the processor may be a server located on a cloud transcoding service device. In practical applications, the processor may be a central processing unit (CPU), a microprocessor (MPU), a digital signal processor (DSP), or a field. Programmable Gate Array (FPGA), etc.
  • the above multimedia file playing method is implemented in the form of a software function module and sold or used as a standalone product, it may also be stored in a computer readable storage medium.
  • the technical solution of the embodiments of the present invention may be embodied in the form of a software product in essence or in the form of a software product stored in a storage medium, including a plurality of instructions.
  • a computer device (which may be a personal computer, server, or network device, etc.) is caused to perform all or part of the methods described in various embodiments of the present invention.
  • the foregoing storage medium includes various media that can store program codes, such as a USB flash drive, a mobile hard disk, a read only memory (ROM), a magnetic disk, or an optical disk.
  • program codes such as a USB flash drive, a mobile hard disk, a read only memory (ROM), a magnetic disk, or an optical disk.
  • the embodiment of the present invention further provides a computer storage medium, where the computer storage medium stores a computer program, and the computer program is used to execute the multimedia file playing method of the embodiment of the present invention.

Landscapes

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

Abstract

A multimedia file playing method, comprising: sending, by a terminal device, a decoding capability and a bandwidth attribute thereof, and requesting a video service; according to the decoding capability and the bandwidth attribute of the terminal device, determining that a multimedia file needs to be transcoded; transcoding, by a cloud transcoding server device, the multimedia file, and sending the transcoded multimedia file to the terminal device; and decoding, by the terminal device, the transcoded multimedia file and playing same. Disclosed at the same time are another multimedia file playing method, a multimedia file playing system, a cloud transcoding server device and a storage medium.

Description

多媒体文件播放方法、系统、云转码服务设备及存储介质Multimedia file playing method, system, cloud transcoding service device and storage medium 技术领域Technical field

本发明涉及多媒体文件播放技术,尤其涉及一种通过云转码实现多媒体文件播放方法、系统、云转码服务设备及存储介质。The invention relates to a multimedia file playing technology, in particular to a method, a system, a cloud transcoding service device and a storage medium for realizing multimedia file playing by cloud transcoding.

背景技术Background technique

多媒体文件编解码的协议标准一直在不断演进,基于H.265编解码的协议标准已悄然面世。但是,现有的终端设备大部分只能够支持播放基于H.264编解码协议标准或更低编解码协议标准的多媒体文件。这些终端设备多为嵌入式架构,为节约成本、降低功耗,嵌入式架构的终端设备采用基于特定解码芯片的硬件进行解码,因此,受解码芯片的解码能力限制,一种型号的终端设备只能支持特定的编解码协议标准的多媒体文件,如H.264、MPEG2、H.263等。The protocol standard for multimedia file encoding and decoding has been evolving, and the protocol standard based on H.265 codec has been quietly available. However, most of the existing terminal devices are only capable of supporting playback of multimedia files based on the H.264 codec protocol standard or a lower codec protocol standard. Most of these terminal devices are embedded architectures. In order to save cost and reduce power consumption, the terminal devices of the embedded architecture are decoded by hardware based on a specific decoding chip. Therefore, the decoding capability of the decoding chip is limited, and one type of terminal device only Multimedia files that support specific codec protocol standards, such as H.264, MPEG2, H.263, etc.

如何便捷地实现支持低端编解码协议标准的终端设备播放高端编解码协议标准的多媒体文件,并保证流畅播放多媒体文件,减少多媒体文件图像的失真是目前亟需解决的问题。How to conveniently implement the high-end codec protocol standard multimedia file for the terminal device supporting the low-end codec protocol standard, and ensure that the multimedia file is smoothly played and the distortion of the multimedia file image is urgently solved.

发明内容Summary of the invention

有鉴于此,本发明实施例期望提供一种多媒体文件播放方法、系统、云转码服务设备及存储介质,使终端设备无需支持多种编解码协议标准便可播放高端编解码协议标准的多媒体文件,且能保证流畅播放多媒体文件,减少多媒体文件图像的失真。In view of this, the embodiment of the present invention is to provide a multimedia file playing method, a system, a cloud transcoding service device, and a storage medium, so that the terminal device can play a multimedia file of a high-end codec protocol standard without supporting multiple codec protocol standards. And can ensure smooth playback of multimedia files, reducing distortion of multimedia file images.

为达到上述目的,本发明的技术方案是这样实现的:In order to achieve the above object, the technical solution of the present invention is achieved as follows:

本发明实施例提供了一种多媒体文件播放方法,包括: The embodiment of the invention provides a multimedia file playing method, including:

终端设备发送自身的解码能力和带宽属性并请求视频服务;根据终端设备的解码能力和带宽属性确定需要对多媒体文件进行转码;云转码服务设备对多媒体文件进行转码,并向终端设备发送转码后多媒体文件;终端设备对转码后多媒体文件解码并播放。The terminal device sends its own decoding capability and bandwidth attribute and requests a video service; according to the decoding capability and bandwidth attribute of the terminal device, it is determined that the multimedia file needs to be transcoded; the cloud transcoding service device transcodes the multimedia file and sends the multimedia file to the terminal device. The multimedia file after transcoding; the terminal device decodes and plays the multimedia file after transcoding.

上述实现方案中,所述方法还包括:转码后多媒体文件播放过程中,检测终端设备与云转码服务设备之间的带宽、或终端设备与视频服务器之间的带宽,并根据检测结果调整播放多媒体文件使用的带宽。In the above implementation, the method further includes: detecting a bandwidth between the terminal device and the cloud transcoding service device, or a bandwidth between the terminal device and the video server during the multimedia file playing process after the transcoding, and adjusting according to the detection result. The bandwidth used to play multimedia files.

上述实现方案中,所述终端设备将自身的解码能力和带宽属性发送给视频服务器;In the above implementation, the terminal device sends its decoding capability and bandwidth attribute to the video server.

所述根据终端设备的解码能力和带宽属性确定需要对多媒体文件进行转码包括:所述视频服务器接收到终端设备发送的解码能力和带宽属性后,判断多媒体文件的编解码协议标准与终端设备支持的编解码协议标准是否匹配,判断结果为不匹配时,确定需要对多媒体文件进行转码,视频服务器向云转码服务设备发送多媒体文件转码请求。Determining that the multimedia file needs to be transcoded according to the decoding capability and the bandwidth attribute of the terminal device includes: after the video server receives the decoding capability and the bandwidth attribute sent by the terminal device, determining the codec protocol standard of the multimedia file and the terminal device support Whether the codec protocol standard matches, and if the judgment result is a mismatch, it is determined that the multimedia file needs to be transcoded, and the video server sends the multimedia file transcoding request to the cloud transcoding service device.

上述实现方案中,所述终端设备将自身的解码能力和带宽属性发送给视频服务器;In the above implementation, the terminal device sends its decoding capability and bandwidth attribute to the video server.

所述根据终端设备的解码能力和带宽属性确定需要对多媒体文件进行转码包括:所述视频服务器接收到终端设备发送的解码能力和带宽属性后,判断多媒体文件的编解码协议标准与终端设备支持的编解码协议标准是否匹配,判断结果为不匹配时,确定需要对多媒体文件进行转码;所述视频服务器通知所述终端设备,所述终端设备向所述云转码服务设备发送多媒体文件转码请求。Determining that the multimedia file needs to be transcoded according to the decoding capability and the bandwidth attribute of the terminal device includes: after the video server receives the decoding capability and the bandwidth attribute sent by the terminal device, determining the codec protocol standard of the multimedia file and the terminal device support Whether the coding and decoding protocol standards match, and if the determination result is a mismatch, it is determined that the multimedia file needs to be transcoded; the video server notifies the terminal device, and the terminal device sends the multimedia file to the cloud transcoding service device. Code request.

上述实现方案中,所述云转码服务设备对多媒体文件进行转码包括:云转码服务设备根据获取终端设备的解码能力、带宽属性和视频数据参数计算得到转码参数,对多媒体文件进行转码。 In the above implementation, the cloud transcoding service device transcoding the multimedia file includes: the cloud transcoding service device calculates a transcoding parameter according to the decoding capability, the bandwidth attribute, and the video data parameter of the acquiring terminal device, and performs the transfer of the multimedia file. code.

本发明实施例还提供一种多媒体文件播放方法,包括:云转码服务设备接收多媒体文件数据和终端设备的解码能力及带宽属性,根据接收的终端设备的解码能力、带宽属性和多媒体文件数据中的视频数据参数计算转码参数,根据所述转码参数对多媒体文件进行转码,并发布转码后的多媒体文件数据。The embodiment of the present invention further provides a multimedia file playing method, including: the cloud transcoding service device receives the multimedia file data and the decoding capability and the bandwidth attribute of the terminal device, according to the decoding capability, the bandwidth attribute, and the multimedia file data of the received terminal device. The video data parameter calculates a transcoding parameter, transcodes the multimedia file according to the transcoding parameter, and issues the transcoded multimedia file data.

上述实现方案中,所述方法还包括:云转码服务设备接收多媒体文件转码请求。In the above implementation, the method further includes: the cloud transcoding service device receives the multimedia file transcoding request.

本发明实施例还提供了一种云转码服务设备,包括:数据接收模块、参数匹配计算模块、转码模块以及发布模块;其中,The embodiment of the invention further provides a cloud transcoding service device, comprising: a data receiving module, a parameter matching calculation module, a transcoding module and a publishing module; wherein

数据接收模块,配置为接收多媒体文件数据和终端设备的解码能力及带宽属性;a data receiving module configured to receive multimedia file data and a decoding capability and a bandwidth attribute of the terminal device;

参数匹配计算模块,配置为根据接收的终端设备的解码能力、带宽属性和多媒体文件数据中的视频数据参数计算转码参数;The parameter matching calculation module is configured to calculate a transcoding parameter according to the decoding capability, the bandwidth attribute of the received terminal device, and the video data parameter in the multimedia file data;

转码模块,配置为根据所述转码参数对多媒体文件进行转码;a transcoding module configured to transcode the multimedia file according to the transcoding parameter;

发布模块,配置为发布转码后的多媒体文件数据。The publishing module is configured to release the transcoded multimedia file data.

本发明实施例还提供了一种多媒体文件播放系统,包括:终端设备、视频服务器和云转码服务设备;其中,The embodiment of the invention further provides a multimedia file playing system, comprising: a terminal device, a video server and a cloud transcoding service device; wherein

终端设备,配置为发送自身的解码能力和网络带宽并请求视频服务;接收转码后的多媒体文件解码并播放;The terminal device is configured to send its own decoding capability and network bandwidth and request a video service; and receive and transcode the transcoded multimedia file;

视频服务器,配置为根据终端设备的解码能力和带宽属性确定是否需要对多媒体文件进行转码,并向云转码服务设备发送多媒体文件转码请求;或接收云转码服务设备的多媒体文件转码请求信息,向云转码服务设备提供多媒体文件;The video server is configured to determine, according to the decoding capability and the bandwidth attribute of the terminal device, whether the multimedia file needs to be transcoded, and send a multimedia file transcoding request to the cloud transcoding service device; or receive the multimedia file transcoding of the cloud transcoding service device. Requesting information to provide multimedia files to the cloud transcoding service device;

云转码服务设备,配置为对多媒体文件进行转码,并将转码后的多媒体文件发送至终端设备。 The cloud transcoding service device is configured to transcode the multimedia file and send the transcoded multimedia file to the terminal device.

上述实现方案中,所述系统还包括:带宽检测设备,配置为在转码后多媒体文件播放过程中,检测终端设备与云转码服务设备之间的带宽、或终端设备与视频服务器之间的带宽,并根据检测结果调整播放多媒体文件使用的带宽。In the above implementation, the system further includes: a bandwidth detecting device configured to detect a bandwidth between the terminal device and the cloud transcoding service device during the multimedia file playing process after transcoding, or between the terminal device and the video server Bandwidth, and adjust the bandwidth used to play multimedia files according to the detection result.

上述实现方案中,所述终端设备,配置为将自身的解码能力、带宽属性发送给视频服务器;In the above implementation, the terminal device is configured to send its decoding capability and bandwidth attribute to the video server.

所述视频服务器,配置为接收终端设备发送的解码能力和带宽属性,判断多媒体文件的编解码协议标准与终端设备支持的编解码协议标准是否匹配,并在判断结果为不匹配时,确定需要对多媒体文件进行转码,向云转码服务设备发送多媒体文件转码请求;The video server is configured to receive the decoding capability and the bandwidth attribute sent by the terminal device, determine whether the codec protocol standard of the multimedia file matches the codec protocol standard supported by the terminal device, and determine that the pair needs to be correct when the judgment result is not matched. The multimedia file is transcoded, and the multimedia file transcoding request is sent to the cloud transcoding service device;

所述云转码服务设备,还配置为接收多媒体文件转码请求。The cloud transcoding service device is further configured to receive a multimedia file transcoding request.

上述实现方案中,所述终端设备,配置为将自身的解码能力、带宽属性发送给视频服务器;还配置为接收视频服务器发送的通知,并向所述云转码服务设备发送多媒体文件转码请求;In the above implementation, the terminal device is configured to send its own decoding capability and bandwidth attribute to the video server, and is configured to receive a notification sent by the video server, and send a multimedia file transcoding request to the cloud transcoding service device. ;

所述视频服务器,配置为接收终端设备发送的解码能力和带宽属性,判断多媒体文件的编解码协议标准与终端设备支持的编解码协议标准是否匹配,并在判断结果为不匹配时,确定需要对多媒体文件进行转码,通知终端设备;The video server is configured to receive the decoding capability and the bandwidth attribute sent by the terminal device, determine whether the codec protocol standard of the multimedia file matches the codec protocol standard supported by the terminal device, and determine that the pair needs to be correct when the judgment result is not matched. The multimedia file is transcoded to notify the terminal device;

所述云转码服务设备,还配置为接收多媒体文件转码请求。The cloud transcoding service device is further configured to receive a multimedia file transcoding request.

上述实现方案中,所述云转码服务设备对多媒体文件进行转码包括:In the foregoing implementation, the transcoding the multimedia file by the cloud transcoding service device includes:

所述云转码服务设备根据获取终端设备的解码能力、带宽属性和视频数据参数计算得到转码参数对多媒体文件进行转码。The cloud transcoding service device calculates a transcoding parameter to perform transcoding on the multimedia file according to the decoding capability, the bandwidth attribute, and the video data parameter of the acquiring terminal device.

本发明实施例还提供了一种计算机存储介质,所述计算机存储介质存储有计算机程序,该计算机程序用于执行本发明实施例的上述多媒体文件播放方法。 The embodiment of the present invention further provides a computer storage medium, where the computer storage medium stores a computer program, and the computer program is used to execute the multimedia file playing method of the embodiment of the present invention.

本发明实施例所提供的多媒体文件播放方法、系统、云转码服务设备及存储介质,终端设备发送自身的解码能力和带宽属性并请求视频服务,根据终端设备的解码能力和带宽属性确定需要对多媒体文件进行转码后,云转码服务设备对多媒体文件进行转码,并将转码后的多媒体文件发送给终端设备进行解码播放,如此,能使支持低端编解码协议标准的终端设备播放高端编解码协议标准的多媒体文件。The multimedia file playing method and system, the cloud transcoding service device and the storage medium provided by the embodiment of the present invention, the terminal device sends its own decoding capability and bandwidth attribute and requests the video service, and determines the need according to the decoding capability and the bandwidth attribute of the terminal device. After the multimedia file is transcoded, the cloud transcoding service device transcodes the multimedia file, and sends the transcoded multimedia file to the terminal device for decoding and playing, so that the terminal device supporting the low-end codec protocol standard can be played. High-end codec protocol standard multimedia files.

本发明实施例中,终端设备内的解码器无需支持多种编解码协议标准便可播放高端编解码协议标准的多媒体文件,这样,能最大限度的节约终端设备成本,降低终端设备的功耗;云转码服务设备根据终端设备的带宽属性调整多媒体文件的转码参数,在保证多媒体文件流畅播放的同时减少多媒体文件图像的失真。In the embodiment of the present invention, the decoder in the terminal device can play the multimedia file of the high-end codec protocol standard without supporting multiple codec protocol standards, thereby maximizing the cost of the terminal device and reducing the power consumption of the terminal device; The cloud transcoding service device adjusts the transcoding parameters of the multimedia file according to the bandwidth attribute of the terminal device, and reduces the distortion of the multimedia file image while ensuring the smooth playback of the multimedia file.

本发明实施例中,会在转码后多媒体文件播放过程中检测终端设备与云转码服务设备之间的带宽,并根据检测结果调整播放多媒体文件使用的带宽;如此,能充分利用网络带宽,使用户能够享受与网络带宽相适应的视频清晰度和流畅性。In the embodiment of the present invention, the bandwidth between the terminal device and the cloud transcoding service device is detected during the multimedia file playback process after the transcoding, and the bandwidth used for playing the multimedia file is adjusted according to the detection result; thus, the network bandwidth can be fully utilized. Enable users to enjoy video clarity and fluency that is compatible with network bandwidth.

附图说明DRAWINGS

图1为本发明实施例多媒体文件播放方法的基本处理流程示意图;1 is a schematic flowchart of a basic processing procedure of a multimedia file playing method according to an embodiment of the present invention;

图2为本发明实施例1多媒体文件播放方法的具体实现流程示意图;2 is a schematic flowchart of a specific implementation process of a multimedia file playing method according to Embodiment 1 of the present invention;

图3为调整设置带宽后本发明实施例1多媒体文件播放方法的具体实现流程示意图;3 is a schematic diagram of a specific implementation process of a multimedia file playing method according to Embodiment 1 of the present invention after adjusting a bandwidth setting;

图4为本发明实施例1多媒体文件播放系统的组成结构示意图;4 is a schematic structural diagram of a multimedia file playing system according to Embodiment 1 of the present invention;

图5为本发明实施例2多媒体文件播放方法的具体实现流程示意图;FIG. 5 is a schematic flowchart of a specific implementation process of a multimedia file playing method according to Embodiment 2 of the present invention; FIG.

图6为调整设置带宽后本发明实施例2多媒体文件播放方法的具体实现流程示意图;FIG. 6 is a schematic flowchart of a specific implementation process of a multimedia file playing method according to Embodiment 2 of the present invention after adjusting a set bandwidth;

图7为本发明实施例2多媒体文件播放系统的组成结构示意图; 7 is a schematic structural diagram of a multimedia file playing system according to Embodiment 2 of the present invention;

图8为本发明实施例云转码服务设备的组成结构示意图。FIG. 8 is a schematic structural diagram of a structure of a cloud transcoding service device according to an embodiment of the present invention.

具体实施方式detailed description

本发明实施例中,终端设备发送自身的解码能力和带宽属性并请求视频服务;根据终端设备的解码能力和带宽属性确定需要对多媒体文件进行转码;云转码服务设备对多媒体文件进行转码,并将转码后的多媒体文件发送给终端设备,终端设备对转码后多媒体文件解码并播放。In the embodiment of the present invention, the terminal device sends its own decoding capability and bandwidth attribute and requests the video service; according to the decoding capability and the bandwidth attribute of the terminal device, it is determined that the multimedia file needs to be transcoded; the cloud transcoding service device transcodes the multimedia file. And transmitting the transcoded multimedia file to the terminal device, and the terminal device decodes and plays the transcoded multimedia file.

进一步的,在转码后多媒体文件播放过程中,可由带宽检测设备检测终端设备与云转码服务设备之间的带宽、或终端设备与视频服务器之间的带宽,并根据检测结果调整播放多媒体文件使用的带宽。Further, in the process of playing the multimedia file after transcoding, the bandwidth detecting device may detect the bandwidth between the terminal device and the cloud transcoding service device, or the bandwidth between the terminal device and the video server, and adjust the playing multimedia file according to the detection result. The bandwidth used.

这里,终端设备向视频服务器发送自身的解码能力和带宽属性并请求视频服务;Here, the terminal device sends its own decoding capability and bandwidth attribute to the video server and requests a video service;

当终端设备将自身解码能力和带宽属性发送给视频服务器时,相应的,所述根据终端设备的解码能力和带宽属性确定需要对多媒体文件进行转码包括:所述视频服务器接收到终端设备发送的解码能力和带宽属性后,判断多媒体文件的编解码协议标准与终端设备支持的编解码协议标准是否匹配,判断结果为不匹配时,确定需要对多媒体文件进行转码,视频服务器向云转码服务设备发送多媒体文件转码请求,云转码服务设备接收到多媒体文件转码请求后,对多媒体文件进行转码;When the terminal device sends the decoding capability and the bandwidth attribute to the video server, correspondingly, determining, according to the decoding capability and the bandwidth attribute of the terminal device, that the multimedia file needs to be transcoded includes: the video server receiving the sending by the terminal device After the decoding capability and the bandwidth attribute, it is determined whether the codec protocol standard of the multimedia file matches the codec protocol standard supported by the terminal device, and if the judgment result is a mismatch, it is determined that the multimedia file needs to be transcoded, and the video server transmits the code to the cloud. The device sends a multimedia file transcoding request, and after receiving the multimedia file transcoding request, the cloud transcoding service device transcodes the multimedia file;

其中,当确定需要对多媒体文件进行转码后,也可以不由视频服务器向云转码服务设备发送多媒体文件转码请求,而是由视频服务器通知终端设备,由终端设备向云转码服务设备发送多媒体文件转码请求。After determining that the multimedia file needs to be transcoded, the video server may not send the multimedia file transcoding request to the cloud transcoding service device, but the video server notifies the terminal device, and the terminal device sends the multimedia file to the cloud transcoding service device. Multimedia file transcoding request.

所述云转码服务设备对多媒体文件进行转码包括:云转码服务设备从视频服务器获取多媒体文件,根据终端设备的解码能力、带宽属性和视频数据参数计算得到转码参数,并将转码后多媒体文件发送给终端设备解码并播放。 Transmitting the multimedia file by the cloud transcoding service device includes: the cloud transcoding service device acquires the multimedia file from the video server, calculates a transcoding parameter according to the decoding capability, the bandwidth attribute, and the video data parameter of the terminal device, and converts the code The post multimedia file is sent to the terminal device for decoding and playback.

这里,所述视频数据参数和转码参数均包括码率、帧率、分辨率、编解码格式、I帧间隔、宽高比、扫描类型、及帧编码/场编码等。Here, the video data parameters and transcoding parameters include a code rate, a frame rate, a resolution, a codec format, an I frame interval, an aspect ratio, a scan type, and a frame coding/field coding.

根据终端设备的解码能力、带宽属性和视频数据参数计算得到转码参数具体为:According to the decoding capability, bandwidth attribute and video data parameters of the terminal device, the transcoding parameters are calculated as follows:

设置计算转码参数时使用的终端设备的解码能力、带宽属性和视频数据参数的优先级,即:设置终端设备的解码能力为第一优先级,终端设备支持的编码参数作为使用的编码参数。The priority of the decoding capability, the bandwidth attribute, and the video data parameter of the terminal device used when calculating the transcoding parameter is set, that is, the decoding capability of the terminal device is set to be the first priority, and the encoding parameter supported by the terminal device is used as the encoding parameter used.

设置带宽属性为第二优先级,根据带宽属性调整多媒体文件的码率和帧率大小,具体的:网络带宽低时,根据编码格式采用压缩率较高的编码属性,达到调整码率和帧率大小的目的;网络带宽充足时,适当增加码率和帧率,增大多媒体文件的清晰度和流畅度,以提高用户体验。The bandwidth attribute is set to the second priority, and the code rate and the frame rate of the multimedia file are adjusted according to the bandwidth attribute. Specifically, when the network bandwidth is low, the coding attribute with a higher compression rate is used according to the coding format, and the adjustment code rate and the frame rate are achieved. The purpose of size; when the network bandwidth is sufficient, increase the bit rate and frame rate appropriately, and increase the clarity and smoothness of multimedia files to improve the user experience.

设置视频数据参数为第三优先级,在没有编码格式转换时,只需考虑终端设备的解码能力和带宽属性导致的视频数据参数的修改,其他视频数据参数保持不变。Set the video data parameter to the third priority. When there is no encoding format conversion, only the modification of the video data parameters caused by the decoding capability and bandwidth attribute of the terminal device is considered, and other video data parameters remain unchanged.

需要说明的是,本发明实施例中所述的终端设备不仅限于机顶盒,凡是具有多媒体文件播放功能的终端设备都可以适用于本发明的多媒体文件播放方法,都应属于本发明要保护的终端设备范围内。It should be noted that the terminal device in the embodiment of the present invention is not limited to the set top box, and all the terminal devices having the multimedia file playing function can be applied to the multimedia file playing method of the present invention, and all belong to the terminal device to be protected by the present invention. Within the scope.

本发明实施例多媒体文件播放方法的基本处理流程如图1所示,包括以下步骤:The basic processing flow of the multimedia file playing method in the embodiment of the present invention is as shown in FIG. 1 , and includes the following steps:

步骤101,终端设备发送自身的解码能力和带宽属性并请求视频服务;Step 101: The terminal device sends its own decoding capability and bandwidth attribute and requests a video service.

这里,终端设备向视频服务器发送自身的解码能力和带宽属性并请求视频服务。Here, the terminal device transmits its own decoding capability and bandwidth attribute to the video server and requests a video service.

步骤102,根据终端设备的解码能力和带宽属性确定需要对多媒体文件进行转码后,云转码服务设备对多媒体文件转码,并将转码后的多媒体文件发送给终端设备; Step 102: After determining that the multimedia file needs to be transcoded according to the decoding capability and the bandwidth attribute of the terminal device, the cloud transcoding service device transcodes the multimedia file, and sends the transcoded multimedia file to the terminal device.

这里,所述根据终端设备的解码能力和带宽属性确定需要对多媒体文件进行转码包括:Here, the determining, according to the decoding capability and the bandwidth attribute of the terminal device, that the multimedia file needs to be transcoded includes:

视频服务器接收到终端设备发送的解码能力和带宽属性后,判断多媒体文件的编解码协议标准与终端设备支持的编解码协议标准是否匹配,判断结果为不匹配时,确定需要对多媒体文件进行转码,视频服务器向云转码服务器发送多媒体文件转码请求,云转码服务设备接收到多媒体文件转码请求后对多媒体文件进行转码;判断结果为匹配时,由视频服务器直接提供终端设备所请求的视频服务,终端设备解码并播放多媒体文件,结束当前处理流程;After receiving the decoding capability and the bandwidth attribute sent by the terminal device, the video server determines whether the codec protocol standard of the multimedia file matches the codec protocol standard supported by the terminal device, and if the judgment result is a mismatch, it is determined that the multimedia file needs to be transcoded. The video server sends a multimedia file transcoding request to the cloud transcoding server, and the cloud transcoding service device transcodes the multimedia file after receiving the multimedia file transcoding request; when the determination result is a match, the video server directly provides the terminal device to request Video service, the terminal device decodes and plays the multimedia file, and ends the current processing flow;

其中,云转码服务设备对多媒体文件进行转码包括:云转码服务设备从视频服务器获取多媒体文件,根据终端设备的解码能力、带宽属性和视频数据参数计算得到转码参数,对多媒体文件进行转码;并将转码后多媒体文件发送给终端设备解码并播放;The cloud transcoding service device transcodes the multimedia file, including: the cloud transcoding service device obtains the multimedia file from the video server, calculates a transcoding parameter according to the decoding capability, the bandwidth attribute, and the video data parameter of the terminal device, and performs the transcoding parameter on the multimedia file. Transcoding; and the transcoded multimedia file is sent to the terminal device for decoding and playing;

这里,所述视频数据参数和转码参数均包括码率、帧率、分辨率、编解码格式、I帧间隔、宽高比、扫描类型、及帧编码/场编码等。Here, the video data parameters and transcoding parameters include a code rate, a frame rate, a resolution, a codec format, an I frame interval, an aspect ratio, a scan type, and a frame coding/field coding.

具体的,终端设备的网络带宽低时,适当减小多媒体文件的分辨率,采用压缩率高的转码参数,以保证终端设备能够流畅地播放多媒体文件;终端设备的网络带宽充足时,采用压缩率低的转码参数,以保证终端设备在流畅播放多媒体文件的同时,减少图像的失真。Specifically, when the network bandwidth of the terminal device is low, the resolution of the multimedia file is appropriately reduced, and the transcoding parameter with high compression ratio is adopted to ensure that the terminal device can smoothly play the multimedia file; when the network bandwidth of the terminal device is sufficient, compression is adopted. A low-rate transcoding parameter to ensure that the terminal device reduces the distortion of the image while playing the multimedia file smoothly.

步骤103,终端设备对转码后的多媒体文件解码并播放。Step 103: The terminal device decodes and plays the transcoded multimedia file.

在步骤103之后,本发明实施例的方法还可以包括步骤104:在转码后多媒体文件播放过程中,检测终端设备与云转码服务设备之间的带宽,并根据带宽检测结果调整播放多媒体文件使用的带宽。After the step 103, the method of the embodiment of the present invention may further include the step of: detecting the bandwidth between the terminal device and the cloud transcoding service device during the multimedia file playing process after the transcoding, and adjusting the playing multimedia file according to the bandwidth detection result. The bandwidth used.

下面结合附图和具体实施例对本发明的技术方案进一步详细阐述。The technical solutions of the present invention are further elaborated below in conjunction with the accompanying drawings and specific embodiments.

本发明实施例1多媒体文件播放方法的具体实现流程如图2所示,本 实施例中,终端设备将自身的解码能力和带宽属性发送给视频服务器,包括以下步骤:The specific implementation process of the multimedia file playing method in the embodiment 1 of the present invention is shown in FIG. 2, In an embodiment, the terminal device sends its decoding capability and bandwidth attribute to the video server, including the following steps:

步骤201,终端设备向视频服务器发送自身的解码能力和带宽属性并请求视频服务。Step 201: The terminal device sends its own decoding capability and bandwidth attribute to the video server and requests a video service.

步骤202~203,视频服务器判断多媒体文件的编解码协议标准与终端设备支持的编解码协议标准是否匹配,判断结果为匹配时,视频服务器直接提供终端设备所请求的视频服务,终端设备解码并播放多媒体文件,结束当前处理流程;判断结果为不匹配时,执行步骤204。Steps 202 to 203, the video server determines whether the codec protocol standard of the multimedia file matches the codec protocol standard supported by the terminal device, and when the judgment result is a match, the video server directly provides the video service requested by the terminal device, and the terminal device decodes and plays the video device. The multimedia file ends the current processing flow; when the determination result is a mismatch, step 204 is performed.

步骤204,视频服务器向云转码服务设备发送多媒体文件转码请求;Step 204: The video server sends a multimedia file transcoding request to the cloud transcoding service device.

具体的,视频服务器向云转码服务设备发送多媒体文件转码请求时,向云转码服务设备提供终端设备的解码能力、带宽属性和转码后数据的统一资源定位符(URL,Uniform Resource Locator)地址。Specifically, when the video server sends the multimedia file transcoding request to the cloud transcoding service device, the cloud transcoding service device is provided with the decoding capability, the bandwidth attribute, and the uniform resource locator of the transcoded data (URL, Uniform Resource Locator) )address.

步骤205,云转码服务设备对多媒体文件进行转码,并将转码后的多媒体文件发送到指定的URL地址;Step 205: The cloud transcoding service device transcodes the multimedia file, and sends the transcoded multimedia file to the specified URL address.

具体的,云转码服务设备从视频服务器获取多媒体文件,根据终端设备的解码能力、带宽属性和视频数据参数计算得到转码参数,对多媒体文件进行转码,并将转码后的数据发送到指定的URL地址;Specifically, the cloud transcoding service device obtains the multimedia file from the video server, calculates a transcoding parameter according to the decoding capability, the bandwidth attribute, and the video data parameter of the terminal device, transcodes the multimedia file, and sends the transcoded data to the The specified URL address;

这里,当终端设备的网络带宽低时,适当减小多媒体文件的分辨率,采用压缩率高的转码参数,以保证终端设备能够流畅地播放多媒体文件;当终端设备的网络带宽充足时,采用压缩率低的转码参数,以保证终端设备在流畅播放多媒体文件的同时,减少图像的失真。Here, when the network bandwidth of the terminal device is low, the resolution of the multimedia file is appropriately reduced, and the transcoding parameter with high compression ratio is adopted to ensure that the terminal device can smoothly play the multimedia file; when the network bandwidth of the terminal device is sufficient, A transcoding parameter with a low compression ratio to ensure that the terminal device reduces the distortion of the image while playing the multimedia file smoothly.

步骤206,视频服务器向终端设备发送URL地址;Step 206: The video server sends a URL address to the terminal device.

这里,视频服务器向终端设备发送URL地址可以与视频服务器向云转码服务设备请求转码同时进行,也就是说,步骤206与步骤204可以同步执行。 Here, the sending of the URL address by the video server to the terminal device may be performed simultaneously with the video server requesting the transcoding from the cloud transcoding service device, that is, step 206 and step 204 may be performed simultaneously.

步骤207,终端设备获取URL地址后,从URL地址获取转码后的多媒体文件并解码播放。Step 207: After obtaining the URL address, the terminal device obtains the transcoded multimedia file from the URL address and decodes and plays the file.

在步骤207之后,本发明实施例1的方法还包括步骤208:在转码后多媒体文件播放过程中,检测终端设备与视频服务器之间的带宽,并根据检测结果实时调整播放多媒体文件使用的带宽;After the step 207, the method of the first embodiment of the present invention further includes the step 208: detecting the bandwidth between the terminal device and the video server during the multimedia file playing process after the transcoding, and adjusting the bandwidth used for playing the multimedia file in real time according to the detection result. ;

这里,检测带宽可由带宽检测设备完成;带宽检测设备可分别集成于终端设备和视频服务器内部、或作为独立的设备存在;Here, the detection bandwidth may be completed by the bandwidth detecting device; the bandwidth detecting device may be integrated into the terminal device and the video server, respectively, or exist as a separate device;

具体的,检测到实际网络带宽小于用户设置希望播放视频时使用的带宽,增大设置的带宽;或忽略用户设置的带宽,使用实际的网络带宽与用户设置的带宽匹配,防止用户设置的带宽大于实际的带宽时,由于传递错误的参数导致视频播放出现异常的情况发生;Specifically, it is detected that the actual network bandwidth is smaller than the bandwidth used by the user to set the video to be played, and the set bandwidth is increased; or the bandwidth set by the user is ignored, and the actual network bandwidth is matched with the bandwidth set by the user to prevent the bandwidth set by the user from being larger than In the actual bandwidth, the video playback is abnormal due to the error parameter being transmitted;

检测到实际网络带宽大于用户设置希望播放视频时使用的带宽,减小设置的带宽,使实际网络带宽与用户设置的带宽匹配,以便有效利用多媒体文件播放时多余的网络带宽。It is detected that the actual network bandwidth is greater than the bandwidth used by the user to set the video to be played, and the set bandwidth is reduced, so that the actual network bandwidth matches the bandwidth set by the user, so as to effectively utilize the excess network bandwidth when the multimedia file is played.

调整设置的带宽后本发明实施例1多媒体文件播放方法的具体实现流程如图3所示,包括以下步骤:After the set bandwidth is adjusted, the specific implementation process of the multimedia file playing method in Embodiment 1 of the present invention is as shown in FIG. 3, and includes the following steps:

步骤301,终端设备向视频服务器发送用户更新的带宽。Step 301: The terminal device sends the user updated bandwidth to the video server.

步骤302~303,视频服务器判断转码参数与更新的带宽是否匹配,判断结果为匹配时,视频服务器直接提供终端设备所请求的视频服务,终端设备解码并播放多媒体文件,结束当前处理流程;判断结果为不匹配时,执行步骤304。Steps 302-303, the video server determines whether the transcoding parameter matches the updated bandwidth. When the judgment result is a match, the video server directly provides the video service requested by the terminal device, and the terminal device decodes and plays the multimedia file, and ends the current processing flow; If the result is a mismatch, step 304 is performed.

步骤304,转码服务设备重新调整转码参数;Step 304: The transcoding service device re-adjusts the transcoding parameter.

具体的,所述重新调整转码参数为调整转码参数的码率和帧率,云转码服务设备可以根据用户需要选择画面清晰度(码率)优先原则或者画面流畅度(帧率)优先原则;选择画面清晰度优先原则时,则调整多媒体参 数的码率来匹配设置的带宽;选择画面流畅度优先原则时,则通过调整多媒体参数的帧率来匹配设置的带宽。Specifically, the re-adjusting transcoding parameter is to adjust a code rate and a frame rate of the transcoding parameter, and the cloud transcoding service device can select a picture definition (code rate) priority principle or a picture fluency (frame rate) according to a user requirement. Principle; when selecting the picture clarity priority principle, adjust the multimedia parameters The code rate of the number matches the set bandwidth; when the picture fluency priority principle is selected, the set bandwidth is matched by adjusting the frame rate of the multimedia parameter.

步骤305~307,处理操作与步骤205~207相同,这里不再赘述。Steps 305-307, the processing operations are the same as steps 205-207, and are not described herein again.

为实现上述多媒体文件播放方法,本发明实施例1多媒体文件播放系统的组成结构如图4所示,该系统包括:终端设备10、视频服务器20和云转码服务设备30;其中,As shown in FIG. 4, the system structure of the multimedia file playing system of the first embodiment of the present invention includes: a terminal device 10, a video server 20, and a cloud transcoding service device 30;

终端设备10,配置为向视频服务器20发送自身的解码能力和网络带宽并请求视频服务;接收转码后的多媒体文件并解码播放;The terminal device 10 is configured to send its own decoding capability and network bandwidth to the video server 20 and request a video service; receive the transcoded multimedia file and decode and play the video file;

视频服务器20,配置为接收终端设备10发送的解码能力和带宽属性;判断多媒体文件的编解码协议标准与终端设备支持的编解码协议标准是否匹配,并在判断结果为不匹配时,向云转码服务设备30发送包含终端设备的解码能力和网络带宽的多媒体文件转码请求;The video server 20 is configured to receive the decoding capability and the bandwidth attribute sent by the terminal device 10, determine whether the codec protocol standard of the multimedia file matches the codec protocol standard supported by the terminal device, and when the determination result is not matched, The code service device 30 transmits a multimedia file transcoding request including the decoding capability of the terminal device and the network bandwidth;

视频服务器20,还配置为向终端设备10发送转码后多媒体文件的URL地址;The video server 20 is further configured to send the URL address of the transcoded multimedia file to the terminal device 10;

云转码服务设备30,配置为接收视频服务器20发送的多媒体文件转码请求,对多媒体文件进行转码,并将转码后的多媒体文件发送至终端设备10;The cloud transcoding service device 30 is configured to receive a multimedia file transcoding request sent by the video server 20, transcode the multimedia file, and send the transcoded multimedia file to the terminal device 10;

本发明实施例1多媒体文件播放系统进一步包括:带宽检测设备,配置为在转码后多媒体文件播放过程中,检测终端设备与视频服务器之间的带宽,并根据检测结果调整播放多媒体文件使用的带宽;The multimedia file playing system of the embodiment 1 of the present invention further includes: a bandwidth detecting device configured to detect a bandwidth between the terminal device and the video server during the multimedia file playing process after transcoding, and adjust a bandwidth used for playing the multimedia file according to the detection result. ;

带宽检测设备可分别集成于终端设备和视频服务器内部、或作为独立的设备存在。The bandwidth detecting device may be integrated inside the terminal device and the video server, respectively, or as a separate device.

本实施例中,所述播放转码后的多媒体文件可以是终端设备10直接播放;也可以采用专门的显示设备播放,由终端设备10将解码结果发送给显示设备,由显示设备播放。 In this embodiment, the multimedia file after the transcoding can be directly played by the terminal device 10; or can be played by using a special display device, and the decoding result is sent by the terminal device 10 to the display device, and played by the display device.

本发明实施例2多媒体文件播放方法的具体实现流程如图5所示,本实施例中,终端设备将自身的解码能力和带宽属性发送给视频服务器,包括以下步骤:As shown in FIG. 5, in the embodiment, the terminal device sends its decoding capability and bandwidth attribute to the video server, including the following steps:

步骤501,终端设备向视频服务器发送自身的解码能力和带宽属性并请求视频服务。Step 501: The terminal device sends its own decoding capability and bandwidth attribute to the video server and requests a video service.

步骤502~503,视频服务器判断多媒体文件的编解码协议标准与终端设备支持的编解码协议标准是否匹配,判断结果为匹配时,视频服务器直接提供终端设备所请求的视频服务,终端设备解码并播放多媒体文件,结束当前处理流程;判断结果为不匹配时,执行步骤504。Steps 502 to 503, the video server determines whether the codec protocol standard of the multimedia file matches the codec protocol standard supported by the terminal device, and when the judgment result is a match, the video server directly provides the video service requested by the terminal device, and the terminal device decodes and plays the video device. The multimedia file ends the current processing flow; when the determination result is a mismatch, step 504 is performed.

步骤504,视频服务器向终端设备发送多媒体文件的编解码协议标准与终端设备支持的编解码协议标准不匹配的判断结果和转码后数据的URL地址。Step 504: The video server sends, to the terminal device, a judgment result that the codec protocol standard of the multimedia file does not match the codec protocol standard supported by the terminal device, and a URL address of the data after the transcoding.

步骤505,终端设备向云转码服务设备发送多媒体文件转码请求;Step 505: The terminal device sends a multimedia file transcoding request to the cloud transcoding service device.

具体的,终端设备向云转码服务设备请求转码时,向云转码服务设备提供终端设备的解码能力、带宽属性和转码后数据的URL地址。Specifically, when the terminal device requests the transcoding from the cloud transcoding service device, the terminal device provides the cloud transcoding service device with the decoding capability, the bandwidth attribute, and the URL address of the transcoded data.

步骤506,云转码服务设备收到多媒体文件转码请求后,对多媒体文件进行转码,并向终端设备发送转码后的多媒体文件;Step 506: After receiving the multimedia file transcoding request, the cloud transcoding service device transcodes the multimedia file, and sends the transcoded multimedia file to the terminal device.

具体的,云转码服务设备从视频服务器获取多媒体文件,根据终端设备的解码能力、带宽属性和视频数据参数计算得到的转码参数,对多媒体文件进行转码,并向终端设备发送转码后的多媒体文件;Specifically, the cloud transcoding service device obtains the multimedia file from the video server, transcodes the multimedia file according to the decoding capability, the bandwidth attribute, and the video data parameter calculated by the terminal device, and sends the transcode to the terminal device. Multimedia file

这里,当终端设备的网络带宽低时,适当减小多媒体文件的分辨率,采用压缩率高的转码参数,保证网络带宽低的终端设备能够流畅的播放多媒体文件;当终端设备的网络带宽充足时,采用压缩率低的转码参数,保证流畅播放多媒体文件的同时,减少图像的失真。Here, when the network bandwidth of the terminal device is low, the resolution of the multimedia file is appropriately reduced, and the transcoding parameter with high compression ratio is adopted to ensure that the terminal device with low network bandwidth can smoothly play the multimedia file; when the network bandwidth of the terminal device is sufficient At the same time, the transcoding parameters with low compression ratio are adopted to ensure smooth playback of multimedia files and reduce image distortion.

步骤507,终端设备获取转码后的多媒体文件并解码播放。 Step 507: The terminal device acquires the transcoded multimedia file and decodes and plays the multimedia file.

在步骤507之后,本发明实施例2的方法还包括步骤508:在转码后多媒体文件播放过程中,检测终端设备与云转码服务设备之间的带宽,并根据带宽检测结果实时调整播放多媒体文件使用的带宽;After the step 507, the method of the embodiment 2 of the present invention further includes the step 508: detecting the bandwidth between the terminal device and the cloud transcoding service device during the multimedia file playing process after the transcoding, and adjusting the playing multimedia in real time according to the bandwidth detection result. The bandwidth used by the file;

这里,检测带宽可由带宽检测设备完成;带宽检测设备可分别集成于终端设备和云转码服务设备内部,或作为独立的设备存在;Here, the detection bandwidth may be completed by the bandwidth detecting device; the bandwidth detecting device may be integrated into the terminal device and the cloud transcoding service device respectively, or exist as an independent device;

具体的,检测到实际网络带宽小于用户设置希望播放视频时使用的带宽,增大设置的带宽;或忽略用户设置的带宽,使用实际的网络带宽与用户设置的带宽匹配,防止用户设置的带宽大于实际的带宽时,由于传递错误的参数导致视频播放出现异常的情况发生;Specifically, it is detected that the actual network bandwidth is smaller than the bandwidth used by the user to set the video to be played, and the set bandwidth is increased; or the bandwidth set by the user is ignored, and the actual network bandwidth is matched with the bandwidth set by the user to prevent the bandwidth set by the user from being larger than In the actual bandwidth, the video playback is abnormal due to the error parameter being transmitted;

检测到实际网络带宽大于用户设置希望播放视频时使用的带宽,减小设置的带宽,使实际网络带宽值与用户设置的带宽匹配,以便有效利用多媒体文件播放时多余的网络带宽。It is detected that the actual network bandwidth is greater than the bandwidth used by the user to set the video to be played, and the set bandwidth is reduced, so that the actual network bandwidth value matches the bandwidth set by the user, so as to effectively utilize the excess network bandwidth when the multimedia file is played.

调整设置的带宽后本发明实施例2多媒体文件播放方法的具体实现流程如图6所示,包括以下步骤:After the set bandwidth is adjusted, the specific implementation process of the multimedia file playing method in Embodiment 2 of the present invention is as shown in FIG. 6, and includes the following steps:

步骤601,终端设备向视频服务器发送用户更新的带宽。Step 601: The terminal device sends the updated bandwidth of the user to the video server.

步骤602,转码服务设备重新调整转码参数;Step 602: The transcoding service device re-adjusts the transcoding parameter.

具体的,所述重新调整转码参数为调整转码参数的码率和帧率,云转码服务设备可以根据用户需要选择画面清晰度(码率)优先原则或者画面流畅度(帧率)优先原则;选择画面清晰度优先原则时,则调整多媒体参数的码率来匹配设置的带宽;选择画面流畅度优先原则时,则通过调整多媒体参数的帧率来匹配设置的带宽。Specifically, the re-adjusting transcoding parameter is to adjust a code rate and a frame rate of the transcoding parameter, and the cloud transcoding service device can select a picture definition (code rate) priority principle or a picture fluency (frame rate) according to a user requirement. Principle; When the picture sharpness priority principle is selected, the code rate of the multimedia parameter is adjusted to match the set bandwidth; when the picture fluency priority principle is selected, the set bandwidth is matched by adjusting the frame rate of the multimedia parameter.

步骤603~604,处理操作与步骤506~507相同,这里不再赘述。。Steps 603-604, the processing operations are the same as steps 506-507, and are not described herein again. .

为实现上述多媒体文件播放方法,本发明实施例还提供了一种多媒体文件播放系统,如图7所示,该系统包括:终端设备10、视频服务器20和云转码服务设备30;其中, In order to implement the above multimedia file playing method, the embodiment of the present invention further provides a multimedia file playing system. As shown in FIG. 7, the system includes: a terminal device 10, a video server 20, and a cloud transcoding service device 30;

终端设备10,配置为向视频服务器20发送自身的解码能力和网络带宽并请求视频服务;接收转码后的多媒体文件并解码播放;The terminal device 10 is configured to send its own decoding capability and network bandwidth to the video server 20 and request a video service; receive the transcoded multimedia file and decode and play the video file;

终端设备10,还配置为接收多媒体文件的编解码协议标准与终端设备支持的编解码协议标准不匹配的判断结果和转码后数据的URL地址;向云转码服务设备30发送包含终端设备的解码能力、带宽属性和转码后数据的URL地址的多媒体文件转码请求;The terminal device 10 is further configured to receive a judgment result that the codec protocol standard of the multimedia file does not match the codec protocol standard supported by the terminal device, and a URL address of the data after the transcoding; and send the terminal device to the cloud transcoding service device 30. a multimedia file transcoding request for decoding capability, bandwidth attribute, and URL address of the transcoded data;

视频服务器20,配置为接收终端设备10发送的解码能力和带宽属性;判断多媒体文件的编解码协议标准与终端设备支持的编解码协议标准是否匹配,并在判断结果为不匹配时,向终端设备10发送匹配结果及转码后数据的URL地址;The video server 20 is configured to receive the decoding capability and the bandwidth attribute sent by the terminal device 10, determine whether the codec protocol standard of the multimedia file matches the codec protocol standard supported by the terminal device, and when the determination result is a mismatch, the terminal device 10 Send the matching result and the URL address of the data after transcoding;

云转码服务设备30,配置为接收视频服务器20发送的多媒体文件转码请求,对多媒体文件转码,并将转码后的多媒体文件发送至终端设备10;The cloud transcoding service device 30 is configured to receive a multimedia file transcoding request sent by the video server 20, transcode the multimedia file, and send the transcoded multimedia file to the terminal device 10;

本发明实施例2多媒体文件播放系统进一步包括:带宽检测设备,配置为在转码后多媒体文件播放过程中,检测终端设备与云转码服务设备之间的带宽,并根据检测结果调整播放多媒体文件使用的带宽;The multimedia file playing system of the embodiment 2 of the present invention further includes: a bandwidth detecting device configured to detect a bandwidth between the terminal device and the cloud transcoding service device during the multimedia file playing process after transcoding, and adjust the playing multimedia file according to the detection result. Bandwidth used;

带宽检测设备可分别集成于终端设备和云转码服务设备内部、或作为独立的设备存在。The bandwidth detecting device may be integrated inside the terminal device and the cloud transcoding service device, respectively, or exist as a separate device.

本实施例中,所述播放转码后的多媒体文件可以是终端设备10直接播放;也可以采用专门的显示设备播放,由终端设备10将解码结果发送给显示设备,由显示设备播放。In this embodiment, the multimedia file after the transcoding can be directly played by the terminal device 10; or can be played by using a special display device, and the decoding result is sent by the terminal device 10 to the display device, and played by the display device.

本发明实施例提供一种云转码服务设备的组成结构示如图8所示,包括:数据接收模块81、参数匹配计算模块82、转码模块83、和发布模块84;其中,The embodiment of the present invention provides a structure of a cloud transcoding service device as shown in FIG. 8 , which includes: a data receiving module 81 , a parameter matching calculation module 82 , a transcoding module 83 , and a publishing module 84 ;

数据接收模块81,配置为接收多媒体文件数据和终端设备的解码能力及带宽属性; The data receiving module 81 is configured to receive the multimedia file data and the decoding capability and the bandwidth attribute of the terminal device;

参数匹配计算模块82,配置为根据获取的终端设备的解码能力、带宽属性和多媒体文件数中的视频数据参数计算转码参数;The parameter matching calculation module 82 is configured to calculate a transcoding parameter according to the obtained decoding capability, the bandwidth attribute, and the video data parameter in the multimedia file number of the terminal device;

转码模块83,配置为根据所述转码参数对多媒体文件进行转码;The transcoding module 83 is configured to transcode the multimedia file according to the transcoding parameter;

发布模块84,配置为发布转码后的多媒体文件数据。The publishing module 84 is configured to release the transcoded multimedia file data.

本发明实施例中提出的云转码服务设备中的数据接收模块81、参数匹配计算模块82、转码模块83和发布模块84都可以通过处理器来实现,当然也可通过具体的逻辑电路实现;其中所述处理器可以是位于云转码服务设备上的服务器,在实际应用中,处理器可以为中央处理器(CPU)、微处理器(MPU)、数字信号处理器(DSP)或现场可编程门阵列(FPGA)等。The data receiving module 81, the parameter matching calculation module 82, the transcoding module 83, and the issuing module 84 in the cloud transcoding service device proposed in the embodiment of the present invention may all be implemented by a processor, and may also be implemented by a specific logic circuit. The processor may be a server located on a cloud transcoding service device. In practical applications, the processor may be a central processing unit (CPU), a microprocessor (MPU), a digital signal processor (DSP), or a field. Programmable Gate Array (FPGA), etc.

本发明实施例中,如果以软件功能模块的形式实现上述多媒体文件播放方法,并作为独立的产品销售或使用时,也可以存储在一个计算机可读取存储介质中。基于这样的理解,本发明实施例的技术方案本质上或者说对现有技术做出贡献的部分可以以软件产品的形式体现出来,该计算机软件产品存储在一个存储介质中,包括若干指令用以使得一台计算机设备(可以是个人计算机、服务器、或者网络设备等)执行本发明各个实施例所述方法的全部或部分。而前述的存储介质包括:U盘、移动硬盘、只读存储器(Read Only Memory,ROM)、磁碟或者光盘等各种可以存储程序代码的介质。这样,本发明实施例不限制于任何特定的硬件和软件结合。In the embodiment of the present invention, if the above multimedia file playing method is implemented in the form of a software function module and sold or used as a standalone product, it may also be stored in a computer readable storage medium. Based on such understanding, the technical solution of the embodiments of the present invention may be embodied in the form of a software product in essence or in the form of a software product stored in a storage medium, including a plurality of instructions. A computer device (which may be a personal computer, server, or network device, etc.) is caused to perform all or part of the methods described in various embodiments of the present invention. The foregoing storage medium includes various media that can store program codes, such as a USB flash drive, a mobile hard disk, a read only memory (ROM), a magnetic disk, or an optical disk. Thus, embodiments of the invention are not limited to any specific combination of hardware and software.

相应地,本发明实施例还提供一种计算机存储介质,该计算机存储介质中存储有计算机程序,该计算机程序用于执行本发明实施例的上述多媒体文件播放方法。Correspondingly, the embodiment of the present invention further provides a computer storage medium, where the computer storage medium stores a computer program, and the computer program is used to execute the multimedia file playing method of the embodiment of the present invention.

以上所述仅为本发明的较佳实施例而已,并非用于限定本发明的保护范围。 The above is only the preferred embodiment of the present invention and is not intended to limit the scope of the present invention.

Claims (14)

一种多媒体文件播放方法,所述方法包括:A multimedia file playing method, the method comprising: 终端设备发送自身的解码能力和带宽属性并请求视频服务;The terminal device transmits its own decoding capability and bandwidth attribute and requests a video service; 根据终端设备的解码能力和带宽属性确定需要对多媒体文件进行转码;Determining the need to transcode the multimedia file according to the decoding capability and the bandwidth attribute of the terminal device; 云转码服务设备对多媒体文件进行转码,并向终端设备发送转码后多媒体文件;The cloud transcoding service device transcodes the multimedia file, and sends the transcoded multimedia file to the terminal device; 终端设备对转码后多媒体文件解码并播放。The terminal device decodes and plays the multimedia file after transcoding. 根据权利要求1所述多媒体文件播放方法,所述方法还包括:The multimedia file playing method according to claim 1, further comprising: 转码后多媒体文件播放过程中,检测终端设备与云转码服务设备之间的带宽、或终端设备与视频服务器之间的带宽,并根据检测结果调整播放多媒体文件使用的带宽。During the playback of the multimedia file after transcoding, the bandwidth between the terminal device and the cloud transcoding service device, or the bandwidth between the terminal device and the video server is detected, and the bandwidth used for playing the multimedia file is adjusted according to the detection result. 根据权利要求1所述多媒体文件播放方法,其中,所述终端设备将自身的解码能力和带宽属性发送给视频服务器;The multimedia file playing method according to claim 1, wherein the terminal device transmits its own decoding capability and bandwidth attribute to the video server; 所述根据终端设备的解码能力和带宽属性确定需要对多媒体文件进行转码包括:所述视频服务器接收到终端设备发送的解码能力和带宽属性后,判断多媒体文件的编解码协议标准与终端设备支持的编解码协议标准是否匹配,判断结果为不匹配时,确定需要对多媒体文件进行转码,视频服务器向云转码服务设备发送多媒体文件转码请求。Determining that the multimedia file needs to be transcoded according to the decoding capability and the bandwidth attribute of the terminal device includes: after the video server receives the decoding capability and the bandwidth attribute sent by the terminal device, determining the codec protocol standard of the multimedia file and the terminal device support Whether the codec protocol standard matches, and if the judgment result is a mismatch, it is determined that the multimedia file needs to be transcoded, and the video server sends the multimedia file transcoding request to the cloud transcoding service device. 根据权利要求1所述多媒体文件播放方法,其中,所述终端设备将自身的解码能力和带宽属性发送给视频服务器;The multimedia file playing method according to claim 1, wherein the terminal device transmits its own decoding capability and bandwidth attribute to the video server; 所述根据终端设备的解码能力和带宽属性确定需要对多媒体文件进行转码包括:所述视频服务器接收到终端设备发送的解码能力和带宽属性后,判断多媒体文件的编解码协议标准与终端设备支持的编解码协议标准是否 匹配,判断结果为不匹配时,确定需要对多媒体文件进行转码;所述视频服务器通知所述终端设备,所述终端设备向所述云转码服务设备发送多媒体文件转码请求。Determining that the multimedia file needs to be transcoded according to the decoding capability and the bandwidth attribute of the terminal device includes: after the video server receives the decoding capability and the bandwidth attribute sent by the terminal device, determining the codec protocol standard of the multimedia file and the terminal device support Is the codec protocol standard If the matching result is a mismatch, it is determined that the multimedia file needs to be transcoded; the video server notifies the terminal device, and the terminal device sends a multimedia file transcoding request to the cloud transcoding service device. 根据权利要求1至4任一项所述多媒体文件播放方法,其中,所述云转码服务设备对多媒体文件进行转码包括:The multimedia file playing method according to any one of claims 1 to 4, wherein the transcoding the multimedia file by the cloud transcoding service device comprises: 云转码服务设备根据获取终端设备的解码能力、带宽属性和视频数据参数计算得到转码参数,对多媒体文件进行转码。The cloud transcoding service device calculates a transcoding parameter according to the decoding capability, the bandwidth attribute, and the video data parameter of the acquiring terminal device, and transcodes the multimedia file. 一种多媒体文件播放方法,所述方法包括:A multimedia file playing method, the method comprising: 云转码服务设备接收多媒体文件数据和终端设备的解码能力及带宽属性,根据接收的终端设备的解码能力、带宽属性和多媒体文件数据中的视频数据参数计算转码参数,根据所述转码参数对多媒体文件进行转码,并发布转码后的多媒体文件数据。The cloud transcoding service device receives the multimedia file data and the decoding capability and the bandwidth attribute of the terminal device, and calculates a transcoding parameter according to the decoding capability, the bandwidth attribute of the received terminal device, and the video data parameter in the multimedia file data, according to the transcoding parameter Transcode the multimedia file and publish the transcoded multimedia file data. 根据权利要求6所述多媒体文件播放方法,其中,所述方法还包括:接收多媒体文件转码请求。The multimedia file playing method according to claim 6, wherein the method further comprises: receiving a multimedia file transcoding request. 一种云转码服务设备,所述云转码服务设备包括:数据接收模块、参数匹配计算模块、转码模块以及发布模块;其中,A cloud transcoding service device, the cloud transcoding service device includes: a data receiving module, a parameter matching calculation module, a transcoding module, and a publishing module; wherein 数据接收模块,配置为接收多媒体文件数据和终端设备的解码能力及带宽属性;a data receiving module configured to receive multimedia file data and a decoding capability and a bandwidth attribute of the terminal device; 参数匹配计算模块,配置为根据接收的终端设备的解码能力、带宽属性和多媒体文件数据中的视频数据参数计算转码参数;The parameter matching calculation module is configured to calculate a transcoding parameter according to the decoding capability, the bandwidth attribute of the received terminal device, and the video data parameter in the multimedia file data; 转码模块,配置为根据所述转码参数对多媒体文件进行转码;a transcoding module configured to transcode the multimedia file according to the transcoding parameter; 发布模块,配置为发布转码后的多媒体文件数据。The publishing module is configured to release the transcoded multimedia file data. 一种多媒体文件播放系统,所述系统包括:终端设备、视频服务器和云转码服务设备;其中,A multimedia file playing system, the system comprising: a terminal device, a video server, and a cloud transcoding service device; wherein 终端设备,配置为发送自身的解码能力和网络带宽并请求视频服务; 接收转码后的多媒体文件解码并播放;a terminal device configured to transmit its own decoding capability and network bandwidth and request a video service; Receiving and transcoding the transcoded multimedia file; 视频服务器,配置为根据终端设备的解码能力和带宽属性确定是否需要对多媒体文件进行转码,并向云转码服务设备发送多媒体文件转码请求;或接收云转码服务设备的多媒体文件转码请求信息,向云转码服务设备提供多媒体文件;The video server is configured to determine, according to the decoding capability and the bandwidth attribute of the terminal device, whether the multimedia file needs to be transcoded, and send a multimedia file transcoding request to the cloud transcoding service device; or receive the multimedia file transcoding of the cloud transcoding service device. Requesting information to provide multimedia files to the cloud transcoding service device; 云转码服务设备,配置为对多媒体文件进行转码,并将转码后的多媒体文件发送至终端设备。The cloud transcoding service device is configured to transcode the multimedia file and send the transcoded multimedia file to the terminal device. 根据权利要求9所述多媒体文件播放系统,其中,所述系统还包括:The multimedia file playing system of claim 9, wherein the system further comprises: 带宽检测设备,配置为在转码后多媒体文件播放过程中,检测终端设备与云转码服务设备之间的带宽、或终端设备与视频服务器之间的带宽,并根据检测结果调整播放多媒体文件使用的带宽。The bandwidth detecting device is configured to detect a bandwidth between the terminal device and the cloud transcoding service device or a bandwidth between the terminal device and the video server during the multimedia file playing process after the transcoding, and adjust the playing of the multimedia file according to the detection result. Bandwidth. 根据权利要求9所述多媒体文件播放系统,其中,A multimedia file playing system according to claim 9, wherein 所述终端设备,配置为将自身的解码能力、带宽属性发送给视频服务器;The terminal device is configured to send its decoding capability and bandwidth attribute to the video server; 所述视频服务器,配置为接收终端设备发送的解码能力和带宽属性,判断多媒体文件的编解码协议标准与终端设备支持的编解码协议标准是否匹配,并在判断结果为不匹配时,确定需要对多媒体文件进行转码,向云转码服务设备发送多媒体文件转码请求;The video server is configured to receive the decoding capability and the bandwidth attribute sent by the terminal device, determine whether the codec protocol standard of the multimedia file matches the codec protocol standard supported by the terminal device, and determine that the pair needs to be correct when the judgment result is not matched. The multimedia file is transcoded, and the multimedia file transcoding request is sent to the cloud transcoding service device; 所述云转码服务设备,还配置为接收多媒体文件转码请求。The cloud transcoding service device is further configured to receive a multimedia file transcoding request. 根据权利要求9所述多媒体文件播放系统,其中,A multimedia file playing system according to claim 9, wherein 所述终端设备,配置为将自身的解码能力、带宽属性发送给视频服务器;还配置为接收视频服务器发送的通知,并向所述云转码服务设备发送多媒体文件转码请求;The terminal device is configured to send its own decoding capability and bandwidth attribute to the video server, and configured to receive a notification sent by the video server, and send a multimedia file transcoding request to the cloud transcoding service device; 所述视频服务器,配置为接收终端设备发送的解码能力和带宽属性, 判断多媒体文件的编解码协议标准与终端设备支持的编解码协议标准是否匹配,并在判断结果为不匹配时,确定需要对多媒体文件进行转码,通知终端设备;The video server is configured to receive a decoding capability and a bandwidth attribute sent by the terminal device, where Determining whether the codec protocol standard of the multimedia file matches the codec protocol standard supported by the terminal device, and determining that the multimedia file needs to be transcoded to notify the terminal device when the judgment result is not matched; 所述云转码服务设备,还配置为接收多媒体文件转码请求。The cloud transcoding service device is further configured to receive a multimedia file transcoding request. 根据权利要求9至12任一项所述多媒体文件播放系统,其中,所述云转码服务设备对多媒体文件进行转码包括:The multimedia file playing system according to any one of claims 9 to 12, wherein the transcoding the multimedia file by the cloud transcoding service device comprises: 所述云转码服务设备根据获取终端设备的解码能力、带宽属性和视频数据参数计算得到转码参数对多媒体文件进行转码。The cloud transcoding service device calculates a transcoding parameter to perform transcoding on the multimedia file according to the decoding capability, the bandwidth attribute, and the video data parameter of the acquiring terminal device. 一种计算机存储介质,所述计算机存储介质中存储有计算机可执行指令,该计算机可执行指令用于执行权利要求1至5任一项所述的多媒体文件播放方法,和/或权利要求6至7任意一项所述的多媒体文件播放方法。 A computer storage medium having stored therein computer executable instructions for performing the multimedia file playback method of any one of claims 1 to 5, and/or claim 6 The multimedia file playing method according to any one of the preceding claims.
PCT/CN2014/088298 2013-10-10 2014-10-10 Multimedia file playing method and system, cloud transcoding server device and storage medium Ceased WO2015051755A1 (en)

Applications Claiming Priority (2)

Application Number Priority Date Filing Date Title
CN201310470406.1A CN103561279B (en) 2013-10-10 2013-10-10 Method and system for playing multi-media file and cloud transcoding service device
CN201310470406.1 2013-10-10

Publications (1)

Publication Number Publication Date
WO2015051755A1 true WO2015051755A1 (en) 2015-04-16

Family

ID=50015413

Family Applications (1)

Application Number Title Priority Date Filing Date
PCT/CN2014/088298 Ceased WO2015051755A1 (en) 2013-10-10 2014-10-10 Multimedia file playing method and system, cloud transcoding server device and storage medium

Country Status (2)

Country Link
CN (1) CN103561279B (en)
WO (1) WO2015051755A1 (en)

Cited By (7)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN111147859A (en) * 2019-12-31 2020-05-12 视联动力信息技术股份有限公司 Video processing method and device
CN111200580A (en) * 2018-11-16 2020-05-26 深圳市茁壮网络股份有限公司 Player and playing method
US10764396B2 (en) 2017-12-18 2020-09-01 The Directv Group, Inc. Media transcoding based on priority of media
CN113595976A (en) * 2021-06-15 2021-11-02 阿里巴巴新加坡控股有限公司 Multimedia playing method, cloud server, system and storage medium
CN113727144A (en) * 2021-09-02 2021-11-30 中国联合网络通信集团有限公司 High-definition live broadcast system and streaming media method based on mixed cloud
CN116828229A (en) * 2023-08-30 2023-09-29 湖南马栏山视频先进技术研究院有限公司 A transmission method and system for audio and video streams
CN117499721A (en) * 2023-11-16 2024-02-02 上海赛连信息科技有限公司 Multimedia playing method and system thereof

Families Citing this family (29)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN103561279B (en) * 2013-10-10 2017-02-01 中兴通讯股份有限公司 Method and system for playing multi-media file and cloud transcoding service device
CN103825890A (en) 2014-02-19 2014-05-28 惠州Tcl移动通信有限公司 Mobile terminal and method for achieving cloud streaming media file sharing based on DLNA
US10965974B2 (en) 2014-03-17 2021-03-30 Sony Corporation System, device and method for displaying display-dependent media files
CN104243998B (en) * 2014-09-29 2018-01-09 广州华多网络科技有限公司 A kind of data processing method, device and associated server
CN104702976A (en) * 2015-02-10 2015-06-10 深圳创维数字技术有限公司 Video playing method and equipment
CN104980819A (en) * 2015-06-26 2015-10-14 安徽四创电子股份有限公司 Video transmission method and device
CN107529069A (en) * 2016-06-21 2017-12-29 中兴通讯股份有限公司 A kind of video stream transmission method and device
CN106101744B (en) * 2016-06-23 2020-07-10 深圳创维-Rgb电子有限公司 A method and device for playing TV online
CN107643930A (en) * 2016-07-22 2018-01-30 中兴通讯股份有限公司 Using operation method and Cloud Server
CN107801057A (en) * 2016-08-31 2018-03-13 法乐第(北京)网络科技有限公司 One kind plays code check and determines method and device
CN106993199A (en) * 2017-04-28 2017-07-28 暴风集团股份有限公司 A kind of method and system of real-time video transcoding
CN108040258B (en) * 2017-11-21 2020-05-15 北京臻迪科技股份有限公司 Encoding and decoding method, device and system
CN109831637A (en) * 2017-11-23 2019-05-31 中兴通讯股份有限公司 Data transmission method, server and system in a kind of video conference
CN109936750B (en) * 2017-12-15 2022-04-19 华平信息技术股份有限公司 Communication system, microcontroller and video transcoding method and system applied by microcontroller
CN108235075B (en) * 2018-01-30 2020-11-24 广州市百果园信息技术有限公司 Video quality grade matching method, computer readable storage medium and terminal
US12075133B2 (en) 2018-01-31 2024-08-27 Qualcomm Incorporated Dynamic conditional advertisement insertion
CN110213619B (en) * 2018-02-28 2021-11-12 阿里巴巴(中国)有限公司 Bandwidth allocation method and device
CN108574855A (en) * 2018-03-15 2018-09-25 西安万像电子科技有限公司 Video streaming method, apparatus and system
TWI688268B (en) * 2018-06-01 2020-03-11 宏碁股份有限公司 Multimedia file management method, terminal device, server device and file management system
CN110650371A (en) * 2018-06-27 2020-01-03 视联动力信息技术股份有限公司 Video-on-demand method and device
CN111147893B (en) 2018-11-02 2021-10-22 华为技术有限公司 A video adaptive method, related device and storage medium
CN110062262B (en) * 2019-04-12 2022-05-03 北京字节跳动网络技术有限公司 Transcoding control method and device for video data, electronic equipment and storage medium
CN110418194B (en) * 2019-07-19 2022-03-25 咪咕文化科技有限公司 Video distribution method and base station
CN110636327B (en) * 2019-10-28 2022-02-01 成都超有爱科技有限公司 Video caching method and device, electronic equipment and storage medium
CN111447408A (en) * 2020-03-03 2020-07-24 视联动力信息技术股份有限公司 Monitoring resource transmission method and device
CN112423118A (en) * 2020-10-26 2021-02-26 深圳Tcl新技术有限公司 Multimedia file decoding method and device, terminal equipment and storage medium
CN112954396B (en) * 2021-02-05 2023-02-28 建信金融科技有限责任公司 Video playing method and device, electronic equipment and computer readable storage medium
CN116320616A (en) * 2023-03-16 2023-06-23 北京百度网讯科技有限公司 Multimedia file processing method, device, electronic device and storage medium
CN116634194B (en) * 2023-05-10 2024-05-24 北京国际云转播科技有限公司 Video live broadcast method, video live broadcast device, storage medium and electronic equipment

Citations (5)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN101702774A (en) * 2009-10-23 2010-05-05 深圳中兴力维技术有限公司 Mobile video code stream customizing device and method applied to mobile video monitoring system
US20110231521A1 (en) * 2010-03-22 2011-09-22 Mobitv, Inc. Media convergence platform
CN102752632A (en) * 2012-07-03 2012-10-24 苏州阔地网络科技有限公司 Method and system for dynamically adjusting transcoding code stream
CN103428528A (en) * 2013-08-19 2013-12-04 江苏金智教育信息技术有限公司 Cloud streaming media adaptive playing device and method
CN103561279A (en) * 2013-10-10 2014-02-05 中兴通讯股份有限公司 Method and system for playing multi-media file and cloud transcoding service device

Family Cites Families (11)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN102045312B (en) * 2009-10-21 2013-09-18 三星电子(中国)研发中心 Self-adaptative transcoding method and system
CN101710974A (en) * 2009-11-27 2010-05-19 广东亿迅科技有限公司 Method for monitoring fused video
CN101710975A (en) * 2009-11-27 2010-05-19 广东亿迅科技有限公司 Video monitoring system and video monitoring method
CN101778104A (en) * 2009-12-29 2010-07-14 常州中流电子科技有限公司 System and method for playing stream media by using self-adaption bandwidth
CN102065339B (en) * 2010-11-09 2013-03-20 中国电信股份有限公司 Method and system for playing audio and video media stream
CN102868707A (en) * 2011-07-04 2013-01-09 腾讯科技(深圳)有限公司 Method and system for downloading and transcoding file
CN103313095A (en) * 2012-03-16 2013-09-18 腾讯科技(深圳)有限公司 Video transmission method, play method, terminal and server
CN102739779B (en) * 2012-06-04 2016-06-01 Tcl集团股份有限公司 A kind of digital home's exchange method based on DLNA, system and relevant device
CN102780918B (en) * 2012-08-15 2016-07-06 华数传媒网络有限公司 A kind of video distribution formula transform coding format approach
CN102984547A (en) * 2012-11-29 2013-03-20 乐视致新电子科技(天津)有限公司 Self-adaption cloud playback system
CN103237037B (en) * 2013-05-08 2015-11-18 华迪计算机集团有限公司 Based on the media format conversion method and system of cloud computing framework

Patent Citations (5)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN101702774A (en) * 2009-10-23 2010-05-05 深圳中兴力维技术有限公司 Mobile video code stream customizing device and method applied to mobile video monitoring system
US20110231521A1 (en) * 2010-03-22 2011-09-22 Mobitv, Inc. Media convergence platform
CN102752632A (en) * 2012-07-03 2012-10-24 苏州阔地网络科技有限公司 Method and system for dynamically adjusting transcoding code stream
CN103428528A (en) * 2013-08-19 2013-12-04 江苏金智教育信息技术有限公司 Cloud streaming media adaptive playing device and method
CN103561279A (en) * 2013-10-10 2014-02-05 中兴通讯股份有限公司 Method and system for playing multi-media file and cloud transcoding service device

Cited By (11)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
US10764396B2 (en) 2017-12-18 2020-09-01 The Directv Group, Inc. Media transcoding based on priority of media
US11349954B2 (en) 2017-12-18 2022-05-31 Directv, Llc Media transcoding based on priority of media
US11750722B2 (en) 2017-12-18 2023-09-05 Directv, Llc Media transcoding based on priority of media
CN111200580A (en) * 2018-11-16 2020-05-26 深圳市茁壮网络股份有限公司 Player and playing method
CN111200580B (en) * 2018-11-16 2023-04-21 深圳市茁壮网络股份有限公司 A kind of player and playing method
CN111147859A (en) * 2019-12-31 2020-05-12 视联动力信息技术股份有限公司 Video processing method and device
CN113595976A (en) * 2021-06-15 2021-11-02 阿里巴巴新加坡控股有限公司 Multimedia playing method, cloud server, system and storage medium
CN113727144A (en) * 2021-09-02 2021-11-30 中国联合网络通信集团有限公司 High-definition live broadcast system and streaming media method based on mixed cloud
CN116828229A (en) * 2023-08-30 2023-09-29 湖南马栏山视频先进技术研究院有限公司 A transmission method and system for audio and video streams
CN116828229B (en) * 2023-08-30 2023-11-24 湖南马栏山视频先进技术研究院有限公司 Transmission method and system for audio and video streams
CN117499721A (en) * 2023-11-16 2024-02-02 上海赛连信息科技有限公司 Multimedia playing method and system thereof

Also Published As

Publication number Publication date
CN103561279B (en) 2017-02-01
CN103561279A (en) 2014-02-05

Similar Documents

Publication Publication Date Title
WO2015051755A1 (en) Multimedia file playing method and system, cloud transcoding server device and storage medium
US10917668B1 (en) Live to video on demand normalization
US12356038B2 (en) Re-encoding predicted picture frames in live video stream applications
JP6211733B2 (en) Direct streaming for wireless display
WO2017020664A1 (en) Video encoding parameter setting method and apparatus for live video, and video encoding device and storage medium
CN108076364A (en) Adaptive media spreads transfer device and media serving device
WO2017101369A1 (en) Live video transcoding method and apparatus
WO2016049987A1 (en) Data processing method and apparatus, and related servers
CN102550038A (en) Method, terminal, server and system for playing media files
CN108810567B (en) Audio and video visual angle matching method, client and server
TW201251435A (en) Video transmitting method and system with video quality adjusting function
WO2013185514A1 (en) System and method for playing streaming media
JP2011507316A (en) Importance-based rich media providing system and method, and server applied thereto
WO2014054325A1 (en) Encoding control device and encoding control method
WO2016192431A1 (en) Film source pushing method, set-top box and video server
WO2013139146A1 (en) Device and apparatus for playing flv video
CN107801049B (en) A real-time video transmission and playback method and device
WO2013189374A2 (en) Method for transmitting media data and virtual desktop server
US9571790B2 (en) Reception apparatus, reception method, and program thereof, image capturing apparatus, image capturing method, and program thereof, and transmission apparatus, transmission method, and program thereof
CN103635938B (en) For processing the method for video streaming data, streaming client in streaming client
WO2011143916A1 (en) Media adaptation method and apparatus
WO2015085873A1 (en) Video code stream obtaining method and apparatus
US10681105B2 (en) Decision engine for dynamically selecting media streams
JP6400163B2 (en) Reception device, reception method, transmission device, transmission method, and program
TW201429229A (en) System and method for transmitting frames of a video

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

Country of ref document: EP

Kind code of ref document: A1

NENP Non-entry into the national phase

Ref country code: DE

122 Ep: pct application non-entry in european phase

Ref document number: 14852081

Country of ref document: EP

Kind code of ref document: A1