CN108965746A - Image synthesizing method and system - Google Patents

Image synthesizing method and system Download PDF

Info

Publication number
CN108965746A
CN108965746A CN201810835465.7A CN201810835465A CN108965746A CN 108965746 A CN108965746 A CN 108965746A CN 201810835465 A CN201810835465 A CN 201810835465A CN 108965746 A CN108965746 A CN 108965746A
Authority
CN
China
Prior art keywords
video
data
source
main body
video source
Prior art date
Legal status (The legal status is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the status listed.)
Pending
Application number
CN201810835465.7A
Other languages
Chinese (zh)
Inventor
钱瑞
颜世明
Current Assignee (The listed assignees may be inaccurate. Google has not performed a legal analysis and makes no representation or warranty as to the accuracy of the list.)
Beijing Jingyeda Digital Polytron Technologies Inc
Original Assignee
Beijing Jingyeda Digital Polytron Technologies Inc
Priority date (The priority date 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 date listed.)
Filing date
Publication date
Application filed by Beijing Jingyeda Digital Polytron Technologies Inc filed Critical Beijing Jingyeda Digital Polytron Technologies Inc
Priority to CN201810835465.7A priority Critical patent/CN108965746A/en
Publication of CN108965746A publication Critical patent/CN108965746A/en
Pending legal-status Critical Current

Links

Classifications

    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04NPICTORIAL COMMUNICATION, e.g. TELEVISION
    • H04N5/00Details of television systems
    • H04N5/222Studio circuitry; Studio devices; Studio equipment
    • H04N5/262Studio circuits, e.g. for mixing, switching-over, change of character of image, other special effects ; Cameras specially adapted for the electronic generation of special effects
    • H04N5/265Mixing

Abstract

The embodiment of the present invention provides a kind of image synthesizing method and system.The method is applied to instructor in broadcasting's platform of image synthesizing system, which comprises receives Video Composition instruction, the Video Composition instruction includes at least video main body and video pictures from different video source;Determine the first video source where the video main body and the second video source where the video pictures;According to preset algorithm, the target video data of video main body described in first video source is extracted;The target video data is superimposed to the predeterminated position of second video source.The embodiment of the present invention is realized by instructor in broadcasting's platform on the basis of existing live streaming/recording and broadcasting system and scratches as and synthesize, it is convenient to operate, and remains original HD video data;It for live video source, can export in real time after composition, reduce delay, meet live streaming use demand.

Description

