CN107948669A - Based on CDN fast video production methods - Google Patents

Based on CDN fast video production methods Download PDF

Info

Publication number
CN107948669A
CN107948669A CN201711407403.8A CN201711407403A CN107948669A CN 107948669 A CN107948669 A CN 107948669A CN 201711407403 A CN201711407403 A CN 201711407403A CN 107948669 A CN107948669 A CN 107948669A
Authority
CN
China
Prior art keywords
live
cdn
video
files
time
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
CN201711407403.8A
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.)
Chengdu Hua Seiun Technology Co Ltd
Original Assignee
Chengdu Hua Seiun 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 Chengdu Hua Seiun Technology Co Ltd filed Critical Chengdu Hua Seiun Technology Co Ltd
Priority to CN201711407403.8A priority Critical patent/CN107948669A/en
Publication of CN107948669A publication Critical patent/CN107948669A/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/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/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/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/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
    • 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/85Assembly of content; Generation of multimedia applications
    • H04N21/854Content authoring
    • H04N21/85406Content authoring involving a specific file format, e.g. MP4 format
    • 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/85Assembly of content; Generation of multimedia applications
    • H04N21/858Linking data to content, e.g. by linking an URL to a video object, by creating a hotspot
    • H04N21/8586Linking data to content, e.g. by linking an URL to a video object, by creating a hotspot by using a URL

Landscapes

  • Engineering & Computer Science (AREA)
  • Multimedia (AREA)
  • Signal Processing (AREA)
  • Databases & Information Systems (AREA)
  • Computer Security & Cryptography (AREA)
  • Television Signal Processing For Recording (AREA)

Abstract

The present invention relates to based on CDN fast video production methods, open live TV stream address CDN direct broadcast time-shifts function and time shift duration is set, the section duration of TS files is generated when then by setting live, the section durations of TS files selects that 5 seconds a piece of or 10 seconds a piece of, when preparing recording and playback video, determine that start practice point and the end time point that need to shear video determine to need the playback video segment recorded by back dragging the live progress bar of player, call third party's service end api interfaces, incoming sart point in time, end time point, flow title, new file storage location, so as to generate new live recorded file M3U8 files, interface is reviewed by the operation of system configuration, call this review interface can directly invoke shearing generation meeting see video M3U8 files.Solve it is live after to the troublesome operation process of recorded video editing, improve the speed that video is reviewed, by calling recording operation interface to generate new file, set operation to review interface, be truly realized live recording second level playback.

Description

