CN102857702B - Video production method and system - Google Patents
Video production method and system Download PDFInfo
- Publication number
- CN102857702B CN102857702B CN201210350502.8A CN201210350502A CN102857702B CN 102857702 B CN102857702 B CN 102857702B CN 201210350502 A CN201210350502 A CN 201210350502A CN 102857702 B CN102857702 B CN 102857702B
- Authority
- CN
- China
- Prior art keywords
- image
- yuv
- video
- converted
- conversion
- 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.)
- Expired - Fee Related
Links
Landscapes
- Editing Of Facsimile Originals (AREA)
- Television Signal Processing For Recording (AREA)
- Two-Way Televisions, Distribution Of Moving Picture Or The Like (AREA)
Abstract
The invention discloses a video production method which includes steps of converting received images used for producing video into corresponding YUV images; generating thumbnails corresponding to the YUV images, then generating a preview page containing the YUV images and displaying the preview page, receiving a reconversion command to the optional thumbnail via the preview page, and reconverting the images corresponding to the thumbnails into the YUV images; and producing the YUV images into video when receiving a video production command. The invention further provides a video production system correspondingly. The video production method and the video production system are adaptable to various image formats and applicable to production of ultrahigh-resolution video, and have the advantages of small occupation of storage space, high timeliness and high production speed.
Description
Technical field
The present invention relates to video production field, particularly relate to a kind of video creating method, and a kind of video production system.
Background technology
Current video production instrument is more, but all there are some shortcomings: traditional video production software, when carrying out Video Quality Metric, for same video, can only import the image of same form; During making, automatically carry out the conversion of video after user imports image, after video production completes, user just knows whether to there is distortion by displaying video.For the image of super large resolution, namely the image more than 4 times of high definition resolution, often open image and just have several necessarily even more than one hundred million pixels, video production speed is slow, and if just find mistake after completing, then need again to carry out video production, the time of causing goes up huge waste, operating efficiency is lower.
Summary of the invention
Based on this, the invention provides a kind of video creating method and system, various picture format can be applicable to, take the making that few, the ageing height of memory space, manufacturing speed are fast, be applicable to super large resolution video.
A kind of video creating method, comprises the steps:
The image being used for making video received is converted to corresponding YUV image;
Generate the thumbnail that described YUV image is corresponding, regeneration comprises the preview page of thumbnail corresponding to all described YUV image and shows, receive the conversion instruction again to arbitrary described thumbnail by described preview page, described image corresponding for described thumbnail is converted to described YUV image again;
When receiving video production instruction, all described YUV image are made into video.
A kind of video production system, comprises the first modular converter, the second modular converter and makes module;
Described first modular converter is used for the image being used for making video received to be converted to corresponding YUV image;
Described second modular converter is for generating thumbnail corresponding to described YUV image, regeneration comprises the preview page of thumbnail corresponding to all described YUV image and shows, receive the conversion instruction again to arbitrary described thumbnail by described preview page, described image corresponding for described thumbnail is converted to described YUV image again;
Described making module is used for when receiving video production instruction, and all described YUV image are made into video.
Video creating method of the present invention and system, by being converted to YUV image by unified for the image made needed for video, the image of various form can be applicable to, and for super large image in different resolution, be converted to the size that takes up room, raising manufacturing speed that YUV image can reduce image in a large number; Comprising the preview screen of all thumbnails by generating, user can be allowed to check the YUV image whether distortion of conversion rapidly, be convenient to original image again to change; All change successfully and carry out video production again determining often to open YUV image, the error rate of video production greatly reduces, operating efficiency effectively improves.
Accompanying drawing explanation
Fig. 1 is video creating method of the present invention schematic flow sheet in one embodiment.
Fig. 2 is the schematic diagram of video creating method of the present invention image block in one embodiment.
Fig. 3 is the schematic diagram of video creating method of the present invention image packets in one embodiment.
Fig. 4 be video creating method of the present invention in one embodiment image conversion schematic diagram.
Fig. 5 is video production system of the present invention structural representation in one embodiment.
Embodiment
Below in conjunction with embodiment and accompanying drawing, the present invention is described in further detail, but embodiments of the present invention are not limited thereto.
As shown in Figure 1, be video creating method of the present invention schematic flow sheet in one embodiment, comprise the steps:
S11, the image being used for making video received is converted to corresponding YUV image;
YUV image is easy to compression, conveniently transmission and process, display speed is very fast; First all transfer the image made needed for video to YUV image in this step; Here often open the image that image can comprise various form, as BMP image, JPG image, TGA image etc., by various image all unification be converted to yuv format, storage area can be greatly reduced; General ultrahigh resolution image to take storage area all very large, as the ultrahigh resolution BMP image of 8k*4k, its memory space taken just reaches 96M, and after being converted into yuv format, memory space is about 48M, and shared space decreases half; The process being converted to YUV image can utilize existing various YUV image conversion method, and specifically it will not go into details.
For step S11, in a preferred embodiment, can specifically comprise the steps:
Step a1, be at least divided into two image blocks by often opening described image;
Step b1, when described image being converted to corresponding YUV image, the YUV conversion method according to presetting carries out yuv format conversion to each described image block that described image comprises simultaneously, generates described YUV image;
For super large image in different resolution, its image resolution ratio is at least 7680*4320, and pixel is up to more than 3,000 ten thousand, if conventionally carry out YUV conversion to it from first pixel of this image, then conversion speed slowly; Therefore can divide this image, as capable in image divided N along the Width of image, image is divided M row by the short transverse along image, image averaging is divided into N*M image block; Obtain the pixel coordinate of the pixel of each image block four vertex correspondence, when changing image, according to the pixel coordinate on four of an each image block summit, yuv format conversion can be carried out to each image block simultaneously, greatly can improve the conversion speed of image;
As shown in Figure 2, in one embodiment, the ultrahigh resolution image of a 8k*4k is processed, first this image averaging is divided into 4 image blocks, the resolution of each image block is 4k*2k, when carrying out YUV image conversion, change each image block, then the conversion speed of this image can promote 4 times simultaneously;
The division of image block, specifically can arrange according to the resolution of often opening image, image block is more, and the conversion speed of image is faster, but also higher to the hardware requirement of conversion equipment, and practical operation can sets itself as required.
For in step S11, in a preferred embodiment, also can specifically comprise the steps:
Step a2, all described images are at least divided into two groups of images, often organize the described image that image comprises be numbered described;
Step b2, when described image being converted to corresponding YUV image, according to described numbering simultaneously from described often organize first image comprised in image carry out yuv format conversion, generate corresponding described YUV image successively;
When generally carrying out video production, required image is all very many; All image averagings can be divided into groups according to the quantity of image, often group comprises the image of some, is numbered often organizing the image of often opening comprised in image; When carrying out YUV image conversion, from first image often organized in image, carrying out yuv format conversion, generate YUV image successively; Because each group image carries out when carrying out image conversion all simultaneously, can effectively improve image conversion speed;
As shown in Figure 3, in one embodiment, the image one made needed for video has 400 images, and 400 image averagings are divided into 4 groups, and often group comprises 100 images, is numbered often opening image; When carrying out YUV image conversion, often open image conversion to often organizing in image successively; Because the conversion of 4 groups of images is carried out simultaneously, conversion speed is faster;
Image packets is more, and the conversion speed of image is faster; Certainly, also can divide into groups to all images simultaneously simultaneously and divide block operations, as shown in Figure 4, in one embodiment, 4 groups are divided into 400 image averagings needed for all video productions, often organize 100 images, be divided into 4 image blocks simultaneously to the image averaging of often opening often organized in image, the speed of therefore image conversion can significantly improve.
S12, generate thumbnail corresponding to described YUV image, regeneration comprises the preview page of all described YUV image and shows, receive the conversion instruction again to arbitrary described thumbnail by described preview page, described image corresponding for described thumbnail is converted to described YUV image again; After generating YUV image in step s 11, Image Compression can be utilized to compress YUV image, generate the thumbnail corresponding with often opening described YUV image; Regeneration comprises the preview screen of all described thumbnails and shows, and video production personnel can all thumbnails of preview, check rapidly often open YUV image whether convert failed, whether there is distortion, thus reduce the error rate that subsequent video makes;
If video production personnel find that distortion appears in certain hypertonic sketch map, can conversion instruction be sent, accept the conversion instruction again to arbitrary described thumbnail by described preview page; According to described conversion instruction again, again convert the image to YUV image; Before video production, do not carry out distortion inspection to image relative to traditional video creating method, again carry out video production when finding error after video production completes, the present invention can increase work efficiency greatly.
S13, when receiving video production instruction, all described YUV image are made into video;
After all images all change YUV image, then video production can be carried out; Image needed for video production is general all more, if comprise super large image in different resolution, the error rate of image conversion can be comparatively large, therefore passing through step S12, can change successfully and carry out Video Quality Metric again determining often to open YUV image, can ensure that transformed video distortion rate frequently significantly reduces;
After all YUV image of video production personnel inspection are errorless, determine to start video production, then the making video instructions by receiving, is made into video by all YUV image; Because all YUV image of video production are all through checking, video distortion rate is low; And image is converted to the method for video, specifically can adopts existing various video creating method, not repeat them here.
Accordingly, present invention also offers a kind of video production system, as shown in Figure 5, comprise the first modular converter 51, second modular converter 52 and make module 53;
Described first modular converter 51 is for being converted to corresponding YUV image by the image being used for making video received;
YUV image is easy to compression, conveniently transmission and process, display speed is very fast; First all the image made needed for video is transferred to YUV image in this module; Here often open the image that image can comprise various form, as BMP image, JPG image, TGA image etc., by various image all unification be converted to yuv format, storage area can be greatly reduced; General ultrahigh resolution image to take storage area all very large, as the ultrahigh resolution BMP image of 8k*4k, its memory space taken just reaches 96M, and after being converted into yuv format, memory space is about 48M, and shared space decreases half; The process being converted to YUV image can utilize existing various YUV image conversion method, and specifically it will not go into details.
In a preferred embodiment, described first modular converter 51 specifically can comprise piecemeal module and the first Computer image genration module;
Described piecemeal module is used at least being divided into two image blocks by often opening described image;
Described first Computer image genration module is used for when described image being converted to corresponding YUV image, and the YUV conversion method according to presetting carries out yuv format conversion to each described image block that described image comprises simultaneously, generates described YUV image.
For super large image in different resolution, its image resolution ratio is at least 7680*4320, and pixel is up to more than 3,000 ten thousand, if conventionally carry out YUV conversion to it from first pixel of this image, then conversion speed slowly; Therefore can divide this image, as capable in image divided N along the Width of image, image is divided M row by the short transverse along image, image averaging is divided into N*M image block; Obtain the pixel coordinate of the pixel of each image block four vertex correspondence, when changing image, according to the pixel coordinate on four of an each image block summit, yuv format conversion can be carried out to each image block simultaneously, greatly can improve the conversion speed of image;
The division of image block, specifically can arrange according to the resolution of often opening image, image block is more, and the conversion speed of image is faster, but also higher to the hardware requirement of conversion equipment, and practical operation can sets itself as required;
In a preferred embodiment, described first modular converter 51 also specifically can comprise grouping module and the second Computer image genration module;
Described grouping module is used for all described images to be at least divided into two groups of images, is numbered the described image that described often group image comprises;
Described second Computer image genration module is used for when described image being converted to corresponding YUV image, carries out yuv format conversion, generate corresponding described YUV image successively according to first image that described numbering comprises from described often group image simultaneously.
When generally carrying out video production, required image is all very many; All image averagings can be divided into groups according to the quantity of image, often group comprises the image of some, is numbered often organizing the image of often opening comprised in image; When carrying out YUV image conversion, from first image often organized in image, carrying out yuv format conversion, generate YUV image successively; Because each group image carries out when carrying out image conversion all simultaneously, can effectively improve image conversion speed;
Image packets is more, and the conversion speed of image is faster; Certainly, also can divide into groups to all images simultaneously and divide block operations, the speed of image conversion can significantly improve.
Described second modular converter 52 is for generating thumbnail corresponding to described YUV image, regeneration comprises the preview page of all described YUV image and shows, receive the conversion instruction again to arbitrary described thumbnail by described preview page, described image corresponding for described thumbnail is converted to described YUV image again;
Generate YUV image in the first modular converter 51 after, Image Compression can being utilized to compress YUV image, generating the thumbnail corresponding with often opening described YUV image; Regeneration comprises the preview screen of all described thumbnails and shows, and video production personnel can all thumbnails of preview, check rapidly often open YUV image whether convert failed, whether there is distortion, thus reduce the error rate that subsequent video makes;
If video production personnel find that distortion appears in certain hypertonic sketch map, can conversion instruction be sent, accept the conversion instruction again to arbitrary described thumbnail by described preview page; According to described conversion instruction again, again convert the image to YUV image; Before video production, do not carry out distortion inspection to image relative to traditional video creating method, again carry out video production when finding error after video production completes, the present invention can increase work efficiency greatly.
All described YUV image, for when receiving video production instruction, are made into video by described making module 53.
After all images all change YUV image, then video production can be carried out; Image needed for video production is general all more, if comprise super large image in different resolution, the error rate of image conversion can be larger, therefore the second modular converter 52 is being passed through, can change successfully and carry out Video Quality Metric again determining often to open YUV image, can ensure that transformed video distortion rate frequently significantly reduces;
After all YUV image of video production personnel inspection are errorless, determine to start video production, then the making video instructions by receiving, is made into video by all YUV image; Because all YUV image of video production are all through checking, video distortion rate is low; And image is converted to the method for video, specifically can adopts existing various video creating method, not repeat them here.
Video creating method of the present invention and system, by being converted to YUV image by unified for the image made needed for video, the image of various form can be applicable to, and for super large image in different resolution, be converted to the size that takes up room, raising manufacturing speed that YUV image can reduce image in a large number; Comprising the preview screen of all thumbnails by generating, user can be allowed to check the YUV image whether distortion of conversion rapidly, be convenient to original image again to change; All change successfully and carry out video production again determining often to open YUV image, the error rate of video production greatly reduces, operating efficiency effectively improves.
The above embodiment only have expressed several execution mode of the present invention, and it describes comparatively concrete and detailed, but therefore can not be interpreted as the restriction to the scope of the claims of the present invention.It should be pointed out that for the person of ordinary skill of the art, without departing from the inventive concept of the premise, can also make some distortion and improvement, these all belong to protection scope of the present invention.Therefore, the protection range of patent of the present invention should be as the criterion with claims.
Claims (6)
1. a video creating method, is characterized in that, comprises the steps:
The image being used for making video received is converted to corresponding YUV image;
Generate the thumbnail that described YUV image is corresponding, regeneration comprises the preview page of thumbnail corresponding to all described YUV image and shows, receive the conversion instruction again to arbitrary described thumbnail by described preview page, described image corresponding for described thumbnail is converted to described YUV image again;
When receiving video production instruction, all described YUV image are made into video.
2. video creating method according to claim 1, is characterized in that, the described step image being used for making video received being converted to corresponding YUV image specifically comprises:
Two image blocks are at least divided into by often opening described image;
When described image being converted to corresponding YUV image, the YUV conversion method according to presetting carries out yuv format conversion to each described image block that described image comprises simultaneously, generates described YUV image.
3. video creating method according to claim 1, is characterized in that, describedly the step that image is all converted to corresponding YUV image of often opening made needed for video is specifically comprised:
All described images are at least divided into two groups of images, the described image that described often group image comprises is numbered;
When described image being converted to corresponding YUV image, carrying out yuv format conversion according to first image that described numbering comprises from described often group image simultaneously, generating corresponding described YUV image successively.
4. a video production system, is characterized in that, comprises the first modular converter, the second modular converter and makes module;
Described first modular converter is used for the image being used for making video received to be converted to corresponding YUV image;
Described second modular converter is for generating thumbnail corresponding to described YUV image, regeneration comprises the preview page of thumbnail corresponding to all described YUV image and shows, receive the conversion instruction again to arbitrary described thumbnail by described preview page, described image corresponding for described thumbnail is converted to described YUV image again;
Described making module is used for when receiving video production instruction, and all described YUV image are made into video.
5. video production system according to claim 4, is characterized in that, described first modular converter specifically comprises piecemeal module and the first Computer image genration module;
Described piecemeal module is used at least being divided into two image blocks by often opening described image;
Described first Computer image genration module is used for when described image being converted to corresponding YUV image, and the YUV conversion method according to presetting carries out yuv format conversion to each described image block that described image comprises simultaneously, generates described YUV image.
6. video production system according to claim 4, is characterized in that, described first modular converter specifically comprises grouping module and the second Computer image genration module;
Described grouping module is used for all described images to be at least divided into two groups of images, is numbered the described image that described often group image comprises;
Described second Computer image genration module is used for when described image being converted to corresponding YUV image, carries out yuv format conversion, generate corresponding described YUV image successively according to first image that described numbering comprises from described often group image simultaneously.
Priority Applications (1)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
CN201210350502.8A CN102857702B (en) | 2012-09-18 | 2012-09-18 | Video production method and system |
Applications Claiming Priority (1)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
CN201210350502.8A CN102857702B (en) | 2012-09-18 | 2012-09-18 | Video production method and system |
Publications (2)
Publication Number | Publication Date |
---|---|
CN102857702A CN102857702A (en) | 2013-01-02 |
CN102857702B true CN102857702B (en) | 2015-06-03 |
Family
ID=47403856
Family Applications (1)
Application Number | Title | Priority Date | Filing Date |
---|---|---|---|
CN201210350502.8A Expired - Fee Related CN102857702B (en) | 2012-09-18 | 2012-09-18 | Video production method and system |
Country Status (1)
Country | Link |
---|---|
CN (1) | CN102857702B (en) |
Families Citing this family (1)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN107018431B (en) * | 2016-01-27 | 2019-07-12 | 上海交通大学 | A kind of storage and transmission method for supporting space separating based on media self attributes |
Citations (2)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN1921612A (en) * | 2005-08-26 | 2007-02-28 | 萧学文 | Method and system for automatic video production |
CN101909178A (en) * | 2009-06-02 | 2010-12-08 | Lg电子株式会社 | Image display and method of operation thereof |
Family Cites Families (1)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
JP5556246B2 (en) * | 2010-03-05 | 2014-07-23 | パナソニック株式会社 | Imaging device |
-
2012
- 2012-09-18 CN CN201210350502.8A patent/CN102857702B/en not_active Expired - Fee Related
Patent Citations (2)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN1921612A (en) * | 2005-08-26 | 2007-02-28 | 萧学文 | Method and system for automatic video production |
CN101909178A (en) * | 2009-06-02 | 2010-12-08 | Lg电子株式会社 | Image display and method of operation thereof |
Also Published As
Publication number | Publication date |
---|---|
CN102857702A (en) | 2013-01-02 |
Similar Documents
Publication | Publication Date | Title |
---|---|---|
US20200057938A1 (en) | Convolution acceleration and computing processing method and apparatus, electronic device, and storage medium | |
US20120120256A1 (en) | Parallel image processing using multiple processors | |
CN102611869A (en) | Output-oriented network transmission technique of multi-screen splicing system | |
US20170221245A1 (en) | Image Synthesis Method, Image Chip, and Image Device | |
CN104125461B (en) | A kind of large-sized image compression processing system and method | |
US11336906B2 (en) | Image processing method and device for image, data transmission method and device, and storage medium compression by combining rectangular regions of binarized images | |
WO2023010851A1 (en) | Webgl-based graphics rendering method, apparatus and system | |
CN103200396A (en) | Real-time video stream display method and system based on information display platform | |
CN102437894B (en) | Method, device and equipment for compressing information to be sent | |
CN102572398A (en) | Multi-path video processing device, multi-path video processing system and multi-path video processing method | |
CN106713804A (en) | Three-channel image transmission interface conversion device and method | |
US11930198B2 (en) | Image processing method and apparatus, and related assembly | |
CN102857702B (en) | Video production method and system | |
CN201628974U (en) | System for checking inventory in stereoscopic warehouse | |
CN104639834A (en) | Method and system for transmitting camera image data | |
CN211909012U (en) | Mosaic image processing apparatus | |
CN104244085B (en) | Multimedia data transmission method and device based on field programmable gate array | |
CN101969552B (en) | System and method for parallel processing of video data | |
CN106355545A (en) | Treatment method and device for performing geometric transformation on digital image | |
CN104581357A (en) | Cache logic structure and method suitable for image extraction in FPGA | |
He et al. | FPGA-based high definition image processing system | |
CN102111636A (en) | Method and system for converting three-dimensional (3D) signal into two-dimensional (2D) signal | |
CN102280098B (en) | Dot matrix character scaling method and system | |
CN105551069A (en) | Method and system for real-time rapid generation of index image | |
CN110751684B (en) | Object three-dimensional reconstruction method based on depth camera module |
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 | ||
CP03 | Change of name, title or address | ||
CP03 | Change of name, title or address |
Address after: 510670 Guangdong city of Guangzhou province Kezhu Guangzhou high tech Industrial Development Zone, Road No. 233 Patentee after: VTRON GROUP Co.,Ltd. Address before: 510663 Guangzhou province high tech Industrial Development Zone, Guangdong, Cai road, No. 6, No. Patentee before: VTRON TECHNOLOGIES Ltd. |
|
CF01 | Termination of patent right due to non-payment of annual fee | ||
CF01 | Termination of patent right due to non-payment of annual fee |
Granted publication date: 20150603 Termination date: 20210918 |