Image synthesizing method and system
Technical field
The present embodiments relate to mobile communication technology field more particularly to a kind of image synthesizing method and systems.
Background technique
The live video shot with video-corder, audio, the picture signal of electronic equipment by (being included computer, view by video recording and broadcasting system Frequency exhibition booth etc.) carry out integration synchronous recording, generate standardized files in stream media, be used to external live streaming, storage, later stage compilation, Program request.Spectators can log in the audio-visual and graph text information that recording and broadcasting system server watches live streaming, can also later period order video information. Video living transmission system is that the progress such as above-mentioned picture signal are acquired in real time to be encoded into standard flow data (such as FLV, WMV format) It is managed, classifies etc. to be transmitted on server and be released by page format, watching live show or electricity in real time for spectators Depending on program.
Net cast/recording and broadcasting system generally comprises instructor in broadcasting's platform, instructor in broadcasting's control keyboard, various video cameras and sound pick-up outfit, straight It broadcasts, recorded broadcast host and later period film editing equipment etc..When needing while playing two or more pictures, net cast/record The system of broadcasting generallys use the more pictures of partition type or picture-in-picture mode is broadcast live/recorded broadcast.And it scratches as and synthesizes carrying out Under application scenarios, need to add additional stingy picture and synthesis processing equipment, background screen etc. in systems, site environment configuration is multiple It is miscellaneous, higher cost, and will figure image be scratched and image transmission to be synthesized to scratching as equipment is handled, also need the later period after processing at Reason, compared with raw frames, has certain delay, is unable to satisfy live streaming and requires.
Summary of the invention
The embodiment of the present invention provides a kind of image synthesizing method and system, to solve net cast/record in the prior art When the system of broadcasting scratch as and synthesize, need to add additional stingy picture and synthesis processing equipment, background screen in systems Deng configuration is complicated, higher cost and has the problem of centainly postponing.
On the one hand, the embodiment of the present invention provides a kind of image synthesizing method, applied to instructor in broadcasting's platform of image synthesizing system, institute The method of stating includes:
Video Composition instruction is received, the Video Composition instruction includes at least video main body and view from different video source Frequency picture;
Determine the first video source where the video main body and the second video source where the video pictures;
According to preset algorithm, the target video data of video main body described in first video source is extracted;By the mesh Mark the predeterminated position of video data overlay to second video source.
On the other hand, the embodiment of the present invention provides a kind of image synthesizing system, comprising: the input of at least two video sources is set It is standby, instructor in broadcasting's platform and output source receiving device;
Wherein, instructor in broadcasting's platform is used for:
Video Composition instruction is received, the Video Composition instruction includes at least the video from different video source input equipment The video main body and video pictures in source;
Determine the first video source where the video main body and the second video source where the video pictures;
According to preset algorithm, the target video data of video main body described in first video source is extracted;
The target video data is superimposed to the predeterminated position of second video source, obtains video output source, by institute Video output source is stated to export to the output source receiving device.
On the other hand, the embodiment of the invention also provides a kind of electronic equipment, including memory, processor, bus and The computer program that can be run on a memory and on a processor is stored, the processor is realized above-mentioned when executing described program Step in image synthesizing method.
In another aspect, being stored thereon with the embodiment of the invention also provides a kind of non-transient computer readable storage medium Computer program realizes the step in above-mentioned image synthesizing method when described program is executed by processor.
Image synthesizing method provided in an embodiment of the present invention and system, receiving the video main body in different video source and When the instruction of Video Composition that video pictures are synthesized, the first video source where the video main body and the video are determined The second video source where picture carries out scratching picture according to preset algorithm, extracts video main body described in first video source The target video data is superimposed to the predeterminated position of second video source by target video data, realizes different video source Synthesis.On the basis of existing live streaming/recording and broadcasting system, is realized by instructor in broadcasting's platform and scratch as and synthesize, it is convenient to operate, and remains Original HD video data;It for live video source, can export in real time after composition, reduce delay, meet live streaming and use need It asks.
Detailed description of the invention
In order to more clearly explain the embodiment of the invention or the technical proposal in the existing technology, to embodiment or will show below There is attached drawing needed in technical description to be briefly described, it should be apparent that, the accompanying drawings in the following description is this hair Bright some embodiments for those of ordinary skill in the art without creative efforts, can be with root Other attached drawings are obtained according to these attached drawings.
Fig. 1 is the flow diagram of image synthesizing method provided in an embodiment of the present invention;
Fig. 2 is the block diagram for the image synthesizing system of the embodiment of the present invention provided;
Fig. 3 is one of the flow diagram of specific example provided of the embodiment of the present invention;
Fig. 4 is the two of the flow diagram for the specific example of the embodiment of the present invention provided;
Fig. 5 is the structural schematic diagram of electronic equipment provided in an embodiment of the present invention.
Specific embodiment
In order to make the object, technical scheme and advantages of the embodiment of the invention clearer, below in conjunction with the embodiment of the present invention In attached drawing, technical scheme in the embodiment of the invention is clearly and completely described, it is clear that described embodiment is A part of the embodiment of the present invention, instead of all the embodiments.Based on the embodiments of the present invention, those of ordinary skill in the art Every other embodiment obtained without creative efforts, shall fall within the protection scope of the present invention.
Fig. 1 shows a kind of flow diagram of image synthesizing method provided in an embodiment of the present invention.
As shown in Figure 1, image synthesizing method provided in an embodiment of the present invention, applied to instructor in broadcasting's platform of image synthesizing system, The method specifically includes the following steps:
Step 101, Video Composition instruction is received, the Video Composition instruction includes at least the video from different video source Main body and video pictures.
Wherein, the instruction that Video Composition instruction synthesizes different video source for instruction.In Video Composition instruction at least Including a video main body and a video pictures, and the video main body and the video pictures come from different video source.Video main body is By scratching the main body as obtaining from a video source, which is added to another video source by Video Composition instruction instruction In video pictures.
As a specific example, referring to fig. 2, Fig. 2 provides a kind of image synthesizing system, including video source input, leads Broadcast platform, output source receiving device etc..Image synthesizing method in the embodiment of the present invention is applied to instructor in broadcasting's platform in Fig. 2, wherein leads Broadcast the Video Composition instruction that platform receives configuration tool (such as remote controler).
Step 102, the first video source where the video main body and the second view where the video pictures are determined Frequency source.
Wherein, analysis Video Composition instruction, where determining the first video source and the video pictures where video main body Second video source;Video main body can be a particular persons, video pictures be the video after synthesis it is last that, for being video The picture of main body offer background.
Preferably, first video source, the second video source are live video source or recorded broadcast video source.
For example, needing the teacher to teach on classroom one to be synthesized to the target other than a classroom in Video Composition instruction When in scene, the corresponding video source in the classroom is the first video source, and teacher is video main body;Target scene, that is, video pictures, mesh Video source where marking scene is the second video source.
Step 103, according to preset algorithm, the target video data of video main body described in first video source is extracted.
Wherein, preset algorithm is the algorithm for extracting target video data from the first video source.It, will according to preset algorithm The target video data comprising target subject of first video source extracts, for example, each frame for the first video source regards Frequency picture will include the part progress FIG pull handle of video main body in each frame video pictures, after obtaining FIG pull handle frame by frame Picture, and integrated to obtain target video data.
Step 104, the target video data is superimposed to the predeterminated position of second video source.
Wherein, target video data is added to the predeterminated position of the second video source, i.e. the second video source of predeterminated position In picture, for showing the position of video main body.For example, picture A is to obtain to the video pictures FIG pull handle of the first video source The picture including video main body, picture B is the video pictures of the second video source, and position C is in picture B for showing picture A Position, then picture A is superimposed upon at the C of position, the picture after being synthesized.
In the above embodiment of the present invention, instructor in broadcasting's platform is being received video main body and the video pictures progress in different video source The Video Composition of synthesis instructs;Determine the first video source where the video main body and second where the video pictures Video source carries out scratching picture according to preset algorithm, extracts the target video data of video main body described in first video source, will The target video data is superimposed to the predeterminated position of second video source, realizes the synthesis in different video source.Existing straight Broadcast/recording and broadcasting system on the basis of, realized by instructor in broadcasting's platform scratch as and synthesis, it is convenient to operate, and remains original HD video number According to;It for live video source, can export in real time after composition, reduce delay, meet live streaming use demand;The embodiment of the present invention It simplifies profession, complex environment in existing video keying and the application scenarios of conjunction to build, save the cost.Solution of the embodiment of the present invention When net cast/recording and broadcasting system in the prior art of having determined scratch as and synthesize, need to add additional scratch in systems As and synthesis processing equipment, background screen etc., configuration is complicated, higher cost and has the problem of centainly postponing.
Optionally, described according to preset algorithm in the embodiment of the present invention, extract video master described in first video source The step of target video data of body, comprising:
According to preset algorithm, in every frame video data for extracting first video source, including the video main body the One target data;
According to the first object data of video data described in every frame, the target video data of the video main body is obtained.
Wherein, preset algorithm is the algorithm for extracting target video data from the first video source.For the first video source Every frame video data, respectively according to preset algorithm extract include video main body first object data, further according to all first Target data, obtain include video main body target video data.For example, for each frame video pictures of the first video source, It will include that the part of video main body carries out FIG pull handle in each frame video pictures, picture after obtaining FIG pull handle frame by frame, and It is integrated to obtain target video data.
Further, in the embodiment of the present invention, in the every frame video data for extracting first video source, including institute The step of stating the first object data of video main body, comprising:
For every frame video data of first video source, every data line of the video data is scanned, color is obtained The start-stop point of difference variation, the data between the start-stop point are in the row data include the video main body the second number of targets According to;
According to the second target data of every data line, the first object data of the video main body are obtained.
Wherein, every frame video data (such as yuv data based on colour coding method) of the first video source, progressive scan Every data line determines the range where video main body according to the color difference between body color and background color, carries out scratching picture;It scratches Picture process obtains the start-stop point of chromatic aberration mainly including the use of default color difference method, and the data between the start-stop point are should It include the second target data of the video main body in row data;And due to scratching as needing, the color of main body itself needs and background There are certain gaps for color color.
According to the original yuv data of acquisition, the start-stop point of chromatic aberration is obtained, determines and cuts start-stop point, progressively scans number According to being cut, the second target data is obtained;
Further according to the second all target datas, the first object data of the frame video data are obtained.
Optionally, described that the target video data is superimposed to the pre- of second video source in the embodiment of the present invention If the step of position, comprising:
It determines in second video source, the seat of the predeterminated position where video main body described in video pictures described in every frame Mark range;
The video data for obtaining the coordinate range, by the video of the value added coordinate range of the first object stacked data In data.
Wherein, for the second video source, it is first determined its picture for needing to be superimposed the video main body, i.e. video pictures. After determining video pictures, the coordinate range of the predeterminated position where video main body is further determined that, and by the first of video main body Target data is superimposed upon in video pictures.For example, picture A is the first object data of video main body, picture B is the second video source Video pictures, position C be picture B in preset position coordinates range, then picture A is superimposed upon at the C of position, after being synthesized Picture.
Optionally, the resolution ratio setting and synthesis coordinates of targets point setting as channel can be also scratched, for example, can will regard Frequency body reduced is superimposed upon the edge of target image.
Optionally, in the embodiment of the present invention, the video by the value added coordinate range of the first object stacked data After step in data, the method also includes:
Pre-arranged code processing is carried out to superimposed video data, obtains video output source.
Wherein, after completing video superposition, pre-arranged code processing is carried out to superimposed video data, obtains video output Source, and export and give output source receiving device.
It further include saving video output source to instructor in broadcasting's playscript with stage directions after obtaining video output source in the embodiment of the present invention Ground.
Correspondingly, in the embodiment of the present invention, the method also includes:
The audio data of first video source is relayed.
Wherein, due to the image synthesizing method in the embodiment of the present invention, mainly obtain the video of video main body, and by its It is synthesized in the second video source, therefore, the video output source after synthesis should retain the audio of video main body, therefore, regard in synthesis During frequency, the audio data of the first video source should be relayed, retain the audio data of the first video source.
In the above embodiment of the present invention, instructor in broadcasting's platform is being received video main body and the video pictures progress in different video source When the Video Composition instruction of synthesis, the first video source where the video main body and the where the video pictures is determined Two video sources carry out scratching picture according to preset algorithm, extract the target video data of video main body described in first video source, The target video data is superimposed to the predeterminated position of second video source, realizes the synthesis in different video source.Existing On the basis of live streaming/recording and broadcasting system, is realized by instructor in broadcasting's platform and scratch as and synthesize, it is convenient to operate, and remains original HD video Data;It for live video source, can export in real time after composition, reduce delay, meet live streaming use demand;The present invention is implemented Example simplifies profession, complex environment in existing video keying and the application scenarios of conjunction and builds, save the cost.
Image synthesizing method provided in an embodiment of the present invention is described above, introduces the present invention below in conjunction with attached drawing and implements The image synthesizing system that example provides.
Referring to fig. 2, Fig. 2 provides a kind of image synthesizing system, comprising: at least two video source inputs, Dao Botai And output source receiving device;
Wherein, instructor in broadcasting's platform is used for:
Video Composition instruction is received, the Video Composition instruction includes at least the video from different video source input equipment The video main body and video pictures in source;
Determine the first video source where the video main body and the second video source where the video pictures;
According to preset algorithm, the target video data of video main body described in first video source is extracted;
The target video data is superimposed to the predeterminated position of second video source, obtains video output source, by institute Video output source is stated to export to the output source receiving device.
Wherein, the instruction that Video Composition instruction synthesizes different video source for instruction.Video main body is i.e. by from one The main body as obtaining is scratched in video source, and the video main body is added in the video pictures of another video source.
Instructor in broadcasting's platform analyzes Video Composition instruction, where determining the first video source and the video pictures where video main body The second video source;Video main body can be a particular persons, video pictures be the video after synthesis it is last that, for for view The picture of frequency main body offer background.
Preferably, first video source, the second video source are live video source or recorded broadcast video source.
For example, needing the teacher to teach on classroom one to be synthesized to the target other than a classroom in Video Composition instruction When in scene, the corresponding video source in the classroom is the first video source, and teacher is video main body;Target scene, that is, video pictures, mesh Video source where marking scene is the second video source.
Preset algorithm is the algorithm for extracting target video data from the first video source.Instructor in broadcasting's platform according to preset algorithm, The target video data comprising target subject of first video source is extracted, for example, for each frame of the first video source Video pictures will include the part progress FIG pull handle of video main body in each frame video pictures, after obtaining FIG pull handle frame by frame Picture, and integrated to obtain target video data.
Target video data is added to the predeterminated position of the second video source by instructor in broadcasting's platform, obtains video output source, will be described Video output source is exported to the output source receiving device.In the predeterminated position i.e. picture of the second video source, for showing video The position of main body.
Optionally, in the embodiment of the present invention, the system also includes:
Audio processing equipment, for the audio data of first video source to be transmitted to output source receiving device or is preset Audio reception device.
Wherein, due to the image synthesizing method in the embodiment of the present invention, mainly obtain the video of video main body, and by its It is synthesized in the second video source, therefore, the video output source after synthesis should retain the audio of video main body, therefore, regard in synthesis During frequency, audio processing, which is set, relays the audio data of the first video source, retains the audio data of the first video source.
With continued reference to Fig. 2, as a specific example with classroom instruction, image synthesizing system includes 4 video source inputs, Instructor in broadcasting's platform, audio processing equipment, output source receiving device 1 and output source receiving device 2.Instructor in broadcasting's platform is that the core of this system is set It is standby, the high-performance embedded framework of multicore multi -CPU can be used, software is developed based on Linux+Android dual system.
Pass through high-definition multimedia interface (High Definition between instructor in broadcasting's platform and video source input Multimedia Interface, HDMI) video line connection.
Wherein, video source input include two as the courseware acquisition device of the second video source and two as first The video acquisition device of video source;Wherein, courseware acquisition device distinguishes the teaching and research host of A1, A2 laptop;Video acquisition dress Respectively A3 student's video camera is set, for acquiring student's video, A4 teacher's video camera, for acquiring teacher's video.Video source is defeated Entering equipment can be 1080P high definition device.
Output source receiving device 1 can be display equipment, including two display modules of B1 and B2;Output source receiving device 2 It can be streaming media server or service platform.
Instructor in broadcasting's platform acquires the video source of 4 video source inputs, and audio processing equipment also acquires the audio number of A3, A4 According to.Wherein, audio processing equipment includes multiple microphone apparatus.
Instructor in broadcasting's platform receives the Video Composition instruction that configuration equipment issues, and instruction merges A4 and A1, wherein configuration Tool can control instructor in broadcasting's platform, can manipulate the video switching of instructor in broadcasting's platform and scratch the picture and selecting synthesized as picture.
Instructor in broadcasting's platform determines that A4 is the first video source, and A1 is the second video source;According to preset algorithm, first video is extracted The target video data of video main body described in source (i.e. teacher);The target video data is superimposed to second video source Predeterminated position, for example be inserted into a position in courseware, the video output source after being synthesized.
Specifically, it referring to Fig. 3, scratches as and synthesizes, mainly include following procedure in cataloged procedure:
The contents such as video processing, including scaling are carried out to the first video source, carry out scratching picture after video processing.
Second video source is synthesized with the first video source scratched as after, after synthesizing single-image all the way, according to H.264 Algorithm carries out dual code stream (1080P+D1) coding, obtains output video source and exports.
Instructor in broadcasting's platform also provides real time streaming transport protocol (Real Time Streaming Protocol, RTSP) service, into Row real-time live broadcast simultaneously recording and storing into the local hard drive of instructor in broadcasting's platform.
In the above process, instructor in broadcasting's platform one co-exists in the four unpressed video source datas of tunnel high definition, can be according to classroom and activity The position adjustment of the actual needs of scene and background screen, courseware content etc., intercept the video data of needs, synthesis one is complete Whole single video and audio file.
Further, referring to fig. 4, it for the stingy as process of single frame video data, mainly comprises the steps that
Step 401, one-frame video data is obtained.
Step 402, every data line of the frame video data is scanned;
Step 403, chromatic aberration is judged whether there is:
If so, executing step 404, otherwise, return step 402;
Step 404, the start-stop point of chromatic aberration is obtained, the data between start-stop point are saved.
Step 405, when scanning a line to the end, terminate process.
In above-mentioned example, on the basis of existing live streaming/recording and broadcasting system, is realized by instructor in broadcasting's platform and scratch as and synthesize, operation It is convenient, and remain original HD video data;It for live video source, can export in real time after composition, reduce delay, it is full Foot live streaming use demand;Simplify in existing video keying and the application scenarios of conjunction profession, complex environment is built, save at This.It is defeated by, using output, code storage technology in real time, being scratched as synthesis to the local video data in be input to system Synthetic video with monitoring is checked on site out, and for coding for being broadcast live, storage is used for recorded broadcast.And scratch as being scratched using color difference as technology, In background situation appropriate, accuracy rate is with stingy as efficiency can satisfy general use demand.
The main usage scenario of above-mentioned example is the scenes such as teacher and meeting, is straight due to attending class or presiding over movable personage Broadcast picture main body, video main body can preferably draw oneself up the carry out activity in the background screen of video pictures, while can be with Composite result is watched in real time by output source receiving device, can be adjusted self-position in time and be reached preferable effect.
In the above embodiment of the present invention, instructor in broadcasting's platform of image synthesizing system is being received the video main body in different video source When the Video Composition instruction synthesized with video pictures;Determine the first video source and the view where the video main body The second video source where frequency picture carries out scratching picture according to preset algorithm, extracts video main body described in first video source Target video data, the target video data is superimposed to the predeterminated position of second video source, realizes different video The synthesis in source.It on the basis of existing live streaming/recording and broadcasting system, is realized by instructor in broadcasting's platform and scratches as and synthesize, it is convenient to operate, and retains Original HD video data;It for live video source, can export in real time after composition, reduce delay, meet live streaming and use Demand.
Fig. 5 shows the structural schematic diagram of a kind of electronic equipment of further embodiment of this invention offer.
Referring to Fig. 5, electronic equipment provided in an embodiment of the present invention, the electronic equipment include memory (memory) 51, Processor (processor) 52, bus 53 and it is stored in the computer program that can be run on memory 51 and on a processor. Wherein, the memory 51, processor 52 complete mutual communication by the bus 53.
The processor 52 is used to call the program instruction in the memory 51, realizes when executing described program as schemed 1 method.
In another embodiment, following method is realized when the processor executes described program:
Video Composition instruction is received, the Video Composition instruction includes at least video main body and view from different video source Frequency picture;
Determine the first video source where the video main body and the second video source where the video pictures;
According to preset algorithm, the target video data of video main body described in first video source is extracted;By the mesh Mark the predeterminated position of video data overlay to second video source.
Electronic equipment provided in an embodiment of the present invention can be used for executing the corresponding program of method of above method embodiment, This implementation repeats no more.
Electronic equipment provided in an embodiment of the present invention, receive by the video main body in different video source and video pictures into When the Video Composition instruction of row synthesis, where determining the first video source and the video pictures where the video main body Second video source carries out scratching picture according to preset algorithm, extracts the target video number of video main body described in first video source According to the target video data to be superimposed to the predeterminated position of second video source, realizes the synthesis in different video source.Existing It on the basis of having live streaming/recording and broadcasting system, is realized by instructor in broadcasting's platform and scratches as and synthesize, it is convenient to operate, and remains original high definition view Frequency evidence;It for live video source, can export in real time after composition, reduce delay, meet live streaming use demand.
A kind of non-transient computer readable storage medium that further embodiment of this invention provides, the non-transient computer can It reads to be stored with computer program on storage medium, realize when described program is executed by processor such as the step of Fig. 1.
In another embodiment, following method is realized when described program is executed by processor:
Video Composition instruction is received, the Video Composition instruction includes at least video main body and view from different video source Frequency picture;
Determine the first video source where the video main body and the second video source where the video pictures;
According to preset algorithm, the target video data of video main body described in first video source is extracted;By the mesh Mark the predeterminated position of video data overlay to second video source.
Non-transient computer readable storage medium provided in an embodiment of the present invention, realization when described program is executed by processor The method of above method embodiment, this implementation repeat no more.
Non-transient computer readable storage medium provided in an embodiment of the present invention is being received the video in different video source When the instruction of Video Composition that main body and video pictures are synthesized, the first video source where the video main body and institute are determined The second video source where video pictures is stated, is carried out scratching picture according to preset algorithm, extracts video described in first video source The target video data is superimposed to the predeterminated position of second video source by the target video data of main body, is realized different The synthesis of video source.On the basis of existing live streaming/recording and broadcasting system, is realized by instructor in broadcasting's platform and scratch as and synthesize, it is convenient to operate, and Remain original HD video data;It for live video source, can export in real time after composition, reduce delay, meet live streaming Use demand.
Further embodiment of this invention discloses a kind of computer program product, and the computer program product is non-including being stored in Computer program in transitory computer readable storage medium, the computer program include program instruction, when described program refers to When order is computer-executed, computer is able to carry out method provided by above-mentioned each method embodiment, for example,
Video Composition instruction is received, the Video Composition instruction includes at least video main body and view from different video source Frequency picture;
Determine the first video source where the video main body and the second video source where the video pictures;
According to preset algorithm, the target video data of video main body described in first video source is extracted;By the mesh Mark the predeterminated position of video data overlay to second video source.
The apparatus embodiments described above are merely exemplary, wherein described, unit can as illustrated by the separation member It is physically separated with being or may not be, component shown as a unit may or may not be physics list Member, it can it is in one place, or may be distributed over multiple network units.It can be selected according to the actual needs In some or all of the modules achieve the purpose of the solution of this embodiment.Those of ordinary skill in the art are not paying creativeness Labour in the case where, it can understand and implement.
Through the above description of the embodiments, those skilled in the art can be understood that each embodiment can It realizes by means of software and necessary general hardware platform, naturally it is also possible to pass through hardware.Based on this understanding, on Stating technical solution, substantially the part that contributes to existing technology can be embodied in the form of software products in other words, should Computer software product may be stored in a computer readable storage medium, such as ROM/RAM, magnetic disk, CD, including several fingers It enables and using so that a computer equipment (can be personal computer, server or the network equipment etc.) executes each implementation Method described in certain parts of example or embodiment.
Finally, it should be noted that the above embodiments are merely illustrative of the technical solutions of the present invention, rather than its limitations;Although Present invention has been described in detail with reference to the aforementioned embodiments, those skilled in the art should understand that: it still may be used To modify the technical solutions described in the foregoing embodiments or equivalent replacement of some of the technical features; And these are modified or replaceed, technical solution of various embodiments of the present invention that it does not separate the essence of the corresponding technical solution spirit and Range.

Claims (10)

1. a kind of image synthesizing method, instructor in broadcasting's platform applied to image synthesizing system characterized by comprising
Video Composition instruction is received, the Video Composition instruction includes at least video main body and video from different video source and draws Face;
Determine the first video source where the video main body and the second video source where the video pictures;
According to preset algorithm, the target video data of video main body described in first video source is extracted;
The target video data is superimposed to the predeterminated position of second video source.
2. the method according to claim 1, wherein described according to preset algorithm, extraction first video source Described in video main body target video data the step of, comprising:
According to preset algorithm, in the every frame video data for extracting first video source, the first mesh including the video main body Mark data;
According to the first object data of video data described in every frame, the target video data of the video main body is obtained.
3. according to the method described in claim 2, it is characterized in that, the every frame video data for extracting first video source In, include the steps that the first object data of the video main body, comprising:
For every frame video data of first video source, every data line of the video data is scanned, obtains color difference change The start-stop point of change, the data between the start-stop point are in the row data include the video main body the second target data;
According to the second target data of every data line, the first object data of the video main body are obtained.
4. according to the method described in claim 2, it is characterized in that, described be superimposed to described second for the target video data The step of predeterminated position of video source, comprising:
It determines in second video source, the coordinate model of the predeterminated position where video main body described in video pictures described in every frame It encloses;
The video data for obtaining the coordinate range, by the video data of the value added coordinate range of the first object stacked data In.
5. according to the method described in claim 4, it is characterized in that, described by the value added coordinate of the first object stacked data After step in the video data of range, the method also includes:
Pre-arranged code processing is carried out to superimposed video data, obtains video output source.
6. the method according to claim 1, wherein the method also includes:
The audio data of first video source is relayed.
7. a kind of image synthesizing system characterized by comprising at least two video source inputs, instructor in broadcasting's platform and output Source receiving device;
Wherein, instructor in broadcasting's platform is used for:
Video Composition instruction is received, the Video Composition instruction includes at least the video source from different video source input equipment Video main body and video pictures;
Determine the first video source where the video main body and the second video source where the video pictures;
According to preset algorithm, the target video data of video main body described in first video source is extracted;
The target video data is superimposed to the predeterminated position of second video source, obtains video output source, by the view Frequency output source is exported to the output source receiving device.
8. system according to claim 7, which is characterized in that further include:
Audio processing equipment, for the audio data of first video source to be transmitted to output source receiving device or preset audio Receiving device.
9. a kind of electronic equipment, which is characterized in that on a memory and can be including memory, processor, bus and storage The computer program run on processor, the processor are realized when executing described program such as any one of claims 1 to 6 institute The step in image synthesizing method stated.
10. a kind of non-transient computer readable storage medium, is stored thereon with computer program, it is characterised in that: described program It realizes when being executed by processor such as the step in image synthesizing method described in any one of claims 1 to 6.
CN201810835465.7A 2018-07-26 2018-07-26 Image synthesizing method and system Pending CN108965746A (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN201810835465.7A CN108965746A (en) 2018-07-26 2018-07-26 Image synthesizing method and system

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN201810835465.7A CN108965746A (en) 2018-07-26 2018-07-26 Image synthesizing method and system

Publications (1)

Publication Number Publication Date
CN108965746A true CN108965746A (en) 2018-12-07

Family

ID=64464945

Family Applications (1)

Application Number Title Priority Date Filing Date
CN201810835465.7A Pending CN108965746A (en) 2018-07-26 2018-07-26 Image synthesizing method and system

Country Status (1)

Country Link
CN (1) CN108965746A (en)

Cited By (7)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN110136363A (en) * 2019-05-08 2019-08-16 深圳市朗形网络科技有限公司 Self-service entertainment video production and DIY text create souvenir equipment for customizing
CN110517215A (en) * 2019-08-28 2019-11-29 咪咕视讯科技有限公司 A kind of Video compression method, electronic equipment and storage medium
CN110913267A (en) * 2019-11-29 2020-03-24 上海赛连信息科技有限公司 Image processing method, device, system, interface, medium and computing equipment
CN111083518A (en) * 2019-12-31 2020-04-28 安博思华智能科技有限责任公司 Method, device, medium and electronic equipment for tracking live broadcast target
CN112770064A (en) * 2020-12-30 2021-05-07 北京七维视觉传媒科技有限公司 Image matting system
CN113259602A (en) * 2021-06-15 2021-08-13 大爱全息(北京)科技有限公司 Method and system for scheduling interactive holographic video
WO2022247293A1 (en) * 2021-05-27 2022-12-01 北京达佳互联信息技术有限公司 Video livestreaming method and video livestreaming apparatus

Citations (8)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
KR20070028725A (en) * 2005-09-07 2007-03-13 주식회사 케이티 System and method for providing user channel service
CN103379256A (en) * 2012-04-25 2013-10-30 华为终端有限公司 Method and device for processing image
CN104200470A (en) * 2014-08-29 2014-12-10 电子科技大学 Blue screen image-matting method
CN106162221A (en) * 2015-03-23 2016-11-23 阿里巴巴集团控股有限公司 The synthetic method of live video, Apparatus and system
CN107197316A (en) * 2017-04-28 2017-09-22 北京传视慧眸科技有限公司 Panorama live broadcast system and method
CN107277599A (en) * 2017-05-31 2017-10-20 珠海金山网络游戏科技有限公司 A kind of live broadcasting method of virtual reality, device and system
CN206807670U (en) * 2017-04-28 2017-12-26 北京传视慧眸科技有限公司 The servomechanism live for panorama
CN108289159A (en) * 2017-05-25 2018-07-17 广州华多网络科技有限公司 A kind of terminal live streaming special efficacy add-on system, method and terminal live broadcast system

Patent Citations (8)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
KR20070028725A (en) * 2005-09-07 2007-03-13 주식회사 케이티 System and method for providing user channel service
CN103379256A (en) * 2012-04-25 2013-10-30 华为终端有限公司 Method and device for processing image
CN104200470A (en) * 2014-08-29 2014-12-10 电子科技大学 Blue screen image-matting method
CN106162221A (en) * 2015-03-23 2016-11-23 阿里巴巴集团控股有限公司 The synthetic method of live video, Apparatus and system
CN107197316A (en) * 2017-04-28 2017-09-22 北京传视慧眸科技有限公司 Panorama live broadcast system and method
CN206807670U (en) * 2017-04-28 2017-12-26 北京传视慧眸科技有限公司 The servomechanism live for panorama
CN108289159A (en) * 2017-05-25 2018-07-17 广州华多网络科技有限公司 A kind of terminal live streaming special efficacy add-on system, method and terminal live broadcast system
CN107277599A (en) * 2017-05-31 2017-10-20 珠海金山网络游戏科技有限公司 A kind of live broadcasting method of virtual reality, device and system

Cited By (9)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN110136363A (en) * 2019-05-08 2019-08-16 深圳市朗形网络科技有限公司 Self-service entertainment video production and DIY text create souvenir equipment for customizing
CN110517215A (en) * 2019-08-28 2019-11-29 咪咕视讯科技有限公司 A kind of Video compression method, electronic equipment and storage medium
CN110517215B (en) * 2019-08-28 2022-03-25 咪咕视讯科技有限公司 Video compression processing method, electronic equipment and storage medium
CN110913267A (en) * 2019-11-29 2020-03-24 上海赛连信息科技有限公司 Image processing method, device, system, interface, medium and computing equipment
CN110913267B (en) * 2019-11-29 2020-11-06 上海赛连信息科技有限公司 Image processing method, device, system, interface, medium and computing equipment
CN111083518A (en) * 2019-12-31 2020-04-28 安博思华智能科技有限责任公司 Method, device, medium and electronic equipment for tracking live broadcast target
CN112770064A (en) * 2020-12-30 2021-05-07 北京七维视觉传媒科技有限公司 Image matting system
WO2022247293A1 (en) * 2021-05-27 2022-12-01 北京达佳互联信息技术有限公司 Video livestreaming method and video livestreaming apparatus
CN113259602A (en) * 2021-06-15 2021-08-13 大爱全息(北京)科技有限公司 Method and system for scheduling interactive holographic video

Similar Documents

Publication Publication Date Title
CN108965746A (en) Image synthesizing method and system
CN105306862B (en) A kind of scene video recording system based on 3D dummy synthesis technology, method and scene real training learning method
KR102050865B1 (en) Method and device for synchronizing display of images
CN110913267B (en) Image processing method, device, system, interface, medium and computing equipment
CN105376547A (en) Micro video course recording system and method based on 3D virtual synthesis technology
US20150256846A1 (en) Image processing apparatus, image processing method and image processing system
WO2019019403A1 (en) Interactive situational teaching system for use in k12 stage
CN202524495U (en) Course recording system based on fixed camera position, and video processing device
CN104660872A (en) Virtual scene synthesis system and method
KR20160119218A (en) Sound image playing method and device
CN104580837A (en) Video director engine based on GPU+CPU+IO architecture and using method thereof
US8045838B2 (en) Video viewing apparatus, video play back control method, and recording/play back program
CN110933350A (en) Electronic cloud mirror recording and broadcasting system, method and device
CN108831216B (en) True three-dimensional virtual simulation interaction method and system
US20210160580A1 (en) Methods and systems for sign language interpretation of media stream data
CN107734212A (en) A kind of automatic recorded broadcast director system
CN112262570A (en) Method and system for automatic real-time frame segmentation of high-resolution video streams into constituent features and modification of features in individual frames to create multiple different linear views from the same video source simultaneously
CN107580228B (en) Monitoring video processing method, device and equipment
CN109788221A (en) A kind of recorded broadcast method and device
CN109862385B (en) Live broadcast method and device, computer readable storage medium and terminal equipment
KR20090044105A (en) Live-image providing system using contents of 3d virtual space
CN112153472A (en) Method and device for generating special picture effect, storage medium and electronic equipment
CN115514989B (en) Data transmission method, system and storage medium
CN203193773U (en) Multimedia panoramic recording system
Ohanian How Artificial Intelligence and Machine Learning Will Change Content Creation Methodologies

Legal Events

Date Code Title Description
PB01 Publication
PB01 Publication
SE01 Entry into force of request for substantive examination
SE01 Entry into force of request for substantive examination
RJ01 Rejection of invention patent application after publication

Application publication date: 20181207

RJ01 Rejection of invention patent application after publication