Summary of the invention
Problem and defective for the prior art existence, the purpose of this invention is to provide the synthetic method of a kind of video material, this method can be utilized hard disk Nonlincar memory characteristic and the control characteristic of video server, in conjunction with videotex system storage characteristics and video file Coding Compression Algorithm, adopt unique identification quick search unit material, the in and out point that the method fast recording unit material that adopts key frame to search the location is located also is mapped as the logical mappings table, generate simultaneously device attribute control table and special efficacy supplementary table, utilize logic control center generating virtual material, utilize this material of high accuracy preview center preview, reach in logic synthetic effect; If synthetic logic material is examined defective when again making, only need to revise the in and out point information of logical table.
For reaching above purpose, the technical solution used in the present invention is: the method that a kind of video material is synthetic may further comprise the steps:
(1) location needs synthetic video material in and out point information from the video material storehouse of video server;
Further, the concrete grammar of above-mentioned location is as follows:
1) at first according to hard disk Nonlincar memory characteristic and videotex system characteristic, utilizes the file unique identification, each first material that classification quick search location will be edited;
2) then according to the video file Coding Compression Algorithm, extract coding characteristic and key frame information etc., generate the key frame concordance list, adopt the in and out point of the quick location element material of key frame index, record this information;
(2) with the in and out point information recording/of location in the logical mappings table, form logical mappings;
Further, also comprise following operation in this step: extract the device attribute of the equipment at each first material place, carry out index stores by first material unique identification, generate the device attribute control table, be used for the later stage accurately to control; According to edit request and above-mentioned first material key frame concordance list, the transition special efficacy between each first material is set, generate the special efficacy supplementary table;
(3) material synthetic according to the material information preview that records in the logical mappings table;
Further, this step realizes as follows: at first according to the logical mappings table, device attribute control table and the special efficacy supplementary table that generate in the step (2), in logic control, in the heart auxiliary the putting in order by edit request of needed each first material video clips, first material place device attribute and special efficacy arranged, generate a virtual material; Utilize high accuracy preview center to carry out virtual preview after synthetic according to the control characteristic of the information of this virtual material and video server then, the material effect is synthesized in check;
Further again, the material of being play in the step (3) is according to the material information of logical mappings table record the seamless link of each section material, order to be broadcasted, and material is play and is accurate to frame.
(4) need to revise such as synthetic material, then in preview, revise the in and out point information of material, upgrade simultaneously logical mappings table and special efficacy supplementary table;
(5) step of repetition front is up to finishing the synthetic of video material.
Further, after video material is synthetic, record corresponding content in storage medium according to the logical mappings table.Described storage medium is hard disk or tape.
Effect of the present invention is: adopt method of the present invention, greatly improved the video material combined coefficient, it is convenient to revise, and content and the sound of video material is not had any damage; Synthetic effect is by video server logic to be entered, goes out a little to control, and does not need extra storage medium and equipment.
Embodiment
The present invention will be further described below in conjunction with the drawings and the specific embodiments:
As shown in Figure 1, the method that a kind of video material is synthetic may further comprise the steps:
(1) location needs synthetic video material in and out point information from the video material storehouse of video server;
Specifically, present embodiment is realized as follows:
1) at first according to hard disk Nonlincar memory characteristic and videotex system characteristic, utilizes the file unique identification, each first material that classification quick search location will be edited;
2) then according to the video file Coding Compression Algorithm, extract coding characteristic and key frame information etc., generate the key frame concordance list, adopt the in and out point of the quick location element material of key frame index, record this information;
(2) with the in and out point information recording/of location in the logical mappings table, form logical mappings;
In the present embodiment, when forming logical mappings, also extract the device attribute of the equipment at each first material place, carry out index stores by first material unique identification, generate the device attribute control table, be used for the later stage accurately to control; According to edit request and above-mentioned first material key frame concordance list, the transition special efficacy between each first material is set again, generates the special efficacy supplementary table;
(3) material synthetic according to the material information preview that records in the logical mappings table;
Specifically, in the present embodiment logical mappings table, device attribute control table and special efficacy supplementary table according to above generation, in logic control, in the heart auxiliary the putting in order by edit request of needed each first material video clips, first material place device attribute and special efficacy arranged, generate a virtual material; Utilize high accuracy preview center to carry out virtual preview after synthetic according to the control characteristic of the information of this virtual material and video server, the material effect is synthesized in check;
The material of being play in the step (3) is according to the material information of logical mappings table record the seamless link of each section material, order to be broadcasted, and material is play and is accurate to frame.
(4) need to revise such as synthetic material, then in preview, revise the in and out point information of material, upgrade simultaneously logical mappings table and special efficacy supplementary table;
Revising synthetic rear material only needs directly to revise the in and out point information of material, do not need to generate actual synthetic material after, again according to the effect modification in and out point information of the synthetic material of reality; Directly revise referring to that material synthesizes when not meeting synthetic the requirement, can revise the in and out point of shining upon related material, then, preview is examined again, in this process, need not actual synthetic; Described reality is synthetic to be referred to the material that each section beaten in and out point is recorded to really becomes a material on the storage medium.
(5) step of repetition front is up to finishing the synthetic of video material.
(6) after video material is synthesized, record corresponding content in storage medium according to the logical mappings table.Described storage medium is hard disk or tape, perhaps other medium that can store.
Realize the method that video material is synthetic to finish the synthetic task of a material as the example explanation utilizes method of the present invention below, concrete methods of realizing is as follows:
Need to suppose two in synthetic first material,
Be designated 100001, title is: Olympic mascot shows, duration is from the 00:00:00:00 frame, 00:00:29:24, promptly 30 seconds materials;
It is 200001 that table is known, and title is: Olympic Games Beijing scene, duration be from the 00:00:00:00 frame, 00:00:59:24, namely 60 seconds materials;
Need 10001 for the 00:00:10:00 frame to the 00:00:20:24 frame, 200001 for the 00:00:15:00 frame to the 00:00:50:00 frame, synthesize a material, middle transition is for being fade-in fade-out, first material is stored respectively and two-server.
1) utilizes file system characteristics, fast location element material 100001 and 200001;
2) extract first material 100001 and 200001 coding characteristics and key frame information etc., generate the key frame concordance list, the in and out point of location element material records this information fast; That is: 10001 00:00:10:00 frame and 00:00:20:24 frame, 200001 00:00:15:00 frame and 00:00:50:00 frame
3) with 10001 00:00:10:00 frame and 00:00:20:24 frame, 200001 00:00:15:00 frame and 00:00:50:00 frame recording form logical mappings in the logical mappings table;
4) extract the device attribute of the equipment at 10001 and 200001 place, carry out index stores, generate the device attribute control table, be used for the later stage accurately to control by first material unique identification 10001 and 200001;
5) according to edit request and first material key frame concordance list, transition special efficacy between 10001 and 200001 is set for being fade-in fade-out, generate the special efficacy supplementary table;
6) according to above-mentioned information, in logic control in the heart needed 10001 00:00:10:00 frame and 00:00:20:24 frame, auxiliary the putting in order by edit request of 200001 the 00:00:15:00 frame and the video clips of 00:00:50:00 frame, first material place device attribute and special efficacy arranged, and generates a virtual material;
7) utilize high accuracy preview center to carry out virtual preview after synthetic according to the control characteristic of the information of this virtual material and video server, the material effect is synthesized in check;
8) meet the requirements such as synthetic material, then finish this and synthesize; Otherwise, need to revise, then in preview, remodify the in and out point information of material 100001 and 200001, upgrade simultaneously logical mappings table and special efficacy supplementary table, repeat preceding step;
9) video material synthetic after, the requirement according to whether generating actual material can generate, and is recorded in the storage medium, also can not generate, and only keeps virtual material and uses; During recorded material, record corresponding content in storage medium according to the logical mappings table.Described storage medium is hard disk or tape, perhaps other medium that can store.
Method of the present invention is not limited to the embodiment described in the embodiment, and those skilled in the art's technical scheme according to the present invention draws other execution mode, belongs to technological innovation scope of the present invention equally.