CN110324658A - Method for processing video frequency and device - Google Patents

Method for processing video frequency and device Download PDF

Info

Publication number
CN110324658A
CN110324658A CN201810263540.7A CN201810263540A CN110324658A CN 110324658 A CN110324658 A CN 110324658A CN 201810263540 A CN201810263540 A CN 201810263540A CN 110324658 A CN110324658 A CN 110324658A
Authority
CN
China
Prior art keywords
video
clip information
editing
slicing
generates
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.)
Pending
Application number
CN201810263540.7A
Other languages
Chinese (zh)
Inventor
江文斐
梅大为
Current Assignee (The listed assignees may be inaccurate. Google has not performed a legal analysis and makes no representation or warranty as to the accuracy of the list.)
Alibaba China Co Ltd
Original Assignee
Youku Network Technology Beijing 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 Youku Network Technology Beijing Co Ltd filed Critical Youku Network Technology Beijing Co Ltd
Priority to CN201810263540.7A priority Critical patent/CN110324658A/en
Publication of CN110324658A publication Critical patent/CN110324658A/en
Pending legal-status Critical Current

Links

Classifications

    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04NPICTORIAL COMMUNICATION, e.g. TELEVISION
    • H04N21/00Selective content distribution, e.g. interactive television or video on demand [VOD]
    • H04N21/20Servers specifically adapted for the distribution of content, e.g. VOD servers; Operations thereof
    • H04N21/23Processing of content or additional data; Elementary server operations; Server middleware
    • H04N21/234Processing of video elementary streams, e.g. splicing of video streams or manipulating encoded video stream scene graphs
    • H04N21/23418Processing of video elementary streams, e.g. splicing of video streams or manipulating encoded video stream scene graphs involving operations for analysing video streams, e.g. detecting features or characteristics
    • 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/80Generation or processing of content or additional data by content creator independently of the distribution process; Content per se
    • H04N21/83Generation or processing of protective or descriptive data associated with content; Content structuring
    • H04N21/845Structuring of content, e.g. decomposing content into time segments
    • H04N21/8456Structuring of content, e.g. decomposing content into time segments by decomposing the content in the time domain, e.g. in time segments

Landscapes

  • Engineering & Computer Science (AREA)
  • Multimedia (AREA)
  • Signal Processing (AREA)
  • Television Signal Processing For Recording (AREA)

Abstract

This disclosure relates to a kind of method for processing video frequency and device.This method is applied to server, and method includes: to carry out transcoding to video to be processed, determines the first video of multiple code rates;Obtain the clip information for being directed to the first video;Editing is carried out to the first video according to clip information, generates the second video, wherein the second video according to the playing request of client for playing out.According to the embodiment of the present disclosure, by carrying out transcoding to video to be processed, determine the first video of multiple code rates, obtain the clip information for being directed to the first video, and editing is carried out to the first video according to clip information, generation can be used for playing out the second video according to the playing request of client, to improve the speed of video on the line by video processing to be processed to can be used for broadcasting.

Description

