WO2020233283A1 - 视频转码方法、装置、电子设备及存储介质 - Google Patents

视频转码方法、装置、电子设备及存储介质 Download PDF

Info

Publication number
WO2020233283A1
WO2020233283A1 PCT/CN2020/084552 CN2020084552W WO2020233283A1 WO 2020233283 A1 WO2020233283 A1 WO 2020233283A1 CN 2020084552 W CN2020084552 W CN 2020084552W WO 2020233283 A1 WO2020233283 A1 WO 2020233283A1
Authority
WO
WIPO (PCT)
Prior art keywords
transcoding
video
parameter
result information
video stream
Prior art date
Application number
PCT/CN2020/084552
Other languages
English (en)
French (fr)
Inventor
王晓楠
陈宇聪
闻兴
郑云飞
陈敏
黄跃
Original Assignee
北京达佳互联信息技术有限公司
Priority date (The priority date is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the date listed.)
Filing date
Publication date
Application filed by 北京达佳互联信息技术有限公司 filed Critical 北京达佳互联信息技术有限公司
Priority to EP20810064.4A priority Critical patent/EP3972259A4/en
Publication of WO2020233283A1 publication Critical patent/WO2020233283A1/zh
Priority to US17/527,609 priority patent/US20220078456A1/en

Links

Images

Classifications

    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04NPICTORIAL COMMUNICATION, e.g. TELEVISION
    • H04N19/00Methods or arrangements for coding, decoding, compressing or decompressing digital video signals
    • H04N19/10Methods or arrangements for coding, decoding, compressing or decompressing digital video signals using adaptive coding
    • H04N19/134Methods or arrangements for coding, decoding, compressing or decompressing digital video signals using adaptive coding characterised by the element, parameter or criterion affecting or controlling the adaptive coding
    • H04N19/136Incoming video signal characteristics or properties
    • H04N19/14Coding unit complexity, e.g. amount of activity or edge presence estimation
    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04LTRANSMISSION OF DIGITAL INFORMATION, e.g. TELEGRAPHIC COMMUNICATION
    • H04L65/00Network arrangements, protocols or services for supporting real-time applications in data packet communication
    • H04L65/60Network streaming of media packets
    • H04L65/61Network streaming of media packets for supporting one-way streaming services, e.g. Internet radio
    • H04L65/612Network streaming of media packets for supporting one-way streaming services, e.g. Internet radio for unicast
    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04LTRANSMISSION OF DIGITAL INFORMATION, e.g. TELEGRAPHIC COMMUNICATION
    • H04L65/00Network arrangements, protocols or services for supporting real-time applications in data packet communication
    • H04L65/60Network streaming of media packets
    • H04L65/61Network streaming of media packets for supporting one-way streaming services, e.g. Internet radio
    • H04L65/613Network streaming of media packets for supporting one-way streaming services, e.g. Internet radio for the control of the source by the destination
    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04LTRANSMISSION OF DIGITAL INFORMATION, e.g. TELEGRAPHIC COMMUNICATION
    • H04L65/00Network arrangements, protocols or services for supporting real-time applications in data packet communication
    • H04L65/60Network streaming of media packets
    • H04L65/75Media network packet handling
    • H04L65/765Media network packet handling intermediate
    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04LTRANSMISSION OF DIGITAL INFORMATION, e.g. TELEGRAPHIC COMMUNICATION
    • H04L65/00Network arrangements, protocols or services for supporting real-time applications in data packet communication
    • H04L65/80Responding to QoS
    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04NPICTORIAL COMMUNICATION, e.g. TELEVISION
    • H04N19/00Methods or arrangements for coding, decoding, compressing or decompressing digital video signals
    • H04N19/10Methods or arrangements for coding, decoding, compressing or decompressing digital video signals using adaptive coding
    • H04N19/134Methods or arrangements for coding, decoding, compressing or decompressing digital video signals using adaptive coding characterised by the element, parameter or criterion affecting or controlling the adaptive coding
    • H04N19/146Data rate or code amount at the encoder output
    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04NPICTORIAL COMMUNICATION, e.g. TELEVISION
    • H04N19/00Methods or arrangements for coding, decoding, compressing or decompressing digital video signals
    • H04N19/10Methods or arrangements for coding, decoding, compressing or decompressing digital video signals using adaptive coding
    • H04N19/134Methods or arrangements for coding, decoding, compressing or decompressing digital video signals using adaptive coding characterised by the element, parameter or criterion affecting or controlling the adaptive coding
    • H04N19/154Measured or subjectively estimated visual quality after decoding, e.g. measurement of distortion
    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04NPICTORIAL COMMUNICATION, e.g. TELEVISION
    • H04N19/00Methods or arrangements for coding, decoding, compressing or decompressing digital video signals
    • H04N19/40Methods or arrangements for coding, decoding, compressing or decompressing digital video signals using video transcoding, i.e. partial or full decoding of a coded input stream followed by re-encoding of the decoded output stream
    • 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/239Interfacing the upstream path of the transmission network, e.g. prioritizing client content requests
    • H04N21/2393Interfacing the upstream path of the transmission network, e.g. prioritizing client content requests involving handling client requests
    • 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/24Monitoring of processes or resources, e.g. monitoring of server load, available bandwidth, upstream requests
    • H04N21/2402Monitoring of the downstream path of the transmission network, e.g. bandwidth available
    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04NPICTORIAL COMMUNICATION, e.g. TELEVISION
    • H04N21/00Selective content distribution, e.g. interactive television or video on demand [VOD]
    • H04N21/40Client devices specifically adapted for the reception of or interaction with content, e.g. set-top-box [STB]; Operations thereof
    • H04N21/43Processing of content or additional data, e.g. demultiplexing additional data from a digital video stream; Elementary client operations, e.g. monitoring of home network or synchronising decoder's clock; Client middleware
    • H04N21/44Processing of video elementary streams, e.g. splicing a video clip retrieved from local storage with an incoming video stream or rendering scenes according to encoded video stream scene graphs
    • H04N21/4402Processing of video elementary streams, e.g. splicing a video clip retrieved from local storage with an incoming video stream or rendering scenes according to encoded video stream scene graphs involving reformatting operations of video signals for household redistribution, storage or real-time display
    • H04N21/440218Processing of video elementary streams, e.g. splicing a video clip retrieved from local storage with an incoming video stream or rendering scenes according to encoded video stream scene graphs involving reformatting operations of video signals for household redistribution, storage or real-time display by transcoding between formats or standards, e.g. from MPEG-2 to MPEG-4
    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04NPICTORIAL COMMUNICATION, e.g. TELEVISION
    • H04N21/00Selective content distribution, e.g. interactive television or video on demand [VOD]
    • H04N21/40Client devices specifically adapted for the reception of or interaction with content, e.g. set-top-box [STB]; Operations thereof
    • H04N21/43Processing of content or additional data, e.g. demultiplexing additional data from a digital video stream; Elementary client operations, e.g. monitoring of home network or synchronising decoder's clock; Client middleware
    • H04N21/442Monitoring of processes or resources, e.g. detecting the failure of a recording device, monitoring the downstream bandwidth, the number of times a movie has been viewed, the storage space available from the internal hard disk
    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04NPICTORIAL COMMUNICATION, e.g. TELEVISION
    • H04N21/00Selective content distribution, e.g. interactive television or video on demand [VOD]
    • H04N21/40Client devices specifically adapted for the reception of or interaction with content, e.g. set-top-box [STB]; Operations thereof
    • H04N21/47End-user applications
    • H04N21/472End-user interface for requesting content, additional data or services; End-user interface for interacting with content, e.g. for content reservation or setting reminders, for requesting event notification, for manipulating displayed content
    • H04N21/47202End-user interface for requesting content, additional data or services; End-user interface for interacting with content, e.g. for content reservation or setting reminders, for requesting event notification, for manipulating displayed content for requesting content on demand, e.g. video on demand
    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04NPICTORIAL COMMUNICATION, e.g. TELEVISION
    • H04N21/00Selective content distribution, e.g. interactive television or video on demand [VOD]
    • H04N21/60Network structure or processes for video distribution between server and client or between remote clients; Control signalling between clients, server and network components; Transmission of management data between server and client, e.g. sending from server to client commands for recording incoming content stream; Communication details between server and client 
    • H04N21/63Control signaling related to video distribution between client, server and network components; Network processes for video distribution between server and clients or between remote clients, e.g. transmitting basic layer and enhancement layers over different transmission paths, setting up a peer-to-peer communication via Internet between remote STB's; Communication protocols; Addressing
    • H04N21/647Control signaling between network components and server or clients; Network processes for video distribution between server and clients, e.g. controlling the quality of the video stream, by dropping packets, protecting content from unauthorised alteration within the network, monitoring of network load, bridging between two different networks, e.g. between IP and wireless
    • H04N21/64723Monitoring of network processes or resources, e.g. monitoring of network load

