CN109168015A - A kind of cloud cuts live streaming clipping method and system - Google Patents

A kind of cloud cuts live streaming clipping method and system Download PDF

Info

Publication number
CN109168015A
CN109168015A CN201811159939.7A CN201811159939A CN109168015A CN 109168015 A CN109168015 A CN 109168015A CN 201811159939 A CN201811159939 A CN 201811159939A CN 109168015 A CN109168015 A CN 109168015A
Authority
CN
China
Prior art keywords
time
video
live
editing
live streaming
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
CN201811159939.7A
Other languages
Chinese (zh)
Other versions
CN109168015B (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.)
Shenzhen million curtain Mdt InfoTech Ltd.
Original Assignee
Beijing Yimu Information Technology 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 Beijing Yimu Information Technology Co Ltd filed Critical Beijing Yimu Information Technology Co Ltd
Priority to CN201811159939.7A priority Critical patent/CN109168015B/en
Publication of CN109168015A publication Critical patent/CN109168015A/en
Application granted granted Critical
Publication of CN109168015B publication Critical patent/CN109168015B/en
Active legal-status Critical Current
Anticipated expiration legal-status Critical

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/21Server components or server architectures
    • H04N21/218Source of audio or video content, e.g. local disk arrays
    • H04N21/2187Live feed
    • 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
    • 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/242Synchronization processes, e.g. processing of PCR [Program Clock References]
    • 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/432Content retrieval operation from a local storage medium, e.g. hard-disk
    • H04N21/4325Content retrieval operation from a local storage medium, e.g. hard-disk by playing back content from the storage medium
    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04NPICTORIAL COMMUNICATION, e.g. TELEVISION
    • H04N21/00Selective content distribution, e.g. interactive television or video on demand [VOD]
    • H04N21/40Client devices specifically adapted for the reception of or interaction with content, e.g. set-top-box [STB]; Operations thereof
    • H04N21/43Processing of content or additional data, e.g. demultiplexing additional data from a digital video stream; Elementary client operations, e.g. monitoring of home network or synchronising decoder's clock; Client middleware
    • H04N21/433Content storage operation, e.g. storage operation in response to a pause request, caching operations
    • H04N21/4334Recording operations
    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04NPICTORIAL COMMUNICATION, e.g. TELEVISION
    • H04N21/00Selective content distribution, e.g. interactive television or video on demand [VOD]
    • H04N21/60Network structure or processes for video distribution between server and client or between remote clients; Control signalling between clients, server and network components; Transmission of management data between server and client, e.g. sending from server to client commands for recording incoming content stream; Communication details between server and client 
    • H04N21/63Control signaling related to video distribution between client, server and network components; Network processes for video distribution between server and clients or between remote clients, e.g. transmitting basic layer and enhancement layers over different transmission paths, setting up a peer-to-peer communication via Internet between remote STB's; Communication protocols; Addressing
    • H04N21/643Communication protocols
    • 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/81Monomedia components thereof
    • H04N21/8126Monomedia components thereof involving additional data, e.g. news, sports, stocks, weather forecasts
    • H04N21/8133Monomedia components thereof involving additional data, e.g. news, sports, stocks, weather forecasts specifically related to the content, e.g. biography of the actors in a movie, detailed information about an article seen in a video program
    • 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/835Generation of protective data, e.g. certificates
    • H04N21/8358Generation of protective data, e.g. certificates involving watermark
    • 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)
  • Databases & Information Systems (AREA)
  • Computer Security & Cryptography (AREA)
  • Television Signal Processing For Recording (AREA)
  • Studio Circuits (AREA)
  • Two-Way Televisions, Distribution Of Moving Picture Or The Like (AREA)

Abstract

The present invention provides a kind of clouds to cut live streaming clipping method and corresponding system, real-time recording and editing can be carried out to live video, and it can according to need to markup informations such as editing video addition text, picture or watermarks, video information can be made more abundant, detailed, consequently facilitating the information that viewer's quick obtaining and accurate understanding editing video provide;The video that multistage can also be mutually related is combined, to expand video information, the information for issuing single more comprehensively, extensively, effectively improves the efficiency of information publication.Through the above way, editing and publication quickly and easily can be carried out to live information, it is suitble to large and medium-sized media to carry out real-time release dynamic in the continuous Living report of competitive sports, momentous conference, large-scale awards ceremony and special events, significantly improves the timeliness of news under the premise of guaranteeing complete documentation live information.

Description

