CN114979714A - Video transcoding playing method and device, electronic equipment and computer readable medium - Google Patents

Video transcoding playing method and device, electronic equipment and computer readable medium Download PDF

Info

Publication number
CN114979714A
CN114979714A CN202210902743.2A CN202210902743A CN114979714A CN 114979714 A CN114979714 A CN 114979714A CN 202210902743 A CN202210902743 A CN 202210902743A CN 114979714 A CN114979714 A CN 114979714A
Authority
CN
China
Prior art keywords
video
transcoding
processed
template
control
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.)
Granted
Application number
CN202210902743.2A
Other languages
Chinese (zh)
Other versions
CN114979714B (en
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.)
Zhongguancun Smart City Co Ltd
Original Assignee
Zhongguancun Smart City Co Ltd
Priority date (The priority date is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the date listed.)
Filing date
Publication date
Application filed by Zhongguancun Smart City Co Ltd filed Critical Zhongguancun Smart City Co Ltd
Priority to CN202210902743.2A priority Critical patent/CN114979714B/en
Publication of CN114979714A publication Critical patent/CN114979714A/en
Application granted granted Critical
Publication of CN114979714B publication Critical patent/CN114979714B/en
Active legal-status Critical Current
Anticipated expiration legal-status Critical

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, manipulating MPEG-4 scene graphs
    • H04N21/2343Processing of video elementary streams, e.g. splicing of video streams, manipulating MPEG-4 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, manipulating MPEG-4 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/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, rendering scenes according to MPEG-4 scene graphs
    • H04N21/4402Processing of video elementary streams, e.g. splicing a video clip retrieved from local storage with an incoming video stream, rendering scenes according to MPEG-4 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, rendering scenes according to MPEG-4 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

Landscapes

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

Abstract

The embodiment of the disclosure discloses a video transcoding playing method, a video transcoding playing device, electronic equipment and a computer readable medium. One embodiment of the method comprises: uploading each video to be processed in the video set to be processed to a server; sending a transcoding request for at least one to-be-processed video to a server in response to detecting a first selection operation acting on a transcoding template determination control; receiving a transcoding video website set corresponding to a transcoding request sent by a server; and in response to detecting a second selection operation acting on the video playing control, playing the video of the transcoded video website corresponding to the second selection operation according to the transcoded video website corresponding to the second selection operation in the transcoded video website set. The implementation mode improves the video transcoding efficiency and reduces the waiting time of the user for watching the video.

Description