Definitions

  • This application relates to the field of video processing technology, and in particular to a video transcoding method, device, electronic equipment, and storage medium.
  • Service Quality, QoS Service Quality
  • QoE Quality of Experience
  • this application provides a video transcoding method, device, electronic equipment, and non-transitory computer-readable storage medium.
  • a video transcoding method including: performing a first transcoding operation on a first video stream based on a first transcoding parameter; and obtaining information associated with the first transcoding operation The first transcoding result information; when the second video stream is received, the second transcoding parameter corresponding to the first transcoding result information is obtained according to the first association relationship between the transcoding result information and the transcoding parameter ; Perform a second transcoding operation on the second video stream based on the second transcoding parameter.
  • a video transcoding device including: a first transcoding operation execution module, configured to perform a first transcoding operation on a first video stream based on a first transcoding parameter; A transcoding result obtaining module, used to obtain the first transcoding result information associated with the first transcoding operation; a second transcoding parameter obtaining module, used to obtain the second video stream according to the transcoding result The first association relationship between information and transcoding parameters is used to obtain the second transcoding parameter corresponding to the first transcoding result information; the second transcoding operation execution module is configured to pair based on the second transcoding parameter The second video stream performs a second transcoding operation.
  • an electronic device including: a processor; a memory for storing executable instructions of the processor; wherein the processor is configured to: when the one or more The program is executed by the one or more processors, so that the one or more processors implement the video transcoding method described in any one of the foregoing.
  • a non-transitory computer-readable storage medium is provided.
  • the instructions in the storage medium are executed by the processor of the mobile terminal, the mobile terminal can perform a video transcoding. method.
  • Fig. 1 is a flow chart showing the steps of a video transcoding method according to an exemplary embodiment
  • Fig. 2 is a flow chart showing steps of a video transcoding method according to an exemplary embodiment
  • Fig. 3 is a structural block diagram showing a video transcoding device according to an exemplary embodiment
  • Fig. 4 is a structural block diagram showing a video transcoding device according to an exemplary embodiment
  • Fig. 5 is a block diagram showing an electronic device for video transcoding according to an exemplary embodiment
  • Fig. 6 is a block diagram showing a device for video transcoding according to an exemplary embodiment
  • Fig. 7 is a block diagram showing a device for video transcoding according to an exemplary embodiment.
  • Fig. 1 is a flowchart of a video transcoding method according to an exemplary embodiment, which includes the following steps.
  • step S101 a first transcoding operation is performed on the first video stream based on the first transcoding parameter.
  • the embodiments of the present application can be applied to a scenario where the video stream published in the on-demand system is transcoded, that is, before the video is pushed to the user, the on-demand system performs a transcoding operation on the published video stream.
  • the first transcoding parameter refers to the video transcoding parameter preset by the parameter designer in the on-demand system.
  • the first transcoding parameter can be determined according to service requirements and the on-demand system, which is not limited in this embodiment of the application.
  • the first video stream refers to the video stream that is transcoded according to the first transcoding parameters.
  • the first video stream is the video stream released by the user in the on-demand system. Before the corresponding video is pushed to other users, the on-demand system can Perform transcoding operations.
  • the first transcoding operation refers to the operation of video transcoding the first video stream according to the first transcoding parameters.
  • Video Transcoding refers to converting the compressed and encoded video stream into another video stream. To adapt to different network bandwidths, different terminal processing capabilities and different user needs.
  • the first transcoding operation may be performed on the first video stream according to the first transcoding parameter preset by the transcoding parameter designer.
  • the first video stream can be a single video stream, or a group of video streams (ie, multiple video streams).
  • a single video stream is used to perform the first transcoding operation, and in the subsequent process, based on a single
  • the first transcoding parameter is adjusted according to the transcoding result information corresponding to the first transcoding operation performed by the video stream, and the accuracy of the adjustment is low; while a group of first video streams are used to perform the first transcoding operation, and the subsequent
  • the accuracy of the parameter adjustment is relatively high.
  • the first video stream is preferably a group of video streams.
  • the first video stream being a single video stream can also be applied to the embodiments of the present application, and the embodiments of the present application are not limited thereto.
  • step 102 After performing the first transcoding operation on the first video stream based on the first transcoding parameter, step 102 is performed.
  • step S102 first transcoding result information associated with the first transcoding operation is acquired.
  • the first transcoding result information means that after transcoding the first video stream to obtain the corresponding transcoded video stream, the transcoding result information fed back by the on-demand system or the user watching the transcoded video stream can be received.
  • Transcoding result information can be video quality (such as Peak Signal to Noise Ratio (PSNR), etc.), video bit rate, video complexity information, QoS/QoE indicators (such as video completion rate, freeze rate, etc.) and many more.
  • PSNR Peak Signal to Noise Ratio
  • QoS/QoE indicators such as video completion rate, freeze rate, etc.
  • the specific content contained in the first transcoding result information may be determined according to business requirements, which is not limited in the embodiment of the present application.
  • the first transcoding result information associated with the first transcoding operation may be obtained, and the first transcoding result information may specifically include service quality information and / Or experience quality information, service quality information is the information fed back by the on-demand system after the first transcoding operation is performed on the first video stream; and the experience quality information refers to the information obtained after the first transcoding operation is performed on the first video stream Information fed back by the user after transcoding the video stream and pushing the transcoded video stream to the user.
  • the method of obtaining the first transcoding result information associated with the first transcoding operation is also different. Specifically, the detailed description is given in the following specific implementation.
  • the foregoing step 102 may include:
  • sub-step A1 after the first transcoding operation is completed, the first target video obtained by transcoding is obtained.
  • the first target video refers to a video obtained after transcoding the first video stream according to the first transcoding parameter.
  • Service quality information refers to the information fed back by the on-demand system after the first transcoding operation is performed on the first video stream.
  • the service quality information may include one of video quality information, video bit rate, video complexity information, or other information There are many types, specifically, it can be determined according to business requirements, which is not limited in the embodiment of the present application.
  • the first target video obtained by transcoding may be obtained.
  • sub-step A2 After acquiring the first target video, sub-step A2 is performed.
  • sub-step A2 the service quality information associated with the first target video fed back by the system is obtained.
  • the on-demand system can automatically feed back the service quality information associated with the first target video according to the generated first target video, that is, the service quality information associated with the target video obtained after the first transcoding operation is performed.
  • the foregoing step 102 may include:
  • sub-step B1 while the user is watching the first target video, the data monitoring platform monitors the experience quality information associated with the first target video.
  • the experience quality information refers to information fed back by the user after the first target video is pushed to the user, focusing on reflecting the user's experience quality.
  • the experience quality information may include one or more of information such as video freeze rate information and video completion rate information.
  • the data monitoring platform can monitor the experience quality information associated with the first target video during the user watching the first target video.
  • sub-step B2 is executed.
  • Sub-step B2 Obtain the experience quality information monitored by the data monitoring platform.
  • the data monitoring platform can feed back the monitored experience quality information to the on-demand system, and the on-demand system can obtain the experience quality information.
  • the first transcoding result information may only include any one of service quality information and experience quality information, or may include both service quality information and experience quality information. Specifically, it may be determined according to business requirements The embodiments of this application do not impose restrictions on this.
  • the first transcoding result information may also include other information, specifically, it may be determined according to actual conditions.
  • step 103 After obtaining the first transcoding result information associated with the first transcoding operation, step 103 is executed.
  • step S103 when the second video stream is received, the second transcoding parameter corresponding to the first transcoding result information is acquired according to the first association relationship between the transcoding result information and the transcoding parameter.
  • the second video stream is a video stream released by the user in the on-demand system, and the transcoding operation is located after the first video stream.
  • the time when the first video stream and the second video stream are published in the on-demand system can be that the first video stream is located before the second video stream, or the second video stream is located before the first video stream, and the first video stream
  • the second video stream and the second video stream may be published by the same user on the on-demand system, or by different users on the on-demand system. Specifically, it may be determined according to business requirements, which is not limited in the embodiment of the present application.
  • the second transcoding parameter refers to the transcoding parameter obtained according to the first transcoding result information obtained by the first transcoding operation.
  • the first association relationship refers to the association relationship between the transcoding result information and the transcoding parameters pre-stored in the on-demand system.
  • the association relationship between the transcoding result information and the transcoding parameters is pre-stored in the on-demand system.
  • the transcoding result information includes information A, information B, and information C, which are respectively associated with information A, information B, and information C.
  • the code parameters are parameter 1, parameter 2, and parameter 3.
  • mapping relationship can be saved in the form of a list in the on-demand system, as shown in Table 1 below:
  • association relationship can also be stored in a database, specifically, it can be determined according to business requirements, which is not limited in the embodiment of the present application.
  • the second transcoding parameter corresponding to the first transcoding result information can be obtained according to the first association relationship between the transcoding result information and the transcoding parameter.
  • the second video stream can be a single video stream, or a group of video streams (ie, multiple video streams).
  • a single video stream is used to perform the second transcoding operation, and in the subsequent process, based on a single
  • the second transcoding operation performed by the video stream corresponds to the transcoding result information, and the second transcoding parameter is adjusted, and the adjustment accuracy is low; while a set of second video streams are used to perform the second transcoding operation, and the subsequent
  • the precision of the parameter adjustment is relatively high.
  • the second video stream is preferably a group of video streams.
  • the second video stream being a single video stream can also be applied to the embodiment of the present application, which is not limited by the embodiment of the present application.
  • step 104 is executed.
  • step S104 a second transcoding operation is performed on the second video stream based on the second transcoding parameter.
  • a second transcoding operation may be performed on the second video stream based on the second transcoding parameter.
  • the embodiment of the application automatically adjusts the transcoding parameters in real time according to the real-time transcoding result information, without manual intervention, and reduces the labor cost.
  • the video transcoding method provided by the embodiment of the present application performs a first transcoding operation on a first video stream based on the first transcoding parameter, obtains the first transcoding result information associated with the first transcoding operation, and receives the first transcoding operation
  • the second transcoding parameter corresponding to the first transcoding result information is obtained according to the first association relationship between the transcoding result information and the transcoding parameter, and the second video stream is executed based on the second transcoding parameter The second transcoding operation.
  • the embodiment of the application automatically adjusts the transcoding parameters in real time according to the real-time transcoding result information, without manual intervention, and reduces the labor cost.
  • Fig. 2 is a flowchart of a video transcoding method according to an exemplary embodiment, which includes the following steps.
  • step S201 a first transcoding operation is performed on the first video stream based on the first transcoding parameter.
  • the embodiments of the present application can be applied to a scenario where the video stream published in the on-demand system is transcoded, that is, before the video is pushed to the user, the on-demand system performs a transcoding operation on the published video stream.
  • the first transcoding parameter refers to the video transcoding parameter preset by the parameter designer in the on-demand system.
  • the first transcoding parameter can be determined according to service requirements and the on-demand system, which is not limited in this embodiment of the application.
  • the first video stream refers to the video stream that is transcoded according to the first transcoding parameters.
  • the first video stream is the video stream released by the user in the on-demand system. Before the corresponding video is pushed to other users, the on-demand system can Perform transcoding operations.
  • the first transcoding operation refers to the operation of video transcoding the first video stream according to the first transcoding parameters.
  • Video Transcoding refers to converting the compressed and encoded video stream into another video stream. To adapt to different network bandwidths, different terminal processing capabilities and different user needs.
  • the first transcoding operation may be performed on the first video stream according to the first transcoding parameter preset by the transcoding parameter designer.
  • step 202 After performing the first transcoding operation on the first video stream based on the first transcoding parameter, step 202 is performed.
  • step S202 first transcoding result information associated with the first transcoding operation is obtained.
  • the first transcoding result information means that after transcoding the first video stream to obtain the corresponding transcoded video stream, the transcoding result information fed back by the on-demand system or the user watching the transcoded video stream can be received.
  • Transcoding result information can be video quality (such as Peak Signal to Noise Ratio (PSNR), etc.), video bit rate, video complexity information, QoS/QoE indicators (such as video completion rate, freeze rate, etc.) and many more.
  • PSNR Peak Signal to Noise Ratio
  • QoS/QoE indicators such as video completion rate, freeze rate, etc.
  • the specific content contained in the first transcoding result information may be determined according to business requirements, which is not limited in the embodiment of the present application.
  • the first transcoding result information associated with the first transcoding operation may be obtained, and the first transcoding result information may specifically include service quality information and / Or experience quality information, service quality information is the information fed back by the on-demand system after the first transcoding operation is performed on the first video stream; and the experience quality information refers to the information obtained after the first transcoding operation is performed on the first video stream Information fed back by the user after transcoding the video stream and pushing the transcoded video stream to the user.
  • the method of obtaining the first transcoding result information associated with the first transcoding operation is also different. Specifically, the detailed description is given in the following specific implementation.
  • the foregoing step 202 may include:
  • sub-step C1 after the first transcoding operation is completed, the first target video obtained by transcoding is obtained.
  • the first target video refers to a video obtained after transcoding the first video stream according to the first transcoding parameter.
  • Service quality information refers to the information fed back by the on-demand system after the first transcoding operation is performed on the first video stream.
  • the service quality information may include one of video quality information, video bit rate, video complexity information, or other information There are many types, specifically, it can be determined according to business requirements, which is not limited in the embodiment of the present application.
  • the first target video obtained by transcoding may be obtained.
  • sub-step C2 is executed.
  • sub-step C2 the service quality information associated with the first target video fed back by the system is obtained.
  • the on-demand system can automatically feed back the service quality information associated with the first target video according to the generated first target video, that is, the service quality information associated with the target video obtained after the first transcoding operation is performed.
  • the foregoing step 202 may include:
  • the data monitoring platform monitors the experience quality information associated with the first target video.
  • the experience quality information refers to information fed back by the user after the first target video is pushed to the user, focusing on reflecting the user's experience quality.
  • the experience quality information may include one or more of information such as video freeze rate information and video completion rate information.
  • the data monitoring platform can monitor the experience quality information associated with the first target video during the user watching the first target video.
  • sub-step D2 is executed.
  • Sub-step D2 Obtain the experience quality information monitored by the data monitoring platform.
  • the data monitoring platform can feed back the monitored experience quality information to the on-demand system, and the on-demand system can obtain the experience quality information.
  • the first transcoding result information may only include any one of service quality information and experience quality information, or may include both service quality information and experience quality information. Specifically, it may be determined according to business requirements The embodiments of this application do not impose restrictions on this.
  • the first transcoding result information may also include other information, specifically, it may be determined according to actual conditions.
  • step 203 After obtaining the first transcoding result information associated with the first transcoding operation, step 203 is executed.
  • step S203 when the second video stream is received, the second transcoding parameter corresponding to the first transcoding result information is obtained according to the first association relationship between the transcoding result information and the transcoding parameter.
  • the second video stream is a video stream released by the user in the on-demand system, and the transcoding operation is located after the first video stream.
  • the time when the first video stream and the second video stream are published in the on-demand system can be that the first video stream is located before the second video stream, or the second video stream is located before the first video stream, and the first video stream
  • the second video stream and the second video stream may be published by the same user on the on-demand system, or by different users on the on-demand system. Specifically, it may be determined according to business requirements, which is not limited in the embodiment of the present application.
  • the second transcoding parameter refers to the transcoding parameter obtained according to the first transcoding result information obtained by the first transcoding operation.
  • the first association relationship refers to the association relationship between the transcoding result information and the transcoding parameters pre-stored in the on-demand system.
  • the association relationship between the transcoding result information and the transcoding parameters is pre-stored in the on-demand system.
  • the transcoding result information includes information A, information B, and information C, which are respectively associated with information A, information B, and information C.
  • the code parameters are parameter 1, parameter 2, and parameter 3.
  • mapping relationship can be stored in the form of a list in the on-demand system, as shown in Table 2 below:
  • association relationship can also be stored in a database, specifically, it can be determined according to business requirements, which is not limited in the embodiment of the present application.
  • the second transcoding parameter corresponding to the first transcoding result information can be obtained according to the first association relationship between the transcoding result information and the transcoding parameter.
  • step 204 is executed.
  • step S204 a second transcoding operation is performed on the second video stream based on the second transcoding parameter.
  • a second transcoding operation may be performed on the second video stream based on the second transcoding parameter.
  • the embodiment of the application automatically adjusts the transcoding parameters in real time according to the real-time transcoding result information, without manual intervention, and reduces the labor cost.
  • step S205 log information associated with the second transcoding parameter is generated.
  • the log information associated with the second transcoding parameter refers to the log information generated when the first transcoding parameter is converted to the second transcoding parameter.
  • the conversion process can be recorded in real time, and the first transcoding parameter and the second transcoding parameter obtained by the conversion can be recorded, and the corresponding Log information.
  • the log information provided in the embodiment of the present application may be that in the subsequent process, when the second transcoding parameter obtained by the conversion is detected to be abnormal, the second transcoding parameter may be converted again.
  • step S206 after the second transcoding operation is completed, a second target video obtained by transcoding is obtained.
  • the second target video refers to a video obtained after performing a second transcoding operation on the second video stream using the second transcoding parameter.
  • the corresponding transcoded second target video can be obtained.
  • step 207 After obtaining the second target video obtained by transcoding, step 207 is executed.
  • step S207 obtain second transcoding result information associated with the second target video.
  • the second transcoding result information means that after transcoding the second video stream to obtain the corresponding transcoded video stream, it can receive feedback from the on-demand system or the user watching the transcoded video stream.
  • Transcoding result information the second transcoding result information can be video quality (such as Peak Signal to Noise Ratio (PSNR), etc.), video bit rate, video complexity information, QoS/QoE indicators (such as video finish Rate, stutter rate, etc.) and so on.
  • PSNR Peak Signal to Noise Ratio
  • QoS/QoE indicators such as video finish Rate, stutter rate, etc.
  • the second transcoding result information corresponds to the first transcoding result information.
  • the first transcoding result information only includes service quality information
  • the second transcoding result information also only includes service quality information
  • the first transcoding result information contains only experience quality information
  • the second transcoding result information also contains only experience quality information
  • the first transcoding result information contains both service quality information and experience quality information
  • the The second transcoding result also contains service quality information and experience quality information.
  • the method for obtaining the second transcoding result information is similar to the above-mentioned method for obtaining the first transcoding result information, which is not described in detail in the embodiment of the present application.
  • step 208 is executed.
  • step S208 if it is determined based on the log information that the second transcoding result information does not meet a preset condition, the first association relationship is adjusted to obtain a second association relationship.
  • the preset condition refers to a condition used to determine whether the transcoding result information meets the requirements, and whether the transcoding result information meets the requirements can be determined according to the on-demand system and service requirements, which is not limited in the embodiment of the application.
  • the first association relationship may be adjusted to obtain the second association relationship.
  • step 209 is executed.
  • step S209 when a third video stream is received, a third transcoding parameter corresponding to the second transcoding result information is obtained according to the second association relationship.
  • the third transcoding parameter refers to the transcoding parameter obtained by converting the second transcoding parameter according to the second association relationship.
  • the third video stream refers to a video stream that uses the third transcoding parameter to perform a transcoding operation.
  • the third transcoding parameter corresponding to the second transcoding result information can be obtained according to the second association relationship.
  • step 210 is executed.
  • step S210 a third transcoding operation is performed on the third video stream based on the third transcoding parameter.
  • the third transcoding operation refers to a transcoding operation performed on the third video stream using the third transcoding parameter.
  • a third transcoding operation may be performed on the third video stream based on the third transcoding parameter.
  • the embodiment of the application adjusts the association relationship between the transcoding result information and the transcoding parameter according to the log information of the transcoding parameter conversion, and then can improve the association relationship based on enough effective input to make the subsequent video transcoding accurate Sex.
  • the third video stream can be a single video stream or a group of video streams (ie, multiple video streams).
  • a single video stream is used to perform the third transcoding operation, and in the subsequent process, based on a single
  • the third transcoding parameter is adjusted according to the transcoding result information corresponding to the third transcoding operation performed by the video stream, and the adjustment precision is low; while a set of third video streams are used to perform the third transcoding operation, and the subsequent
  • the accuracy of the parameter adjustment is relatively high.
  • the third video stream is preferably a group of video streams.
  • the third video stream being a single video stream can also be applied to the embodiment of the present application, which is not limited by the embodiment of the present application.
  • the video transcoding method provided in the embodiments of this application can also determine the difference between the transcoding result information and the transcoding parameter according to the log information converted by the transcoding parameter.
  • the association relationship between the two can be adjusted, and then the association relationship can be improved according to enough effective input to make the accuracy of subsequent video transcoding.
  • Fig. 3 is a structural block diagram showing a video transcoding device according to an exemplary embodiment. 3, the device includes a first transcoding operation execution module 131, a first transcoding result acquisition module 132, a second transcoding parameter acquisition module 133, and a second transcoding operation execution module 134.
  • the first transcoding operation execution module 131 is configured to perform a first transcoding operation on the first video stream based on the first transcoding parameter
  • the first transcoding result obtaining module 132 is configured to obtain first transcoding result information associated with the first transcoding operation
  • the second transcoding parameter acquisition module 133 is configured to, when receiving the second video stream, acquire the information corresponding to the first transcoding result information according to the first association relationship between the transcoding result information and the transcoding parameter The second transcoding parameter;
  • the second transcoding operation execution module 134 is configured to perform a second transcoding operation on the second video stream based on the second transcoding parameter.
  • the first transcoding result information includes service quality information
  • the first transcoding result obtaining module 132 includes: a first target video obtaining submodule and a service quality information obtaining submodule Module.
  • the first target video obtaining submodule is configured to obtain the first target video obtained by transcoding after the first transcoding operation is completed;
  • the service quality information obtaining submodule is configured to obtain service quality information associated with the first target video fed back by the system
  • the service quality information includes at least one of video quality information, video bit rate, and video complexity information.
  • the first transcoding result information further includes experience quality information
  • the first transcoding result obtaining module 132 includes: an experience quality information monitoring submodule and an experience quality information obtaining submodule Module.
  • the experience quality information monitoring submodule is configured to monitor the experience quality information associated with the first target video by the data monitoring platform when the user is watching the first target video;
  • the experience quality information obtaining submodule is configured to obtain the experience quality information monitored by the data monitoring platform
  • the experience quality information includes at least one of video freeze rate information and video completion rate information.
  • the video transcoding device provided in this embodiment of the application performs a first transcoding operation on a first video stream based on the first transcoding parameter, obtains the first transcoding result information associated with the first transcoding operation, and receives the first transcoding operation
  • the second transcoding parameter corresponding to the first transcoding result information is obtained according to the first association relationship between the transcoding result information and the transcoding parameter, and the second video stream is executed based on the second transcoding parameter The second transcoding operation.
  • the embodiment of the application automatically adjusts the transcoding parameters in real time according to the real-time transcoding result information, without manual intervention, and reduces the labor cost.
  • Fig. 4 is a structural block diagram showing a video transcoding device according to an exemplary embodiment. 4, the device includes a first transcoding operation execution module 141, a first transcoding result acquisition module 142, a second transcoding parameter acquisition module 143, a second transcoding operation execution module 144, a log information generation module 145, The second target video acquisition module 146, the second transcoding result acquisition module 147, the second association relationship acquisition module 148, the third transcoding parameter acquisition module 149, and the third transcoding operation execution module 1410.
  • the first transcoding operation execution module 141 is configured to perform a first transcoding operation on the first video stream based on the first transcoding parameter
  • the first transcoding result obtaining module 142 is configured to obtain first transcoding result information associated with the first transcoding operation
  • the second transcoding parameter acquisition module 143 is configured to, when receiving the second video stream, acquire the information corresponding to the first transcoding result information according to the first association relationship between the transcoding result information and the transcoding parameter.
  • the second transcoding operation execution module 144 is configured to perform a second transcoding operation on the second video stream based on the second transcoding parameter
  • the log information generating module 145 is configured to generate log information associated with the second transcoding parameter
  • the second target video obtaining module 146 is configured to obtain the second target video obtained by transcoding after the second transcoding operation is completed;
  • the second transcoding result obtaining module 147 is configured to obtain second transcoding result information associated with the second target video
  • the second association relationship obtaining module 148 is configured to adjust the first association relationship to obtain a second association relationship when it is determined based on the log information that the second transcoding result information does not meet a preset condition ;
  • the third transcoding parameter obtaining module 149 is configured to obtain a third transcoding parameter corresponding to the second transcoding result information according to the second association relationship when a third video stream is received;
  • the third transcoding operation execution module 1410 is configured to perform a third transcoding operation on the third video stream based on the third transcoding parameter.
  • the video transcoding device provided in the embodiment of the application can also determine the difference between the transcoding result information and the transcoding parameter according to the log information converted by the transcoding parameter.
  • the association relationship between the two can be adjusted, and then the association relationship can be improved according to enough effective input to make the accuracy of subsequent video transcoding.
  • an embodiment of the present application further provides a terminal device 500, including:
  • a memory 502 for storing executable instructions of the processor 501;
  • the processor 501 is configured to: when the one or more programs are executed by the one or more processors 501, the one or more processors 501 implement the following processes:
  • the first transcoding result information includes service quality information
  • the one Or multiple processors 501 are used to:
  • the service quality information includes at least one of video quality information, video bit rate, and video complexity information.
  • the first transcoding result information further includes experience quality information, and when the first transcoding result information associated with the first transcoding operation is obtained, the One or more processors 501 are used to:
  • the data monitoring platform monitors the experience quality information associated with the first target video
  • the experience quality information includes at least one of video freeze rate information and video completion rate information.
  • the one or more processors 501 are further configured to :
  • the first association relationship is adjusted to obtain a second association relationship.
  • the one or more processors 501 are further configured to:
  • Fig. 6 is a block diagram showing a device 600 for video transcoding according to an exemplary embodiment.
  • the device 600 may be a mobile phone, a computer, a digital broadcasting terminal, a messaging device, a game console, a tablet device, a medical device, a fitness device, a personal digital assistant, etc.
  • the device 600 may include one or more of the following components: a processing component 602, a memory 604, a power supply component 606, a multimedia component 608, an audio component 610, an input/output (I/O) interface 612, The sensor component 614, and the communication component 616.
  • the processing component 602 generally controls the overall operations of the device 600, such as operations associated with display, telephone calls, data communications, camera operations, and recording operations.
  • the processing component 602 may include one or more processors 620 to execute instructions to complete all or part of the steps of the foregoing method.
  • the processing component 602 may include one or more modules to facilitate the interaction between the processing component 602 and other components.
  • the processing component 602 may include a multimedia module to facilitate the interaction between the multimedia component 608 and the processing component 602.
  • the memory 604 is configured to store various types of data to support the operation of the device 600. Examples of these data include instructions for any application or method operating on the device 600, contact data, phone book data, messages, pictures, videos, etc.
  • the memory 604 can be implemented by any type of volatile or non-volatile storage devices or their combination, such as static random access memory (Static Random Access Memory, SRAM), electrically erasable programmable read-only memory (Electrically Erasable) Programmable Read-Only Memory, EEPROM, Erasable Programmable Read-Only Memory (EPROM), Programmable Read-Only Memory (PROM), Read-Only Memory (Read-Only) Memory, ROM), magnetic memory, flash memory, magnetic disk or optical disk.
  • SRAM static random access memory
  • SRAM static random access memory
  • EEPROM Electrically erasable programmable read-only memory
  • EPROM Erasable Programmable Read-Only Memory
  • PROM Programmable Read-Only Memory
  • Read-Only Memory Read-On
  • the power supply component 606 provides power to various components of the device 600.
  • the power supply component 606 may include a power management system, one or more power supplies, and other components associated with the generation, management, and distribution of power for the device 600.
  • the multimedia component 608 includes a screen that provides an output interface between the device 600 and the user.
  • the screen may include a liquid crystal display (Liquid Crystal Display, LCD) and a touch panel (Touch Panel, TP). If the screen includes a touch panel, the screen may be implemented as a touch screen to receive input signals from the user.
  • the touch panel includes one or more touch sensors to sense touch, sliding, and gestures on the touch panel. The touch sensor can not only sense the boundary of the touch or slide action, but also detect the duration and pressure related to the touch or slide operation.
  • the multimedia component 608 includes a front camera and/or a rear camera. When the device 600 is in an operation mode, such as a shooting mode or a video mode, the front camera and/or the rear camera can receive external multimedia data. Each front camera and rear camera can be a fixed optical lens system or have focal length and optical zoom capabilities.
  • the audio component 610 is configured to output and/or input audio signals.
  • the audio component 610 includes a microphone (Microphone, MIC).
  • the microphone is configured to receive an external audio signal.
  • the received audio signal can be further stored in the memory 604 or sent via the communication component 616.
  • the audio component 610 further includes a speaker for outputting audio signals.
  • the I/O interface 612 provides an interface between the processing component 602 and a peripheral interface module.
  • the above-mentioned peripheral interface module may be a keyboard, a click wheel, a button, and the like. These buttons may include but are not limited to: home button, volume button, start button, and lock button.
  • the sensor component 614 includes one or more sensors for providing the device 600 with various aspects of status assessment.
  • the sensor component 614 can detect the open/close state of the device 600 and the relative positioning of the components.
  • the component is the display and the keypad of the device 600.
  • the sensor component 614 can also detect the position change of the device 600 or a component of the device 600 , The presence or absence of contact between the user and the device 600, the orientation or acceleration/deceleration of the device 600, and the temperature change of the device 600.
  • the sensor component 614 may include a proximity sensor configured to detect the presence of nearby objects when there is no physical contact.
  • the sensor component 614 may also include a light sensor, such as a complementary metal oxide semiconductor (Complementary Metal Oxide Semiconductor, CMOS) image sensor or a charge-coupled device (Charge-coupled Device, CCD) image sensor for use in imaging applications.
  • CMOS Complementary Metal Oxide Semiconductor
  • CCD Charge-coupled Device
  • the sensor component 614 may also include an acceleration sensor, a gyroscope sensor, a magnetic sensor, a pressure sensor or a temperature sensor.
  • the communication component 616 is configured to facilitate wired or wireless communication between the apparatus 600 and other devices.
  • the device 600 can access a wireless network based on a communication standard, such as WiFi, an operator network (such as 2G, 3G, 4G, or 5G), or a combination thereof.
  • the communication component 616 receives a broadcast signal or broadcast related information from an external broadcast management system via a broadcast channel.
  • the communication component 616 further includes a Near Field Communication (NFC) module to facilitate short-range communication.
  • the NFC module can be based on radio frequency identification (RFID) technology, infrared data association (Infrared Data Association, IrDA) technology, ultra wideband (UWB) technology, Bluetooth (BT) technology and other Technology to achieve.
  • RFID radio frequency identification
  • IrDA infrared data association
  • UWB ultra wideband
  • Bluetooth Bluetooth
  • the device 600 may be implemented by one or more application specific integrated circuits (ASIC), digital signal processors (Digital Signal Processor, DSP), and digital signal processing equipment (Digital Signal Processor Device, DSPD), programmable logic device (Programmable Logic Device, PLD), Field Programmable Gate Array (Field Programmable Gate Array, FPGA), controller, microcontroller, microprocessor or other electronic components are implemented to implement the above methods.
  • ASIC application specific integrated circuits
  • DSP Digital Signal Processor
  • DSPD digital signal processing equipment
  • PLD programmable logic device
  • FPGA Field Programmable Gate Array
  • controller microcontroller, microprocessor or other electronic components
  • non-transitory computer-readable storage medium including instructions, such as the memory 604 including instructions, which can be executed by the processor 620 of the device 600 to complete the foregoing method.
  • the non-transitory computer-readable storage medium may be ROM, Random Access Memory (RAM), Compact Disc Read-Only Memory (CD-ROM), magnetic tape, floppy disk, and optical data storage Equipment etc.
  • Fig. 7 is a block diagram showing a device 700 for video transcoding according to an exemplary embodiment.
  • the apparatus 700 may be provided as a server.
  • the apparatus 700 includes a processing component 722, which further includes one or more processors, and a memory resource represented by a memory 732, for storing instructions executable by the processing component 722, such as an application program.
  • the application program stored in the memory 732 may include one or more modules each corresponding to a set of instructions.
  • the processing component 722 is configured to execute instructions to execute the aforementioned video transcoding method.
  • the device 700 may also include a power component 726 configured to perform power management of the device 700, a wired or wireless network interface 750 configured to connect the device 700 to a network, and an input output (I/O) interface 758.
  • the device 700 can operate based on an operating system stored in the memory 732, such as Windows ServerTM, Mac OS XTM, UnixTM, LinuxTM, FreeBSDTM or the like.

