Method and system for realizing double-screen or multi-screen splicing display
The application is a divisional application with application date of 2014, 11 and 03, application number of 201410608719.3, and invention name of a method and a system for realizing double-screen or multi-screen splicing display.
Technical Field
The invention relates to the technical field of videos, in particular to the field of video synthesis display.
Background
With the rapid development of digital image technology, multi-screen mosaic image display is more and more widely applied in large-scale places such as markets, cinemas, stadiums and the like, the technical problems of high cost and difficult maintenance of a single large screen are solved, and the multi-screen mosaic image display has high expandability and can be suitable for displaying images of various sizes. Such as video walls spliced by LEDs or multiple tv screens, and systems for implementing scrolling display of subtitles on devices such as IPTV set-top boxes.
However, the above solutions are developed based on modules on a hardware system, that is, corresponding protocol instructions need to be written, and the specific working principle is as follows: the server side communicates with the client side, the client side sends parameters such as self position, screen resolution and the like to the server side, the server side collects information of all the client sides, then performs unified coordination calculation, performs image cutting and encoding on image information of a full screen, then distributes and sends the image information, and each client side performs image decoding and display after receiving the image. The interaction between the server and the client is complicated, and the implementation cost of code development, test and the like is high.
Disclosure of Invention
In order to solve the above problem, the present invention provides a method for implementing a dual-screen or multi-screen tiled display, and specifically, the method includes:
1. the method comprises the following steps that a subtitle is input through a client input interface, and the client sends the subtitle to a server;
2. the server encodes the subtitle information and sends the subtitle information to the browser;
3. the browser is connected with the server to receive the subtitle information stream, and the rolling subtitles are displayed after the subtitle information stream is analyzed;
the number of the browsers is two or more, the left browser and the right browser receive the subtitle stream simultaneously, and the left browser displays the analyzed subtitles in a delayed mode.
Specifically, the left browser has a default delay time (5 seconds), and the left browser supports shortcut keys to adjust the delay time to achieve the integrity of the splicing effect.
In particular, the implementation mode of the client input interface is HTML.
The invention also discloses a system for realizing double-screen or multi-screen splicing display, which comprises the following units:
the client receives the captions input through the input interface and sends the captions to the server;
the server is used for coding the subtitle information and sending the subtitle information to the browser;
the browser is used for connecting the server to receive the subtitle information stream and displaying the rolling subtitles after analysis;
the number of the browsers is two or more, the left browser and the right browser receive the subtitle stream simultaneously, and the left browser displays the analyzed subtitles in a delayed mode.
Specifically, the left browser has a default delay time (5 seconds), and the left browser supports shortcut keys to adjust the delay time to achieve the integrity of the splicing effect.
In particular, the implementation mode of the client input interface is HTML.
Has the advantages that: according to the double-screen or multi-screen subtitle splicing display technology disclosed by the application, the left client side and the right client side or the plurality of client sides directly receive the video signals of the server side, any information such as the position of the client side does not need to be fed back to the server side, and only one-way receiving is needed. Communication among a plurality of browsers is not needed, and the horizontal display space of the subtitle stream is expanded when each browser is added, so that a larger visual space is provided. The interactive logic of the server and the client is omitted, and the development cost is reduced.
Drawings
Fig. 1 shows a schematic structural diagram of a method and a system for implementing a dual-screen or multi-screen tiled display according to the present invention.
Fig. 2 is a schematic diagram illustrating the operation of the method and system for implementing the dual-screen or multi-screen tiled display according to the present invention.
Detailed Description
The technical solutions in the embodiments of the present invention will be clearly and completely described below with reference to the drawings in the embodiments of the present invention, and it is obvious that the described embodiments are only a part of the embodiments of the present invention, and not all of the embodiments. All other embodiments, which can be derived by a person skilled in the art from the embodiments given herein without making any creative effort, shall fall within the protection scope of the present invention.
Referring to fig. 1, a schematic structural diagram of a system for implementing a dual-screen or multi-screen tiled display according to the present invention is shown, which includes the following units:
the client receives the captions input through the input interface and sends the captions to the server;
the server is used for coding the subtitle information and sending the subtitle information to the browser;
the browser is used for connecting the server to receive the subtitle information stream and displaying the rolling subtitles after analysis;
the number of the browsers is two or more, the left browser and the right browser receive the subtitle stream simultaneously, and the left browser displays the analyzed subtitles in a delayed mode.
Specifically, the left browser has a default delay time (5 seconds), and the left browser supports shortcut keys to adjust the delay time to achieve the integrity of the splicing effect.
In particular, the implementation mode of the client input interface is HTML.
The specific working flow of the method for realizing the double-screen or multi-screen splicing display is as follows:
1. the method comprises the following steps that a subtitle is input through a client input interface, and the client sends the subtitle to a server;
2. the server encodes the subtitle information and sends the subtitle information to the browser;
3. the browser is connected with the server to receive the subtitle information stream, and the rolling subtitles are displayed after the subtitle information stream is analyzed;
the number of the browsers is two or more, the left browser and the right browser receive the subtitle stream simultaneously, and the left browser displays the analyzed subtitles in a delayed mode.
Specifically, the left browser has a default delay time (5 seconds), and the left browser supports shortcut keys to adjust the delay time to achieve the integrity of the splicing effect.
In particular, the implementation mode of the client input interface is HTML.
Fig. 2 is a schematic diagram of the method and system for implementing dual-screen or multi-screen tiled display according to the present invention, in which two browser screens are arranged left and right, the right browser first displays subtitles, the left browser starts to display after setting a delay time, the two browsers cooperate to present a video effect of rolling subtitles, the rolling subtitles roll in from the right, after the right screen rolls out of subtitles, the subtitles enter the left screen to continue rolling, and finally the subtitles roll out from the left screen.
According to the technical scheme, the subtitle information is analyzed through the Flash plug-in the browser, the client side is good in compatibility, and the development cost is low. The interactive logic of the server and the client is omitted, the development cost is reduced, and the required effect is completely realized.
The above description is only for the preferred embodiment of the present invention, but the scope of the present invention is not limited thereto, and any changes or substitutions that can be easily conceived by those skilled in the art within the technical scope of the present invention are included in the scope of the present invention. Therefore, the protection scope of the present invention shall be subject to the protection scope of the claims.