CN103455474B - The edit methods of a kind of image material and system - Google Patents
The edit methods of a kind of image material and system Download PDFInfo
- Publication number
- CN103455474B CN103455474B CN201310360060.XA CN201310360060A CN103455474B CN 103455474 B CN103455474 B CN 103455474B CN 201310360060 A CN201310360060 A CN 201310360060A CN 103455474 B CN103455474 B CN 103455474B
- Authority
- CN
- China
- Prior art keywords
- image material
- image
- group
- condition
- page
- 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.)
- Active
Links
- 238000000034 method Methods 0.000 title claims abstract description 45
- 230000008676 import Effects 0.000 claims abstract description 18
- 238000010422 painting Methods 0.000 claims description 25
- 238000012163 sequencing technique Methods 0.000 claims description 9
- 230000008901 benefit Effects 0.000 description 9
- 238000010586 diagram Methods 0.000 description 4
- 230000008569 process Effects 0.000 description 4
- 230000008859 change Effects 0.000 description 1
- 238000011017 operating method Methods 0.000 description 1
- 230000008521 reorganization Effects 0.000 description 1
Landscapes
- Television Signal Processing For Recording (AREA)
Abstract
Embodiments provide edit methods and the system of a kind of image material, only support the importing of photo solving existing image source material editing method, and during video playback, each frame only shows a photo, the problem causing video playback time length. Described method includes: import image material and the image material imported is grouped, obtaining at least one image material group; Described image material includes photo and/or video; Whether the image material judged in the image material group obtained meets page layout condition; The image selection of materials page for meeting page layout condition plays layout; Wherein, the described page is play layout and is included the picture display structure of the quantity of the image material that every frame is play and the image material of every frame broadcasting, and every frame comprises at least one image material. The embodiment of the present invention eliminates the file type restriction to the image material imported, and improves the broadcasting speed of image material.
Description
Technical field
The present embodiments relate to picture and text processing technology field, particularly relate to edit methods and the system of a kind of image material.
Background technology
Photo in image material can be edited and play by the edit methods of existing a kind of image material, photo specifically can be fabricated to video, and the video made is played out. Its execution process substantially can be divided into following two:
Step 1: import the photo needing editor, and utilize the photo of importing to generate video;
Step 2: play the video made.
But, the edit methods of existing image material can only import the photo in image material.
And, the photo of importing is simply play by process one by one that play the video made, and each frame only shows a photo. When the photo imported is too much, the video playback time made is long.
Summary of the invention
The embodiment of the present invention provides the edit methods of a kind of image material and system, only supports the importing of photo solving existing image source material editing method, and during video playback, each frame only shows a photo, the problem causing video playback time length.
In order to solve the problems referred to above, embodiments provide the edit methods of a kind of image material, including:
Import image material and the image material imported is grouped, obtaining at least one image material group; Described image material includes photo and/or video;
Whether the image material judged in the image material group obtained meets page layout condition;
The image selection of materials page for meeting page layout condition plays layout;
Wherein, the described page is play layout and is included the picture display structure of the quantity of the image material that every frame is play and the image material of every frame broadcasting, and every frame comprises at least one image material.
Preferably, the described image material to importing is grouped, and obtains at least one image material group, including:
According to the sequencing importing the time of the image material of described importing, the image material of described importing is ranked up;
When the integral multiple that quantity is N of the image material of described importing, select top n image material to be divided into an image material group successively from the image material after sequence, obtain at least one image material group;
When the integral multiple that the quantity of the image material of described importing is not N, top n image material is selected to be divided into an image material group successively from the image material after sequence, and select remaining M to affect material and be divided into an image material group, obtain at least one image material group;
Wherein, N is the largest image material quantity of each image material group, and 1��M < N, M, N are positive integer.
Preferably, whether the image material in the image material group that described judgement obtains meets page layout condition, including:
Judge whether the image material group obtained meets first condition;
When the image material group obtained meets first condition, it is determined that the image material met in the image material group of first condition meets page layout condition;
When the image material group obtained is unsatisfactory for first condition, it is judged that be unsatisfactory for whether the image material in the image material group of first condition is first image material;
When the image material in the image material group being unsatisfactory for first condition is non-first image material, it is determined that the image material being unsatisfactory in the image material group of first condition meets page layout condition;
Wherein, described first condition is image material group is not exclusive image material group, and is non-first image material group, and includes multiple image material.
Preferably, the described image selection of materials page for meeting page layout condition plays layout, including:
In same image material group, according to the Dimension Types of the image material meeting page layout condition, play inquiry placement rule from the preset page and meet the page broadcasting layout of the image material of page layout condition;
Wherein, described Dimension Types includes banner type and vertical scroll of painting or calligraphy type;
When the length dimension of described image material is be more than or equal to width dimensions, the Dimension Types of described image material is banner type;
When the length dimension of described image material is less than width dimensions, the Dimension Types of described image material is vertical scroll of painting or calligraphy type.
Preferably, the described image material meeting page layout condition plays out according to the page broadcasting layout selected.
The embodiment of the present invention additionally provides the editing system of a kind of image material, including:
Import grouping module, for importing image material and the image material imported being grouped, obtain at least one image material group; Described image material includes photo and/or video;
Judge module, for whether the image material judged in the image material group obtained meets page layout condition;
Select module, play layout for the image selection of materials page for meeting page layout condition;
Wherein, the described page is play layout and is included the picture display structure of the quantity of the image material that every frame is play and the image material of every frame broadcasting, and every frame comprises at least one image material.
Preferably, described importing grouping module, including:
Sorting sub-module, is ranked up the image material of described importing for the sequencing importing the time according to the image material of described importing;
Packet submodule, for when the integral multiple that quantity is N of the image material of described importing, selecting top n image material to be divided into an image material group successively, obtain at least one image material group from the image material after sequence;When the integral multiple that the quantity of the image material of described importing is not N, top n image material is selected to be divided into an image material group successively from the image material after sequence, and select remaining M to affect material and be divided into an image material group, obtain at least one image material group;
Wherein, N is the largest image material quantity of each image material group, and 1��M < N, M, N are positive integer.
Preferably, described judge module, including:
First judges submodule, for judging whether the image material group obtained meets first condition;
Second judges submodule, for when the image material group obtained is unsatisfactory for first condition, it is judged that be unsatisfactory for whether the image material in the image material group of first condition is first image material;
Determine submodule, for when the image material group obtained meets first condition, it is determined that the image material met in the image material group of first condition meets page layout condition; When the image material in the image material group being unsatisfactory for first condition is non-first image material, it is determined that the image material being unsatisfactory in the image material group of first condition meets page layout condition;
Wherein, described first condition is image material group is not exclusive image material group, and is non-first image material group, and includes multiple image material.
Preferably, described selection module is in same image material group, according to the Dimension Types of the image material meeting page layout condition, plays inquiry placement rule from the preset page and meets the page broadcasting layout of the image material of page layout condition;
Wherein, described Dimension Types includes banner type and vertical scroll of painting or calligraphy type;
When the length dimension of described image material is be more than or equal to width dimensions, the Dimension Types of described image material is banner type;
When the length dimension of described image material is less than width dimensions, the Dimension Types of described image material is vertical scroll of painting or calligraphy type.
Preferably, the described image material meeting page layout condition plays out according to the page broadcasting layout selected.
Compared with background technology, the embodiment of the present invention includes advantages below:
First, the embodiment of the present invention not only supports the importing of photo in image material, also add the support of video in image material, eliminates the file type restriction to the image material imported.
Secondly, by the image material imported is grouped, obtain at least one image material group, image material (photo and/or video) for meeting page layout condition in image material group selects the page to play layout, it is achieved image material plays out according to the regulation of the picture display structure that the page plays the image material quantity of every frame broadcasting in layout and the image material of every frame broadcasting. Page broadcasting layout includes every frame and at least plays the situation of 1 image material, namely the embodiment of the present invention can play multiple pictures or multiple video in a frame simultaneously, even can play photo and video in a frame simultaneously, improve the broadcasting speed of image material.
Accompanying drawing explanation
Fig. 1 is the edit methods flow chart of a kind of image material in the embodiment of the present invention one;
Fig. 2 is the edit methods flow chart of a kind of image material in the embodiment of the present invention two;
Fig. 3 is the placement rule inquiry schematic diagram of the edit methods of a kind of image material in the embodiment of the present invention two;
The page that Fig. 4 is the edit methods of a kind of image material in the embodiment of the present invention two plays layout result schematic diagram;
Fig. 5 is the edit methods flow chart of a kind of image material in the embodiment of the present invention three;
Fig. 6 is the editing system structural representation of a kind of image material in the embodiment of the present invention four;
Fig. 7 is the editing system structural representation of a kind of image material in the embodiment of the present invention five;
Fig. 8 is the editing system structural representation of a kind of image material in the embodiment of the present invention six.
Detailed description of the invention
Understandable for enabling the above-mentioned purpose of the present invention, feature and advantage to become apparent from, below in conjunction with the drawings and specific embodiments, the present invention is further detailed explanation.
The edit methods of a kind of image material provided in the embodiment of the present invention and system, it is possible to by the video of the photo imported or importing, or the photo imported and video editing are that one section of video plays out. And, when the video edited is played out, play layout according to the page determined and can play multiple image material in a frame simultaneously, namely in a frame, can play multiple photo or multiple video simultaneously, or multiple photo and multiple video. When the image material quantity imported is more, it is possible to improve the playback rate of the video that editor obtains. And, edit methods and the system of a kind of image material provided in the embodiment of the present invention can at common personal computer (PersonalComputer, PC) realize in, can also realizing in mobile terminal (such as smart mobile phone, panel computer), the operating system simultaneously PC and mobile terminal adopted does not limit.
Edit methods and system for a kind of image material in the embodiment of the present invention realized on mobile terminals, by the portability of mobile terminal and the advantage such as use scene fixing, can suitably reduce the user operating procedure to described method and system, the operant skill of user is less demanding.
Below by edit methods and the system of enumerating several specific embodiment and be discussed in detail a kind of image material provided by the invention.
Embodiment one
The edit methods of a kind of image material that the embodiment of the present invention provide is discussed in detail.
With reference to Fig. 1, it is shown that the edit methods flow chart of a kind of image material in the embodiment of the present invention.
Step 100, imports image material and the image material imported is grouped, obtaining at least one image material group.
Described image material in the present embodiment can include photo and/or video, and namely image material can be only photo, or image material can be only video, or image material can be photo and video.
The image material imported is grouped, and the process obtaining image material group can be understood as the process that the image material imported generates video. The image material group obtained is equal to the video of generation.
Can preset and a number of image material is grouped into an image material group, for instance, set maximum 5 image materials and be divided into an image material group, when the quantity of the image material imported is more than 5, then can be grouped and obtain multiple image material group.
Step 102, it is judged that whether the image material in the image material group obtained meets page layout condition.
By judging whether the image material being grouped in the image material group obtained in step 100 meets page layout condition, filter out the image material meeting page layout condition and the image material being unsatisfactory for page layout condition. Further the image material of above-mentioned two situations is carried out different editing and processing.
Step 104, the image selection of materials page for meeting page layout condition plays layout.
Image material owing to meeting page layout condition belongs in image material group, so first the image material group selection page at the image material place meeting page layout condition can be play by placement rule, from page layout rule, then determine that the page of the image material meeting page layout condition in image material group plays layout again.
Wherein, the described page is play layout and is included the picture display structure of the quantity of the image material that every frame is play and the image material of every frame broadcasting, and often frame comprises at least one image material, the quantity of the image material that every frame comprises can be play layout according to the page and specifically determine.
In sum, by adopting technique scheme, the embodiment of the present invention has the advantage that
First, the embodiment of the present invention not only supports the importing of photo in image material, also add the support of video in image material, eliminates the file type restriction to the image material imported.
Secondly, by the image material imported is grouped, obtain at least one image material group, image material (photo and/or video) for meeting page layout condition in image material group selects the page to play layout, it is achieved image material plays out according to the regulation of the picture display structure that the page plays the image material quantity of every frame broadcasting in layout and the image material of every frame broadcasting. Page broadcasting layout includes every frame and at least plays the situation of 1 image material, namely the embodiment of the present invention can play multiple pictures or multiple video in a frame simultaneously, even can play photo and video in a frame simultaneously, improve the broadcasting speed of image material.
Embodiment two
The edit methods of a kind of image material that the embodiment of the present invention provide is discussed in detail.
With reference to Fig. 2, it is shown that the edit methods flow chart of a kind of image material in the embodiment of the present invention.
Step 200, imports image material and the image material imported is grouped, obtaining at least one image material group.
Wherein, described image material can include photo and/or video, and namely image material can be only photo, or image material can be only video, or image material can be photo and video.
Preferably, described step 200 can include substep:
Sub-step 2001, is ranked up the image material of described importing according to the sequencing importing the time of the image material of described importing.
It should be noted that the importing time of image material can be limited within 24 hours of same day, it is understood that for, the image material imported in same day is ranked up.
Sub-step 2002, when the integral multiple that quantity is N of the image material of described importing, selects top n image material to be divided into an image material group successively from the image material after sequence, obtains at least one image material group.
Such as, N=5, the quantity 25 of the image material imported is the integral multiple of 5, then front 5 image materials are selected to be divided into an image material group successively from 25 image materials after sequence, namely the 1st to the 5th image material is divided into the 1st image material group, 6th to the 10th image material is divided into the 2nd image material group, by that analogy, 20th to the 25th image material is divided into the 5th image material group, 25 image materials are finally divided into 5 image material groups, and each image material group includes 5 image materials.
Sub-step 2003, when the integral multiple that the quantity of the image material of described importing is not N, select top n image material to be divided into an image material group successively from the image material after sequence, and select remaining M to affect material and be divided into an image material group, obtain at least one image material group.
Such as, N=5, the quantity 28 of the image material imported is not the integral multiple of 5, then front 5 image materials are selected to be divided into an image material group successively from 28 image materials after sequence, namely the 1st to the 5th image material is divided into the 1st image material group, 6th to the 10th image material is divided into the 2nd image material group, by that analogy, 20th to the 25th image material is divided into the 5th image material group, 26th to the 28th image material is divided into the 6th image material group, 28 image materials are finally divided into 6 image material groups, front 5 image material groups include 5 image materials respectively, 6th image material group includes 3 image materials.
In above-mentioned sub-step 2002 and sub-step 2003, N is the largest image material quantity of each image material group, and 1��M < N, M, N are positive integer.
And, in each image material group, image material is also be ranked up according to the sequencing of the time of importing. Such as, the 1st to the 5th image material is divided into the 1st image material group, then, in the 1st image material group, putting in order of 5 image materials is also the 1st to the 5th.
Step 202, it is judged that whether the image material in the image material group obtained meets page layout condition.
Preferably, described step 202 can include substep:
Sub-step 2021, it is judged that whether the image material group obtained meets first condition.
Described first condition is image material group is not exclusive image material group, and is non-first image material group, and includes multiple image material.
Such as, image material in certain image material group is the 11st to the 15th image material after sequence, then certainly there is other image material group (being made up of the 1st to the 10th image material) before this image material group, this image material group is not exclusive image material group, and be non-first image material group, and including multiple image material, then this image material group meets first condition.
Sub-step 2022, when the image material group obtained meets first condition, it is determined that the image material met in the image material group of first condition meets page layout condition.
According to the example in above-mentioned sub-step 2021 it can be seen that the image material in this image material group meets page layout condition.
Sub-step 2023, when the image material group obtained is unsatisfactory for first condition, it is judged that be unsatisfactory for whether the image material in the image material group of first condition is first image material.
Sub-step 2024, when the image material in the image material group being unsatisfactory for first condition is non-first image material, it is determined that the image material being unsatisfactory in the image material group of first condition meets page layout condition.
Such as, certain image material group is unsatisfactory for first condition, and in this image material group, the image material except first image material meets page layout condition.
Step 204, the image selection of materials page for meeting page layout condition plays layout.
Wherein, the described page is play layout and is included the picture display structure of the quantity of the image material that every frame is play and the image material of every frame broadcasting, and often frame comprises at least one image material, the quantity of the image material that every frame comprises can be play layout according to the page and specifically determine.
Preferably, described step 204 can be:
In same image material group, according to the Dimension Types of the image material meeting page layout condition, play inquiry placement rule from the preset page and meet the page broadcasting layout of the image material of page layout condition.
Wherein, described Dimension Types includes banner type and vertical scroll of painting or calligraphy type.
When the length dimension of described image material is be more than or equal to width dimensions, the Dimension Types of described image material is banner type.
When the length dimension of described image material is less than width dimensions, the Dimension Types of described image material is vertical scroll of painting or calligraphy type.
Being placement rule inquiry schematic diagram with reference to Fig. 3 and Fig. 4, Fig. 3, wherein " " represents banner type, and " | " represents vertical scroll of painting or calligraphy type, and Fig. 4 is that the page plays layout result schematic diagram.
If the image material meeting page layout condition in certain image material group is followed successively by banner photo, vertical scroll of painting or calligraphy video, vertical scroll of painting or calligraphy photo, banner video and vertical scroll of painting or calligraphy photo, it is determined that in this image material group, the Dimension Types of image material is followed successively by banner, the vertical scroll of painting or calligraphy, the vertical scroll of painting or calligraphy, banner and the vertical scroll of painting or calligraphy. in figure 3, start in the direction of the arrow to the successively comparison of C5 layer from C1 layer: this image material group, the Dimension Types of first image material is banner type, then select " " in C1 layer, in this image material group, the Dimension Types of second image material is vertical scroll of painting or calligraphy type, then select " | " in C2 layer along the direction of arrow of numbering 1, in this image material group, the Dimension Types of the 3rd image material is vertical scroll of painting or calligraphy type, then select " | " in C3 layer along the direction of arrow of numbering 4, in this image material group, the Dimension Types of the 4th image material is banner type, then select " " in C4 layer along the direction of arrow of numbering 9, in this image material group, the Dimension Types of the 5th image material is vertical scroll of painting or calligraphy type, then select " | " in C5 layer along the direction of arrow of numbering 19. so far, whole five the image materials meeting page layout condition in this image material group are complete according to the comparison in figure 3 of respective Dimension Types, and what finally select at C5 layer is the placement rule of numbering 19.
As can be known from Fig. 4, it is 3 frame pictures that the page of the placement rule of numbering 19 plays layout, 1st frame picture plays two image materials, picture display structure is first image material banner photo that the left side shows in this image material group, and the right shows second image material vertical scroll of painting or calligraphy video in this image material group; 2nd frame picture plays an image material, and picture display structure is that the 3rd image material vertical scroll of painting or calligraphy photo in this image material group is individually play; 3rd frame picture plays two image materials, and picture display structure is the 4th the image material banner video that the left side shows in this image material group, and the right shows the 5th image material vertical scroll of painting or calligraphy photo in this image material group.
The described image material meeting page layout condition is play layout according to the page selected and is played out. So this image material group plays out according to the page broadcasting layout of the placement rule of numbering 19, five meet the image material of page layout condition and play in three frames, 1st frame plays the first two image material, and the 2nd frame plays the 3rd image material, and the 3rd frame plays latter two image material.
This image material group includes five image materials meeting page layout condition, therefore selects placement rule numbering at C5 layer, if in like manner it can be seen that certain image material group includes four image materials meeting page layout, selects placement rule numbering at C4 layer.
Above-mentioned steps 204 is that the image selection of materials page meeting page layout condition plays layout, and meanwhile, the image material being unsatisfactory for page layout condition can directly individually be play.
It should be noted that the maximum quantity of image material can set according to practical situation in image material group, the image material quantity in image material group is more many, and it is also correspondingly more many that the page of image material plays layout.
In sum, by adopting technique scheme, the embodiment of the present invention has the advantage that
First, the embodiment of the present invention not only supports the importing of photo in image material, also add the support of video in image material, eliminates the file type restriction to the image material imported.
Secondly, by the image material imported is grouped, obtain at least one image material group, image material (photo and/or video) for meeting page layout condition in image material group selects the page to play layout, it is achieved image material plays out according to the regulation of the picture display structure that the page plays the image material quantity of every frame broadcasting in layout and the image material of every frame broadcasting. Page broadcasting layout includes every frame and at least plays the situation of 1 image material, namely the embodiment of the present invention can play multiple pictures or multiple video in a frame simultaneously, even can play photo and video in a frame simultaneously, improve the broadcasting speed of image material.
Embodiment three
The edit methods of a kind of image material that the embodiment of the present invention provide is discussed in detail.
With reference to Fig. 5, it is shown that the edit methods flow chart of a kind of image material in the embodiment of the present invention.
Step 300, imports image material.
Image material can be only photo, or image material can be only video, or image material can be photo and video.
Step 302, it is judged that whether the quantity of the image material of importing limits less than or equal to quantity.
If the quantity of image material is not below or equal to quantity restriction, perform step 304; If the quantity of image material limits less than or equal to quantity, perform step 306.
Step 304, prompting user cannot continue to import.
Step 306, is ranked up according to the sequencing importing the time of image material, the image material after sequence is grouped.
Step 308, it is judged that whether the quantity of every group image material is less than or equal to N.
N is maximum image material quantity of image material group.
If the quantity of every group image material is not below or equal to N, then perform step 310; If the quantity of every group image material is less than or equal to N, then perform step 312.
Step 310, is divided into many groups by image material.
Step 312, it is judged that whether the group number of image material group is more than 1.
If the group number of the image material group got is not more than 1, namely only have a group image material group, then perform step 314; If the group number of the image material group got is more than 1, then perform step 316.
Step 314, performs special handling 1. Special handling 1 individually renders broadcasting for single image material, is not involved in the page and plays layout.
Step 316, it is judged that whether image material group is the 1st group of whole section of video.
If image material group is the 1st group of whole section of video, then perform step 318; If image material group is not the 1st group of whole section of video, then perform step 320.
Step 318, performs special handling 2. Special handling 2 is that in many group images material group, first image material of the first group image material group individually renders broadcasting, is not involved in the page and plays layout.
Step 320, plays layout for the unique page of image selection of materials.
The described page is play layout and is included the picture display structure of the quantity of the image material that every frame is play and the image material of every frame broadcasting.
Step 322, plays layout according to the page selected and image material is played out.
Execution step 300 can also be returned after step 322 performs.
In sum, by adopting technique scheme, the embodiment of the present invention has the advantage that
First, the embodiment of the present invention not only supports the importing of photo in image material, also add the support of video in image material, eliminates the file type restriction to the image material imported.
Secondly, by the image material imported is grouped, obtain at least one image material group, image material (photo and/or video) for meeting page layout condition in image material group selects the page to play layout, it is achieved image material plays out according to the regulation of the picture display structure that the page plays the image material quantity of every frame broadcasting in layout and the image material of every frame broadcasting. Page broadcasting layout includes every frame and at least plays the situation of 1 image material, namely the embodiment of the present invention can play multiple pictures or multiple video in a frame simultaneously, even can play photo and video in a frame simultaneously, improve the broadcasting speed of image material.
Embodiment four
The editing system of a kind of image material that the embodiment of the present invention provide is discussed in detail.
With reference to Fig. 6, it is shown that the editing system structural representation of a kind of image material in the embodiment of the present invention.
The editing system of described a kind of image material, it is possible to including:
Import grouping module 400, it is judged that module 402, and, select module 404.
Relation function and each module of each module between is discussed in detail separately below.
Import grouping module 400, for importing image material and the image material imported being grouped, obtain at least one image material group.
Described image material includes photo and/or video. Namely image material can be only photo, or image material can be only video, or image material can be photo and video.
Judge module 402, for whether the image material judged in the image material group obtained meets page layout condition.
Select module 404, play layout for the image selection of materials page for meeting page layout condition; .
Wherein, the described page is play layout and is included the picture display structure of the quantity of the image material that every frame is play and the image material of every frame broadcasting, and every frame comprises at least one image material.
In sum, by adopting technique scheme, the embodiment of the present invention has the advantage that
First, the embodiment of the present invention not only supports the importing of photo in image material, also add the support of video in image material, eliminates the file type restriction to the image material imported.
Secondly, by the image material imported is grouped, obtain at least one image material group, image material (photo and/or video) for meeting page layout condition in image material group selects the page to play layout, it is achieved image material plays out according to the regulation of the picture display structure that the page plays the image material quantity of every frame broadcasting in layout and the image material of every frame broadcasting. Page broadcasting layout includes every frame and at least plays the situation of 1 image material, namely the embodiment of the present invention can play multiple pictures or multiple video in a frame simultaneously, even can play photo and video in a frame simultaneously, improve the broadcasting speed of image material.
Embodiment five
The editing system of a kind of image material that the embodiment of the present invention provide is discussed in detail.
With reference to Fig. 7, it is shown that the editing system structural representation of a kind of image material in the embodiment of the present invention.
The editing system of described a kind of image material, it is possible to including:
Import grouping module 500, it is judged that module 502, and, select module 504.
Wherein, described importing grouping module 500 may include that
Sorting sub-module 5001, and, it is grouped submodule 5002.
Described judge module 502 may include that
First judges submodule 5021, and second judges submodule 5022, and, it is determined that submodule 5023.
Relation function and each module, each submodule of each module, each submodule between is discussed in detail separately below.
Import grouping module 500, for importing image material and the image material imported being grouped, obtain at least one image material group.
Described image material includes photo and/or video. Namely image material can be only photo, or image material can be only video, or image material can be photo and video.
Preferably, described importing grouping module 500 may include that
Sorting sub-module 5001, is ranked up the image material of described importing for the sequencing importing the time according to the image material of described importing.
Packet submodule 5002, for when the integral multiple that quantity is N of the image material of described importing, selecting top n image material to be divided into an image material group successively, obtain at least one image material group from the image material after sequence; When the integral multiple that the quantity of the image material of described importing is not N, top n image material is selected to be divided into an image material group successively from the image material after sequence, and select remaining M to affect material and be divided into an image material group, obtain at least one image material group.
Wherein, N is the largest image material quantity of each image material group, and 1��M < N, M, N are positive integer.
Judge module 502, for whether the image material judged in the image material group obtained meets page layout condition.
Preferably, described judge module 502 may include that
First judges submodule 5021, for judging whether the image material group obtained meets first condition.
Second judges submodule 5022, for when the image material group obtained is unsatisfactory for first condition, it is judged that be unsatisfactory for whether the image material in the image material group of first condition is first image material.
Determine submodule 5023, for when the image material group obtained meets first condition, it is determined that the image material met in the image material group of first condition meets page layout condition; When the image material in the image material group being unsatisfactory for first condition is non-first image material, it is determined that the image material being unsatisfactory in the image material group of first condition meets page layout condition.
Wherein, described first condition is image material group is not exclusive image material group, and is non-first image material group, and includes multiple image material.
Select module 504, play layout for the image selection of materials page for meeting page layout condition.
Wherein, the described page is play layout and is included the picture display structure of the quantity of the image material that every frame is play and the image material of every frame broadcasting, and often frame comprises at least one image material, the quantity of the image material that every frame comprises can be play layout according to the page and specifically determine.
Preferably, described selection module 504 is in same image material group, according to the Dimension Types of the image material meeting page layout condition, plays inquiry placement rule from the preset page and meets the page broadcasting layout of the image material of page layout condition.
Wherein, described Dimension Types includes banner type and vertical scroll of painting or calligraphy type.
When the length dimension of described image material is be more than or equal to width dimensions, the Dimension Types of described image material is banner type.
When the length dimension of described image material is less than width dimensions, the Dimension Types of described image material is vertical scroll of painting or calligraphy type.
The described image material meeting page layout condition is play layout according to the page selected and is played out.
It should be noted that the maximum quantity of image material can set according to practical situation in image material group, the image material quantity in image material group is more many, and it is also correspondingly more many that the page of image material plays layout.
In sum, by adopting technique scheme, the embodiment of the present invention has the advantage that
First, the embodiment of the present invention not only supports the importing of photo in image material, also add the support of video in image material, eliminates the file type restriction to the image material imported.
Secondly, by the image material imported is grouped, obtain at least one image material group, image material (photo and/or video) for meeting page layout condition in image material group selects the page to play layout, it is achieved image material plays out according to the regulation of the picture display structure that the page plays the image material quantity of every frame broadcasting in layout and the image material of every frame broadcasting. Page broadcasting layout includes every frame and at least plays the situation of 1 image material, namely the embodiment of the present invention can play multiple pictures or multiple video in a frame simultaneously, even can play photo and video in a frame simultaneously, improve the broadcasting speed of image material.
Embodiment six
The editing system of a kind of image material that the embodiment of the present invention provide is discussed in detail.
With reference to Fig. 8, it is shown that the editing system structural representation of a kind of image material in the embodiment of the present invention.
The editing system of described a kind of image material may include that
Image material imports judge module 600, packet judge module 602 of having ready conditions, and picture is play layout and selected module 604, and, render playing module 606.
Relation function and each module of each module between is discussed in detail separately below.
Described image material imports judge module 600 for importing image material and judging whether the quantity of the image material imported limits less than or equal to the quantity that T, T are the image material imported.
Image material can be only photo, or image material can be only video, or image material can be photo and video.
If the quantity of image material is not below or equal to T, prompting user cannot continue to import; If the quantity of image material is less than or equal to T, carry out the sorting operation of subsequent images material.
Image material after sequence, for image material is ranked up according to the sequencing of the time of importing, is grouped, and the image material of wherein special circumstances is carried out special handling by described packet judge module 602 of having ready conditions.
Wherein, if the quantity of every group image material is not below or equal to N, being then classified as many groups, N is maximum image material quantity of image material group; If the quantity of every group image material is less than or equal to N, then judge that whether the group number of image material group is more than 1.
If the group number of the image material group got is not more than 1, namely only has a group image material group, then carry out special handling 1; If the group number of the image material group got is more than 1, then determine whether the 1st group of whole section of video.
If the 1st of whole section of video the group, then carry out special handling 2; If not the 1st group of whole section of video, then picture is selected to play layout for reorganization.
Wherein, special handling 1 individually renders broadcasting for single image material, is not involved in the page and plays layout; Special handling 2 is that in many group images material group, first image material of the first group image material group individually renders broadcasting, is not involved in the page and plays layout.
Described picture is play layout and is selected module 604 that the unique page of the image selection of materials beyond special handling is play layout.
The described page is play layout and is included the picture display structure of the quantity of the image material that every frame is play and the image material of every frame broadcasting.
Image material is played out by the described playing module 606 that renders according to the page broadcasting layout selected.
Described render after image material plays out by playing module 606, again imported judge module 600 by described image material and perform next round and operate.
In sum, by adopting technique scheme, the embodiment of the present invention has the advantage that
First, the embodiment of the present invention not only supports the importing of photo in image material, also add the support of video in image material, eliminates the file type restriction to the image material imported.
Secondly, by the image material imported is grouped, obtain at least one image material group, image material (photo and/or video) for meeting page layout condition in image material group selects the page to play layout, it is achieved image material plays out according to the regulation of the picture display structure that the page plays the image material quantity of every frame broadcasting in layout and the image material of every frame broadcasting. Page broadcasting layout includes every frame and at least plays the situation of 1 image material, namely the embodiment of the present invention can play multiple pictures or multiple video in a frame simultaneously, even can play photo and video in a frame simultaneously, improve the broadcasting speed of image material.
For system embodiment, due to itself and embodiment of the method basic simlarity, so what describe is fairly simple, relevant part illustrates referring to the part of embodiment of the method.
Each embodiment in this specification all adopts the mode gone forward one by one to describe, and what each embodiment stressed is the difference with other embodiments, between each embodiment identical similar part mutually referring to.
The edit methods of a kind of image the material above embodiment of the present invention provided and system, it is described in detail, principles of the invention and embodiment are set forth by specific case used herein, and the explanation of above example is only intended to help to understand method and the core concept thereof of the present invention; Simultaneously for one of ordinary skill in the art, according to the thought of the present invention, all will change in specific embodiments and applications, in sum, this specification content should not be construed as limitation of the present invention.
Claims (8)
1. the edit methods of an image material, it is characterised in that including:
Import image material and the image material imported is grouped, obtaining at least one image material group; Described image material includes photo and/or video;
Whether the image material judged in the image material group obtained meets page layout condition;
The image selection of materials page for meeting page layout condition plays layout, specifically include: in same image material group, according to the Dimension Types of the image material meeting page layout condition, play inquiry placement rule from the preset page and meet the page broadcasting layout of the image material of page layout condition;Wherein, described Dimension Types includes banner type and vertical scroll of painting or calligraphy type; When the length dimension of described image material is be more than or equal to width dimensions, the Dimension Types of described image material is banner type; When the length dimension of described image material is less than width dimensions, the Dimension Types of described image material is vertical scroll of painting or calligraphy type;
Wherein, the described page is play layout and is included the picture display structure of the quantity of the image material that every frame is play and the image material of every frame broadcasting, and every frame comprises at least one image material.
2. method according to claim 1, it is characterised in that the described image material to importing is grouped, and obtains at least one image material group, including:
According to the sequencing importing the time of the image material of described importing, the image material of described importing is ranked up;
When the integral multiple that quantity is N of the image material of described importing, select top n image material to be divided into an image material group successively from the image material after sequence, obtain at least one image material group;
When the integral multiple that the quantity of the image material of described importing is not N, top n image material is selected to be divided into an image material group successively from the image material after sequence, and select remaining M image material to be divided into an image material group, obtain at least one image material group;
Wherein, N is the largest image material quantity of each image material group, and 1��M < N, M, N are positive integer.
3. method according to claim 1, it is characterised in that whether the image material in the image material group that described judgement obtains meets page layout condition, including:
Judge whether the image material group obtained meets first condition;
When the image material group obtained meets first condition, it is determined that the image material met in the image material group of first condition meets page layout condition;
When the image material group obtained is unsatisfactory for first condition, it is judged that be unsatisfactory for whether the image material in the image material group of first condition is first image material;
When the image material in the image material group being unsatisfactory for first condition is non-first image material, it is determined that the image material being unsatisfactory in the image material group of first condition meets page layout condition;
Wherein, described first condition is image material group is not exclusive image material group, and is non-first image material group, and includes multiple image material.
4. method according to claim 1, it is characterised in that:
The described image material meeting page layout condition is play layout according to the page selected and is played out.
5. the editing system of an image material, it is characterised in that including:
Import grouping module, for importing image material and the image material imported being grouped, obtain at least one image material group; Described image material includes photo and/or video;
Judge module, for whether the image material judged in the image material group obtained meets page layout condition;
Select module, layout is play for the image selection of materials page for meeting page layout condition, described selection module is in same image material group, according to the Dimension Types of the image material meeting page layout condition, play inquiry placement rule from the preset page and meet the page broadcasting layout of the image material of page layout condition; Wherein, described Dimension Types includes banner type and vertical scroll of painting or calligraphy type; When the length dimension of described image material is be more than or equal to width dimensions, the Dimension Types of described image material is banner type; When the length dimension of described image material is less than width dimensions, the Dimension Types of described image material is vertical scroll of painting or calligraphy type;
Wherein, the described page is play layout and is included the picture display structure of the quantity of the image material that every frame is play and the image material of every frame broadcasting, and every frame comprises at least one image material.
6. system according to claim 5, it is characterised in that described importing grouping module, including:
Sorting sub-module, is ranked up the image material of described importing for the sequencing importing the time according to the image material of described importing;
Packet submodule, for when the integral multiple that quantity is N of the image material of described importing, selecting top n image material to be divided into an image material group successively, obtain at least one image material group from the image material after sequence; When the integral multiple that the quantity of the image material of described importing is not N, top n image material is selected to be divided into an image material group successively from the image material after sequence, and select remaining M image material to be divided into an image material group, obtain at least one image material group;
Wherein, N is the largest image material quantity of each image material group, and 1��M < N, M, N are positive integer.
7. system according to claim 5, it is characterised in that described judge module, including:
First judges submodule, for judging whether the image material group obtained meets first condition;
Second judges submodule, for when the image material group obtained is unsatisfactory for first condition, it is judged that be unsatisfactory for whether the image material in the image material group of first condition is first image material;
Determine submodule, for when the image material group obtained meets first condition, it is determined that the image material met in the image material group of first condition meets page layout condition; When the image material in the image material group being unsatisfactory for first condition is non-first image material, it is determined that the image material being unsatisfactory in the image material group of first condition meets page layout condition;
Wherein, described first condition is image material group is not exclusive image material group, and is non-first image material group, and includes multiple image material.
8. system according to claim 5, it is characterised in that:
The described image material meeting page layout condition is play layout according to the page selected and is played out.
Priority Applications (1)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
CN201310360060.XA CN103455474B (en) | 2013-08-16 | 2013-08-16 | The edit methods of a kind of image material and system |
Applications Claiming Priority (1)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
CN201310360060.XA CN103455474B (en) | 2013-08-16 | 2013-08-16 | The edit methods of a kind of image material and system |
Publications (2)
Publication Number | Publication Date |
---|---|
CN103455474A CN103455474A (en) | 2013-12-18 |
CN103455474B true CN103455474B (en) | 2016-06-08 |
Family
ID=49737860
Family Applications (1)
Application Number | Title | Priority Date | Filing Date |
---|---|---|---|
CN201310360060.XA Active CN103455474B (en) | 2013-08-16 | 2013-08-16 | The edit methods of a kind of image material and system |
Country Status (1)
Country | Link |
---|---|
CN (1) | CN103455474B (en) |
Families Citing this family (5)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN103916607A (en) * | 2014-03-25 | 2014-07-09 | 厦门美图之家科技有限公司 | Method for processing multiple videos |
CN110445992A (en) * | 2019-08-16 | 2019-11-12 | 深圳特蓝图科技有限公司 | A kind of video clipping synthetic method based on XML |
CN113082720A (en) * | 2019-12-23 | 2021-07-09 | 腾讯科技(深圳)有限公司 | Prompt message determination method and device and electronic equipment |
CN111221457A (en) * | 2020-01-08 | 2020-06-02 | 腾讯科技(深圳)有限公司 | Method, device and equipment for adjusting multimedia content and readable storage medium |
CN111899155B (en) * | 2020-06-29 | 2024-04-26 | 腾讯科技(深圳)有限公司 | Video processing method, device, computer equipment and storage medium |
Citations (2)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
US5668639A (en) * | 1995-03-21 | 1997-09-16 | Comunicacion Integral | Method for video editing |
CN1812550A (en) * | 2006-03-08 | 2006-08-02 | 北京北大方正电子有限公司 | Video frequency source material synthesizing method |
Family Cites Families (1)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
US7903927B2 (en) * | 2004-07-08 | 2011-03-08 | Sony Corporation | Editing apparatus and control method thereof, and program and recording medium |
-
2013
- 2013-08-16 CN CN201310360060.XA patent/CN103455474B/en active Active
Patent Citations (2)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
US5668639A (en) * | 1995-03-21 | 1997-09-16 | Comunicacion Integral | Method for video editing |
CN1812550A (en) * | 2006-03-08 | 2006-08-02 | 北京北大方正电子有限公司 | Video frequency source material synthesizing method |
Non-Patent Citations (1)
Title |
---|
奥维迅Open-Edit非线性编辑系统的视频素材应用研究;雎凌 等;《软件导刊》;20071031(第19期);第60-62页 * |
Also Published As
Publication number | Publication date |
---|---|
CN103455474A (en) | 2013-12-18 |
Similar Documents
Publication | Publication Date | Title |
---|---|---|
CN103455474B (en) | The edit methods of a kind of image material and system | |
CN101005609B (en) | Method and system for forming interaction video frequency image | |
US20140181674A1 (en) | Multimedia presentation editor for a small-display communication terminal or computing device | |
CN107562680A (en) | Data processing method, device and terminal device | |
CN105005429B (en) | A kind of method and terminal of terminal display picture | |
CN104090979A (en) | Method and device for editing webpage | |
CN105739935A (en) | Multi-terminal combined display method, apparatus and system | |
CN105307028A (en) | Video editing method and device specific to video materials of plurality of lenses | |
CN104571877A (en) | Display processing method and device for pages | |
CN112333536A (en) | Audio and video editing method, equipment and computer readable storage medium | |
CN105898523A (en) | Video playing method and video playing device | |
CN103019546B (en) | A kind of slideshow method, system and apparatus for demonstrating | |
CN103902294A (en) | Browser image display method and terminal | |
CN103607629B (en) | Multimedia file playing method and electronic terminal | |
CN104301762B (en) | Advertisement update method, device, system and advertising terminal device | |
CN103186916A (en) | Method and device for playing animated cartoon | |
CN108810617A (en) | A kind of method, apparatus and terminal device according to video production image poster | |
CN103279268B (en) | A kind of interactive approach based on controlled terminal list and device | |
CN105191298A (en) | System for providing complex-dimensional content service using complex 2D-3D content file, method for providing said service, and complex-dimensional content file therefor | |
CN103631872A (en) | Method for playing multimedia files and electronic terminal | |
CN106331553A (en) | Video storage method and device and electronic equipment | |
CN102547298B (en) | Method for outputting image information, device and terminal | |
CN104820553A (en) | Information processing method and electronic equipment | |
CN104572598A (en) | Typesetting method and device for digitally published product | |
CN101169781A (en) | Slide show system and 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 | ||
C14 | Grant of patent or utility model | ||
GR01 | Patent grant |