Landscapes

  • Engineering & Computer Science (AREA)
  • Multimedia (AREA)
  • Signal Processing (AREA)
  • Computer Networks & Wireless Communication (AREA)
  • Databases & Information Systems (AREA)
  • Computer Security & Cryptography (AREA)
  • Human Computer Interaction (AREA)
  • Compression Or Coding Systems Of Tv Signals (AREA)

Abstract

本申请提供了一种视频转码方法、装置、电子设备及存储介质。所述方法包括:基于第一转码参数对第一视频流执行第一转码操作;获取与所述第一转码操作关联的第一转码结果信息;在接收到第二视频流时,依据转码结果信息与转码参数之间的第一关联关系,获取与所述第一转码结果信息对应的第二转码参数;基于所述第二转码参数对所述第二视频流执行第二转码操作。本申请通过根据实时转码结果信息自动实时调整转码参数,无需人工介入,减少了人力成本的投入。

Description

视频转码方法、装置、电子设备及存储介质
相关申请的交叉引用
本申请要求于2019年05月17日提交中国专利局、申请号为201910414407.1,发明名称为“视频转码方法、装置、电子设备及存储介质”的中国专利申请的优先权,其全部内容通过引用结合在本申请中。
技术领域
本申请涉及视频处理技术领域,尤其涉及一种视频转码方法、装置、电子设备及存储介质。
背景技术
随着网络多媒体技术的快速发展,视频文件的播放形式不再局限于某种特定的视频码流,逐步出现了标清视频码流、高清视频码流、超高清视频码流等满足不同网络播放环境的视频码流,这就需要视频服务提供商利用转码系统对视频文件进行转码,从而得到各种清晰度的视频码流,以供视频播放器进行播放。
发明人发现,目前,在点播系统应用中,通常是采用编码参数设计人员预设置的一套参数对点播视频进行转码,然后根据数据平台的统计获得实际服务的服务质量(Service Quality,QoS)和用户体验(Quality of Experience,QoE)指标。如果服务指标出现明显问题,则会由参数设计人员根据自己的经验以及具体的指标要求来修改转码参数,保证后续的点播视频满足需求。
上述方案中需要人为介入设置转码参数,造成了人力成本的增加,并且,设计视频的转码参数需要非常丰富的编码经验,对设计转码参数人员的专业能力要求较高。
发明内容
为克服相关技术中存在的问题,本申请提供了一种视频转码方法、装置、电子设备及非临时性计算机可读存储介质。
根据本申请实施例的第一方面,提供了一种视频转码方法,包括:基于第一转码参数对第一视频流执行第一转码操作;获取与所述第一转码操作关联的第一转码结果信息;在接收到第二视频流时,依据转码结果信息与转码参数之间的第一关联关系,获取与所述第一转码结果信息对应的第二转码参数;基于所述第二转码参数对所述第二视频流执行第二转码操作。
根据本申请实施例的第二方面,提供了一种视频转码装置,包括:第一转码操作执行模块,用于基于第一转码参数对第一视频流执行第一转码操作;第一转码结果获取模块,用于获取与所述第一转码操作关联的第一转码结果信息;第二转码参数获取模块,用于在接收到第二视频流时,依据转码结果信息与转码参数之间的第一关联关系,获取与所述第一转码结果信息对应的第二转码参数;第二转码操作执行模块,用于基于所述第二转码参数对所述第二视频流执行第二转码操作。
根据本申请实施例的第三方面,提供了一种电子设备,包括:处理器;用于存储处理器可执行指令的存储器;其中,所述处理器被配置为:当所述一个或多个程序被所述一个或多个处理器执行,使得所述一个或多个处理器实现上述任意一项所述的视频转码方法。
根据本申请实施例的第四方面,提供了一种非临时性计算机可读存储介质,当所述存储介质中的指令由移动终端的处理器执行时,使得移动终端能够执行一种视频转码方法。
附图说明
此处的附图被并入说明书中并构成本说明书的一部分,示出了符合本申请的实施例,并与说明书一起用于解释本申请的原理。
图1是根据一示例性实施例示出的一种视频转码方法的步骤流程图;
图2是根据一示例性实施例示出的一种视频转码方法的步骤流程图;
图3是根据一示例性实施例示出的一种视频转码装置的结构框图;
图4是根据一示例性实施例示出的一种视频转码装置的结构框图;
图5是根据一示例性实施例示出的一种用于视频转码的电子设备的框图;
图6是根据一示例性实施例示出的一种用于视频转码的装置的框图;
图7是根据一示例性实施例示出的一种用于视频转码装置的框图。
具体实施方式
实施例一
图1是根据一示例性实施例示出的一种视频转码方法的流程图,包括以下步骤。
在步骤S101中,基于第一转码参数对第一视频流执行第一转码操作。
本申请实施例可以应用于点播系统中发布的视频流进行转码的场景,即在视频向用户推送之前,由点播系统对发布的视频流执行转码操作。
第一转码参数是指点播系统中由参数设计人员预先设置的视频转码参数,对于第一转码参数可以根据业务需求及点播系统而定,本申请实施例对此不加以限制。
第一视频流是指按照第一转码参数执行进行转码的视频流,第一视频流为点播系统中由用户发布的视频流,在向其他用户推送相应的视频之前,可以由点播系统预先执行转码操作。
第一转码操作是指对第一视频流按照第一转码参数进行视频转码的操作,视频转码(Video Transcoding)是指将已经压缩编码的视频码流转换成另一个视频码流,以适应不同的网络带宽、不同的终端处理能力和不同的用户需求。
在本申请实施例中,在点播系统接收到用户发布的第一视频流之后,可以按照由转码参数设计人员预先设置的第一转码参数对第一视频流执行第一转码操作。
可以理解地,第一视频流可以为单个的视频流,也可以为一组视频流(即多个视频流),在采用单个视频流执行第一转码操作,并在后续过程中,基于单个视频流执行的第一转码操作对应的转码结果信息而对第一转码参数进行调整,调整的精度较低;而在采用一组第一视频流执行第一转码操作,并在后续过程中,基于一组第一视频流执行的第一转码操作后对应的转码结果信息对第一转码参数进行调整时,参数调整的精度较高。
进而,在本申请实施例中,第一视频流优选为一组视频流,当然,第一视频流为单个视频流也可以应用于本申请实施例中,对此本申请实施例不加以限制。
在基于第一转码参数对第一视频流执行第一转码操作之后,执行步骤102。
在步骤S102中,获取与所述第一转码操作关联的第一转码结果信息。
第一转码结果信息是指在对第一视频流进行转码,得到相应的转码视频流之后,可以接收由点播系统反馈的或者用户观看转码视频流反馈的转码结果信息,第一转码结果信息可以为视频质量(如峰值信噪比(Peak Signalto Noise Ratio,PSNR)等)、视频码率、视频复杂度信息、QoS/QoE指标(如视频完播率、卡顿率等)等等。
对于第一转码结果信息具体包含的内容可以根据业务需求而定,本申请实施例对此不加以限制。
在基于第一转码参数对第一视频流执行第一转码操作之后,可以获取与第一转码操作关联的第一转码结果信息,第一转码结果信息具体可以包括服务质量信息和/或体验质量信息,服务质量信息是在对第一视频流执行第一转码操作之后,由点播系统反馈的信息;而体验质量信息是指在对第一视频流执行第一转码操作得到转码视频流,并将转码视频流推送给用户之后,由用户反馈的信息。
而针对第一转码结果信息所包含的内容不同,则获取与第一转码操作关联的第一转码结果信息的方式也是不相同的,具体地,在下述具体实现中进 行详细描述。
在本申请的一种具体实现中,在所述第一转码结果信息包括服务质量信息时,上述步骤102可以包括:
在子步骤A1中,在所述第一转码操作完成之后,获取转码得到的第一目标视频。
在本申请实施例中,第一目标视频是指在对第一视频流按照第一转码参数进行转码之后得到的视频。
服务质量信息是指在对第一视频流执行第一转码操作之后,由点播系统反馈的信息,服务质量信息可以包括视频质量信息、视频码率、视频复杂度信息等信息中的一种或多种,具体地,可以根据业务需求而定,本申请实施例对此不加以限制。
在基于第一转码参数对第一视频流执行第一转码操作之后,可以获取转码得到的第一目标视频。
在获取第一目标视频之后,执行子步骤A2。
在子步骤A2中,获取由系统反馈的与所述第一目标视频关联的服务质量信息。
在获取第一目标视频之后,点播系统可以根据生成的第一目标视频自动反馈与第一目标视频关联的服务质量信息,也即执行第一转码操作之后得到的目标视频关联的服务质量信息。
在本申请的另一种具体实现中,在所述第一转码结果信息还包括体验质量信息时,上述步骤102可以包括:
在子步骤B1中,在用户观看所述第一目标视频的过程中,由数据监控平台监控与所述第一目标视频关联的体验质量信息。
在本申请实施例中,体验质量信息是指将第一目标视频推送给用户之后,由用户反馈的信息,侧重于反映用户的体验质量。
体验质量信息可以包括视频卡顿率信息、视频完播率信息等信息中的一种或多种。
在将第一目标视频推送给用户之后,可以由数据监控平台监控用户在观看第一目标视频的过程中,与第一目标视频关联的体验质量信息。
在由数据监控平台监控与第一目标视频关联的体验质量信息之后,执行子步骤B2。
子步骤B2:获取由所述数据监控平台监控得到的所述体验质量信息。
在数据监控平台监控得到与第一目标视频关联的体验质量信息之后,可以由数据监控平台将监控得到的体验质量信息反馈给点播系统,进而点播系统可以获取到体验质量信息。
在本申请实施例中,第一转码结果信息可以仅包括服务质量信息和体验质量信息中的任一种,也可以同时包含服务质量信息和体验质量信息,具体地,可以根据业务需求而定,本申请实施例对此不加以限制。
在具体实现中,第一转码结果信息还可以包括其它信息,具体地,可以根据实际情况而定。
在获取与第一转码操作关联的第一转码结果信息之后,执行步骤103。
在步骤S103中,在接收到第二视频流时,依据转码结果信息与转码参数之间的第一关联关系,获取与所述第一转码结果信息对应的第二转码参数。
第二视频流为用户发布于点播系统中的,转码操作位于第一视频流之后的视频流。
而对于第一视频流和第二视频流发布于点播系统的时间可以是第一视频流位于第二视频流之前,也可以是第二视频流位于第一视频流之前,并且,第一视频流和第二视频流可以是同一用户发布于点播系统,也可以是由不同的用户发布于点播系统,具体地,可以根据业务需求而定,本申请实施例对此不加以限制。
第二转码参数是指依据第一转码操作得到的第一转码结果信息而得到的转码参数。
第一关联关系是指预先保存于点播系统中的转码结果信息与转码参数之间的关联关系。
在点播系统中预先保存有转码结果信息与转码参数之间的关联关系,例如,转码结果信息包括信息A、信息B和信息C,分别与信息A、信息B和信息C关联的转码参数为参数1、参数2和参数3。
在点播系统中可以以列表的形式保存上述映射关系,如下述表1所示:
表1:
转码结果信息 转码参数
A 1
B 2
C 3
当然,在点播系统中,还可以将上述关联关系保存于数据库中,具体地,可以根据业务需求而定,本申请实施例对此不加以限制。
在接收到需要进行转码的第二视频流之后,可以依据转码结果信息与转码参数之间的第一关联关系,可以获取与第一转码结果信息对应的第二转码参数。
可以理解地,第二视频流可以为单个的视频流,也可以为一组视频流(即多个视频流),在采用单个视频流执行第二转码操作,并在后续过程中,基于单个视频流执行的第二转码操作对应的转码结果信息而对第二转码参数进行调整,调整的精度较低;而在采用一组第二视频流执行第二转码操作,并在后续过程中,基于一组第二视频流执行的第二转码操作后对应的转码结果信息对第二转码参数进行调整时,参数调整的精度较高。
在本申请实施例中,第二视频流优选为一组视频流,当然,第二视频流为单个视频流也可以应用于本申请实施例中,对此本申请实施例不加以限制。
在获取第二转码参数之后,执行步骤104。
在步骤S104中,基于所述第二转码参数对所述第二视频流执行第二转码操作。
在获取第二转码参数之后,则可以基于第二转码参数对第二视频流执行第二转码操作。
本申请实施例通过根据实时转码结果信息自动实时调整转码参数,无需人工介入,减少了人力成本的投入。
本申请实施例提供的视频转码方法,基于第一转码参数对第一视频流执行第一转码操作,获取与第一转码操作关联的第一转码结果信息,并在接收到第二视频流时,依据转码结果信息与转码参数之间的第一关联关系,获取与第一转码结果信息对应的第二转码参数,基于第二转码参数对第二视频流执行第二转码操作。本申请实施例通过根据实时转码结果信息自动实时调整转码参数,无需人工介入,减少了人力成本的投入。
实施例二
图2是根据一示例性实施例示出的一种视频转码方法的流程图,包括以下步骤。
在步骤S201中,基于第一转码参数对第一视频流执行第一转码操作。
本申请实施例可以应用于点播系统中发布的视频流进行转码的场景,即在视频向用户推送之前,由点播系统对发布的视频流执行转码操作。
第一转码参数是指点播系统中由参数设计人员预先设置的视频转码参数,对于第一转码参数可以根据业务需求及点播系统而定,本申请实施例对此不加以限制。
第一视频流是指按照第一转码参数执行进行转码的视频流,第一视频流为点播系统中由用户发布的视频流,在向其他用户推送相应的视频之前,可以由点播系统预先执行转码操作。
第一转码操作是指对第一视频流按照第一转码参数进行视频转码的操作,视频转码(Video Transcoding)是指将已经压缩编码的视频码流转换成另一个视频码流,以适应不同的网络带宽、不同的终端处理能力和不同的用户需求。
在本申请实施例中,在点播系统接收到用户发布的第一视频流之后,可以按照由转码参数设计人员预先设置的第一转码参数对第一视频流执行第一转码操作。
在基于第一转码参数对第一视频流执行第一转码操作之后,执行步骤202。
在步骤S202中,获取与所述第一转码操作关联的第一转码结果信息。
第一转码结果信息是指在对第一视频流进行转码,得到相应的转码视频流之后,可以接收由点播系统反馈的或者用户观看转码视频流反馈的转码结果信息,第一转码结果信息可以为视频质量(如峰值信噪比(Peak Signalto Noise Ratio,PSNR)等)、视频码率、视频复杂度信息、QoS/QoE指标(如视频完播率、卡顿率等)等等。
对于第一转码结果信息具体包含的内容可以根据业务需求而定,本申请实施例对此不加以限制。
在基于第一转码参数对第一视频流执行第一转码操作之后,可以获取与第一转码操作关联的第一转码结果信息,第一转码结果信息具体可以包括服务质量信息和/或体验质量信息,服务质量信息是在对第一视频流执行第一转码操作之后,由点播系统反馈的信息;而体验质量信息是指在对第一视频流执行第一转码操作得到转码视频流,并将转码视频流推送给用户之后,由用户反馈的信息。
而针对第一转码结果信息所包含的内容不同,则获取与第一转码操作关联的第一转码结果信息的方式也是不相同的,具体地,在下述具体实现中进行详细描述。
在本申请的一种具体实现中,在所述第一转码结果信息包括服务质量信息时,上述步骤202可以包括:
在子步骤C1中,在所述第一转码操作完成之后,获取转码得到的第一目标视频。
在本申请实施例中,第一目标视频是指在对第一视频流按照第一转码参数进行转码之后得到的视频。
服务质量信息是指在对第一视频流执行第一转码操作之后,由点播系统反馈的信息,服务质量信息可以包括视频质量信息、视频码率、视频复杂度 信息等信息中的一种或多种,具体地,可以根据业务需求而定,本申请实施例对此不加以限制。
在基于第一转码参数对第一视频流执行第一转码操作之后,可以获取转码得到的第一目标视频。
在获取第一目标视频之后,执行子步骤C2。
在子步骤C2中,获取由系统反馈的与所述第一目标视频关联的服务质量信息。
在获取第一目标视频之后,点播系统可以根据生成的第一目标视频自动反馈与第一目标视频关联的服务质量信息,也即执行第一转码操作之后得到的目标视频关联的服务质量信息。
在本申请的另一种具体实现中,在所述第一转码结果信息还包括体验质量信息时,上述步骤202可以包括:
在子步骤D1中,在用户观看所述第一目标视频的过程中,由数据监控平台监控与所述第一目标视频关联的体验质量信息。
在本申请实施例中,体验质量信息是指将第一目标视频推送给用户之后,由用户反馈的信息,侧重于反映用户的体验质量。
体验质量信息可以包括视频卡顿率信息、视频完播率信息等信息中的一种或多种。
在将第一目标视频推送给用户之后,可以由数据监控平台监控用户在观看第一目标视频的过程中,与第一目标视频关联的体验质量信息。
在由数据监控平台监控与第一目标视频关联的体验质量信息之后,执行子步骤D2。
子步骤D2:获取由所述数据监控平台监控得到的所述体验质量信息。
在数据监控平台监控得到与第一目标视频关联的体验质量信息之后,可以由数据监控平台将监控得到的体验质量信息反馈给点播系统,进而点播系统可以获取到体验质量信息。
在本申请实施例中,第一转码结果信息可以仅包括服务质量信息和体验 质量信息中的任一种,也可以同时包含服务质量信息和体验质量信息,具体地,可以根据业务需求而定,本申请实施例对此不加以限制。
在具体实现中,第一转码结果信息还可以包括其它信息,具体地,可以根据实际情况而定。
在获取与第一转码操作关联的第一转码结果信息之后,执行步骤203。
在步骤S203中,在接收到第二视频流时,依据转码结果信息与转码参数之间的第一关联关系,获取与所述第一转码结果信息对应的第二转码参数。
第二视频流为用户发布于点播系统中的,转码操作位于第一视频流之后的视频流。
而对于第一视频流和第二视频流发布于点播系统的时间可以是第一视频流位于第二视频流之前,也可以是第二视频流位于第一视频流之前,并且,第一视频流和第二视频流可以是同一用户发布于点播系统,也可以是由不同的用户发布于点播系统,具体地,可以根据业务需求而定,本申请实施例对此不加以限制。
第二转码参数是指依据第一转码操作得到的第一转码结果信息而得到的转码参数。
第一关联关系是指预先保存于点播系统中的转码结果信息与转码参数之间的关联关系。
在点播系统中预先保存有转码结果信息与转码参数之间的关联关系,例如,转码结果信息包括信息A、信息B和信息C,分别与信息A、信息B和信息C关联的转码参数为参数1、参数2和参数3。
在点播系统中可以以列表的形式保存上述映射关系,如下述表2所示:
表2:
转码结果信息 转码参数
A 1
B 2
C 3
当然,在点播系统中,还可以将上述关联关系保存于数据库中,具体地,可以根据业务需求而定,本申请实施例对此不加以限制。
在接收到需要进行转码的第二视频流之后,可以依据转码结果信息与转码参数之间的第一关联关系,可以获取与第一转码结果信息对应的第二转码参数。
在获取第二转码参数之后,执行步骤204。
在步骤S204中,基于所述第二转码参数对所述第二视频流执行第二转码操作。
在获取第二转码参数之后,则可以基于第二转码参数对第二视频流执行第二转码操作。
本申请实施例通过根据实时转码结果信息自动实时调整转码参数,无需人工介入,减少了人力成本的投入。
在步骤S205中,生成与所述第二转码参数关联的日志信息。
与第二转码参数关联的日志信息是指将第一转码参数转换为第二转码参数时生成的日志信息。
可以理解地,在将第一转码参数转换为第二转码参数的过程中,可以实时记录转换过程,并记录第一转码参数,及转换得到的第二转码参数,而得到相应的日志信息。
本申请实施例提供的日志信息可以为后续过程中,在检测转换得到的第二转码参数出现异常时,可以对第二转码参数进行再次的转换。
在步骤S206中,在所述第二转码操作完成之后,获取转码得到的第二目标视频。
第二目标视频是指采用第二转码参数对第二视频流执行第二转码操作之后,得到的视频。
在第二转码操作完成之后,即可以获取到相应的转码后的第二目标视频。
在获取转码得到的第二目标视频之后,执行步骤207。
在步骤S207中,获取与所述第二目标视频关联的第二转码结果信息。
在本申请实施例中,第二转码结果信息是指在对第二视频流进行转码,得到相应的转码视频流之后,可以接收由点播系统反馈的或者用户观看转码视频流反馈的转码结果信息,第二转码结果信息可以为视频质量(如峰值信噪比(Peak Signalto Noise Ratio,PSNR)等)、视频码率、视频复杂度信息、QoS/QoE指标(如视频完播率、卡顿率等)等等。
可以理解地,第二转码结果信息是与第一转码结果信息相对应的,在第一转码结果信息仅包含服务质量信息时,则第二转码结果信息也仅包含服务质量信息;而在第一转码结果信息仅包含体验质量信息时,则第二转码结果信息也仅包含体验质量信息;而在第一转码结果信息同时包含服务质量信息和体验质量信息时,则第二转码结果也同时包含服务质量信息和体验质量信息。
而对于第二转码结果信息的获取方式与上述获取第一转码结果信息的方式相似,本申请实施例在此不再加以详细描述。
在获取与第二目标视频对应的第二转码结果信息之后,执行步骤208。
在步骤S208中,在基于所述日志信息确定所述第二转码结果信息不符合预设条件的情况下,对所述第一关联关系进行调整,得到第二关联关系。
预设条件是指用于判定转码结果信息是否符合要求的条件,而对于转码结果信息是否符合要求可以根据点播系统及业务需求而定,本申请实施例对此不加以限制。
在生成与第二转码参数关联的日志信息之后,可以基于日志信息确定第二转码结果信息是否符合预设条件。
在第二转码结果信息不符合预设条件的情况下,则可以对第一关联关系进行调整,从而得到第二关联关系。
在对第一关联关系进行调整,得到第二关联关系之后,执行步骤209。
在步骤S209中,在接收到第三视频流时,依据所述第二关联关系,获取与所述第二转码结果信息对应的第三转码参数。
第三转码参数是指依据第二关联关系对第二转码参数进行转换得到的转码参数。
第三视频流是指采用第三转码参数执行转码操作的视频流。
在接收到需要进行转码操作的第三视频流时,则可以依据第二关联关系,获取与第二转码结果信息对应的第三转码参数。
在获取第三转码参数之后,执行步骤210。
在步骤S210中,基于所述第三转码参数对所述第三视频流执行第三转码操作。
第三转码操作是指采用第三转码参数对第三视频流执行的转码操作。
在获取第三转码参数之后,可以基于第三转码参数对第三视频流执行第三转码操作。
本申请实施例根据转码参数转换的日志信息,对转码结果信息与转码参数之间的关联关系进行调整,进而能够根据足够多有效的输入来改善关联关系,使得后续视频转码的准确性。
可以理解地,第三视频流可以为单个的视频流,也可以为一组视频流(即多个视频流),在采用单个视频流执行第三转码操作,并在后续过程中,基于单个视频流执行的第三转码操作对应的转码结果信息而对第三转码参数进行调整,调整的精度较低;而在采用一组第三视频流执行第三转码操作,并在后续过程中,基于一组第三视频流执行的第三转码操作后对应的转码结果信息对第三转码参数进行调整时,参数调整的精度较高。
在本申请实施例中,第三视频流优选为一组视频流,当然,第三视频流为单个视频流也可以应用于本申请实施例中,对此本申请实施例不加以限制。
本申请实施例提供的视频转码方法,除了具备实施例一提供的视频转码方法所具备的有益效果外,还可以根据转码参数转换的日志信息,对转码结果信息与转码参数之间的关联关系进行调整,进而能够根据足够多有效的输入来改善关联关系,使得后续视频转码的准确性。
实施例三
图3是根据一示例性实施例示出的一种视频转码装置的结构框图。参照图3,该装置包括第一转码操作执行模块131,第一转码结果获取模块132,第二转码参数获取模块133和第二转码操作执行模块134。
该第一转码操作执行模块131被配置为基于第一转码参数对第一视频流执行第一转码操作;
该第一转码结果获取模块132被配置为获取与所述第一转码操作关联的第一转码结果信息;
该第二转码参数获取模块133被配置为在接收到第二视频流时,依据转码结果信息与转码参数之间的第一关联关系,获取与所述第一转码结果信息对应的第二转码参数;
该第二转码操作执行模块134被配置为基于所述第二转码参数对所述第二视频流执行第二转码操作。
在本申请实施例的一种具体实现中,所述第一转码结果信息包括服务质量信息,所述第一转码结果获取模块132包括:第一目标视频获取子模块和服务质量信息获取子模块。
该第一目标视频获取子模块被配置为在所述第一转码操作完成之后,获取转码得到的第一目标视频;
该服务质量信息获取子模块被配置为获取由系统反馈的与所述第一目标视频关联的服务质量信息;
其中,所述服务质量信息包括视频质量信息、视频码率、视频复杂度信息中的至少一种。
在本申请实施例的一种具体实现中,所述第一转码结果信息还包括体验质量信息,所述第一转码结果获取模块132包括:体验质量信息监控子模块和体验质量信息获取子模块。
该体验质量信息监控子模块被配置为在用户观看所述第一目标视频的过程中,由数据监控平台监控与所述第一目标视频关联的体验质量信息;
该体验质量信息获取子模块被配置为获取由所述数据监控平台监控得到 的所述体验质量信息;
其中,体验质量信息包括视频卡顿率信息、视频完播率信息中的至少一种。
本申请实施例提供的视频转码装置,基于第一转码参数对第一视频流执行第一转码操作,获取与第一转码操作关联的第一转码结果信息,并在接收到第二视频流时,依据转码结果信息与转码参数之间的第一关联关系,获取与第一转码结果信息对应的第二转码参数,基于第二转码参数对第二视频流执行第二转码操作。本申请实施例通过根据实时转码结果信息自动实时调整转码参数,无需人工介入,减少了人力成本的投入。
实施例四
图4是根据一示例性实施例示出的一种视频转码装置的结构框图。参照图4,该装置包括第一转码操作执行模块141,第一转码结果获取模块142,第二转码参数获取模块143,第二转码操作执行模块144,日志信息生成模块145,第二目标视频获取模块146,第二转码结果获取模块147,第二关联关系获取模块148,第三转码参数获取模块149和第三转码操作执行模块1410。
该第一转码操作执行模块141被配置为基于第一转码参数对第一视频流执行第一转码操作;
该第一转码结果获取模块142被配置为获取与所述第一转码操作关联的第一转码结果信息;
该第二转码参数获取模块143被配置为在接收到第二视频流时,依据转码结果信息与转码参数之间的第一关联关系,获取与所述第一转码结果信息对应的第二转码参数;
该第二转码操作执行模块144被配置为基于所述第二转码参数对所述第二视频流执行第二转码操作;
该日志信息生成模块145被配置为生成与所述第二转码参数关联的日志信息;
该第二目标视频获取模块146被配置为在所述第二转码操作完成之后, 获取转码得到的第二目标视频;
该第二转码结果获取模块147被配置为获取与所述第二目标视频关联的第二转码结果信息;
该第二关联关系获取模块148被配置为在基于所述日志信息确定所述第二转码结果信息不符合预设条件的情况下,对所述第一关联关系进行调整,得到第二关联关系;
该第三转码参数获取模块149被配置为在接收到第三视频流时,依据所述第二关联关系,获取与所述第二转码结果信息对应的第三转码参数;
该第三转码操作执行模块1410被配置为基于所述第三转码参数对所述第三视频流执行第三转码操作。
本申请实施例提供的视频转码装置,除了具备实施例三提供的视频转码装置所具备的有益效果外,还可以根据转码参数转换的日志信息,对转码结果信息与转码参数之间的关联关系进行调整,进而能够根据足够多有效的输入来改善关联关系,使得后续视频转码的准确性。
如图5所示,本申请实施例还提供一种终端设备500,包括:
处理器501;
用于存储处理器501可执行指令的存储器502;
其中,所述处理器501被配置为:当所述一个或多个程序被所述一个或多个处理器501执行,使得所述一个或多个处理器501实现下列过程:
基于第一转码参数对第一视频流执行第一转码操作;
获取与所述第一转码操作关联的第一转码结果信息;
在接收到第二视频流时,依据转码结果信息与转码参数之间的第一关联关系,获取与所述第一转码结果信息对应的第二转码参数;
基于所述第二转码参数对所述第二视频流执行第二转码操作。
在本申请实施例的一种具体实现中,所述第一转码结果信息包括服务质量信息,在所述获取与所述第一转码操作关联的第一转码结果信息时,所述一个或多个处理器501用于:
在所述第一转码操作完成之后,获取转码得到的第一目标视频;
获取由系统反馈的与所述第一目标视频关联的服务质量信息;
其中,所述服务质量信息包括视频质量信息、视频码率、视频复杂度信息中的至少一种。
在本申请实施例的一种具体实现中,所述第一转码结果信息还包括体验质量信息,在所述获取与所述第一转码操作关联的第一转码结果信息时,所述一个或多个处理器501用于:
在用户观看所述第一目标视频的过程中,由数据监控平台监控与所述第一目标视频关联的体验质量信息;
获取由所述数据监控平台监控得到的所述体验质量信息;
其中,所述体验质量信息包括视频卡顿率信息、视频完播率信息中的至少一种。
在本申请实施例的一种具体实现中,在所述基于所述第二转码参数对所述第二视频流执行第二转码操作之后,所述一个或多个处理器501还用于:
生成与所述第二转码参数关联的日志信息;
在所述第二转码操作完成之后,获取转码得到的第二目标视频;
获取与所述第二目标视频关联的第二转码结果信息;
在基于所述日志信息确定所述第二转码结果信息不符合预设条件的情况下,对所述第一关联关系进行调整,得到第二关联关系。
在本申请实施例的一种具体实现中,在所述对所述第一关联关系进行调整,得到第二关联关系的步骤之后,所述一个或多个处理器501还用于:
在接收到第三视频流时,依据所述第二关联关系,获取与所述第二转码结果信息对应的第三转码参数;
基于所述第三转码参数对所述第三视频流执行第三转码操作。
图6是根据一示例性实施例示出的一种用于视频转码的装置600的框图。例如,装置600可以是移动电话,计算机,数字广播终端,消息收发设备,游戏控制台,平板设备,医疗设备,健身设备,个人数字助理等。
参照图6,装置600可以包括以下一个或多个组件:处理组件602,存储器604,电源组件606,多媒体组件608,音频组件610,输入/输出(Input/Output,I/O)的接口612,传感器组件614,以及通信组件616。
处理组件602通常控制装置600的整体操作,诸如与显示,电话呼叫,数据通信,相机操作和记录操作相关联的操作。处理组件602可以包括一个或多个处理器620来执行指令,以完成上述的方法的全部或部分步骤。此外,处理组件602可以包括一个或多个模块,便于处理组件602和其他组件之间的交互。例如,处理组件602可以包括多媒体模块,以方便多媒体组件608和处理组件602之间的交互。
存储器604被配置为存储各种类型的数据以支持在装置600的操作。这些数据的示例包括用于在装置600上操作的任何应用程序或方法的指令,联系人数据,电话簿数据,消息,图片,视频等。存储器604可以由任何类型的易失性或非易失性存储设备或者它们的组合实现,如静态随机存取存储器(Static Random Access Memory,SRAM),电可擦除可编程只读存储器(Electrically Erasable Programmable Read-Only Memory,EEPROM),可擦除可编程只读存储器(Erasable Programmable Read-Only Memory,EPROM),可编程只读存储器(Programmable Read-Only Memory,PROM),只读存储器(Read-Only Memory,ROM),磁存储器,快闪存储器,磁盘或光盘。
电源组件606为装置600的各种组件提供电力。电源组件606可以包括电源管理系统,一个或多个电源,及其他与为装置600生成、管理和分配电力相关联的组件。
多媒体组件608包括在所述装置600和用户之间的提供一个输出接口的屏幕。在一些实施例中,屏幕可以包括液晶显示器(Liquid Crystal Display,LCD)和触摸面板(Touch Panel,TP)。如果屏幕包括触摸面板,屏幕可以被实现为触摸屏,以接收来自用户的输入信号。触摸面板包括一个或多个触摸传感器以感测触摸、滑动和触摸面板上的手势。所述触摸传感器可以不仅感测触摸或滑动动作的边界,而且还检测与所述触摸或滑动操作相关的持续 时间和压力。在一些实施例中,多媒体组件608包括一个前置摄像头和/或后置摄像头。当装置600处于操作模式,如拍摄模式或视频模式时,前置摄像头和/或后置摄像头可以接收外部的多媒体数据。每个前置摄像头和后置摄像头可以是一个固定的光学透镜系统或具有焦距和光学变焦能力。
音频组件610被配置为输出和/或输入音频信号。例如,音频组件610包括一个麦克风(Microphone,MIC),当装置600处于操作模式,如呼叫模式、记录模式和语音识别模式时,麦克风被配置为接收外部音频信号。所接收的音频信号可以被进一步存储在存储器604或经由通信组件616发送。在一些实施例中,音频组件610还包括一个扬声器,用于输出音频信号。
I/O接口612为处理组件602和外围接口模块之间提供接口,上述外围接口模块可以是键盘,点击轮,按钮等。这些按钮可包括但不限于:主页按钮、音量按钮、启动按钮和锁定按钮。
传感器组件614包括一个或多个传感器,用于为装置600提供各个方面的状态评估。例如,传感器组件614可以检测到装置600的打开/关闭状态,组件的相对定位,例如所述组件为装置600的显示器和小键盘,传感器组件614还可以检测装置600或装置600一个组件的位置改变,用户与装置600接触的存在或不存在,装置600方位或加速/减速和装置600的温度变化。传感器组件614可以包括接近传感器,被配置用来在没有任何的物理接触时检测附近物体的存在。传感器组件614还可以包括光传感器,如互补金属氧化物半导体(Complementary Metal Oxide Semiconductor,CMOS)图像传感器或电荷耦合元件(Charge-coupled Device,CCD)图像传感器,用于在成像应用中使用。在一些实施例中,该传感器组件614还可以包括加速度传感器,陀螺仪传感器,磁传感器,压力传感器或温度传感器。
通信组件616被配置为便于装置600和其他设备之间有线或无线方式的通信。装置600可以接入基于通信标准的无线网络,如WiFi,运营商网络(如2G、3G、4G或5G),或它们的组合。在一个示例性实施例中,通信组件616经由广播信道接收来自外部广播管理系统的广播信号或广播相关信息。在一 个示例性实施例中,所述通信组件616还包括近场通信(Near Field Communication,NFC)模块,以促进短程通信。例如,在NFC模块可基于射频识别(Radio Frequency Identification,RFID)技术,红外数据协会(Infrared Data Association,IrDA)技术,超宽带(Ultra Wide Band,UWB)技术,蓝牙(Bluetooth,BT)技术和其他技术来实现。
在示例性实施例中,装置600可以被一个或多个应用专用集成电路(Application Specific Integrated Circuit,ASIC)、数字信号处理器(Digital Signal Processor,DSP)、数字信号处理设备(Digital Signal Processor Device,DSPD)、可编程逻辑器件(Programmable Logic Device,PLD)、现场可编程门阵列(Fieldprogrammable Gate Array,FPGA)、控制器、微控制器、微处理器或其他电子元件实现,用于执行上述方法。
在示例性实施例中,还提供了一种包括指令的非临时性计算机可读存储介质,例如包括指令的存储器604,上述指令可由装置600的处理器620执行以完成上述方法。例如,所述非临时性计算机可读存储介质可以是ROM、随机存取存储器(Random Access Memory,RAM)、只读光盘(Compact Disc Read-Only Memory,CD-ROM)、磁带、软盘和光数据存储设备等。
图7是根据一示例性实施例示出的一种用于视频转码的装置700的框图。例如,装置700可以被提供为一服务器。参照图7,装置700包括处理组件722,其进一步包括一个或多个处理器,以及由存储器732所代表的存储器资源,用于存储可由处理组件722的执行的指令,例如应用程序。存储器732中存储的应用程序可以包括一个或一个以上的每一个对应于一组指令的模块。此外,处理组件722被配置为执行指令,以执行上述视频转码方法。
装置700还可以包括一个电源组件726被配置为执行装置700的电源管理,一个有线或无线网络接口750被配置为将装置700连接到网络,和一个输入输出(I/O)接口758。装置700可以操作基于存储在存储器732的操作系统,例如Windows ServerTM,Mac OS XTM,UnixTM,LinuxTM,FreeBSDTM或类似。

