CN102262888A - Video file splitting method - Google Patents
Video file splitting method Download PDFInfo
- Publication number
- CN102262888A CN102262888A CN2010101870672A CN201010187067A CN102262888A CN 102262888 A CN102262888 A CN 102262888A CN 2010101870672 A CN2010101870672 A CN 2010101870672A CN 201010187067 A CN201010187067 A CN 201010187067A CN 102262888 A CN102262888 A CN 102262888A
- Authority
- CN
- China
- Prior art keywords
- data
- video file
- time
- video
- time point
- 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
Links
Images
Landscapes
- Television Signal Processing For Recording (AREA)
- Two-Way Televisions, Distribution Of Moving Picture Or The Like (AREA)
Abstract
The invention discloses a video file splitting method which comprises the following steps: decoding the original video file to generate video data, audio data and additional data; converting the video data, audio data and additional data from serial data into parallel data, and synchronizing the time of the video data, audio data and additional data; setting a starting time stamp, and identifying the starting time point of splitting; setting a finish time stamp, and identifying the finish time point of splitting; and caching the video data, audio data and additional data between the starting time point and finish time point, and recoding the cached data into a new video file according to a preset coding format.
Description
Technical field
The present invention relates to Video processing, relate in particular to a kind of method of cutting out of video file.
Background technology
Video is the most common a kind of multimedia file.The content of video file is more and more abundanter, and contents such as movie and video programs, sports tournament, course of lecture can be made and be become video file and watch for people.And along with technical progress, the resolution of video file is more and more higher, and tonequality and image quality promote day by day, and circulation way is day by day various.Therefore utilize digital equipment to watch various types of video frequency programs, more and more become the important component part of people's work, study, leisure.
Along with the universal development of network, all kinds of websites that provide video download services or Online Video to watch service become the main provider of video content.In order to adapt to the needs of Network Transmission, the supplier usually can be synchronous in addition with additional datas such as video data, voice data and captions, and the as a whole video file of composite coding, the video file of for example common RMVB form.Such video file can make things convenient for the user by network download and playing video file, but the operations such as editor, shearing of video file are had difficulties.
Existing digital equipment as individual PC, portable computer, mobile communication terminal, PSP, MP4, multimedia player etc., generally all has download, storage and the playing function of video file.But the user not merely is satisfied with sometimes and watches, and also can wish video file is carried out cutting, only preserve and playing video file in a part.For example, the user may only wish to preserve the excellent part in the video frequency program, or a useful part in the video learning materials, and other parts are cut off, with conserve storage.And for the demand of user's cutting video file, existing data equipment often can not provide the function of this respect.
Summary of the invention
The technical matters that the present invention mainly solves provides a kind of method of cutting out of video file, a cutting part from video file at random, and the new video files that will cut out the partial video generation specific format of acquisition.
For solving the problems of the technologies described above, a kind of video file method of cutting out provided by the invention comprises:
The former video file of decoding generates video data, voice data and additional data;
Is parallel with video data, voice data and additional data by serial conversion, and makes video data, voice data and additional data time synchronized;
Set initial time stamp, the start time point of sign cutting;
Set the termination time and stab, the termination time point of sign cutting;
Video data, voice data and additional data between the described start time point of buffer memory and the termination time point, and be new video files according to the predictive encoding form with the data in buffer recompile.
Wherein, described video file method of cutting out also comprises: generate the preview interface, show video data, voice data and the additional data that decoding generates in the preview interface.
Wherein, on described preview interface, go back the rise time axle, represent the time span of former video file.Further, on described preview interface, generate the current time pointer, the time point at expression preview interface present displayed content place.
Wherein, on described preview interface, generate the zero-time button, when this button is clicked, on current time point, set described initial time stamp.On described preview interface, generate the termination time button, when this button is clicked, on current time point, set the described termination time and stab.And, when described termination time button is not clicked, described termination time stamp is set on the concluding time of former video file point.
Wherein, in the time span that identifies on the described time shaft between described start time point and the described termination time point.
The invention has the beneficial effects as follows: can be intuitively and select the part of video file in a period of time simply, this part of cutting generates new video file.Thereby one section that makes the user have the ability to extract in certain video file is stored, conserve storage, the service efficiency of raising video file.
Description of drawings
Fig. 1 is the process flow diagram of the video file method of cutting out of the embodiment of the invention;
Fig. 2 is a process flow diagram of realizing preview function in the video file method of cutting out of the embodiment of the invention;
Fig. 3 is the synoptic diagram of preview interface in the embodiment of the invention.
Embodiment
By describing technology contents of the present invention, structural attitude in detail, realized purpose and effect, give explanation below in conjunction with embodiment and conjunction with figs. are detailed.
See also Fig. 1, the invention provides a kind of method of cutting out of video file simply and easily, the user only need set the time point of starting and ending, just can realize the montage to video file.
As Fig. 1, described method of cutting out comprises:
Step 101: be written into and the former video file of the not cutting of decoding, the former video file of decoding generates video data, voice data and additional data;
Step 102: is parallel with video data, voice data and additional data by serial conversion, recovers synchronizing clock signals, and utilizes synchronizing clock signals to make video data, voice data and additional data synchronized with each other in time;
Step 103: the zero-time of specifying the video file that to cut out by the user; Set initial time stamp, be used to identify the start time point of cutting;
Step 104: set the termination time and stab, the termination time point of sign cutting;
Step 105: video data, voice data and additional data between described start time point of buffer memory and recompile and the termination time point.For data in buffer,, generate new video files according to predictive encoding form recompile.Predictive encoding form described here can be the coded format identical or different with former video file.Usually video code model commonly used includes but not limited to AVI, multiple file layouts such as MPEG, MPEG4,3GP, Windows Media Video, MKV and Real Media, the user can be selected according to the applied occasion of the video after the montage, hardware condition or personal like.In the recompile process, the user also can be selected resolution, code check, frame rate and the encoder type of video coding.
For can be in the editing process of cutting, preview video file content more easily, and intuitively determine apace and the time point that the initial sum of cutting stops is set, referring to Fig. 2, show the process flow diagram that the embodiment of the invention realizes preview function, comprising:
Step 201 generates the preview interface.Fig. 3 shows an example of described preview interface, and promptly the preview interface 30.In preview interface 30, have the part of demonstration 301, be used to show video data, voice data and the additional data that former video file decoding back is generated.By preview, make the user can understand the content of video file.
Step 202, rise time axle and current time pointer on described preview interface.As Fig. 3, the whole time span of the former video file of time shaft 302 expressions.Have current time pointer 303 on the time shaft 302, the display part of expression preview interface 30 301 is current just at the time point at content displayed place.If drag this current time indicator 303 to certain time point, 301 of display parts will show current time pointer 303 place time point content corresponding.
Step 203 generates the zero-time button, as the zero-time button 304 among Fig. 3 on described preview interface.When this button 304 is clicked by the user, on the current time point at current time pointer 303 places, set initial time stamp described in the step 103, the initial time point of sign cutting.
Step 204 generates the termination time button, as the termination time button 305 among Fig. 3 on described preview interface.
Step 205 when termination time button 305 is clicked, is set the described termination time and is stabbed, the time point that the sign cutting stops on the current point in time at current time pointer 303 places.Perhaps, another situation as step 206, when described termination time button 305 is not clicked, is provided with described termination time stamp on the concluding time of former video file point.
Step 207 on described time shaft, identifies the time span between described start time point and the described termination time point, shown in time bar 306 dark among Fig. 3, and the selected part of identifying user.
In addition, as shown in Figure 3, in described preview interface 30, also represent initial sum termination time point with the form of numeral by " Start Time " hurdle and " End Time " hurdle, the time span of representing the video-frequency band of institute's cutting with " Length " hurdle, and " Reset " button is used to reset the initial sum termination time, " OK " button is used to confirm to begin the operation of cutting and recompile, and " Cancel " button is used to cancel trimming operation.
The above only is embodiments of the invention; be not so limit claim of the present invention; every equivalent structure or equivalent flow process conversion that utilizes instructions of the present invention and accompanying drawing content to be done; or directly or indirectly be used in other relevant technical fields, all in like manner be included in the scope of patent protection of the present invention.
Claims (8)
1. a video file method of cutting out is characterized in that, comprising:
The former video file of decoding generates video data, voice data and additional data;
Is parallel with video data, voice data and additional data by serial conversion, and makes video data, voice data and additional data time synchronized;
Set initial time stamp, the start time point of sign cutting;
Set the termination time and stab, the termination time point of sign cutting;
Video data, voice data and additional data between the described start time point of buffer memory and the termination time point, and be new video files according to the predictive encoding form with the data in buffer recompile.
2. video file method of cutting out according to claim 1 is characterized in that: described method also comprises: generate the preview interface, show video data, voice data and the additional data that decoding generates in the preview interface.
3. video file method of cutting out according to claim 2 is characterized in that: go back the rise time axle on described preview interface, represent the time span of former video file.
4. video file method of cutting out according to claim 3 is characterized in that: generate the current time pointer on described preview interface, the time point at expression preview interface present displayed content place.
5. video file method of cutting out according to claim 4 is characterized in that: generate the zero-time button on described preview interface, set described initial time stamp when this button is clicked on current time point.
6. video file method of cutting out according to claim 5 is characterized in that: generate the termination time button on described preview interface, set the described termination time and stab when this button is clicked on current time point.
7. video file method of cutting out according to claim 6 is characterized in that: when described termination time button is not clicked, described termination time stamp is set on the concluding time of former video file point.
8. video file method of cutting out according to claim 3 is characterized in that: in the time span that identifies on the described time shaft between described start time point and the described termination time point.
Priority Applications (1)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
CN2010101870672A CN102262888A (en) | 2010-05-31 | 2010-05-31 | Video file splitting method |
Applications Claiming Priority (1)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
CN2010101870672A CN102262888A (en) | 2010-05-31 | 2010-05-31 | Video file splitting method |
Publications (1)
Publication Number | Publication Date |
---|---|
CN102262888A true CN102262888A (en) | 2011-11-30 |
Family
ID=45009495
Family Applications (1)
Application Number | Title | Priority Date | Filing Date |
---|---|---|---|
CN2010101870672A Pending CN102262888A (en) | 2010-05-31 | 2010-05-31 | Video file splitting method |
Country Status (1)
Country | Link |
---|---|
CN (1) | CN102262888A (en) |
Cited By (11)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN102647545A (en) * | 2012-04-26 | 2012-08-22 | 新奥特(北京)视频技术有限公司 | Track material replacement method in multi-channel system |
CN102802079A (en) * | 2012-08-24 | 2012-11-28 | 广东欧珀移动通信有限公司 | Video previewing segment generating method of media player |
CN103079091A (en) * | 2013-02-01 | 2013-05-01 | 清华大学 | Method and device for previewing streaming media |
CN103096184A (en) * | 2013-01-18 | 2013-05-08 | 深圳市龙视传媒有限公司 | Method and device for video editing |
CN104063263A (en) * | 2014-06-23 | 2014-09-24 | 华为技术有限公司 | Method and device for secondary flow treatment |
CN104079981A (en) * | 2013-03-25 | 2014-10-01 | 联想(北京)有限公司 | Data processing method and data processing device |
CN104540000A (en) * | 2014-12-04 | 2015-04-22 | 广东欧珀移动通信有限公司 | Method for generating dynamic thumbnail and terminal |
CN108259965A (en) * | 2018-03-31 | 2018-07-06 | 湖南广播电视台广播传媒中心 | A kind of video clipping method and editing system |
CN109922265A (en) * | 2019-03-28 | 2019-06-21 | 维沃移动通信有限公司 | Video capture method and terminal device |
CN112738564A (en) * | 2020-12-28 | 2021-04-30 | 创盛视联数码科技(北京)有限公司 | Data processing method and device, electronic equipment and storage medium |
CN114143601A (en) * | 2021-12-06 | 2022-03-04 | 北京达佳互联信息技术有限公司 | Method, device, electronic equipment, storage medium and program product for cutting video |
Citations (5)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
US20020133486A1 (en) * | 2001-03-15 | 2002-09-19 | Kddi Corporation | Video retrieval and browsing apparatus, video retrieval, browsing and editing apparatus, and recording medium |
CN1625261A (en) * | 2003-12-03 | 2005-06-08 | 梁肇新 | Video flow processing technique of adding time coding |
CN1806289A (en) * | 2003-06-13 | 2006-07-19 | 索尼株式会社 | Edition device and method |
CN101094469A (en) * | 2007-07-17 | 2007-12-26 | 华为技术有限公司 | Method and device for creating prompt information of mobile terminal |
CN101217638A (en) * | 2007-12-28 | 2008-07-09 | 深圳市迅雷网络技术有限公司 | A downloading method, system and device of video file fragmentation |
-
2010
- 2010-05-31 CN CN2010101870672A patent/CN102262888A/en active Pending
Patent Citations (5)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
US20020133486A1 (en) * | 2001-03-15 | 2002-09-19 | Kddi Corporation | Video retrieval and browsing apparatus, video retrieval, browsing and editing apparatus, and recording medium |
CN1806289A (en) * | 2003-06-13 | 2006-07-19 | 索尼株式会社 | Edition device and method |
CN1625261A (en) * | 2003-12-03 | 2005-06-08 | 梁肇新 | Video flow processing technique of adding time coding |
CN101094469A (en) * | 2007-07-17 | 2007-12-26 | 华为技术有限公司 | Method and device for creating prompt information of mobile terminal |
CN101217638A (en) * | 2007-12-28 | 2008-07-09 | 深圳市迅雷网络技术有限公司 | A downloading method, system and device of video file fragmentation |
Cited By (14)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN102647545A (en) * | 2012-04-26 | 2012-08-22 | 新奥特(北京)视频技术有限公司 | Track material replacement method in multi-channel system |
CN102647545B (en) * | 2012-04-26 | 2014-07-09 | 新奥特(北京)视频技术有限公司 | Track material replacement method in multi-channel system |
CN102802079A (en) * | 2012-08-24 | 2012-11-28 | 广东欧珀移动通信有限公司 | Video previewing segment generating method of media player |
CN103096184A (en) * | 2013-01-18 | 2013-05-08 | 深圳市龙视传媒有限公司 | Method and device for video editing |
CN103079091A (en) * | 2013-02-01 | 2013-05-01 | 清华大学 | Method and device for previewing streaming media |
CN104079981A (en) * | 2013-03-25 | 2014-10-01 | 联想(北京)有限公司 | Data processing method and data processing device |
CN104063263A (en) * | 2014-06-23 | 2014-09-24 | 华为技术有限公司 | Method and device for secondary flow treatment |
CN104063263B (en) * | 2014-06-23 | 2017-12-22 | 华为技术有限公司 | The method and apparatus of secondary flow processing |
CN104540000A (en) * | 2014-12-04 | 2015-04-22 | 广东欧珀移动通信有限公司 | Method for generating dynamic thumbnail and terminal |
CN108259965A (en) * | 2018-03-31 | 2018-07-06 | 湖南广播电视台广播传媒中心 | A kind of video clipping method and editing system |
CN109922265A (en) * | 2019-03-28 | 2019-06-21 | 维沃移动通信有限公司 | Video capture method and terminal device |
CN112738564A (en) * | 2020-12-28 | 2021-04-30 | 创盛视联数码科技(北京)有限公司 | Data processing method and device, electronic equipment and storage medium |
CN112738564B (en) * | 2020-12-28 | 2023-04-14 | 创盛视联数码科技(北京)有限公司 | Data processing method and device, electronic equipment and storage medium |
CN114143601A (en) * | 2021-12-06 | 2022-03-04 | 北京达佳互联信息技术有限公司 | Method, device, electronic equipment, storage medium and program product for cutting video |
Similar Documents
Publication | Publication Date | Title |
---|---|---|
CN102262888A (en) | Video file splitting method | |
CN101536101B (en) | Encoding method and apparatus and decoding method and apparatus | |
US20190342241A1 (en) | Systems and methods for manipulating and/or concatenating videos | |
US8265457B2 (en) | Proxy editing and rendering for various delivery outlets | |
CN103780949B (en) | A kind of multi-medium data method for recording | |
CN101005574A (en) | Video frequency virtual humance sign language compiling system | |
CN110036442A (en) | System and method for restoring media asset | |
KR20110003213A (en) | Method and system for providing contents | |
US20230421867A1 (en) | Systems and methods for summarizing missed portions of storylines | |
JP2009239479A (en) | Information display apparatus, information display method, and program | |
CN103686454A (en) | Information acquisition method and apparatus | |
JP2017538328A (en) | Promotion information processing method, apparatus, device, and computer storage medium | |
CN110168528A (en) | System and method for restoring media asset | |
CN101513070B (en) | Method and apparatus for displaying lightweight applying scene contents | |
CN101741587B (en) | Multimedia terminal for playing PPT and method for playing PPT on multimedia terminal | |
KR101919726B1 (en) | Media presentation guide method and related device based on hypertext transfer protocol media stream | |
KR20120000595A (en) | Method and system of providing a multimedia contents producing tool proceeding in multi-platform through on-line | |
CN108900866A (en) | It is a kind of based on the multi-stage data live broadcast system for melting media service platform | |
CN104023245A (en) | Video live stream quick-editing and accepting system based on B/S framework and realization method | |
US10972762B2 (en) | Systems and methods for modifying date-related references of a media asset to reflect absolute dates | |
CN102098572B (en) | Customized streaming media embedding and playing system based on flash and realization method thereof | |
CN101827318A (en) | Information forwarding method and mobile communication terminal capable of realizing information forwarding | |
US8559794B2 (en) | System and method for recording collaborative information | |
CN106851330B (en) | Web technology-based on-line on-demand micro-class video dotting playing method | |
CN101345839A (en) | TV program guide implementing method |
Legal Events
Date | Code | Title | Description |
---|---|---|---|
C06 | Publication | ||
PB01 | Publication | ||
C10 | Entry into substantive examination | ||
SE01 | Entry into force of request for substantive examination | ||
C02 | Deemed withdrawal of patent application after publication (patent law 2001) | ||
WD01 | Invention patent application deemed withdrawn after publication |
Application publication date: 20111130 |