Video transcoding playing method and device, electronic equipment and computer readable medium
Technical Field
The embodiment of the disclosure relates to the technical field of computers, in particular to a video transcoding playing method, a video transcoding playing device, electronic equipment and a computer readable medium.
Background
In the process of watching a video by a user, in order to ensure that the user can watch the video smoothly and stably, transcoding the format of the video is generally required, and then playing the transcoded video for the user. At present, when transcoding a video, the method generally adopted is as follows: and transcoding each video in turn according to corresponding requirements (such as a specified video format and a specified video code rate).
However, when transcoding video in the above manner, the following technical problems often exist:
firstly, transcoding each video in sequence can not be performed simultaneously, so that long time is needed for transcoding each video, the transcoding efficiency is low, and the waiting time for watching the video by a user is too long.
Secondly, part of the transcoding templates cannot be used, so that a user needs to spend a long time to select the available transcoding templates when selecting the transcoding templates, the transcoding efficiency is further reduced, and the user experience is poor.
Thirdly, the user cannot be prompted about the transcoding template to be forbidden, so that the transcoding template selected by the user is unavailable, the user needs to reselect the transcoding template, and the transcoding efficiency is influenced.
Fourthly, when the video transcoding is in a problem, prompt cannot be timely carried out, long-time blocking of the video transcoding is caused, and transcoding efficiency is affected.
Disclosure of Invention
This summary is provided to introduce a selection of concepts in a simplified form that are further described below in the detailed description. This summary is not intended to identify key features or essential features of the claimed subject matter, nor is it intended to be used to limit the scope of the claimed subject matter.
Some embodiments of the present disclosure propose a video transcoding playing method, apparatus, electronic device and computer readable medium to solve one or more of the technical problems mentioned in the background section above.
In a first aspect, some embodiments of the present disclosure provide a video transcoding playing method, including: uploading each video to be processed in the video set to be processed to a server; in response to detecting a first selection operation acting on a transcoding template determination control, sending a transcoding request for at least one to-be-processed video to the server, wherein the at least one to-be-processed video is a to-be-processed video corresponding to the first selection operation in the to-be-processed video set, the server is configured to perform transcoding processing on the at least one to-be-processed video according to the transcoding request to obtain a transcoded video website set, the number of transcoded video websites in the transcoded video website set is greater than or equal to the number of to-be-processed videos in the at least one to-be-processed video, and the transcoding request includes at least one transcoding template identifier; receiving a transcoding video website set which is sent by the server and corresponds to the transcoding request; and in response to detecting a second selection operation acting on the video playing control, playing the video of the transcoded video website corresponding to the second selection operation according to the transcoded video website corresponding to the second selection operation in the transcoded video website set.
In a second aspect, some embodiments of the present disclosure provide a video transcoding playing device, including: the uploading unit is configured to upload each video to be processed in the video set to be processed to the server; a sending unit, configured to send, in response to detecting a first selection operation acting on a transcoding template determination control, a transcoding request for at least one to-be-processed video to the server, where the at least one to-be-processed video is a to-be-processed video corresponding to the first selection operation in the to-be-processed video set, and the server is configured to perform transcoding processing on the at least one to-be-processed video according to the transcoding request to obtain a transcoded video website set, where the number of transcoded video websites in the transcoded video website set is greater than or equal to the number of to-be-processed videos in the at least one to-be-processed video, and the transcoding request includes at least one transcoding template identifier; the receiving unit is configured to receive a transcoding video website set which is sent by the server and corresponds to the transcoding request; and the playing unit is configured to respond to the detection of a second selection operation acting on the video playing control, and play the video of the transcoded video website corresponding to the second selection operation according to the transcoded video website corresponding to the second selection operation in the transcoded video website set.
In a third aspect, some embodiments of the present disclosure provide an electronic device, comprising: one or more processors; a storage device having one or more programs stored thereon, which when executed by one or more processors, cause the one or more processors to implement the method described in any of the implementations of the first aspect.
In a fourth aspect, some embodiments of the present disclosure provide a computer readable medium on which a computer program is stored, wherein the program, when executed by a processor, implements the method described in any of the implementations of the first aspect.
Various embodiments of the present disclosure have the following beneficial effects: by the video transcoding playing method of some embodiments of the present disclosure, the waiting time for a user to watch a video is reduced. Specifically, the reason why the waiting time for the user to watch the video is too long is that: transcoding is carried out on each video in sequence, transcoding can not be carried out on each video simultaneously, long time is needed for transcoding each video, transcoding efficiency is low, and waiting time for watching the video by a user is long. Based on this, in the video transcoding playing method of some embodiments of the present disclosure, first, each to-be-processed video in the to-be-processed video set is uploaded to the server. Therefore, the server can receive each video to be processed in the video set to be processed. Then, in response to detecting a first selection operation acting on the transcoding template determination control, a transcoding request for at least one to-be-processed video is sent to the server. The at least one video to be processed is a video to be processed corresponding to the first selection operation in the video set to be processed. The server is used for transcoding at least one to-be-processed video according to the transcoding request so as to obtain a transcoded video website set. The number of the transcoded video websites in the transcoded video website set is greater than or equal to the number of the videos to be processed in at least one video to be processed. The transcoding request includes at least one transcoding template. Therefore, the server side can transcode at least one to-be-processed video according to at least one transcoding template to obtain a transcoded video website set. And secondly, receiving a transcoding video website set which is sent by the server and corresponds to the transcoding request. Therefore, the website representing the address of the video obtained by transcoding each to-be-processed video can be obtained. And finally, in response to detecting a second selection operation acting on the video playing control, playing the video of the transcoded video website corresponding to the second selection operation according to the transcoded video website corresponding to the second selection operation in the transcoded video website set. Therefore, the transcoded video to be processed can be played. Due to the first selection operation acting on the transcoding template determination control, the server side can transcode at least one to-be-processed video according to at least one transcoding template, so that for each to-be-processed video, at least one transcoding video website can be obtained by transcoding the to-be-processed video through at least one transcoding template, and further for each to-be-processed video, a transcoding video website set can be obtained through transcoding, and the number of the transcoding video websites in the transcoding video website set is greater than or equal to the number of the to-be-processed videos in the at least one to-be-processed video. Therefore, through the transcoding template, the server side can transcode each to-be-processed video to obtain a transcoded video website set, so that the video transcoding efficiency is improved, and the waiting time for a user to watch the video can be reduced.
Drawings
The above and other features, advantages and aspects of various embodiments of the present disclosure will become more apparent by referring to the following detailed description when taken in conjunction with the accompanying drawings. Throughout the drawings, the same or similar reference numbers refer to the same or similar elements. It should be understood that the drawings are schematic and that elements and elements are not necessarily drawn to scale.
Fig. 1 is a flow diagram of some embodiments of a video transcoding playback method according to the present disclosure;
fig. 2 is a schematic structural diagram of some embodiments of a video transcoding playback device according to the present disclosure;
FIG. 3 is a schematic block diagram of an electronic device suitable for use in implementing some embodiments of the present disclosure.
Detailed Description
Embodiments of the present disclosure will be described in more detail below with reference to the accompanying drawings. While certain embodiments of the present disclosure are shown in the drawings, it is to be understood that the disclosure may be embodied in various forms and should not be construed as limited to the embodiments set forth herein. Rather, these embodiments are provided for a more thorough and complete understanding of the present disclosure. It should be understood that the drawings and embodiments of the disclosure are for illustration purposes only and are not intended to limit the scope of the disclosure.
It should be noted that, for convenience of description, only the portions related to the related invention are shown in the drawings. The embodiments and features of the embodiments in the present disclosure may be combined with each other without conflict.
It should be noted that the terms "first", "second", and the like in the present disclosure are only used for distinguishing different devices, modules or units, and are not used for limiting the order or interdependence relationship of the functions performed by the devices, modules or units.
It is noted that references to "a", "an", and "the" modifications in this disclosure are intended to be illustrative rather than limiting, and that those skilled in the art will recognize that "one or more" may be used unless the context clearly dictates otherwise.
The names of messages or information exchanged between devices in the embodiments of the present disclosure are for illustrative purposes only, and are not intended to limit the scope of the messages or information.
The present disclosure will be described in detail below with reference to the accompanying drawings in conjunction with embodiments.
Fig. 1 illustrates a flow 100 of some embodiments of a video transcoding playback method in accordance with the present disclosure. The video transcoding playing method comprises the following steps:
step 101, uploading each video to be processed in the video set to be processed to a server.
In some embodiments, an executing subject (e.g., a computing device) of the video transcoding playing method may upload each to-be-processed video in the to-be-processed video set to the server. The video to be processed in the video set to be processed may be a video that is stored by the execution main body and needs to be processed (for example, transcoding processing). The server may be a server. In practice, the execution main body may upload each to-be-processed video in the to-be-processed video set to the server. For example, the execution subject may upload each to-be-processed video in the to-be-processed video set to the server by using a single file slice (start, end) method in Vue front-end technology. Therefore, the server can receive each video to be processed in the video set to be processed.
It should be noted that the computing device may be hardware or software. When the computing device is hardware, it may be implemented as a distributed cluster composed of multiple servers or terminal devices, or may be implemented as a single server or a single terminal device. When the computing device is embodied as software, it may be installed in the hardware devices enumerated above. It may be implemented, for example, as multiple software or software modules to provide distributed services, or as a single software or software module. And is not particularly limited herein. It should be understood that there may be any number of computing devices, as desired for an implementation.
And 102, responding to the detection of a first selection operation acting on the transcoding template determination control, and sending a transcoding request for at least one to-be-processed video to the server.
In some embodiments, in response to detecting a first selection operation acting on a transcoding template determination control, the execution subject may send a transcoding request for at least one pending video to the server. The at least one to-be-processed video may be a to-be-processed video corresponding to the first selection operation in the to-be-processed video set. The video to be processed corresponding to the first selection operation may be the video to be processed which is selected and confirmed to be transcoded by the first selection operation acting on the transcoding template determination control. The server side can be used for transcoding the at least one video to be processed according to the transcoding request, so as to obtain a transcoded video website set. The number of the transcoded video addresses in the transcoded video address set may be greater than or equal to the number of videos to be processed in the at least one video to be processed. The transcoding request may include at least one transcoding template identification. The transcoding template determination control can be a control used for determining transcoding according to the selected transcoding template. The selected transcoding template may be at least one transcoding template. The transcoding template identifier of the at least one transcoding template identifier may uniquely identify the transcoding template. The transcoding template can be a template representing various parameters of the transcoded video to be processed. The transcoding template may include, but is not limited to, a transcoding template identification, a template name, a video resolution, an output type, a video encoding type, and a watermark type.
As an example, the transcoding template identification of the above transcoding template may be "1". The transcoding template may include a template name of 720 characters. The transcoding template may include a video resolution of 720P. The transcoding template may include an output type of M3U 8. The type of video coding included in the transcoding template may be hevc. The watermark type included in the transcoding template can be a text watermark.
For each video to be processed in the at least one video to be processed, the server may transcode the video to be processed by using the video converter according to the at least one transcoding template, and generate a video link for each video obtained after transcoding, so as to obtain at least one video link as a transcoded video website. And for at least one transcoding video website corresponding to each video to be processed, the transcoding video website in the at least one transcoding video website corresponds to the transcoding template in the at least one transcoding template in a one-to-one manner.
The transcoding template determination control can be displayed in a video uploading management window. The video uploading management window may be a window that displays the to-be-processed video set uploaded to the server and the operation control corresponding to each to-be-processed video in the to-be-processed video set uploaded to the server. The operation control may be a control for characterizing and operating the corresponding video to be processed. For example, the operation control may be a transcoding control. The transcoding control can be a control for sending a transcoding request to the corresponding video to be processed. The transcoding control may include the transcoding template determination control. The first selection operation may be an operation of selecting a transcoding template determination control. The first selection operation may include, but is not limited to, a click operation and a hover operation. In practice, in response to detecting a first selection operation on the transcoding template determination control, the execution main body may send a transcoding request for at least one to-be-processed video to the server in a wired or wireless connection manner. The transcoding request may be a request for characterizing transcoding at least one to-be-processed video. The transcoding request may include at least one transcoding template. Therefore, the server side can transcode the at least one to-be-processed video according to the at least one transcoding template to obtain a transcoded video website set. It should be noted that the above-mentioned wireless connection means may include, but is not limited to, 3G/4G connection, WiFi connection, bluetooth connection, WiMAX connection, Zigbee connection, uwb (ultra wideband) connection, and other now known or later developed wireless connection means.
Optionally, the set of transcoded video websites may be generated by the server through the following steps:
first, in response to receiving the transcoding request, the server may perform the following transcoding steps for each to-be-processed video of the at least one to-be-processed video and a slice time period corresponding to the to-be-processed video:
firstly, slicing the video to be processed according to the slicing time period to obtain a video clip. The slicing time period may be a time period of a video segment obtained by slicing. For example, the slicing time period may be "0 hour 0 minute 0 second to 0 hour 0 minute 10 second". In practice, the server may perform slicing processing on a portion of the video to be processed, where the portion corresponds to a slice time period, to obtain a video slice. For example, the server may perform slicing processing on the video of the first ten seconds in the to-be-processed video by using a ffmpeg (fast forward moving picture expert group) technology to obtain a video segment. Therefore, the video positioned in the slicing time period in the video to be processed can be sliced, and the video clip is obtained.
And secondly, transcoding the video segments according to each transcoding template identifier included in the transcoding request to obtain a video transcoding segment set. In practice, the server may utilize the transcoding template corresponding to each transcoding template identifier to perform transcoding processing on the video segment through a Discrete Cosine Transform (DCT) domain conversion technique, so as to obtain a video transcoding segment corresponding to each transcoding template.
And thirdly, updating the slicing time period according to the preset slicing interval duration. The preset slice interval duration may be a preset interval duration of two adjacent video segments. As an example, the preset slice interval duration may be 10 seconds. The client may update the slice time period of "0 hour 0 minute 0 second to 0 hour 0 minute 10 second" to "0 hour 0 minute 10 second to 0 hour 0 minute 20 second".
And fourthly, in response to the fact that the updated slice time period does not meet the video end time condition, executing the transcoding step again according to the updated slice time period and the video to be processed. The video end time condition may be that the slice period includes an end time point of the to-be-processed video.
And fifthly, responding to the situation that the updated slice time section meets the video ending time condition, and generating an ending slice time section according to the starting time point of the slice time section and the ending time point of the video to be processed. In practice, the server may use a start time point of the slice time period and an end time point of the to-be-processed video as a start time point and an end time point of an end slice time period, so as to obtain the end slice time period. As an example, the start time point of the slice period may be "0 hour 24 minutes 40 seconds". The ending time point of the above-mentioned video to be processed may be "0 hour 24 minutes 46 seconds". The end slice period may be "0 hours 24 minutes 40 seconds to 0 hours 24 minutes 46 seconds".
And sixthly, slicing the video to be processed according to the ending slicing time period to obtain an ending video segment. In practice, the server may perform slicing processing on the portion of the video to be processed corresponding to the ending slice time period through ffmpeg technology, so as to obtain an ending video segment.
And seventhly, carrying out transcoding processing on the ending video segment according to each transcoding template identifier included in the transcoding request to obtain an ending video transcoding segment set. In practice, according to the transcoding template corresponding to each transcoding template identifier included in the transcoding request, the server side may perform transcoding processing on the ending video segment through a DCT domain conversion technique to obtain an ending video transcoding segment set.
Then, a set of transcoded video websites can be generated according to the obtained sets of video transcoding fragments and the obtained sets of ending video transcoding fragments. In practice, in the first step, the server may determine, as target video transcoding fragments, each video transcoding fragment and each ending video transcoding fragment corresponding to the same to-be-processed video and the same transcoding template in the obtained each video transcoding fragment set and each ending video transcoding fragment set, so as to obtain a target video transcoding fragment group. And secondly, for each target video transcoding fragment group in the obtained target video transcoding fragment groups, the server side can sort the target video transcoding fragments in an ascending order according to the starting time point of each target video transcoding fragment in the target video transcoding fragment groups to obtain the sorted target video transcoding fragments as target transcoding videos. And thirdly, generating a transcoded video website for each target transcoded video in the obtained target transcoded videos through a video-to-link tool, so that the corresponding target transcoded video can be played by jumping to the transcoded video website. Therefore, the video can be transcoded through the server side, and a transcoded video website set used for being sent to the execution main body is obtained.
Alternatively, before executing step 102, first, in response to detecting a selection operation on an add template control, the execution body may display a newly added template configuration window. The newly added template configuration window may include a template name configuration control, an output type configuration control, a video encoding configuration control, a video resolution configuration control, a watermark type configuration control, and an added template determination control. The add template control may be a control that characterizes an add transcoding template. The add template control may be displayed in a transcode template management window. The transcoding template management window may be a window displaying the adding template control, and a template name, a video resolution, an output type, a video encoding type, and a watermark type of each transcoding template. The template name may be a name of the transcoding template. The video resolution may be a resolution of the transcoded video to be processed. The output type can be a video format of the transcoded video to be processed. The above output types may include, but are not limited to: M3U 8. The video coding type can be a video coding format for transcoding the video to be processed. The above video coding types may include, but are not limited to: hevc, h264, wmv3, mjpeg. The above watermark type may be the type of watermark added on the video to be processed. The above watermark types may include, but are not limited to: character watermark and picture watermark. The newly added template configuration window can be a window for displaying a template name configuration control, an output type configuration control, a video coding configuration control, a video resolution configuration control, a watermark type configuration control and an added template determination control. The template name configuration control may be a control for configuring a template name by representation. The output type configuration control can be a control for configuring the type of the video output after transcoding the video to be processed. The video coding configuration control may be a control for configuring video coding. The video resolution configuration control may be a control configured to configure resolution of a video output after transcoding. The watermark type configuration control may be a control for configuring a watermark added to the transcoded video. The add template determination control may be a control that determines a new add template for the token.
Then, in response to detecting the selection operation acting on the watermark type configuration control, a no watermark control, a text watermark control and a picture watermark control can be displayed. The above-described watermark-free controls may determine for characterization controls that do not require the addition of a watermark. The text watermark control can be a control for representing that the added watermark is a text type. The picture watermark control may be a control for representing that the added watermark is a picture type.
Secondly, in response to detecting a selection operation acting on the text watermark control, a text watermark configuration sub-control set can be displayed. The text watermark configuration sub-control in the text watermark configuration sub-control set can be a control for configuring the watermark in the text form. The text watermark configuration sub-control may include, but is not limited to: a watermark character editing sub-control, a character font sub-control, a font size sub-control and a font color sub-control. The watermark text editing sub-control can be a control for editing the specific text content of the text watermark. The text font sub-control may be a control for selecting a font of the watermark text. The font size sub-control may be a control for selecting the font size of the watermark text. The font color sub-control may be a control for selecting a font color of the watermark text. Therefore, the user can configure the watermark character editing sub-control, the character font sub-control, the font size sub-control and the font color sub-control.
And then, in response to detecting the selection operation acting on the picture watermark control, displaying the picture watermark configuration sub-control set. The picture watermark configuration sub-control in the picture watermark configuration sub-control set can be a control for configuring a picture watermark. The picture watermark configuration sub-control may include, but is not limited to: a picture position sub-control and a watermark picture editing sub-control. The picture position sub-control can be a sub-control for setting the position of the watermark picture in the video. The watermark picture editing sub-control can be a sub-control for editing a specific picture of a picture watermark. Therefore, the user can upload the watermark picture to the execution main body through the watermark picture editing sub-control.
And finally, in response to the detection of the selection operation acting on the template adding determination control, generating a transcoding template according to the configuration operation acting on the watermark-free control, the text watermark configuration sub-control set or the picture watermark configuration sub-control set. The configuration operation includes, but is not limited to, a selection operation, an input operation, and an upload operation. In practice, the configuration item corresponding to the configuration operation acting on the watermark-free control, the text watermark configuration sub-control set or the picture watermark configuration sub-control set may be determined as the watermark type of the transcoding template, the configuration item corresponding to the configuration operation acting on the template name configuration control may be determined as the template name, the configuration item corresponding to the configuration operation acting on the output type configuration control may be determined as the output type, the configuration item corresponding to the configuration operation acting on the video encoding configuration control may be determined as the video encoding type, the configuration item corresponding to the configuration operation acting on the video resolution configuration control may be determined as the video resolution, and a new transcoding template identifier may be generated to generate the transcoding template. The execution main body can use the sum of the stored transcoding template identifier with the maximum value and the preset superposition value as a new transcoding template identifier. The preset superposition value can be a preset numerical value. For example, the preset overlap value may be 1. Thus, a transcoding template for transcoding can be obtained.
Optionally, the executing entity may present a transcoding template selection window in response to detecting a transcoding template selection operation acting on the transcoding template selection control, prior to executing step 102. The transcoding template selection window comprises a newly-built transcoding template control and transcoding template identifications of all transcoding templates. The transcoding template selection control can be a control included in the transcoding control. The transcoding control can be a control for transcoding the video to be processed. The transcoding template selection control may be characterized as a control determined to select a transcoding template for the transcoding process. The newly-built transcoding template control can be a control representing a newly-built transcoding template. Thus, the user can select the transcoding template by selecting the transcoding template identifier in the transcoding template selection window. And then, in response to detecting the selection operation acting on the newly-built transcoding template control, displaying the newly-built template configuration window. Finally, in response to detecting a selection operation on an addition template determination control displayed in the newly added template configuration window, a transcoding template may be generated, and the generated transcoding template may be presented in the transcoding template selection window. Therefore, a user can create a transcoding template without quitting the transcoding template selection window, the transcoding template is newly added when the user selects the transcoding template, and the transcoding efficiency is improved.
Optionally, before executing step 102, first, in response to detecting a transcoding template selecting operation acting on the transcoding template selecting control, the executing main body may obtain to-be-processed video resolutions of to-be-processed videos corresponding to the transcoding template selecting operation in the to-be-processed video set, so as to obtain a to-be-processed video resolution set. In practice, the to-be-processed video resolution of each to-be-processed video can be acquired through wired connection or wireless connection. Then, transcoding template screening information can be generated according to the to-be-processed video resolution set. The transcoding template screening information may be information including resolution of each video to be processed. For example, the transcoding template filtering information may be "1080P, 720P". And then, deleting the transcoding template meeting the transcoding template screening condition corresponding to the transcoding template screening information from the transcoding template set so as to update the transcoding template set. The transcoding template screening condition may be that the resolution of the video included in the transcoding template is greater than the minimum resolution of the value in the transcoding template screening information. For example, when the transcoding template filtering information is "1080P, 720P", the transcoding template with the video resolution of 1080P may be deleted from the transcoding template set. The transcoding template set can determine each transcoding template corresponding to the control for the transcoding template. And finally, the transcoding templates in the updated transcoding template set can be displayed in the transcoding template selection window.
The above content is used as an invention point of the embodiment of the disclosure, and solves the technical problems mentioned in the background art that "a part of transcoding templates cannot be used", so that a user needs to spend a long time on selecting a transcoding template to be used, the transcoding efficiency is further reduced, and the user experience is poor ". Factors that lead to poor user experience are as follows: and part of transcoding templates cannot be used, so that a user needs to spend a long time on selecting the available transcoding templates when selecting the transcoding templates, the transcoding efficiency is further reduced, and the user experience is poor. If the above factors are solved, the effects of improving the transcoding efficiency and the user experience can be achieved. In order to achieve the effect, according to the video resolution of each video to be processed, the transcoding templates which cannot be used are deleted, so that the transcoding templates selected by the user can be used, the time for the user to select the available transcoding templates is shortened, and the transcoding efficiency and the user experience are improved.
Optionally, before deleting, from the set of transcoding templates, a transcoding template in the set of transcoding templates that satisfies the transcoding template screening condition corresponding to the transcoding template screening information, the method further includes: firstly, the execution main body can determine the transcoding template meeting the transcoding template screening condition in the transcoding template set as a target transcoding template to obtain a target transcoding template set. Then, according to the target transcoding template set, transcoding template disable prompt information can be generated. In practice, the template name and the preset forbidden corpus of each target transcoding template in the target transcoding template set may be combined as the forbidden prompt information of the transcoding template. The preset forbidden corpora may be a preset corpus combined with template names of the target transcoding templates. For example, the transcoding template disabling prompt message may be: 720 the text transcoding template is disabled. And finally, the transcoding template forbidden prompt message can be displayed in the transcoding template selection window.
The above content is used as an invention point of the embodiment of the disclosure, and the technical problem mentioned in the background art is solved, namely, the technical problem that the user cannot be prompted about the transcoding template to be forbidden, so that the transcoding template selected by the user is unavailable, the user needs to reselect the transcoding template, and the transcoding efficiency is influenced. The factors that contribute to the transcoding efficiency are as follows: the user cannot be prompted about the transcoding template to be forbidden, so that the transcoding template selected by the user is unavailable, the user needs to reselect the transcoding template, and the transcoding efficiency is influenced. If the factors are solved, the effect of reducing the influence of forbidden transcoding templates on transcoding efficiency can be achieved. In order to achieve the effect, the transcoding template forbidding prompt message is generated to prompt the user of the transcoding template to be forbidden, so that the user can re-determine the template to be selected in the transcoding templates or independently select the transcoding template for the video to be processed, and the influence of the forbidding transcoding template on the transcoding efficiency is reduced.
And 103, receiving a transcoding video website set corresponding to the transcoding request sent by the server.
In some embodiments, the execution subject may receive, through a wired connection or a wireless connection, a set of transcoding video websites corresponding to the transcoding request sent by the server. The transcoded video website in the transcoded video website set can be a website capable of playing a corresponding video through selection operation of the website. Therefore, the website representing the address of the video obtained by transcoding each to-be-processed video can be obtained.
Optionally, the video transcoding process window may further display a transcoding progress. The transcoding progress may be a progress percentage of the transcoding process characterizing the video to be processed. For example, the transcoding schedule may be 79%. The server side can also be used for responding to the transcoding processing failure, generating transcoding failure information through the ffmpeg technology, and sending the transcoding failure information to the client side. And before executing step 103, in response to receiving a transcoding progress set that the transcoding status sent by the server is at least one to-be-processed video in transcoding, the execution main body may update the transcoding progress that the transcoding status is at least one to-be-processed video in transcoding according to the transcoding progress set. The transcoding state may be a state representing that the video to be processed is transcoded. The transcoding state may include, but is not limited to: not started, in transcoding, successful transcoding and failed transcoding. In practice, in response to receiving a transcoding progress set that the transcoding status sent by the server is at least one to-be-processed video in transcoding, the execution main body may replace the transcoding progress of each to-be-processed video in transcoding status with the transcoding progress corresponding to the to-be-processed video in the transcoding progress set according to the transcoding progress set. And then, responding to the fact that the transcoding progress meets a preset progress value condition, and generating progress abnormity prompt information. The preset progress value condition may be that the time when the value of the transcoding progress is unchanged is longer than a preset progress duration. The preset schedule time length may be a preset time length. In practice, the time when the value of the transcoding progress is unchanged and the preset abnormal corpus can be combined to generate progress abnormal prompt information. The preset abnormal corpus may be a preset corpus combined with a duration of the transcoding schedule, the duration of the transcoding schedule being unchanged. For example, the progress abnormality prompting information may be: the transcoding schedule has not changed for 15 minutes. And secondly, displaying the progress abnormity prompting information in a preset progress abnormity window. And then, in response to receiving the transcoding failure information, updating the transcoding state of the to-be-processed video corresponding to the transcoding failure information to be transcoding failure. And finally, displaying the transcoding failure information in a popup mode.
The above content is an invention point of the embodiment of the present disclosure, and solves the technical problem mentioned in the background art that "prompt cannot be timely performed when video transcoding is problematic, which causes long-time blocking of video transcoding and affects transcoding efficiency". The factors that lead to low transcoding efficiency are as follows: when a problem occurs in video transcoding, prompt cannot be timely carried out, long-time blocking of the video transcoding is caused, and transcoding efficiency is affected. If the above factors are solved, the effect of improving the transcoding efficiency can be achieved. In order to achieve the effect, the progress abnormity prompt information and the transcoding failure information are respectively displayed, so that a user can further process the corresponding to-be-processed video through the progress abnormity prompt information and the transcoding failure information, long-time blocking of video transcoding is reduced, and the influence on transcoding efficiency is reduced.
And step 104, in response to the detection of the second selection operation acting on the video playing control, playing the video of the transcoded video website corresponding to the second selection operation according to the transcoded video website corresponding to the second selection operation in the transcoded video website set.
In some embodiments, in response to detecting a second selection operation acting on the video playing control, the execution subject may play video corresponding to the transcoded video website of the second selection operation according to the transcoded video website corresponding to the second selection operation in the transcoded video website set. The video playing control can be a control for playing the video of the corresponding transcoding video website. Each video playing control corresponds to one transcoding video website. The video playing control can be displayed in the transcoding recording window. The transcoding recording window can be a window for displaying each transcoded video to be processed and a video playing control corresponding to each transcoded video to be processed. The transcoding recording window can display the video cover, the video name, the template name, the video size, the video duration, the video address and the transcoding completion time of each transcoded video to be processed so as to complete the display of each transcoded video to be processed. The video duration may be duration of the transcoded video to be processed. For example, the video duration may be 19 minutes. The video cover can be a cover of the transcoded video to be processed. Here, the specific setting of the video cover is not limited. For example, the video cover can be a first frame of a transcoded video to be processed. The video cover can also be a preset picture. And the video name of each transcoded video to be processed is the same as the video name of the corresponding video to be processed. The video address may be a transcoded video website. The transcoding completion time can be a time point when the transcoding of the video to be processed is completed.
As an example, for the transcoded to-be-processed video, the video cover may be a first frame picture of the transcoded to-be-processed video. The video names may be: wave formation and propagation-1. The template name may be 720 pictures. The video size may be 179.08 MB. The video duration may be "00: 15: 04". The video address may be https:// xx/video file/xx.m3u8. The transcoding completion time may be "2022-05-1813: 18".
In practice, in response to detecting a second selection operation acting on the video playing control, the execution main body may play a video corresponding to the transcoded video website of the second selection operation according to the transcoded video website corresponding to the second selection operation. Therefore, the transcoded video to be processed can be played.
Optionally, the transcoded video websites in the set of transcoded video websites may correspond to address expiration times. The address expiration time may be a time representing the expiration of the corresponding transcoded video website.
Optionally, in response to that the current time is earlier than the address expiration time corresponding to the transcoded video website corresponding to the second selection operation, the execution subject may play the video corresponding to the transcoded video website corresponding to the second selection operation. Therefore, the urgency of watching the video of the transcoded video website by the user can be improved, and the video of the transcoded video website can be played in time.
Optionally, the to-be-processed video in the to-be-processed video set may correspond to a transcoding control. The transcoding control may include the transcoding template determination control. The transcoding control may be a control characterizing transcoding of the corresponding video to be processed.
Optionally, in response to a to-be-processed video corresponding to a transcoded video website existing in the to-be-processed video set, the execution main body may delete a transcoding control corresponding to the to-be-processed video corresponding to the transcoded video website in the video upload management window. Therefore, the transcoding control can not be displayed for the video to be processed after transcoding is completed, and the same video to be processed is prevented from being transcoded repeatedly.
Optionally, first, in response to detecting a selection operation acting on the video transcoding progress query control, the execution subject may present a video transcoding progress window. The video transcoding progress query control can be a control for representing the transcoding progress of the query video to be processed. The video transcoding progress query control can be displayed in a video transcoding management window. The video transcoding management window may be a window displaying the video transcoding progress query control. And the video transcoding process window displays the video name and the transcoding state. Then, in response to detecting a first selection operation acting on the transcoding template determination control, the transcoding state of each to-be-processed video corresponding to the first selection operation in the video transcoding process window may be updated to be in transcoding. Therefore, the transcoding progress of each video to be processed can be displayed.
Various embodiments of the present disclosure have the following beneficial effects: by the video transcoding playing method of some embodiments of the present disclosure, the waiting time for a user to watch a video is reduced. Specifically, the reason why the waiting time for the user to watch the video is too long is that: transcoding is carried out on each video in sequence, transcoding can not be carried out on each video simultaneously, long time is needed for transcoding each video, transcoding efficiency is low, and waiting time for watching the video by a user is long. Based on this, in the video transcoding playing method of some embodiments of the present disclosure, first, each to-be-processed video in the to-be-processed video set is uploaded to the server. Therefore, the server can receive each video to be processed in the video set to be processed. Then, in response to detecting a first selection operation acting on the transcoding template determination control, a transcoding request for at least one to-be-processed video is sent to the server. The at least one video to be processed is a video to be processed corresponding to the first selection operation in the video set to be processed. The server is used for transcoding at least one to-be-processed video according to the transcoding request so as to obtain a transcoded video website set. The number of the transcoded video websites in the transcoded video website set is greater than or equal to the number of the videos to be processed in at least one video to be processed. The transcoding request includes at least one transcoding template. Therefore, the server side can transcode at least one video to be processed according to at least one transcoding template to obtain a transcoded video website set. And secondly, receiving a transcoding video website set of the corresponding transcoding request sent by the server. Therefore, the website representing the address of the video obtained by transcoding each to-be-processed video can be obtained. And finally, in response to detecting a second selection operation acting on the video playing control, playing the video of the transcoded video website corresponding to the second selection operation according to the transcoded video website corresponding to the second selection operation in the transcoded video website set. Therefore, the transcoded video to be processed can be played. Due to the first selection operation acting on the transcoding template determination control, the server side can transcode at least one to-be-processed video according to at least one transcoding template, so that for each to-be-processed video, at least one transcoding video website can be obtained by transcoding the to-be-processed video through at least one transcoding template, and further for each to-be-processed video, a transcoding video website set can be obtained through transcoding, and the number of the transcoding video websites in the transcoding video website set is greater than or equal to the number of the to-be-processed videos in the at least one to-be-processed video. Therefore, through the transcoding template, the server side can transcode each to-be-processed video to obtain a transcoded video website set, so that the video transcoding efficiency is improved, and the waiting time for a user to watch the video can be reduced.
With continuing reference to fig. 2, as an implementation of the methods shown in the above-mentioned figures, the present disclosure provides some embodiments of a video transcoding playing apparatus, which correspond to those of the method embodiments shown in fig. 1, and which can be applied in various electronic devices.
As shown in fig. 2, the video transcoding playing device 200 of some embodiments includes: an uploading unit 201, a sending unit 202, a receiving unit 203, and a playing unit 204. The uploading unit 201 is configured to upload each to-be-processed video in the to-be-processed video set to the server; the sending unit 202 is configured to send, in response to detecting a first selection operation acting on a transcoding template determination control, a transcoding request for at least one to-be-processed video to the server, where the at least one to-be-processed video is a to-be-processed video corresponding to the first selection operation in the to-be-processed video set, the server is configured to transcode the at least one to-be-processed video according to the transcoding request to obtain a transcoded video website set, the number of transcoded video websites in the transcoded video website set is greater than or equal to the number of to-be-processed videos in the at least one to-be-processed video, and the transcoding request includes at least one transcoding template identifier; the receiving unit 203 is configured to receive a set of transcoding video websites corresponding to the transcoding request sent by the server; the playing unit 204 is configured to, in response to detecting a second selection operation acting on the video playing control, play the video corresponding to the transcoded video website corresponding to the second selection operation according to the transcoded video website corresponding to the second selection operation in the transcoded video website set.
It will be understood that the units described in the apparatus 200 correspond to the various steps in the method described with reference to fig. 1. Thus, the operations, features and resulting advantages described above with respect to the method are also applicable to the apparatus 200 and the units included therein, and are not described herein again.
Referring now to FIG. 3, shown is a schematic block diagram of an electronic device (e.g., computing device) 300 suitable for use in implementing some embodiments of the present disclosure. The electronic device shown in fig. 3 is only an example, and should not bring any limitation to the functions and the scope of use of the embodiments of the present disclosure.
As shown in fig. 3, the electronic device 300 may include a processing means (e.g., a central processing unit, a graphics processor, etc.) 301 that may perform various appropriate actions and processes in accordance with a program stored in a Read Only Memory (ROM) 302 or a program loaded from a storage means 308 into a Random Access Memory (RAM) 303. In the RAM 303, various programs and data necessary for the operation of the electronic apparatus 300 are also stored. The processing device 301, the ROM 302, and the RAM 303 are connected to each other via a bus 304. An input/output (I/O) interface 305 is also connected to bus 304.
Generally, the following devices may be connected to the I/O interface 305: input devices 306 including, for example, a touch screen, touch pad, keyboard, mouse, camera, microphone, accelerometer, gyroscope, etc.; an output device 307 including, for example, a Liquid Crystal Display (LCD), a speaker, a vibrator, and the like; storage devices 308 including, for example, magnetic tape, hard disk, etc.; and a communication device 309. The communication means 309 may allow the electronic device 300 to communicate with other devices, wireless or wired, to exchange data. While fig. 3 illustrates an electronic device 300 having various means, it is to be understood that not all illustrated means are required to be implemented or provided. More or fewer devices may alternatively be implemented or provided. Each block shown in fig. 3 may represent one device or may represent multiple devices, as desired.
In particular, according to some embodiments of the present disclosure, the processes described above with reference to the flow diagrams may be implemented as computer software programs. For example, some embodiments of the present disclosure include a computer program product comprising a computer program embodied on a computer readable medium, the computer program comprising program code for performing the method illustrated in the flow chart. In some such embodiments, the computer program may be downloaded and installed from a network through the communication device 309, or installed from the storage device 308, or installed from the ROM 302. The computer program, when executed by the processing apparatus 301, performs the above-described functions defined in the methods of some embodiments of the present disclosure.
It should be noted that the computer readable medium described in some embodiments of the present disclosure may be a computer readable signal medium or a computer readable storage medium or any combination of the two. A computer readable storage medium may be, for example, but not limited to, an electronic, magnetic, optical, electromagnetic, infrared, or semiconductor system, apparatus, or device, or any combination of the foregoing. More specific examples of the computer readable storage medium may include, but are not limited to: an electrical connection having one or more wires, a portable computer diskette, a hard disk, a Random Access Memory (RAM), a read-only memory (ROM), an erasable programmable read-only memory (EPROM or flash memory), an optical fiber, a portable compact disc read-only memory (CD-ROM), an optical storage device, a magnetic storage device, or any suitable combination of the foregoing. In some embodiments of the disclosure, a computer readable storage medium may be any tangible medium that can contain, or store a program for use by or in connection with an instruction execution system, apparatus, or device. In some embodiments of the present disclosure, however, a computer readable signal medium may include a propagated data signal with computer readable program code embodied therein, for example, in baseband or as part of a carrier wave. Such a propagated data signal may take many forms, including, but not limited to, electro-magnetic, optical, or any suitable combination thereof. A computer readable signal medium may also be any computer readable medium that is not a computer readable storage medium and that can communicate, propagate, or transport a program for use by or in connection with an instruction execution system, apparatus, or device. Program code embodied on a computer readable medium may be transmitted using any appropriate medium, including but not limited to: electrical wires, optical cables, RF (radio frequency), etc., or any suitable combination of the foregoing.
In some embodiments, the clients, servers may communicate using any currently known or future developed network Protocol, such as HTTP (HyperText Transfer Protocol), and may interconnect with any form or medium of digital data communication (e.g., a communications network). Examples of communication networks include a local area network ("LAN"), a wide area network ("WAN"), the Internet (e.g., the Internet), and peer-to-peer networks (e.g., ad hoc peer-to-peer networks), as well as any currently known or future developed network.
The computer readable medium may be embodied in the electronic device; or may exist separately without being assembled into the electronic device. The computer readable medium carries one or more programs which, when executed by the electronic device, cause the electronic device to: uploading each video to be processed in the video set to be processed to a server; in response to detecting a first selection operation acting on a transcoding template determination control, sending a transcoding request for at least one to-be-processed video to the server, wherein the at least one to-be-processed video is a to-be-processed video corresponding to the first selection operation in the to-be-processed video set, the server is configured to perform transcoding processing on the at least one to-be-processed video according to the transcoding request to obtain a transcoded video website set, the number of transcoded video websites in the transcoded video website set is greater than or equal to the number of to-be-processed videos in the at least one to-be-processed video, and the transcoding request includes at least one transcoding template identifier; receiving a transcoding video website set which is sent by the server and corresponds to the transcoding request; and in response to detecting a second selection operation acting on the video playing control, playing the video of the transcoded video website corresponding to the second selection operation according to the transcoded video website corresponding to the second selection operation in the transcoded video website set.
Computer program code for carrying out operations for embodiments of the present disclosure may be written in any combination of one or more programming languages, including an object oriented programming language such as Java, Smalltalk, C + +, and conventional procedural programming languages, such as the "C" programming language or similar programming languages. The program code may execute entirely on the user's computer, partly on the user's computer, as a stand-alone software package, partly on the user's computer and partly on a remote computer or entirely on the remote computer or server. In the case of a remote computer, the remote computer may be connected to the user's computer through any type of network, including a Local Area Network (LAN) or a Wide Area Network (WAN), or the connection may be made to an external computer (for example, through the Internet using an Internet service provider).
The flowchart and block diagrams in the figures illustrate the architecture, functionality, and operation of possible implementations of systems, methods and computer program products according to various embodiments of the present disclosure. In this regard, each block in the flowchart or block diagrams may represent a module, segment, or portion of code, which comprises one or more executable instructions for implementing the specified logical function(s). It should also be noted that, in some alternative implementations, the functions noted in the block may occur out of the order noted in the figures. For example, two blocks shown in succession may, in fact, be executed substantially concurrently, or the blocks may sometimes be executed in the reverse order, depending upon the functionality involved. It will also be noted that each block of the block diagrams and/or flowchart illustration, and combinations of blocks in the block diagrams and/or flowchart illustration, can be implemented by special purpose hardware-based systems which perform the specified functions or acts, or combinations of special purpose hardware and computer instructions.
The units described in some embodiments of the present disclosure may be implemented by software, and may also be implemented by hardware. The described units may also be provided in a processor, and may be described as: a processor includes an upload unit, a transmission unit, a reception unit, and a playback unit. The names of these units do not form a limitation to the unit itself under certain circumstances, for example, a receiving unit may also be described as a "unit that receives the set of transcoded video websites corresponding to the transcoding request sent by the server".
The functions described herein above may be performed, at least in part, by one or more hardware logic components. For example, without limitation, exemplary types of hardware logic components that may be used include: field Programmable Gate Arrays (FPGAs), Application Specific Integrated Circuits (ASICs), Application Specific Standard Products (ASSPs), systems on a chip (SOCs), Complex Programmable Logic Devices (CPLDs), and the like.
The foregoing description is only exemplary of the preferred embodiments of the disclosure and is illustrative of the principles of the technology employed. It will be appreciated by those skilled in the art that the scope of the invention in the embodiments of the present disclosure is not limited to the specific combination of the above-mentioned features, but also encompasses other embodiments in which any combination of the above-mentioned features or their equivalents is made without departing from the inventive concept as defined above. For example, the above features and (but not limited to) technical features with similar functions disclosed in the embodiments of the present disclosure are mutually replaced to form the technical solution.

