Summary of the invention
Problem and defective at 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 non-linear storage characteristics of the hard disk of video server and control characteristic, in conjunction with videotex system storage characteristics and video file Coding Compression Algorithm, adopt unique identification quick search unit material, adopt key frame to search the going into a little and go out a little and be mapped as the logical mappings table of method fast recording unit material location of location, generate device attribute control table and special efficacy supplementary table simultaneously, utilize the logic control center to generate virtual material, utilize this material of high accuracy preview center preview, reach synthetic in logic effect; If synthetic logic material is examined defective when making again, what only need to revise logical table goes into a little and goes out dot information.
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 to go into a little and go out dot 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 non-linear storage characteristics of the hard disk of video server 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 going into a little and going out a little of the quick location element material of key frame index, write down this and go into a little and go out dot information;
(2) dot information of going into a little and go out that will locate records in the logical mappings table, forms logical mappings; Transition special efficacy between each first material is set, generates the special efficacy supplementary table;
Further, also comprise following operation in this step: extract the device attribute of the equipment at each first material 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;
Described special efficacy supplementary table generates according to edit request and above-mentioned first material key frame concordance list;
(3) material that synthesizes according to the material information preview that writes down 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 the 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 institute's preview is according to the material information of logical mappings table record the seamless link of each section material, order to be broadcasted in the step (3), and material is play and is accurate to frame.
(4) need to revise as synthetic material, that then revises material in preview goes into a little and goes out dot information, upgrades logical mappings table and special efficacy supplementary table simultaneously;
(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, improved the video material combined coefficient greatly, it is convenient to revise, and the content and the sound of video material is not had any damage; Synthetic effect is by video server logic to be gone into, gone 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 to go into a little and go out dot information from the video material storehouse of video server;
Specifically, present embodiment is realized as follows:
1) at first according to non-linear storage characteristics of hard disk 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 going into a little and going out a little of the quick location element material of key frame index, write down this information;
(2) dot information of going into a little and go out that will locate records in the logical mappings table, forms 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, generate the device attribute control table, be used for the later stage accurately to control by first material unique identification; 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 that synthesizes according to the material information preview that writes down 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 as synthetic material, that then revises material in preview goes into a little and goes out dot information, upgrades logical mappings table and special efficacy supplementary table simultaneously;
That revises that synthetic back material only needs directly to revise material goes into a little and goes out dot information, do not need to generate actual synthetic material after, again according to the effect of the synthetic material of reality revise into and go out dot information; Directly revise being meant that material synthesizes when not meeting synthetic the requirement, can be to shining upon going into a little and going out a little to revise of related material, then, preview is examined once more, in this process, need not actual synthetic; Described reality is synthetic to be meant each section to be beaten a little and go out a little material and to be recorded to really and to become 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.
Be that the example explanation utilizes method of the present invention to realize the method that video material is synthetic to finish the synthetic task of a material below, the specific implementation method 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, promptly 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, this information is write down in going into a little and going out a little of quick location element material; 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 as synthetic material, then finish this and synthesize; Otherwise, need to revise, what then remodify material 100001 and 200001 in preview goes into a little and goes out dot information, upgrades logical mappings table and special efficacy supplementary table simultaneously, the repetition 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.