Method for processing video frequency and device
Technical field
This disclosure relates to field of computer technology more particularly to a kind of method for processing video frequency and device.
Background technique
Nowadays, people are happy to watch video by major video platform whenever and wherever possible, for example, certain hot broadcasts are acute.However, phase In the technology of pass, the speed that video platform will acquire video on line of the video resource processing to can be used for broadcasting is slower, it is difficult to full Sufficient user wishes the demand for watching video as early as possible.
Summary of the invention
In view of this, can be improved will be at video to be processed the present disclosure proposes a kind of method for processing video frequency and device The speed of video on line of the reason to can be used for broadcasting.
According to the one side of the disclosure, a kind of method for processing video frequency is provided, the method is applied to server, the side Method includes:
Transcoding is carried out to video to be processed, determines the first video of multiple code rates;
Obtain the clip information for being directed to first video;
Editing is carried out to first video according to the clip information, generates the second video, wherein second video For being played out according to the playing request of client.
In one possible implementation, the clip information for being directed to first video is obtained, comprising:
First video of target bit rate is sent to film editing equipment, the film editing equipment is used for the to the target bit rate One video carries out editing, generates clip information;
Receive the clip information that the film editing equipment returns.
In one possible implementation, the target bit rate is the minimum code rate in multiple code rates.
In one possible implementation, first video includes multiple video slicings,
Wherein, editing is carried out to first video according to the clip information, generates the second video, comprising:
According to the clip information, the video slicing to be clipped in the first video is determined;
Editing is carried out to the video slicing to be clipped, generates second video.
In one possible implementation, the video includes video flowing or video file.
In one possible implementation, first video is the video slicing of video flowing or video file,
Wherein, editing is carried out to first video according to the clip information, generates the second video, further includes:
Editing is carried out to the video slicing according to the clip information, generates the second video.
According to another aspect of the present disclosure, a kind of video process apparatus is provided, described device is applied to server, described Device includes:
First video determining module determines the first video of multiple code rates for carrying out transcoding to video to be processed;
Clip information obtains module, for obtaining the clip information for being directed to first video;
Second video generation module generates second for carrying out editing to first video according to the clip information Video, wherein second video according to the playing request of client for playing out.
In one possible implementation, the clip information acquisition module includes:
Sending submodule, for the first video of target bit rate to be sent to film editing equipment, the film editing equipment for pair First video of the target bit rate carries out editing, generates clip information;
Information receiving submodule, the clip information returned for receiving the film editing equipment.
In one possible implementation, the target bit rate is the minimum code rate in multiple code rates.
In one possible implementation, first video includes multiple video slicings,
Wherein, the second video generation module includes:
Submodule is determined, for determining the video slicing to be clipped in the first video according to the clip information;
First generates submodule, for carrying out editing to the video slicing to be clipped, generates second video.
In one possible implementation, the video includes video flowing or video file.
In one possible implementation, first video is the video slicing of video flowing or video file,
Wherein, the second video generation module further include:
Second generates submodule, for carrying out editing to video slicing according to the clip information, generates the second video.
According to another aspect of the present disclosure, a kind of video process apparatus is provided, comprising: processor;It is handled for storage The memory of device executable instruction;Wherein, the processor is configured to executing the above method.
According to another aspect of the present disclosure, a kind of non-volatile computer readable storage medium storing program for executing is provided, is stored thereon with Computer program instructions, wherein the computer program instructions realize above-mentioned method for processing video frequency when being executed by processor.
It determines the first video of multiple code rates by carrying out transcoding to video to be processed according to the embodiment of the present disclosure, obtains The clip information for the first video is taken, and editing is carried out to the first video according to clip information, generation can be used for according to client The playing request at end plays out the second video, to improve video on the line by video processing to be processed to can be used for broadcasting Speed.
According to below with reference to the accompanying drawings to detailed description of illustrative embodiments, the other feature and aspect of the disclosure will become It is clear.
Detailed description of the invention
Comprising in the description and constituting the attached drawing of part of specification and specification together illustrates the disclosure Exemplary embodiment, feature and aspect, and for explaining the principles of this disclosure.
Fig. 1 is a kind of flow chart of method for processing video frequency shown according to an exemplary embodiment.
Fig. 2 is a kind of flow chart of method for processing video frequency shown according to an exemplary embodiment.
Fig. 3 is a kind of flow chart of method for processing video frequency shown according to an exemplary embodiment.
Fig. 4 is a kind of flow chart of method for processing video frequency shown according to an exemplary embodiment.
Fig. 5 is a kind of schematic diagram of the application scenarios of method for processing video frequency shown according to an exemplary embodiment.
Fig. 6 is a kind of block diagram of video process apparatus shown according to an exemplary embodiment.
Fig. 7 is a kind of block diagram of video process apparatus shown according to an exemplary embodiment.
Fig. 8 is a kind of block diagram of video process apparatus shown according to an exemplary embodiment.
Specific embodiment
Various exemplary embodiments, feature and the aspect of the disclosure are described in detail below with reference to attached drawing.It is identical in attached drawing Appended drawing reference indicate element functionally identical or similar.Although the various aspects of embodiment are shown in the attached drawings, remove It non-specifically points out, it is not necessary to attached drawing drawn to scale.
Dedicated word " exemplary " means " being used as example, embodiment or illustrative " herein.Here as " exemplary " Illustrated any embodiment should not necessarily be construed as preferred or advantageous over other embodiments.
In addition, giving numerous details in specific embodiment below to better illustrate the disclosure. It will be appreciated by those skilled in the art that without certain details, the disclosure equally be can be implemented.In some instances, for Method, means, element and circuit well known to those skilled in the art are not described in detail, in order to highlight the purport of the disclosure.
Fig. 1 is a kind of flow chart of method for processing video frequency shown according to an exemplary embodiment.This method can be applied to In server.As shown in Figure 1, the method for processing video frequency according to the embodiment of the present disclosure includes:
In step s 11, transcoding is carried out to video to be processed, determines the first video of multiple code rates;
In step s 12, the clip information for being directed to first video is obtained;
In step s 13, editing is carried out to first video according to the clip information, generates the second video, wherein Second video according to the playing request of client for playing out.
It determines the first video of multiple code rates by carrying out transcoding to video to be processed according to the embodiment of the present disclosure, obtains The clip information for the first video is taken, and editing is carried out to the first video according to clip information, generation can be used for according to client The playing request at end plays out the second video, and server directly carries out transcoding to video to be processed, and according to clip information Carry out editing, it is ensured that video on the line by video processing to be processed to can be used for broadcasting in time improves video processing speed Degree.And editing is carried out to the first video according to clip information by server, it is ensured that frame is precisely arrived in editing, when editing is handled not It will appear the case where audio/video information is lost, it is possible to reduce the occurrence of audio jump, the quality for the video that guarantees that treated Preferably.
For example, video platform is to be supplied to the various formats of user's difference clarity (for example, mp4, flv, m3u8 Deng) line on video, the biggish video resource for needing to get it (video to be processed) is handled, to meet difference The broadcasting demand of user.However, in the related technology, having processing delay is big to ask the processing mode of video to be processed more Topic.For example, played out and editing in its local to video resource by agent by recorded broadcast equipment, and by the view after the editing It takes place frequently and gives video platform progress transcoding processing, be processed into video on the line that can be used for playing, it is clear that this mode will lead to view After frequency source plays the video resource long period, video on the available line that can be used for playing of video platform, it is difficult to meet and use Wish the demand for watching video as early as possible in family.
The method for processing video frequency of the embodiment of the present disclosure directly carries out transcoding to video to be processed by server, determines multiple First video of code rate.Wherein, the first video can be the multiple video slicings generated in transcoding process.For example, it services Device carries out transcoding to video to be processed, for example, determining the first video of 4 code rates, the first video of each code rate can be wrapped Include multiple video slicings.It will be understood by those skilled in the art that can be using well known mode in the related technology to view to be processed Frequency carries out transcoding, and the code rate of the first video determined may include multiple, for example, may include 4Mbps, 2Mbps, 1Mbps with And 0.5Mbps etc., the first video of different code rates can correspond to different video definitions, the disclosure is to the mode of transcoding, The quantity of the code rate of one video and numerical value etc. are with no restriction.
In one possible implementation, the video includes video flowing or video file.
For example, video may include video flowing or video file.Wherein, video flowing can refer to video data Transmission.For example, video to be processed can be broadcasting and TV 20Mbps video flowing etc..Video file, which can refer to, contains real-time sound Frequently, the multimedia file of video information, for example, the multimedia file etc. comprising video information that user is shot by mobile phone.
In this way, server can handle all kinds of video flowings and video file.Wherein, the video of server process When for video flowing, processing can be synchronized while video data transmission, improved the efficiency of video processing, met user couple The demand of video acquisition speed.It will be understood by those skilled in the art that video may include diversified forms, can be video flowing can also To be video file, video also may include various formats, for example, mp4 etc., as long as can be in video platform by processing The video played on line, the disclosure to this with no restriction.
As shown in Figure 1, in step s 12, obtaining the clip information for being directed to first video.
For example, server obtains the clip information for being directed to first video.Wherein, clip information may include more Kind form, for example, clip information may include one or more editing orders for the first video.For example, the first video is total Shi Changwei 30 minutes, however have in this 30 minutes 5 minutes for ad content, for example, the 5th minute, the 10th minute, the 15th minute, 20th minute and the 25th minute is respectively ad content, then may include editing above-mentioned 5 for the clip information of the first video The editing order of a period.Clip information can also be the clip content of the video slicing for the first video, for example, first The video slicing 1 of video is not necessarily to editing, then clip information may include the video clip 1 of the first video without this editing of editing Content.The disclosure to the form and content of clip information with no restriction.
Wherein, server can obtain the clip information for first video in several ways.For example, server The first video can be identified by intelligent identification technology, automatically generate the clip information for the first video.For example, uncommon Hope editing fall the ad content in the first video, then it can be by intelligent identification technology automatically to the ad content in the first video Predicted, for example, automatically identifying the 5th minute to the 6th minute as ad content, it is determined that the editing for the first video It include the editing order of editing the 5th minute to the 6th minute in information.
In this way, the available clip information for being directed to the first video of server.Those skilled in the art should manage Solution, server can obtain the clip information for first video in several ways, for example, as it was noted above, passing through Intelligent identification technology identifies the first video, and determines clip information, can also be determined by forms such as handmarkings and be directed to first The clip information of video, the determination of clip information can be to be determined in server local, is also possible to determine in strange land region, only Want the available clip information for being directed to the first video of server, the disclosure to this with no restriction.
Fig. 2 is a kind of flow chart of method for processing video frequency shown according to an exemplary embodiment.In a kind of possible reality In existing mode, as shown in Fig. 2, step S12 may include:
In step S121, the first video of target bit rate is sent to film editing equipment, the film editing equipment is used for institute The first video for stating target bit rate carries out editing, generates clip information.
For example, the first video of target bit rate can be sent to film editing equipment by server, and the film editing equipment is used Editing is carried out in the first video to the target bit rate, generates clip information.For example, what server can determine its transcoding A certain code rate in multiple code rates is determined as target bit rate, and the first video of the target bit rate is sent to film editing equipment, should Film editing equipment can be located at arbitrary region (can be local, can strange land), as long as can be used for cutting the first video of target bit rate Volume, generate clip information, the disclosure to this with no restriction.
In one possible implementation, the target bit rate is the minimum code rate in multiple code rates.
For example, the first video of the minimum code rate in multiple code rates can be sent to editing by network by server Equipment (for example, be located at strange land region), for example, determining the of these four code rates of 4Mbps, 2Mbps, 1Mbps and 0.5Mbps Minimum code rate (for example, 0.5Mbps) in four kinds of code rates is determined as target bit rate by one video, and by the first of the target bit rate Video is sent to film editing equipment, which can be located at strange land region, and the staff in the strange land region is considerable Simultaneously editing first video is seen, to realize the editing of staff strange land.
In this way, the first video of the minimum code rate in multiple code rates is sent to film editing equipment, can reduced The bandwidth of the first video is transmitted, bandwidth resources are saved and improves transmission speed.First video of minimum code rate is sent out by network It send to film editing equipment, it can be achieved that strange land operates, increase video handles flexibility, reduces video processing cost.
As shown in Fig. 2, receiving the clip information that the film editing equipment returns in step S122.
For example, server can receive the clip information of film editing equipment return.For example, staff is set by editing First video of standby editing target bit rate, generates clip information.The clip information can be returned to server by film editing equipment, clothes Business device can receive the clip information.
In this way, the available clip information for being directed to the first video of server, film editing equipment are returned for the The clip information of one video, without returning to the first video, the transmission bandwidth that clip information occupies is lower, and transmission speed can be improved Degree increases video treatment effeciency, reduces delay.It will be understood by those skilled in the art that server can obtain in several ways For the clip information of first video, can automated intelligent identify and determine clip information, can also be passed through by staff The film editing equipment of local and remote carries out editing, and determines clip information, the disclosure to this with no restriction.
As shown in Figure 1, in step s 13, carrying out editing to first video according to the clip information, generating second Video, wherein second video according to the playing request of client for playing out.
For example, server carries out editing to the first video according to clip information, and generation can be used for according to client The second video that playing request plays out.For example, server identifies the first video by intelligent identification technology, and determine editing Information.Server can carry out editing to the first video of each code rate according to the clip information, generate the second view of each code rate Frequently.For example, the first video of 4 code rates (e.g., including 4Mbps, 2Mbps, 1Mbps and 0.5Mbps) is determined, according to editing Information, server can realize cutting to first video of 4Mbps, 2Mbps, 1Mbps and 0.5Mbps this 4 code rates respectively Volume, second video of this 4 code rates of 4Mbps, 2Mbps, 1Mbps and 0.5Mbps is generated respectively.Those skilled in the art should manage Solution, the second video may include diversified forms, for example, it may be carrying out editing, editing knot to the first video according to clip information The second video (for example, 25 minutes the second videos generated after five minutes are fallen in editing in 30 minutes) generated after beam, is also possible to pair The video slicing of first video carries out editing, the video slicing of generation (for example, when a length of 2 minutes video slicings etc.), this public affairs It opens to the form of the second video with no restriction.
Fig. 3 is a kind of flow chart of method for processing video frequency shown according to an exemplary embodiment.In a kind of possible reality In existing mode, as shown in figure 3, step S13 may include:
In step S131, according to the clip information, the video slicing to be clipped in the first video is determined;
In step S132, editing is carried out to the video slicing to be clipped, generates second video.
For example, as it was noted above, server carries out transcoding to video to be processed, the first view of multiple code rates is determined Frequently, wherein the first video determined can be the first video for including multiple video slicings, for example, 30 minutes to be processed Video, after server transcoding, the first video of formation may include multiple fragments, for example, successively include video slicing 1 to This 6 video slicings of video slicing 6, the duration of 6 video slicings are followed successively by 10 minutes, 5 minutes, 5 minutes, 6 minutes, 2 minutes And 2 minutes.
Server can determine the video slicing to be clipped in the first video according to clip information.For example, server obtains The clip information taken are as follows: the 12nd minute (for example, in video slicing 2) and the 24th minute are (for example, video slicing in the first video In 4) it is the content for needing editing.Then server can determine that the video slicing to be clipped in the first video is video slicing 2 With video slicing 4.Server can carry out editing to video slicing to be clipped according to clip information, generate the second video.Example Such as, video slicing 1, the 6 not editing of video slicing 3, video slicing 5 and video slicing, corresponding the in server editing video slicing 2 Corresponding the 24th minute video content of first video in one video the 12nd minute video content and video slicing 4 generates the Two videos.
In this way, server is not necessarily to carry out editing operation to entire first video, by the first video Video slicing to be clipped carries out editing, and editing efficiency can be improved.The disclosure is to video to be clipped in determining first video The mode of fragment and specific editing mode are with no restriction.
Fig. 4 is a kind of flow chart of method for processing video frequency shown according to an exemplary embodiment.In a kind of possible reality In existing mode, first video is the video slicing of video flowing or video file, as shown in figure 4, step S13 can also be wrapped It includes:
In step S133, editing is carried out to the video slicing according to the clip information, generates the second video.
For example, as it was noted above, video may include video flowing or video file, server is to video to be processed Transcoding is carried out, determines that the first video of multiple code rates can be video flowing or the video slicing of video file.Server can root Editing is carried out to the video slicing according to clip information, generates the second video.For example, server receives the video from video source When stream, transcoding is carried out to the video flowing, the video slicing (the first video) of multiple code rates is determined, for example, the video slicing duration 6 Minute.The available clip information for the video slicing of server, for example, by intelligent identification technology automatically to video point Ad content in piece is predicted, and determines the clip information for being directed to the video slicing.Server can be believed according to the editing Breath carries out editing to the video slicing, generates the second video (for example, when a length of 5 minutes video slicings).It is broadcast in user's request When putting corresponding video, which can be sent to the client for initiating request by server by file.
In this way, server carries out transcoding to video to be processed, determines the video flowing or video of multiple code rates The video slicing of file, and editing is carried out to video slicing according to respective clip information, generate the second video.Video slicing when Length is shorter, higher for the efficiency of the editing of video slicing, and server can be logical by the second video (video slicing) of generation It crosses file and is sent to client, used for client terminal playing, have the characteristics that transmission stability is high.The disclosure is to view Duration, format, the duration of the second video, format of frequency division piece etc. are with no restriction.
Using example
Below in conjunction with " video flow processing " property application scenarios as an example, the application according to the embodiment of the present disclosure is provided Example, in order to understand the process of method for processing video frequency.It will be understood by those skilled in the art that below using example merely for the sake of It is easy to understand the purpose of the embodiment of the present disclosure, is not construed as the limitation to the embodiment of the present disclosure.
Fig. 5 is a kind of schematic diagram of the application scenarios of method for processing video frequency shown according to an exemplary embodiment.Such as Fig. 5 It is shown, it is applied in example at this, server receives the video flowing from video source.Server wish by the video flow processing be can Video on the line played out for the playing request according to client.For example, the aol server reception of video platform comes from The 20Mbps video flowing of broadcasting and TV, the video flowing total duration are 30 minutes, and the code rate of the video flowing is larger, and video platform is needed to this Video flowing is handled, so that different user selection video definition, format play out.
It is applied in example at this, server can carry out transcoding to the video flowing, really when receiving the video flowing of video source First video of fixed multiple code rates.For example, being the code rates such as 4Mbps, 2Mbps, 1Mbps and 0.5Mbps by the video stream transcoding Video flowing, the video flowing of different code rates corresponds to different video clarity.Wherein, server to video flowing carry out transcoding when, First video of determining each code rate may include multiple video slicings.For example, 30 minutes the first videos include video slicing 1 To this 6 video slicings of video slicing 6, the duration of 6 video slicings is followed successively by 2 minutes, 5 minutes, 5 minutes, 6 minutes, 2 minutes And 10 minutes.
It is applied in example at this, server obtains the clip information for being directed to the first video.For example, server can be by transcoding In first video of the multiple code rates determined afterwards, the smallest first video of code rate is sent to film editing equipment by network.The editing Equipment can be located at strange land region, manually be cut by the staff in strange land region the first video the smallest to the code rate Volume, generate clip information.
It is applied in example at this, server carries out editing to the first video according to clip information, and generation can be according to client The second video for playing out of playing request.For example, server gets the clip information of film editing equipment return, and according to this Clip information carries out editing to the first video of multiple code rates, generates the second video of multiple code rates.
For example, as shown in figure 5, server receives the video flowing of video source, and transcoding is carried out, determines multiple code rates First video.For example, 2 minutes since video flowing, this section of video stream transcoding is the first video of different code rates by server Video slicing 1.For example, transcoding is the video slicing of first videos of code rates such as 4Mbps, 2Mbps, 1Mbps and 0.5Mbps 1.Server can send the video slicing 1 of the first video of wherein 0.5Mbps to positioned at strange land region by network Film editing equipment watches the video slicing 1 by the staff.Wherein, it is carried out in video slicing 1 of the server to the first video During handling (transcoding is sent to film editing equipment etc. by network), server persistently receives the video flowing from video source, And video flowing is handled.
After the staff in strange land region watches video slicing 1, editing can be carried out to the video slicing 1, and Generate clip information.For example, discovery 2 minutes video slicings of duration 1 are not necessarily to editing after staff watches video slicing 1, then The clip information that editing is not necessarily to video slicing 1 is generated at this time.The clip information can be returned to server by film editing equipment.Clothes Business device receives the clip information, the video slicing 1 of the first video of each code rate can be determined as the second video of each code rate Video slicing 1.As shown in figure 5, client wishes to play the video, then server can be by the video slicing of second video 1 is transferred to client by file.At this point, client can start to play the video.
For example, finding that first 5 minutes of the video slicing 4 are when staff watches video slicing 4 (duration 6 minutes) Advertising time, then staff can carry out editing to the video slicing 4, for example, editing falls the video slicing 4 preceding 5 minutes, and Generate clip information.Film editing equipment returns to the clip information.Server receives clip information, determines video slicing 4 preceding 5 minutes For advertisement, then server can carry out editing to the video slicing 4 of the first video of each code rate, generate the video point of the second video Piece 4.Server starts the video slicing 4 for transmitting the second video after the video slicing 3 of the second video is transferred to client.
It should be appreciated that server is handled to video flowing, obtains and be directed to this process of the clip information of the first video It is to continue processing, and the second video total duration by generating after editing is often below the initial duration of video source.It is broadcast in client During putting video, while the video slicing 1 of the second video is transferred to client terminal playing by server, it can handle and give birth to At the video slicing 2 of the second video, video slicing 3 of the second video etc., the video slicing 1 of complete second video of client terminal playing When, the video slicing 2 of the second video is transferred to client by server, it is ensured that client persistently plays video.Clothes Business device can start to process the video flowing in the video flowing for receiving video source, and within a short period of time (for example, a few minutes) It is the second video watched for user by the video flow processing, improves video processing speed, meets user and wish to see as early as possible See the demand of video.
It determines the first video of multiple code rates by carrying out transcoding to video to be processed according to the embodiment of the present disclosure, obtains The clip information for the first video is taken, and editing is carried out to the first video according to clip information, generation can be used for according to client The playing request at end plays out the second video, to improve video on the line by video processing to be processed to can be used for broadcasting Speed.
Fig. 6 is a kind of block diagram of video process apparatus shown according to an exemplary embodiment.As shown in fig. 6, the dress It sets and is applied to server, the video process apparatus includes:
First video determining module 21 determines the first video of multiple code rates for carrying out transcoding to video to be processed;
Clip information obtains module 22, for obtaining the clip information for being directed to first video;
Second video generation module 23 generates for carrying out editing to first video according to the clip information Two videos, wherein second video according to the playing request of client for playing out.
Fig. 7 is a kind of block diagram of video process apparatus shown according to an exemplary embodiment.As shown in fig. 7, in one kind In possible implementation, the clip information obtains module 22 and includes:
Sending submodule 221, for the first video of target bit rate to be sent to film editing equipment, the film editing equipment is used for Editing is carried out to the first video of the target bit rate, generates clip information;
Information receiving submodule 222, the clip information returned for receiving the film editing equipment.
In one possible implementation, the target bit rate is the minimum code rate in multiple code rates.
As shown in fig. 7, in one possible implementation, first video includes multiple video slicings,
Wherein, the second video generation module 23 includes:
Submodule 231 is determined, for determining the video slicing to be clipped in the first video according to the clip information;
First generates submodule 232, for carrying out editing to the video slicing to be clipped, generates second view Frequently.
In one possible implementation, the video includes video flowing or video file.
As shown in fig. 7, in one possible implementation, first video is the video of video flowing or video file Fragment,
Wherein, the second video generation module 23 further include:
Second generates submodule 233, for carrying out editing to video slicing according to the clip information, generates the second view Frequently.
Fig. 8 is a kind of block diagram of video process apparatus shown according to an exemplary embodiment.For example, device 1900 can be with It is provided as a server.Referring to Fig. 8, it further comprises one or more processing that device 1900, which includes processing component 1922, Device and memory resource represented by a memory 1932, can be by the instruction of the execution of processing component 1922, example for storing Such as application program.The application program stored in memory 1932 may include it is one or more each correspond to one group The module of instruction.In addition, processing component 1922 is configured as executing instruction, to execute the above method.
Device 1900 can also include that a power supply module 1926 be configured as the power management of executive device 1900, and one Wired or wireless network interface 1950 is configured as device 1900 being connected to network and input and output (I/O) interface 1958.Device 1900 can be operated based on the operating system for being stored in memory 1932, such as Windows ServerTM, Mac OS XTM, UnixTM, LinuxTM, FreeBSDTM or similar.
In the exemplary embodiment, a kind of non-volatile computer readable storage medium storing program for executing is additionally provided, for example including calculating The memory 1932 of machine program instruction, above-mentioned computer program instructions can be executed by the processing component 1922 of device 1900 to complete The above method.
The disclosure can be system, method and/or computer program product.Computer program product may include computer Readable storage medium storing program for executing, containing for making processor realize the computer-readable program instructions of various aspects of the disclosure.
Computer readable storage medium, which can be, can keep and store the tangible of the instruction used by instruction execution equipment Equipment.Computer readable storage medium for example can be-- but it is not limited to-- storage device electric, magnetic storage apparatus, optical storage Equipment, electric magnetic storage apparatus, semiconductor memory apparatus or above-mentioned any appropriate combination.Computer readable storage medium More specific example (non exhaustive list) includes: portable computer diskette, hard disk, random access memory (RAM), read-only deposits It is reservoir (ROM), erasable programmable read only memory (EPROM or flash memory), static random access memory (SRAM), portable Compact disk read-only memory (CD-ROM), digital versatile disc (DVD), memory stick, floppy disk, mechanical coding equipment, for example thereon It is stored with punch card or groove internal projection structure and the above-mentioned any appropriate combination of instruction.Calculating used herein above Machine readable storage medium storing program for executing is not interpreted that instantaneous signal itself, the electromagnetic wave of such as radio wave or other Free propagations lead to It crosses the electromagnetic wave (for example, the light pulse for passing through fiber optic cables) of waveguide or the propagation of other transmission mediums or is transmitted by electric wire Electric signal.
Computer-readable program instructions as described herein can be downloaded to from computer readable storage medium it is each calculate/ Processing equipment, or outer computer or outer is downloaded to by network, such as internet, local area network, wide area network and/or wireless network Portion stores equipment.Network may include copper transmission cable, optical fiber transmission, wireless transmission, router, firewall, interchanger, gateway Computer and/or Edge Server.Adapter or network interface in each calculating/processing equipment are received from network to be counted Calculation machine readable program instructions, and the computer-readable program instructions are forwarded, for the meter being stored in each calculating/processing equipment In calculation machine readable storage medium storing program for executing.
Computer program instructions for executing disclosure operation can be assembly instruction, instruction set architecture (ISA) instructs, Machine instruction, machine-dependent instructions, microcode, firmware instructions, condition setup data or with one or more programming languages The source code or object code that any combination is write, the programming language include the programming language-of object-oriented such as Smalltalk, C++ etc., and conventional procedural programming languages-such as " C " language or similar programming language.Computer Readable program instructions can be executed fully on the user computer, partly execute on the user computer, be only as one Vertical software package executes, part executes on the remote computer or completely in remote computer on the user computer for part Or it is executed on server.In situations involving remote computers, remote computer can pass through network-packet of any kind It includes local area network (LAN) or wide area network (WAN)-is connected to subscriber computer, or, it may be connected to outer computer (such as benefit It is connected with ISP by internet).In some embodiments, by utilizing computer-readable program instructions Status information carry out personalized customization electronic circuit, such as programmable logic circuit, field programmable gate array (FPGA) or can Programmed logic array (PLA) (PLA), the electronic circuit can execute computer-readable program instructions, to realize each side of the disclosure Face.
Referring herein to according to the flow chart of the method, apparatus (system) of the embodiment of the present disclosure and computer program product and/ Or block diagram describes various aspects of the disclosure.It should be appreciated that flowchart and or block diagram each box and flow chart and/ Or in block diagram each box combination, can be realized by computer-readable program instructions.
These computer-readable program instructions can be supplied to general purpose computer, special purpose computer or other programmable datas The processor of processing unit, so that a kind of machine is produced, so that these instructions are passing through computer or other programmable datas When the processor of processing unit executes, function specified in one or more boxes in implementation flow chart and/or block diagram is produced The device of energy/movement.These computer-readable program instructions can also be stored in a computer-readable storage medium, these refer to It enables so that computer, programmable data processing unit and/or other equipment work in a specific way, thus, it is stored with instruction Computer-readable medium then includes a manufacture comprising in one or more boxes in implementation flow chart and/or block diagram The instruction of the various aspects of defined function action.
Computer-readable program instructions can also be loaded into computer, other programmable data processing units or other In equipment, so that series of operation steps are executed in computer, other programmable data processing units or other equipment, to produce Raw computer implemented process, so that executed in computer, other programmable data processing units or other equipment Instruct function action specified in one or more boxes in implementation flow chart and/or block diagram.
The flow chart and block diagram in the drawings show system, method and the computer journeys according to multiple embodiments of the disclosure The architecture, function and operation in the cards of sequence product.In this regard, each box in flowchart or block diagram can generation One module of table, program segment or a part of instruction, the module, program segment or a part of instruction include one or more use The executable instruction of the logic function as defined in realizing.In some implementations as replacements, function marked in the box It can occur in a different order than that indicated in the drawings.For example, two continuous boxes can actually be held substantially in parallel Row, they can also be executed in the opposite order sometimes, and this depends on the function involved.It is also noted that block diagram and/or The combination of each box in flow chart and the box in block diagram and or flow chart, can the function as defined in executing or dynamic The dedicated hardware based system made is realized, or can be realized using a combination of dedicated hardware and computer instructions.
The presently disclosed embodiments is described above, above description is exemplary, and non-exclusive, and It is not limited to disclosed each embodiment.Without departing from the scope and spirit of illustrated each embodiment, for this skill Many modifications and changes are obvious for the those of ordinary skill in art field.The selection of term used herein, purport In the principle, practical application or technological improvement to the technology in market for best explaining each embodiment, or lead this technology Other those of ordinary skill in domain can understand each embodiment disclosed herein.

