CN107205165A - Picture and text stacking method and device - Google Patents
Picture and text stacking method and device Download PDFInfo
- Publication number
- CN107205165A CN107205165A CN201710560710.3A CN201710560710A CN107205165A CN 107205165 A CN107205165 A CN 107205165A CN 201710560710 A CN201710560710 A CN 201710560710A CN 107205165 A CN107205165 A CN 107205165A
- Authority
- CN
- China
- Prior art keywords
- text
- data
- image
- picture
- digital video
- 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
Links
Classifications
-
- H—ELECTRICITY
- H04—ELECTRIC COMMUNICATION TECHNIQUE
- H04N—PICTORIAL COMMUNICATION, e.g. TELEVISION
- H04N21/00—Selective content distribution, e.g. interactive television or video on demand [VOD]
- H04N21/20—Servers specifically adapted for the distribution of content, e.g. VOD servers; Operations thereof
- H04N21/23—Processing of content or additional data; Elementary server operations; Server middleware
- H04N21/236—Assembling of a multiplex stream, e.g. transport stream, by combining a video stream with other content or additional data, e.g. inserting a URL [Uniform Resource Locator] into a video stream, multiplexing software data into a video stream; Remultiplexing of multiplex streams; Insertion of stuffing bits into the multiplex stream, e.g. to obtain a constant bit-rate; Assembling of a packetised elementary stream
- H04N21/23608—Remultiplexing multiplex streams, e.g. involving modifying time stamps or remapping the packet identifiers
-
- H—ELECTRICITY
- H04—ELECTRIC COMMUNICATION TECHNIQUE
- H04N—PICTORIAL COMMUNICATION, e.g. TELEVISION
- H04N21/00—Selective content distribution, e.g. interactive television or video on demand [VOD]
- H04N21/40—Client devices specifically adapted for the reception of or interaction with content, e.g. set-top-box [STB]; Operations thereof
- H04N21/43—Processing 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/4302—Content synchronisation processes, e.g. decoder synchronisation
- H04N21/4305—Synchronising client clock from received content stream, e.g. locking decoder clock with encoder clock, extraction of the PCR packets
-
- H—ELECTRICITY
- H04—ELECTRIC COMMUNICATION TECHNIQUE
- H04N—PICTORIAL COMMUNICATION, e.g. TELEVISION
- H04N21/00—Selective content distribution, e.g. interactive television or video on demand [VOD]
- H04N21/40—Client devices specifically adapted for the reception of or interaction with content, e.g. set-top-box [STB]; Operations thereof
- H04N21/43—Processing 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/4302—Content synchronisation processes, e.g. decoder synchronisation
- H04N21/4307—Synchronising 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
-
- H—ELECTRICITY
- H04—ELECTRIC COMMUNICATION TECHNIQUE
- H04N—PICTORIAL COMMUNICATION, e.g. TELEVISION
- H04N21/00—Selective content distribution, e.g. interactive television or video on demand [VOD]
- H04N21/40—Client devices specifically adapted for the reception of or interaction with content, e.g. set-top-box [STB]; Operations thereof
- H04N21/43—Processing 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/431—Generation of visual interfaces for content selection or interaction; Content or additional data rendering
- H04N21/4312—Generation 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/4314—Generation 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 fitting data in a restricted space on the screen, e.g. EPG data in a rectangular grid
-
- H—ELECTRICITY
- H04—ELECTRIC COMMUNICATION TECHNIQUE
- H04N—PICTORIAL COMMUNICATION, e.g. TELEVISION
- H04N21/00—Selective content distribution, e.g. interactive television or video on demand [VOD]
- H04N21/40—Client devices specifically adapted for the reception of or interaction with content, e.g. set-top-box [STB]; Operations thereof
- H04N21/47—End-user applications
- H04N21/488—Data services, e.g. news ticker
- H04N21/4884—Data services, e.g. news ticker for displaying subtitles
-
- H—ELECTRICITY
- H04—ELECTRIC COMMUNICATION TECHNIQUE
- H04N—PICTORIAL COMMUNICATION, e.g. TELEVISION
- H04N21/00—Selective content distribution, e.g. interactive television or video on demand [VOD]
- H04N21/80—Generation or processing of content or additional data by content creator independently of the distribution process; Content per se
- H04N21/85—Assembly of content; Generation of multimedia applications
- H04N21/854—Content authoring
- H04N21/8547—Content authoring involving timestamps for synchronizing content
Landscapes
- Engineering & Computer Science (AREA)
- Multimedia (AREA)
- Signal Processing (AREA)
- Computer Security & Cryptography (AREA)
- Compression Or Coding Systems Of Tv Signals (AREA)
Abstract
The present invention provides a kind of picture and text stacking method and device, and terminal is superimposed applied to picture and text, and methods described includes:The video stream data received is converted into digital video frequency flow;Obtain image, text and data;By the digital video frequency flow after conversion and the image, text and data progress map overlay obtained, the digital video frequency flow for including image, text and data is generated;TS flow data of the coding generation with image, text and data is compressed to the digital video frequency flow comprising image, text and data.The picture and text overlaying scheme that the present invention is provided, by the way that the video stream data of input and the image, text and data of acquisition are carried out into map overlay, then the video flowing comprising image, text and data is compressed coding again, finally carry out video frequency output, the picture and text overlaying scheme improves level of integrated system, both the quality of vision signal had been ensure that, number of devices is saved again and production cost is reduced.
Description
Technical field
The present invention relates to broadcasting television technology field, in particular to a kind of picture and text stacking method and device.
Background technology
With the development of science and technology and living standards of the people raising, video turned into people's work, study, it is social with
And irreplaceable important way in amusement and recreation.At present, in video editing system, conventional picture and text supercomposed coding scheme is
Vision signal is first subjected to picture and text overlap-add procedure by film titler or collecting and editing system to vision signal, then again by vision signal
Sent by SDI, HDMI to encoder, encoder is transmitted after the video after processing is encoded.Wherein, captions
Chance changes vision signal by AD/DA, so as to lose video quality.And number of devices when system is built in existing method
Many, cost is higher.
The content of the invention
In view of this, it is an object of the invention to provide a kind of picture and text stacking method and device, to solve the above problems.
Present pre-ferred embodiments provide a kind of picture and text stacking method, and terminal is superimposed applied to picture and text, and methods described includes:
The video stream data received is converted into digital video frequency flow;
Obtain image, text and data;
By the digital video frequency flow after conversion and the image, text and data progress map overlay obtained, generate and include image, text and data
Digital video frequency flow;
TS flow data of the coding generation with image, text and data is compressed to the digital video frequency flow comprising image, text and data.
Further, the picture and text superposition terminal includes multiple input interfaces, described to turn the video stream data received
Before the step of being changed to digital video frequency flow, methods described also includes:
The multiple input interface is converted to the digital visual interface of standard;
The video stream data of input is received by the digital visual interface;
The described pair of digital video frequency flow comprising image, text and data is compressed TS flow data of the coding generation with image, text and data
The step of after, methods described also includes:
The TS flow datas are exported by ASI interfaces or IP interfaces.
Further, the digital video frequency flow by after conversion carries out map overlay with the image, text and data obtained, raw
The step of into digital video frequency flow comprising image, text and data, including:
Configure the overlapped information of the image, text and data;
The image, text and data is schemed with each frame video image in the digital video frequency flow according to the overlapped information
Stacking adds, and generation includes the digital video frequency flow of image, text and data.
Further, methods described also includes:
Set the reference clock of a linear increment;
Each block of video data in digital video frequency flow after conversion is added by upper timestamp according to the reference clock;
The image, text and data is added by upper timestamp by preset rules according to the reference clock, wherein, the picture and text number
According to timestamp include the image, text and data show at the beginning of between, show end time and display frequency;
Read the time on the timestamp and the image, text and data in each block of video data in the digital video frequency flow
Stamp, is shown the image, text and data on the video images by the preset rules.
Further, the picture and text superposition terminal can be communicated to connect with exterior terminal, and the image, text and data is from local
Obtained in memory, or obtained in the exterior terminal being connected with picture and text superposition terminal communication.
Further, the image, text and data include station symbol, text subtile, programm name, clock, Quick Response Code, TV guide,
Countdown and predetermined pictures.
Further, the image, text and data includes image data and lteral data, the superposition of the image, text and data of configuration
Information includes superposed positions and superposition transparency, the word of the lteral data of the image data and/or the lteral data
Body display color and background color.
Another preferred embodiment of the present invention provides a kind of picture and text stacking apparatus, and terminal, the picture and text are superimposed applied to picture and text
Stacking apparatus includes modular converter, acquisition module, laminating module and coding module;
The modular converter is used to the video stream data received being converted to digital video frequency flow;
The acquisition module is used to obtain image, text and data;
The image, text and data that the laminating module is used for by the digital video frequency flow after conversion with obtaining carries out map overlay,
Generation includes the digital video frequency flow of image, text and data;
The coding module is used to be compressed the digital video frequency flow comprising image, text and data coding generation with picture and text number
According to TS flow datas.
Further, the laminating module includes dispensing unit and map overlay unit;
The dispensing unit is used for the overlapped information for configuring the image, text and data;
The map overlay unit is used in the image, text and data and the digital video frequency flow according to the overlapped information
Each frame video image carry out map overlay, generation includes the digital video frequency flow of image, text and data.
Further, the picture and text stacking apparatus also include setting module, the first add module, the second add module and
Read module;
The setting module is used for the reference clock for setting a linear increment;
First add module is used for each video in the digital video frequency flow after conversion according to the reference clock
The upper timestamp of data block addition;
When second add module is used to be added the image, text and data by preset rules according to the reference clock
Between stab, wherein, the timestamp of the image, text and data include at the beginning of the image, text and data show between, end time for showing with
And the frequency of display;
Timestamp that the read module is used to read in each block of video data in the digital video frequency flow and described
Timestamp on image, text and data, is shown the image, text and data on the video images by the preset rules.
Picture and text stacking method and device provided in an embodiment of the present invention, by by the video stream data of input with obtain figure
Literary data carry out map overlay, and the video flowing comprising image, text and data then is compressed into coding again, video frequency output is finally carried out.
The picture and text overlaying scheme, improves level of integrated system, both ensure that the quality of vision signal, and number of devices and reduction are saved again
Production cost.
To enable the above objects, features and advantages of the present invention to become apparent, preferred embodiment cited below particularly, and coordinate
Appended accompanying drawing, is described in detail below.
Brief description of the drawings
In order to illustrate the technical solution of the embodiments of the present invention more clearly, below will be attached to what is used required in embodiment
Figure is briefly described, it will be appreciated that the following drawings illustrate only certain embodiments of the present invention, therefore is not construed as pair
The restriction of scope, for those of ordinary skill in the art, on the premise of not paying creative work, can also be according to this
A little accompanying drawings obtain other related accompanying drawings.
Fig. 1 is superimposed the schematic block diagram of terminal for a kind of picture and text that present pre-ferred embodiments are provided.
A kind of flow chart for picture and text stacking method that Fig. 2 provides for present pre-ferred embodiments.
Another flow chart for the picture and text stacking method that Fig. 3 provides for present pre-ferred embodiments.
The flow chart for the sub-step that Fig. 4 is step S103 in Fig. 2.
Another flow chart for the picture and text stacking method that Fig. 5 provides for present pre-ferred embodiments.
The functional block diagram for the picture and text stacking apparatus that Fig. 6 provides for present pre-ferred embodiments.
The functional block diagram for the laminating module that Fig. 7 provides for present pre-ferred embodiments.
Another functional block diagram for the picture and text stacking apparatus that Fig. 8 provides for present pre-ferred embodiments.
Icon:100- picture and text are superimposed terminal;110- picture and text stacking apparatus;111- modular converters;112- acquisition modules;113-
Laminating module;1131- dispensing units;1132- map overlay units;114- coding modules;115- interface modular converters;116- connects
Receive module;117- setting modules;The add modules of 118- first;The add modules of 119- second;1110- read modules;120- processing
Device;130- memories.
Embodiment
Below in conjunction with accompanying drawing in the embodiment of the present invention, the technical scheme in the embodiment of the present invention is carried out clear, complete
Ground is described, it is clear that described embodiment is only a part of embodiment of the invention, rather than whole embodiments.Generally exist
The component of the embodiment of the present invention described and illustrated in accompanying drawing can be arranged and designed with a variety of configurations herein.Cause
This, the detailed description of the embodiments of the invention to providing in the accompanying drawings is not intended to limit claimed invention below
Scope, but it is merely representative of the selected embodiment of the present invention.Based on embodiments of the invention, those skilled in the art are not doing
The every other embodiment obtained on the premise of going out creative work, belongs to the scope of protection of the invention.
It should be noted that:Similar label and letter represents similar terms in following accompanying drawing, therefore, once a certain Xiang Yi
It is defined in individual accompanying drawing, then it further need not be defined and explained in subsequent accompanying drawing.Meanwhile, the present invention's
In description, unless otherwise clearly defined and limited, term " installation ", " setting ", " connection " should be interpreted broadly, for example, can
To be to be fixedly connected or be detachably connected, or it is integrally connected;Can be mechanical connection or electrical connection;Can
It to be to be joined directly together, can also be indirectly connected to by intermediary, can be the connection of two element internals.For this area
For those of ordinary skill, the concrete meaning of above-mentioned term in the present invention can be understood with concrete condition.
Referring to Fig. 1, being superimposed the schematic structure frame of terminal 100 for a kind of picture and text that present pre-ferred embodiments are provided
Figure.The picture and text superposition terminal 100 includes picture and text stacking apparatus 110, processor 120 and memory 130.Wherein, the storage
Directly or indirectly it is electrically connected between device 130 and processor 120, to realize the transmission or interaction of data.The picture and text superposition
Device 110 includes at least one can be stored in the memory 130 or be solidificated in the picture and text in the form of software or firmware
Software function module in the operating system of stacking apparatus 110.The processor 120 is used to perform what is stored in memory 130
Executable module, such as software function module or computer program that described picture and text stacking apparatus 110 includes.In the present embodiment
In, the picture and text stacking apparatus 110 can be the independent terminal device with data-handling capacity.
As shown in Fig. 2 being the figure that a kind of picture and text applied to shown in Fig. 1 provided in an embodiment of the present invention are superimposed terminal 100
The indicative flowchart of literary stacking method.Should illustrate it is that the method that the present embodiment is provided is not with Fig. 2 and order as described below
For limitation.The idiographic flow shown in Fig. 2 will be explained in detail below.
Step S101, digital video frequency flow is converted to by the video stream data received.
Step S102, obtains image, text and data.
Step S103, by the digital video frequency flow after conversion and the image, text and data progress map overlay obtained, generation bag
Digital video frequency flow containing image, text and data.
Alternatively, in the present embodiment, the picture and text superposition terminal 100 includes multiple input interfaces, for convenience subsequently
Vision signal is handled, referring to Fig. 3, in the present embodiment, the picture and text stacking method is further comprising the steps of:
Step S201, the multiple input interface is converted to the digital visual interface of standard.
Step S202, the video stream data of input is received by the digital visual interface.
Alternatively, in the present embodiment, it is necessary to by analog video or HDMI, SDI interface conversions into standard number
The BT656 (SD) or BT709 (high definition) digital visual interface of word video interface, such as standard.Then regarded by the numeral
The real-time video flow data of frequency interface input, and the video stream data is converted into digital video frequency flow.Alternatively, in this reality
Apply in example, the picture and text superposition terminal 100 can be communicatively coupled with exterior terminal.User can be carried out long-range by network
Operation, terminal 100 is superimposed so that image, text and data is sent to the picture and text.The picture and text superposition terminal 100 will can also be waited to fold
Plus image, text and data store into local storage, in order to the picture and text be superimposed terminal 100 when in off-line state,
Picture and text overlaying function can be realized.Therefore, in the present embodiment, the approach for obtaining image, text and data can be from folded with the picture and text
Plus the exterior terminal that terminal 100 is communicated to connect is obtained, or the local storage for being superimposed terminal 100 from the picture and text is obtained
Take.Then the digital video frequency flow after the image, text and data got and conversion is subjected to map overlay, generation includes image, text and data
Digital video frequency flow.
Alternatively, referring to Fig. 4, in the present embodiment, step S103 can include step S1031 and step S1032 two
Sub-steps.
Step S1031, configures the overlapped information of the image, text and data.
Step S1033, according to the overlapped information by each frame video in the image, text and data and the digital video frequency flow
Image carries out map overlay, and generation includes the digital video frequency flow of image, text and data.
In the present embodiment, the image, text and data include station symbol, text subtile, programm name, Quick Response Code, TV guide,
Countdown and predetermined pictures etc..Video image in above-mentioned image, text and data and digital video frequency flow is subjected to map overlay, it is first
First before map overlay is carried out, in addition it is also necessary to which the overlapped information of image, text and data is configured.For example, the image, text and data of configuration
Overlapped information includes image data and/or superposed positions and superposition transparency, the font of lteral data of lteral data show face
Color and background color etc..In the present embodiment, can be to the superposed positions and superposition transparency of image data, the word of lteral data
Body display color and background color etc. carry out flexible configuration.
Then image, text and data is superimposed in the video image of respective frame according to the overlapped information configured.Alternatively, exist
In the present embodiment, when carrying out map overlay, multiple image, text and datas can be superimposed on same frame video image, it is many to realize
Map overlay function.Alternatively, in the present embodiment, it can realize that the figure layer of image, text and data and video data stream is folded by FPGA
Plus.
Wherein, station symbol is the mark of a channel, and user can voluntarily set station symbol according to the actual requirements.It should be appreciated that
All programs of same channel use same station symbol, therefore, for same channel, without by station symbol and the channel
Multiple programs are corresponded.The station symbol of setting only need to be superimposed to every two field picture figure layer in digital video frequency flow.
Text subtile includes brief text information and advertising message etc., it should be understood that the text subtile can also be directed to
Broadcasting content in each program shows, wherein, text subtile is corresponding with the voice in program, therefore the word word
Curtain can be got by automatic speech recognition or be got by human-edited first.
Quick Response Code is the two-dimentional code mark corresponding to the chained address of user's sets itself, and the Quick Response Code is in video playback
The display time can be that absolute time can also be relative time relative to certain program start time, and the duration of display can
To pre-set as needed.
Countdown refers to that at the time of some significant instants need to carry out between countdown, user can according to the actual requirements certainly
Setting needs of going fall the duration counted, and quarter and finish time etc. at the beginning of meter.
Clock refers to the display of current time, and the time shown by clock can directly be read from system, and clock
The shown time can uninterruptedly be shown or only shown in integral point or the least bit long lasting for ground.For tool
The display mode of body, in the present embodiment and is not particularly limited.
Step S104, TS of the coding generation with image, text and data is compressed to the digital video frequency flow comprising image, text and data and is flowed
Data.
, it is necessary to be compressed coding to video data to reduce data volume, reduction is regarded before video data transmission is carried out
The code check of frequency signal transmission.Alternatively, the streams of the ES comprising image, text and data after compression are divided into the number that length is not waited according to demand
According to bag, along with the elementary stream PES that packet header is formed packing flows.PES streams are packed to form TS flow datas again, with
Continue after an action of the bowels and be transmitted.
Alternatively, in the present embodiment, the picture and text stacking method can also comprise the following steps after step s 104:
The TS flow datas are exported by ASI interfaces or IP interfaces.
Alternatively, referring to Fig. 5, in the present embodiment, the picture and text stacking method can also comprise the following steps:
Step S301, sets the reference clock of a linear increment.
Step S302, according to the reference clock by each block of video data addition in the digital video frequency flow after conversion
Timestamp.
Step S303, upper timestamp is added according to the reference clock by preset rules by the image, text and data, wherein, institute
State image, text and data timestamp include the image, text and data show at the beginning of between, show end time and display frequency
Rate.
Step S304, reads the timestamp and the image, text and data in each block of video data in the digital video frequency flow
On timestamp, the image, text and data is shown on the video images by the preset rules.
Alternatively, in the present embodiment, the time that can be shown to the image, text and data and display frequency and cycle enter
Row is default.Alternatively, a reference clock can be selected first, in general manner, it is desirable to which the time on the reference clock is linearly to pass
Increase.When the video stream data to receiving carries out conversion generation digital video frequency flow, to each video in digital video frequency flow
The upper timestamp of data block addition.
Also, according to preset rules, the image, text and data is added by upper timestamp according to the reference clock.For example, institute
Between stating at the beginning of image, text and data is shown, the end time that the image, text and data is shown, and the image, text and data are continuously displayed
Frequency and cycle etc..It is arranged such, the image, text and data can be made to realize that timing cycle is broadcast on the video pictures of broadcasting
Put.
When carrying out map overlay, the timestamp in each block of video data in the digital video frequency flow and institute are read
The timestamp of image, text and data is stated to be overlapped.Between for example on certain image, text and data at the beginning of be more than current reference clock on when
Between, then it is not eager to be superimposed the image, text and data, between reference clock is reached at the beginning of the image, text and data.If certain image, text and data
Time started is less than the time on current reference clock, then needs to arrange to be superimposed the image, text and data in time, or by the picture and text
Data carry out discard processing, so that image, text and data is overlapped according to the timestamp of setting.
The above-mentioned processing mode spoken for announcer with captions when corresponding, it will be appreciated that if text subtile is broadcast with video
When putting content without direct relation, then time management can be carried out not necessarily in aforesaid way.Alternatively, if text subtile is with playing
Content without direct relation, then at the beginning of image, text and data can be shown between, end time and display frequency be set to absolute time,
It is i.e. unrelated with playing progress rate.
Referring to Fig. 6, the functional block diagram of the picture and text stacking apparatus 110 provided for another preferred embodiment of the invention.
The picture and text stacking apparatus 110 includes modular converter 111, acquisition module 112, laminating module 113 and coding module 114.
The modular converter 111 is used to the video stream data received being converted to digital video frequency flow.Specifically, the conversion
Module 111 can be used for performing the step S101 shown in Fig. 2, and specific operating method refers to step S101 detailed description.
The acquisition module 112 is used to obtain image, text and data.Specifically, the acquisition module 112 can be used for performing institute in Fig. 2
The step S102 shown, specific operating method refers to step S102 detailed description.
The image, text and data that the laminating module 113 is used for by the digital video frequency flow after conversion with obtaining carries out figure layer and folded
Plus, generation includes the digital video frequency flow of image, text and data.Specifically, the step of laminating module 113 can be used for performing shown in Fig. 2
S103, specific operating method refers to step S103 detailed description.
The coding module 114 is used to be compressed the digital video frequency flow comprising image, text and data coding generation with picture and text
The TS flow datas of data.Specifically, the coding module 114 can be used for performing the step S104 shown in Fig. 2, specific operation side
Method refers to step S104 detailed description.
Alternatively, referring to Fig. 7, in the present embodiment, the laminating module 113 can include dispensing unit 1131 and
Map overlay unit 1132.
The dispensing unit 1131 is used for the overlapped information for configuring the image, text and data.Specifically, the dispensing unit 1131
Available for the step S1031 performed shown in Fig. 4, specific operating method refers to step S1031 detailed description.
The map overlay unit 1132 is used for the image, text and data and the digital video according to the overlapped information
Each frame video image in stream carries out map overlay, and generation includes the digital video frequency flow of image, text and data.Specifically, the map overlay
Unit 1132 can be used for performing the step S1032 shown in Fig. 4, and specific operating method refers to retouching in detail for step S1032
State.
Alternatively, referring to Fig. 8, in the present embodiment, the picture and text stacking apparatus 110 can also include interface conversion mould
Block 115, receiving module 116, setting module 117, the first add module 118, the second add module 119 and read module
1110。
The interface modular converter 115 is used for the digital visual interface that the multiple input interface is converted to standard.Tool
Body, the interface modular converter 115 can be used for performing the step S201 shown in Fig. 3, and specific operating method refers to step
S201 detailed description.
The receiving module 116 is used for the video stream data that input is received by the digital visual interface.Specifically, should
Receiving module 116 can be used for performing the step S202 shown in Fig. 3, and specific operating method refers to retouching in detail for step S202
State.
The setting module 117 is used for the reference clock for setting a linear increment.Specifically, the setting module 117 can use
In performing the step S301 shown in Fig. 5, specific operating method refers to step S301 detailed description.
First add module 118 is used to be regarded each in the digital video frequency flow after conversion according to the reference clock
The upper timestamp of frequency data block addition.Specifically, first add module 118 can be used for performing the step S302 shown in Fig. 5, tool
The operating method of body refers to step S302 detailed description.
Second add module 119 is used to be added the image, text and data by preset rules according to the reference clock
Timestamp, wherein, the timestamp of the image, text and data include at the beginning of the image, text and data show between, end time for showing
And the frequency of display.Specifically, second add module 119 can be used for performing the step S303 shown in Fig. 5, specific behaviour
Step S303 detailed description is referred to as method.
Timestamp that the read module 1110 is used to read in each block of video data in the digital video frequency flow and
Timestamp on the image, text and data, is shown the image, text and data on the video images by the preset rules.Specifically, should
Read module 1110 can be used for performing the step S304 shown in Fig. 5, and specific operating method refers to the detailed of step S304
Description.
In summary, the present invention is provided a kind of picture and text stacking method and device, terminal 100, institute are superimposed applied to picture and text
Stating picture and text superposition terminal 100 includes multiple input interfaces.The picture and text overlaying scheme is by by the video stream data of input and acquisition
Graph text information carry out map overlay, the video flowing comprising image, text and data is then compressed coding again, video is finally carried out
Output, this solution provides level of integrated system, both ensure that the quality of vision signal, number of devices is saved again and life is reduced
Produce cost.
Further, image, text and data can be sent to the picture and text and be superimposed terminal 100 by user by remote operation, remote to realize
Process control.It is offline to realize and picture and text superposition terminal 100 can preserve image, text and data to be superimposed into local storage
Keep function.
Further, the display time of image, text and data can be preset, and can be realized calmly by the picture and text overlaying scheme
When loop play function.
, can also be by other in embodiment provided herein, it should be understood that disclosed apparatus and method
Mode realize.Device embodiment described above is only schematical, for example, the flow chart and block diagram in accompanying drawing are shown
Devices in accordance with embodiments of the present invention, architectural framework in the cards, function and the behaviour of method and computer program product
Make.At this point, each square frame in flow chart or block diagram can represent a part for a module, program segment or code, institute
The part for stating module, program segment or code includes one or more executable instructions for being used to realize defined logic function.
It should also be noted that in some implementations as replacement, the function of being marked in square frame can also be with different from accompanying drawing
The order marked occurs.For example, two continuous square frames can essentially be performed substantially in parallel, they sometimes can also be by
Opposite order is performed, and this is depending on involved function.It is also noted that each square frame in block diagram and/or flow chart,
And the combination of the square frame in block diagram and/or flow chart, can be with function or action as defined in performing it is special based on hardware
System realize, or can be realized with the combination of specialized hardware and computer instruction.
It should be noted that herein, term " comprising ", "comprising" or its any other variant are intended to non-row
His property is included, so that process, method, article or equipment including a series of key elements not only include those key elements, and
And also including other key elements being not expressly set out, or also include for this process, method, article or equipment institute inherently
Key element.In the absence of more restrictions, the key element limited by sentence "including a ...", it is not excluded that including institute
Also there is other identical element in process, method, article or the equipment of stating key element.
The preferred embodiments of the present invention are the foregoing is only, are not intended to limit the invention, for the skill of this area
For art personnel, the present invention can have various modifications and variations.Within the spirit and principles of the invention, that is made any repaiies
Change, equivalent substitution, improvement etc., should be included in the scope of the protection.It should be noted that:Similar label and letter exists
Similar terms is represented in following accompanying drawing, therefore, once being defined in a certain Xiang Yi accompanying drawing, is then not required in subsequent accompanying drawing
It is further defined and explained.
The foregoing is only a specific embodiment of the invention, but protection scope of the present invention is not limited thereto, any
Those familiar with the art the invention discloses technical scope in, change or replacement can be readily occurred in, should all be contained
Cover within protection scope of the present invention.Therefore, protection scope of the present invention should be based on the protection scope of the described claims.
Claims (10)
1. a kind of picture and text stacking method, it is characterised in that be superimposed terminal applied to picture and text, methods described includes:
The video stream data received is converted into digital video frequency flow;
Obtain image, text and data;
By the digital video frequency flow after conversion and the image, text and data progress map overlay obtained, the number for including image, text and data is generated
Word video flowing;
TS flow data of the coding generation with image, text and data is compressed to the digital video frequency flow comprising image, text and data.
2. picture and text stacking method according to claim 1, it is characterised in that the picture and text superposition terminal includes multiple inputs
Interface, it is described the step of the video stream data received is converted into digital video frequency flow before, methods described also includes:
The multiple input interface is converted to the digital visual interface of standard;
The video stream data of input is received by the digital visual interface;
The described pair of digital video frequency flow comprising image, text and data is compressed the step of TS flow data of the coding generation with image, text and data
After rapid, methods described also includes:
The TS flow datas are exported by ASI interfaces or IP interfaces.
3. picture and text stacking method according to claim 1, it is characterised in that the digital video frequency flow by after conversion is with obtaining
The image, text and data obtained carries out map overlay, the step of generating the digital video frequency flow comprising image, text and data, including:
Configure the overlapped information of the image, text and data;
The image, text and data and each frame video image in the digital video frequency flow are carried out into figure layer according to the overlapped information to fold
Plus, generation includes the digital video frequency flow of image, text and data.
4. picture and text stacking method according to claim 1, it is characterised in that methods described also includes:
Set the reference clock of a linear increment;
Each block of video data in digital video frequency flow after conversion is added by upper timestamp according to the reference clock;
The image, text and data is added by upper timestamp by preset rules according to the reference clock, wherein, the image, text and data
Timestamp include the image, text and data show at the beginning of between, show end time and display frequency;
The timestamp on the timestamp and the image, text and data in each block of video data in the digital video frequency flow is read, is pressed
The preset rules show the image, text and data on the video images.
5. picture and text stacking method according to claim 1, it is characterised in that the picture and text superposition terminal can be whole with outside
End communication connection, the image, text and data is to be superimposed terminal communication obtained in local storage, or from the picture and text
Obtained in the exterior terminal of connection.
6. picture and text stacking method according to claim 1, it is characterised in that the image, text and data includes station symbol, word word
Curtain, programm name, clock, Quick Response Code, TV guide, countdown and predetermined pictures.
7. picture and text stacking method according to claim 3, it is characterised in that the image, text and data includes image data and text
Digital data, the overlapped information of the image, text and data of configuration includes the superposition position of the image data and/or the lteral data
Put the font display color and background color with superposition transparency, the lteral data.
8. a kind of picture and text stacking apparatus, it is characterised in that be superimposed terminal applied to picture and text, the picture and text stacking apparatus includes conversion
Module, acquisition module, laminating module and coding module;
The modular converter is used to the video stream data received being converted to digital video frequency flow;
The acquisition module is used to obtain image, text and data;
The image, text and data that the laminating module is used for by the digital video frequency flow after conversion with obtaining carries out map overlay, generation
Digital video frequency flow comprising image, text and data;
The coding module is used to the digital video frequency flow comprising image, text and data is compressed to encode to generate with image, text and data
TS flow datas.
9. picture and text stacking apparatus according to claim 8, it is characterised in that the laminating module include dispensing unit and
Map overlay unit;
The dispensing unit is used for the overlapped information for configuring the image, text and data;
The map overlay unit be used for according to the overlapped information by the image, text and data with it is each in the digital video frequency flow
Frame video image carries out map overlay, and generation includes the digital video frequency flow of image, text and data.
10. picture and text stacking apparatus according to claim 8, it is characterised in that the picture and text stacking apparatus also includes setting
Module, the first add module, the second add module and read module;
The setting module is used for the reference clock for setting a linear increment;
First add module is used for each video data in the digital video frequency flow after conversion according to the reference clock
The upper timestamp of block addition;
Second add module is used to the image, text and data is added into upper timestamp by preset rules according to the reference clock,
Wherein, the timestamp of the image, text and data include the image, text and data show at the beginning of between, display end time and show
The frequency shown;
The read module is used to read the timestamp and the picture and text in each block of video data in the digital video frequency flow
Timestamp in data, is shown the image, text and data on the video images by the preset rules.
Priority Applications (1)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
CN201710560710.3A CN107205165A (en) | 2017-07-11 | 2017-07-11 | Picture and text stacking method and device |
Applications Claiming Priority (1)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
CN201710560710.3A CN107205165A (en) | 2017-07-11 | 2017-07-11 | Picture and text stacking method and device |
Publications (1)
Publication Number | Publication Date |
---|---|
CN107205165A true CN107205165A (en) | 2017-09-26 |
Family
ID=59911946
Family Applications (1)
Application Number | Title | Priority Date | Filing Date |
---|---|---|---|
CN201710560710.3A Pending CN107205165A (en) | 2017-07-11 | 2017-07-11 | Picture and text stacking method and device |
Country Status (1)
Country | Link |
---|---|
CN (1) | CN107205165A (en) |
Cited By (6)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN108549663A (en) * | 2018-03-20 | 2018-09-18 | 厦门星罗网络科技有限公司 | The method for drafting and device of video photograph album |
CN109168040A (en) * | 2018-10-29 | 2019-01-08 | 广州华多网络科技有限公司 | A kind of program listing display methods, equipment and readable storage medium storing program for executing |
CN111556302A (en) * | 2020-05-21 | 2020-08-18 | 潍坊学院 | Double-light-source beam combiner invisible prompter projector system and video data processing method |
CN111556301A (en) * | 2020-05-21 | 2020-08-18 | 潍坊学院 | Projector system with invisible prompting function and video data processing method |
CN111866479A (en) * | 2020-03-11 | 2020-10-30 | 潍坊学院 | Liquid crystal polarization invisible word-drawing DLP projector system and video data processing method |
CN113411635A (en) * | 2021-05-14 | 2021-09-17 | 广东欧谱曼迪科技有限公司 | Image tag data processing and restoring system, processing method, restoring method and device |
Citations (6)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN1561094A (en) * | 2004-02-26 | 2005-01-05 | 晶晨半导体(上海)有限公司 | Method of overlaying caption in digital compression video code stream |
CN202406198U (en) * | 2011-12-28 | 2012-08-29 | 湖南大学 | Caption overlaying system facing to real-time audio/video stream |
CN103986940A (en) * | 2014-06-03 | 2014-08-13 | 王军明 | Fluidization method for video subtitles |
CN104918097A (en) * | 2015-06-01 | 2015-09-16 | 无锡天脉聚源传媒科技有限公司 | Subtitle generation method and device |
CN106559624A (en) * | 2016-11-17 | 2017-04-05 | 西安诺瓦电子科技有限公司 | Picture and text stacking apparatus and picture and text stacking method |
CN106911936A (en) * | 2017-03-01 | 2017-06-30 | 北京牡丹电子集团有限责任公司数字电视技术中心 | Dynamic video flowing picture covering method |
-
2017
- 2017-07-11 CN CN201710560710.3A patent/CN107205165A/en active Pending
Patent Citations (6)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN1561094A (en) * | 2004-02-26 | 2005-01-05 | 晶晨半导体(上海)有限公司 | Method of overlaying caption in digital compression video code stream |
CN202406198U (en) * | 2011-12-28 | 2012-08-29 | 湖南大学 | Caption overlaying system facing to real-time audio/video stream |
CN103986940A (en) * | 2014-06-03 | 2014-08-13 | 王军明 | Fluidization method for video subtitles |
CN104918097A (en) * | 2015-06-01 | 2015-09-16 | 无锡天脉聚源传媒科技有限公司 | Subtitle generation method and device |
CN106559624A (en) * | 2016-11-17 | 2017-04-05 | 西安诺瓦电子科技有限公司 | Picture and text stacking apparatus and picture and text stacking method |
CN106911936A (en) * | 2017-03-01 | 2017-06-30 | 北京牡丹电子集团有限责任公司数字电视技术中心 | Dynamic video flowing picture covering method |
Non-Patent Citations (2)
Title |
---|
ZHILI SUN: "《卫星组网的原理与协议》", 31 December 2016 * |
周俊勇: "《安全防范工程设计》", 31 August 2012 * |
Cited By (10)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN108549663A (en) * | 2018-03-20 | 2018-09-18 | 厦门星罗网络科技有限公司 | The method for drafting and device of video photograph album |
CN108549663B (en) * | 2018-03-20 | 2021-12-14 | 厦门星罗网络科技有限公司 | Video album drawing method and device |
CN109168040A (en) * | 2018-10-29 | 2019-01-08 | 广州华多网络科技有限公司 | A kind of program listing display methods, equipment and readable storage medium storing program for executing |
CN109168040B (en) * | 2018-10-29 | 2020-10-20 | 广州华多网络科技有限公司 | Program list display method and device and readable storage medium |
CN111866479A (en) * | 2020-03-11 | 2020-10-30 | 潍坊学院 | Liquid crystal polarization invisible word-drawing DLP projector system and video data processing method |
CN111556302A (en) * | 2020-05-21 | 2020-08-18 | 潍坊学院 | Double-light-source beam combiner invisible prompter projector system and video data processing method |
CN111556301A (en) * | 2020-05-21 | 2020-08-18 | 潍坊学院 | Projector system with invisible prompting function and video data processing method |
CN111556301B (en) * | 2020-05-21 | 2021-11-09 | 潍坊学院 | Projector system with invisible prompting function and video data processing method |
CN113411635A (en) * | 2021-05-14 | 2021-09-17 | 广东欧谱曼迪科技有限公司 | Image tag data processing and restoring system, processing method, restoring method and device |
CN113411635B (en) * | 2021-05-14 | 2022-09-13 | 广东欧谱曼迪科技有限公司 | Image tag data processing and restoring system, processing method, restoring method and device |
Similar Documents
Publication | Publication Date | Title |
---|---|---|
CN107205165A (en) | Picture and text stacking method and device | |
CN107222792A (en) | A kind of caption superposition method and device | |
EP1703730A1 (en) | Method and apparatus for composing images during video communications | |
CN111108470B (en) | Whole wall redisplay method and device for distributed splicing system and computer equipment | |
CN101005574A (en) | Video frequency virtual humance sign language compiling system | |
CN102346572B (en) | Remote synchronization display system and method for light spot | |
CN103945170A (en) | Information processing apparatus, information processing method, and non-transient recording medium | |
CN103618869B (en) | Many picture video joining methods and device | |
CN103369411A (en) | Multiscreen video playing system dynamically generating scaled video, and related device | |
CN110769167A (en) | Method for video dubbing based on text-to-speech technology | |
CN105721796A (en) | Device and method for automatically generating video captions | |
CN107251560A (en) | Dispensing device, sending method, reception device, method of reseptance, information processor and information processing method | |
CN101668206B (en) | Multichannel video decoding display method and system based on H.264 | |
CN102316277A (en) | Caption system and implement method thereof | |
CN101247490A (en) | Portable off-site video relay broadcasting system | |
CN111835988B (en) | Subtitle generation method, server, terminal equipment and system | |
CN202772979U (en) | HD-SDI digital high-definition camera having timely dynamic character superposition function | |
CN105786429B (en) | The method and system of combination display data | |
CN101159819A (en) | Method and device of inter cut Flash in online video | |
CN114979777A (en) | Ultra-high-definition video signal processing device and method and ultra-high-definition video management system | |
CN104301772A (en) | Method and device for superposing pictures in video | |
CN114339106A (en) | Ultrahigh-definition SDI (Serial digital interface) and IP (Internet protocol) multi-picture signal processor | |
CN106331553A (en) | Video storage method and device and electronic equipment | |
CN103135952A (en) | Play display system providing differences of play display contents of lantern slide brief report and method thereof | |
CN101188663A (en) | STB with time reporting function |
Legal Events
Date | Code | Title | Description |
---|---|---|---|
PB01 | Publication | ||
PB01 | Publication | ||
CB03 | Change of inventor or designer information |
Inventor after: Li Jun Inventor before: Tang Junhui Inventor before: Li Jun |
|
CB03 | Change of inventor or designer information | ||
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: 20170926 |
|
RJ01 | Rejection of invention patent application after publication |