CN109525880A - Synthetic method, device, equipment and the storage medium of video data - Google Patents

Synthetic method, device, equipment and the storage medium of video data Download PDF

Info

Publication number
CN109525880A
CN109525880A CN201811326876.XA CN201811326876A CN109525880A CN 109525880 A CN109525880 A CN 109525880A CN 201811326876 A CN201811326876 A CN 201811326876A CN 109525880 A CN109525880 A CN 109525880A
Authority
CN
China
Prior art keywords
video data
picture
video
embedded
image processing
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
CN201811326876.XA
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 Microlive Vision Technology Co Ltd
Original Assignee
Beijing Microlive Vision Technology Co Ltd
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 Microlive Vision Technology Co Ltd filed Critical Beijing Microlive Vision Technology Co Ltd
Priority to CN201811326876.XA priority Critical patent/CN109525880A/en
Publication of CN109525880A publication Critical patent/CN109525880A/en
Pending legal-status Critical Current

Links

Classifications

    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04NPICTORIAL COMMUNICATION, e.g. TELEVISION
    • H04N21/00Selective content distribution, e.g. interactive television or video on demand [VOD]
    • H04N21/40Client devices specifically adapted for the reception of or interaction with content, e.g. set-top-box [STB]; Operations thereof
    • H04N21/43Processing of content or additional data, e.g. demultiplexing additional data from a digital video stream; Elementary client operations, e.g. monitoring of home network or synchronising decoder's clock; Client middleware
    • H04N21/4302Content synchronisation processes, e.g. decoder synchronisation
    • H04N21/4307Synchronising the rendering of multiple content streams or additional data on devices, e.g. synchronisation of audio on a mobile phone with the video output on the TV screen
    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04NPICTORIAL COMMUNICATION, e.g. TELEVISION
    • H04N21/00Selective content distribution, e.g. interactive television or video on demand [VOD]
    • H04N21/40Client devices specifically adapted for the reception of or interaction with content, e.g. set-top-box [STB]; Operations thereof
    • H04N21/43Processing of content or additional data, e.g. demultiplexing additional data from a digital video stream; Elementary client operations, e.g. monitoring of home network or synchronising decoder's clock; Client middleware
    • H04N21/431Generation of visual interfaces for content selection or interaction; Content or additional data rendering
    • H04N21/4312Generation of visual interfaces for content selection or interaction; Content or additional data rendering involving specific graphical features, e.g. screen layout, special fonts or colors, blinking icons, highlights or animations
    • H04N21/4316Generation of visual interfaces for content selection or interaction; Content or additional data rendering involving specific graphical features, e.g. screen layout, special fonts or colors, blinking icons, highlights or animations for displaying supplemental content in a region of the screen, e.g. an advertisement in a separate window
    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04NPICTORIAL COMMUNICATION, e.g. TELEVISION
    • H04N21/00Selective content distribution, e.g. interactive television or video on demand [VOD]
    • H04N21/40Client devices specifically adapted for the reception of or interaction with content, e.g. set-top-box [STB]; Operations thereof
    • H04N21/43Processing of content or additional data, e.g. demultiplexing additional data from a digital video stream; Elementary client operations, e.g. monitoring of home network or synchronising decoder's clock; Client middleware
    • H04N21/433Content storage operation, e.g. storage operation in response to a pause request, caching operations
    • H04N21/4334Recording operations
    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04NPICTORIAL COMMUNICATION, e.g. TELEVISION
    • H04N21/00Selective content distribution, e.g. interactive television or video on demand [VOD]
    • H04N21/40Client devices specifically adapted for the reception of or interaction with content, e.g. set-top-box [STB]; Operations thereof
    • H04N21/43Processing of content or additional data, e.g. demultiplexing additional data from a digital video stream; Elementary client operations, e.g. monitoring of home network or synchronising decoder's clock; Client middleware
    • H04N21/44Processing of video elementary streams, e.g. splicing a video clip retrieved from local storage with an incoming video stream or rendering scenes according to encoded video stream scene graphs
    • H04N21/44016Processing of video elementary streams, e.g. splicing a video clip retrieved from local storage with an incoming video stream or rendering scenes according to encoded video stream scene graphs involving splicing one content stream with another content stream, e.g. for substituting a video clip
    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04NPICTORIAL COMMUNICATION, e.g. TELEVISION
    • H04N21/00Selective content distribution, e.g. interactive television or video on demand [VOD]
    • H04N21/40Client devices specifically adapted for the reception of or interaction with content, e.g. set-top-box [STB]; Operations thereof
    • H04N21/43Processing of content or additional data, e.g. demultiplexing additional data from a digital video stream; Elementary client operations, e.g. monitoring of home network or synchronising decoder's clock; Client middleware
    • H04N21/44Processing of video elementary streams, e.g. splicing a video clip retrieved from local storage with an incoming video stream or rendering scenes according to encoded video stream scene graphs
    • H04N21/4402Processing of video elementary streams, e.g. splicing a video clip retrieved from local storage with an incoming video stream or rendering scenes according to encoded video stream scene graphs involving reformatting operations of video signals for household redistribution, storage or real-time display
    • H04N21/440263Processing of video elementary streams, e.g. splicing a video clip retrieved from local storage with an incoming video stream or rendering scenes according to encoded video stream scene graphs involving reformatting operations of video signals for household redistribution, storage or real-time display by altering the spatial resolution, e.g. for displaying on a connected PDA
    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04NPICTORIAL COMMUNICATION, e.g. TELEVISION
    • H04N21/00Selective content distribution, e.g. interactive television or video on demand [VOD]
    • H04N21/40Client devices specifically adapted for the reception of or interaction with content, e.g. set-top-box [STB]; Operations thereof
    • H04N21/47End-user applications
    • H04N21/472End-user interface for requesting content, additional data or services; End-user interface for interacting with content, e.g. for content reservation or setting reminders, for requesting event notification, for manipulating displayed content
    • H04N21/47205End-user interface for requesting content, additional data or services; End-user interface for interacting with content, e.g. for content reservation or setting reminders, for requesting event notification, for manipulating displayed content for manipulating displayed content, e.g. interacting with MPEG-4 objects, editing locally
    • 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
    • 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/268Signal distribution or switching
    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04NPICTORIAL COMMUNICATION, e.g. TELEVISION
    • H04N5/00Details of television systems
    • H04N5/44Receiver circuitry for the reception of television signals according to analogue transmission standards
    • H04N5/445Receiver circuitry for the reception of television signals according to analogue transmission standards for displaying additional information
    • H04N5/45Picture in picture, e.g. displaying simultaneously another television channel in a region of the screen
    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04NPICTORIAL COMMUNICATION, e.g. TELEVISION
    • H04N5/00Details of television systems
    • H04N5/76Television signal recording

