CN112351329B - Subtitle display method and device, terminal equipment and storage medium - Google Patents
Subtitle display method and device, terminal equipment and storage medium Download PDFInfo
- Publication number
- CN112351329B CN112351329B CN202011098944.9A CN202011098944A CN112351329B CN 112351329 B CN112351329 B CN 112351329B CN 202011098944 A CN202011098944 A CN 202011098944A CN 112351329 B CN112351329 B CN 112351329B
- Authority
- CN
- China
- Prior art keywords
- caption
- channel
- information
- display
- split screen
- Prior art date
- Legal status (The legal status is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the status listed.)
- Active
Links
- 238000000034 method Methods 0.000 title claims abstract description 54
- 238000003860 storage Methods 0.000 title claims abstract description 13
- 230000006855 networking Effects 0.000 claims abstract description 65
- 238000004590 computer program Methods 0.000 claims description 16
- 238000010586 diagram Methods 0.000 description 8
- 238000012545 processing Methods 0.000 description 6
- 230000008569 process Effects 0.000 description 5
- 230000009471 action Effects 0.000 description 4
- 238000005516 engineering process Methods 0.000 description 4
- 230000006870 function Effects 0.000 description 4
- 230000005540 biological transmission Effects 0.000 description 3
- 238000005520 cutting process Methods 0.000 description 3
- 239000004973 liquid crystal related substance Substances 0.000 description 3
- 230000003287 optical effect Effects 0.000 description 3
- 239000005441 aurora Substances 0.000 description 2
- 238000012986 modification Methods 0.000 description 2
- 230000004048 modification Effects 0.000 description 2
- 238000012544 monitoring process Methods 0.000 description 2
- 230000004075 alteration Effects 0.000 description 1
- 238000004458 analytical method Methods 0.000 description 1
- 208000003464 asthenopia Diseases 0.000 description 1
- 230000008859 change Effects 0.000 description 1
- 239000003086 colorant Substances 0.000 description 1
- 238000011161 development Methods 0.000 description 1
- 238000009434 installation Methods 0.000 description 1
- 238000004519 manufacturing process Methods 0.000 description 1
- 230000000750 progressive effect Effects 0.000 description 1
- 230000005855 radiation Effects 0.000 description 1
- 239000007858 starting material Substances 0.000 description 1
- 230000000007 visual effect Effects 0.000 description 1
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/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
-
- G—PHYSICS
- G06—COMPUTING; CALCULATING OR COUNTING
- G06F—ELECTRIC DIGITAL DATA PROCESSING
- G06F9/00—Arrangements for program control, e.g. control units
- G06F9/06—Arrangements for program control, e.g. control units using stored programs, i.e. using an internal store of processing equipment to receive or retain programs
- G06F9/44—Arrangements for executing specific programs
- G06F9/451—Execution arrangements for user interfaces
-
- H—ELECTRICITY
- H04—ELECTRIC COMMUNICATION TECHNIQUE
- H04N—PICTORIAL COMMUNICATION, e.g. TELEVISION
- H04N5/00—Details of television systems
- H04N5/222—Studio circuitry; Studio devices; Studio equipment
- H04N5/262—Studio 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/278—Subtitling
Landscapes
- Engineering & Computer Science (AREA)
- Software Systems (AREA)
- Multimedia (AREA)
- Signal Processing (AREA)
- Theoretical Computer Science (AREA)
- Human Computer Interaction (AREA)
- Physics & Mathematics (AREA)
- General Engineering & Computer Science (AREA)
- General Physics & Mathematics (AREA)
- Two-Way Televisions, Distribution Of Moving Picture Or The Like (AREA)
Abstract
The embodiment of the invention provides a subtitle display method, a subtitle display device, terminal equipment and a storage medium, comprising the following steps: the method comprises the steps that a video networking terminal receives a split screen display instruction sent by a session management server, wherein the split screen display instruction comprises a first split screen mode and a second split screen mode, and the first split screen mode and the second split screen mode are different; acquiring data information to be displayed, wherein the data information comprises a first channel caption, a second channel caption and a non-channel caption; determining first caption information and second caption information according to the first channel caption, the second channel caption and the non-channel caption; according to the split screen display instruction, the first subtitle information is displayed on the first display screen in a first split screen mode, the second subtitle information is displayed on the second display screen in a second split screen mode, the first display screen and the second display screen are respectively connected with the video networking terminal, and the subtitle is displayed at the correct position of the display screen connected with the video networking terminal under the condition of different split screen modes.
Description
Technical Field
The present invention relates to the field of computer technologies, and in particular, to a subtitle display method, apparatus, terminal device, and storage medium.
Background
In the video conference service of the video networking, the output split screen mode of the video networking terminal is controlled through the pamil software, the split screen display mode of two paths of display screens of the video networking terminal can be set on the pamil software, and when the pamil software sends the two paths of split screen display modes to the video networking terminal, the two paths of display screens of the video networking terminal can only display according to any one of the split screen display modes, so that one path of display screen can normally display window captions, and the captions output by the other path of display screen can be disordered.
Specifically, the caption display mode OSD of the aurora terminal is divided into four layers of layer0, layer1, layer2 and layer3, caption contents of layer0, layer1, layer2 and layer3 are overlapped, the overlapped captions are output to the memory buffer area, if two paths of display screens are output, the overlapped captions are required to be respectively stored in the memory buffer areas corresponding to the two paths of display screens, in this way, captions of one path of display screen can be normally displayed, and captions of the other path of display screen can be disordered.
How to display the window captions to be output by two different split-screen modes at the correct positions of the corresponding display screens is a problem to be solved at present.
Disclosure of Invention
In view of the foregoing, embodiments of the present invention have been made to provide a subtitle display method, apparatus, terminal device, and storage medium that overcome or at least partially solve the foregoing problems.
In a first aspect, an embodiment of the present invention provides a subtitle display method, including:
Receiving a split screen display instruction sent by a session management server, wherein the split screen display instruction comprises a first split screen mode and a second split screen mode, and the first split screen mode and the second split screen mode are different;
Acquiring data information to be displayed, wherein the data information comprises a first channel caption, a second channel caption and a non-channel caption;
determining first caption information and second caption information according to the first channel caption, the second channel caption and the non-channel caption;
according to the split-screen display instruction, displaying the first subtitle information on a first display screen in the first split-screen mode, and displaying the second subtitle information on a second display screen in the second split-screen mode, wherein the first display screen and the second display screen are respectively connected with a video networking terminal.
Optionally, the determining the first caption information and the second caption information according to the first channel caption, the second channel caption and the non-channel caption includes;
and superposing the first channel caption and the non-channel caption to obtain first caption information, and superposing the second channel caption and the non-channel caption to obtain second caption information.
Optionally, the view networking terminal is provided with a first drawing layer, a second drawing layer and a third drawing layer, and the overlapping the first channel caption and the non-channel caption to obtain first caption information, and overlapping the second channel caption and the non-channel caption to obtain second caption information, which includes:
Drawing the first channel caption at the first drawing layer;
drawing the second channel subtitle at the second drawing layer;
drawing the non-channel subtitles to the third drawing layer;
Superposing the first drawing layer and the third drawing layer to obtain the first subtitle information;
And superposing the second drawing layer and the third drawing layer to obtain the second subtitle information.
Optionally, the method further comprises:
Receiving a screen splitting instruction sent by a session management server, wherein the screen splitting instruction comprises a third screen splitting mode;
Judging whether the current split screen mode is the same as the third split screen mode, wherein the current split screen mode comprises the first split screen mode or the second split screen mode;
If the current split screen mode is different from the third split screen mode, overlapping a third channel caption and the non-channel caption to obtain third caption information, and storing the third caption information in a memory cache area;
and displaying the third subtitle information on the first display screen or the second display screen in the third split screen mode.
Optionally, the method further comprises:
receiving a tangential flow instruction sent by the session server, wherein the tangential flow instruction comprises a fourth subtitle;
superposing the fourth subtitle and the non-channel subtitle to obtain fourth subtitle information;
and displaying the fourth subtitle information on a first display screen in the first split-screen mode or displaying the fourth subtitle information on a second display screen in the second split-screen mode.
In a second aspect, an embodiment of the present invention provides a subtitle display apparatus, including:
The receiving module is used for receiving a split screen display instruction sent by the session management server, wherein the split screen display instruction comprises a first split screen mode and a second split screen mode, and the first split screen mode and the second split screen mode are different;
The device comprises an acquisition module, a display module and a display module, wherein the acquisition module is used for acquiring data information to be displayed, and the data information comprises a first channel caption, a second channel caption and a non-channel caption;
The determining module is used for determining first caption information and second caption information according to the first channel caption, the second channel caption and the non-channel caption;
the display module is used for displaying the first subtitle information on a first display screen in the first split screen mode and displaying the second subtitle information on a second display screen in the second split screen mode according to the split screen display instruction, wherein the first display screen and the second display screen are respectively connected with the video networking terminal.
Optionally, the determining module is configured to;
and superposing the first channel caption and the non-channel caption to obtain first caption information, and superposing the second channel caption and the non-channel caption to obtain second caption information.
Optionally, the view networking terminal is provided with a first drawing layer, a second drawing layer and a third drawing layer, and the determining module is configured to:
Drawing the first channel caption at the first drawing layer;
drawing the second channel subtitle at the second drawing layer;
drawing the non-channel subtitles to the third drawing layer;
Superposing the first drawing layer and the third drawing layer to obtain the first subtitle information;
And superposing the second drawing layer and the third drawing layer to obtain the second subtitle information.
Optionally, the device further comprises a split screen module, wherein the split screen module is used for:
Receiving a screen splitting instruction sent by a session management server, wherein the screen splitting instruction comprises a third screen splitting mode;
Judging whether the current split screen mode is the same as the third split screen mode, wherein the current split screen mode comprises the first split screen mode or the second split screen mode;
If the current split screen mode is different from the third split screen mode, overlapping a third channel caption and the non-channel caption to obtain third caption information, and storing the third caption information in a memory cache area;
and displaying the third subtitle information on the first display screen or the second display screen in the third split screen mode.
Optionally, the device further comprises a tangential flow module for:
receiving a tangential flow instruction sent by the session server, wherein the tangential flow instruction comprises a fourth subtitle;
superposing the fourth subtitle and the non-channel subtitle to obtain fourth subtitle information;
and displaying the fourth subtitle information on a first display screen in the first split-screen mode or displaying the fourth subtitle information on a second display screen in the second split-screen mode.
In a third aspect, an embodiment of the present invention provides a terminal device, including: at least one processor and memory;
The memory stores a computer program; the at least one processor executes the computer program stored in the memory to implement the subtitle display method provided in the first aspect.
In a fourth aspect, an embodiment of the present invention provides a computer-readable storage medium having stored therein a computer program that when executed implements the subtitle display method provided in the first aspect.
The embodiment of the invention has the following advantages:
The embodiment of the invention applies the characteristic of the video network, and the video network terminal receives a split screen display instruction sent by a session management server, wherein the split screen display instruction comprises a first split screen mode and a second split screen mode, and the first split screen mode and the second split screen mode are different; acquiring data information to be displayed, wherein the data information comprises a first channel caption, a second channel caption and a non-channel caption; determining first caption information and second caption information according to the first channel caption, the second channel caption and the non-channel caption; according to the split-screen display instruction, displaying the first subtitle information on a first display screen in a first split-screen mode, and displaying the second subtitle information on a second display screen in a second split-screen mode, wherein the first display screen and the second display screen are respectively connected with the video networking terminal.
Drawings
Fig. 1 is a flowchart showing steps of an embodiment of a subtitle display method of the present invention;
fig. 2 is a flowchart showing steps of another subtitle display method embodiment of the present invention;
FIG. 3 is a flow chart of steps of yet another embodiment of a caption display method of the present invention;
fig. 4 is a block diagram showing the structure of an embodiment of a caption display device of the present invention;
fig. 5 is a schematic structural view of a terminal device of the present invention.
Detailed Description
In order that the above-recited objects, features and advantages of the present invention will become more readily apparent, a more particular description of the invention will be rendered by reference to the appended drawings and appended detailed description.
The video networking is an important milestone for network development, is a real-time network, can realize real-time transmission of high-definition videos, and pushes numerous internet applications to high-definition videos, and the high definition faces.
The video networking adopts a real-time high-definition video exchange technology, and can integrate all required services such as high-definition video conference, video monitoring, intelligent monitoring analysis, emergency command, digital broadcast television, delay television, network teaching, live broadcast, VOD on demand, television mail, personal record (PVR), intranet (self-processing) channel, intelligent video playing control, information release and other tens of services into one system platform, and realize high-definition quality video playing through television or computer.
Based on the characteristics of the video networking, one of the core concepts of the embodiment of the invention is provided, and the video networking terminal receives a split-screen display instruction sent by a session server according to a protocol of the video networking, wherein the split-screen display instruction comprises a first split-screen mode and a second split-screen mode, and the first split-screen mode and the second split-screen mode are different; acquiring data information to be displayed, wherein the data information comprises a first channel caption, a second channel caption and a non-channel caption; determining first caption information and second caption information according to the first channel caption, the second channel caption and the non-channel caption; according to the split-screen display instruction, displaying the first subtitle information on a first display screen in a first split-screen mode, and displaying the second subtitle information on a second display screen in a second split-screen mode, wherein the first display screen and the second display screen are respectively connected with the video networking terminal.
The nouns are explained as follows:
Two-way output: the video networking terminal supports master-slave two-input output, for example, the master output is an HDMI port, the slave output is a DVI port, and when video conference service is carried out, the video split screen mode of the master output and the video split screen mode of the slave output can be different.
The high definition multimedia interface (High Definition Multimedia Interface, HDMI) is a fully digital video and audio transmission interface that can transmit uncompressed audio and video signals. HDMI can be used for set top boxes, DVD players, personal computers, televisions, game consoles, combination expansion machines, digital audio and television sets, and other devices. HDMI can send audio frequency and video signal simultaneously, because audio frequency and video signal adopt same wire rod, simplify the installation degree of difficulty of system's circuit greatly.
DVI port Digital Visual Interface, digital video interface, a technique for high speed transmission of digital signals, there are three different types of interface formats, DVI-A, DVI-D and DVI-I. DVI-D has only digital interfaces and DVI-I has both digital and analog interfaces.
Subtitle follows: in video services, the terminal displays multiple split screens, for example: picture-in-picture, two split screens or multiple split screens, etc., each window of the multiple split screens will display the terminal name.
Splitting screen: the split screen mode is changed, and the position of the caption of the terminal name is also changed;
and (3) tangential flow: the split screen mode is unchanged, the terminal video stream displayed on a certain display screen window is changed, and the caption of the terminal name is also changed along with the change;
OSD: is an abbreviation of On SCREEN DISPLAY, which is applied to CRT/LCD display, and generates some special fonts or graphics in the screen of the display to make the user obtain some information. I.e. a screen menu type adjustment. The Menu is a rectangular Menu for adjusting item information of various items of the display popped up by the screen after the Menu key is pressed, and various working indexes of the display including colors, modes, geometric shapes and the like can be adjusted through the Menu, so that the optimal use state is achieved.
CRT (Cathode Ray Tube) is a cathode ray bai tube. Is a display technology with wider application. duCRT the projector decomposes the input signal zhi source to the fluorescent screen of three CRT tubes R (red), daoG (green) B (blue), and under the action of high voltage, the luminous signals are amplified, converged and color images are displayed on a large screen.
An LCD (Liquid CRYSTAL DISPLAY), a Liquid crystal display, is a digital display technology that can filter light sources through Liquid crystal and color filters to produce an image on a flat panel. Compared with the traditional Cathode Ray Tube (CRT), the LCD occupies small space, has low power consumption, low radiation, no flicker and reduced visual fatigue. The price is more expensive than a CRT of the same size.
Framebuffer: a video output device is used to drive a video display device from a memory buffer containing complete frame data.
An embodiment of the invention provides a subtitle display method for displaying subtitle information at a correct position corresponding to a display screen. The execution main body of the embodiment is a caption display device, which is arranged on an optical networking terminal, wherein the optical networking terminal at least comprises an aurora terminal, a starter terminal and the like.
Referring to fig. 1, a flowchart illustrating steps of an embodiment of a caption display method of the present invention is shown, and the method may be applied to a video networking terminal, and may specifically include the steps of:
S101, receiving a split screen display instruction sent by a session management server, wherein the split screen display instruction comprises a first split screen mode and a second split screen mode, and the first split screen mode and the second split screen mode are different;
Specifically, there are two outputs on the video network terminal generally, namely two outputs, the two outputs are respectively connected to two display screens, the video network terminal is connected to a session server, the session server is connected to a session scheduling device, conference scheduling software is installed on the session scheduling device, a user can select two different split screen modes on the conference scheduling software, namely a first split screen mode and a second split screen mode, the session scheduling device sends the split screen display instruction to the session server, the session server sends the split screen display instruction to the video network terminal, and the first split screen mode and the second split screen mode in the split screen display instruction are different.
The first split screen mode is a split screen mode, and the second split screen mode is a four-split screen mode, namely two display screens connected with the video networking terminal, wherein one display screen adopts the two-split screen for display, and the other display screen adopts the four-split screen for display.
S102, acquiring data information to be displayed, wherein the data information comprises a first channel caption, a second channel caption and a non-channel caption;
The video networking terminal acquires video data and data information to be displayed, wherein the data information to be displayed comprises a first channel caption, a second channel caption and a non-channel caption, wherein the first channel caption and the second channel caption are used for displaying video networking terminal identifications, namely, identifying the video data is from which video networking terminal, the relative position of the channel caption on each display screen is fixed, the non-channel caption is used for identifying notice information, the position on each display screen is random, the positions can be set on each display screen according to the requirement, and the positions can be the same or different.
S103, determining first caption information and second caption information according to the first channel caption, the second channel caption and the non-channel caption;
Specifically, the video networking terminal superimposes the first channel caption and the non-channel caption to obtain first caption information, and the second channel caption and the non-channel caption to obtain second caption information.
The first channel caption is a terminal 1, the second channel caption is a terminal 2, the non-channel caption is a welcome access, and the video networking terminal overlaps the first channel caption with the non-channel caption, namely overlaps the terminal 1 and the welcome access, and determines the first caption information;
and superposing the second channel caption and the non-channel caption, namely superposing the terminal 2 and the welcome access, and determining the second channel caption and the non-channel caption as second caption information.
S104, displaying the first subtitle information on a first display screen in the first split screen mode and displaying the second subtitle information on a second display screen in the second split screen mode according to the split screen display instruction, wherein the first display screen and the second display screen are respectively connected with a video networking terminal.
Specifically, the video networking terminal displays first subtitle information on a first display screen in a first split screen mode and displays second subtitle information on a second display screen in a second split screen mode according to a split screen display instruction.
The first split screen mode is a two-split screen mode, the second split screen mode is a four-split screen mode, the first subtitle information comprises a terminal 1 and welcome access, the second subtitle information comprises a terminal 2 and welcome access, a first display screen of the video networking terminal is displayed in the two-split screen mode, the first subtitle information is displayed in each part of the two-split screen mode, and other picture data and/or video data are also displayed in the two-split screen mode; and the display positions of the first subtitle information are uniform at each portion, for example, all at the upper left or all at the upper right.
The second display screen of the video networking terminal displays the second caption information in a four-division screen mode, and other picture data and/or video data are displayed in a four-division screen mode, wherein the display positions of the second caption information in each part are consistent, for example, all are at the upper left side or all are at the upper right side.
According to the subtitle display method provided by the embodiment of the invention, a split screen display instruction sent by a session management server is received through a video networking terminal, wherein the split screen display instruction comprises a first split screen mode and a second split screen mode, and the first split screen mode and the second split screen mode are different; acquiring data information to be displayed, wherein the data information comprises a first channel caption, a second channel caption and a non-channel caption; determining first caption information and second caption information according to the first channel caption, the second channel caption and the non-channel caption; according to the split-screen display instruction, displaying the first subtitle information on a first display screen in a first split-screen mode, and displaying the second subtitle information on a second display screen in a second split-screen mode, wherein the first display screen and the second display screen are respectively connected with the video networking terminal.
The caption display method provided by the embodiment of the invention is further described in a supplementary way.
As shown in fig. 2, there is shown a flowchart of steps of another embodiment of a caption display method of the present invention, the caption display method including:
S201, receiving a split screen display instruction sent by a session management server, wherein the split screen display instruction comprises a first split screen mode and a second split screen mode, and the first split screen mode and the second split screen mode are different;
S202, acquiring data information to be displayed, wherein the data information comprises a first channel caption, a second channel caption and a non-channel caption;
Since steps S201 to S202 are the same as steps S101 and S102 in the embodiment shown in fig. 1. The steps S101 to S102 have been described in detail in fig. 1, and thus, the descriptions of the steps S201 to S202 are not repeated here.
S203, overlapping the first channel caption and the non-channel caption to obtain first caption information, and overlapping the second channel caption and the non-channel caption to obtain second caption information.
Specifically, a first drawing layer, a second drawing layer and a third drawing layer are arranged on the video networking terminal, and the first channel caption is drawn on the first drawing layer;
drawing the second channel subtitle at the second drawing layer;
drawing the non-channel subtitles to the third drawing layer;
Superposing the first drawing layer and the third drawing layer to obtain the first subtitle information;
And superposing the second drawing layer and the third drawing layer to obtain the second subtitle information.
The embodiment of the invention divides the subtitles into channel subtitles and non-channel subtitles, in a specific implementation process, the non-channel subtitles can be drawn to the layer0 and the layer1, namely a third drawing layer, the channel subtitles of the main output HDMI, namely a first channel subtitle, are drawn to the layer2, namely a first drawing layer, the channel subtitles of the output DVI, namely a second channel subtitle, are drawn to the layer3, namely a second drawing layer, and then the subtitles of the layer0, the layer1 and the layer2 are overlapped and then output to a memory buffer area of the HDMI, and the subtitles of the layer0, the layer1 and the layer3 are output to the memory buffer area of the DVI, so that the non-channel subtitles output by two paths are identical, and the channel subtitles are different.
S204, displaying the first subtitle information on a first display screen in the first split screen mode and displaying the second subtitle information on a second display screen in the second split screen mode according to the split screen display instruction, wherein the first display screen and the second display screen are respectively connected with a video networking terminal.
Since step S204 is the same as step S104 in the embodiment shown in fig. 1. Step S104 has been described in detail in fig. 1, and thus, step S204 is not described in detail herein.
S205, receiving a split screen instruction sent by a session management server, wherein the split screen instruction comprises a third split screen mode;
s206, judging whether the current split screen mode is the same as the third split screen mode, wherein the current split screen mode comprises the first split screen mode or the second split screen mode;
s207, if the current split screen mode is different from the third split screen mode, overlapping a third channel caption and the non-channel caption to obtain third caption information, and storing the third caption information in a memory buffer area;
And S208, displaying the third subtitle information on the first display screen or the second display screen in the third split screen mode.
Specifically, the split screen instruction specifically indicates that the split screen mode is changed, and the position of the terminal name subtitle is also changed. The screen splitting instruction also comprises a display position of subtitle information;
For example, if the current split screen mode includes a first split screen mode or a second split screen mode, the first split screen mode is a split screen, and the second split screen mode is a four-split screen;
The video networking terminal receives a split screen instruction sent by a convergence server, wherein the split screen instruction comprises a third split screen mode, and the third split screen mode is three split screens;
Judging the current split screen mode and the third split screen mode, and superposing a third channel caption (terminal 3) and a non-channel caption to obtain third caption information and storing the third caption information in a memory buffer area under the condition that the current split screen mode and the third split screen mode are different;
The third subtitle information, i.e. "terminal 3 and welcome access", is displayed on the first display screen or on the second display screen in the form of three divided screens.
S209, receiving a tangential flow instruction sent by the session server, wherein the tangential flow instruction comprises a fourth subtitle;
S210, overlapping the fourth subtitle with the non-channel subtitle to obtain fourth subtitle information;
And S211, displaying the fourth subtitle information on a first display screen in the first split screen mode or displaying the fourth subtitle information on a second display screen in the second split screen mode.
The video networking terminal receives a streaming cutting instruction sent by the session management server, wherein the streaming cutting instruction comprises a fourth subtitle, namely a split screen mode is unchanged, a terminal video stream displayed on a certain window is changed, and a terminal name subtitle is changed; the tangential command also comprises a display position of caption information;
The video networking terminal superimposes the fourth channel caption and the non-channel caption to obtain fourth caption information, namely 'terminal 4 and welcome access'; the fourth subtitle information, i.e. "terminal 4 and welcome access", is displayed in the form of two screens on the first display screen or in the form of four screens on the second display screen.
Fig. 3 is a flowchart illustrating steps of still another embodiment of a caption display method according to the present invention, and as illustrated in fig. 3, the caption display method includes:
(1) And the video networking terminal receives the non-channel subtitles, draws the non-channel subtitles to layer0 or layer1, draws the channel subtitles of the first path to layer2, draws the channel subtitles of the second path to layer3, and then stacks the non-channel subtitles on layer0+layer1+layer2 and the channel subtitles of the first path to output to a memory buffer area corresponding to the first path, such as a memory buffer area of HDMI, and simultaneously stacks the non-channel subtitles on layer0+layer1+layer3 and the channel subtitles of the second path to output to a memory buffer area corresponding to the second path, such as a memory buffer area of DVI. And under the condition of different split screen modes, displaying the caption at the correct position of a display screen connected with the video networking terminal.
(2) If the video networking terminal receives a split screen instruction sent by the pamier software, the split screen instruction comprises an HDMI split screen instruction or a DVI split screen instruction
A. if the splitting screen instruction is an HDMI splitting screen instruction, the video networking terminal judges whether the current splitting screen mode is changed, if so, the video networking terminal switches to a new splitting screen mode, simultaneously redraws channel subtitles to layer2, and finally stacks layer0+layer1+layer2 and outputs the stacked channel subtitles to an HDMI memory buffer area;
B. if the split screen instruction is a DVI split screen instruction, the video networking terminal judges whether the current split screen mode is changed, if so, the video networking terminal switches to a new split screen mode, simultaneously redraws channel subtitles to layer3, and finally stacks layer0+layer1+layer3 and outputs the stacked channel subtitles to an HDMI memory buffer area;
(3) If the video networking terminal receives a stream cutting instruction sent by the pamil software, after the channel information is stored, respectively processing the output channel caption of the HDMI and the output channel caption of the DVI:
A. If the channel caption is the output channel caption of the HDMI, redrawing the channel caption to the layer2, and finally, superposing the layer0+layer1+layer2 and outputting the superposed channel caption to a memory buffer of the HDMI;
B. if the caption of the output channel of the DVI is the caption of the output channel of the DVI, redrawing the caption of the conference channel to the layer3, and finally, superposing the layer0+layer1+layer3 and outputting the superposed caption to a memory buffer area of the DVI.
The embodiment of the invention can display two split screen modes while realizing two-way output, and the channel caption of each split screen mode is displayed at the correct position.
Illustratively, embodiments of the present invention categorize subtitles: channel subtitles, non-channel subtitles, the non-channel subtitles are drawn to layer0 and layer1, the channel subtitles of the main output HDMI are drawn to layer2, the channel subtitles of the output DVI are drawn to layer3, then the subtitles of layer0, layer1 and layer2 are overlapped and then output to the frame buffer of the HDMI, the subtitles of layer0, layer1 and layer3 are overlapped and then output to the frame buffer of the HDMI, so that the non-channel subtitles of the two paths of output are identical, and the channel subtitles are different.
It should be noted that, for simplicity of description, the method embodiments are shown as a series of acts, but it should be understood by those skilled in the art that the embodiments are not limited by the order of acts, as some steps may occur in other orders or concurrently in accordance with the embodiments. Further, those skilled in the art will appreciate that the embodiments described in the specification are presently preferred embodiments, and that the acts are not necessarily required by the embodiments of the invention.
According to the subtitle display method provided by the embodiment of the invention, a split screen display instruction sent by a session management server is received through a video networking terminal, wherein the split screen display instruction comprises a first split screen mode and a second split screen mode, and the first split screen mode and the second split screen mode are different; acquiring data information to be displayed, wherein the data information comprises a first channel caption, a second channel caption and a non-channel caption; determining first caption information and second caption information according to the first channel caption, the second channel caption and the non-channel caption; according to the split-screen display instruction, displaying the first subtitle information on a first display screen in a first split-screen mode, and displaying the second subtitle information on a second display screen in a second split-screen mode, wherein the first display screen and the second display screen are respectively connected with the video networking terminal.
Another embodiment of the present invention provides a subtitle display apparatus for performing the subtitle display method provided in the above embodiment.
Referring to fig. 4, there is shown a block diagram illustrating an embodiment of a caption display device of the present invention, which may be applied to the internet of vision, and may include the following modules in detail: a receiving module 401, an acquiring module 402, a determining module 403 and a displaying module 404, wherein:
the receiving module 401 is configured to receive a split screen display instruction sent by a session management server, where the split screen display instruction includes a first split screen mode and a second split screen mode, and the first split screen mode and the second split screen mode are different;
the acquiring module 402 is configured to acquire data information to be displayed, where the data information includes a first channel caption, a second channel caption, and a non-channel caption;
The determining module 403 is configured to determine first caption information and second caption information according to the first channel caption, the second channel caption and the non-channel caption;
the display module 404 is configured to display the first subtitle information on a first display screen in the first split screen mode and display the second subtitle information on a second display screen in the second split screen mode according to the split screen display instruction, where the first display screen and the second display screen are respectively connected with a video networking terminal.
According to the subtitle display device provided by the embodiment of the invention, a split screen display instruction sent by a session management server is received through a video networking terminal, wherein the split screen display instruction comprises a first split screen mode and a second split screen mode, and the first split screen mode and the second split screen mode are different; acquiring data information to be displayed, wherein the data information comprises a first channel caption, a second channel caption and a non-channel caption; determining first caption information and second caption information according to the first channel caption, the second channel caption and the non-channel caption; according to the split-screen display instruction, displaying the first subtitle information on a first display screen in a first split-screen mode, and displaying the second subtitle information on a second display screen in a second split-screen mode, wherein the first display screen and the second display screen are respectively connected with the video networking terminal.
A further embodiment of the present invention further provides a subtitle display apparatus provided in the above embodiment.
Optionally, the determining module is configured to;
and superposing the first channel caption and the non-channel caption to obtain first caption information, and superposing the second channel caption and the non-channel caption to obtain second caption information.
Optionally, the view networking terminal is provided with a first drawing layer, a second drawing layer and a third drawing layer, and the determining module is configured to:
Drawing the first channel caption at the first drawing layer;
drawing the second channel subtitle at the second drawing layer;
drawing the non-channel subtitles to the third drawing layer;
Superposing the first drawing layer and the third drawing layer to obtain the first subtitle information;
And superposing the second drawing layer and the third drawing layer to obtain the second subtitle information.
Optionally, the device further comprises a split screen module, wherein the split screen module is used for:
Receiving a screen splitting instruction sent by a session management server, wherein the screen splitting instruction comprises a third screen splitting mode;
Judging whether the current split screen mode is the same as the third split screen mode, wherein the current split screen mode comprises the first split screen mode or the second split screen mode;
If the current split screen mode is different from the third split screen mode, overlapping a third channel caption and the non-channel caption to obtain third caption information, and storing the third caption information in a memory cache area;
and displaying the third subtitle information on the first display screen or the second display screen in the third split screen mode.
Optionally, the device further comprises a tangential flow module for:
receiving a tangential flow instruction sent by the session server, wherein the tangential flow instruction comprises a fourth subtitle;
superposing the fourth subtitle and the non-channel subtitle to obtain fourth subtitle information;
and displaying the fourth subtitle information on a first display screen in the first split-screen mode or displaying the fourth subtitle information on a second display screen in the second split-screen mode.
It should be noted that, in this embodiment, each of the embodiments may be implemented separately, or may be implemented in any combination without conflict, without limiting the application.
For the device embodiments, since they are substantially similar to the method embodiments, the description is relatively simple, and reference is made to the description of the method embodiments for relevant points.
According to the subtitle display device provided by the embodiment of the invention, a split screen display instruction sent by a session management server is received through a video networking terminal, wherein the split screen display instruction comprises a first split screen mode and a second split screen mode, and the first split screen mode and the second split screen mode are different; acquiring data information to be displayed, wherein the data information comprises a first channel caption, a second channel caption and a non-channel caption; determining first caption information and second caption information according to the first channel caption, the second channel caption and the non-channel caption; according to the split-screen display instruction, displaying the first subtitle information on a first display screen in a first split-screen mode, and displaying the second subtitle information on a second display screen in a second split-screen mode, wherein the first display screen and the second display screen are respectively connected with the video networking terminal.
Still another embodiment of the present invention provides a terminal device for executing the subtitle display method provided in the above embodiment.
Fig. 5 is a schematic structural view of a terminal device of the present invention, as shown in fig. 5, the terminal device includes: at least one processor 501 and memory 502;
the memory stores a computer program; the at least one processor executes the computer program stored in the memory to implement the subtitle display method provided in the above embodiment.
The terminal equipment provided by the embodiment receives a split-screen display instruction sent by the session management server through the video networking terminal, wherein the split-screen display instruction comprises a first split-screen mode and a second split-screen mode, and the first split-screen mode and the second split-screen mode are different; acquiring data information to be displayed, wherein the data information comprises a first channel caption, a second channel caption and a non-channel caption; determining first caption information and second caption information according to the first channel caption, the second channel caption and the non-channel caption; according to the split-screen display instruction, displaying the first subtitle information on a first display screen in a first split-screen mode, and displaying the second subtitle information on a second display screen in a second split-screen mode, wherein the first display screen and the second display screen are respectively connected with the video networking terminal.
Still another embodiment of the present application provides a computer-readable storage medium having stored therein a computer program which, when executed, implements the subtitle display method provided in any of the above embodiments.
According to the computer readable storage medium of the embodiment, a split screen display instruction sent by a session management server is received through a video networking terminal, wherein the split screen display instruction comprises a first split screen mode and a second split screen mode, and the first split screen mode and the second split screen mode are different; acquiring data information to be displayed, wherein the data information comprises a first channel caption, a second channel caption and a non-channel caption; determining first caption information and second caption information according to the first channel caption, the second channel caption and the non-channel caption; according to the split-screen display instruction, displaying the first subtitle information on a first display screen in a first split-screen mode, and displaying the second subtitle information on a second display screen in a second split-screen mode, wherein the first display screen and the second display screen are respectively connected with the video networking terminal.
In this specification, each embodiment is described in a progressive manner, and each embodiment is mainly described by differences from other embodiments, and identical and similar parts between the embodiments are all enough to be referred to each other.
It will be apparent to those skilled in the art that embodiments of the present invention may be provided as a method, apparatus, or computer program product. Accordingly, embodiments of the present invention may take the form of an entirely hardware embodiment, an entirely software embodiment or an embodiment combining software and hardware aspects. Furthermore, embodiments of the invention may take the form of a computer program product on one or more computer-usable storage media (including, but not limited to, disk storage, CD-ROM, optical storage, etc.) having computer-usable program code embodied therein.
Embodiments of the present invention are described with reference to flowchart illustrations and/or block diagrams of methods, electronic devices (systems), and computer program products according to embodiments of the invention. It will be understood that each flow and/or block of the flowchart illustrations and/or block diagrams, and combinations of flows and/or blocks in the flowchart illustrations and/or block diagrams, can be implemented by computer program instructions. These computer program instructions may be provided to a processor of a general purpose computer, special purpose computer, embedded processor, or other programmable data processing electronic device to produce a machine, such that the instructions, which execute via the processor of the computer or other programmable data processing electronic device, create means for implementing the functions specified in the flowchart flow or flows and/or block diagram block or blocks.
These computer program instructions may also be stored in a computer-readable memory that can direct a computer or other programmable data processing apparatus to function in a particular manner, such that the instructions stored in the computer-readable memory produce an article of manufacture including instruction means which implement the function specified in the flowchart flow or flows and/or block diagram block or blocks.
These computer program instructions may also be loaded onto a computer or other programmable data processing apparatus to cause a series of operational steps to be performed on the computer or other programmable apparatus to produce a computer implemented process such that the instructions which execute on the computer or other programmable apparatus provide steps for implementing the functions specified in the flowchart flow or flows and/or block diagram block or blocks.
While preferred embodiments of the present invention have been described, additional variations and modifications in those embodiments may occur to those skilled in the art once they learn of the basic inventive concepts. It is therefore intended that the following claims be interpreted as including the preferred embodiment and all such alterations and modifications as fall within the scope of the embodiments of the invention.
Finally, it is further noted that relational terms such as first and second, and the like are used solely to distinguish one entity or action from another entity or action without necessarily requiring or implying any actual such relationship or order between such entities or actions. Moreover, the terms "comprises," "comprising," or any other variation thereof, are intended to cover a non-exclusive inclusion, such that a process, method, article, or electronic device that comprises a list of elements does not include only those elements but may include other elements not expressly listed or inherent to such process, method, article, or electronic device. Without further limitation, an element defined by the phrase "comprising one … …" does not exclude the presence of other like elements in a process, method, article, or electronic device that comprises the element.
The foregoing has described in detail a caption display method and a caption display device provided by the present invention, and specific examples have been applied herein to illustrate the principles and embodiments of the present invention, the above examples being provided only to assist in understanding the method and core ideas of the present invention; meanwhile, as those skilled in the art will have variations in the specific embodiments and application scope in accordance with the ideas of the present invention, the present description should not be construed as limiting the present invention in view of the above.
Claims (8)
1. A subtitle display method, the method comprising:
Receiving a split screen display instruction sent by a session management server, wherein the split screen display instruction comprises a first split screen mode and a second split screen mode, and the first split screen mode and the second split screen mode are different;
The split screen mode is controlled by pamil software;
Acquiring data information to be displayed, wherein the data information comprises a first channel caption, a second channel caption and a non-channel caption;
The first channel caption and the second channel caption are used for displaying the video networking terminal identification;
the non-channel caption is used for identifying bulletin information;
determining first caption information and second caption information according to the first channel caption, the second channel caption and the non-channel caption;
The method specifically comprises the following steps of;
Overlapping the first channel caption and the non-channel caption on a drawing layer to obtain first caption information, and overlapping the second channel caption and the non-channel caption on the drawing layer to obtain second caption information;
according to the split-screen display instruction, displaying the first subtitle information on a first display screen in the first split-screen mode, and displaying the second subtitle information on a second display screen in the second split-screen mode, wherein the first display screen and the second display screen are respectively connected with a video networking terminal.
2. The method according to claim 1, wherein the video networking terminal is provided with a first drawing layer, a second drawing layer and a third drawing layer, the overlapping the first channel caption and the non-channel caption to obtain first caption information, and overlapping the second channel caption and the non-channel caption to obtain second caption information, including:
Drawing the first channel caption at the first drawing layer;
drawing the second channel subtitle at the second drawing layer;
drawing the non-channel subtitles to the third drawing layer;
Superposing the first drawing layer and the third drawing layer to obtain the first subtitle information;
And superposing the second drawing layer and the third drawing layer to obtain the second subtitle information.
3. The method according to claim 1, wherein the method further comprises:
Receiving a screen splitting instruction sent by a session management server, wherein the screen splitting instruction comprises a third screen splitting mode;
Judging whether the current split screen mode is the same as the third split screen mode, wherein the current split screen mode comprises the first split screen mode or the second split screen mode;
If the current split screen mode is different from the third split screen mode, overlapping a third channel caption and the non-channel caption to obtain third caption information, and storing the third caption information in a memory cache area;
and displaying the third subtitle information on the first display screen or the second display screen in the third split screen mode.
4. The method according to claim 1, wherein the method further comprises:
receiving a tangential flow instruction sent by the session server, wherein the tangential flow instruction comprises a fourth subtitle;
superposing the fourth subtitle and the non-channel subtitle to obtain fourth subtitle information;
and displaying the fourth subtitle information on a first display screen in the first split-screen mode or displaying the fourth subtitle information on a second display screen in the second split-screen mode.
5. A subtitle display apparatus, the apparatus comprising:
The receiving module is used for receiving a split screen display instruction sent by the session management server, wherein the split screen display instruction comprises a first split screen mode and a second split screen mode, and the first split screen mode and the second split screen mode are different;
The split screen mode is controlled by pamil software;
The device comprises an acquisition module, a display module and a display module, wherein the acquisition module is used for acquiring data information to be displayed, and the data information comprises a first channel caption, a second channel caption and a non-channel caption;
The determining module is used for determining first caption information and second caption information according to the first channel caption, the second channel caption and the non-channel caption;
The first channel caption and the second channel caption are used for displaying the video networking terminal identification;
the non-channel caption is used for identifying bulletin information;
The determining module is used for;
Overlapping the first channel caption and the non-channel caption on a drawing layer to obtain first caption information, and overlapping the second channel caption and the non-channel caption on the drawing layer to obtain second caption information;
the display module is used for displaying the first subtitle information on a first display screen in the first split screen mode and displaying the second subtitle information on a second display screen in the second split screen mode according to the split screen display instruction, wherein the first display screen and the second display screen are respectively connected with the video networking terminal.
6. The apparatus of claim 5, wherein the internet of view terminal is provided with a first drawing layer, a second drawing layer, and a third drawing layer, and the determining module is configured to:
Drawing the first channel caption at the first drawing layer;
drawing the second channel subtitle at the second drawing layer;
drawing the non-channel subtitles to the third drawing layer;
Superposing the first drawing layer and the third drawing layer to obtain the first subtitle information;
And superposing the second drawing layer and the third drawing layer to obtain the second subtitle information.
7. A terminal device, comprising: at least one processor and memory;
the memory stores a computer program; the at least one processor executing the computer program stored in the memory to implement the subtitle display method of any one of claims 1-4.
8. A computer-readable storage medium, characterized in that the computer-readable storage medium has stored therein a computer program which, when executed, implements the subtitle display method of any one of claims 1 to 4.
Priority Applications (1)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
CN202011098944.9A CN112351329B (en) | 2020-10-14 | 2020-10-14 | Subtitle display method and device, terminal equipment and storage medium |
Applications Claiming Priority (1)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
CN202011098944.9A CN112351329B (en) | 2020-10-14 | 2020-10-14 | Subtitle display method and device, terminal equipment and storage medium |
Publications (2)
Publication Number | Publication Date |
---|---|
CN112351329A CN112351329A (en) | 2021-02-09 |
CN112351329B true CN112351329B (en) | 2024-05-24 |
Family
ID=74361733
Family Applications (1)
Application Number | Title | Priority Date | Filing Date |
---|---|---|---|
CN202011098944.9A Active CN112351329B (en) | 2020-10-14 | 2020-10-14 | Subtitle display method and device, terminal equipment and storage medium |
Country Status (1)
Country | Link |
---|---|
CN (1) | CN112351329B (en) |
Citations (5)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN101895718A (en) * | 2010-07-21 | 2010-11-24 | 杭州华三通信技术有限公司 | Video conference system multi-image broadcast method, and device and system thereof |
CN105975069A (en) * | 2016-04-28 | 2016-09-28 | 东莞市华睿电子科技有限公司 | Screen-splitting display method |
CN109819214A (en) * | 2019-01-25 | 2019-05-28 | 视联动力信息技术股份有限公司 | A kind of method and apparatus of video separated screen |
WO2020006004A1 (en) * | 2018-06-29 | 2020-01-02 | Alibaba Group Holding Limited | Video subtitle display method and apparatus |
CN111654659A (en) * | 2020-05-14 | 2020-09-11 | 视联动力信息技术股份有限公司 | Conference control method and device |
-
2020
- 2020-10-14 CN CN202011098944.9A patent/CN112351329B/en active Active
Patent Citations (5)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN101895718A (en) * | 2010-07-21 | 2010-11-24 | 杭州华三通信技术有限公司 | Video conference system multi-image broadcast method, and device and system thereof |
CN105975069A (en) * | 2016-04-28 | 2016-09-28 | 东莞市华睿电子科技有限公司 | Screen-splitting display method |
WO2020006004A1 (en) * | 2018-06-29 | 2020-01-02 | Alibaba Group Holding Limited | Video subtitle display method and apparatus |
CN109819214A (en) * | 2019-01-25 | 2019-05-28 | 视联动力信息技术股份有限公司 | A kind of method and apparatus of video separated screen |
CN111654659A (en) * | 2020-05-14 | 2020-09-11 | 视联动力信息技术股份有限公司 | Conference control method and device |
Also Published As
Publication number | Publication date |
---|---|
CN112351329A (en) | 2021-02-09 |
Similar Documents
Publication | Publication Date | Title |
---|---|---|
JP5144802B1 (en) | Display device | |
JP4541476B2 (en) | Multi-image display system and multi-image display method | |
US20040027482A1 (en) | Multi-vision system and method of controlling the same | |
CN105100658A (en) | Multi-screen display control method and control system | |
JP5862112B2 (en) | Head mounted display and display control method | |
US10504263B2 (en) | Adaptive high dynamic range (HDR) tone mapping with overlay indication | |
JP2011030081A (en) | Display device, display system, display method and program | |
US20070146547A1 (en) | Image processing apparatus and method | |
CN211207311U (en) | One-screen multi-display technology based on display | |
US10504484B2 (en) | Information processing apparatus, information recording medium, image processing method, and program for converting a color space of an image | |
JP2001175239A (en) | Device, system and method for displaying multiimages and recording medium | |
WO2017008660A1 (en) | Processing method and apparatus for signal source | |
CN112188294A (en) | Signal source display method and device | |
CN112351329B (en) | Subtitle display method and device, terminal equipment and storage medium | |
JP2011040958A (en) | Image display device and image display method | |
US20100201713A1 (en) | Image display apparatus and method thereof | |
CN205864587U (en) | A kind of 4K LCD TV splicing apparatus and liquid crystal-spliced system | |
CN102055924B (en) | Method for adjusting proportion mode and television using same | |
EP2244474A2 (en) | Method for setting display apparatus and display apparatus using the same | |
KR20020041948A (en) | Method for displaying manual of video apparatus | |
CN103034405A (en) | Display method for screen display frames | |
WO2011018888A1 (en) | Display control device and display control method | |
US20090157917A1 (en) | Signal processing apparatus and control method thereof | |
CN112218000B (en) | Multi-picture monitoring method, device and system | |
CN102223580B (en) | Digital television all-in-one machine and on-screen display processing method thereof |
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 | ||
GR01 | Patent grant | ||
GR01 | Patent grant |