Claims (12)

  1. 一种视频转码方法,包括:
    基于第一转码参数对第一视频流执行第一转码操作;
    获取与所述第一转码操作关联的第一转码结果信息;
    在接收到第二视频流时,依据转码结果信息与转码参数之间的第一关联关系,获取与所述第一转码结果信息对应的第二转码参数;
    基于所述第二转码参数对所述第二视频流执行第二转码操作。
  2. 根据权利要求1所述的方法,所述第一转码结果信息包括服务质量信息,所述获取与所述第一转码操作关联的第一转码结果信息的步骤,包括:
    在所述第一转码操作完成之后,获取转码得到的第一目标视频;
    获取由系统反馈的与所述第一目标视频关联的服务质量信息;
    其中,所述服务质量信息包括视频质量信息、视频码率、视频复杂度信息中的至少一种。
  3. 根据权利要求2所述的方法,所述第一转码结果信息还包括体验质量信息,所述获取与所述第一转码操作关联的第一转码结果信息的步骤,包括:
    在用户观看所述第一目标视频的过程中,由数据监控平台监控与所述第一目标视频关联的体验质量信息;
    获取由所述数据监控平台监控得到的所述体验质量信息;
    其中,所述体验质量信息包括视频卡顿率信息、视频完播率信息中的至少一种。
  4. 根据权利要求1所述的方法,在所述基于所述第二转码参数对所述第二视频流执行第二转码操作的步骤之后,还包括:
    生成与所述第二转码参数关联的日志信息;
    在所述第二转码操作完成之后,获取转码得到的第二目标视频;
    获取与所述第二目标视频关联的第二转码结果信息;
    在基于所述日志信息确定所述第二转码结果信息不符合预设条件的情况 下,对所述第一关联关系进行调整,得到第二关联关系。
  5. 根据权利要求4所述的方法,在所述对所述第一关联关系进行调整,得到第二关联关系的步骤之后,还包括:
    在接收到第三视频流时,依据所述第二关联关系,获取与所述第二转码结果信息对应的第三转码参数;
    基于所述第三转码参数对所述第三视频流执行第三转码操作。
  6. 一种视频转码装置,包括:
    第一转码操作执行模块,用于基于第一转码参数对第一视频流执行第一转码操作;
    第一转码结果获取模块,用于获取与所述第一转码操作关联的第一转码结果信息;
    第二转码参数获取模块,用于在接收到第二视频流时,依据转码结果信息与转码参数之间的第一关联关系,获取与所述第一转码结果信息对应的第二转码参数;
    第二转码操作执行模块,用于基于所述第二转码参数对所述第二视频流执行第二转码操作。
  7. 一种电子设备,包括:
    处理器;
    用于存储处理器可执行指令的存储器;
    其中,所述处理器被配置为:
    基于第一转码参数对第一视频流执行第一转码操作;
    获取与所述第一转码操作关联的第一转码结果信息;
    在接收到第二视频流时,依据转码结果信息与转码参数之间的第一关联关系,获取与所述第一转码结果信息对应的第二转码参数;
    基于所述第二转码参数对所述第二视频流执行第二转码操作。
  8. 根据权利要求7所述的电子设备,所述第一转码结果信息包括服务质量信息,在所述获取与所述第一转码操作关联的第一转码结果信息时,所述 一个或多个处理器用于:
    在所述第一转码操作完成之后,获取转码得到的第一目标视频;
    获取由系统反馈的与所述第一目标视频关联的服务质量信息;
    其中,所述服务质量信息包括视频质量信息、视频码率、视频复杂度信息中的至少一种。
  9. 根据权利要求8所述的电子设备,所述第一转码结果信息还包括体验质量信息,在所述获取与所述第一转码操作关联的第一转码结果信息时,所述一个或多个处理器用于:
    在用户观看所述第一目标视频的过程中,由数据监控平台监控与所述第一目标视频关联的体验质量信息;
    获取由所述数据监控平台监控得到的所述体验质量信息;
    其中,所述体验质量信息包括视频卡顿率信息、视频完播率信息中的至少一种。
  10. 根据权利要求7所述的电子设备,在所述基于所述第二转码参数对所述第二视频流执行第二转码操作之后,所述一个或多个处理器还用于:
    生成与所述第二转码参数关联的日志信息;
    在所述第二转码操作完成之后,获取转码得到的第二目标视频;
    获取与所述第二目标视频关联的第二转码结果信息;
    在基于所述日志信息确定所述第二转码结果信息不符合预设条件的情况下,对所述第一关联关系进行调整,得到第二关联关系。
  11. 根据权利要求10所述的电子设备,在所述对所述第一关联关系进行调整,得到第二关联关系的步骤之后,所述一个或多个处理器还用于:
    在接收到第三视频流时,依据所述第二关联关系,获取与所述第二转码结果信息对应的第三转码参数;
    基于所述第三转码参数对所述第三视频流执行第三转码操作。
  12. 一种非临时性计算机可读存储介质,当所述存储介质中的指令由移动终端的处理器执行时,使得移动终端能够执行如权利要求1至5任一项所 述的视频转码方法。
