WO2020133371A1 - Competition video subtitle processing method and broadcast guiding system - Google Patents

Competition video subtitle processing method and broadcast guiding system Download PDF

Info

Publication number
WO2020133371A1
WO2020133371A1 PCT/CN2018/125395 CN2018125395W WO2020133371A1 WO 2020133371 A1 WO2020133371 A1 WO 2020133371A1 CN 2018125395 W CN2018125395 W CN 2018125395W WO 2020133371 A1 WO2020133371 A1 WO 2020133371A1
Authority
WO
WIPO (PCT)
Prior art keywords
data
competitive
preset
subtitle
video stream
Prior art date
Application number
PCT/CN2018/125395
Other languages
French (fr)
Chinese (zh)
Inventor
陈庭欣
陈贤雨
Original Assignee
深圳市大疆创新科技有限公司
Priority date (The priority date is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the date listed.)
Filing date
Publication date
Application filed by 深圳市大疆创新科技有限公司 filed Critical 深圳市大疆创新科技有限公司
Priority to CN201880041352.8A priority Critical patent/CN110800310A/en
Priority to PCT/CN2018/125395 priority patent/WO2020133371A1/en
Publication of WO2020133371A1 publication Critical patent/WO2020133371A1/en

Links

Images

Classifications

    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04NPICTORIAL COMMUNICATION, e.g. TELEVISION
    • H04N21/00Selective content distribution, e.g. interactive television or video on demand [VOD]
    • H04N21/40Client devices specifically adapted for the reception of or interaction with content, e.g. set-top-box [STB]; Operations thereof
    • H04N21/47End-user applications
    • H04N21/488Data services, e.g. news ticker
    • H04N21/4884Data services, e.g. news ticker for displaying subtitles
    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04NPICTORIAL COMMUNICATION, e.g. TELEVISION
    • H04N21/00Selective content distribution, e.g. interactive television or video on demand [VOD]
    • H04N21/20Servers specifically adapted for the distribution of content, e.g. VOD servers; Operations thereof
    • H04N21/21Server components or server architectures
    • H04N21/218Source of audio or video content, e.g. local disk arrays
    • H04N21/2187Live feed
    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04NPICTORIAL COMMUNICATION, e.g. TELEVISION
    • H04N21/00Selective content distribution, e.g. interactive television or video on demand [VOD]
    • H04N21/20Servers specifically adapted for the distribution of content, e.g. VOD servers; Operations thereof
    • H04N21/23Processing of content or additional data; Elementary server operations; Server middleware
    • H04N21/234Processing of video elementary streams, e.g. splicing of video streams, manipulating MPEG-4 scene graphs
    • H04N21/23424Processing of video elementary streams, e.g. splicing of video streams, manipulating MPEG-4 scene graphs involving splicing one content stream with another content stream, e.g. for inserting or substituting an advertisement
    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04NPICTORIAL COMMUNICATION, e.g. TELEVISION
    • H04N21/00Selective content distribution, e.g. interactive television or video on demand [VOD]
    • H04N21/40Client devices specifically adapted for the reception of or interaction with content, e.g. set-top-box [STB]; Operations thereof
    • H04N21/43Processing of content or additional data, e.g. demultiplexing additional data from a digital video stream; Elementary client operations, e.g. monitoring of home network or synchronising decoder's clock; Client middleware
    • H04N21/431Generation of visual interfaces for content selection or interaction; Content or additional data rendering
    • H04N21/4312Generation of visual interfaces for content selection or interaction; Content or additional data rendering involving specific graphical features, e.g. screen layout, special fonts or colors, blinking icons, highlights or animations
    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04NPICTORIAL COMMUNICATION, e.g. TELEVISION
    • H04N21/00Selective content distribution, e.g. interactive television or video on demand [VOD]
    • H04N21/80Generation or processing of content or additional data by content creator independently of the distribution process; Content per se
    • H04N21/81Monomedia components thereof
    • H04N21/8126Monomedia components thereof involving additional data, e.g. news, sports, stocks, weather forecasts
    • H04N21/8133Monomedia components thereof involving additional data, e.g. news, sports, stocks, weather forecasts specifically related to the content, e.g. biography of the actors in a movie, detailed information about an article seen in a video program
    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04NPICTORIAL COMMUNICATION, e.g. TELEVISION
    • H04N5/00Details of television systems
    • H04N5/222Studio circuitry; Studio devices; Studio equipment
    • H04N5/262Studio circuits, e.g. for mixing, switching-over, change of character of image, other special effects ; Cameras specially adapted for the electronic generation of special effects
    • H04N5/278Subtitling