Claims (10)

1. A video transcoding playing method comprises the following steps:
uploading each video to be processed in the video set to be processed to a server;
in response to detecting a first selection operation acting on a transcoding template determination control, sending a transcoding request for at least one to-be-processed video to the server, wherein the at least one to-be-processed video is a to-be-processed video corresponding to the first selection operation in the to-be-processed video set, the server is used for transcoding the at least one to-be-processed video according to the transcoding request to obtain a transcoded video website set, the number of transcoded video websites in the transcoded video website set is greater than or equal to the number of to-be-processed videos in the at least one to-be-processed video, and the transcoding request comprises at least one transcoding template identifier;
receiving a transcoding video website set which is sent by the server and corresponds to the transcoding request;
and responding to the detection of a second selection operation acting on the video playing control, and playing the video of the transcoded video website corresponding to the second selection operation according to the transcoded video website corresponding to the second selection operation in the transcoded video website set.
2. The method of claim 1, wherein the set of transcoded video websites is generated by:
in response to receiving the transcoding request, for each to-be-processed video of the at least one to-be-processed video and a slice time period corresponding to the to-be-processed video, performing the following transcoding steps:
according to the slicing time period, slicing the video to be processed to obtain a video clip;
transcoding the video segments according to each transcoding template identifier included in the transcoding request to obtain a video transcoding segment set;
updating the slicing time period according to the preset slicing interval duration;
in response to determining that the updated slice time period does not satisfy the video end time condition, re-executing the transcoding step according to the updated slice time period and the video to be processed;
in response to determining that the updated slice time period meets the video end time condition, generating an end slice time period according to a start time point of the slice time period and an end time point of the video to be processed;
according to the ending slicing time period, slicing the video to be processed to obtain an ending video segment;
transcoding the ending video segment according to each transcoding template identifier included in the transcoding request to obtain an ending video transcoding segment set;
and generating a transcoded video website set according to the obtained video transcoding fragment sets and the obtained ending video transcoding fragment sets.
3. The method of claim 1, wherein prior to said sending a transcoding request for at least one pending video to the server, the method further comprises:
responding to the detected selection operation acting on the added template control, and displaying a newly added template configuration window, wherein the newly added template configuration window comprises a template name configuration control, an output type configuration control, a video coding configuration control, a video resolution configuration control, a watermark type configuration control and an added template determination control;
responding to the detected selection operation acting on the watermark type configuration control, and displaying a no-watermark control, a text watermark control and a picture watermark control;
in response to detecting a selection operation acting on the text watermark control, displaying a text watermark configuration sub-control set;
displaying a picture watermark configuration sub-control set in response to detecting a selection operation acting on the picture watermark control;
and in response to the detection of the selection operation acting on the template adding determination control, generating a transcoding template according to the configuration operation acting on the watermark-free control, the text watermark configuration sub-control set or the picture watermark configuration sub-control set.
4. The method of claim 1, wherein the videos to be processed in the set of videos to be processed correspond to transcoding controls, and the transcoding controls comprise the transcoding template determination control; and
the method further comprises the following steps:
and in response to the fact that the to-be-processed video corresponding to the transcoded video website exists in the to-be-processed video set, deleting the transcoded control corresponding to the to-be-processed video corresponding to the transcoded video website.
5. The method of claim 3, wherein prior to said sending a transcoding request for at least one pending video to the server, the method further comprises:
responding to the detection of a transcoding template selection operation acting on a transcoding template selection control, and displaying a transcoding template selection window, wherein the transcoding template selection window comprises a newly-built transcoding template control;
responding to the detected selection operation acting on the newly-built transcoding template control, and displaying the newly-built template configuration window;
and in response to detecting a selection operation acting on an adding template determination control displayed in the newly added template configuration window, generating a transcoding template, and displaying the generated transcoding template in the transcoding template selection window.
6. The method of claim 2, wherein the method further comprises:
displaying a video transcoding process window in response to detecting a selection operation acting on a video transcoding progress query control, wherein the video transcoding process window displays a video name and a transcoding state;
and in response to detecting a first selection operation acting on the transcoding template determination control, updating the transcoding state of each to-be-processed video corresponding to the first selection operation in the video transcoding process window into transcoding.
7. The method of claim 1, wherein a transcoded video website in the set of transcoded video websites corresponds to an address expiration time; and
the playing the video of the transcoded video website corresponding to the second selection operation includes:
and responding to the address expiration time corresponding to the transcoded video website corresponding to the second selection operation when the current time is earlier than the address expiration time corresponding to the transcoded video website corresponding to the second selection operation, and playing the video corresponding to the transcoded video website corresponding to the second selection operation.
8. A video transcoding playback device, comprising:
the uploading unit is configured to upload each video to be processed in the video set to be processed to the server;
the sending unit is configured to send a transcoding request for at least one to-be-processed video to the server in response to detecting a first selection operation acting on a transcoding template determination control, wherein the at least one to-be-processed video is a to-be-processed video corresponding to the first selection operation in the to-be-processed video set, the server is used for transcoding the at least one to-be-processed video according to the transcoding request to obtain a transcoded video website set, the number of transcoded video websites in the transcoded video website set is greater than or equal to the number of to-be-processed videos in the at least one to-be-processed video, and the transcoding request comprises at least one transcoding template identifier;
the receiving unit is configured to receive a transcoding video website set which is sent by the server and corresponds to the transcoding request;
and the playing unit is configured to respond to the detection of a second selection operation acting on the video playing control, and play the video of the transcoded video website corresponding to the second selection operation according to the transcoded video website corresponding to the second selection operation in the transcoded video website set.
9. An electronic device, comprising:
one or more processors;
a storage device having one or more programs stored thereon;
when executed by the one or more processors, cause the one or more processors to implement the method of any one of claims 1-7.
10. A computer-readable medium, on which a computer program is stored, wherein the program, when executed by a processor, implements the method of any one of claims 1-7.
CN202210902743.2A 2022-07-29 2022-07-29 Video transcoding playing method and device, electronic equipment and computer readable medium Active CN114979714B (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN202210902743.2A CN114979714B (en) 2022-07-29 2022-07-29 Video transcoding playing method and device, electronic equipment and computer readable medium

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN202210902743.2A CN114979714B (en) 2022-07-29 2022-07-29 Video transcoding playing method and device, electronic equipment and computer readable medium

Publications (2)

Publication Number Publication Date
CN114979714A true CN114979714A (en) 2022-08-30
CN114979714B CN114979714B (en) 2022-11-01

Family

ID=82970332

Family Applications (1)

Application Number Title Priority Date Filing Date
CN202210902743.2A Active CN114979714B (en) 2022-07-29 2022-07-29 Video transcoding playing method and device, electronic equipment and computer readable medium

Country Status (1)

Country Link
CN (1) CN114979714B (en)

Citations (6)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
US20070162487A1 (en) * 2005-12-30 2007-07-12 Razorstream, Llc Multi-format data coding, managing and distributing system and method
CN103647971A (en) * 2013-12-24 2014-03-19 广州鸿根信息科技有限公司 Video transmission based encryption and decryption method and system
CN105144737A (en) * 2012-12-21 2015-12-09 优工作室公司 Media distribution and management platform
CN106503111A (en) * 2016-10-18 2017-03-15 广州市动景计算机科技有限公司 Webpage code-transferring method, device and client terminal
CN110213616A (en) * 2018-05-15 2019-09-06 腾讯科技(深圳)有限公司 Video providing method, acquisition methods, device and equipment
CN112616053A (en) * 2020-11-30 2021-04-06 北京达佳互联信息技术有限公司 Transcoding method and device of live video and electronic equipment

Patent Citations (6)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
US20070162487A1 (en) * 2005-12-30 2007-07-12 Razorstream, Llc Multi-format data coding, managing and distributing system and method
CN105144737A (en) * 2012-12-21 2015-12-09 优工作室公司 Media distribution and management platform
CN103647971A (en) * 2013-12-24 2014-03-19 广州鸿根信息科技有限公司 Video transmission based encryption and decryption method and system
CN106503111A (en) * 2016-10-18 2017-03-15 广州市动景计算机科技有限公司 Webpage code-transferring method, device and client terminal
CN110213616A (en) * 2018-05-15 2019-09-06 腾讯科技(深圳)有限公司 Video providing method, acquisition methods, device and equipment
CN112616053A (en) * 2020-11-30 2021-04-06 北京达佳互联信息技术有限公司 Transcoding method and device of live video and electronic equipment

Also Published As

Publication number Publication date
CN114979714B (en) 2022-11-01

Similar Documents

Publication Publication Date Title
CN108965907B (en) Method, device and system for playing video
US10924821B2 (en) Providing advanced playback and control functionality to video client
CN111163329B (en) Live broadcast room gift list configuration method, device, medium and electronic equipment
CN109168012B (en) Information processing method and device for terminal equipment
US11979625B2 (en) Dynamic scheduling of content
CN111343503B (en) Video transcoding method and device, electronic equipment and storage medium
CN113395538B (en) Sound effect rendering method and device, computer readable medium and electronic equipment
CN112083853A (en) Account reporting method, account checking device, electronic equipment and storage medium
CN113873288A (en) Method and device for generating playback in live broadcast process
EP2882199B1 (en) Method and apparatus for prefetching content in a data stream
CN114979714B (en) Video transcoding playing method and device, electronic equipment and computer readable medium
CN111225255B (en) Target video push playing method and device, electronic equipment and storage medium
US20150074196A1 (en) Information processing terminal, transmission system, and recording medium
CN111478916A (en) Data transmission method, device and storage medium based on video stream
CN115270734A (en) Message processing method, device, equipment and medium based on session
CN115174509A (en) Information processing method, device, equipment and medium
CN112203103B (en) Message processing method, device, electronic equipment and computer readable storage medium
CN115190352A (en) Video data storage method and device, computer readable storage medium and electronic equipment
US20170019643A1 (en) Imaging apparatus and imaging system
CN116881097B (en) User terminal alarm method, device, electronic equipment and computer readable medium
KR101637022B1 (en) Apparatus and method for transmitting and receiving content
CN115022680B (en) Video playing method and device, electronic equipment and computer readable medium
CN113612676B (en) Social group message synchronization method, device, equipment and storage medium
CN116760992B (en) Video encoding, authentication, encryption and transmission methods, devices, equipment and media
CN111368223B (en) Page display method and device

Legal Events

Date Code Title Description
PB01 Publication
PB01 Publication
SE01 Entry into force of request for substantive examination
SE01 Entry into force of request for substantive examination
GR01 Patent grant
GR01 Patent grant