PCT/CN2020/084552 2019-05-17 2020-04-13 视频转码方法、装置、电子设备及存储介质 WO2020233283A1 (zh)

Priority Applications (2)

Application Number Priority Date Filing Date Title
EP20810064.4A EP3972259A4 (en) 2019-05-17 2020-04-13 VIDEO TRANSCODING METHOD AND APPARATUS, ELECTRONIC DEVICE AND STORAGE MEDIA
US17/527,609 US20220078456A1 (en) 2019-05-17 2021-11-16 Method and apparatus for video transcoding

Applications Claiming Priority (2)

Application Number Priority Date Filing Date Title
CN201910414407.1A CN110166797B (zh) 2019-05-17 2019-05-17 视频转码方法、装置、电子设备及存储介质
CN201910414407.1 2019-05-17

Related Child Applications (1)

Application Number Title Priority Date Filing Date
US17/527,609 Continuation US20220078456A1 (en) 2019-05-17 2021-11-16 Method and apparatus for video transcoding

Publications (1)

Publication Number Publication Date
WO2020233283A1 true WO2020233283A1 (zh) 2020-11-26

Family

ID=67631343

Family Applications (1)

Application Number Title Priority Date Filing Date
PCT/CN2020/084552 WO2020233283A1 (zh) 2019-05-17 2020-04-13 视频转码方法、装置、电子设备及存储介质