Definitions

  • the invention relates to the field of video subtitle processing, in particular to a caption processing method and guide system for competitive game videos.
  • the key information of the event is often presented on the screen.
  • the information is usually produced and played by the staff using a caption machine.
  • the staff usually creates a subtitle template in advance, then fills in the corresponding information content to generate a subtitle file, and the subtitle machine plays the subtitle file at the corresponding time.
  • the caption machine and the guide station establish a communication connection based on the video signal transmission interface.
  • the caption machine outputs the subtitle filling signal and the key signal to the guide station, and the guide station uses the back-synthesis technology to synthesize the overlay effect of the text and subtitles in real time.
  • Subtitle files are produced offline, and most subtitle machines cannot accept network data and modify subtitle content in real time, which has the disadvantage of poor real-time performance and cannot meet the real-time requirements of the OB (third-party perspective) system of competitive games.
  • the subtitle file is generated from the subtitle template filling data, but the subtitle template carries a very small amount of data, cannot perform complex data logic, and cannot meet the complex display logic of competitive games.
  • captioning machines usually require special captioning software and captioning hardware cards, and the hardware cost is relatively high.
  • the captioning software and captioning hardware cards of different manufacturers have not formed a unified standard and are closed-source. High development costs.
  • the e-sports OB system in order to present the event information, allow third parties to join the game and obtain real-time status information of the two parties, such as small maps, blood volume, achievements, etc., which greatly facilitates the audience to understand the progress of the event.
  • the pictures and character data of the e-sports OB system are generated in the e-sports system, which allows the e-sports OB system to flexibly render and display the pictures of the two players.
  • the data of the pictures and characters come from different systems.
  • the live pictures are taken by cameras.
  • the state and data of the sports objects on the field need to be collected and processed by a specific system.
  • the e-sports OB system can not meet the needs of the display of real sports competition data and the synthesis and superposition of the live pictures.
  • the invention provides a video subtitle processing method and a guide system.
  • a caption processing method for competitive game videos including:
  • the competitive data includes data sent by an external device
  • the display area further includes a second preset subtitle template, and the second preset subtitle template is the fill Key signal screen corresponding to the signal screen;
  • a guide system for a competitive game includes: an external device, a computer, and a guide station.
  • the external device and the computer implement a communication connection based on a network, and the computer and all Describe the communication connection of the guide station;
  • the computer is used to obtain competitive data during the competitive game
  • the competitive data includes data sent by the external device; and render the competitive data on the first preset subtitle template in the display area of the preset application Generating a fill signal picture
  • the display area further includes a second preset subtitle template
  • the second preset subtitle template is a key signal picture corresponding to the fill signal picture
  • the computer is also used to transmit the fill signal picture to the guide station and the key signal picture to the guide station; the guide station according to the fill signal picture and the key signal picture to be displayed
  • the video stream is synthesized and a new video stream is obtained.
  • the subtitle processing has high automation, strong real-time, high degree of freedom, wide application range, high accuracy of subtitle loading, and meets the needs of competitive OB systems; at the same time, The first preset subtitle template and the second preset subtitle template are designed in the same display area of the preset application, and the fill signal screen and the key signal screen can be rendered at the same time to ensure the simultaneous rendering requirements of the two pages; in addition, the computer rendering After obtaining the fill signal screen and the key signal screen, the guide station uses the back-off synthesis technology to synthesize the fill signal screen and the key signal screen into the video stream to be displayed to meet the data display requirements of the actual competitive game and make the obtained video subtitles Meet broadcast-level requirements.
  • FIG. 1 is a structural block diagram of a guide system in an embodiment of the present invention.
  • FIG. 2 is a block diagram of a specific structure of a guide system in an embodiment of the present invention.
  • FIG. 3 is a method flowchart of a video subtitle processing method in an embodiment of the present invention.
  • FIG. 4 is a block diagram of a specific structure of a guide system in an embodiment of the present invention.
  • FIG. 5 is a display diagram of a fill signal screen and a key signal screen in an embodiment of the invention.
  • FIG. 6 is another display diagram of the fill signal screen and the key signal screen in an embodiment of the invention.
  • FIG. 7 is a flowchart of a specific method of a video subtitle processing method according to an embodiment of the present invention.
  • 8A is a diagram of a new video stream picture obtained by synthesizing a fill signal picture and a key signal picture into a video stream to be displayed in a specific embodiment of the present invention
  • 8B is a diagram of a new video stream screen obtained by synthesizing a fill signal screen and a key signal screen into a video stream to be displayed in another specific embodiment of the present invention.
  • FIG. 9 is a flowchart of another specific method of a video subtitle processing method according to an embodiment of the present invention.
  • FIG. 10 is a block diagram of another specific structure of a guide system in an embodiment of the present invention.
  • caption templates In the traditional captioning machine, staff make caption templates in advance, and then fill the caption templates with corresponding signal content to generate caption filling signal pictures and key signal pictures, and then send them to the guide station for synthesis with the video stream to be displayed.
  • the production of caption templates for traditional caption machines and the filling of corresponding signal content on the caption templates are usually based on the offline mode, which has the disadvantages of low freedom and low real-time performance of the caption machines.
  • the amount of game data In competitive games, the amount of game data is usually large, and the update is relatively fast. It is difficult for traditional captioning machines to meet the real-time data presentation requirements of competitive games.
  • the traditional e-sports OB system can only receive subtitle data and video streams from the same system, and then directly output the combined picture of the subtitles and video streams of a specific e-sports game.
  • the data of video streams and competitive objects usually come from different systems. The scene of the game is captured by the shooting device of the guide station. The data of the competitive objects needs to be collected and processed by a specific system. Therefore, the traditional e-sports OB system cannot synthesize the data and video streams of competitive objects in other competitive games.
  • embodiments of the present invention Based on the preset application on the computer to realize the filling signal screen and the key signal screen, it can realize the online loading of competitive data during the competitive game, and with the flexibility of the preset application, the caption processing is highly automated and real-time.
  • the guide system uses the computer to perform subtitle files (first preset subtitle template, second preset subtitle template and fill signal screen) And key signal screen), the video stream to be displayed is obtained through the shooting device of the guide station, and then the guide station synthesizes the filled signal picture, the key signal picture and the video stream to be displayed.
  • the guide system can be widely used in a variety of In the caption processing scene of competitive video.
  • FIG. 1 is a structural diagram of a guide system in an embodiment of the present invention.
  • the guidance system of an embodiment of the present invention may include an external device, a computer, and a guidance station, where the external device is connected to the computer in communication (wired, wireless, or other communication modes), and the computer is connected to the guidance station in communication.
  • the guide system of this embodiment is applied in competitive games, where the competitive game may be a game in a real scene, such as a game with real competitive objects, real competitive players (controllable competitive objects), or no competitive objects, but Including real competitive players (such as boxing).
  • the competitive game may also be a virtual competitive game (such as MOBA), the competitive object is a virtual competitive object, and the competitive player is a real competitive player.
  • a competitive game usually includes a referee system and/or an event system.
  • the external device in this embodiment may include a referee system and/or an event system.
  • the referee system In a competitive game in a real scene, the referee system is used to determine the competitive results of real competitive players operating real competitive objects in the game, or to determine the competitive results of real competitive players directly during the game. In a virtual competitive game, the referee system is used to determine the competitive results of real competitive players operating virtual competitive objects to conduct the game.
  • the event system is usually used to determine the competitive rules in the course of the competitive game.
  • the functions of the referee system and the event system can be integrated into the computer of the guidance system, and the competition data is processed by the computer of the guidance system.
  • the referee system and/or the event system may be a server provided independently of the computer of the guide system.
  • the external device may include the referee system and/or the event system.
  • the referee system and/or event system are in communication with the computer.
  • the competitive object may include a robot in a real competitive game scene
  • the referee system is in communication with the sensor device on the robot, and the sensor device on the robot may obtain the identity data of the robot.
  • Detect the state data of the robot during the game such as blood volume data, position information, operation information (such as the robot is in an attacking state or defensive state, etc.) and collect data
  • the sensor equipment on the robot will collect the current data
  • the data is sent to the referee system, and the field sensing equipment can collect data such as the number of projectiles supplied to the current robot by the projectile supply mechanism, the current status information of the visual game mechanism, and send the current collected data to the referee system.
  • the referee system is communicatively connected to the field sensing equipment (such as projectile replenishment mechanism and visual game mechanism) where the robot is located.
  • the competitive object may include a virtual robot in a virtual competitive game scene, the virtual robot is operated by a real competitive player, and the referee system is connected to the game server of the virtual competitive game, thereby directly acquiring data information of the virtual robot, such as virtual The robot's identity data, blood volume data, position data, etc., and then determine the virtual robot's status data based on the acquired virtual robot's data information.
  • data information of the virtual robot such as virtual The robot's identity data, blood volume data, position data, etc.
  • the video output device of the computer is connected to the guide station.
  • FIG. 3 is a method flowchart of a video subtitle processing method in an embodiment of the present invention. It should be noted that the execution subject of the video subtitle processing method of this embodiment is the computer of the guidance system. As shown in FIG. 3, the video subtitle processing method according to an embodiment of the present invention may include the following steps:
  • Step S301 Obtain competitive data during the competitive game, the competitive data includes data sent by an external device;
  • the competition data may include offline data or online data.
  • the competition data may include text, pictures, and/or videos.
  • the data sent by the external device includes the real-time collected data of the referee system and/or the event system, and may also include data determined by analyzing the real-time collected data of the referee system and/or event system.
  • the competitive data is data obtained by analyzing the real-time collected data of the referee system by the referee system and/or based on the real-time collected data of the referee system, such as the status data of the opponent, and the data used to control the athletes of the opponent Data, data of commentators during competitive games.
  • the competition data is the competition rules determined by the competition system.
  • the athletic data includes one or more of the status data of the opponent, the data of the athlete used to control the opponent, the data of the commentator during the athletic competition, and the data of the athletic rules.
  • the athletic data may also be Including other data, not listed here.
  • the status data of the competitive object may include one or more of the competitive object's identity data, the competitive object's number data, blood volume data, position data, competitive score data, life status data, and stunt trigger data. It is understood that the state data of the competitive object may also include other data information used to represent the state of the competitive object.
  • the competitive object may include a robot in a real scene, and the referee system analyzes the collected data of the sensor device on the robot and/or the collected data of the field sensor device to determine the state data of the competitive object.
  • the competitive object may include a robot in a virtual scene, and the referee system may determine the state data of the virtual robot based on the virtual robot data information directly obtained from the virtual competitive game server.
  • the athlete data includes one or more of the athlete's identity data, the athlete's historical athletic record data, and the athlete's current athletic record data.
  • the athlete data is not limited to the data types listed above , Can also include other data types.
  • the data of the commentator includes the identity information of the commentator or others, such as the number of commentators in the current game.
  • the competition rules data may include one or more of game time data, game round data, schedule data, match data, and statistical data during the competition of each round.
  • the competition rules data may also include other data For information, you can choose the data type of the competition rules data according to your needs.
  • the athletic data may also include local data and/or computer input data.
  • the competition data includes one or more of local data, input data of a computer, and transmission data of an external device. It can be understood that the types of sports data are not limited to the data types listed in the above embodiments, but may include other data types.
  • the local data is data stored in the disk of the computer, and the local data is usually offline data.
  • the input data of the computer can be contact input data, such as the data input by the user through the keyboard, mouse, etc., or the data read by the computer and stored in the U disk and mobile hard disk inserted in the computer; the input of the computer
  • the data can also be non-contact input data, such as the data obtained by the identification module of the computer based on the induction method (such as face recognition, voice recognition, etc.), the data obtained by the computer through the APP, etc.
  • obtaining the competitive data during the competitive game may specifically include: receiving data sent by an external device, verifying the currently received data, and using the verified data as competitive data, and verifying the failed data It is determined to be invalid data to ensure the accuracy and safety of the data.
  • verifying the currently received data specifically, if the data format of the currently received data satisfies the preset data structure, the currently received data is determined to be competitive data. If the data format of the currently received data does not satisfy the preset data structure, the currently received data is determined to be invalid data.
  • the computer after receiving the data sent by the external device, the computer analyzes and checks the currently received data to determine whether the currently received data meets the preset protobuf verification rules.
  • the data meets the preset protobuf, the data format of the currently received data meets the preset data structure, and the currently received data is competitive data; if the currently received data does not meet the preset protobuf, the current receive The data format of the received data does not satisfy the preset data structure, and the currently received data is invalid data.
  • the competitive data during the competitive game is obtained, the competitive data is stored in a database, and the competitive data during the competitive game is stored in the database to facilitate subsequent calls.
  • Step S302 Rendering competitive data on the first preset subtitle template of the display area of the preset application to generate a filled signal screen (ie, RGB signal screen), the display area further includes a second preset subtitle template, and the second preset subtitle template is Fill the key signal picture corresponding to the signal picture (ie ALPHA signal picture);
  • the preset application may include a World Wide Web Web application, such as various browser applications, and the preset application may also be a desktop word, PPT, photo editor, and so on.
  • the preset application is the World Wide Web Web application.
  • the Web application is easy to develop, and can support the display of text, pictures, videos and other content, and can implement user interactive operations and dynamics through the script language effect.
  • the resolution of the filled signal screen and the resolution of the key signal screen may be equal or different.
  • the resolution of the fill signal picture and the key signal picture are not equal, after the fill signal picture and the key signal picture are combined into the video stream to be displayed, the new video stream obtained will have subtitle redundancy or missing subtitles And other subtitle effects.
  • the resolution of the fill signal picture and the resolution of the key signal picture are equal.
  • the resolution of the display area is twice the resolution of the filled signal picture or the resolution of the key signal picture.
  • the width of the resolution of the display area is twice the width of the resolution of the fill signal screen or the key signal screen.
  • the height of the resolution of the display area is twice the height of the resolution of the filled signal picture or the key signal picture.
  • the resolution of the filled signal screen and the resolution of the key signal screen can be equal to the resolution of the display screen of the computer after being scaled by a preset ratio, for example, the display area is a Web page.
  • the display area is designed in advance. After opening the Web application, the Web page is directly twice the resolution of the display screen.
  • the display area is obtained by stretching a web page with a resolution equal to the resolution of the display screen of the computer based on the World Wide Web Web application, and the resolution of the stretched web page is that of the display screen of the computer The resolution is twice as large.
  • the width of a Web page with a resolution equal to that of the display screen of the computer is stretched to twice the width of the display screen of the computer to obtain the stretched Web page.
  • the height of a Web page with a resolution equal to that of the display screen of the computer is stretched to twice the height of the display screen of the computer to obtain the stretched Web page.
  • the first preset subtitle template may include subtitle display information such as a subtitle display position and/or subtitle display content.
  • the subtitle display position refers to the position where the subtitles are displayed in the new video stream. Referring to FIG. 5, the subtitles are displayed in the areas A and B of the new video stream.
  • the subtitle display content refers to the subtitle information displayed in the new video stream, such as text, patterns, colors, shapes and other static information.
  • the second preset template is used to indicate the transparency effect of each pixel in the fill picture in the new video stream. Specifically, the transparency effect of each pixel in the fill signal picture in the new video stream is based on the correspondence in the key signal picture. The brightness of the location pixel is determined.
  • the area of the first preset subtitle template corresponds to the area of the second preset subtitle template.
  • the areas A, B, and C of the first preset subtitle template require the assistance of the second preset subtitle template and have a special effect, then the area A of the first preset subtitle template and the second preset The position and size of the area A'of the subtitle template are the same, the area B of the first preset subtitle template and the position B of the second preset subtitle template are the same, the area C of the first preset subtitle template and the second pre Let the position and size of C'of the subtitle template be the same.
  • the area of the new video stream corresponds to the area of the first preset subtitle template
  • the manner in which the area of the new video stream and the area of the first preset subtitle template correspond to the area and the area of the first preset subtitle template The corresponding manner of the area of the second preset subtitle template is similar, and will not be repeated here.
  • the brightness of each pixel in the key signal screen can be designed according to needs, so that the subtitles in different areas of the new video stream have different transparency effects.
  • the brightness of each pixel in the key signal screen is based on the subtitle display position of the subtitle template of the first preset template (that is, the display position of the competition data), and/or the subtitle display content, and/or the preset and competition
  • the subtitle effect corresponding to the data is determined.
  • the first preset subtitle template includes an area A, an area B, and an area C.
  • a portion corresponding to the area A in the new video stream and a portion corresponding to the area B in the new video stream need to be displayed transparently.
  • the part of the new video stream corresponding to the region C is non-transparent, and the transparency of the part of the new video stream corresponding to the region A is higher than the transparency of the part of the new video stream corresponding to the region B.
  • the brightness of each pixel in the area A', area B'and area C'in the screen is designed. Specifically, the greater the brightness of each pixel in the key signal screen, the fill signal screen corresponds to the pixel in the new video stream The greater the transparency of the location.
  • the brightness of each pixel in the display position of the same competitive data in the key signal screen is the same.
  • the first preset subtitle template includes the display positions of three competitive data in area A, area B, and area C, and the brightness of each pixel in area A′ of the key signal screen is set to In the first brightness, the brightness of each pixel in the area B'of the key signal screen is set to the second brightness, and the brightness of each pixel in the area C'in the key signal screen is set to the third brightness.
  • the transparency of the filled signal picture in the new video stream corresponding to the area A of each pixel is the same, and the transparency of the filled signal picture in the new video stream corresponding to the area B of each pixel is the same.
  • the transparency of each pixel in the part corresponding to the region C in the video stream is also the same.
  • the first brightness, the second brightness, and the third brightness are different. For example, if the first brightness is 0, the second brightness is 50, and the third brightness is 255, the filled signal picture corresponds to the new video stream.
  • the transparency of each pixel in the part of area A is the largest and completely transparent; the transparency of each pixel in the part of area C corresponding to area C in the new video stream is the smallest and opaque; the signal of the fill signal is new in the new video stream
  • the transparency of each pixel in the part corresponding to area B in is between completely transparent and opaque.
  • the first brightness, the second brightness, and the third brightness are partially or completely the same.
  • the brightness of each pixel of the display position of the same competitive data in the key signal picture is at least partially different, so that the filled signal picture can present different transparency effects at the corresponding position of the new video stream.
  • the transparency gradient effect of the part of the signal picture in the corresponding area D of the new video stream such as transparency From left to right (in the direction of the arrow in FIG. 6)
  • the brightness of each pixel of the area D'in the key signal screen can be set to a gradually decreasing trend from left to right, and the fill signal can be achieved
  • the transparency of the part of the picture corresponding to the area D in the new video stream is gradually increasing.
  • the position of some pixels filled in the signal screen can be set as the display position of the competitive data, and the brightness of each pixel in the position corresponding to the display position of the competitive data in the key signal screen can be set to make the new
  • the area picture corresponding to the display position of the competitive data in the video stream is covered by the competitive data.
  • the entire fill signal picture can be set as the display position of the competitive data, and by setting the brightness of each pixel of the entire area of the key signal picture, the video stream picture to be displayed is completely covered, so that the new Of the video stream becomes hazy.
  • the first preset subtitle template and/or the second preset template can be dynamically adjusted according to one or more of the competition data, local data, and computer input data, so that a new video stream is generated Different subtitle effects.
  • the real-time dynamic adjustment process of the first preset subtitle template and the second preset template may include the following steps:
  • Step S701 Determine the preset caption effect corresponding to the competitive data
  • the subtitle display content is static information.
  • the subtitle effect in this step may include static information, and may also include dynamic information (such as the change process of the subtitle shape).
  • the subtitle effect may include one or more of animation effects, display effects, and hidden effects.
  • the animation effects may include gradient, fly in, fly out, blinds, bounce, zoom in, zoom out, etc.
  • Display effects can include gradients, fly-in, fly-out, blinds, bounces, the transparency of the sports data at the specified position in the new video stream gradually increases along a specific direction or the transparency gradually decreases along a specific direction, etc., different sports data displays The duration of the competition, the location of the competition data, and the shape of the competition data.
  • the display effects include animation effects and other data information used to indicate changes in subtitles.
  • competitive data 1 needs to be synthesized in the upper left corner of the new video stream in a fly-in manner and move from left to right to the upper right corner of the new video stream at a preset speed within 1 s.
  • the data format of the competitive data 1 is switched from "Song" to "Kai”.
  • the animation effect includes flying in, and the display effect includes flying in, and the competitive data 1 starts from a new video.
  • the upper left corner of the stream is moved to the upper right corner of the new video stream and the data format of competitive data 1 is switched from "Song" to "Kai”. It can be seen that the display effect in this implementation is richer than the animation effect.
  • Hidden effects of competitive data may include hidden effects such as mosaic overlays and picture overlays.
  • the subtitle effects corresponding to different sports data can be selected according to needs, for example, sports data 1 corresponds to the animation effect of flying in, and sports data 2 corresponds to the animation effect of blinds.
  • the subtitle effects corresponding to different subtitle display positions can be fixed. As shown in FIG. 5, the subtitle effect in area A is flying in, and the subtitle effect in area B is bounce.
  • the subtitle effects corresponding to different subtitle display positions change with time and/or subtitle display content, for example, the subtitle effect of area A at the first moment is flying in, the subtitle effect at the second moment is flying out, and the third The subtitle effect at the moment is blinds and so on.
  • Step S702 Adjust the display information of the content in the first preset subtitle template and/or the second preset subtitle template according to the subtitle effect, so that a subtitle effect is generated in the new video stream.
  • the adjusted display information may include a change in the display position of the competitive data, a change in the shape of the competitive data, and/or a duration for displaying the competitive data, and so on.
  • a countdown display of competitive games is required, for example, "5", “4", “3”, “2”, “1”, and “0” are displayed in sequence in the center area of the new video stream ,
  • the duration of each number display is 1s, each number in the center area of the new video stream is gradually reduced by the preset size (the preset size is determined according to the size of the center area) until it disappears, and each number is in the new
  • the transparency of each video stream is different, you can load the numbers “5", "4", “3”, “2”, “1” and “0” in the center area of the first preset subtitle template, and Adjust the duration of the first preset template display number "5", "4", “3", “2”, “1” and “0” are 1s, at the same time, adjust the center area display of the first preset template
  • the animation effect of the numbers "5", "4", “3", “2”, “1”, and “0” is “gradual reduction from the preset size until disappearance”.
  • the brightness of each number display
  • the competitive game includes a red team and a blue team.
  • the red team and the blue team include three infantry robots, one hero, one engineering robot, and one drone.
  • the competitive game includes multiple tasks. Each robot can perform the corresponding task and attack the other robot. The team that completes all tasks first wins.
  • the data of the red team needs to be displayed on the left side of the video screen of the competitive game
  • the data of the blue team is displayed on the right side of the video screen of the competitive game
  • the process of the competitive game is displayed in the central area of the video screen of the competitive game Confrontation data, game time statistics, and scores of both parties.
  • the team information of the red team and the current operation information of the red team in the area 1 of the video screen of the competitive game it is necessary to display the identity information of the competitive objects of the red team in the area 11, such as 111 for displaying the red
  • the identity information of one of the infantry robots of the Fang team, 112 is used to display the identity information of the hero of the Red team
  • 113 is used to display the identity information of the engineering robot of the Red team.
  • the red is displayed in the area 12 of the competitive game video screen
  • the video stream of the competitive players of the Fang team displays the identity information of the competitive object currently performing the task of the red team, the weapon information of the performing task, etc. in the area 13 of the video screen of the competitive game.
  • the team information of the blue team and the current operation information of the blue team in the area 2 of the competitive game video screen, and display the identity information of the blue team’s competitive objects in the area 21, such as 211 for displaying the blue team
  • the identity information of one of the infantry robots, 212 is used to display the identity information of the blue team’s heroes
  • 213 is used to display the identity information of the blue team’s engineering robots
  • the blue team is displayed in the area 22 of the competitive game video screen.
  • the video stream of the competitive player of the player displays the identity information of the competitive object currently performing the task of the red team, the weapon information of the performing task, etc. in the area 23 of the video screen of the competitive game.
  • the entire fill signal screen can be set to the display position of the competitive data, and the brightness of each pixel in the entire area of the key signal screen can be set by , To cover all the video stream pictures to be displayed, so that the new video stream pictures become hazy.
  • the competitive data displayed in each area in the video screen of the competitive game may include text, pictures, and/or video streams.
  • the animation display effect of the area E displaying the competition data in the first preset subtitle template can be set A fly-in, so that the area E in the new video stream displays the competitive data through the fly-in.
  • the area F of the new video stream screen needs to display the gradually increasing transparency of the competition data in the direction of the arrow shown in FIG. 8B, and the second preset
  • the brightness of each pixel in the position of the corresponding area F in the subtitle template is set to gradually increase in the direction of the arrow as shown in FIG. 8B, so that the transparency of the athletic data displayed in the area F in the new video stream is as shown in FIG. 8B
  • the direction of the arrow shows gradually increasing.
  • Step S303 Transmit the fill signal picture to the guide station, and transmit the key signal picture to the guide station, so that the guide station synthesizes the video stream to be displayed according to the fill signal picture and the key signal picture and obtains a new video stream.
  • the guide station of this embodiment includes a shooting device, which is used to obtain a video stream to be displayed.
  • the shooting device is used for shooting competitive games videos.
  • the video stream to be displayed includes one or more of a confrontation video stream of an opponent, a video stream of an athlete, a video stream of a commentator, and a video stream of an audience during a competitive game, and may include other videos. flow.
  • the video output device of the computer is connected to the guide station, for example, the video output device of the computer and the guide station are connected by a signal line.
  • the computer-based video output device transmits the fill signal picture to the guide station and the key signal picture to the guide station. Compared with the captioning machine, the general equipment of the common computing system is used, and the development cost is low.
  • the video output device may include a graphics card or a non-editing card.
  • the computer projects the fill signal screen and the key signal screen in step S202 to the guide station through the computer's graphics card to achieve the purpose of real-time transmission of the fill signal screen and the key signal screen.
  • the computer transmits the fill signal screen and the key signal screen in step S302 to the guide station through the non-editing card of the computer, so as to realize the purpose of real-time transmission of the fill signal screen and the key signal screen.
  • the method further includes:
  • Step S901 call a preset instruction corresponding to the athletic data
  • Step S902 Broadcast a preset instruction.
  • the broadcast preset instruction refers to that the computer directly informs the guide station, the third-party website, and the third-party device of the preset instruction.
  • the guide station and the third-party website that is, the webcast in FIG. 10 (System) After obtaining the preset instruction, perform the corresponding operation according to the preset instruction.
  • the preset instructions may include one or more of audio playback instructions, network interface calling instructions, and guide station instructions.
  • the preset commands are not limited to the above listed ones, but may also include others, such as light display commands.
  • the network interface call instruction is mainly directed to a third-party website, and the network interface call instruction can trigger the guide station to push a new video stream to the cloud, so that the third-party website can obtain the new video stream from the cloud and play it, or ,
  • the network interface call instruction instructs the third-party website to access the computer of the guidance system, and directly receives the broadcast message generated by the computer, to ensure that the third-party website broadcasts real-time event data during the live video streaming process.
  • the guide station after the guide station obtains a new video stream, it can display the new video stream through a live screen (such as a competitive game scene), or push the new video stream to the cloud through a video push streaming server, and then The third-party website plays the new video stream obtained from the cloud.
  • a live screen such as a competitive game scene
  • a video push streaming server a video push streaming server
  • a first specific sound effect needs to be played in a new video stream.
  • the computer can call and broadcast the first sound effect playback instruction corresponding to the blood loss data of the competitive object, and the broadcast message can be Directly transmitted to the on-site audio playback device or third-party website. After receiving the broadcast message, the on-site audio playback device or third-party website will directly play with the first specific sound effect.
  • the competitive object dies, the second specific sound effect needs to be played in the new video stream.
  • the computer can call and broadcast a second audio effect playback instruction corresponding to the death state of the competitive object and broadcast it.
  • the broadcast message can be directly transmitted to the live After receiving the broadcast message, the audio playback device (that is, the audio playback device at the game site) or a third-party website will directly play the specific sound effect.
  • the guide station When a competitive object appears in a state of death and life, the guide station needs to switch the display scene of the video stream to be displayed, such as replaying a part of the video screen of the competitive object currently in the state of death in the current competitive game, or appearing to the competitive object
  • the screen of the life-death state is enlarged, and the computer can call a guide station instruction for instructing the guide station to switch the display scene of the video stream to be displayed and broadcast to the guide station to instruct the guide station to switch the display scene of the video stream to be displayed.
  • the computer can call the light display instruction and broadcast, the broadcast message is directly transmitted to the scene lighting control module, and the scene lighting control module receives the After broadcasting the message, the scene lights will be controlled to be all bright.
  • the computer can trigger the third-party website to directly execute the event corresponding to the preset instruction by broadcasting the preset instruction, such as the audio effect playback corresponding to the audio playback instruction, so that the third-party website can play the sound effect in time, ensuring that the third-party website broadcasts a new video stream The release of real-time event data during the process.
  • the preset instruction such as the audio effect playback corresponding to the audio playback instruction
  • step S901 specifically, the computer receives the preset event signal corresponding to the competitive data, and calls the preset instruction corresponding to the preset event signal.
  • the generation of the preset event signal may include one or more of generation based on input data of the computer, generation based on local control data, and generation based on control data sent by an external device.
  • the preset event signal is an audio playback indication signal, a network interface call indication signal or a guide station indication signal, etc.
  • the video stream to be displayed is a video stream during a competitive game
  • the control data includes competitive data.
  • the local control data is the local pre-stored athletic data of the computer
  • the control data sent by the external device is the athletic data during the athletic competition process sent by the external device
  • the athletic data may include the quantity data, blood volume data, and location of the athletic objects One or more of data, competitive score data, life status data, etc.
  • the preset event signal is a guide station instruction signal generated based on the local input data of the computer. For example, when the computer keyboard Ctrl key + Enter button is pressed at the same time, the computer generates a guide station to be displayed The guide signal indicating the scene switching of the video stream.
  • the guide station indication signal may also be generated based on local control data and/or based on control data sent by an external device.
  • the preset event signal is a network interface call instruction signal generated based on the local control data of the computer.
  • the sound effect data corresponding to the blood loss data of the competitive object is pre-stored locally, and the computer determines the blood loss of the competitive object
  • a network interface call instruction instruction for instructing a third-party website to play the sound effect data corresponding to the bleeding data of the competitive object is generated.
  • the network interface call instruction signal can also be generated based on the input data of the computer and/or based on the control data sent by the external device.
  • the preset event signal is an audio playback instruction signal generated based on control data sent by an external device.
  • the computer receives the death state of the competitive object, the computer generates an instruction to play specific audio data. Audio playback indicator.
  • the audio playback instruction signal can also be generated based on local control data and/or based on computer input data.
  • the caption processing method of the competitive game video can realize the online loading of the competitive data during the competitive game by using a preset application on the computer to realize the filling of the signal picture and the key signal picture, without the need to purchase a dedicated caption machine.
  • Reduced hardware cost, and by virtue of the flexibility of preset applications, the subtitle processing is highly automated, real-time, free, and has a wide range of applications.
  • the accuracy of subtitle loading is high, which meets the needs of competitive OB systems;
  • the first preset subtitle template and the second preset subtitle template are designed in the same display area of the preset application, and the fill signal screen and the key signal screen can be rendered at the same time to ensure the simultaneous rendering requirements of the two screens;
  • the guide station adopts the back-synthesis technology to synthesize the fill signal picture and the key signal picture into the video stream to be displayed to meet the data display requirements of the actual competitive game, so that the obtained Video subtitles meet broadcast-level requirements.
  • the storage medium may be a magnetic disk, an optical disk, a read-only memory (Read-Only Memory, ROM) or a random access memory (Random Access Memory, RAM), etc.