Based on CDN fast video production methods
Technical field
The present invention relates to video clipping technical field, and in particular to one kind is based on CDN fast video production methods.
Background technology
The full name of CDN is Content Delivery Network, i.e. content distributing network.Its basic ideas is as far as possible Avoid being possible to influencing the bottleneck and link of data transmission bauds and stability on internet, make content transmission faster, it is more steady It is fixed.By placing one on the existing Internet basic layer intelligent virtual net that node server formed everywhere in network Network, CDN system can be in real time according to the connection of network traffics and each node, load state and the distance to user and responses The integrated informations such as time re-direct the request of user on the service node nearest from user.The purpose is to make user can be nearby Content needed for acquirement, solves the crowded situation of Internet network, improves the response speed that user accesses website.
Need to record live video when doing live at present, in order to return live video after the completion of live See to live user, but now live is not watched, equipment debugging can be carried out in advance, play gasket, play advertisement etc., and it is straight The side of broadcasting such as is not intended to the video informations such as gasket, equipment debugging being given to user's viewing, must be to the whole recorded file after live Carry out editing, at this time because recording file generated on the server, file need to be downloaded to local, then pass through related hand Section or instrument into edlin, remove need not video-frequency band, synthesize new video file, then upload to video stream media clothes again Be engaged in device, and new video address be given to corresponding playback equipment and is played out, and this process is time-consuming and laborious, editing video it is interior Hold it is more complicated, this process it is time-consuming longer.
The content of the invention
It is an object of the invention to overcome the deficiencies of the prior art and provide one kind to be based on CDN fast video production methods, will Using direct broadcast time-shift, got ready with reference to user time, with the ts files of live generation, generate new reviewing and record m3u8 files, solution To the troublesome operation process of recorded video editing after certainly live, the speed that video is reviewed is improved, by calling recording operation Interface generates new file, sets operation to review interface, is truly realized live recording second level playback.
The purpose of the present invention is what is be achieved through the following technical solutions:
Based on CDN fast video production methods, comprise the following steps:
S01:Time shift configures, and opens CDN direct broadcast time-shifts function and sets time shift duration;
S02:Recording time is set, and the section duration of TS files is generated when setting live;
S03:Determine dotting time, determine point, end time point between need to shearing at the beginning of video;
S04:The new live recorded file of generation, calls server-side api, it is incoming need to shear at the beginning of video between point, at the end of Between point, stream title and new file storage address, generate new live recorded file;
S05:Address is reviewed in setting, and the storage address of new live recorded file is set to each and reviews system.
Preferably, the new live recorded file is M3U8 files.
Further, the direct broadcast time-shift is during live, can directly drag progress bar and carry out checking historical picture.
Further, the historical picture refers to that history records picture.
Preferably, during the section of the TS files a length of 5-10 seconds it is a piece of.
Further as this programme is improved, and the step S03 determines that dotting time is to be watched by player live, drags Point, end time point between the dynamic live progress bar of player determines to shear at the beginning of video.
Further as this programme is improved, it is described review system and be provided with operation review interface, by calling this to review Video M3U8 files are seen in the meeting that interface can directly invoke shearing generation.
Preferably, the time shift duration set in the time shift configuration step is controlled by third party.
The beneficial effects of the invention are as follows:The present invention is got ready, with live generation by using direct broadcast time-shift with reference to user time Ts files, generate the new m3u8 files being made of several ts files, which is stored in system address, and Interface is reviewed in the system, the new m3u8 files of generation are directly invoked by reviewing interface, so as to be truly realized the live recording second Level playback.
Brief description of the drawings
Fig. 1 is the flow chart of the present invention.
Embodiment
Below in conjunction with the accompanying drawings 1 and specific embodiment technical scheme is described in further detail, but the guarantor of the present invention Shield scope is not limited to as described below.
Based on CDN fast video production methods, comprise the following steps:
S01:Time shift configures, and opens CDN direct broadcast time-shifts function and sets time shift duration;
S02:Recording time is set, and the section duration of TS files is generated when setting live;
S03:Determine dotting time, determine point, end time point between need to shearing at the beginning of video;
S04:The new live recorded file of generation, calls server-side api, it is incoming need to shear at the beginning of video between point, at the end of Between point, stream title and new file storage address, generate new live recorded file;
S05:Address is reviewed in setting, and the storage address of new live recorded file is set to each and reviews system.
Preferably, new live recorded file signified in the present embodiment is M3U8 files, and live M3U8 files are a kind of straight Video file format is broadcast, its content is made of multistage TS file paths, and TS is real recorded video file, and TS is Japanese high definition The lower encapsulation format carried out of video camera shooting, full name MPEG2-TS.The TS i.e. abbreviation of " Transport Stream ", MPEG2- The characteristics of TS forms be exactly require all be since any fragment of video flowing can be independently decoded, the present invention be exactly using be somebody's turn to do Live video form selected as TS forms are controlled the duration of single TS files by characteristic, so that the video of live recording It is made of several TS files, and TS files are along time shaft number consecutively, it is necessary to when carrying out playback video record, it is only necessary to Point, end time point between at the beginning of shearing video described in the input playback video i.e. present invention, then system automatically selects TS files within this time, which are combined, to be generated new M3U8 files and is stored in system, passes through the behaviour of system configuration Review interface, call this review interface can directly invoke shearing generation meeting see video M3U8 files.
Its concrete operations is as follows:
Open live TV stream address CDN direct broadcast time-shifts function and time shift duration is set, which is directly operated by user, wherein CDN Direct broadcast time-shift refers to during live, can directly drag progress bar and carry out checking historical picture, further, in this embodiment Refer to it is live during the historical picture recorded;The section duration of TS files, TS texts are generated when then setting live by third party The section duration of part can select that 5 seconds a piece of or 10 seconds a piece of, but not limit to duration cited in the present embodiment;Prepare record During system playback video, live video is watched using player, determines to shear by back dragging the live progress bar of player and regards Start practice point and the end time point of frequency determine the playback video segment that needs are recorded, and call third party's service end api interfaces, Incoming sart point in time, end time point, stream title, new file(The playback video M3U8 files recorded)Storage location, from And new live recorded file M3U8 files are generated, the new live recorded file address system got according to upper step is set System is reviewed to each, interface is reviewed by the operation of system configuration, shearing generation can be directly invoked by calling this to review interface Meeting see video M3U8 files.
The above is only the preferred embodiment of the present invention, it should be understood that the present invention is not limited to described herein Form, is not to be taken as the exclusion to other embodiment, and can be used for various other combinations, modification and environment, and can be at this In the text contemplated scope, it is modified by the technology or knowledge of above-mentioned teaching or association area.And those skilled in the art institute into Capable modifications and changes do not depart from the spirit and scope of the present invention, then all should be in the protection domain of appended claims of the present invention It is interior.