Claims (14)

1. a kind of method for processing video frequency, which is characterized in that the method is applied to server, which comprises
Transcoding is carried out to video to be processed, determines the first video of multiple code rates;
Obtain the clip information for being directed to first video;
Editing is carried out to first video according to the clip information, generates the second video, wherein second video is used for It is played out according to the playing request of client.
2. the method according to claim 1, wherein obtaining the clip information for being directed to first video, comprising:
First video of target bit rate is sent to film editing equipment, the film editing equipment is used for the first view to the target bit rate Frequency carries out editing, generates clip information;
Receive the clip information that the film editing equipment returns.
3. according to the method described in claim 2, it is characterized in that, the target bit rate is the minimum code rate in multiple code rates.
4. the method according to claim 1, wherein first video includes multiple video slicings,
Wherein, editing is carried out to first video according to the clip information, generates the second video, comprising:
According to the clip information, the video slicing to be clipped in the first video is determined;
Editing is carried out to the video slicing to be clipped, generates second video.
5. method as claimed in any of claims 1 to 4, which is characterized in that the video includes video flowing or view Frequency file.
6. according to the method described in claim 1, first video is the video slicing of video flowing or video file,
Wherein, editing is carried out to first video according to the clip information, generates the second video, further includes:
Editing is carried out to the video slicing according to the clip information, generates the second video.
7. a kind of video process apparatus, which is characterized in that described device is applied to server, and described device includes:
First video determining module determines the first video of multiple code rates for carrying out transcoding to video to be processed;
Clip information obtains module, for obtaining the clip information for being directed to first video;
Second video generation module, for, to first video progress editing, generating the second video according to the clip information, Wherein, second video according to the playing request of client for playing out.
8. device according to claim 7, which is characterized in that the clip information obtains module and includes:
Sending submodule, for the first video of target bit rate to be sent to film editing equipment, the film editing equipment is used for described First video of target bit rate carries out editing, generates clip information;
Information receiving submodule, the clip information returned for receiving the film editing equipment.
9. device according to claim 8, which is characterized in that the target bit rate is the minimum code rate in multiple code rates.
10. device according to claim 7, which is characterized in that first video includes multiple video slicings,
Wherein, the second video generation module includes:
Submodule is determined, for determining the video slicing to be clipped in the first video according to the clip information;
First generates submodule, for carrying out editing to the video slicing to be clipped, generates second video.
11. the device according to any one of claim 7 to 10, which is characterized in that the video include video flowing or Video file.
12. device according to claim 7, which is characterized in that first video is the view of video flowing or video file Frequency division piece,
Wherein, the second video generation module further include:
Second generates submodule, for carrying out editing to video slicing according to the clip information, generates the second video.
13. a kind of video process apparatus characterized by comprising
Processor;
Memory for storage processor executable instruction;
Wherein, the processor is configured to: perform claim require any one of 1 to 6 described in method.
14. a kind of non-volatile computer readable storage medium storing program for executing, is stored thereon with computer program instructions, which is characterized in that institute It states and realizes method described in any one of claim 1 to 6 when computer program instructions are executed by processor.
CN201810263540.7A 2018-03-28 2018-03-28 Method for processing video frequency and device Pending CN110324658A (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN201810263540.7A CN110324658A (en) 2018-03-28 2018-03-28 Method for processing video frequency and device

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN201810263540.7A CN110324658A (en) 2018-03-28 2018-03-28 Method for processing video frequency and device

Publications (1)

Publication Number Publication Date
CN110324658A true CN110324658A (en) 2019-10-11

Family

ID=68109723

Family Applications (1)

Application Number Title Priority Date Filing Date
CN201810263540.7A Pending CN110324658A (en) 2018-03-28 2018-03-28 Method for processing video frequency and device

Country Status (1)

Country Link
CN (1) CN110324658A (en)

Cited By (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN114025200A (en) * 2021-09-15 2022-02-08 湖南广播影视集团有限公司 Ultra-high definition post-production solution based on cloud technology

Citations (6)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN102123303A (en) * 2011-03-25 2011-07-13 天脉聚源(北京)传媒科技有限公司 Audio/video file playing method and system as well as transmission control device
US20120192239A1 (en) * 2011-01-25 2012-07-26 Youtoo Technologies, LLC Content creation and distribution system
CN103036889A (en) * 2012-12-19 2013-04-10 常州中流电子科技有限公司 Self-adapting streaming media displaying method and self-adapting streaming media displaying system
CN103957428A (en) * 2014-05-16 2014-07-30 中国科学院上海高等研究院 Streaming media server with multi-code-rate transcoding function based on many-core processor
CN105338368A (en) * 2015-11-02 2016-02-17 腾讯科技(北京)有限公司 Method, device and system for converting live stream of video into on-demand data
CN105516736A (en) * 2016-01-18 2016-04-20 腾讯科技(深圳)有限公司 Video file processing method and device

Patent Citations (6)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
US20120192239A1 (en) * 2011-01-25 2012-07-26 Youtoo Technologies, LLC Content creation and distribution system
CN102123303A (en) * 2011-03-25 2011-07-13 天脉聚源(北京)传媒科技有限公司 Audio/video file playing method and system as well as transmission control device
CN103036889A (en) * 2012-12-19 2013-04-10 常州中流电子科技有限公司 Self-adapting streaming media displaying method and self-adapting streaming media displaying system
CN103957428A (en) * 2014-05-16 2014-07-30 中国科学院上海高等研究院 Streaming media server with multi-code-rate transcoding function based on many-core processor
CN105338368A (en) * 2015-11-02 2016-02-17 腾讯科技(北京)有限公司 Method, device and system for converting live stream of video into on-demand data
CN105516736A (en) * 2016-01-18 2016-04-20 腾讯科技(深圳)有限公司 Video file processing method and device

Cited By (2)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN114025200A (en) * 2021-09-15 2022-02-08 湖南广播影视集团有限公司 Ultra-high definition post-production solution based on cloud technology
CN114025200B (en) * 2021-09-15 2022-09-16 湖南广播影视集团有限公司 Ultra-high definition post-production solution based on cloud technology

Similar Documents

Publication Publication Date Title
CN108062409B (en) Live video abstract generation method and device and electronic equipment
CN106303658B (en) Exchange method and device applied to net cast
CN108780653B (en) System and method for audio content production, audio sequencing and audio mixing
JP5651225B2 (en) Method and system for inserting advertisements into a media stream
CN108574851B (en) Push method, device, streaming media server and computer readable storage medium
US10880353B2 (en) Systems and methods for cloud storage direct streaming
CN104869467A (en) Information output method and system for media playing, and apparatuses
CN111182347A (en) Video clip cutting method, device, computer equipment and storage medium
CN110234014A (en) Live streaming connects wheat method and device
US10021433B1 (en) Video-production system with social-media features
CN109218765B (en) Live video room recommendation method and device
US20150162997A1 (en) Methods for streaming radio content
CN110267113A (en) Video file processing method, system, medium and electronic equipment
CN109842804A (en) Processing method and server, the computer storage medium of audio, video data
CN113301397A (en) CDN-based audio and video transmission, playing and delay detection method and device
CN113347489B (en) Video clip detection method, device, equipment and storage medium
CN109587514A (en) A kind of video broadcasting method, medium and relevant apparatus
KR102255152B1 (en) Contents processing device and method for transmitting segments of variable size and computer-readable recording medium
US20220180892A1 (en) Audio processing for detecting occurrences of loud sound characterized by brief audio bursts
JP2023535989A (en) Method, apparatus, server and medium for generating target video
CN111492664A (en) Controlling playback of advertising content during real-time video streaming at an end-user terminal
CN111277898A (en) Content pushing method and device
CN110324658A (en) Method for processing video frequency and device
CN108833983A (en) Played data acquisition methods, device, equipment and storage medium
CN103686220B (en) Method and system for removing network delay in a live broadcast

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
TA01 Transfer of patent application right
TA01 Transfer of patent application right

Effective date of registration: 20200508

Address after: 310052 room 508, floor 5, building 4, No. 699, Wangshang Road, Changhe street, Binjiang District, Hangzhou City, Zhejiang Province

Applicant after: Alibaba (China) Co.,Ltd.

Address before: 100080 Beijing Haidian District city Haidian street A Sinosteel International Plaza No. 8 block 5 layer A, C

Applicant before: Youku network technology (Beijing) Co.,Ltd.

RJ01 Rejection of invention patent application after publication
RJ01 Rejection of invention patent application after publication

Application publication date: 20191011