Landscapes

  • Engineering & Computer Science (AREA)
  • Multimedia (AREA)
  • Signal Processing (AREA)
  • Databases & Information Systems (AREA)
  • Human Computer Interaction (AREA)
  • Business, Economics & Management (AREA)
  • Marketing (AREA)
  • Controls And Circuits For Display Device (AREA)

Abstract

The present invention relates to a kind of synthetic method of video data, device, equipment and storage mediums.Obtain the first video counts and the second video data;Using preset image processing method, the picture of second video data is embedded in the picture of the first video data, third video data is obtained since the picture of the second video data to be embedded in the picture of the first video data, form the picture display effect of picture-in-picture, when playing third video data, it not only include the picture of the first video data in the picture of third video data, it further include the picture of the second video data, when playing third video data, it not only include the picture of the first video data in the picture of third video data, it further include the picture of the second video data, first video data and the second video data are played simultaneously.

Description

Synthetic method, device, equipment and the storage medium of video data
Technical field
The present invention relates to the technical field that video is shown, more particularly to a kind of synthetic method of video data, device, Equipment and storage medium.
Background technique
With the development of terminal device, the more and more frequent using terminal device plays of people or recorded video file.
In general, people are to play recorded video again after having recorded video, for example, user needs using player plays Recorded video finishes playing and then the broadcasting video original using player plays in recorded video, recorded video and original Broadcasting video can be played according to sequencing.
However, existing during playing video and playing video and the nonsynchronous problem of recorded video broadcasting.
Summary of the invention
Based on this, it is necessary to for video and the nonsynchronous problem of recorded video broadcasting is played, provide a kind of video data Synthetic method, device, equipment and storage medium.
In a first aspect, a kind of synthetic method of video data, comprising:
Obtain the first video data and the second video data;
Using preset image processing method, the picture of second video data is embedded in first video data Picture in, obtain third video data;
The third video data is shown on the display screen.
The synthetic method of above-mentioned video data, by obtaining the first video counts and the second video data, using preset figure As processing method, the picture of the second video data is embedded in the picture of the first video data, obtains third video data, Third video data is shown on display screen.Since the picture of the second video data to be embedded in the picture of the first video data In, the picture display effect of picture-in-picture is formed, when playing third video data, not only includes in the picture of third video data The picture of first video data further includes the picture of the second video data, enables the first video data and the second video data It is played simultaneously.
It is described in one of the embodiments, to use preset image processing method, by the picture of second video data Face is embedded in the picture of first video data, obtains third video data, comprising:
Determine the location information of each pixel on the display screen in second video data;
Using described image processing method, according to the positional information, the picture of second video data is embedded in In the picture of first video data.
It is described in one of the embodiments, to use described image processing method, according to the positional information, by described the The picture of two video datas is embedded in the picture of first video data, comprising:
Corresponding 4th video data of the location information is determined from first video data;
4th video data is replaced using second video data.
In one of the embodiments, before the 4th video data using second video data replacement, The method also includes:
Determine the picture area of second video data;
According to the resolution ratio of the picture area of second video data and first video data, adjustment described second The resolution ratio of video data.
In one of the embodiments, in recorded video data, the picture of second video data is covered on described On the picture of first video data;The picture of second video data is less than the picture of first video data.
In one of the embodiments, the method also includes:
In recorded video data, the switching command of user's input is received;The switching command is used to indicate Switch Video The display area of data;
According to the switching command, second video data is played in the first display area of the display screen, Second display area of the display screen plays first video data, and the second display area covering described first is aobvious Show the partial region in region.
Second video data includes at least two the 5th video datas in one of the embodiments,;The use The picture of second video data is embedded in the picture of first video data, obtains by preset image processing method Obtain third video data, comprising:
Using described image processing method, the picture of each 5th video data is embedded in first video respectively In the picture of data, third video data is obtained.
Second video data includes the 6th video data and the 7th video data in one of the embodiments, In the picture of second video data, the picture of the 6th video data is embedded in the picture of the 7th video data In.
Second aspect, a kind of synthesizer of video data, described device include:
Module is obtained, for obtaining the first video data and the second video data;
The picture of second video data is embedded in institute for using preset image processing method by processing module In the picture for stating the first video data, third video data is obtained;
Display module, for showing the third video data on the display screen.
The third aspect, a kind of computer equipment, including memory and processor, the memory are stored with computer journey Sequence, the processor perform the steps of when executing the computer program
Obtain the first video data and the second video data;
Using preset image processing method, the picture of second video data is embedded in first video data Picture in, obtain third video data;
The third video data is shown on the display screen.
Fourth aspect, a kind of computer readable storage medium are stored thereon with computer program, the computer program quilt Processor performs the steps of when executing
Obtain the first video data and the second video data;
Using preset image processing method, the picture of second video data is embedded in first video data Picture in, obtain third video data;
The third video data is shown on the display screen.
Synthetic method, device, equipment and the storage medium of above-mentioned video data, by obtaining the first video counts and the second view The picture of second video data is embedded in the picture of the first video data by frequency evidence using preset image processing method, Third video data is obtained, shows third video data on the display screen.Since the picture of the second video data being embedded in In the picture of first video data, the picture display effect of picture-in-picture is formed, when playing third video data, third video counts According to picture in not only include the first video data picture, further include the picture of the second video data, so that the first video counts It can be played simultaneously according to the second video data.
Detailed description of the invention
Fig. 1 is the schematic diagram of the synthesis system of a video data;
Fig. 2 is the flow chart of the synthetic method for the video data that one embodiment provides;
Fig. 3 is the flow chart of the synthetic method for the video data that one embodiment provides;
Fig. 4 is the flow chart of the synthetic method for the video data that one embodiment provides;
Fig. 5 is the flow chart of the synthetic method for the video data that one embodiment provides;
Fig. 6 is the flow chart of the synthetic method for the video data that one embodiment provides;
Fig. 7 is the structural schematic diagram of the synthesizer for the video data that one embodiment provides;
Fig. 8 is the structural schematic diagram of the synthesizer for the video data that one embodiment provides;
Fig. 9 is the structural schematic diagram of the synthesizer for the video data that one embodiment provides;
Figure 10 is the structural schematic diagram of the synthesizer for the video data that one embodiment provides;
Figure 11 is the internal structure chart for the terminal that one embodiment provides.
Specific embodiment
With the development of terminal device, using terminal device plays or recorded video file more and more frequently appear in people Daily life in, in general, recorded video is played again after recorded video, for example, user needs using player plays Recorded video finishes playing and then the broadcasting video original using player plays in recorded video, recorded video and original Broadcasting video can be played according to sequencing.When user needs to watch video on one side, when the recorded video of one side, video is played Exist with recorded video and plays nonsynchronous problem.
Synthetic method, device, equipment and the storage medium of video data provided by the embodiment of the present invention, it is intended to solve existing Have and puts video and the nonsynchronous problem of recorded video broadcasting in technology.
It should be noted that the synthetic method of video data provided in an embodiment of the present invention, executing subject can be end End, the terminal can be implemented as some or all of of terminal device by way of software, hardware or software and hardware combining. The executing subject of following methods embodiment is illustrated by taking terminal device as an example.
Fig. 1 is the schematic diagram of the synthesis system of a video data, as described in Figure 1, on the picture 10 of the first video data It is inlaid with the picture 20 of the second video data.It should be noted that the synthesis system of video data shown in FIG. 1 is that one kind is shown Example, the application are without limitation.
It is with reference to the accompanying drawings and embodiments, right in order to which the objects, technical solutions and advantages of the application are more clearly understood The application is further elaborated.It should be appreciated that specific embodiment described herein is only used to explain the application, not For limiting the application.
Fig. 2 is the flow chart of the synthetic method for the video data that one embodiment provides, as shown in Fig. 2, this method comprises:
S101, the first video data and the second video data are obtained.
In the present embodiment, video data may include the letters such as the color of each pixel in video, position, display time Breath, can be a kind of data of color coding mode.First video data can be the video data for playing video, can also be with It is the video data of recorded video;Second video data can be the data of recorded video, be also possible to play the data of video, The embodiment of the present application is without limitation.
In the present embodiment, during specifically obtaining the first video data and the second video data, solution can be passed through Video file is converted video data by the mode of code.Playing video file, the second video data are corresponded to the first video data For corresponding recorded video file, according to the play instruction that user inputs, playing video file is transferred, by playing video file solution Code obtains the first video data, according to the record command that user inputs, recorded video file is obtained, by recorded video file decoding Obtain the second video data.Alternatively, can also be that the first video data corresponds to recorded video file, the second video data correspondence is broadcast Put video file, it is without restriction in the application.
S102, using preset image processing method, the picture of the second video data is embedded in the first video data In picture, third video data is obtained.
In the present embodiment, the picture of the second video data is displayed for the second video data, the first video data Picture is displayed for the first video data.Preset image processing method can be by by the picture of the second video data The method being superimposed upon on the picture of the first video data can play the first video data and respectively by two players The player for playing the second video data is embedded on the player for playing the first video data, with shape by two video datas The method being superimposed upon at the picture of the second video data on the picture of the first video data;It is also possible to the second video data Video data in region on the picture of corresponding first video data of picture is deleted, and the second video data is put into the region Interior method.By the way that the picture of the second video data is embedded in the picture of the first video data, acquisition third video data, Wherein third video data may include the partial data and the second video data of the first video data.
S103, third video data is shown on the display screen.
It, can be by the way that third video data encoding be compressed to obtain the corresponding video text of third video data in the present embodiment Part controls display screen according to video file and shows third video data by controlling the opening of playout software.
The synthetic method of above-mentioned video data, by obtaining the first video counts and the second video data, using preset figure As processing method, the picture of the second video data is embedded in the picture of the first video data, obtains third video data, Third video data is shown on display screen.Since the picture of the second video data to be embedded in the picture of the first video data In, the picture display effect of picture-in-picture is formed, when playing third video data, not only includes in the picture of third video data The picture of first video data further includes the picture of the second video data, enables the first video data and the second video data It plays simultaneously.
Scene shown in FIG. 1 is that the picture of the third video data of synthesis is the display effect of picture-in-picture, in some scenes In, it can also be in recorded video data procedures, recorded video and broadcasting video formed into picture-in-picture on a terminal screen Display effect.Optionally, in recorded video data, the picture of second video data is covered on first video data Picture on;The picture of second video data is less than the picture of first video data.At this point, due to the first video The picture area of data is greater than the picture area of the second video data, picture to be shown based on the picture of the first video data, For leading role's video pictures, the picture of the second video data is time picture to be shown, then the picture of the second video data is supporting role Video pictures.
In another scene, during recorded video, leading role's video pictures and supporting role's video pictures can also be switched. Fig. 3 is the flow chart of the synthetic method for the video data that one embodiment provides, and what is involved is bases to receive user for this method The switching command of input, by the process of the first video data and the second video data exchange display area, in above-described embodiment On the basis of, as shown in figure 3, this method comprises:
S201, in recorded video data, receive user input switching command;Switching command is used to indicate Switch Video The display area of data.
In the present embodiment, in recorded video data, switching command can be obtained by the voice command that user inputs, It is also possible to user and inputting switching command is operable to selection control button, alternatively, user passes through dragging video pictures Mode carrys out inputting switching command, and the embodiment of the present application is without limitation.Switching command is used to indicate the aobvious of Switch Video data Show region, for example, switching command, which is used to indicate, is switched to display for the region for being originally used for the picture of the first video data of display The region for being originally used for the picture of the second video data is switched to the first video data of display by the picture of the second video data Picture, that is, the picture of the first video data is covered on the picture of second video data.It further, can also be with First video data and the second video data are switched back into former display area.After the switching command for receiving user's input, It controls the second video data and shows that the first video data is being originally used on the region for being originally used for the first video data of display It shows and is shown on the region of the second video data.
Further, after receiving the switching command of user's input for the second time, the first video data of control is in the first view It is shown on the picture of frequency evidence, the second video data is shown on the picture of the second video data.
S202, screen is being shown in the second video data of the first display area broadcasting of display screen according to switching command The second display area play the first video data, the second display area cover the first display area partial region.
In the present embodiment, on the basis of S201, after the switching command for obtaining user's input, according to user's input After switching command, the second video data of control plays in the first display area of display screen, and the first video data of control exists It shows in the second display area of screen and plays, at this point, the second display area covers the partial region of the first display area, make The picture exchange of the picture and the second video data of the first video data is obtained, the picture of the first video data is covered on the second video On the picture of data, the display effect of picture-in-picture is formed.
The synthetic method of above-mentioned video data receives the switching command of user's input, according to cutting in recorded video data Instruction is changed, the second video data is played in the first display area of display screen, is played in the second display area of display screen First video data, the second display area cover the partial region of the first display area.It, can basis in recorded video data The switching command of user's input, leading role's video pictures and supporting role's video pictures are switched over, and human-computer interaction is high, optimize use The experience of family recorded video.
Fig. 4 is the flow chart for the synthetic method of video data that one embodiment provides, and what is involved is by second for this method The picture of video data is embedded in the concrete implementation method in the picture of the first video data, as shown in figure 4, S102 " is used The picture of second video data is embedded in the picture of the first video data by preset image processing method, obtains third view A kind of possible implementation method of frequency evidence ", comprising:
S301, the location information of each pixel on the display screen in the second video data is determined.
In the present embodiment, location information may include the coordinate letter of each pixel on the display screen in video data Breath, is also possible to true according to the proportionate relationship between the picture area of the first video data and the picture area of the second video data Fixed relative position information.
For example, determining the location information of each pixel on the display screen in the second video data, Ke Yitong specific The corresponding relationship crossed between the position coordinates for each pixel of the second video for including in the second video data and display screen comes It determines.For example, the position coordinates under the second video data coordinate system are a pixel of (0,0), in display screen coordinate Position coordinates (10,50) in system, then the opposite corresponding relationship with display screen of each pixel is cross in the second video data Coordinate adds 10, and ordinate adds 50.Determine each pixel in the second video data on the display screen according to this corresponding relationship Location information.
It is alternatively possible to by preset information acquisition location information in system, it can also be by receiving user's input Position setting instruction can also be to obtain location information and identify the part that can be blocked by image recognition technology to obtain Location information.For example, being identified in the picture of the first video data by image recognition technology includes face and background, then judge Background parts can be blocked, and obtain location information according to the position of background parts.
S302, using image processing method, according to location information, the picture of the second video data is embedded in the first video In the picture of data.
In the present embodiment, on the basis of above-mentioned S301, it is determined that each pixel is in display screen in the second video data Location information on curtain can be superimposed upon the first video data using by the picture of the second video data according to the location information Picture on method, for example, by the region on the picture of corresponding first video data of the picture of the second video data Video data is deleted, and the second video data is put into the method in the region, the picture of the second video data is embedded in first In the picture of video data.
The synthetic method of above-mentioned video data determines the position of each pixel on the display screen in the second video data The picture of second video data can be embedded in the first video data according to location information by image processing method by information Picture in, when playing video, the first video data and the second video data are played simultaneously.
Fig. 5 is the flow chart of the synthetic method for the video data that one embodiment provides, and what is involved is according to position for this method Confidence breath, the concrete methods of realizing picture of the second video data being embedded in the picture of the first video data, such as Fig. 5 institute Show, the picture of the second video data " is embedded in the first video data according to location information using image processing method by S302 Picture in " a kind of possible implementation method include:
S401, corresponding 4th video data of location information is determined from the first video data.
Wherein, location information can be relative position of second video data relative to the first video data, can be The position coordinates of specific each pixel, are also possible to the ratio of the picture of the second video data and the picture of the first video data Example relationship, according to the position coordinates of each pixel, determines the first view so that location information is the position coordinates of each pixel as an example It is the 4th video data that frequency pixel in, which is the video data of same position coordinates,.
S402, the 4th video data is replaced using the second video data.
In the present embodiment, on the basis of above-mentioned S401, it is determined that the 4th video data in the first video data, it can be with 4th video data is deleted, then the second video data is copied into the corresponding position of the 4th video data, can also directly be made The 4th video data is covered with the second video counts, so that the second video data replaces the 4th video data.
The synthetic method of above-mentioned video data determines corresponding 4th video counts of location information from the first video data According to using the second video data the 4th video data of replacement.Second video data is override in the first video data 4th video data of same position, so that the picture of the second video data is embedded in the first video counts when playing video Picture on, improve the convenience of Video Composition.
Fig. 6 is the flow chart for the synthetic method of video data that one embodiment provides, and what is involved is using for this method Two video datas replace the particularly implementation method of the 4th video data, and if Fig. 6 shows, S402 " is replaced using the second video data Change the 4th video data " a kind of possible implementation method include:
S501, the picture area for determining the second video data.
It, can be according to one fixed ratios of setting such as size, the screen sizes of whole video of display screen in the present embodiment Example, for example, the ratio of the area of the picture of the area of the picture of the first video data and the second video data is 2:1.Alternatively, also It can specify that the ratio between the length and width of the picture of the first video data and the length and width of the picture of the second video data.It can also be with It is the instruction by obtaining user's input, the picture area of the second video data is determined according to the location information in instruction.Also The area that can be the region surrounded according to all position coordinates determines the picture area of the second video data.
It is possible to further adjust the picture area of the second video data according to user instructions, for example, volume can be passed through Key adjusts the picture area of the second video data, the method that can also be slided on the screen by two fingers or more The picture area of the second video data is scaled, can also identify the scaling instruction that user issues by speech identifying function, it is right The picture area of second video data zooms in and out, and the embodiment of the present application is without limitation.
S502, according to the picture area of the second video data and the resolution ratio of the first video data, adjust the second video counts According to resolution ratio.
In the present embodiment, on the basis of above-mentioned S501, after the picture area that the second video data has been determined, according to The resolution ratio of picture area and the first video in the first video of second video data determines point that the second video needs to scale Resolution zooms in and out the second video data, corresponding since the first video and the second video are to record the video completed Resolution ratio is determining resolution ratio, when the second video data is put into the first video data, can by by the first video and Pixel on the unit area of second video is consistent, to realize the consistent of whole broadcasting pictures resolution ratio.That is, it is assumed that Former second video data has X pixel, when the second video data is put into the first video data, according to the resolution of the first video The picture area of rate and the second video data adjusts the resolution ratio of the second video data, so that the second video data is in the second view It, can be consistent with the resolution ratio of the first video data in the picture of frequency evidence when display.
Using the synthetic method of above-mentioned video data, the picture area of the second video data is determined, further according to the second video The resolution ratio of the picture area of data and the first video data adjusts the resolution ratio of the second video data, so that being embedded in first The resolution ratio of the second video data on the picture of video data, it is consistent with the resolution ratio of the first video data, improve video The quality of picture, so that user embodies more preferably in the viewing of the recorded video of viewing broadcasting.
Optionally, the second video data includes at least two the 5th video datas;It, respectively will be each using image processing method The picture of 5th video data is embedded in the picture of the first video data, obtains third video data.
It in the present embodiment, can nested multiple small video pictures in a big video pictures.Wherein, the second video Data may include two the 5th video datas, also may include three the 5th video datas.It include two with the second video data For a 5th video data, by the method for image procossing, the picture of two the 5th video datas is embedded in the first video In the picture of data, it is also possible in the horizontally-arranged picture for being embedded in the first video data of the picture of two the 5th video datas, It is also possible to vertical setting of types to be shown in side by side in the picture of the first video data, can also be and two the 5th videos are embedded in respectively The diagonal angle of one video data picture, the embodiment of the present application are without limitation.
Optionally, the second video data includes the 6th video data and the 7th video data, in the picture of the second video data In face, the picture of the 6th video data is embedded in the picture of the 7th video data.
In the present embodiment, the picture of the second video data is also the display effect of picture-in-picture.Wherein it is possible to be pass through by The picture of 6th video data is superimposed upon the method on the picture of the 7th video data, is also possible to the picture of the 6th video data Video data in region on the picture of corresponding 7th video data in face is deleted, and the 6th video data is put into the region Method, the picture of the 6th video data is embedded in the picture of the 7th video data.
Fig. 7 is the structural schematic diagram of the synthesizer for the video data that one embodiment provides.As shown in fig. 7, the video The synthesizer of data, comprising: obtain module 10, processing module 20 and display module 30, in which:
Module 10 is obtained, for obtaining the first video data and the second video data;
The picture of second video data is embedded in first for using preset image processing method by processing module 20 In the picture of video data, third video data is obtained;
Display module 30, for showing third video data on the display screen.
The synthesizer of video data provided in an embodiment of the present invention can execute above method embodiment, realize former Reason is similar with technical effect, and details are not described herein.
Fig. 8 is the structural schematic diagram of the synthesizer for the video data that one embodiment provides.On the basis of above-mentioned Fig. 7 On, as shown in figure 8, processing module 20 comprises determining that unit 201 and inlay element 202, in which:
Determination unit 201, for determining the location information of each pixel on the display screen in the second video data;
The picture of second video data is embedded in for image processing method according to location information by inlay element 202 In the picture of first video data.
In one embodiment, inlay element 202 is specifically used for determining that location information is corresponding from the first video data 4th video data;For replacing the 4th video data using the second video data.
The synthesizer of video data provided in an embodiment of the present invention can execute above method embodiment, realize former Reason is similar with technical effect, and details are not described herein.
Fig. 9 is the structural schematic diagram of the synthesizer for the video data that one embodiment provides.Above-mentioned Fig. 7's or Fig. 8 On the basis of, as shown in figure 9, processing module 20 further include: territory element 203 and adjustment unit 204, in which:
Territory element 203, for determining the picture area of the second video data;
Adjustment unit 204, for according to the picture area of the second video data and the resolution ratio of the first video data, adjustment The resolution ratio of second video data.
In one embodiment, in recorded video data, the picture of the second video data is covered on the first video data Picture on;Picture of the picture of second video data less than the first video data.
It should be noted that Fig. 9 is based on being shown on the basis of Fig. 8, certain Fig. 9 can also be based on the knot of Fig. 7 Structure is shown, and is only a kind of example here.
The synthesizer of video data provided in an embodiment of the present invention can execute above method embodiment, realize former Reason is similar with technical effect, and details are not described herein.
Figure 10 is the structural schematic diagram of the synthesizer for the video data that one embodiment provides.In above-mentioned Fig. 7, Fig. 8 or On the basis of Fig. 9, as shown in Figure 10, the device further include: switching module 40, in which:
Switching module 40 is specifically used in recorded video data, receives the switching command of user's input;Switching command is used In the display area of instruction Switch Video data;According to switching command, the second view is played in the first display area of display screen Frequency evidence plays the first video data in the second display area of display screen, and the second display area covers the first display area Partial region.
In one embodiment, the second video data includes at least two the 5th video datas;Processing module 20 is also used to, Using image processing method, the picture of each 5th video data is embedded in the picture of the first video data respectively, obtains the Three video datas.
In one embodiment, the second video data includes the 6th video data and the 7th video data, in the second video In the picture of data, the picture of the 6th video data is embedded in the picture of the 7th video data.
It should be noted that Figure 10 is based on being shown on the basis of Fig. 9, certain Figure 10 can also be based on Fig. 7's Structure is shown, and can also be that the structure based on Fig. 8 is shown, and is only a kind of example here.
The synthesizer of video data provided in an embodiment of the present invention can execute above method embodiment, realize former Reason is similar with technical effect, and details are not described herein.
A kind of the specific of display device about video data limits the synthesis that may refer to above for video data The restriction of method, details are not described herein.Modules in the synthesizer of above-mentioned video data can be fully or partially through soft Part, hardware and combinations thereof are realized.Above-mentioned each module can be embedded in the form of hardware or independently of the processing in computer equipment It in device, can also be stored in a software form in the memory in computer equipment, in order to which processor calls execution above each The corresponding operation of a module.
In one embodiment, a kind of computer equipment is provided, which can be terminal device, inside Structure chart can be as shown in figure 11.The computer equipment includes that the processor, memory, network connected by system bus connects Mouth, display screen and input unit.Wherein, the processor of the computer equipment is for providing calculating and control ability.The computer The memory of equipment includes non-volatile memory medium, built-in storage.The non-volatile memory medium be stored with operating system and Computer program.The built-in storage provides ring for the operation of operating system and computer program in non-volatile memory medium Border.The network interface of the computer equipment is used to communicate with external terminal by network connection.The computer program is processed To realize a kind of method for shooting light filling when device executes.The display screen of the computer equipment can be liquid crystal display or electronics Ink display screen, the input unit of the computer equipment can be the touch layer covered on display screen, are also possible to computer and set Key, trace ball or the Trackpad being arranged on standby shell, can also be external keyboard, Trackpad or mouse etc..
It will be understood by those skilled in the art that structure shown in Figure 11, only part relevant to application scheme The block diagram of structure, does not constitute the restriction for the computer equipment being applied thereon to application scheme, and specific computer is set Standby may include perhaps combining certain components or with different component layouts than more or fewer components as shown in the figure.
In one embodiment, a kind of terminal device, including memory and processor are provided, the memory is stored with Computer program, the processor perform the steps of when executing the computer program
Obtain the first video data and the second video data;
Using preset image processing method, the picture of the second video data is embedded in the picture of the first video data In, obtain third video data;
Third video data is shown on the display screen.
In one embodiment, it is also performed the steps of when processor executes computer program and determines the second video data In the location information of each pixel on the display screen;Using image processing method, according to location information, by the second video counts According to picture be embedded in the picture of the first video data.
In one embodiment, it is also performed the steps of from the first video data when processor executes computer program Determine corresponding 4th video data of location information;4th video data is replaced using the second video data.
In one embodiment, it is also performed the steps of when processor executes computer program and determines the second video data Picture area;According to the resolution ratio of the picture area of the second video data and the first video data, the second video data is adjusted Resolution ratio.
In one embodiment, in recorded video data, the picture of the second video data is covered on the first video data Picture on;Picture of the picture of second video data less than the first video data.
In one embodiment, it also performs the steps of when processor executes computer program in recorded video data, Receive the switching command of user's input;Switching command is used to indicate the display area of Switch Video data;According to switching command, It shows that the first display area of screen plays the second video data, plays the first video counts in the second display area of display screen According to the second display area covers the partial region of the first display area.
In one embodiment, the second video data includes at least two the 5th video datas;Processor executes computer It is also performed the steps of when program using image processing method, the picture of each 5th video data is embedded in the first view respectively In the picture of frequency evidence, third video data is obtained.
In one embodiment, the second video data includes the 6th video data and the 7th video data, in the second video In the picture of data, the picture of the 6th video data is embedded in the picture of the 7th video data.
Terminal device provided in this embodiment, implementing principle and technical effect are similar with above method embodiment, herein It repeats no more.
In one embodiment, a kind of computer readable storage medium is provided, computer program is stored thereon with, is calculated Machine program performs the steps of when being executed by processor
Obtain the first video data and the second video data;
Using preset image processing method, the picture of the second video data is embedded in the picture of the first video data In, obtain third video data;
Third video data is shown on the display screen.
In one embodiment, it is performed the steps of when computer program is executed by processor and determines the second video data In the location information of each pixel on the display screen;Using image processing method, according to location information, by the second video counts According to picture be embedded in the picture of the first video data.
In one embodiment, it is performed the steps of when computer program is executed by processor from the first video data Determine corresponding 4th video data of location information;4th video data is replaced using the second video data.
In one embodiment, it is performed the steps of when computer program is executed by processor and determines the second video data Picture area;According to the resolution ratio of the picture area of the second video data and the first video data, the second video data is adjusted Resolution ratio.
In one embodiment, in recorded video data, the picture of the second video data is covered on the first video data Picture on;Picture of the picture of second video data less than the first video data.
In one embodiment, it is performed the steps of when computer program is executed by processor in recorded video data, Receive the switching command of user's input;Switching command is used to indicate the display area of Switch Video data;According to switching command, It shows that the first display area of screen plays the second video data, plays the first video counts in the second display area of display screen According to the second display area covers the partial region of the first display area.
In one embodiment, the second video data includes at least two the 5th video datas;Computer program is processed Device performs the steps of when executing using image processing method, and the picture of each 5th video data is embedded in the first view respectively In the picture of frequency evidence, third video data is obtained.
In one embodiment, the second video data includes the 6th video data and the 7th video data, in the second video In the picture of data, the picture of the 6th video data is embedded in the picture of the 7th video data.
Computer readable storage medium provided in this embodiment, implementing principle and technical effect and above method embodiment Similar, details are not described herein.
Those of ordinary skill in the art will appreciate that realizing all or part of the process in above-described embodiment method, being can be with Relevant hardware is instructed to complete by computer program, the computer program can be stored in a non-volatile computer In read/write memory medium, the computer program is when being executed, it may include such as the process of the embodiment of above-mentioned each method.Wherein, To any reference of memory, storage, database or other media used in each embodiment provided herein, Including non-volatile and/or volatile memory.Nonvolatile memory may include read-only memory (ROM), programming ROM (PROM), electrically programmable ROM (EPROM), electrically erasable ROM (EEPROM) or flash memory.Volatile memory may include Random access memory (RAM) or external cache.By way of illustration and not limitation, RAM is available in many forms, Such as static state RAM (SRAM), dynamic ram (DRAM), synchronous dram (SDRAM), double data rate sdram (DDRSDRAM), enhancing Type SDRAM (ESDRAM), synchronization link (Synchlink) DRAM (SLDRAM), memory bus (Rambus) direct RAM (RDRAM), direct memory bus dynamic ram (DRDRAM) and memory bus dynamic ram (RDRAM) etc..
Each technical characteristic of embodiment described above can be combined arbitrarily, for simplicity of description, not to above-mentioned reality It applies all possible combination of each technical characteristic in example to be all described, as long as however, the combination of these technical characteristics is not deposited In contradiction, all should be considered as described in this specification.
The embodiments described above only express several embodiments of the present invention, and the description thereof is more specific and detailed, but simultaneously It cannot therefore be construed as limiting the scope of the patent.It should be pointed out that coming for those of ordinary skill in the art It says, without departing from the inventive concept of the premise, various modifications and improvements can be made, these belong to protection of the invention Range.Therefore, the scope of protection of the patent of the invention shall be subject to the appended claims.