Abstract

A competition video subtitle processing method and a broadcast guiding system, the method comprising: obtaining competition data during a competition process, the competition data comprising data sent by external equipment; rendering the competition data in a first preset subtitle template of a display area of a preset application to generate a fill signal image, the display area also comprising a second preset subtitle template, and the second preset subtitle template being a key signal image corresponding to the fill signal image; and transmitting the fill signal image to a broadcast guiding station, and transmitting the key signal image to the broadcast guiding station, so that the broadcast guiding station can synthesize a video stream to be displayed according to the fill signal image and the key signal image to obtain a new video stream. By means of using a preset application on a computer to implement a fill signal image and a key signal image, online loading of competition data during the competition process can be achieved, without requiring the purchase of a special subtitle machine, thus reducing the hardware costs.

Description

竞技比赛视频的字幕处理方法和导播系统Caption processing method and guide system of competitive game video 技术领域Technical field
本发明涉及视频字幕处理领域,尤其涉及一种竞技比赛视频的字幕处理方法和导播系统。The invention relates to the field of video subtitle processing, in particular to a caption processing method and guide system for competitive game videos.
背景技术Background technique
竞技比赛直播时,为了让观众更好的了解赛事内容,常常对赛事关键信息在屏幕上进行呈现。非电子竞技比赛直播时,信息的呈现通常由工作人员采用字幕机进行现场制作和播放,但由于赛事信息数据项多且数据更新频繁,这使得传统字幕机无法有效地实时呈现赛事信息。在非电子竞技比赛直播中,通常工作人员提前制作字幕模板,然后填充上对应的信息内容生成字幕文件,字幕机在相应时间播放该字幕文件。具体实现时,字幕机与导播台基于视频信号传输接口建立通信连接,字幕机输出字幕的填充信号和键信号到导播台,导播台利用去背合成技术实时合成图文字幕叠加效果。字幕文件离线制作,且大部分字幕机无法接受网络数据并实时修改字幕内容,存在实时性差的缺点,无法满足竞技比赛OB(第三者视角)系统实时性的要求。字幕文件由字幕模板填充数据生成,但是字幕模板承载数据量非常小,不能执行复杂的数据逻辑,无法满足竞技比赛的复杂显示逻辑。另外,字幕机通常需要专用字幕软件和字幕硬件卡,硬件成本较高,且不同厂商的字幕软件和字幕硬件卡并没有形成统一的标准并且闭源,而开发一个兼容不同字幕的OB系统存在较高的开发成本。During the live broadcast of competitive games, in order to let the audience better understand the content of the event, the key information of the event is often presented on the screen. When the non-e-sports game is broadcast live, the information is usually produced and played by the staff using a caption machine. However, due to the large number of event information data and frequent data updates, this makes the traditional caption machine unable to effectively display the game information in real time. In the live broadcast of non-e-sports games, the staff usually creates a subtitle template in advance, then fills in the corresponding information content to generate a subtitle file, and the subtitle machine plays the subtitle file at the corresponding time. In specific implementation, the caption machine and the guide station establish a communication connection based on the video signal transmission interface. The caption machine outputs the subtitle filling signal and the key signal to the guide station, and the guide station uses the back-synthesis technology to synthesize the overlay effect of the text and subtitles in real time. Subtitle files are produced offline, and most subtitle machines cannot accept network data and modify subtitle content in real time, which has the disadvantage of poor real-time performance and cannot meet the real-time requirements of the OB (third-party perspective) system of competitive games. The subtitle file is generated from the subtitle template filling data, but the subtitle template carries a very small amount of data, cannot perform complex data logic, and cannot meet the complex display logic of competitive games. In addition, captioning machines usually require special captioning software and captioning hardware cards, and the hardware cost is relatively high. The captioning software and captioning hardware cards of different manufacturers have not formed a unified standard and are closed-source. High development costs.
在电子竞技OB系统中,为了呈现赛事信息,允许第三方加入比赛并实时获取对战双方状态信息,如小地图、血量、成就等,极大地方便观众了解赛事进展。电子竞技OB系统的画面和角色数据都是在电子竞技系统中产生,这使得电子竞技OB系统灵活渲染和显示对战双方画面。然而对于现实中的竞技比赛,画面和角色的数据来源于不同系统,现场画面是摄像机拍摄,赛场上的竞技对象的状态和数据需要特定系统进行收集处理。电子竞技OB系统的无法满足现实竞技比赛数据显示并且对现场画面进行合成叠加的需求。In the e-sports OB system, in order to present the event information, allow third parties to join the game and obtain real-time status information of the two parties, such as small maps, blood volume, achievements, etc., which greatly facilitates the audience to understand the progress of the event. The pictures and character data of the e-sports OB system are generated in the e-sports system, which allows the e-sports OB system to flexibly render and display the pictures of the two players. However, for the actual competitive games, the data of the pictures and characters come from different systems. The live pictures are taken by cameras. The state and data of the sports objects on the field need to be collected and processed by a specific system. The e-sports OB system can not meet the needs of the display of real sports competition data and the synthesis and superposition of the live pictures.
发明内容Summary of the invention
本发明提供一种视频的字幕处理方法和导播系统。The invention provides a video subtitle processing method and a guide system.
具体地,本发明是通过如下技术方案实现的:Specifically, the present invention is achieved through the following technical solutions:
根据本发明的第一方面,提供一种竞技比赛视频的字幕处理方法,所述方法包括:According to a first aspect of the present invention, there is provided a caption processing method for competitive game videos, the method including:
获取竞技比赛过程中的竞技数据,所述竞技数据包括外部设备发送的数据;Obtain competitive data during the competitive game, the competitive data includes data sent by an external device;
在预设应用的显示区域的第一预设字幕模板上渲染所述竞技数据生成填充信号画面,所述显示区域还包括第二预设字幕模板,所述第二预设字幕模板为所述填充信号画面对应的键信号画面;Rendering the competitive data on a first preset subtitle template of a display area of a preset application to generate a fill signal picture, the display area further includes a second preset subtitle template, and the second preset subtitle template is the fill Key signal screen corresponding to the signal screen;
将所述填充信号画面传输至导播台,并将所述键信号画面传输至所述导播台,以使得所述导播台根据所述填充信号画面和所述键信号画面对待显示的视频流进行合成并得到新的视频流。Transmitting the fill signal picture to the guide station, and transmitting the key signal picture to the guide station, so that the guide station synthesizes the video stream to be displayed according to the fill signal picture and the key signal picture And get a new video stream.
根据本发明的第二方面,提供一种竞技比赛的导播系统,所述导播系统包括:外部设备、计算机和导播台,所述外部设备与所述计算机基于网络实现通信连接,所述计算机与所述导播台通信连接;According to a second aspect of the present invention, there is provided a guide system for a competitive game. The guide system includes: an external device, a computer, and a guide station. The external device and the computer implement a communication connection based on a network, and the computer and all Describe the communication connection of the guide station;
其中,所述计算机用于获取竞技比赛过程中的竞技数据,所述竞技数据包括所述外部设备发送的数据;并在预设应用的显示区域的第一预设字幕模板上渲染所述竞技数据生成填充信号画面,所述显示区域还包括第二预设字幕模板,所述第二预设字幕模板为所述填充信号画面对应的键信号画面;Wherein, the computer is used to obtain competitive data during the competitive game, the competitive data includes data sent by the external device; and render the competitive data on the first preset subtitle template in the display area of the preset application Generating a fill signal picture, the display area further includes a second preset subtitle template, and the second preset subtitle template is a key signal picture corresponding to the fill signal picture;
所述计算机还用于将所述填充信号画面传输至导播台,并将所述键信号画面传输至所述导播台;所述导播台根据所述填充信号画面和所述键信号画面对待显示的视频流进行合成并得到新的视频流。The computer is also used to transmit the fill signal picture to the guide station and the key signal picture to the guide station; the guide station according to the fill signal picture and the key signal picture to be displayed The video stream is synthesized and a new video stream is obtained.
由以上本发明实施例提供的技术方案可见,通在计算机上采用预设应用实现填充信号画面和键信号画面,即可实现竞技比赛过程中的竞技数据的在线加载,无需购买专用字幕机,降低了硬件成本,且借助于预设应用的灵活性,字幕处理的自动化程度高、实时性强、自由度高、适用范围广泛,字幕加载的准确度高,满足竞技比赛OB系统的需求;同时,采用预设应用的同一显示区域中设计第一预设字幕模板和第二预设字幕模板,可以将填充信号画面和键信号画面同时进行渲染,确保两个页面同步渲染要求;另外,在计算机渲染获得填充信号画面和键信号画面后,再由导播台采用去背合成技术将填充信号画面和键信号画面合成到待显示的视频流中,满足现实竞技比赛的数据显示需求,使获得的视频字幕满足广播级要求。It can be seen from the technical solutions provided by the above embodiments of the present invention that by using a preset application on a computer to realize the filling of the signal screen and the key signal screen, the online loading of competitive data during the competitive game can be achieved without the need to purchase a dedicated captioning machine. In addition to the hardware cost, and with the help of the flexibility of the preset application, the subtitle processing has high automation, strong real-time, high degree of freedom, wide application range, high accuracy of subtitle loading, and meets the needs of competitive OB systems; at the same time, The first preset subtitle template and the second preset subtitle template are designed in the same display area of the preset application, and the fill signal screen and the key signal screen can be rendered at the same time to ensure the simultaneous rendering requirements of the two pages; in addition, the computer rendering After obtaining the fill signal screen and the key signal screen, the guide station uses the back-off synthesis technology to synthesize the fill signal screen and the key signal screen into the video stream to be displayed to meet the data display requirements of the actual competitive game and make the obtained video subtitles Meet broadcast-level requirements.
附图说明BRIEF DESCRIPTION
为了更清楚地说明本发明实施例中的技术方案,下面将对实施例描述中所需要使用的附图作简单地介绍,显而易见地,下面描述中的附图仅仅是本发明的一些实施例,对于本领域普通技术人员来讲,在不付出创造性劳动性的前提下,还可以根据这些附图获得其他的附图。In order to more clearly explain the technical solutions in the embodiments of the present invention, the drawings required in the description of the embodiments will be briefly introduced below. Obviously, the drawings in the following description are only some embodiments of the present invention. For those of ordinary skill in the art, without paying any creative labor, other drawings can also be obtained based on these drawings.
图1是本发明一实施例中的导播系统的结构框图;1 is a structural block diagram of a guide system in an embodiment of the present invention;
图2是本发明一实施例中的导播系统的一具体结构框图;2 is a block diagram of a specific structure of a guide system in an embodiment of the present invention;
图3是本发明一实施例中的视频的字幕处理方法的方法流程图;FIG. 3 is a method flowchart of a video subtitle processing method in an embodiment of the present invention;
图4是本发明一实施例中的导播系统的一具体结构框图;4 is a block diagram of a specific structure of a guide system in an embodiment of the present invention;
图5是本发明一实施例中的填充信号画面和键信号画面的显示图;5 is a display diagram of a fill signal screen and a key signal screen in an embodiment of the invention;
图6是本发明一实施例中的填充信号画面和键信号画面的另一显示图;6 is another display diagram of the fill signal screen and the key signal screen in an embodiment of the invention;
图7是本发明一实施例中的视频的字幕处理方法的一种具体方法流程图;7 is a flowchart of a specific method of a video subtitle processing method according to an embodiment of the present invention;
图8A是本发明一具体实施例中的由填充信号画面和键信号画面合成至待显示的视频流所获得的新的视频流画面图;8A is a diagram of a new video stream picture obtained by synthesizing a fill signal picture and a key signal picture into a video stream to be displayed in a specific embodiment of the present invention;
图8B是本发明另一具体实施例中的由填充信号画面和键信号画面合成至待显示的视频流所获得的新的视频流画面图;8B is a diagram of a new video stream screen obtained by synthesizing a fill signal screen and a key signal screen into a video stream to be displayed in another specific embodiment of the present invention;
图9是本发明一实施例中的视频的字幕处理方法的另一种具体方法流程图;9 is a flowchart of another specific method of a video subtitle processing method according to an embodiment of the present invention;
图10是本发明一实施例中的导播系统的另一具体结构框图。10 is a block diagram of another specific structure of a guide system in an embodiment of the present invention.
具体实施方式detailed description
下面将结合本发明实施例中的附图,对本发明实施例中的技术方案进行清楚、完整地描述,显然,所描述的实施例仅仅是本发明一部分实施例,而不是全部的实施例。基于本发明中的实施例,本领域普通技术人员在没有做出创造性劳动前提下所获得的所有其他实施例,都属于本发明保护的范围。The technical solutions in the embodiments of the present invention will be described clearly and completely in conjunction with the drawings in the embodiments of the present invention. Obviously, the described embodiments are only a part of the embodiments of the present invention, but not all of the embodiments. Based on the embodiments of the present invention, all other embodiments obtained by a person of ordinary skill in the art without creative work fall within the protection scope of the present invention.
下面结合附图,对本发明的竞技比赛视频的字幕处理方法和导播系统进行详细说明。在不冲突的情况下,下述的实施例及实施方式中的特征可以相互组合。The caption processing method and guide system of the competitive game video of the present invention will be described in detail below with reference to the drawings. The features in the following examples and implementations can be combined with each other without conflict.
传统字幕机由工作人员提前制作字幕模板,然后在字幕模板上填充对应的信号内容,生成字幕填充信号画面和键信号画面,再发送至导播台与待显示视频流进行合成。传统字幕机的字幕模板的制作以及在字幕模板上填充对应的信号内容通常基于离线方式,字幕机的自由度低、实时性低等劣势。而竞技比赛中,比赛数据量通常很大,且更新较快,传统字幕机难以满足竞技比赛对数据实时进行呈现的要求。In the traditional captioning machine, staff make caption templates in advance, and then fill the caption templates with corresponding signal content to generate caption filling signal pictures and key signal pictures, and then send them to the guide station for synthesis with the video stream to be displayed. The production of caption templates for traditional caption machines and the filling of corresponding signal content on the caption templates are usually based on the offline mode, which has the disadvantages of low freedom and low real-time performance of the caption machines. In competitive games, the amount of game data is usually large, and the update is relatively fast. It is difficult for traditional captioning machines to meet the real-time data presentation requirements of competitive games.
而对于传统电子竞技OB系统,其只能够接收来自同一系统的字幕数据与视频流,然后直接输出特定电子竞技比赛的字幕与视频流合成后的画面。然而,对于竞技比赛,视频流和竞技对象的数据通常来源于不同的系统,比赛现场的画面由导播台的拍摄装置拍摄,竞技对象的数据需要特定系统进行收集处理。因此,传统电子竞技OB系统无法对其他竞技比赛中竞技对象的数据和视频流进行合成。As for the traditional e-sports OB system, it can only receive subtitle data and video streams from the same system, and then directly output the combined picture of the subtitles and video streams of a specific e-sports game. However, for competitive games, the data of video streams and competitive objects usually come from different systems. The scene of the game is captured by the shooting device of the guide station. The data of the competitive objects needs to be collected and processed by a specific system. Therefore, the traditional e-sports OB system cannot synthesize the data and video streams of competitive objects in other competitive games.
为了克服现有字幕机在竞技比赛中呈现信息存在定制度自由度低、实时性低缺点,并克服传统电子竞技OB系统无法合成其他竞技比赛中竞技对象的数据和视频流缺点,本发明实施例基于计算机上的预设应用实现填充信号画面和键信号画面,可以实现竞技比赛过程中的竞技数据的在线加载,且借助于预设应用的灵活性,字幕处理的自动化程度高、实时性强、自由度高、适用范围广泛,字幕加载的准确度高,满足 竞技比赛OB系统的需求;另外,导播系统通过计算机进行字幕文件(第一预设字幕模板、第二预设字幕模板以及填充信号画面和键信号画面)的制作,通过导播台的拍摄装置获取待显示的视频流,再由导播台对填充信号画面、键信号画面以及待显示的视频流进行合成,导播系统可广泛应用在多种竞技比赛视频的字幕处理场景中。In order to overcome the shortcomings of the existing caption machine presenting information in competitive games, such as low degree of freedom of customization and low real-time, and overcome the shortcomings of the traditional e-sports OB system unable to synthesize data and video streams of competitive objects in other competitive games, embodiments of the present invention Based on the preset application on the computer to realize the filling signal screen and the key signal screen, it can realize the online loading of competitive data during the competitive game, and with the flexibility of the preset application, the caption processing is highly automated and real-time. High degree of freedom, wide range of application, high accuracy of subtitle loading, meeting the needs of competitive OB system; In addition, the guide system uses the computer to perform subtitle files (first preset subtitle template, second preset subtitle template and fill signal screen) And key signal screen), the video stream to be displayed is obtained through the shooting device of the guide station, and then the guide station synthesizes the filled signal picture, the key signal picture and the video stream to be displayed. The guide system can be widely used in a variety of In the caption processing scene of competitive video.
图1是本发明一实施例中的导播系统的结构图。如图1所示,本发明实施例的导播系统可包括外部设备、计算机和导播台,其中,外部设备与计算机通信(有线、无线或其他通信方式)连接,计算机与导播台通信连接。FIG. 1 is a structural diagram of a guide system in an embodiment of the present invention. As shown in FIG. 1, the guidance system of an embodiment of the present invention may include an external device, a computer, and a guidance station, where the external device is connected to the computer in communication (wired, wireless, or other communication modes), and the computer is connected to the guidance station in communication.
本实施例的导播系统应用在竞技比赛中,其中,竞技比赛可为现实场景中的比赛,如具有真实的竞技对象、真实的竞技选手(可控制竞技对象)的比赛,或者无竞技对象,但包括真实的竞技选手的比赛(如拳击)。竞技比赛还可为虚拟竞技比赛(如MOBA),竞技对象为虚拟的竞技对象,竞技选手为真实的竞技选手。The guide system of this embodiment is applied in competitive games, where the competitive game may be a game in a real scene, such as a game with real competitive objects, real competitive players (controllable competitive objects), or no competitive objects, but Including real competitive players (such as boxing). The competitive game may also be a virtual competitive game (such as MOBA), the competitive object is a virtual competitive object, and the competitive player is a real competitive player.
无论是显示场景中的比赛,还是虚拟竞技比赛,竞技比赛通常包括裁判系统和/或赛事系统。本实施例的外部设备可包括裁判系统和/或赛事系统。Whether displaying a game in a scene or a virtual competitive game, a competitive game usually includes a referee system and/or an event system. The external device in this embodiment may include a referee system and/or an event system.
在现实场景中的竞技比赛中,裁判系统用于确定真实的竞技选手操作真实的竞技对象进行比赛的过程中的竞技结果,或者用于确定真实竞技选手之间直接进行比赛过程中的竞技结果。在虚拟竞技比赛中,裁判系统用于确定真实的竞技选手操作虚拟的竞技对象进行比赛的过程中的竞技结果。In a competitive game in a real scene, the referee system is used to determine the competitive results of real competitive players operating real competitive objects in the game, or to determine the competitive results of real competitive players directly during the game. In a virtual competitive game, the referee system is used to determine the competitive results of real competitive players operating virtual competitive objects to conduct the game.
无论是现实场景的竞技比赛,还是虚拟竞技比赛,赛事系统通常用于确定该竞技比赛过程中的竞技规则。Whether it is a real-world competitive game or a virtual competitive game, the event system is usually used to determine the competitive rules in the course of the competitive game.
在一实施例中,在导播系统的计算机中可以集成该裁判系统和赛事系统的功能,竞技数据均由该导播系统的计算机进行处理。In one embodiment, the functions of the referee system and the event system can be integrated into the computer of the guidance system, and the competition data is processed by the computer of the guidance system.
在另一实施例中,裁判系统和/或赛事系统可以为独立于导播系统的计算机设置的服务器,参见图2,本实施例中,外部设备可包括裁判系统和/或赛事系统。裁判系统和/或赛事系统与计算机分别通信连接。In another embodiment, the referee system and/or the event system may be a server provided independently of the computer of the guide system. Referring to FIG. 2, in this embodiment, the external device may include the referee system and/or the event system. The referee system and/or event system are in communication with the computer.
可选的,又参见图2,竞技对象可包括在现实竞技比赛场景中的机器人,裁判系统与机器人上的传感设备通信连接,机器人上的传感设备可获取该机器人的身份数据,还可检测该机器人在比赛过程中的状态数据,如血量数据、位置信息、操作信息(如该机器人处于攻击状态或防守状态等)等采集数据,并且,该机器人上的传感设备会将当前采集数据发送至裁判系统,场地传感设备可采集到如弹丸补给机构的补给给当前机器人的弹丸数量数据,视觉游戏机构的当前状态信息等采集数据,并将当前采集数据发送至裁判系统。裁判系统与还机器人所在竞技场地的场地传感设备(如弹丸补给机构、视觉游戏机构)通信连接。Optionally, referring also to FIG. 2, the competitive object may include a robot in a real competitive game scene, the referee system is in communication with the sensor device on the robot, and the sensor device on the robot may obtain the identity data of the robot. Detect the state data of the robot during the game, such as blood volume data, position information, operation information (such as the robot is in an attacking state or defensive state, etc.) and collect data, and the sensor equipment on the robot will collect the current data The data is sent to the referee system, and the field sensing equipment can collect data such as the number of projectiles supplied to the current robot by the projectile supply mechanism, the current status information of the visual game mechanism, and send the current collected data to the referee system. The referee system is communicatively connected to the field sensing equipment (such as projectile replenishment mechanism and visual game mechanism) where the robot is located.
可选的,竞技对象可包括在虚拟竞技比赛场景中的虚拟机器人,该虚拟机器人 由真实的竞技选手操作,裁判系统接入虚拟竞技比赛的比赛服务器,从而直接获取虚拟机器人的数据信息,如虚拟机器人的身份数据、血量数据、位置数据等,再基于所获取的虚拟机器人的数据信息确定虚拟机器人的状态数据。Optionally, the competitive object may include a virtual robot in a virtual competitive game scene, the virtual robot is operated by a real competitive player, and the referee system is connected to the game server of the virtual competitive game, thereby directly acquiring data information of the virtual robot, such as virtual The robot's identity data, blood volume data, position data, etc., and then determine the virtual robot's status data based on the acquired virtual robot's data information.
可选的,计算机的视频输出设备与导播台相连。Optionally, the video output device of the computer is connected to the guide station.
图3是本发明一实施例中的视频的字幕处理方法的方法流程图。需要说明的是,本实施例的视频字幕处理方法的执行主体为导播系统的计算机。如图3所示,本发明实施例的视频的字幕处理方法可包括如下步骤:FIG. 3 is a method flowchart of a video subtitle processing method in an embodiment of the present invention. It should be noted that the execution subject of the video subtitle processing method of this embodiment is the computer of the guidance system. As shown in FIG. 3, the video subtitle processing method according to an embodiment of the present invention may include the following steps:
步骤S301:获取竞技比赛过程中的竞技数据,所述竞技数据包括外部设备发送的数据;Step S301: Obtain competitive data during the competitive game, the competitive data includes data sent by an external device;
该步骤中,竞技数据可包括离线数据,也可包括在线数据。其中,竞技数据可以包括文字、图片和/或视频等。In this step, the competition data may include offline data or online data. Among them, the competition data may include text, pictures, and/or videos.
本实施例中,外部设备发送的数据包括裁判系统和/或赛事系统实时的采集数据,也可包括裁判系统和/或赛事系统根据实时的采集数据分析确定的数据。可选的,竞技数据为裁判系统将该裁判系统实时的采集数据和/或基于该裁判系统实时的采集数据进行分析获得的数据,如对抗对象的状态数据、用于控制对抗对象的竞技选手的数据、竞技比赛过程中评论员的数据。可选的,竞技数据为赛事系统确定的竞技规则。In this embodiment, the data sent by the external device includes the real-time collected data of the referee system and/or the event system, and may also include data determined by analyzing the real-time collected data of the referee system and/or event system. Optionally, the competitive data is data obtained by analyzing the real-time collected data of the referee system by the referee system and/or based on the real-time collected data of the referee system, such as the status data of the opponent, and the data used to control the athletes of the opponent Data, data of commentators during competitive games. Optionally, the competition data is the competition rules determined by the competition system.
本实施例中,该竞技数据包括对抗对象的状态数据、用于控制对抗对象的竞技选手的数据、竞技比赛过程中评论员的数据、竞技规则数据中的一种或多种,竞技数据还可包括其他数据,在此不一一列举。In this embodiment, the athletic data includes one or more of the status data of the opponent, the data of the athlete used to control the opponent, the data of the commentator during the athletic competition, and the data of the athletic rules. The athletic data may also be Including other data, not listed here.
可选的,竞技对象的状态数据可包括竞技对象的身份数据、竞技对象的数量数据、血量数据、位置数据、竞技分数数据、生命状态数据、特技触发数据中的一种或多种,可以理解的是,竞技对象的状态数据还可包括其他用于表示该竞技对象的状态的数据信息。Optionally, the status data of the competitive object may include one or more of the competitive object's identity data, the competitive object's number data, blood volume data, position data, competitive score data, life status data, and stunt trigger data. It is understood that the state data of the competitive object may also include other data information used to represent the state of the competitive object.
例如,竞技对象可包括在现实场景中的机器人,裁判系统对接收到的机器人上的传感设备的采集数据和/或场地传感设备的采集数据进行分析,从而确定竞技对象的状态数据。又如,竞技对象可包括在虚拟场景中的机器人,裁判系统可基于从虚拟竞技比赛服务器直接获取的虚拟机器人的数据信息确定虚拟机器人的状态数据。For example, the competitive object may include a robot in a real scene, and the referee system analyzes the collected data of the sensor device on the robot and/or the collected data of the field sensor device to determine the state data of the competitive object. For another example, the competitive object may include a robot in a virtual scene, and the referee system may determine the state data of the virtual robot based on the virtual robot data information directly obtained from the virtual competitive game server.
可选的,竞技选手的数据包括竞技选手的身份数据、竞技选手的历史竞技战绩数据、竞技选手的当前竞技战绩数据中的一种或多种,竞技选手的数据并不限于上述列举的数据类型,还可包括其他数据类型。Optionally, the athlete data includes one or more of the athlete's identity data, the athlete's historical athletic record data, and the athlete's current athletic record data. The athlete data is not limited to the data types listed above , Can also include other data types.
可选的,评论员的数据包括评论员的身份信息或其他,如当前比赛中的评论员的数量。Optionally, the data of the commentator includes the identity information of the commentator or others, such as the number of commentators in the current game.
可选的,竞技规则数据可包括比赛时间数据、比赛局数数据、赛程数据、对阵 数据、各局竞技比赛过程中的统计数据中的一种或多种,当然,竞技规则数据还可包括其他数据信息,具体可根据需要选择竞技规则数据的数据类型。Optionally, the competition rules data may include one or more of game time data, game round data, schedule data, match data, and statistical data during the competition of each round. Of course, the competition rules data may also include other data For information, you can choose the data type of the competition rules data according to your needs.
在一些实施例中,如图4所示,竞技数据还可包括本地数据和/或计算机的输入数据。可选的,竞技数据包括本地数据、计算机的输入数据、外部设备的发送数据中的一种或多种。可以理解的是,竞技数据的类型并不限于上述实施例所列举的数据类型,还可包括其他数据类型。In some embodiments, as shown in FIG. 4, the athletic data may also include local data and/or computer input data. Optionally, the competition data includes one or more of local data, input data of a computer, and transmission data of an external device. It can be understood that the types of sports data are not limited to the data types listed in the above embodiments, but may include other data types.
其中,本地数据为存储在计算机的磁盘中的数据,本地数据通常为离线数据。Among them, the local data is data stored in the disk of the computer, and the local data is usually offline data.
计算机的输入数据可为接触式的输入数据,如用户通过键盘、鼠标等输入的数据,也可为计算机读取的插接在该计算机上的U盘、移动硬盘等存储的数据;计算机的输入数据还可为非接触式的输入数据,如计算机自带的识别模块基于感应方式(如人脸识别、声音识别等)获取的数据、计算机通过APP获取的数据等。The input data of the computer can be contact input data, such as the data input by the user through the keyboard, mouse, etc., or the data read by the computer and stored in the U disk and mobile hard disk inserted in the computer; the input of the computer The data can also be non-contact input data, such as the data obtained by the identification module of the computer based on the induction method (such as face recognition, voice recognition, etc.), the data obtained by the computer through the APP, etc.
在一些实施例中,获取竞技比赛过程中的竞技数据具体可包括:接收外部设备发送的数据,对当前接收到的数据进行验证,并将验证通过的数据作为竞技数据,将验证未通过的数据确定为无效数据,从而确保数据的准确性和安全性。在对当前接收到的数据进行验证时,具体的,若当前接收到的数据的数据格式满足预设的数据结构,则将当前接收到的数据确定为竞技数据。若当前接收到的数据的数据格式不满足预设的数据结构,则将当前接收到的数据确定为无效数据。In some embodiments, obtaining the competitive data during the competitive game may specifically include: receiving data sent by an external device, verifying the currently received data, and using the verified data as competitive data, and verifying the failed data It is determined to be invalid data to ensure the accuracy and safety of the data. When verifying the currently received data, specifically, if the data format of the currently received data satisfies the preset data structure, the currently received data is determined to be competitive data. If the data format of the currently received data does not satisfy the preset data structure, the currently received data is determined to be invalid data.
作为一种可行的实现方式,计算机在接收到外部设备发送的数据后,对当前接收到的数据进行解析校验,判断当前接收到的数据是否满足预设的protobuf校验规则,若当前接收到的数据满足预设的protobuf,则当前接收到的数据的数据格式满足预设的数据结构,且当前接收到的数据为竞技数据;若当前接收到的数据不满足预设的protobuf,则当前接收到的数据的数据格式不满足预设的数据结构,且当前接收到的数据为无效数据。As a feasible implementation, after receiving the data sent by the external device, the computer analyzes and checks the currently received data to determine whether the currently received data meets the preset protobuf verification rules. The data meets the preset protobuf, the data format of the currently received data meets the preset data structure, and the currently received data is competitive data; if the currently received data does not meet the preset protobuf, the current receive The data format of the received data does not satisfy the preset data structure, and the currently received data is invalid data.
在一些实施例中,获取竞技比赛过程中的竞技数据之后,将竞技数据存入数据库,通过数据库保存竞技比赛过程中的竞技数据,便于后续调用。In some embodiments, after the competitive data during the competitive game is obtained, the competitive data is stored in a database, and the competitive data during the competitive game is stored in the database to facilitate subsequent calls.
步骤S302:在预设应用的显示区域的第一预设字幕模板上渲染竞技数据生成填充信号画面(即RGB信号画面),显示区域还包括第二预设字幕模板,第二预设字幕模板为填充信号画面对应的键信号画面(即ALPHA信号画面);Step S302: Rendering competitive data on the first preset subtitle template of the display area of the preset application to generate a filled signal screen (ie, RGB signal screen), the display area further includes a second preset subtitle template, and the second preset subtitle template is Fill the key signal picture corresponding to the signal picture (ie ALPHA signal picture);
其中,预设应用可包括万维网Web应用,如各类浏览器应用,预设应用还可以是诸如桌面word、PPT、照片编辑器等。Among them, the preset application may include a World Wide Web Web application, such as various browser applications, and the preset application may also be a desktop word, PPT, photo editor, and so on.
作为一种可行的实现方式,预设应用为万维网Web应用,相对而言,Web应用易于开发,且能够支持文字、图片、视频等内容的展示,并可通过脚本语言实现用户交互式操作以及动态效果。As a feasible implementation method, the preset application is the World Wide Web Web application. Relatively speaking, the Web application is easy to develop, and can support the display of text, pictures, videos and other content, and can implement user interactive operations and dynamics through the script language effect.
另一方面,Web应用实现竞技数据的在线获取更加容易,例如,裁判系统和/或赛事系统通过网络通讯协议如超文本传输协议HTTP(HyperText Transfer Protocol)等发送数据至计算机的Web应用中,实现竞技数据的在线加载,竞技数据传输的实时性强。On the other hand, it is easier for web applications to achieve online acquisition of competitive data. For example, referee systems and/or event systems send data to computer web applications through network communication protocols such as Hypertext Transfer Protocol HTTP (HyperText Transfer Protocol). On-line loading of competitive data, real-time transmission of competitive data is strong.
填充信号画面的分辨率和键信号画面的分辨率可相等,也可不相等。当填充信号画面的分辨率和键信号画面的分辨率不相等时,将填充信号画面和键信号画面合成至待显示的视频流中后,获得的新的视频流会出现字幕冗余或字幕缺失等字幕效果。为避免字幕冗余或字幕缺失,本实施例中,填充信号画面的分辨率和键信号画面的分辨率相等。The resolution of the filled signal screen and the resolution of the key signal screen may be equal or different. When the resolution of the fill signal picture and the key signal picture are not equal, after the fill signal picture and the key signal picture are combined into the video stream to be displayed, the new video stream obtained will have subtitle redundancy or missing subtitles And other subtitle effects. To avoid redundant subtitles or missing subtitles, in this embodiment, the resolution of the fill signal picture and the resolution of the key signal picture are equal.
可选的,显示区域的分辨率是填充信号画面的分辨率或键信号画面的分辨率的两倍。例如,在其中一些实施例中,如图5所示,显示区域的分辨率的宽度是填充信号画面或键信号画面的分辨率的宽度的两倍。在另一些实施例中,显示区域的分辨率的高度是填充信号画面或键信号画面的分辨率的高度的两倍。Optionally, the resolution of the display area is twice the resolution of the filled signal picture or the resolution of the key signal picture. For example, in some of these embodiments, as shown in FIG. 5, the width of the resolution of the display area is twice the width of the resolution of the fill signal screen or the key signal screen. In other embodiments, the height of the resolution of the display area is twice the height of the resolution of the filled signal picture or the key signal picture.
作为一种可行的实现方式,填充信号画面的分辨率和键信号画面的分辨率在通过预设比例缩放后,可以与该计算机的显示屏幕的分辨率大小相等,如显示区域为Web网页。可选的,显示区域预先设计,打开Web应用后,Web网页直接为显示屏幕的分辨率大小两倍。可选的,显示区域为基于万维网Web应用将一分辨率大小与计算机的显示屏幕的分辨率大小相等的Web网页进行拉伸获得,拉伸后的Web网页的分辨率大小为计算机的显示屏幕的分辨率大小两倍。可选的,基于万维网Web应用将一分辨率大小与计算机的显示屏幕的分辨率大小相等的Web网页的宽度拉伸成计算机的显示屏幕的宽度的两倍,获得拉伸后的Web网页。可选的,基于万维网Web应用将一分辨率大小与计算机的显示屏幕的分辨率大小相等的Web网页的高度拉伸成计算机的显示屏幕的高度的两倍,获得拉伸后的Web网页。As a feasible implementation, the resolution of the filled signal screen and the resolution of the key signal screen can be equal to the resolution of the display screen of the computer after being scaled by a preset ratio, for example, the display area is a Web page. Optionally, the display area is designed in advance. After opening the Web application, the Web page is directly twice the resolution of the display screen. Optionally, the display area is obtained by stretching a web page with a resolution equal to the resolution of the display screen of the computer based on the World Wide Web Web application, and the resolution of the stretched web page is that of the display screen of the computer The resolution is twice as large. Optionally, based on the World Wide Web Web application, the width of a Web page with a resolution equal to that of the display screen of the computer is stretched to twice the width of the display screen of the computer to obtain the stretched Web page. Optionally, based on the World Wide Web Web application, the height of a Web page with a resolution equal to that of the display screen of the computer is stretched to twice the height of the display screen of the computer to obtain the stretched Web page.
可选的,预设应用的显示区域上无菜单栏和/或无虚拟按钮,以避免菜单栏和/或虚拟按钮对显示区域造成的遮挡。Optionally, there is no menu bar and/or no virtual button on the display area of the preset application, to avoid occlusion of the display area caused by the menu bar and/or virtual button.
本实施例中,第一预设字幕模板可包括字幕显示位置和/或字幕显示内容等字幕显示信息。其中,字幕显示位置是指新的视频流中显示字幕的位置,参见图5,新的视频流的区域A和区域B进行字幕显示。字幕显示内容是指新的视频流中显示的字幕信息,如文字、图案、颜色、形状等静态信息。In this embodiment, the first preset subtitle template may include subtitle display information such as a subtitle display position and/or subtitle display content. The subtitle display position refers to the position where the subtitles are displayed in the new video stream. Referring to FIG. 5, the subtitles are displayed in the areas A and B of the new video stream. The subtitle display content refers to the subtitle information displayed in the new video stream, such as text, patterns, colors, shapes and other static information.
第二预设模板用于指示填充画面中各个像素点在新的视频流中的透明效果,具体的,填充信号画面中各个像素点在新的视频流中的透明效果为根据键信号画面中对应位置的像素点的亮度确定。The second preset template is used to indicate the transparency effect of each pixel in the fill picture in the new video stream. Specifically, the transparency effect of each pixel in the fill signal picture in the new video stream is based on the correspondence in the key signal picture. The brightness of the location pixel is determined.
本实施例中,第一预设字幕模板的区域和第二预设字幕模板的区域相对应。例如,图5中,第一预设字幕模板的区域A、区域B、区域C需要第二预设字幕模板的 辅助而具有特殊效果,则第一预设字幕模板的区域A与第二预设字幕模板的区域A’的位置和大小相同,第一预设字幕模板的区域B与第二预设字幕模板的B’的位置和大小相同,第一预设字幕模板的区域C和第二预设字幕模板的C’的位置和大小相同。相应的,新的视频流的区域和第一预设字幕模板的区域也相对应,新的视频流的区域和第一预设字幕模板区域相对应的方式与第一预设字幕模板的区域和第二预设字幕模板的区域相对应方式相类似,此处不再赘述。In this embodiment, the area of the first preset subtitle template corresponds to the area of the second preset subtitle template. For example, in FIG. 5, the areas A, B, and C of the first preset subtitle template require the assistance of the second preset subtitle template and have a special effect, then the area A of the first preset subtitle template and the second preset The position and size of the area A'of the subtitle template are the same, the area B of the first preset subtitle template and the position B of the second preset subtitle template are the same, the area C of the first preset subtitle template and the second pre Let the position and size of C'of the subtitle template be the same. Correspondingly, the area of the new video stream corresponds to the area of the first preset subtitle template, and the manner in which the area of the new video stream and the area of the first preset subtitle template correspond to the area and the area of the first preset subtitle template The corresponding manner of the area of the second preset subtitle template is similar, and will not be repeated here.
具体可根据需要设计键信号画面中各像素点的亮度,从而使得新的视频流的不同区域的字幕具有不同的透明效果。可选的,键信号画面中各像素点的亮度是根据第一预设模板字幕模板的字幕显示位置(即竞技数据的显示位置)、和/或字幕显示内容、和/或预设的与竞技数据对应的字幕效果等确定。如图5所示,第一预设字幕模板包括区域A、区域B和区域C,最终需要在新的视频流中对应区域A的部分和新的视频流中对应区域B的部分进行透明显示,新的视频流中对应区域C的部分非透明显示,且新的视频流中对应区域A的部分的透明度高于新的视频流中对应区域B的部分的透明度,则可根据上述需求对键信号画面中区域A’、区域B’和区域C’的各像素点的亮度进行设计,具体的,键信号画面中各像素点的亮度越大,填充信号画面在新的视频流对应该像素点的位置的透明度越大。Specifically, the brightness of each pixel in the key signal screen can be designed according to needs, so that the subtitles in different areas of the new video stream have different transparency effects. Optionally, the brightness of each pixel in the key signal screen is based on the subtitle display position of the subtitle template of the first preset template (that is, the display position of the competition data), and/or the subtitle display content, and/or the preset and competition The subtitle effect corresponding to the data is determined. As shown in FIG. 5, the first preset subtitle template includes an area A, an area B, and an area C. Finally, a portion corresponding to the area A in the new video stream and a portion corresponding to the area B in the new video stream need to be displayed transparently. The part of the new video stream corresponding to the region C is non-transparent, and the transparency of the part of the new video stream corresponding to the region A is higher than the transparency of the part of the new video stream corresponding to the region B. The brightness of each pixel in the area A', area B'and area C'in the screen is designed. Specifically, the greater the brightness of each pixel in the key signal screen, the fill signal screen corresponds to the pixel in the new video stream The greater the transparency of the location.
可选的,键信号画面中同一竞技数据的显示位置的各个像素点的亮度相同。作为一可行的实现方式,参见图5,第一预设字幕模板包括区域A、区域B和区域C三个竞技数据的显示位置,将键信号画面的区域A’的各个像素点的亮度设置为第一亮度,键信号画面的区域B’的各个像素点的亮度设置为第二亮度,键信号画面中区域C’的各个像素点的亮度设置为第三亮度。最终,填充信号画面在新的视频流中对应区域A的部分各像素点的透明度相同,填充信号画面在新的视频流中对应区域B的部分各像素点的透明度相同,填充信号画面在新的视频流中对应区域C的部分各像素点的透明度也相同。Optionally, the brightness of each pixel in the display position of the same competitive data in the key signal screen is the same. As a feasible implementation manner, referring to FIG. 5, the first preset subtitle template includes the display positions of three competitive data in area A, area B, and area C, and the brightness of each pixel in area A′ of the key signal screen is set to In the first brightness, the brightness of each pixel in the area B'of the key signal screen is set to the second brightness, and the brightness of each pixel in the area C'in the key signal screen is set to the third brightness. Finally, the transparency of the filled signal picture in the new video stream corresponding to the area A of each pixel is the same, and the transparency of the filled signal picture in the new video stream corresponding to the area B of each pixel is the same. The transparency of each pixel in the part corresponding to the region C in the video stream is also the same.
在一些例子中,第一亮度、第二亮度和第三亮度各不相同,如第一亮度为0,第二亮度为50,第三亮度为255,则填充信号画面在新的视频流中对应区域A的部分的各个像素点的透明度最大,为完全透明的;填充信号画面在新的视频流中对应区域C的部分的各个像素点的透明度最小,为不透明;填充信号画面在新的视频流中对应区域B的部分的各个像素点的透明度介于完全透明和不透明之间。In some examples, the first brightness, the second brightness, and the third brightness are different. For example, if the first brightness is 0, the second brightness is 50, and the third brightness is 255, the filled signal picture corresponds to the new video stream. The transparency of each pixel in the part of area A is the largest and completely transparent; the transparency of each pixel in the part of area C corresponding to area C in the new video stream is the smallest and opaque; the signal of the fill signal is new in the new video stream The transparency of each pixel in the part corresponding to area B in is between completely transparent and opaque.
在另一些例子中,第一亮度、第二亮度和第三亮度部分或完全相同。In other examples, the first brightness, the second brightness, and the third brightness are partially or completely the same.
可选的,键信号画面中同一竞技数据的显示位置的各个像素点的亮度至少部分不相同,从而使得填充信号画面在新的视频流的对应位置能够呈现不同的透明效果。作为一可行的实现方式,参见图6,填充信号画面中的区域D对应键信号画面中的区域D’,需要填充信号画面在新的视频流对应区域D的部分的透明度渐变的效果,如 透明度从左至右(图6中箭头方向)逐渐减小,则可将键信号画面中的区域D’的各个像素点的亮度大小设置成从左至右逐渐减小的趋势,即可实现填充信号画面在新的视频流中对应区域D的部分的透明度呈逐渐增大的渐变效果。Optionally, the brightness of each pixel of the display position of the same competitive data in the key signal picture is at least partially different, so that the filled signal picture can present different transparency effects at the corresponding position of the new video stream. As a feasible implementation manner, referring to FIG. 6, filling the area D in the signal picture corresponds to the area D′ in the key signal picture, it is necessary to fill the transparency gradient effect of the part of the signal picture in the corresponding area D of the new video stream, such as transparency From left to right (in the direction of the arrow in FIG. 6), the brightness of each pixel of the area D'in the key signal screen can be set to a gradually decreasing trend from left to right, and the fill signal can be achieved The transparency of the part of the picture corresponding to the area D in the new video stream is gradually increasing.
通常情况下,可以将填充信号画面的部分像素点的位置设置成竞技数据的显示位置,并通过设置键信号画面中与竞技数据的显示位置对应的位置的各像素点的亮度大小,使得新的视频流中与竞技数据的显示位置对应的区域画面被竞技数据所覆盖。Normally, the position of some pixels filled in the signal screen can be set as the display position of the competitive data, and the brightness of each pixel in the position corresponding to the display position of the competitive data in the key signal screen can be set to make the new The area picture corresponding to the display position of the competitive data in the video stream is covered by the competitive data.
而在一些实施例中,可将整个填充信号画面设置成竞技数据的显示位置,并通过设置键信号画面的整个区域的各像素点的亮度大小,将待显示的视频流画面全部覆盖,使得新的视频流画面变成朦胧状态。In some embodiments, the entire fill signal picture can be set as the display position of the competitive data, and by setting the brightness of each pixel of the entire area of the key signal picture, the video stream picture to be displayed is completely covered, so that the new Of the video stream becomes hazy.
本实施例中,第一预设字幕模板和/或第二预设模板可根据竞技数据、本地数据、计算机的输入数据中的一种或多种实动态调整,从而使得新的视频流中产生不同的字幕效果。In this embodiment, the first preset subtitle template and/or the second preset template can be dynamically adjusted according to one or more of the competition data, local data, and computer input data, so that a new video stream is generated Different subtitle effects.
作为一种可行的实现方式,参见图7,第一预设字幕模板和第二预设模板的实时动态调整过程可包括如下步骤:As a feasible implementation manner, referring to FIG. 7, the real-time dynamic adjustment process of the first preset subtitle template and the second preset template may include the following steps:
步骤S701:确定预设的与竞技数据对应的字幕效果;Step S701: Determine the preset caption effect corresponding to the competitive data;
如上述实施例所述,字幕显示内容为静态信息,然而,与字幕显示内容不同的是,该步骤中的字幕效果可包括静态信息,还可包括动态信息(如字幕形状的变化过程)。As described in the above embodiment, the subtitle display content is static information. However, unlike the subtitle display content, the subtitle effect in this step may include static information, and may also include dynamic information (such as the change process of the subtitle shape).
本实施例中,字幕效果可包括动画效果、显示效果、隐藏效果中的一种或多种。其中,动画效果可包括渐变、飞入、飞出、百叶窗、弹跳、放大、缩小等。In this embodiment, the subtitle effect may include one or more of animation effects, display effects, and hidden effects. Among them, the animation effects may include gradient, fly in, fly out, blinds, bounce, zoom in, zoom out, etc.
显示效果可包括渐变、飞入、飞出、百叶窗、弹跳、新的视频流中指定位置的竞技数据的透明度沿着特定方向逐渐增大或透明度沿着特定方向逐渐减小等、不同竞技数据显示的持续时间、竞技数据的位置变化、竞技数据的形状。Display effects can include gradients, fly-in, fly-out, blinds, bounces, the transparency of the sports data at the specified position in the new video stream gradually increases along a specific direction or the transparency gradually decreases along a specific direction, etc., different sports data displays The duration of the competition, the location of the competition data, and the shape of the competition data.
需要说明的是,显示效果包含动画效果和其他用于指示字幕变化的数据信息。例如,在一具体实现方式中,竞技数据1需要以飞入的方式合成在新的视频流的左上角,并在1s时间内以预设速度从左至右移动至新的视频流的右上角,并且,在0.5s时,将竞技数据1的数据格式由“宋体”切换成“楷体”,本实现方式中,动画效果包括飞入,而显示效果则包括飞入、竞技数据1从新的视频流的左上角移动至新的视频流的右上角以及竞技数据1的数据格式由“宋体”切换成“楷体”,可见,本实现方式中的显示效果相比动画效果的内容更加丰富。It should be noted that the display effects include animation effects and other data information used to indicate changes in subtitles. For example, in a specific implementation, competitive data 1 needs to be synthesized in the upper left corner of the new video stream in a fly-in manner and move from left to right to the upper right corner of the new video stream at a preset speed within 1 s. And, at 0.5s, the data format of the competitive data 1 is switched from "Song" to "Kai". In this implementation, the animation effect includes flying in, and the display effect includes flying in, and the competitive data 1 starts from a new video. The upper left corner of the stream is moved to the upper right corner of the new video stream and the data format of competitive data 1 is switched from "Song" to "Kai". It can be seen that the display effect in this implementation is richer than the animation effect.
竞技数据的隐藏效果可包括马赛克覆盖、图片覆盖等隐藏效果。Hidden effects of competitive data may include hidden effects such as mosaic overlays and picture overlays.
可选的,不同的竞技数据对应的字幕效果可根据需要选择,例如,竞技数据1对应飞入的动画效果,竞技数据2对应百叶窗的动画效果。可选的,不同的字幕显示 位置对应的字幕效果可固定不变,如图5所示的区域A的字幕效果为飞入,区域B的字幕效果为弹跳。可选的,不同的字幕显示位置对应的字幕效果随时间和/或字幕显示内容变化,例如,区域A在第一时刻的字幕效果为飞入,第二时刻的字幕效果为飞出,第三时刻的字幕效果为百叶窗等等。Optionally, the subtitle effects corresponding to different sports data can be selected according to needs, for example, sports data 1 corresponds to the animation effect of flying in, and sports data 2 corresponds to the animation effect of blinds. Optionally, the subtitle effects corresponding to different subtitle display positions can be fixed. As shown in FIG. 5, the subtitle effect in area A is flying in, and the subtitle effect in area B is bounce. Optionally, the subtitle effects corresponding to different subtitle display positions change with time and/or subtitle display content, for example, the subtitle effect of area A at the first moment is flying in, the subtitle effect at the second moment is flying out, and the third The subtitle effect at the moment is blinds and so on.
步骤S702:根据字幕效果,调整第一预设字幕模板和/或第二预设字幕模板中内容的显示信息,以使得在新的视频流中产生字幕效果。Step S702: Adjust the display information of the content in the first preset subtitle template and/or the second preset subtitle template according to the subtitle effect, so that a subtitle effect is generated in the new video stream.
该步骤中,调整的显示信息可以包括竞技数据的显示位置的变化、竞技数据的形状的变化和/或竞技数据进行显示的持续时间等等。In this step, the adjusted display information may include a change in the display position of the competitive data, a change in the shape of the competitive data, and/or a duration for displaying the competitive data, and so on.
在一具体实现方式中,需要进行竞技比赛倒计时的显示,如,在新的视频流的中心区域依次显示“5”、“4”、“3”、“2”、“1”和“0”,每个数字显示持续的时长为1s,每个数字在新的视频流的中心区域由预设大小(根据中心区域的大小确定该预设大小)逐渐缩小直至消失,并且,每个数字在新的视频流中的透明度各不相同,则可在第一预设字幕模板的中心区域依次加载数字“5”、“4”、“3”、“2”、“1”和“0”,并调整第一预设模板显示数字“5”、“4”、“3”、“2”、“1”和“0”的持续时长分别为1s,同时,调整第一预设模板的中心区域显示数字“5”、“4”、“3”、“2”、“1”和“0”的动画效果为“由预设大小逐渐缩小直至消失”。与此同时,调整第二预设模板的中心区域的各个像素的亮度大小为与各个数字进行显示时所需的透明度对应的亮度大小。In a specific implementation, a countdown display of competitive games is required, for example, "5", "4", "3", "2", "1", and "0" are displayed in sequence in the center area of the new video stream , The duration of each number display is 1s, each number in the center area of the new video stream is gradually reduced by the preset size (the preset size is determined according to the size of the center area) until it disappears, and each number is in the new The transparency of each video stream is different, you can load the numbers "5", "4", "3", "2", "1" and "0" in the center area of the first preset subtitle template, and Adjust the duration of the first preset template display number "5", "4", "3", "2", "1" and "0" are 1s, at the same time, adjust the center area display of the first preset template The animation effect of the numbers "5", "4", "3", "2", "1", and "0" is "gradual reduction from the preset size until disappearance". At the same time, the brightness of each pixel in the center area of the second preset template is adjusted to the brightness corresponding to the transparency required when displaying each number.
在另一具体实现方式中,竞技比赛包括红方战队和蓝方战队,红方战队和蓝方战队分别包括3步兵机器人、1个英雄、1个工程机器人和1个无人机这些竞技对象。竞技比赛包括多个任务,每方机器人可执行相应的任务并攻击对方机器人,最先完成所有任务的队伍获胜。在比赛过程中,需要在竞技比赛视频画面的左侧区域显示红方战队的数据信息,竞技比赛视频画面的右侧区域显示蓝方战队的数据信息,竞技比赛视频画面的中部区域显示竞技比赛过程中的对抗数据、比赛时间统计数据和双方得分等。In another specific implementation manner, the competitive game includes a red team and a blue team. The red team and the blue team include three infantry robots, one hero, one engineering robot, and one drone. The competitive game includes multiple tasks. Each robot can perform the corresponding task and attack the other robot. The team that completes all tasks first wins. During the competition, the data of the red team needs to be displayed on the left side of the video screen of the competitive game, the data of the blue team is displayed on the right side of the video screen of the competitive game, and the process of the competitive game is displayed in the central area of the video screen of the competitive game Confrontation data, game time statistics, and scores of both parties.
参见图8A,需要在竞技比赛视频画面的区域1中显示红方战队的队伍信息以及红方战队的当前操作信息,在区域11显示红方战队的竞技对象的身份信息,如111用于显示红方战队的其中一个步兵机器人的身份信息,112用于显示红方战队的英雄的身份信息,113用于显示红方战队的工程机器人的身份信息等待,在竞技比赛视频画面的区域12中显示红方战队的竞技选手的视频流,在竞技比赛视频画面的区域13中显示红色战队当前执行任务的竞技对象的身份信息、执行任务的武器信息等等。并且,需要在竞技比赛视频画面的区域2中显示蓝方战队的队伍信息以及蓝方战队的当前操作信息,在区域21显示蓝方战队的竞技对象的身份信息,如211用于显示蓝方战队的其中一个步兵机器人的身份信息,212用于显示蓝方战队的英雄的身份信息,213 用于显示蓝方战队的工程机器人的身份信息等待,在竞技比赛视频画面的区域22中显示蓝方战队的竞技选手的视频流,在竞技比赛视频画面的区域23中显示红色战队当前执行任务的竞技对象的身份信息、执行任务的武器信息等等。在竞技比赛视频画面的区域3中显示比赛时间统计数据和双方得分,并在竞技比赛视频画面的区域4显示竞技比赛过程中的对抗数据的特效(战队在完成任一任务、成功攻击对方等时,需要在区域4中显示对应当前完成的任务所对应的特效,该特效的呈现方式预先设定),在竞技比赛视频画面的区域4显示竞技比赛过程中的对抗数据的文字数据,其中区域3和区域4相应,例如,区域4显示“蓝方小能量机关被激活,全队攻击力*1.5”,则区域3显示的特效可如图8A所示。Referring to FIG. 8A, it is necessary to display the team information of the red team and the current operation information of the red team in the area 1 of the video screen of the competitive game, and display the identity information of the competitive objects of the red team in the area 11, such as 111 for displaying the red The identity information of one of the infantry robots of the Fang team, 112 is used to display the identity information of the hero of the Red team, 113 is used to display the identity information of the engineering robot of the Red team. Waiting, the red is displayed in the area 12 of the competitive game video screen The video stream of the competitive players of the Fang team displays the identity information of the competitive object currently performing the task of the red team, the weapon information of the performing task, etc. in the area 13 of the video screen of the competitive game. In addition, it is necessary to display the team information of the blue team and the current operation information of the blue team in the area 2 of the competitive game video screen, and display the identity information of the blue team’s competitive objects in the area 21, such as 211 for displaying the blue team The identity information of one of the infantry robots, 212 is used to display the identity information of the blue team’s heroes, 213 is used to display the identity information of the blue team’s engineering robots, and the blue team is displayed in the area 22 of the competitive game video screen. The video stream of the competitive player of the player displays the identity information of the competitive object currently performing the task of the red team, the weapon information of the performing task, etc. in the area 23 of the video screen of the competitive game. Show the game time statistics and the scores of both parties in the area 3 of the competitive game video screen, and display the special effects of the confrontation data during the competition game in the area 4 of the competitive game video screen (when the team completes any task, successfully attacks the opponent, etc.) , The special effect corresponding to the currently completed task needs to be displayed in the area 4, and the presentation mode of the special effect is preset), and the text data of the confrontation data during the competitive game is displayed in the area 4 of the competitive game video screen, of which the area 3 Corresponding to the area 4, for example, the area 4 displays "Blue small energy mechanism is activated, the team's attack power *1.5", then the special effects displayed in the area 3 can be shown in Figure 8A.
本实现方式中,当其中一个战队完成任一任务、成功攻击对方等时,可将整个填充信号画面设置成竞技数据的显示位置,并通过设置键信号画面的整个区域的各像素点的亮度大小,将待显示的视频流画面全部覆盖,使得新的视频流画面变成朦胧状态。In this implementation, when one of the teams completes any task, successfully attacks the opponent, etc., the entire fill signal screen can be set to the display position of the competitive data, and the brightness of each pixel in the entire area of the key signal screen can be set by , To cover all the video stream pictures to be displayed, so that the new video stream pictures become hazy.
可以理解的是,上述竞技比赛视频画面中每个区域显示的竞技数据可以包括文字、图片和/或视频流。It can be understood that the competitive data displayed in each area in the video screen of the competitive game may include text, pictures, and/or video streams.
作为一种可行的实现方式,如图8B所示,需要在新的视频流画面的区域E显示飞入的竞技数据,可将第一预设字幕模板中区域E显示竞技数据的动画显示效果设置成飞入,从而使得新的视频流中区域E通过飞入方式显示竞技数据。As a feasible implementation method, as shown in FIG. 8B, it is necessary to display the flying competition data in the area E of the new video streaming screen, and the animation display effect of the area E displaying the competition data in the first preset subtitle template can be set A fly-in, so that the area E in the new video stream displays the competitive data through the fly-in.
作为另一种可行的实现方式,又如图8B所示,需实在新的视频流画面的区域F显示沿着如图8B所示箭头方向透明度逐渐增大的竞技数据,可将第二预设字幕模板中对应区域F位置的各像素点的亮度大小设置成沿着如图8B所示箭头方向逐渐增大,从而使得新的视频流中区域F显示的竞技数据的透明度沿着如图8B所示箭头方向逐渐增大。As another feasible implementation method, as shown in FIG. 8B, the area F of the new video stream screen needs to display the gradually increasing transparency of the competition data in the direction of the arrow shown in FIG. 8B, and the second preset The brightness of each pixel in the position of the corresponding area F in the subtitle template is set to gradually increase in the direction of the arrow as shown in FIG. 8B, so that the transparency of the athletic data displayed in the area F in the new video stream is as shown in FIG. 8B The direction of the arrow shows gradually increasing.
步骤S303:将填充信号画面传输至导播台,并将键信号画面传输至导播台,以使得导播台根据填充信号画面和键信号画面对待显示的视频流进行合成并得到新的视频流。Step S303: Transmit the fill signal picture to the guide station, and transmit the key signal picture to the guide station, so that the guide station synthesizes the video stream to be displayed according to the fill signal picture and the key signal picture and obtains a new video stream.
本实施例的导播台包括拍摄装置,该拍摄装置用于获取待显示的视频流。例如,对于竞技比赛,拍摄装置用于拍摄竞技比赛视频。可选的,待显示的视频流包括对抗对象的对抗视频流、竞技选手的视频流、评论员的视频流、竞技比赛过程中观众的视频流中的一种或多种,还可包括其他视频流。The guide station of this embodiment includes a shooting device, which is used to obtain a video stream to be displayed. For example, for competitive games, the shooting device is used for shooting competitive games videos. Optionally, the video stream to be displayed includes one or more of a confrontation video stream of an opponent, a video stream of an athlete, a video stream of a commentator, and a video stream of an audience during a competitive game, and may include other videos. flow.
本实施例中,计算机的视频输出设备与导播台相连接,例如,通过信号线连接计算机的视频输出设备和导播台。在执行步骤S303时,具体的,基于计算机的视频输出设备,将填充信号画面传输至导播台,并将键信号画面传输至导播台。相对字幕机而言,利用了普通计算系统的通用设备,开发成本低。In this embodiment, the video output device of the computer is connected to the guide station, for example, the video output device of the computer and the guide station are connected by a signal line. When step S303 is executed, specifically, the computer-based video output device transmits the fill signal picture to the guide station and the key signal picture to the guide station. Compared with the captioning machine, the general equipment of the common computing system is used, and the development cost is low.
其中,视频输出设备可包括显卡或非编卡。在一些实施例中,计算机将步骤S202中的填充信号画面和键信号画面通过该计算机的显卡投屏至导播台,实现填充信号画面和键信号画面实时传输的目的。在另一些实施例中,计算机将步骤S302中的填充信号画面和键信号画面通过该计算机的非编卡传输至导播台,实现填充信号画面和键信号画面实时传输的目的。Among them, the video output device may include a graphics card or a non-editing card. In some embodiments, the computer projects the fill signal screen and the key signal screen in step S202 to the guide station through the computer's graphics card to achieve the purpose of real-time transmission of the fill signal screen and the key signal screen. In other embodiments, the computer transmits the fill signal screen and the key signal screen in step S302 to the guide station through the non-editing card of the computer, so as to realize the purpose of real-time transmission of the fill signal screen and the key signal screen.
进一步的,在一些实施例中,参见图9,计算机获取竞技比赛过程中的竞技数据之后,所述方法还包括:Further, in some embodiments, referring to FIG. 9, after the computer acquires competitive data during the competitive game, the method further includes:
步骤S901:调用与竞技数据相对应的预设指令;Step S901: call a preset instruction corresponding to the athletic data;
步骤S902:广播预设指令。Step S902: Broadcast a preset instruction.
需要说明的是,本发明实施例中,广播预设指令是指计算机将预设指令直接告知导播台、第三方网站、第三方设备等,导播台、第三方网站(即图10中的网络直播系统)等在获得预设指令后,根据预设指令执行相应的操作。It should be noted that in the embodiment of the present invention, the broadcast preset instruction refers to that the computer directly informs the guide station, the third-party website, and the third-party device of the preset instruction. The guide station and the third-party website (that is, the webcast in FIG. 10 (System) After obtaining the preset instruction, perform the corresponding operation according to the preset instruction.
在一些实施例中,预设指令可包括音频播放指令、网络接口调用指令、导播台指令中的一种或多种。当然,预设指令并不限于上述列举几种,还可包括其他,如灯光显示指令。需要说明的是,网络接口调用指令主要针对第三方网站,网络接口调用指令可触发导播台将新的视频流推流至云端,使得第三方网站可从云端获取该新的视频流并播放,或者,网络接口调用指令指示第三方网站接入导播系统的计算机,并直接接收计算机产生的广播消息,确保第三方网站直播新的视频流过程中的实时赛事数据的发布。本实施例中,导播台获得新的视频流后,可将新的视频流通过现场屏幕(如竞技比赛现场)显示,也可通过视频推流服务器将新的视频流推流至云端,再由第三方网站对云端获取的新的视频流进行播放。In some embodiments, the preset instructions may include one or more of audio playback instructions, network interface calling instructions, and guide station instructions. Of course, the preset commands are not limited to the above listed ones, but may also include others, such as light display commands. It should be noted that the network interface call instruction is mainly directed to a third-party website, and the network interface call instruction can trigger the guide station to push a new video stream to the cloud, so that the third-party website can obtain the new video stream from the cloud and play it, or , The network interface call instruction instructs the third-party website to access the computer of the guidance system, and directly receives the broadcast message generated by the computer, to ensure that the third-party website broadcasts real-time event data during the live video streaming process. In this embodiment, after the guide station obtains a new video stream, it can display the new video stream through a live screen (such as a competitive game scene), or push the new video stream to the cloud through a video push streaming server, and then The third-party website plays the new video stream obtained from the cloud.
例如,在竞技对象(如机器人)掉血时,需在新的视频流中播放第一特定音效,计算机可调用与竞技对象掉血数据对应的第一音效播放指令并进行广播,该广播消息可直接传输到现场的音频播放设备或第三方网站,现场的音频播放设备或第三方网站在接收到该广播消息后,会直接播放与该第一特定音效。在竞技对象死掉时,需在新的视频流中播放第二特定音效,计算机可调用与竞技对象死亡生命状态相对应的第二音效播放指令并进行广播,该广播消息可直接传输到现场的音频播放设备(即比赛现场的音频播放设备)或第三方网站,现场的音频播放设备或第三方网站在接收到该广播消息后,会直接播放与该第而特定音效。For example, when a competitive object (such as a robot) bleeds, a first specific sound effect needs to be played in a new video stream. The computer can call and broadcast the first sound effect playback instruction corresponding to the blood loss data of the competitive object, and the broadcast message can be Directly transmitted to the on-site audio playback device or third-party website. After receiving the broadcast message, the on-site audio playback device or third-party website will directly play with the first specific sound effect. When the competitive object dies, the second specific sound effect needs to be played in the new video stream. The computer can call and broadcast a second audio effect playback instruction corresponding to the death state of the competitive object and broadcast it. The broadcast message can be directly transmitted to the live After receiving the broadcast message, the audio playback device (that is, the audio playback device at the game site) or a third-party website will directly play the specific sound effect.
在一个竞技对象出现死亡生命状态时,需导播台切换待显示的视频流的显示场景,如回播当前出现死亡生命状态的竞技对象在当前场竞技比赛中的部分视频画面,或者对竞技对象出现死亡生命状态的画面进行放大等,计算机可调用用于指示导播台切换待显示的视频流的显示场景的导播台指令并广播至导播台,以指示导播台切换待显示的视频流的显示场景。When a competitive object appears in a state of death and life, the guide station needs to switch the display scene of the video stream to be displayed, such as replaying a part of the video screen of the competitive object currently in the state of death in the current competitive game, or appearing to the competitive object The screen of the life-death state is enlarged, and the computer can call a guide station instruction for instructing the guide station to switch the display scene of the video stream to be displayed and broadcast to the guide station to instruct the guide station to switch the display scene of the video stream to be displayed.
在竞技对象战胜对方竞技对象,需控制比赛现场的灯光全亮时,计算机可调用灯光显示指令并进行广播,该广播消息直接传输至现场的灯光控制模块,而现场的灯光控制模块在接收到该广播消息后,会控制现场灯光全亮。When the competition object defeats the opponent's competition object and needs to control the lighting of the competition site to be all bright, the computer can call the light display instruction and broadcast, the broadcast message is directly transmitted to the scene lighting control module, and the scene lighting control module receives the After broadcasting the message, the scene lights will be controlled to be all bright.
计算机可通过广播预设指令的方式触发第三方网站直接执行与预设指令对应的事件,如音频播放指令对应的音效播放,使得第三方网站能够及时播放音效,确保第三方网站直播新的视频流过程中的实时赛事数据的发布。The computer can trigger the third-party website to directly execute the event corresponding to the preset instruction by broadcasting the preset instruction, such as the audio effect playback corresponding to the audio playback instruction, so that the third-party website can play the sound effect in time, ensuring that the third-party website broadcasts a new video stream The release of real-time event data during the process.
在执行步骤S901时,具体的,计算机接收与竞技数据相对应的预设事件信号,并调用与预设事件信号相对应的预设指令。When step S901 is executed, specifically, the computer receives the preset event signal corresponding to the competitive data, and calls the preset instruction corresponding to the preset event signal.
其中,预设事件信号的生成情况可包括基于计算机的输入数据生成、基于本地控制数据生成、基于外部设备发送的控制数据生成中的一种或多种。可选的,预设事件信号为音频播放指示信号、网络接口调用指示信号或导播台指示信号等。Wherein, the generation of the preset event signal may include one or more of generation based on input data of the computer, generation based on local control data, and generation based on control data sent by an external device. Optionally, the preset event signal is an audio playback indication signal, a network interface call indication signal or a guide station indication signal, etc.
可选的,待显示的视频流为竞技比赛过程中的视频流,控制数据包括竞技数据。其中,本地控制数据为该计算机的本地预先存储的竞技数据,外部设备发送的控制数据为外部设备发送的竞技比赛过程中的竞技数据,竞技数据可包括竞技对象的数量数据、血量数据、位置数据、竞技分数数据、生命状态数据等中的一种或多种。Optionally, the video stream to be displayed is a video stream during a competitive game, and the control data includes competitive data. Among them, the local control data is the local pre-stored athletic data of the computer, and the control data sent by the external device is the athletic data during the athletic competition process sent by the external device, and the athletic data may include the quantity data, blood volume data, and location of the athletic objects One or more of data, competitive score data, life status data, etc.
作为一种可行的实现方式,预设事件信号为基于计算机的本地输入数据生成的导播台指示信号,如计算机的键盘Ctrl按键+Enter按键同时按下时,计算机生成用于指示导播台进行待显示的视频流的场景切换的导播台指示信号。当然,导播台指示信号还可以基于本地控制数据生成和/或基于外部设备发送的控制数据生成。As a feasible implementation, the preset event signal is a guide station instruction signal generated based on the local input data of the computer. For example, when the computer keyboard Ctrl key + Enter button is pressed at the same time, the computer generates a guide station to be displayed The guide signal indicating the scene switching of the video stream. Of course, the guide station indication signal may also be generated based on local control data and/or based on control data sent by an external device.
作为另一种可行的实现方式,预设事件信号为基于计算机的本地控制数据生成的网络接口调用指令信号,如本地预先存储有竞技对象掉血数据对应的音效数据,计算机在确定竞技对象掉血后,生成用于指示第三方网站播放竞技对象掉血数据对应的音效数据的网络接口调用指示指令。当然,网络接口调用指令信号还可以基于计算机的输入数据生成和/或基于外部设备发送的控制数据生成。As another feasible implementation method, the preset event signal is a network interface call instruction signal generated based on the local control data of the computer. For example, the sound effect data corresponding to the blood loss data of the competitive object is pre-stored locally, and the computer determines the blood loss of the competitive object After that, a network interface call instruction instruction for instructing a third-party website to play the sound effect data corresponding to the bleeding data of the competitive object is generated. Of course, the network interface call instruction signal can also be generated based on the input data of the computer and/or based on the control data sent by the external device.
作为又一种可行的实现方式,预设事件信号为基于外部设备发送的控制数据生成的音频播放指示信号,如计算机在接收到竞技对象出现死亡生命状态时,生成用于指示播放特定音频数据的音频播放指示信号。当然,音频播放指示信号还可以基于本地控制数据生成和/或基于计算机的输入数据生成。As another feasible implementation manner, the preset event signal is an audio playback instruction signal generated based on control data sent by an external device. For example, when the computer receives the death state of the competitive object, the computer generates an instruction to play specific audio data. Audio playback indicator. Of course, the audio playback instruction signal can also be generated based on local control data and/or based on computer input data.
本发明实施例的竞技比赛视频的字幕处理方法,通在计算机上采用预设应用实现填充信号画面和键信号画面,即可实现竞技比赛过程中的竞技数据的在线加载,无需购买专用字幕机,降低了硬件成本,且借助于预设应用的灵活性,字幕处理的自动化程度高、实时性强、自由度高、适用范围广泛,字幕加载的准确度高,满足竞技比赛OB系统的需求;同时,采用预设应用的同一显示区域中设计第一预设字幕模板和第二预设字幕模板,可以将填充信号画面和键信号画面同时进行渲染,确保两个画面 的同步渲染要求;另外,在计算机渲染获得填充信号画面和键信号画面后,再由导播台采用去背合成技术将填充信号画面和键信号画面合成到待显示的视频流中,满足现实竞技比赛的数据显示需求,使获得的视频字幕满足广播级要求。The caption processing method of the competitive game video according to the embodiment of the present invention can realize the online loading of the competitive data during the competitive game by using a preset application on the computer to realize the filling of the signal picture and the key signal picture, without the need to purchase a dedicated caption machine. Reduced hardware cost, and by virtue of the flexibility of preset applications, the subtitle processing is highly automated, real-time, free, and has a wide range of applications. The accuracy of subtitle loading is high, which meets the needs of competitive OB systems; , The first preset subtitle template and the second preset subtitle template are designed in the same display area of the preset application, and the fill signal screen and the key signal screen can be rendered at the same time to ensure the simultaneous rendering requirements of the two screens; After the computer renders the fill signal picture and the key signal picture, the guide station adopts the back-synthesis technology to synthesize the fill signal picture and the key signal picture into the video stream to be displayed to meet the data display requirements of the actual competitive game, so that the obtained Video subtitles meet broadcast-level requirements.
本领域普通技术人员可以理解实现上述实施例方法中的全部或部分流程,是可以通过计算机程序来指令相关的硬件来完成,所述的程序可存储于一计算机可读取存储介质中,该程序在执行时,可包括如上述各方法的实施例的流程。其中,所述的存储介质可为磁碟、光盘、只读存储记忆体(Read-Only Memory,ROM)或随机存储记忆体(Random Access Memory,RAM)等。A person of ordinary skill in the art may understand that all or part of the process in the method of the foregoing embodiments may be completed by instructing relevant hardware through a computer program, and the program may be stored in a computer-readable storage medium. During execution, the process of the above embodiments of the method may be included. Wherein, the storage medium may be a magnetic disk, an optical disk, a read-only memory (Read-Only Memory, ROM) or a random access memory (Random Access Memory, RAM), etc.
以上所揭露的仅为本发明部分实施例而已,当然不能以此来限定本发明之权利范围,因此依本发明权利要求所作的等同变化,仍属本发明所涵盖的范围。The above disclosure is only part of the embodiments of the present invention, and of course it cannot be used to limit the scope of the present invention. Therefore, equivalent changes made according to the claims of the present invention still fall within the scope of the present invention.

Claims (56)

  1. 一种竞技比赛视频的字幕处理方法,其特征在于,所述方法包括:A method for processing subtitles in competitive games, characterized in that the method includes:
    获取竞技比赛过程中的竞技数据,所述竞技数据包括外部设备发送的数据;Obtain competitive data during the competitive game, the competitive data includes data sent by an external device;
    在预设应用的显示区域的第一预设字幕模板上渲染所述竞技数据生成填充信号画面,所述显示区域还包括第二预设字幕模板,所述第二预设字幕模板为所述填充信号画面对应的键信号画面;Rendering the competitive data on a first preset subtitle template of a display area of a preset application to generate a fill signal picture, the display area further includes a second preset subtitle template, and the second preset subtitle template is the fill Key signal screen corresponding to the signal screen;
    将所述填充信号画面传输至导播台,并将所述键信号画面传输至所述导播台,以使得所述导播台根据所述填充信号画面和所述键信号画面对待显示的视频流进行合成并得到新的视频流。Transmitting the fill signal picture to the guide station, and transmitting the key signal picture to the guide station, so that the guide station synthesizes the video stream to be displayed according to the fill signal picture and the key signal picture And get a new video stream.
  2. 根据权利要求1所述的方法,其特征在于,所述竞技数据还包括本地数据和/或所述计算机的输入数据。The method according to claim 1, wherein the competition data further includes local data and/or input data of the computer.
  3. 根据权利要求1所述的方法,其特征在于,所述外部设备包括所述竞技比赛过程中用于确定竞技对象的竞技结果的裁判系统和/或所述竞技比赛过程中用于确定竞技规则的赛事系统。The method according to claim 1, wherein the external device includes a referee system for determining the competitive result of the competitive object during the competitive game and/or for determining the competitive rules during the competitive game Event system.
  4. 根据权利要求3所述的方法,其特征在于,所述外部设备的发送数据为所述外部设备根据实时的采集数据分析确定。The method according to claim 3, wherein the transmission data of the external device is determined by the external device according to real-time collected data analysis.
  5. 根据权利要求4所述的方法,其特征在于,所述竞技对象包括在现实场景中的机器人,所述裁判系统与多个所述机器人通信连接且与所述机器人所在的竞技场地的场地传感设备通信连接;The method according to claim 4, wherein the competitive object includes a robot in a real scene, and the referee system is in communication with a plurality of the robots and is connected to the venue of the competitive venue where the robot is located Device communication connection;
    所述采集数据包括所述机器人上的传感设备的采集数据和/或所述场地传感设备的采集数据。The collected data includes collected data of a sensing device on the robot and/or collected data of the field sensing device.
  6. 根据权利要求3所述的方法,其特征在于,所述预设应用包括万维网Web应用,所述裁判系统和/或所述赛事系统的发送数据为通过网络通讯协议发送。The method according to claim 3, wherein the preset application includes a World Wide Web application, and the sending data of the referee system and/or the event system is sent through a network communication protocol.
  7. 根据权利要求6所述的方法,其特征在于,所述裁判系统和/或所述赛事系统的发送数据为通过超文本传输协议HTTP发送。The method according to claim 6, wherein the sending data of the referee system and/or the competition system is sent by a hypertext transfer protocol HTTP.
  8. 根据权利要求6所述的方法,其特征在于,所述获取竞技比赛过程中的竞技数据,包括:The method according to claim 6, wherein the obtaining competitive data during a competitive game includes:
    接收所述外部设备发送的数据;Receiving data sent by the external device;
    若当前接收到的数据的数据格式满足预设的数据结构,则将所述当前接收到的数据确定为所述竞技数据。If the data format of the currently received data satisfies the preset data structure, the currently received data is determined to be the competitive data.
  9. 根据权利要求8所述的方法,其特征在于,所述接收所述外部设备发送的数据之后,所述方法还包括:The method according to claim 8, wherein after the receiving the data sent by the external device, the method further comprises:
    若当前接收到的数据的数据格式不满足预设的数据结构,则将所述当前接收到的数据确定为无效数据。If the data format of the currently received data does not satisfy the preset data structure, the currently received data is determined to be invalid data.
  10. 根据权利要求1所述的方法,其特征在于,所述填充信号画面中各个像素点在所述新的视频流中的透明效果为根据所述键信号画面中对应位置的像素点的亮度确 定。The method according to claim 1, wherein the transparency effect of each pixel in the filled signal picture in the new video stream is determined according to the brightness of the pixel at the corresponding position in the key signal picture.
  11. 根据权利要求1所述的方法,其特征在于,所述第一预设字幕模板和/或所述第二预设模板为根据所述竞技数据、本地数据、计算机的输入数据中的一种或多种实时动态调整。The method according to claim 1, wherein the first preset subtitle template and/or the second preset template are based on one of the competitive data, local data, and input data of a computer or Various real-time dynamic adjustments.
  12. 根据权利要求11所述的方法,其特征在于,所述第一预设字幕模板包括字幕显示位置和/或字幕显示内容。The method according to claim 11, wherein the first preset subtitle template includes a subtitle display position and/or a subtitle display content.
  13. 根据权利要求11所述的方法,其特征在于,所述第一预设字幕模板和所述第二预设模板的实时动态调整过程,包括:The method according to claim 11, wherein the real-time dynamic adjustment process of the first preset subtitle template and the second preset template includes:
    确定预设的与所述竞技数据对应的字幕效果;Determine the preset subtitle effect corresponding to the competitive data;
    根据所述字幕效果,调整所述第一预设字幕模板和/或所述第二预设字幕模板中内容的显示信息,以使得在所述新的视频流中产生所述字幕效果。According to the subtitle effect, adjust the display information of the content in the first preset subtitle template and/or the second preset subtitle template, so that the subtitle effect is generated in the new video stream.
  14. 根据权利要求13所述的方法,其特征在于,所述字幕效果包括动画效果、显示效果、隐藏效果中的一种或多种。The method according to claim 13, wherein the subtitle effect includes one or more of an animation effect, a display effect, and a hidden effect.
  15. 根据权利要求14所述的方法,其特征在于,所述竞技数据包括所述对抗对象的状态数据、用于控制所述对抗对象的竞技选手的数据、竞技比赛过程中评论员的数据、竞技规则数据中的一种或多种;The method according to claim 14, wherein the athletic data includes status data of the antagonistic object, data of athletes for controlling the antagonistic object, data of commentators during the athletic competition, athletic rules One or more of the data;
    所述待显示的视频流包括所述对抗对象的对抗视频流、所述竞技选手的视频流、所述评论员的视频流、竞技比赛过程中观众的视频流中的一种或多种。The video stream to be displayed includes one or more of a confrontation video stream of the opponent object, a video stream of the competitive player, a video stream of the commentator, and a video stream of the audience during the competitive game.
  16. 根据权利要求15所述的方法,其特征在于,所述竞技对象的状态数据包括所述竞技对象的身份数据、所述竞技对象的数量数据、血量数据、位置数据、竞技分数数据、生命状态数据、特技触发数据中的一种或多种;和/或The method according to claim 15, wherein the state data of the competitive object includes identity data of the competitive object, data of the number of the competitive object, blood volume data, position data, competitive score data, and life status One or more of data and trick trigger data; and/or
    所述竞技选手的数据包括所述竞技选手的身份数据、所述竞技选手的历史竞技战绩数据、所述竞技选手的当前竞技战绩数据中的一种或多种;和/或The data of the competitive player includes one or more of identity data of the competitive player, historical competitive record data of the competitive player, and current competitive record data of the competitive player; and/or
    所述评论员的数据包括评论员的身份信息;和/或The commentator's data includes the commentator's identity information; and/or
    所述竞技规则数据包括比赛时间数据、比赛局数数据、赛程数据、对阵数据、各局竞技比赛过程中的统计数据中的一种或多种。The competition rule data includes one or more of game time data, game round number data, schedule data, match data, and statistical data during the game of each round.
  17. 根据权利要求1所述的方法,其特征在于,所述填充信号画面的分辨率和所述键信号画面的分辨率相等。The method according to claim 1, wherein the resolution of the filling signal picture and the resolution of the key signal picture are equal.
  18. 根据权利要求17所述的方法,其特征在于,所述显示区域的分辨率的宽度是所述填充信号画面或所述键信号画面的分辨率的宽度的两倍。The method according to claim 17, wherein the width of the resolution of the display area is twice the width of the resolution of the fill signal picture or the key signal picture.
  19. 根据权利要求17所述的方法,其特征在于,所述显示区域的分辨率的高度是所述填充信号画面或所述键信号画面的分辨率的高度的两倍。The method according to claim 17, wherein the height of the resolution of the display area is twice the height of the resolution of the fill signal picture or the key signal picture.
  20. 根据权利要求1所述的方法,其特征在于,所述预设应用的显示区域上无菜单栏和/或无虚拟按钮。The method according to claim 1, wherein there is no menu bar and/or no virtual button on the display area of the preset application.
  21. 根据权利要求1所述的方法,其特征在于,所述将所述填充信号画面传输至导播台,并将所述键信号画面传输至所述导播台,包括:The method according to claim 1, wherein the transmission of the fill signal picture to the guide station and the transmission of the key signal picture to the guide station include:
    基于计算机的视频输出设备,将所述填充信号画面传输至导播台,并将所述键信号画面传输至所述导播台。A computer-based video output device transmits the fill signal picture to the guide station, and transmits the key signal picture to the guide station.
  22. 根据权利要求21所述的方法,其特征在于,所述视频输出设备包括显卡或非编卡。The method according to claim 21, wherein the video output device comprises a graphics card or a non-editing card.
  23. 根据权利要求1所述的方法,其特征在于,所述获取竞技比赛过程中的竞技数据之后,所述方法还包括:The method according to claim 1, wherein after acquiring the athletic data during the athletic competition, the method further comprises:
    调用与所述竞技数据相对应的预设指令;Call a preset instruction corresponding to the athletic data;
    广播所述预设指令。Broadcast the preset instruction.
  24. 根据权利要求23所述的方法,其特征在于,所述调用与所述竞技数据相对应的预设指令,包括:The method according to claim 23, wherein the invoking the preset instruction corresponding to the athletic data includes:
    接收与所述竞技数据相对应的预设事件信号;Receiving a preset event signal corresponding to the competitive data;
    调用与所述预设事件信号相对应的预设指令。Calling a preset instruction corresponding to the preset event signal.
  25. 根据权利要求24所述的方法,其特征在于,所述预设事件信号的生成情况包括基于计算机的输入数据生成、基于本地控制数据生成、基于外部设备发送的控制数据生成中的一种或多种。The method according to claim 24, wherein the generation of the preset event signal includes one or more of computer-based input data generation, local control data generation, and control data generation sent by an external device. Species.
  26. 根据权利要求25所述的方法,其特征在于,所述控制数据包括所述竞技数据。The method of claim 25, wherein the control data includes the competitive data.
  27. 根据权利要求23所述的方法,其特征在于,所述预设指令包括音频播放指令、网络接口调用指令、导播台指令中的一种或多种。The method according to claim 23, wherein the preset instruction includes one or more of an audio playback instruction, a network interface calling instruction, and a guide station instruction.
  28. 根据权利要求1所述的方法,其特征在于,所述获取竞技比赛过程中的竞技数据之后,还包括:The method according to claim 1, wherein after acquiring the athletic data during the athletic competition, the method further comprises:
    将所述竞技数据存入数据库。Store the athletic data into the database.
  29. 一种竞技比赛的导播系统,其特征在于,所述导播系统包括:外部设备、计算机和导播台,所述外部设备与所述计算机基于网络实现通信连接,所述计算机与所述导播台通信连接;A guide system for competitive games, characterized in that the guide system includes: an external device, a computer, and a guide station, the external device and the computer implement a communication connection based on a network, and the computer and the guide station are in communication connection ;
    其中,所述计算机用于获取竞技比赛过程中的竞技数据,所述竞技数据包括所述外部设备发送的数据;并在预设应用的显示区域的第一预设字幕模板上渲染所述竞技数据生成填充信号画面,所述显示区域还包括第二预设字幕模板,所述第二预设字幕模板为所述填充信号画面对应的键信号画面;Wherein, the computer is used to obtain competitive data during the competitive game, the competitive data includes data sent by the external device; and render the competitive data on the first preset subtitle template in the display area of the preset application Generating a fill signal picture, the display area further includes a second preset subtitle template, and the second preset subtitle template is a key signal picture corresponding to the fill signal picture;
    所述计算机还用于将所述填充信号画面传输至导播台,并将所述键信号画面传输至所述导播台;所述导播台根据所述填充信号画面和所述键信号画面对待显示的视频流进行合成并得到新的视频流。The computer is also used to transmit the fill signal picture to the guide station and the key signal picture to the guide station; the guide station according to the fill signal picture and the key signal picture to be displayed The video stream is synthesized and a new video stream is obtained.
  30. 根据权利要求29所述的导播系统,其特征在于,所述竞技数据还包括本地数据和/或所述计算机的输入数据。The guide system according to claim 29, wherein the competition data further includes local data and/or input data of the computer.
  31. 根据权利要求29所述的导播系统,其特征在于,所述外部设备包括所述竞技比赛过程中用于确定竞技对象的竞技结果的裁判系统和/或所述竞技比赛过程中用于确定竞技规则的赛事系统。The guide system according to claim 29, wherein the external device includes a referee system for determining a competitive result of a competitive object during the competitive game and/or for determining a competitive rule during the competitive game Event system.
  32. 根据权利要求31所述的导播系统,其特征在于,所述外部设备的发送数据为所述外部设备根据实时的采集数据分析确定。The guidance system of claim 31, wherein the transmission data of the external device is determined by the external device based on real-time collected data analysis.
  33. 根据权利要求32所述的导播系统,其特征在于,所述竞技对象包括在现实场景中的机器人,所述裁判系统与多个所述机器人通信连接且与所述机器人所在的竞技场地的场地传感设备通信连接;The guide system according to claim 32, wherein the competitive object includes a robot in a real scene, and the referee system is in communication connection with a plurality of the robots and communicates with the venue of the competitive venue where the robot is located Sense device communication connection;
    所述采集数据包括所述机器人上的传感设备的采集数据和/或所述场地传感设备的采集数据。The collected data includes collected data of a sensing device on the robot and/or collected data of the field sensing device.
  34. 根据权利要求31所述的导播系统,其特征在于,所述预设应用包括万维网Web应用,所述裁判系统和/或所述赛事系统的发送数据为通过网络通讯协议发送。The guide system according to claim 31, wherein the preset application includes a World Wide Web application, and the sending data of the referee system and/or the event system is sent through a network communication protocol.
  35. 根据权利要求34所述的导播系统,其特征在于,所述裁判系统和/或所述赛事系统的发送数据为通过超文本传输协议HTTP发送。The guide system according to claim 34, characterized in that the sending data of the referee system and/or the competition system is sent through the hypertext transfer protocol HTTP.
  36. 根据权利要求34所述的导播系统,其特征在于,所述计算机具体用于:接收所述外部设备发送的数据;若当前接收到的数据的数据格式满足预设的数据结构,则将所述当前接收到的数据确定为所述竞技数据。The guide system according to claim 34, wherein the computer is specifically configured to: receive data sent by the external device; if the data format of the currently received data satisfies a preset data structure, then convert the The currently received data is determined to be the competition data.
  37. 根据权利要求36所述的导播系统,其特征在于,所述计算机在接收所述外部设备发送的数据之后,若确定当前接收到的数据的数据格式不满足预设的数据结构,则将所述当前接收到的数据确定为无效数据。The guide system according to claim 36, wherein after the computer receives the data sent by the external device, if it is determined that the data format of the currently received data does not satisfy the preset data structure, then the computer The currently received data is determined to be invalid data.
  38. 根据权利要求29所述的导播系统,其特征在于,所述填充信号画面中各个像素点在所述新的视频流中的透明效果为根据所述键信号画面中对应位置的像素点的亮度确定。The guide system according to claim 29, wherein the transparency effect of each pixel in the filled signal picture in the new video stream is determined according to the brightness of the pixel at the corresponding position in the key signal picture .
  39. 根据权利要求29所述的导播系统,其特征在于,所述第一预设字幕模板和/或所述第二预设模板为根据所述竞技数据、本地数据、计算机的输入数据中的一种或多种实时动态调整。The guide system according to claim 29, wherein the first preset subtitle template and/or the second preset template is one of the competition data, the local data, and the input data of the computer Or multiple real-time dynamic adjustments.
  40. 根据权利要求39所述的导播系统,其特征在于,所述第一预设字幕模板包括字幕显示位置和/或字幕显示内容。The guide system according to claim 39, wherein the first preset subtitle template includes a subtitle display position and/or a subtitle display content.
  41. 根据权利要求39所述的导播系统,其特征在于,所述计算机对第一预设字幕模板和所述第二预设模板的实时动态调整过程,包括:The guide system according to claim 39, wherein the real-time dynamic adjustment process of the first preset subtitle template and the second preset template by the computer includes:
    确定预设的与所述竞技数据对应的字幕效果;Determine the preset subtitle effect corresponding to the competitive data;
    根据所述字幕效果,调整所述第一预设字幕模板和/或所述第二预设字幕模板中内容的显示信息,以使得在所述新的视频流中产生所述字幕效果。According to the subtitle effect, adjust the display information of the content in the first preset subtitle template and/or the second preset subtitle template, so that the subtitle effect is generated in the new video stream.
  42. 根据权利要求41所述的导播系统,其特征在于,所述字幕效果包括动画效果、显示效果、隐藏效果中的一种或多种。The guide system according to claim 41, wherein the subtitle effect includes one or more of an animation effect, a display effect, and a hidden effect.
  43. 根据权利要求42所述的导播系统,其特征在于,所述竞技数据包括所述对抗对象的状态数据、用于控制所述对抗对象的竞技选手的数据、竞技比赛过程中评论员的数据、竞技规则数据中的一种或多种;The guide system according to claim 42, wherein the competition data includes status data of the rival object, data of a competitive player for controlling the rival object, data of commentators during the competition, competition One or more of the rule data;
    所述待显示的视频流包括所述对抗对象的对抗视频流、所述竞技选手的视频流、 所述评论员的视频流、竞技比赛过程中观众的视频流中的一种或多种。The video stream to be displayed includes one or more of a confrontation video stream of the opponent object, a video stream of the competitive player, a video stream of the commentator, and a video stream of the audience during the competitive game.
  44. 根据权利要求43所述的导播系统,其特征在于,所述竞技对象的状态数据包括所述竞技对象的身份数据、所述竞技对象的数量数据、血量数据、位置数据、竞技分数数据、生命状态数据、特技触发数据中的一种或多种;和/或The guide system according to claim 43, wherein the state data of the competitive object includes identity data of the competitive object, data of the number of the competitive object, blood volume data, position data, competitive score data, life One or more of status data and trick trigger data; and/or
    所述竞技选手的数据包括所述竞技选手的身份数据、所述竞技选手的历史竞技战绩数据、所述竞技选手的当前竞技战绩数据中的一种或多种;和/或The data of the competitive player includes one or more of identity data of the competitive player, historical competitive record data of the competitive player, and current competitive record data of the competitive player; and/or
    所述评论员的数据包括评论员的身份信息;和/或The commentator's data includes the commentator's identity information; and/or
    所述竞技规则数据包括比赛时间数据、比赛局数数据、赛程数据、对阵数据、各局竞技比赛过程中的统计数据中的一种或多种。The competition rule data includes one or more of game time data, game round number data, schedule data, match data, and statistical data during the game of each round.
  45. 根据权利要求29所述的导播系统,其特征在于,所述填充信号画面的分辨率和所述键信号画面的分辨率相等。The guide system according to claim 29, wherein the resolution of the filling signal picture and the resolution of the key signal picture are equal.
  46. 根据权利要求45所述的导播系统,其特征在于,所述显示区域的分辨率的宽度是所述填充信号画面或所述键信号画面的分辨率的宽度的两倍。The guide system according to claim 45, wherein the width of the resolution of the display area is twice the width of the resolution of the fill signal screen or the key signal screen.
  47. 根据权利要求45所述的导播系统,其特征在于,所述显示区域的分辨率的高度是所述填充信号画面或所述键信号画面的分辨率的高度的两倍。The guide system according to claim 45, wherein the height of the resolution of the display area is twice the height of the resolution of the fill signal picture or the key signal picture.
  48. 根据权利要求29所述的导播系统,其特征在于,所述预设应用的显示区域上无菜单栏和/或无虚拟按钮。The guide system according to claim 29, wherein the preset application has no menu bar and/or no virtual buttons on the display area.
  49. 根据权利要求29所述的导播系统,其特征在于,所述计算机包括视频输出设备,所述视频设备与所述导播台通信;所述视频输出设备将所述填充信号画面传输至导播台,并将所述键信号画面传输至所述导播台。The guidance system of claim 29, wherein the computer includes a video output device, and the video device communicates with the guidance station; the video output device transmits the fill signal picture to the guidance station, and The key signal picture is transmitted to the guide station.
  50. 根据权利要求49所述的导播系统,其特征在于,所述视频输出设备包括显卡或非编卡。The guide system according to claim 49, wherein the video output device includes a graphics card or a non-editing card.
  51. 根据权利要求29所述的导播系统,其特征在于,所述计算机在获取竞技比赛过程中的竞技数据之后,还用于:调用与所述竞技数据相对应的预设指令,并广播所述预设指令。The guide system according to claim 29, characterized in that, after acquiring the athletic data during the athletic competition, the computer is further used to: call a preset instruction corresponding to the athletic data and broadcast the pre Set instructions.
  52. 根据权利要求51所述的导播系统,其特征在于,所述计算机具体用于:接收与所述竞技数据相对应的预设事件信号,并调用与所述预设事件信号相对应的预设指令。The guide system according to claim 51, wherein the computer is specifically configured to: receive a preset event signal corresponding to the competitive data and call a preset instruction corresponding to the preset event signal .
  53. 根据权利要求52所述的导播系统,其特征在于,所述预设事件信号的生成情况包括基于计算机的输入数据生成、基于本地控制数据生成、基于外部设备发送的控制数据生成中的一种或多种。The guide system according to claim 52, wherein the generation of the preset event signal includes one of generation based on computer input data, generation based on local control data, and generation based on control data sent by an external device or Multiple.
  54. 根据权利要求53所述的导播系统,其特征在于,所述控制数据包括所述竞技数据。The guide system according to claim 53, wherein the control data includes the competition data.
  55. 根据权利要求51所述的导播系统,其特征在于,所述预设指令包括音频播放指令、网络接口调用指令、导播台指令中的一种或多种。The guidance system according to claim 51, wherein the preset instructions include one or more of audio playback instructions, network interface calling instructions, and guidance station instructions.
  56. 根据权利要求29所述的导播系统,其特征在于,所述计算机在获取竞技比赛 过程中的竞技数据之后,还用于将所述竞技数据存入数据库。The guide system according to claim 29, wherein the computer is further used to store the competition data into a database after acquiring the competition data during the competition.
PCT/CN2018/125395 2018-12-29 2018-12-29 Competition video subtitle processing method and broadcast guiding system WO2020133371A1 (en)

Priority Applications (2)

Application Number Priority Date Filing Date Title
CN201880041352.8A CN110800310A (en) 2018-12-29 2018-12-29 Subtitle processing method and director system for sports game video
PCT/CN2018/125395 WO2020133371A1 (en) 2018-12-29 2018-12-29 Competition video subtitle processing method and broadcast guiding system

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
PCT/CN2018/125395 WO2020133371A1 (en) 2018-12-29 2018-12-29 Competition video subtitle processing method and broadcast guiding system

Publications (1)

Publication Number Publication Date
WO2020133371A1 true WO2020133371A1 (en) 2020-07-02

Family

ID=69438493

Family Applications (1)

Application Number Title Priority Date Filing Date
PCT/CN2018/125395 WO2020133371A1 (en) 2018-12-29 2018-12-29 Competition video subtitle processing method and broadcast guiding system

Country Status (2)

Country Link
CN (1) CN110800310A (en)
WO (1) WO2020133371A1 (en)

Cited By (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
US20230269418A1 (en) * 2022-02-21 2023-08-24 Beijing Bytedance Network Technology Co., Ltd. Video display method, apparatus and storage medium

Families Citing this family (9)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN111773697A (en) * 2020-07-13 2020-10-16 网易(杭州)网络有限公司 Method, device, system, medium and equipment for generating live broadcast picture of game event
CN113950825A (en) * 2020-08-24 2022-01-18 深圳市大疆创新科技有限公司 Data transmission method, data processing method, movable platform, terminal equipment and chip
CN113452935B (en) * 2021-08-31 2021-11-09 成都索贝数码科技股份有限公司 Horizontal screen and vertical screen live video generation system and method
CN113965766A (en) * 2021-10-27 2022-01-21 腾竞体育文化发展(上海)有限公司 Live event broadcasting system, method and device for electric competition, computer equipment and storage medium
CN114283232A (en) * 2021-11-19 2022-04-05 北京字跳网络技术有限公司 Picture display method and device, computer equipment and storage medium
CN113923505B (en) * 2021-12-14 2022-03-01 飞狐信息技术(天津)有限公司 Bullet screen processing method and device, electronic equipment and storage medium
CN114598936B (en) * 2022-02-18 2023-12-01 深圳盛显科技有限公司 Subtitle batch generation and management method, system, device and storage medium
CN115134624B (en) * 2022-06-30 2024-04-23 广州方硅信息技术有限公司 Live broadcast continuous wheat matching method, system, device, electronic equipment and storage medium
CN115514990A (en) * 2022-10-28 2022-12-23 上海乐不可言电竞信息科技有限公司 Caption generator logic trigger animation generation method

Citations (5)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
US20080084504A1 (en) * 2006-10-06 2008-04-10 Sensaburo Nakamura Image synthesizing apparatus
CN101742127A (en) * 2009-10-20 2010-06-16 大连捷成实业发展有限公司 Method for controlling key mixing automatic circular demonstration and PGM/PST synchronous output
CN102098454A (en) * 2009-12-09 2011-06-15 新奥特(北京)视频技术有限公司 Real-time caption broadcasting system and method
CN201887859U (en) * 2010-11-24 2011-06-29 北京格非科技发展有限公司 High-definition logo and key control all-in-one machine
CN103839221A (en) * 2012-11-26 2014-06-04 索尼公司 Image processing apparatus and control method of image processing apparatus

Family Cites Families (6)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JP3311834B2 (en) * 1992-10-12 2002-08-05 エルジー電子株式会社 Caption display control device and control method therefor
CN100576902C (en) * 2005-08-18 2009-12-30 北京德瑞塔时代网络技术有限公司 A kind of acoustic image transmission system and method for broadband videoconference in broadcast level
CN102075698B (en) * 2009-11-24 2015-02-18 新奥特(北京)视频技术有限公司 Title playing controller for quick special effect making
CN102118581B (en) * 2009-12-30 2015-04-29 新奥特(北京)视频技术有限公司 Software pre-monitoring method of subtitle broadcasting system
CN108289159B (en) * 2017-05-25 2020-12-04 广州华多网络科技有限公司 Terminal live broadcast special effect adding system and method and terminal live broadcast system
CN108769822B (en) * 2018-04-13 2021-01-08 维沃移动通信有限公司 Video display method and terminal equipment

Patent Citations (5)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
US20080084504A1 (en) * 2006-10-06 2008-04-10 Sensaburo Nakamura Image synthesizing apparatus
CN101742127A (en) * 2009-10-20 2010-06-16 大连捷成实业发展有限公司 Method for controlling key mixing automatic circular demonstration and PGM/PST synchronous output
CN102098454A (en) * 2009-12-09 2011-06-15 新奥特(北京)视频技术有限公司 Real-time caption broadcasting system and method
CN201887859U (en) * 2010-11-24 2011-06-29 北京格非科技发展有限公司 High-definition logo and key control all-in-one machine
CN103839221A (en) * 2012-11-26 2014-06-04 索尼公司 Image processing apparatus and control method of image processing apparatus

Cited By (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
US20230269418A1 (en) * 2022-02-21 2023-08-24 Beijing Bytedance Network Technology Co., Ltd. Video display method, apparatus and storage medium

Also Published As

Publication number Publication date
CN110800310A (en) 2020-02-14

Similar Documents

Publication Publication Date Title
WO2020133371A1 (en) Competition video subtitle processing method and broadcast guiding system
WO2020133372A1 (en) Video subtitle processing method and broadcast direction system
US10532283B2 (en) Virtual playbook with user controls
US11514653B1 (en) Streaming mixed-reality environments between multiple devices
US20190030431A1 (en) Information Processing Method and Apparatus, Storage Medium and Electronic Device
JP5081964B2 (en) GAME DEVICE, GAME DEVICE CONTROL METHOD, AND PROGRAM
CN106730815B (en) Somatosensory interaction method and system easy to realize
CN111684393A (en) Method and system for generating and displaying 3D video in virtual, augmented or mixed reality environment
JP2022002705A (en) Game animation editing program and game animation editing system
US20080148165A1 (en) System and method of providing assistance over a network
JP2012090905A (en) Data generating device and control method for the same, and program
CN109391848B (en) Interactive advertisement system
WO2022267729A1 (en) Virtual scene-based interaction method and apparatus, device, medium, and program product
CN113392690A (en) Video semantic annotation method, device, equipment and storage medium
US20120244935A1 (en) Synchronizing game character display with game player viewing detection
CN114466213A (en) Information synchronization method, device, computer equipment, storage medium and program product
US20230368464A1 (en) Information processing system, information processing method, and information processing program
US20210385554A1 (en) Information processing device, information processing method, and information processing program
CN112843693A (en) Method and device for shooting image, electronic equipment and storage medium
US7264547B1 (en) Game apparatus, game image preparation method and information storage medium
JP2018192272A (en) Game program and game device
WO2020248682A1 (en) Display device and virtual scene generation method
CN114832371A (en) Method, device, storage medium and electronic device for controlling movement of virtual character
KR101022130B1 (en) Game scenario manufacturing system and manufacturing method thereof
JP7358078B2 (en) Information processing device, control method for information processing device, and program

Legal Events

Date Code Title Description
121 Ep: the epo has been informed by wipo that ep was designated in this application

Ref document number: 18944424

Country of ref document: EP

Kind code of ref document: A1

NENP Non-entry into the national phase

Ref country code: DE

122 Ep: pct application non-entry in european phase

Ref document number: 18944424

Country of ref document: EP

Kind code of ref document: A1