Country Status (4)

Country Link
US (1) US20220078456A1 (zh)
EP (1) EP3972259A4 (zh)
CN (1) CN110166797B (zh)
WO (1) WO2020233283A1 (zh)

Families Citing this family (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN110166797B (zh) * 2019-05-17 2022-02-01 北京达佳互联信息技术有限公司 视频转码方法、装置、电子设备及存储介质

Citations (6)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
US20090125315A1 (en) * 2007-11-09 2009-05-14 Microsoft Corporation Transcoder using encoder generated side information
CN102045312A (zh) * 2009-10-21 2011-05-04 三星电子(中国)研发中心 自适应转码方法和系统
CN102143355A (zh) * 2011-03-25 2011-08-03 中国科学院深圳先进技术研究院 视频监控系统及方法
CN103327401A (zh) * 2012-03-19 2013-09-25 深圳市快播科技有限公司 多媒体转码器及转码方法、多媒体播放终端
CN109729384A (zh) * 2018-12-18 2019-05-07 广州市百果园信息技术有限公司 视频转码的选择方法和装置
CN110166797A (zh) * 2019-05-17 2019-08-23 北京达佳互联信息技术有限公司 视频转码方法、装置、电子设备及存储介质

Family Cites Families (5)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
KR101459395B1 (ko) * 2007-11-02 2014-11-10 에꼴 드 테크놀로지 수페리에르 디지털 이미지의 트랜스코딩에서 파라미터의 퀄리티-인식 선택을 위한 시스템 및 방법
US8441955B2 (en) * 2011-01-24 2013-05-14 Tektronix, Inc. Determining mobile video quality of experience and impact of video transcoding
WO2013126284A2 (en) * 2012-02-24 2013-08-29 Vid Scale, Inc. Video coding using packet loss detection
WO2014066975A1 (en) * 2012-10-30 2014-05-08 Avvasi Inc. Methods and systems for controlling quality of a media session
US9357213B2 (en) * 2012-12-12 2016-05-31 Imagine Communications Corp. High-density quality-adaptive multi-rate transcoder systems and methods

Patent Citations (6)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
US20090125315A1 (en) * 2007-11-09 2009-05-14 Microsoft Corporation Transcoder using encoder generated side information
CN102045312A (zh) * 2009-10-21 2011-05-04 三星电子(中国)研发中心 自适应转码方法和系统
CN102143355A (zh) * 2011-03-25 2011-08-03 中国科学院深圳先进技术研究院 视频监控系统及方法
CN103327401A (zh) * 2012-03-19 2013-09-25 深圳市快播科技有限公司 多媒体转码器及转码方法、多媒体播放终端
CN109729384A (zh) * 2018-12-18 2019-05-07 广州市百果园信息技术有限公司 视频转码的选择方法和装置
CN110166797A (zh) * 2019-05-17 2019-08-23 北京达佳互联信息技术有限公司 视频转码方法、装置、电子设备及存储介质

Also Published As

Publication number Publication date
EP3972259A4 (en) 2022-08-17
CN110166797B (zh) 2022-02-01
EP3972259A1 (en) 2022-03-23
CN110166797A (zh) 2019-08-23
US20220078456A1 (en) 2022-03-10

Similar Documents

Publication Publication Date Title
EP3046309B1 (en) Method, device and system for projection on screen
CN109474538B (zh) 一种数据传输方法、装置、终端设备及存储介质
CN106210797B (zh) 网络直播方法及装置
JP6382345B2 (ja) ネットワークジッタ処理方法、装置、端末デバイス、プログラム及び記録媒体
EP2986020B1 (en) Method and apparatus for adjusting video quality based on network environment
CN107360326B (zh) 终端音量调节处理方法及音量调节终端
CN112114765A (zh) 投屏方法、装置及存储介质
CN106131615A (zh) 视频播放方法及装置
CN111182328B (zh) 一种视频剪辑方法、装置、服务器、终端及存储介质
WO2018076358A1 (zh) 多媒体信息播放方法及系统、标准化服务器、直播终端
CN105120301A (zh) 视频处理方法和装置、智能设备
CN109561356B (zh) 数据发送方法、数据发送装置、电子设备和计算机可读存储介质
WO2020233283A1 (zh) 视频转码方法、装置、电子设备及存储介质
CN109729382B (zh) 音视频数据的音量处理方法、装置及服务器、电子设备
CN108600503B (zh) 语音通话的控制方法及装置
CN114422854A (zh) 一种数据处理方法、装置、电子设备及存储介质
CN104112460B (zh) 播放音频数据的方法和装置
WO2023216119A1 (zh) 音频信号编码方法、装置、电子设备和存储介质
CN110213531B (zh) 监控录像处理方法及装置
CN107566952B (zh) 音频信号处理方法及装置
CN114007101B (zh) 融合显示设备的处理方法、设备及存储介质
CN111182327A (zh) 一种视频剪辑方法、装置、视频分发服务器及终端
CN110784721A (zh) 一种图片数据压缩方法、装置、电子设备及存储介质
WO2024212118A1 (zh) 音频码流信号处理方法、装置、电子设备和存储介质
CN114363674B (zh) 视频播放方法、装置、终端及存储介质

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

Country of ref document: EP

Kind code of ref document: A1

NENP Non-entry into the national phase

Ref country code: DE

WWE Wipo information: entry into national phase

Ref document number: 2020810064

Country of ref document: EP