Claims (11)

1. a kind of synthetic method of video data characterized by comprising
Obtain the first video data and the second video data;
Using preset image processing method, the picture of second video data is embedded in the picture of first video data In face, third video data is obtained;
The third video data is shown on the display screen.
2. the method according to claim 1, wherein described use preset image processing method, by described the The picture of two video datas is embedded in the picture of first video data, obtains third video data, comprising:
Determine the location information of each pixel on the display screen in second video data;
Using described image processing method, according to the positional information, the picture of second video data is embedded in described In the picture of first video data.
3. according to the method described in claim 2, it is characterized in that, described use described image processing method, according to institute's rheme Confidence breath, the picture of second video data is embedded in the picture of first video data, comprising:
Corresponding 4th video data of the location information is determined from first video data;
4th video data is replaced using second video data.
4. according to the method described in claim 3, it is characterized in that, described using second video data replacement the described 4th Before video data, the method also includes:
Determine the picture area of second video data;
According to the resolution ratio of the picture area of second video data and first video data, second video is adjusted The resolution ratio of data.
5. method according to claim 1-4, which is characterized in that in recorded video data, second view The picture of frequency evidence is covered on the picture of first video data;The picture of second video data is less than described the The picture of one video data.
6. according to method described in the claim 5, which is characterized in that the method also includes:
In recorded video data, the switching command of user's input is received;The switching command is used to indicate Switch Video data Display area;
According to the switching command, second video data is played in the first display area of the display screen, described Show that the second display area of screen plays first video data, second display area covers first viewing area The partial region in domain.
7. method according to claim 1-4, which is characterized in that second video data includes at least two 5th video data;It is described to use preset image processing method, the picture of second video data is embedded in described the In the picture of one video data, third video data is obtained, comprising:
Using described image processing method, the picture of each 5th video data is embedded in first video data respectively Picture in, obtain third video data.
8. method according to claim 1-4, which is characterized in that second video data includes the 6th video Data and the 7th video data, in the picture of second video data, the picture of the 6th video data is embedded in institute In the picture for stating the 7th video data.
9. a kind of synthesizer of video data, which is characterized in that described device includes:
Module is obtained, for obtaining the first video data and the second video data;
The picture of second video data is embedded in described for using preset image processing method by processing module In the picture of one video data, third video data is obtained;
Display module, for showing the third video data on the display screen.
10. a kind of computer equipment, including memory and processor, the memory are stored with computer program, feature exists In when the processor executes the computer program the step of any one of realization claim 1-8 the method.
11. a kind of computer readable storage medium, is stored thereon with computer program, which is characterized in that the computer program The step of method of any of claims 1-8 is realized when being executed by processor.
CN201811326876.XA 2018-11-08 2018-11-08 Synthetic method, device, equipment and the storage medium of video data Pending CN109525880A (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN201811326876.XA CN109525880A (en) 2018-11-08 2018-11-08 Synthetic method, device, equipment and the storage medium of video data

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN201811326876.XA CN109525880A (en) 2018-11-08 2018-11-08 Synthetic method, device, equipment and the storage medium of video data

Publications (1)

Publication Number Publication Date
CN109525880A true CN109525880A (en) 2019-03-26

Family

ID=65773752

Family Applications (1)

Application Number Title Priority Date Filing Date
CN201811326876.XA Pending CN109525880A (en) 2018-11-08 2018-11-08 Synthetic method, device, equipment and the storage medium of video data

Country Status (1)

Country Link
CN (1) CN109525880A (en)

Cited By (4)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN110572411A (en) * 2019-09-18 2019-12-13 北京云中融信网络科技有限公司 Method and device for testing video transmission quality
CN110784735A (en) * 2019-11-12 2020-02-11 广州虎牙科技有限公司 Live broadcast method and device, mobile terminal, computer equipment and storage medium
CN114286177A (en) * 2021-12-28 2022-04-05 北京快来文化传播集团有限公司 Video splicing method and device and electronic equipment
CN114286159A (en) * 2021-12-28 2022-04-05 北京快来文化传播集团有限公司 Video editing method and device and electronic equipment

Citations (8)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JP2007121378A (en) * 2005-10-25 2007-05-17 Sharp Corp Video display device
CN101204089A (en) * 2005-06-20 2008-06-18 夏普株式会社 Video data reproducing device, video data generating device, and recording medium
US20110102671A1 (en) * 2009-10-29 2011-05-05 Apple Inc. Picture in Picture Video Display for Low Power Device
CN103916699A (en) * 2012-12-31 2014-07-09 德州仪器公司 System and method for generating 360 degree video recording using MVC
US20150103135A1 (en) * 2010-04-07 2015-04-16 Apple Inc. Compositing Pairs Of Image Frames From Different Cameras Of A Mobile Device To Generate A Video Stream
CN205596207U (en) * 2016-05-17 2016-09-21 徐文波 Camera
CN106792152A (en) * 2017-01-17 2017-05-31 腾讯科技(深圳)有限公司 A kind of image synthesizing method and terminal
CN108243318A (en) * 2016-12-30 2018-07-03 广州华多网络科技有限公司 A kind of list interface realizes the method and device of more image acquisition device live streamings

Patent Citations (8)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN101204089A (en) * 2005-06-20 2008-06-18 夏普株式会社 Video data reproducing device, video data generating device, and recording medium
JP2007121378A (en) * 2005-10-25 2007-05-17 Sharp Corp Video display device
US20110102671A1 (en) * 2009-10-29 2011-05-05 Apple Inc. Picture in Picture Video Display for Low Power Device
US20150103135A1 (en) * 2010-04-07 2015-04-16 Apple Inc. Compositing Pairs Of Image Frames From Different Cameras Of A Mobile Device To Generate A Video Stream
CN103916699A (en) * 2012-12-31 2014-07-09 德州仪器公司 System and method for generating 360 degree video recording using MVC
CN205596207U (en) * 2016-05-17 2016-09-21 徐文波 Camera
CN108243318A (en) * 2016-12-30 2018-07-03 广州华多网络科技有限公司 A kind of list interface realizes the method and device of more image acquisition device live streamings
CN106792152A (en) * 2017-01-17 2017-05-31 腾讯科技(深圳)有限公司 A kind of image synthesizing method and terminal

Cited By (4)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN110572411A (en) * 2019-09-18 2019-12-13 北京云中融信网络科技有限公司 Method and device for testing video transmission quality
CN110784735A (en) * 2019-11-12 2020-02-11 广州虎牙科技有限公司 Live broadcast method and device, mobile terminal, computer equipment and storage medium
CN114286177A (en) * 2021-12-28 2022-04-05 北京快来文化传播集团有限公司 Video splicing method and device and electronic equipment
CN114286159A (en) * 2021-12-28 2022-04-05 北京快来文化传播集团有限公司 Video editing method and device and electronic equipment

Similar Documents

Publication Publication Date Title
US10547778B2 (en) Image display device for displaying an image in an image display area, and storage medium storing image display program for displaying an image in an image display area
CN109525880A (en) Synthetic method, device, equipment and the storage medium of video data
US20060139321A1 (en) Display status modifying apparatus and method, display status modifying program and storage medium storing the same, picture providing apparatus and method, picture providing program and storage medium storing the same, and picture providing system
JP5524653B2 (en) Display control apparatus and control method thereof
WO2022110819A1 (en) Video switching method and apparatus
CN109525884B (en) Video sticker adding method, device, equipment and storage medium based on split screen
CN108924622B (en) Video processing method and device, storage medium and electronic device
US20040012621A1 (en) Hyper-media information providing method, hyper-media information providing program and hyper-media information providing apparatus
KR100855611B1 (en) Method, apparatus and system for showing and editing multiple video streams on a small screen with a minimal input device
JP2001197366A (en) Picture synthesis method and recording medium recording picture synthesis program
JP4926852B2 (en) Image display device, image data providing device, image display system, image display system control method, control program, and recording medium
CN110019866B (en) Dynamic picture playing method, device and storage medium
CN109413352B (en) Video data processing method, device, equipment and storage medium
CN113852757B (en) Video processing method, device, equipment and storage medium
CN110708591B (en) Image processing method and device and electronic equipment
JP4926853B2 (en) Image display device, image data providing device, image display system, image display system control method, control program, and recording medium
JP2008067355A (en) Image display device, image data providing device, image display system, image display system control method, control program, and recording medium
CN115904168A (en) Multi-device-based image material processing method and related device
CN109743635A (en) Comment on answering method, device, equipment and storage medium
JP2017116900A (en) Information processing system, its control method, and program
JP2008154075A (en) Video processor, and control method, program and storage medium thereof
JP6579925B2 (en) Image reproducing apparatus, control method therefor, program, and recording medium
JP2018006868A (en) Moving image reproducing device, moving image reproducing method, and program
JP5419783B2 (en) Image reproducing apparatus and method for controlling image reproducing apparatus
CN106933455A (en) The processing method and processing unit of application icon

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: 20190326

RJ01 Rejection of invention patent application after publication