Claims (8)

1. it is based on CDN fast video production methods, it is characterised in that comprise the following steps:
S01:Time shift configures, and opens CDN direct broadcast time-shifts function and sets time shift duration;
S02:Recording time is set, and the section duration of TS files is generated when setting live;
S03:Determine dotting time, determine point, end time point between need to shearing at the beginning of video;
S04:The new live recorded file of generation, calls server-side api, it is incoming need to shear at the beginning of video between point, at the end of Between point, stream title and new file storage address, generate new live recorded file;
S05:Address is reviewed in setting, and the storage address of new live recorded file is set to each and reviews system.
2. according to claim 1 be based on CDN fast video production methods, it is characterised in that the new live recording text Part is M3U8 files.
3. according to claim 1 or 2 be based on CDN fast video production methods, it is characterised in that the direct broadcast time-shift is During live, it can directly drag progress bar and carry out checking historical picture.
4. according to claim 3 be based on CDN fast video production methods, it is characterised in that the historical picture refers to History records picture.
5. according to claim 1 be based on CDN fast video production methods, it is characterised in that the section of the TS files Shi Changwei 5-10 seconds is a piece of.
6. according to claim 1 be based on CDN fast video production methods, it is characterised in that the step S03 determines to beat The point time is that live, point, knot between the dragging live progress bar of player determines to shear at the beginning of video are watched by player Beam time point.
7. according to claim 1 or 2 be based on CDN fast video production methods, it is characterised in that the system of reviewing is set Be equipped with operation and review interface, by call this review interface can directly invoke shearing generation meeting see video M3U8 files.
8. according to claim 1 be based on CDN fast video production methods, it is characterised in that the time shift configuration step The time shift duration of middle setting is controlled by third party.
CN201711407403.8A 2017-12-22 2017-12-22 Based on CDN fast video production methods Pending CN107948669A (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN201711407403.8A CN107948669A (en) 2017-12-22 2017-12-22 Based on CDN fast video production methods

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN201711407403.8A CN107948669A (en) 2017-12-22 2017-12-22 Based on CDN fast video production methods

Publications (1)

Publication Number Publication Date
CN107948669A true CN107948669A (en) 2018-04-20

Family

ID=61941837

Family Applications (1)

Application Number Title Priority Date Filing Date
CN201711407403.8A Pending CN107948669A (en) 2017-12-22 2017-12-22 Based on CDN fast video production methods

Country Status (1)

Country Link
CN (1) CN107948669A (en)

Cited By (6)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN108377429A (en) * 2018-04-24 2018-08-07 中国广播电视网络有限公司 A kind of demolition of video flowing and take out frame method
CN111901696A (en) * 2020-07-31 2020-11-06 杭州当虹科技股份有限公司 Real-time recording and strip-disassembling system based on hls technology by using preloading mode
CN112468839A (en) * 2020-11-26 2021-03-09 上海哔哩哔哩科技有限公司 Playback method, system, device and readable storage medium of live content
CN113630618A (en) * 2021-08-06 2021-11-09 上海哔哩哔哩科技有限公司 Video processing method, device and system
CN114827755A (en) * 2022-04-15 2022-07-29 咪咕文化科技有限公司 Video playing method, system, device and storage medium
CN115914670A (en) * 2023-02-01 2023-04-04 广州市千钧网络科技有限公司 Live broadcast playback processing method and device and storage medium

Citations (11)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
WO2010108053A1 (en) * 2009-03-19 2010-09-23 Azuki Systems, Inc. Method for scalable live streaming delivery for mobile audiences
CN103096184A (en) * 2013-01-18 2013-05-08 深圳市龙视传媒有限公司 Method and device for video editing
CN104427404A (en) * 2013-08-20 2015-03-18 腾讯科技(深圳)有限公司 Video segment extraction and play methods and devices
CN104581351A (en) * 2015-01-28 2015-04-29 上海与德通讯技术有限公司 Audio/video recording method, audio/video playing method and electronic device
CN104683884A (en) * 2015-02-09 2015-06-03 网宿科技股份有限公司 Live method and system for stream medium
CN104837033A (en) * 2015-05-20 2015-08-12 腾讯科技(北京)有限公司 Information processing method and server
CN105721811A (en) * 2015-05-15 2016-06-29 乐视云计算有限公司 Live video recording method and system
CN105915936A (en) * 2016-06-22 2016-08-31 武汉斗鱼网络科技有限公司 Video dotting method and system for video website
CN105992022A (en) * 2015-02-05 2016-10-05 天脉聚源(北京)科技有限公司 On-line recording and downloading method and system
CN106685942A (en) * 2016-12-20 2017-05-17 徐亮 Video live and replaying system and video live and replaying method
CN106959816A (en) * 2017-03-31 2017-07-18 努比亚技术有限公司 Video intercepting method and mobile terminal

Patent Citations (11)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
WO2010108053A1 (en) * 2009-03-19 2010-09-23 Azuki Systems, Inc. Method for scalable live streaming delivery for mobile audiences
CN103096184A (en) * 2013-01-18 2013-05-08 深圳市龙视传媒有限公司 Method and device for video editing
CN104427404A (en) * 2013-08-20 2015-03-18 腾讯科技(深圳)有限公司 Video segment extraction and play methods and devices
CN104581351A (en) * 2015-01-28 2015-04-29 上海与德通讯技术有限公司 Audio/video recording method, audio/video playing method and electronic device
CN105992022A (en) * 2015-02-05 2016-10-05 天脉聚源(北京)科技有限公司 On-line recording and downloading method and system
CN104683884A (en) * 2015-02-09 2015-06-03 网宿科技股份有限公司 Live method and system for stream medium
CN105721811A (en) * 2015-05-15 2016-06-29 乐视云计算有限公司 Live video recording method and system
CN104837033A (en) * 2015-05-20 2015-08-12 腾讯科技(北京)有限公司 Information processing method and server
CN105915936A (en) * 2016-06-22 2016-08-31 武汉斗鱼网络科技有限公司 Video dotting method and system for video website
CN106685942A (en) * 2016-12-20 2017-05-17 徐亮 Video live and replaying system and video live and replaying method
CN106959816A (en) * 2017-03-31 2017-07-18 努比亚技术有限公司 Video intercepting method and mobile terminal

Cited By (7)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN108377429A (en) * 2018-04-24 2018-08-07 中国广播电视网络有限公司 A kind of demolition of video flowing and take out frame method
CN111901696A (en) * 2020-07-31 2020-11-06 杭州当虹科技股份有限公司 Real-time recording and strip-disassembling system based on hls technology by using preloading mode
CN112468839A (en) * 2020-11-26 2021-03-09 上海哔哩哔哩科技有限公司 Playback method, system, device and readable storage medium of live content
US11706498B2 (en) 2020-11-26 2023-07-18 Shanghai Bilibili Technology Co., Ltd. Playback method, system, device and readable storage medium of live broadcast content
CN113630618A (en) * 2021-08-06 2021-11-09 上海哔哩哔哩科技有限公司 Video processing method, device and system
CN114827755A (en) * 2022-04-15 2022-07-29 咪咕文化科技有限公司 Video playing method, system, device and storage medium
CN115914670A (en) * 2023-02-01 2023-04-04 广州市千钧网络科技有限公司 Live broadcast playback processing method and device and storage medium

Similar Documents

Publication Publication Date Title
CN107948669A (en) Based on CDN fast video production methods
US8649773B2 (en) System and apparatus to support clipped video tone on televisions, personal computers, and handheld devices
US8886009B2 (en) Creation of video bookmarks via scripted interactivity in advanced digital television
CN109963162B (en) Cloud directing system and live broadcast processing method and device
US8600220B2 (en) Systems and methods for loading more than one video content at a time
CN103385008B (en) Content delivery method and system
US10356447B2 (en) Methods and systems for determining a video player playback position
US20120311618A1 (en) Asynchronous interaction at specific points in content
CN108668174A (en) It is a kind of to realize video resource and the social method blended and video social activity emerging system
CA2979357C (en) Systems and methods for inserting breakpoints and reference links into a media file
JP5844816B2 (en) Information processing system, multimedia information processing method and system
US11729434B2 (en) Methods and systems for dynamic routing of content using a static playlist manifest
CN108200444B (en) Video live broadcast method, device and system
CN107517411B (en) Video playing method based on GSstreamer frame
US20130238757A1 (en) Distributed playback session customization file management
CN109005422A (en) Video comments processing method and processing device
CN104683726A (en) Online game video recording and playing method
CN107318052A (en) Player method, television set and the storage medium of television video
WO2014072739A1 (en) Video distribution
US20230217047A1 (en) Method, system, and computer-readable recording medium for implementing fast-switching mode between channels in multi-live transmission environment
CN105872857B (en) Video processing method and device and electronic equipment
CN103248912B (en) Network television time shifting play method as well as network television system and device
CN108632644A (en) The methods of exhibiting and equipment of preview graph
EP3664423B1 (en) Incoming call voice calling method and terminal
US20170180957A1 (en) Caller-specified media in computer telecommunications systems

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
RJ01 Rejection of invention patent application after publication
RJ01 Rejection of invention patent application after publication

Application publication date: 20180420