A kind of cloud cuts live streaming clipping method and system
Technical field
The invention belongs to live video editing technical field, in particular to a kind of cloud cuts live streaming clipping method and system.
Background technique
With the development of science and technology, improvement of living standard, people are while adapting to allegro life, for life product The requirement of matter is also gradually promoted, this but also people more pay attention to the efficient utilization for the time, it is incident be exactly for It reads, chase after play, viewing etc. and all pursue fragmentation and refiningization, to news and current affairs also more pursuit timeliness.Current video platform It has been provided with and live ability is carried out for competitive sports, momentous conference, large-scale awards ceremony and special events, but see It is many often to watch complete live streaming without time and efforts, just need news media to carry out real-time release to development trend at this time; And the news of traditional text and graphic form has been unable to meet spectators' real-time tracing and dynamic demand is broadcast live, it is therefore desirable to a kind of The method that real-time editing is carried out to live video, watches live video segment in time so as to spectators.
Summary of the invention
In order to solve the above-mentioned technical problems, the present invention provides a kind of clouds to cut live streaming clipping method and system.
Specific technical solution of the present invention is as follows:
One aspect of the present invention provides a kind of cloud and cuts live streaming clipping method, includes the following steps:
S1: access live streaming address obtains live video to be clipped;
S2: setting initial position and the final position of editing, finds phase in the live video according to the information of setting The position answered simultaneously carries out editing to live video, obtains original segments;Additional information is added into the original segments, is obtained The editing segment of finished product, the additional information include subtitle, label character, watermark, background audio, picture and other original sheets At least one of section;
S3: the editing segment made is issued by network.
Further, the live streaming address is the address rtmp beginning or be ended up with m3u8, or is rtmp or hls agreement Stream.
Further, being broadcast live and terminated when accessing the live streaming address, then live-mode is switched into playback mode, Obtain the video progress editing that live streaming is completed.
Further, the specific method is as follows by step S2:
S2.1: on the time shaft of the live video manually or automated manner setting initial time and termination Time, when reaching the start time point, operation front end starts live video described in synchronous recording, extremely the termination time point When stop record, obtained recording segment is original segments;
S2.2: level-one additional information is added into the original segments, the level-one additional information includes subtitle, text mark At least one of note, watermark and background audio, adjust the format of subtitle or label character and the form of watermark and position It sets, and background audio is added as needed, obtain level-one segment;
S2.3: into the level-one segment add second level additional information, the second level additional information include picture and its At least one of his original segments, by the second level additional information with patch form be connected to the level-one segment front or Rear obtains second level segment;
S2.4:, which choosing the picture in the second level additional information, or any one picture is intercepted from the second level segment makees For cover, the editing segment of finished product is obtained.
Further, in step S2.1, initial time is arranged in manual mode, and the specific method is as follows with the time is terminated:
It is selected on the time shaft of the live video or directly fills in initial time and terminate the time, and as needed for Dislocation amplitude is arranged at least one of the initial time and the termination time, and the dislocation amplitude includes delay amplitude or mentions Preceding amplitude;The initial time and the termination time are corrected according to the dislocation amplitude, when obtaining the starting of editing Between put and terminate time point, the start time point is no earlier than operation front end and accesses time of the live video.
Further, in step S2.1, initial time is arranged in automated manner, and the specific method is as follows with the time is terminated:
It selects at least one to retrieve material, and is that same retrieval material searches at least two width different angles or different conditions Image, and the feature of the retrieval material is analyzed and recorded;The retrieval material is searched in the live video to go out The time point that the retrieval material occurs for the first time and last time occurs is set to the initial time of editing by existing part With the termination time.
Further, in step S2.1, the method for recorded video is as follows:
One time threshold t0 is set, using retrieval time for occurring for the first time in the live video of material as Initial time simultaneously starts synchronous recording, and acquires several video frames from the live video at random, therefrom searches the inspection For Suo Sucai there is effect video frame, remaining video frame is invalid video frame;Calculate the multiple invalid video frames continuously occurred In most previous invalid video frame and the last invalid video frame distance t will be described most previous invalid as t >=t0 The position of the nearest effective video frame of the front distance of video frame obtains original as time, and the shearing at the termination time is terminated Segment.
Another aspect of the present invention provides a kind of cloud and cuts live streaming editing system, including following part:
Address AM access module is broadcast live, for accessing live streaming address, and obtains live video to be clipped, the live streaming address It to be started with rtmp or with the address that m3u8 ends up, or is rtmp or hls protocol streams;
Editing management module, for setting initial position and the final position of editing, according to the information of setting described straight It broadcasts and finds corresponding position in video and editing is carried out to live video, obtain original segments;
Additional information adding module adds additional information into the original segments, obtains the editing segment of finished product, described Additional information includes at least one of subtitle, label character, watermark, background audio, picture and other original segments;
Release module, for issuing the editing segment made by network.
Further, the editing management module includes following part:
Manual setting unit, for initial time and termination to be selected or directly filled on the time shaft of the live video Time, and dislocation amplitude is set as needed at least one of the initial time and the termination time, according to the mistake Position amplitude is corrected the initial time and the termination time, obtains the start time point of editing and terminates time point;
Automatic setting unit searches the retrieval element for selecting at least one to retrieve material in the live video The time point that the retrieval material occurs for the first time and last time occurs is set to the starting of editing by the part that material occurs Time and termination time;
Synchronous recording unit, it is right for the facilities according to the manual setting unit or the automatic setting unit The live video synchronizes recording, obtains original segments.
Further, the automatic setting unit includes following part:
It retrieves material and subelement is set, searched at least for selecting at least one to retrieve material, and for same retrieval material The image of two width different angles or different conditions, and the feature of the retrieval material is analyzed and recorded;
Video frame search subelement, for from the retrieval material occurs for the first time in the live video at random from Several video frames are acquired in the live video, therefrom searching the retrieval material, there is effect video frame, remaining videos Frame is invalid video frame;
Time judgment sub-unit is terminated, for a time threshold t to be arranged0, and calculate the multiple invalid views continuously occurred Most previous invalid video frame and the last invalid video frame distance t in frequency frame, as t >=t0When, it will be described most previous The position of the nearest effective video frame of the front distance of invalid video frame is as the termination time.
Beneficial effects of the present invention are as follows: the present invention provides a kind of clouds to cut live streaming clipping method and corresponding system, can To carry out real-time recording and editing to live video, and can according to need to editing video addition text, picture or watermark etc. Markup information can make video information more abundant, detailed, consequently facilitating viewer's quick obtaining and accurate understanding editing video The information of offer;The video that multistage can also be mutually related is combined, thus expand video information, the letter for issuing single Breath more comprehensively, extensively, effectively improves the efficiency of information publication.By the above-mentioned means, can be quickly and easily to live information Carry out editing and publication, be suitble to large and medium-sized media competitive sports, momentous conference, large-scale awards ceremony and special events company Real-time release dynamic is carried out in continuous Living report, significantly improved under the premise of guaranteeing complete documentation live information news when Effect property.
Detailed description of the invention
Fig. 1 is the flow chart that a kind of cloud described in embodiment 1 cuts live streaming clipping method;
Fig. 2 is the flow chart that a kind of cloud as described in example 2 cuts step S2 in live streaming clipping method;
Fig. 3 is the flow chart that a kind of cloud as described in example 4 cuts method for recording in live streaming clipping method;
Fig. 4 cuts the structural schematic diagram of live streaming editing system for a kind of cloud described in embodiment 5;
Fig. 5 cuts the structural schematic diagram of editing management module in live streaming editing system for a kind of cloud described in embodiment 6.
Specific embodiment
Invention is further described in detail with following embodiment with reference to the accompanying drawing.
Embodiment 1
As shown in Figure 1, the embodiment of the present invention 1, which provides a kind of cloud, cuts live streaming clipping method, include the following steps:
S1: access live streaming address obtains live video to be clipped;
It is the address rtmp beginning or be ended up with m3u8 that address, which is broadcast live, or is rtmp or hls protocol streams, or can be straight It connects from the corresponding live streaming address of live streaming platform access;
S2: setting initial position and the final position of editing, is found in live video accordingly according to the information of setting Position simultaneously carries out editing to live video, obtains original segments;Additional information is added into original segments, obtains cutting for finished product Segment is collected, additional information includes subtitle (can add with self manufacture, can also directly add finished product subtitle), label character (packet Include the markup informations such as name, place, item name, and be the literal with special effect of reinforcing effect addition), watermark (including producer's name Claim label or TV station's logo, for declaring copyright ownership), background audio (background music or dubbing), picture (can cover At least one of entire picture can also appear in the specific position of picture) and other original segments;
S3: the editing segment made is issued by network (can be the social platforms such as microblogging).
It present embodiments provides a kind of cloud and cuts live streaming clipping method, real-time recording and editing can be carried out to live video, And can according to need to markup informations such as editing video addition text, picture or watermarks, video information can be made more to enrich, In detail, consequently facilitating the information that viewer's quick obtaining and accurate understanding editing video provide;It can also be interrelated by multistage Video be combined, to expand video information, the information for issuing single more comprehensively, extensively, effectively improves information hair The efficiency of cloth.By the above-mentioned means, editing and publication quickly and easily can be carried out to live information, it is suitble to large and medium-sized media Real-time release dynamic is carried out in the continuous Living report of competitive sports, momentous conference, large-scale awards ceremony and special events, The timeliness of news is significantly improved under the premise of guaranteeing complete documentation live information.
Embodiment 2
As shown in Fig. 2, embodiment 2 discloses a kind of cloud on the basis of embodiment 1 cuts live streaming clipping method, the embodiment 2 further define in step S1, such as access live streaming address when, live streaming terminated, then live-mode is switched into playback mode, Obtain the video progress editing that live streaming is completed.
Live streaming that is shorter for the time or failing accurate timing there are the time difference, or need from be completed live streaming and not yet Information is obtained in the program of open complete video, above situation can not obtain live information in real time, switch to after access Playback mode carries out editing, to obtain video as early as possible.
The specific method is as follows by step S2:
S2.1: on the time shaft of live video manually or automated manner setting initial time and terminate when Between, when reaching start time point, operation front end starts synchronous recording live video, to stopping recording when terminating time point, obtains To recording segment be original segments;
Since the video flowing of live streaming can not be substantially to live video by physical truncation, the editing to live streaming Certain a part synchronizes duplication (recording);
S2.2: level-one additional information is added into original segments, level-one additional information includes subtitle, label character, watermark And at least one of background audio, adjust format (font, color, size, spacing, the language of subtitle or label character Deng) and watermark form (title, media flag, TV station's logo etc.) and position, and background audio is added as needed, obtains To level-one segment;
S2.3: second level additional information is added into level-one segment, second level additional information includes picture and other original sheets Second level additional information, the front or behind of level-one segment is connected to patch form, obtains second level piece by least one of section Section;
S2.4: choosing the picture in second level additional information or any one picture is intercepted from second level segment as cover, Obtain the editing segment of finished product.
Embodiment 3
Embodiment 3 discloses a kind of cloud on the basis of embodiment 2 and cuts live streaming clipping method, which further limits Determine in step S2.1, initial time is arranged in manual mode, and the specific method is as follows with the time is terminated:
It is selected on the time shaft of live video or directly fills in initial time and terminate the time, and as needed for starting Time and at least one of time setting dislocation amplitude is terminated, dislocation amplitude includes delay amplitude or amplitude in advance;According to dislocation Amplitude is corrected initial time and termination time, obtains the start time point of editing and terminates time point, start time point It is no earlier than the time of operation front end access live video.
Initial time and termination time can be set by pulling time shaft, can also directly be filled in specific time point, The duration that initial time can also first be set, fill in interception video again can be derived according to duration and terminate the time;Due to hand Dynamic setting is easy that there are large errors, therefore for initial time and can terminate the time dislocation amplitude is arranged, when recording It can be advanced or delayed according to dislocation amplitude and be recorded or terminated, important camera lens is omitted with face, or intercepted excessive incoherent Camera lens.Simultaneously as operation leading portion could obtain live video after address is broadcast live in access, therefore start time point can not morning In the time of access.
Embodiment 4
As shown in figure 3, embodiment 4 discloses a kind of cloud on the basis of embodiment 2 cuts live streaming clipping method, the embodiment 4 further define in step S2.1, and initial time is arranged in automated manner, and the specific method is as follows with the time is terminated:
Select at least one retrieval material (such as the face-image of certain sportsman, certain video display star, certain conference speech people, Or the image of certain craftwork), and at least two width different angles (such as a front surface and a side surface) or difference are searched for same retrieval material The image of state (such as eye opening and eye closing or illumination condition difference), and the feature of retrieval material is analyzed and recorded;? The part that retrieval material occurs is searched in live video, will retrieve the time point point that material occurs for the first time and last time occurs It is not set as the initial time of editing and terminates the time.
In step S2.1, the method for recorded video is as follows:
One time threshold t is set0, the time that retrieval material is occurred for the first time in live video is as initial time And start synchronous recording, and acquire several video frames from live video at random, therefrom searching retrieval material, there is effects Video frame, remaining video frame are invalid video frame;Calculate most previous invalid view in the multiple invalid video frames continuously occurred Frequency frame and the last invalid video frame distance t, as t >=t0When, the front distance of most previous invalid video frame is nearest The position of effective video frame obtains original segments as time, and the shearing at the termination time is terminated.
Since acquisition video frame has randomness, the video frame of acquisition may be unevenly distributed, therefore have continuous appearance When invalid video frame (i.e. intermediate not occur effective video frame), if the duration t of this section of invalid video frame is (when being defaulted as wherein most Previous invalid video frame is at a distance from the last invalid video frame) >=preset duration threshold value t0, then it is assumed that retrieval element Material is not occurring in this section of video, at this time using the nearest effective video frame of front distance position as terminate the time into Row shearing, the segment of acquisition, which can consider, substantially covers the range of the retrieval material in the video occurred at present.
The above method is suitable for the case where live video content distribution can be estimated, such as cuts from a certain competitive sports The influence that special exercise person plays is taken, or targetedly intercepts someone speech from certain meeting.
Embodiment 5
As shown in figure 4, the embodiment of the present invention 5, which provides a kind of cloud, cuts live streaming editing system, including following part:
Address AM access module 1 is broadcast live, for accessing live streaming address, and obtains live video to be clipped, live streaming address is It with address rtmp beginning or ended up with m3u8, or is rtmp or hls protocol streams;
Editing management module 2 is regarded according to the information of setting in live streaming for setting initial position and the final position of editing Corresponding position is found in frequency and editing is carried out to live video, obtains original segments;;
Additional information adding module 3, additional information is added into original segments, obtains the editing segment of finished product, adds letter Breath includes at least one of subtitle, label character, watermark, background audio, picture and other original segments;
Release module 4, the editing segment for will make are issued by network.
It present embodiments provides a kind of cloud and cuts live streaming editing system, editing management module 2 can access mould to live streaming address The live video that block 1 accesses carries out real-time recording and editing, and can according to need and regarded by additional information adding module 3 to editing The markup informations such as frequency addition text, picture or watermark can make video information more abundant, in detail, thus release module 4 into After row publication, convenient for viewer's quick obtaining and the information of accurate understanding editing video offer;It can also be interrelated by multistage Video be combined, to expand video information, the information for issuing single more comprehensively, extensively, effectively improves information hair The efficiency of cloth.By above system, editing and publication quickly and easily can be carried out to live information, be suitble to large and medium-sized media Real-time release dynamic is carried out in the continuous Living report of competitive sports, momentous conference, large-scale awards ceremony and special events, The timeliness of news is significantly improved under the premise of guaranteeing complete documentation live information.
Embodiment 6
As shown in figure 5, embodiment 6 discloses a kind of cloud on the basis of embodiment 5 cuts live streaming editing system, the embodiment 6, which further define editing management module 2, includes following part:
Manual setting unit 21, when for the selection on the time shaft of live video or directly filling in initial time and terminate Between, and as needed at least one of initial time and termination time setting dislocation amplitude, when according to dislocation amplitude to starting Between and terminate the time be corrected, obtain editing start time point and terminate time point;
Automatic setting unit 22 is searched retrieval material in live video and is occurred for selecting at least one to retrieve material Part, will retrieve the time point that material occurs for the first time and last time occurs is set to the initial time and termination of editing Time;
Synchronous recording unit 23 regards live streaming for the facilities according to manual setting unit or automatic setting unit Frequency synchronizes recording, obtains original segments.
Automatic setting unit 22 includes following part:
Retrieve material be arranged subelement 221, for select at least one retrieve material, and for same retrieval material search to The image of few two width different angles or different conditions, and the feature of retrieval material is analyzed and recorded;
Video frame search subelement 222, for from retrieval material occur for the first time in live video at random from live streaming Several video frames are acquired in video, therefrom search retrieval material there is effect video frame, remaining video frame is invalid view Frequency frame;
Terminate time judgment sub-unit 223, for a time threshold t0 is set, and is calculated continuously occur it is multiple invalid Most previous invalid video frame and the last invalid video frame distance t will most previous nothings as t >=t0 in video frame The position of the nearest effective video frame of the front distance of effect video frame is as the termination time.
The embodiments described above only express several embodiments of the present invention, and the description thereof is more specific and detailed, but simultaneously Limitations on the scope of the patent of the present invention therefore cannot be interpreted as.It should be pointed out that for those of ordinary skill in the art For, without departing from the inventive concept of the premise, various modifications and improvements can be made, these belong to guarantor of the invention Protect range.Therefore, the scope of protection of the patent of the invention shall be subject to the appended claims.

Claims (10)

1. a kind of cloud cuts live streaming clipping method, which comprises the steps of:
S1: access live streaming address obtains live video to be clipped;
S2: setting initial position and the final position of editing, is found in the live video according to the information of setting corresponding Position simultaneously carries out editing to live video, obtains original segments;Additional information is added into the original segments, obtains finished product Editing segment, the additional information includes in subtitle, label character, watermark, background audio, picture and other original segments At least one;
S3: the editing segment made is issued by network.
2. cloud as described in claim 1 cuts live streaming clipping method, which is characterized in that the live streaming address be with rtmp beginning or It with the address that m3u8 ends up, or is rtmp or hls protocol streams.
3. cloud as described in claim 1 cuts live streaming clipping method, which is characterized in that when address being broadcast live as described in access, be broadcast live It has been terminated that, then live-mode is switched into playback mode, obtained the video progress editing that live streaming is completed.
4. cloud as described in claim 1 cuts live streaming clipping method, which is characterized in that the specific method is as follows by step S2:
S2.1: on the time shaft of the live video manually or automated manner setting initial time and terminate when Between, when reaching the start time point, when operation front end starts live video described in synchronous recording, extremely the termination time point Stop recording, obtained recording segment is original segments;
S2.2: into the original segments add level-one additional information, the level-one additional information include subtitle, label character, The format of subtitle or label character and the form of watermark and position are adjusted at least one of watermark and background audio, And background audio is added as needed, obtain level-one segment;
S2.3: second level additional information is added into the level-one segment, the second level additional information includes picture and other are former At least one of beginning segment, by the second level additional information with patch form be connected to the level-one segment front or after Side, obtains second level segment;
S2.4: choosing the picture in the second level additional information or any one picture is intercepted from the second level segment as envelope Face obtains the editing segment of finished product.
5. cloud as claimed in claim 4 cuts live streaming clipping method, which is characterized in that in step S2.1, manual mode is arranged Beginning, time and termination time, the specific method is as follows:
It is selected on the time shaft of the live video or directly fills in initial time and terminate the time, and as needed for described Dislocation amplitude is arranged at least one of initial time and the termination time, and the dislocation amplitude includes delay amplitude or width in advance Degree;The initial time and the termination time are corrected according to the dislocation amplitude, obtain the start time point of editing With termination time point, the start time point is no earlier than the time that the live video is accessed in operation front end.
6. cloud as claimed in claim 4 cuts live streaming clipping method, which is characterized in that in step S2.1, automated manner is arranged Beginning, time and termination time, the specific method is as follows:
It selects at least one to retrieve material, and searches at least figure of two width different angles or different conditions for same retrieval material Picture, and the feature of the retrieval material is analyzed and recorded;The retrieval material is searched in the live video to occur Part, by it is described retrieval material for the first time occur and last time occur time point be set to editing initial time and Terminate the time.
7. cloud as claimed in claim 6 cuts live streaming clipping method, which is characterized in that in step S2.1.2, the side of recorded video Method is as follows:
One time threshold t is set0, the time that the retrieval material is occurred for the first time in the live video is as starting Time simultaneously starts synchronous recording, and acquires several video frames from the live video at random, therefrom searches the retrieval element For material there is effect video frame, remaining video frame is invalid video frame;It calculates in the multiple invalid video frames continuously occurred most Previous invalid video frame and the last invalid video frame distance t, as t >=t0When, it will the most previous invalid video The position of the nearest effective video frame of the front distance of frame obtains original segments as time, and the shearing at the termination time is terminated.
8. a kind of cloud cuts live streaming editing system, which is characterized in that including following part:
It is broadcast live address AM access module (1), for accessing live streaming address, and obtains live video to be clipped, the live streaming address It to be started with rtmp or with the address that m3u8 ends up, or is rtmp or hls protocol streams;
Editing management module (2), for setting initial position and the final position of editing, according to the information of setting in the live streaming Corresponding position is found in video and editing is carried out to live video, obtains original segments;;
Additional information adding module (3), adds additional information into the original segments, obtains the editing segment of finished product, described Additional information includes at least one of subtitle, label character, watermark, background audio, picture and other original segments;
Release module (4), for issuing the editing segment made by network.
9. cloud as claimed in claim 8 cuts live streaming editing system, which is characterized in that the editing management module (2) includes such as Lower part:
Manual setting unit (21), for initial time and termination to be selected or directly filled on the time shaft of the live video Time, and dislocation amplitude is set as needed at least one of the initial time and the termination time, according to the mistake Position amplitude is corrected the initial time and the termination time, obtains the start time point of editing and terminates time point;
Automatic setting unit (22) searches the retrieval element for selecting at least one to retrieve material in the live video The time point that the retrieval material occurs for the first time and last time occurs is set to the starting of editing by the part that material occurs Time and termination time;
Synchronous recording unit (23), it is right for the facilities according to the manual setting unit or the automatic setting unit The live video synchronizes recording, obtains original segments.
10. cloud as claimed in claim 9 cuts live streaming editing system, which is characterized in that the automatic setting unit (22) includes Following part:
Material setting subelement (221) is retrieved, is searched at least for selecting at least one to retrieve material, and for same retrieval material The image of two width different angles or different conditions, and the feature of the retrieval material is analyzed and recorded;
Video frame searches subelement (222), for random from the retrieval material occurs for the first time in the live video Several video frames are acquired from the live video, therefrom searching the retrieval material, there is effect video frame, remaining views Frequency frame is invalid video frame;
It terminates time judgment sub-unit (223), for a time threshold t to be arranged0, and calculate the multiple invalid views continuously occurred Most previous invalid video frame and the last invalid video frame distance t in frequency frame, as t >=t0When, it will be described most previous The position of the nearest effective video frame of the front distance of invalid video frame is as the termination time.
CN201811159939.7A 2018-09-30 2018-09-30 Cloud cut live editing method and system Active CN109168015B (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN201811159939.7A CN109168015B (en) 2018-09-30 2018-09-30 Cloud cut live editing method and system

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN201811159939.7A CN109168015B (en) 2018-09-30 2018-09-30 Cloud cut live editing method and system

Publications (2)

Publication Number Publication Date
CN109168015A true CN109168015A (en) 2019-01-08
CN109168015B CN109168015B (en) 2021-04-09

Family

ID=64877174

Family Applications (1)

Application Number Title Priority Date Filing Date
CN201811159939.7A Active CN109168015B (en) 2018-09-30 2018-09-30 Cloud cut live editing method and system

Country Status (1)

Country Link
CN (1) CN109168015B (en)

Cited By (8)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN109889882A (en) * 2019-01-24 2019-06-14 北京亿幕信息技术有限公司 A kind of video clipping synthetic method and system
CN110113544A (en) * 2019-05-07 2019-08-09 上海墨工文化传播有限公司 A kind of extreme video backstage editing system
CN111918128A (en) * 2020-07-23 2020-11-10 上海网达软件股份有限公司 Cloud editing method, device, equipment and storage medium
US10867634B1 (en) 2020-05-05 2020-12-15 Disney Enterprises, Inc. Content editing during broadcast
CN113099129A (en) * 2021-01-27 2021-07-09 北京字跳网络技术有限公司 Video generation method and device, electronic equipment and storage medium
CN113179383A (en) * 2021-03-03 2021-07-27 梁霄 Enterprise office teleconference system
CN113284379A (en) * 2021-05-12 2021-08-20 上海童梦教育科技有限公司 Information technology education training system
WO2023006014A1 (en) * 2021-07-30 2023-02-02 北京字跳网络技术有限公司 Video editing method and apparatus, electronic device, and storage medium

Citations (6)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN104159151A (en) * 2014-08-06 2014-11-19 哈尔滨工业大学深圳研究生院 Device and method for intercepting and processing of videos on OTT box
CN204013943U (en) * 2014-08-06 2014-12-10 哈尔滨工业大学深圳研究生院 A kind of device that carries out video intercepting and process on OTT box
CN104796795A (en) * 2014-01-17 2015-07-22 乐视网信息技术(北京)股份有限公司 Video content publishing method and device
CN105338368A (en) * 2015-11-02 2016-02-17 腾讯科技(北京)有限公司 Method, device and system for converting live stream of video into on-demand data
CN107147959A (en) * 2017-05-05 2017-09-08 中广热点云科技有限公司 A kind of INVENTIONBroadcast video editing acquisition methods and system
CN108235141A (en) * 2018-03-01 2018-06-29 北京网博视界科技股份有限公司 Live video turns method, apparatus, server and the storage medium of fragmentation program request

Patent Citations (6)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN104796795A (en) * 2014-01-17 2015-07-22 乐视网信息技术(北京)股份有限公司 Video content publishing method and device
CN104159151A (en) * 2014-08-06 2014-11-19 哈尔滨工业大学深圳研究生院 Device and method for intercepting and processing of videos on OTT box
CN204013943U (en) * 2014-08-06 2014-12-10 哈尔滨工业大学深圳研究生院 A kind of device that carries out video intercepting and process on OTT box
CN105338368A (en) * 2015-11-02 2016-02-17 腾讯科技(北京)有限公司 Method, device and system for converting live stream of video into on-demand data
CN107147959A (en) * 2017-05-05 2017-09-08 中广热点云科技有限公司 A kind of INVENTIONBroadcast video editing acquisition methods and system
CN108235141A (en) * 2018-03-01 2018-06-29 北京网博视界科技股份有限公司 Live video turns method, apparatus, server and the storage medium of fragmentation program request

Cited By (10)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN109889882A (en) * 2019-01-24 2019-06-14 北京亿幕信息技术有限公司 A kind of video clipping synthetic method and system
CN109889882B (en) * 2019-01-24 2021-06-18 深圳亿幕信息科技有限公司 Video clip synthesis method and system
CN110113544A (en) * 2019-05-07 2019-08-09 上海墨工文化传播有限公司 A kind of extreme video backstage editing system
US10867634B1 (en) 2020-05-05 2020-12-15 Disney Enterprises, Inc. Content editing during broadcast
CN111918128A (en) * 2020-07-23 2020-11-10 上海网达软件股份有限公司 Cloud editing method, device, equipment and storage medium
CN113099129A (en) * 2021-01-27 2021-07-09 北京字跳网络技术有限公司 Video generation method and device, electronic equipment and storage medium
CN113179383A (en) * 2021-03-03 2021-07-27 梁霄 Enterprise office teleconference system
CN113179383B (en) * 2021-03-03 2024-01-26 深圳市玄关健康医疗互联网有限公司 Enterprise office teleconference system
CN113284379A (en) * 2021-05-12 2021-08-20 上海童梦教育科技有限公司 Information technology education training system
WO2023006014A1 (en) * 2021-07-30 2023-02-02 北京字跳网络技术有限公司 Video editing method and apparatus, electronic device, and storage medium

Also Published As

Publication number Publication date
CN109168015B (en) 2021-04-09

Similar Documents

Publication Publication Date Title
CN109168015A (en) A kind of cloud cuts live streaming clipping method and system
CN109889882B (en) Video clip synthesis method and system
US11240538B2 (en) Methods and systems for network based video clip generation and management
US20200053414A1 (en) Broadcast management system
CN103024464B (en) System and method with video-frequency playing content relevant information is provided
WO2020199303A1 (en) Live stream video highlight generation method and apparatus, server, and storage medium
CN109194887B (en) Cloud shear video recording and editing method and plug-in
CN108235141B (en) Method, device, server and storage medium for converting live video into fragmented video on demand
CN106454493B (en) Currently playing TV program information querying method and smart television
CN102685550B (en) Network video advertisement placing method and system
CN106792100A (en) A kind of video barrage display methods and device
CN101052105A (en) Video frequency relative information expressing method and its playing system
US10659842B2 (en) Integral program content distribution
CN106851326A (en) A kind of playing method and device
CN109151258B (en) Cloud-cut video distribution method and system
JP6948934B2 (en) Content processing systems, terminals, and programs
JP2009260902A5 (en)
CN104581226A (en) Method and device for recommending programs by aiming at current live stream
JP5997500B2 (en) Broadcast communication cooperative receiver
CN103139602B (en) The method of automatic recording Internet video and terminal
JP4494821B2 (en) Content / metadata transmission / reception system, content / metadata synchronization method, program for causing computer to execute the method, and receiving terminal
CN108184078A (en) A kind of processing system for video and its method
KR101749420B1 (en) Apparatus and method for extracting representation image of video contents using closed caption
CN110266706A (en) A kind of playing method and device of multimedia streaming data
CN106454547A (en) Real-time subtitle playing method and real-time subtitle playing system

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

Effective date of registration: 20210422

Address after: 518057 Room 301, 3 / F, building 9, Shenzhen Software Park (phase 2), No.1, kejizhong 2 Road, Gaoxin Central District, Maling community, Yuehai street, Nanshan District, Shenzhen City, Guangdong Province

Patentee after: Shenzhen million curtain Mdt InfoTech Ltd.

Address before: Room 312, Room 3, Building 2, 28 Andingmen East Street, Dongcheng District, Beijing

Patentee before: BEIJING EASUB INFORMATION TECHNOLOGY Co.,Ltd.