WO2023246302A1 - 字幕的显示方法、装置、设备及介质 - Google Patents
字幕的显示方法、装置、设备及介质 Download PDFInfo
- Publication number
- WO2023246302A1 WO2023246302A1 PCT/CN2023/091203 CN2023091203W WO2023246302A1 WO 2023246302 A1 WO2023246302 A1 WO 2023246302A1 CN 2023091203 W CN2023091203 W CN 2023091203W WO 2023246302 A1 WO2023246302 A1 WO 2023246302A1
- Authority
- WO
- WIPO (PCT)
- Prior art keywords
- subtitle
- layer
- display
- preset
- virtual reality
- Prior art date
- Legal status (The legal status is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the status listed.)
- Ceased
Links
Classifications
-
- H—ELECTRICITY
- H04—ELECTRIC COMMUNICATION TECHNIQUE
- H04N—PICTORIAL COMMUNICATION, e.g. TELEVISION
- H04N21/00—Selective content distribution, e.g. interactive television or video on demand [VOD]
- H04N21/40—Client devices specifically adapted for the reception of or interaction with content, e.g. set-top-box [STB]; Operations thereof
- H04N21/43—Processing of content or additional data, e.g. demultiplexing additional data from a digital video stream; Elementary client operations, e.g. monitoring of home network or synchronising decoder's clock; Client middleware
- H04N21/431—Generation of visual interfaces for content selection or interaction; Content or additional data rendering
- H04N21/4312—Generation of visual interfaces for content selection or interaction; Content or additional data rendering involving specific graphical features, e.g. screen layout, special fonts or colors, blinking icons, highlights or animations
- H04N21/4316—Generation of visual interfaces for content selection or interaction; Content or additional data rendering involving specific graphical features, e.g. screen layout, special fonts or colors, blinking icons, highlights or animations for displaying supplemental content in a region of the screen, e.g. an advertisement in a separate window
-
- G—PHYSICS
- G06—COMPUTING OR CALCULATING; COUNTING
- G06T—IMAGE DATA PROCESSING OR GENERATION, IN GENERAL
- G06T11/00—Two-dimensional [2D] image generation
- G06T11/60—Creating or editing images; Combining images with text
-
- G—PHYSICS
- G06—COMPUTING OR CALCULATING; COUNTING
- G06F—ELECTRIC DIGITAL DATA PROCESSING
- G06F3/00—Input arrangements for transferring data to be processed into a form capable of being handled by the computer; Output arrangements for transferring data from processing unit to output unit, e.g. interface arrangements
- G06F3/01—Input arrangements or combined input and output arrangements for interaction between user and computer
- G06F3/011—Arrangements for interaction with the human body, e.g. for user immersion in virtual reality
- G06F3/013—Eye tracking input arrangements
-
- G—PHYSICS
- G06—COMPUTING OR CALCULATING; COUNTING
- G06F—ELECTRIC DIGITAL DATA PROCESSING
- G06F16/00—Information retrieval; Database structures therefor; File system structures therefor
- G06F16/70—Information retrieval; Database structures therefor; File system structures therefor of video data
- G06F16/73—Querying
- G06F16/735—Filtering based on additional data, e.g. user or group profiles
-
- G—PHYSICS
- G06—COMPUTING OR CALCULATING; COUNTING
- G06F—ELECTRIC DIGITAL DATA PROCESSING
- G06F3/00—Input arrangements for transferring data to be processed into a form capable of being handled by the computer; Output arrangements for transferring data from processing unit to output unit, e.g. interface arrangements
- G06F3/01—Input arrangements or combined input and output arrangements for interaction between user and computer
- G06F3/011—Arrangements for interaction with the human body, e.g. for user immersion in virtual reality
-
- G—PHYSICS
- G06—COMPUTING OR CALCULATING; COUNTING
- G06F—ELECTRIC DIGITAL DATA PROCESSING
- G06F3/00—Input arrangements for transferring data to be processed into a form capable of being handled by the computer; Output arrangements for transferring data from processing unit to output unit, e.g. interface arrangements
- G06F3/01—Input arrangements or combined input and output arrangements for interaction between user and computer
- G06F3/011—Arrangements for interaction with the human body, e.g. for user immersion in virtual reality
- G06F3/012—Head tracking input arrangements
-
- H—ELECTRICITY
- H04—ELECTRIC COMMUNICATION TECHNIQUE
- H04N—PICTORIAL COMMUNICATION, e.g. TELEVISION
- H04N21/00—Selective content distribution, e.g. interactive television or video on demand [VOD]
- H04N21/40—Client devices specifically adapted for the reception of or interaction with content, e.g. set-top-box [STB]; Operations thereof
- H04N21/43—Processing of content or additional data, e.g. demultiplexing additional data from a digital video stream; Elementary client operations, e.g. monitoring of home network or synchronising decoder's clock; Client middleware
-
- H—ELECTRICITY
- H04—ELECTRIC COMMUNICATION TECHNIQUE
- H04N—PICTORIAL COMMUNICATION, e.g. TELEVISION
- H04N21/00—Selective content distribution, e.g. interactive television or video on demand [VOD]
- H04N21/40—Client devices specifically adapted for the reception of or interaction with content, e.g. set-top-box [STB]; Operations thereof
- H04N21/43—Processing of content or additional data, e.g. demultiplexing additional data from a digital video stream; Elementary client operations, e.g. monitoring of home network or synchronising decoder's clock; Client middleware
- H04N21/4302—Content synchronisation processes, e.g. decoder synchronisation
- H04N21/4307—Synchronising the rendering of multiple content streams or additional data on devices, e.g. synchronisation of audio on a mobile phone with the video output on the TV screen
- H04N21/43074—Synchronising the rendering of multiple content streams or additional data on devices, e.g. synchronisation of audio on a mobile phone with the video output on the TV screen of additional data with content streams on the same device, e.g. of EPG data or interactive icon with a TV programme
-
- H—ELECTRICITY
- H04—ELECTRIC COMMUNICATION TECHNIQUE
- H04N—PICTORIAL COMMUNICATION, e.g. TELEVISION
- H04N21/00—Selective content distribution, e.g. interactive television or video on demand [VOD]
- H04N21/40—Client devices specifically adapted for the reception of or interaction with content, e.g. set-top-box [STB]; Operations thereof
- H04N21/43—Processing of content or additional data, e.g. demultiplexing additional data from a digital video stream; Elementary client operations, e.g. monitoring of home network or synchronising decoder's clock; Client middleware
- H04N21/431—Generation of visual interfaces for content selection or interaction; Content or additional data rendering
-
- H—ELECTRICITY
- H04—ELECTRIC COMMUNICATION TECHNIQUE
- H04N—PICTORIAL COMMUNICATION, e.g. TELEVISION
- H04N21/00—Selective content distribution, e.g. interactive television or video on demand [VOD]
- H04N21/40—Client devices specifically adapted for the reception of or interaction with content, e.g. set-top-box [STB]; Operations thereof
- H04N21/47—End-user applications
- H04N21/488—Data services, e.g. news ticker
-
- H—ELECTRICITY
- H04—ELECTRIC COMMUNICATION TECHNIQUE
- H04N—PICTORIAL COMMUNICATION, e.g. TELEVISION
- H04N21/00—Selective content distribution, e.g. interactive television or video on demand [VOD]
- H04N21/40—Client devices specifically adapted for the reception of or interaction with content, e.g. set-top-box [STB]; Operations thereof
- H04N21/47—End-user applications
- H04N21/488—Data services, e.g. news ticker
- H04N21/4884—Data services, e.g. news ticker for displaying subtitles
Definitions
- the present disclosure relates to the field of virtual reality technology, and in particular, to a method, device, equipment and medium for displaying subtitles.
- Virtual Reality (VR) technology includes computers, electronic information, and simulation technologies. Its basic implementation method is to simulate a virtual environment with a computer to give people a sense of immersion in the environment. With the popularity of VR applications, it has become a common scenario to display subtitles in virtual reality space in scenarios such as video display.
- the present disclosure provides a subtitle display method, device, equipment and medium, which follows the user's line of sight direction to determine the position of the subtitle content rendered in the virtual reality space, Improves the user's viewing experience and renders subtitle content at the corresponding location independent of VR video frames
- the subtitle layer serves as a carrier for displaying subtitle content, which avoids display distortion of subtitle content and improves the display effect of subtitle content.
- Embodiments of the present disclosure provide a method for displaying subtitles.
- the method includes: obtaining subtitle content corresponding to the currently played virtual reality video frame; determining the target space position in the virtual reality panoramic space according to the user's current line of sight direction; A subtitle layer is rendered according to the subtitle content at the target space position, and the subtitle content is synchronously rendered in the subtitle layer.
- Embodiments of the present disclosure also provide a device for displaying subtitles.
- the device includes: an acquisition module for acquiring subtitle content corresponding to the currently played virtual reality video frame; and a position determination module for determining the subtitle content according to the user's current line of sight direction. , determine the target space position in the virtual reality panoramic space; the rendering display module is used to render the subtitle layer according to the subtitle content at the target space position, and synchronously render the subtitle content in the subtitle layer.
- An embodiment of the present disclosure also provides an electronic device.
- the electronic device includes: a processor; a memory used to store instructions executable by the processor; and the processor is used to read the instruction from the memory.
- the instructions can be executed and executed to implement the subtitle display method provided by the embodiments of the present disclosure.
- Embodiments of the present disclosure also provide a computer-readable storage medium, the storage medium stores a computer program, and the computer program is used to execute the subtitle display method provided by the embodiments of the present disclosure.
- the subtitle display scheme obtained by the embodiment of the present disclosure obtains the subtitle content corresponding to the currently played virtual reality video frame, determines the target space position in the virtual reality panoramic space according to the user's current sight direction, and determines the target space position according to the subtitle Content renders the subtitle layer, and renders the subtitle content synchronously in the subtitle layer. After determining the subtitle content, follow the user's line of sight direction to determine the position of the subtitle content rendered in the virtual reality space. On the basis of realizing the display of the subtitle content, the user's viewing experience is improved, and the subtitle content is rendered at the corresponding position to Display subtitles as a subtitle layer independent of VR video frames
- the content carrier avoids distortion of the display of subtitle content and improves the display effect of subtitle content.
- Figure 1 is a schematic flowchart of a subtitle display method provided by an embodiment of the present disclosure
- Figure 2 is a schematic diagram of a subtitle display scene provided by an embodiment of the present disclosure
- Figure 3 is a schematic diagram of another subtitle display scene provided by an embodiment of the present disclosure.
- Figure 4 is a schematic diagram of another subtitle display scene provided by an embodiment of the present disclosure.
- Figure 5 is a schematic diagram of another subtitle display scene provided by an embodiment of the present disclosure.
- Figure 6 is a schematic diagram of another subtitle display scene provided by an embodiment of the present disclosure.
- FIG. 7 is a schematic flowchart of another subtitle display method provided by an embodiment of the present disclosure.
- Figure 8 is a schematic diagram of another subtitle display scene provided by an embodiment of the present disclosure.
- Figure 9 is a schematic flowchart of another subtitle display method provided by an embodiment of the present disclosure.
- Figure 10 is a schematic diagram of another subtitle display scene provided by an embodiment of the present disclosure.
- Figure 11 is a schematic diagram of another subtitle display scene provided by an embodiment of the present disclosure.
- Figure 12 is a schematic diagram of another subtitle display scene provided by an embodiment of the present disclosure.
- Figure 13 is a schematic flowchart of another subtitle display method provided by an embodiment of the present disclosure.
- Figure 14A is a schematic diagram of another subtitle display scene provided by an embodiment of the present disclosure.
- Figure 14B is a schematic diagram of another subtitle display scene provided by an embodiment of the present disclosure.
- Figure 15 is a schematic diagram of another subtitle display scene provided by an embodiment of the present disclosure.
- Figure 16 is a schematic structural diagram of a subtitle display device provided by an embodiment of the present disclosure.
- Figure 17 is a schematic structural diagram of an electronic device provided by an embodiment of the present disclosure.
- the term “include” and its variations are open-ended, ie, “including but not limited to.”
- the term “based on” means “based at least in part on.”
- the term “one embodiment” means “at least one embodiment”; the term “another embodiment” means “at least one additional embodiment”; and the term “some embodiments” means “at least some embodiments”. Relevant definitions of other terms will be given in the description below.
- embodiments of the present disclosure provide a method for displaying subtitles.
- this method no longer relies on a fixed mode of displaying subtitle content, but releases the fixed position relationship between the subtitle content and the screen content, and follows the user's movements.
- the viewing direction adaptively adjusts the display position of the subtitle content to avoid visual distortion of the subtitle content and improve the user's visual viewing experience.
- FIG. 1 is a schematic flowchart of a subtitle display method provided by an embodiment of the present disclosure.
- the method can be executed by a subtitle display device, where the device can be implemented using software and/or hardware, and can generally be integrated into an electronic device. As shown in Figure 1, the method includes:
- Step 101 Obtain subtitle content corresponding to the currently played virtual reality video frame.
- the corresponding subtitle content can be obtained based on different methods.
- the audio stream corresponding to the currently played virtual reality video frame is determined, and the audio stream is subjected to speech recognition processing to obtain the subtitle content. For example, the timestamp information corresponding to each audio stream is obtained, based on the timestamp. The time stamp information of the information and the virtual video frame matches the subtitle content corresponding to the virtual reality video frame, etc.
- the correspondence between each virtual reality video frame and the corresponding subtitle content can be identified and constructed in advance, and the correspondence can be stored in the corresponding preset database, so that the preset can be retrieved by querying Database to obtain the subtitle content corresponding to the currently played virtual reality video frame.
- Step 102 Determine the target space position in the virtual reality panoramic space according to the user's current line of sight direction.
- the virtual video frame is no longer used as the basis for determining the display position of the subtitle content.
- the target space position is determined in the virtual reality panoramic space according to the user's current line of sight direction.
- the target space position is consistent with the user's current line of sight.
- the target space position is located in the user's current line of sight direction. This ensures that the target space position in the line of sight is consistent with the line of sight direction. , further providing technical support for the display effect of subtitle content.
- Step 103 Render the subtitle layer according to the subtitle content at the target space position, and render the subtitle content simultaneously in the subtitle layer.
- the target space after determining the target space position, in the target space Render the subtitle layer at a certain position, and render the subtitle content in the subtitle layer simultaneously.
- the subtitle layer will follow the change in the line of sight direction, and the spatial position in the direction of line of sight will be Display the subtitle layer, in which the subtitle content is rendered simultaneously on the subtitle layer. Since the subtitle layer is in the direction of the user's line of sight, it is ensured that the subtitle content can be presented to the user without distortion, ensuring the visual display effect.
- the subtitle content is rendered separately with a subtitle layer that is independent of the virtual reality video frame, which avoids display distortion of the subtitle content, and the subtitle layer is rendered according to the subtitle content, giving a stronger visual sense of technology and improving the user experience. Visual viewing experience.
- background display processing can also be performed on the subtitle layer, and background special effects can be added to the subtitle layer to enhance the intelligence of the display.
- the subtitle layer can also be processed into a layer with higher transparency.
- the subtitle layer is a backlight sub-layer and a quantum dot matrix sub-image.
- the quantum color of the quantum dot sub-layer can be any color such as blue
- the quantum dot sub-layer can be displayed in a gradient form or with uniform brightness, as shown in Figure 3, the backlight sub-layer and the quantum dot sub-layer
- the subtitle layer formed by superposition can give users a stronger sense of technology visually.
- light animations can be rendered in the subtitle layer, such as aurora animations, white light flow animations, etc., which will not be described here.
- the addition of light animations can enhance the technological sense of the display.
- the subtitle layer can also be dynamically rendered according to the subtitle content.
- the display quantity of subtitle content is obtained, and a subtitle layer matching the display quantity is rendered, thereby achieving the effect of dynamically displaying the subtitle layer as the subtitle display quantity changes.
- the display quantity of subtitle content is obtained, and the real-time subtitle width and subtitle real-time height are determined based on the display quantity, the preset unit subtitle width and the preset unit subtitle height.
- the number of displayed subtitle content refers to the number of all subtitle content displayed in the current virtual reality video frame. For example, if speech recognition obtains the number of subtitle content in the content, one or more words can be recognized or read and a display event of the subtitle content can be triggered, thereby changing the number of displayed subtitle content.
- the preset unit subtitle width refers to the predetermined width of each subtitle content
- the preset unit subtitle height refers to the prespecified height of each subtitle content.
- the subtitle implementation height and the subtitle real-time width are determined so as to dynamically render the subtitle layer based on the subtitle implementation height and the subtitle real-time width.
- the preset database can be queried according to the display quantity, the preset unit subtitle width and the preset unit subtitle height to obtain the subtitle real-time width and subtitle real-time height.
- the real-time subtitle width is determined based on the preset subtitle quantity threshold and the unit subtitle width. For example, the product of the preset subtitle quantity threshold and the unit subtitle width is calculated to determine the subtitle real-time width.
- the number of subtitle lines can be determined based on the preset subtitle quantity threshold and the display quantity. For example, the ratio of the display quantity and the preset subtitle quantity threshold is calculated, and the smallest integer greater than or equal to the ratio is determined as the number of subtitle lines. Then, according to the subtitle line The number and unit subtitle height determine the real-time height of the subtitle, such as calculating the product of the number of subtitle lines and the unit subtitle height to determine the real-time height of the subtitle.
- the real-time width of the subtitles is determined based on the unit subtitle width and the displayed number, that is, the product of the unit subtitle width and the displayed number is calculated to determine the subtitles Real-time width, and determine the unit subtitle height as the subtitle real-time height.
- the rendering matches the subtitle content according to the layer width of the unit subtitle and the real-time width of the subtitles.
- the real-time subtitle layer width where the layer width of the unit subtitle is the width direction of each unit subtitle The unit width by which the subtitle layer increases when increased.
- the layer height of the unit subtitle is the unit height of the subtitle layer that increases when the height of each unit subtitle increases upward. That is, the subtitle layer can expand and change horizontally and vertically along with the subtitle content.
- the width of the subtitle layer is determined based on the real-time width of the subtitles displayed in real time (the subtitle content in the figure is " What is displayed here is the subtitle content of the *th line", and the subtitle layer has a gradient brightness). For example, each time one or more subtitle content is newly displayed in real time, the corresponding subtitle content will be displayed according to the width of the unit subtitle, and at the same time, the corresponding subtitle content will be displayed according to the width of the unit subtitle.
- the layer width extends the subtitle layer.
- the unit subtitle width is smaller than the unit subtitle layer width to ensure that the subtitle content can be visually wrapped by the subtitle layer. Therefore, it is visually realized that the subtitle background is displayed following the display content of the subtitle in the width direction.
- the subtitle content displayed in real time is greater than the preset subtitle number threshold, the subtitle content is displayed in a line wrap, and the rendering matches the subtitle content according to the height change of the real-time height of the subtitle.
- the height of the real-time subtitle layer For example, when the width of the subtitles input in real time is greater than the preset maximum line width of the subtitles, that is, when it needs to be displayed in a new line, each time one or more subtitles are newly displayed in real time, they will be displayed according to the unit subtitle height.
- the display height of the subtitle layer is expanded according to the layer height of the unit subtitle.
- the height of the unit subtitle is smaller than the layer height of the unit subtitle to ensure that the subtitle content can be visually wrapped by the subtitle layer.
- the subtitle layer is displayed according to the display content of the subtitles, and a scrolling display effect is visually formed.
- the layer heights of unit subtitles corresponding to different rows can be the same or different.
- the first row of unit subtitles can be stipulated to have the same layer height.
- the layer height of the bit subtitles is 72, the layer height of the second row of unit subtitles is 100, the layer height of the third row of unit subtitles is 120, the layer height of the fourth row of unit subtitles is 132, and the layer height of the fifth row of unit subtitles is 132.
- the layer height is 156, the layer height of the sixth row of unit subtitles is 180, etc.
- the preset unit subtitle width can also be reduced, and/or the preset unit subtitle height can be reduced. to display subtitle content.
- control subtitle layer when the above-mentioned control subtitle layer is dynamically rendered according to the subtitle content, when the content of the last line of subtitles rendered does not reach the preset subtitle quantity threshold, an entire line of images can be rendered according to the preset subtitle quantity threshold as shown in Figure 5 above.
- layer, as shown in Figure 6, the subtitle layer width of the last row can also be determined based on the number of subtitle content in the last row and the preset unit subtitle width to further improve the intelligence of the subtitle layer following rendering.
- the subtitle display method of the embodiment of the present disclosure obtains the subtitle content corresponding to the currently played virtual reality video frame, and determines the target space position in the virtual reality panoramic space according to the user's current line of sight direction. At the target space position Render the subtitle layer according to the subtitle content, and render the subtitle content synchronously in the subtitle layer. After determining the subtitle content, follow the user's line of sight direction to determine the position of the subtitle content rendered in the virtual reality space. On the basis of realizing the display of the subtitle content, the user's viewing experience is improved, and the subtitle content is rendered at the corresponding position to
- the subtitle layer that is independent of the virtual reality video frame serves as a carrier for displaying subtitle content, which avoids display distortion of the subtitle content and improves the display effect of the subtitle content.
- the target space position is determined in different ways in the virtual reality panoramic space according to the user's current line of sight direction. Examples are as follows:
- determining the target space position in the virtual reality panoramic space according to the user's current line of sight direction includes:
- Step 701 Determine the center point position of the virtual reality panoramic space and obtain a preset radius distance.
- the center point position of the virtual reality panoramic space is determined.
- the center point position is located at the center of the virtual reality panoramic space.
- the center point position is related to the shape of the virtual reality panoramic space.
- a preset radius distance is obtained, where the preset radius distance can be set in advance according to the size of the virtual reality panoramic space, usually the length from the preset radius distance to the center point position, It will not exceed the length from the center point in the virtual reality panoramic space to the surface of the virtual reality panoramic space, thus ensuring that the displayed subtitle layer is located in front of the virtual reality video frame, forming a barrier to enhance the technological sense of subtitle layer display.
- Step 702 Starting from the center point position, the position extending from the user's current line of sight direction to a preset radius distance is used as the target space position.
- the target space position since the length from the usually preset radius distance to the center point position will not exceed the length from the center point position in the virtual reality panoramic space to the surface of the virtual reality panoramic space, therefore, starting from the center point position, according to The position where the user's current line of sight extends to the preset radius distance is used as the target space position. On the one hand, it can ensure that the target space position is within the virtual space and ensure the display effect. On the other hand, it can ensure that the target space position is consistent with the user's line of sight direction. The consistency ensures that the subtitle content displayed in the target space position is consistent with the user's line of sight, ensuring that the user can clearly view the subtitle content and improving the viewing experience.
- the virtual reality panoramic space is a "box-shaped" cubic space
- the preset radius distance is R1
- the center point position of the virtual reality panoramic space is O1
- the user's current line of sight direction is determined.
- the position extending from the user's current sight direction to the preset radius distance is used as the target space position.
- determining the target space position in the virtual reality panoramic space according to the user's current line of sight direction includes:
- Step 901 Obtain the historical spatial position corresponding to the subtitle content of the previous frame displayed in the virtual reality panoramic space.
- the historical spatial position corresponding to the subtitle content of the previous frame displayed in the virtual reality panoramic space is obtained.
- the historical spatial position is determined based on the user's line of sight direction under the previous frame of subtitles.
- Step 902 Obtain the line of sight change information between the user's current line of sight direction and the line of sight direction of the previous frame.
- the sight change information is used to represent the change in angle between the user's current sight direction and the sight direction of the previous frame.
- the sight change information may include the user's current sight direction relative to the sight direction of the previous frame. The changing direction and changing angle of sight between directions, etc.
- the horizontal axis rotation angle of the camera in the virtual reality device worn by the user relative to the previous frame in the horizontal direction is obtained, and the horizontal axis rotation angle is determined to be the horizontal line of sight of the user from viewing the previous frame. direction to the change information of the horizontal line of sight direction of viewing the current frame.
- the line of sight change information includes the change information of the horizontal line of sight direction, it can be ensured that when the user rotates left and right to watch, the target space position can follow the user's line of sight direction. This further ensures that the subtitle content displayed at the target space position is consistent with the user's line of sight direction.
- Step 903 Determine the target spatial location based on the line of sight change information and historical spatial location.
- the target spatial position can be determined based on the line of sight change information and the historical spatial location.
- the historical spatial position can be moved based on the line of sight change information to determine the target spatial location.
- the target space position is determined only based on the line of sight change information between the user's current line of sight direction and the line of sight direction of the previous frame, and does not take into account the current user's position in the virtual reality space.
- the user was in the virtual space in the previous frame Changes in position, regardless of the current user's position in the virtual reality space, whether the user's position in the virtual space is closer to the surface of the virtual space or further away from the surface of the virtual space relative to the previous frame, will not affect the target space position.
- the target space position is only related to the line of sight change information between the user's current line of sight direction and the line of sight direction of the previous frame. Therefore, visually, the user will not feel the difference between the displayed subtitle content and the user's human eyes. It has a fixed display distance to further ensure the user's visual effect.
- the virtual reality panoramic space is a "box-shaped" cubic space.
- the historical space position corresponding to the subtitle content of the previous frame displayed in the virtual reality panoramic space is W1, and the user's current sight direction S2 is obtained.
- the movement of the historical spatial position is controlled based on the line of sight change information to determine the moved position W2 as the target spatial position.
- a preset circle center position in the virtual reality panoramic space is obtained, where the circle center position is usually set as the center of the circle at the center of the virtual reality space to ensure that when the circle center is used to surround and follow the subtitles, Subtitle content can be displayed in the virtual reality space.
- the initial position of the virtual reality device in the virtual reality panoramic space can be obtained, where the initial position is the center point position in the virtual reality panoramic space, and the initial position is used as the midpoint position in the virtual reality panoramic space. Construct a virtual reality panoramic space, and then set the center point position in the virtual reality panoramic space as the center position of the circle.
- the initial position of the virtual reality device in the virtual reality panoramic space is used as the center position of the circle, in the actual execution process, when the virtual reality device moves in the virtual reality panoramic space, the initial position will continue to be
- the center point position is set as the center position of the circle, instead of continuing to use the user's VR head-mounted display device as the center position of the circle in the virtual reality panoramic space.
- Parameters such as the moving distance of the VR head-mounted display device that have nothing to do with the line of sight direction are visually related to the subtitles.
- the display position of the content is peeled off to improve the visual display effect. As a result, it is avoided that when the subtitle content is always associated with the moving distance of the VR head-mounted display device, the subtitle content is always linked to the VR head-mounted display device, affecting the user's visual experience.
- the horizontal axis rotation angle is used as the circle center rotation angle from the previous frame to the current frame, and the historical spatial position of the subtitle content of the previous frame relative to the circle center is determined, and then, according to the circle center position, The historical spatial position and the circle center rotation angle are used to determine the target spatial position.
- the neural network model can be trained in advance based on the sample data, and the center position of the circle, the historical spatial position, and the horizontal axis rotation angle are input into the neural network model, and the current line of sight direction is used in the virtual reality panoramic space.
- the corresponding target space position can be trained in advance based on the sample data, and the center position of the circle, the historical spatial position, and the horizontal axis rotation angle are input into the neural network model, and the current line of sight direction is used in the virtual reality panoramic space.
- the corresponding target space position can be trained in advance based on the sample data, and the center position of the circle, the historical spatial position, and the horizontal axis rotation angle are input into the neural network model, and the current line of sight direction is used in the virtual reality panoramic space. The corresponding target space position.
- a preset algorithm can be used to calculate the target space position corresponding to the current line of sight direction in the virtual reality panoramic space.
- the preset algorithm can be as shown in the following formula (1), where, In formula (1), x, y, and z are the coordinates of the historical spatial position on the three coordinate axes respectively, x1, y1, and z1 are the coordinates of the target spatial position on the three coordinate axes respectively, and ⁇ is the rotation angle of the center of the circle. Tx, Ty, and Tz are the coordinates of the circle center position on the three coordinate axes respectively.
- the preset radius distance can be obtained, and the initial spatial position of the subtitle content of the initial frame relative to the center of the circle is determined based on the center position of the circle, the radius distance, and the user's initial line of sight direction. This initial spatial position is used as the rendering position of the first frame of subtitle content.
- the subtitle display method of the embodiment of the present disclosure can flexibly determine the target space position of the subtitle content to be rendered in the virtual reality panoramic space according to the needs of the scene, ensuring that the target space position follows the user's current line of sight direction, and realizing the subtitle content follow the movement of the user's current line of sight to ensure the visual display effect of the subtitle content.
- the subtitle layer since the subtitle layer is displayed as a layer independently of the virtual reality video frame, it may cause occlusion to other displayed layers. For example, as shown in Figure 12, if the user is watching the video, After the display operation of the playback panel layer is performed, the above-mentioned determination principle of the target space position will be used in the user's line of sight direction to determine the display position of the playback panel layer and display it. As a result, the playback panel layer may be blocked, making it difficult for the user to perform playback control operations on the playback panel.
- the display status information of the other layers is identified, and the subtitles are adjusted according to the display status information of the other layers. Display status information of layers to ensure that users can clearly view subtitle content and other layers such as playback panel layers.
- the display status information includes the displayed spatial position, including:
- the display status information of the subtitle layer is adjusted according to the display status information of other layers, including :
- Step 1301 Determine whether the reference space position and the target space position of other layers meet the preset occlusion conditions.
- the other layers may include any layer that follows the user's direction, such as the playback panel layer, etc.
- the other layers are relative to The subtitle layer is closer to virtual reality video Frame, determine whether other layers and subtitle layers meet the preset occlusion conditions, that is, determine whether the subtitle layer will block other layers.
- the first center point position of other layers on the plane perpendicular to the line of sight is identified based on the reference spatial position
- the second center point of the subtitle layer on the plane perpendicular to the line of sight is identified based on the target spatial position.
- Position, where the plane perpendicular to the line of sight can be understood as the plane facing the user's line of sight. For example, if a coordinate system is established with the user's line of sight as the Z-axis, the plane perpendicular to the line of sight can be understood as the XY plane.
- the position difference between the first center point position and the second center point position is less than a preset distance threshold. If it is less than the preset distance threshold, the coincidence degree of other layers and the subtitle layer is determined. If the subtitle layer is too high, the subtitle layer may overlap with other layers and block other layers. Therefore, the preset occlusion conditions must be met.
- the area of the overlapping area between the subtitle layer and other layers is determined on a plane perpendicular to the line of sight according to the reference space position and the target space position.
- the overlapping area can be determined based on the size of the overlapping area.
- Area for another example, the area of the overlapping area can be determined based on the number of pixels in the overlapping area, etc.
- the area ratio of the area of the overlapping area and the area of other layers can be calculated to determine whether the area ratio is greater than the preset area ratio threshold, where, if is greater than the preset area ratio threshold, it is determined that the preset occlusion conditions are met.
- the layer level of other layers can also be determined, and the layer level can be determined to be higher than the preset level threshold, wherein the layer level can be determined by identifying the current layer type of other layers, Query the preset corresponding relationship and get etc.
- Step 1302 if the occlusion condition is met, determine the target movement position and/or the target layer display size of the subtitle layer, where the target movement position and/or the target layer display size correspond to the subtitle layer and other layers do not satisfy occlusion conditions.
- the target movement position of the subtitle layer is determined, wherein the subtitle layer and other layers at the target movement position do not meet the occlusion condition.
- the target movement position can be any position as close as possible to the user's line of sight without causing obstruction to other layers.
- the first height information of the upper edge line of other layers is determined.
- the first height information can be understood as a Y-axis coordinate value, etc.
- the lower edge line of the subtitle layer is determined based on the first height information.
- the second height information wherein the second height information is greater than or equal to the first height information, that is, the second height information can be slightly higher than the first height information or just above the first height information, and further, determined according to the second height information Target movement position.
- the other layers and the subtitle layer are both rectangular, then when the other layers and the subtitle layer meet the occlusion conditions, continue as shown in Figure 14A to determine the upper and lower edges of the other layers.
- the first height information of the edge line translates the subtitle layer upward, so that the subtitle layer moves from in front of other layers to above other layers, avoiding occlusion of other layers.
- first width information of the left edge line of other layers is determined.
- the first width information can be understood as an X-axis coordinate value, etc.
- the right edge of the subtitle layer is determined based on the first width information.
- the second width information of the line, where the second width information is less than or equal to the first width information, that is, the second width information can be slightly smaller than the first width information or it can be on the first width information, and further, determined according to the second width information Target movement position.
- controlling the subtitle layer to move upward or to the left in the above embodiment is only a possible example.
- the subtitle layer can also be controlled to move below or to the right relative to other layers.
- the principle of movement is Similar, not listed here.
- the display size of the subtitle layer is determined.
- the reference display size of other layers can be determined based on the reference spatial position, and the target layer display size of the subtitle layer can be determined based on the reference display size.
- the product of the reference display size and the preset reduction ratio is calculated, where , the preset reduction ratio is less than 1, and the display size of the target layer is determined based on the product value; for another example, the size difference between the reference display size and the initial display size of the subtitle layer is calculated, and the preset correspondence is determined based on the size difference.
- the scaling ratio The larger the size difference, the smaller the scaling ratio.
- the initial display size is scaled according to the scaling ratio to obtain the target layer display size.
- the other layers and the subtitle layer are both rectangular, and the other layers and the subtitle layer meet the occlusion conditions, they can be determined based on the reference display size of the other layers.
- the target layer display size of the subtitle layer has a smaller blocking area for other layers, thus not affecting the viewing of other layers.
- the target movement position and the target layer display size of the subtitle layer can also be determined simultaneously, that is, the adjustment of the position and size is combined to avoid occlusion of other layers.
- Step 1303 Display the subtitle layer according to the target movement position and/or the target layer display size.
- the subtitle layer is controlled to move to the target moving position and/or the target layer display size.
- the subtitle content rendered on the subtitle layer also moves synchronously. The user can not only watch the subtitle content but also the subtitle content. to the contents of other layers, etc.
- the above display status information may also include a display time point, and the display time point of the subtitle layer is adjusted based on the display time point of other layers to ensure that the user can view the display content of other layers.
- adjusting the display time point of the subtitle layer can control the subtitle layer to be displayed intermittently according to the preset display frequency at the display time point of other layers. For example, if the display time point of other layers is a-b, you can Control other layers to display for d duration every c time at a-b time points, thereby ensuring that users can view the display content of other layers.
- the method for displaying subtitles in the embodiment of the present disclosure can also change the display state of the subtitle layer after the subtitle layer may block other layers, so as to further ensure that the user can view the content of other layers. Improved display flexibility.
- the present disclosure also provides a subtitle display device.
- Figure 16 is a schematic structural diagram of a subtitle display device provided by an embodiment of the present disclosure.
- the device can be implemented by software and/or hardware, and can generally be integrated in an electronic device to display subtitles.
- the device includes: an acquisition module 1610, a position determination module 1620, and a rendering and display module 1630, wherein,
- the acquisition module 1610 is used to acquire the subtitle content corresponding to the currently played virtual reality video frame
- the position determination module 1620 is used to determine the target space position in the virtual reality panoramic space according to the user's current line of sight direction;
- the rendering and display module 1630 is used to render the subtitle layer according to the subtitle content at the target spatial position, and to synchronously render the subtitle content in the subtitle layer.
- the subtitle display device provided by the embodiments of the present disclosure can execute the subtitle display method provided by any embodiment of the present disclosure, and has functional modules and beneficial effects corresponding to the execution method.
- the present disclosure also proposes a computer program product, which includes a computer program/instructions.
- a computer program product which includes a computer program/instructions.
- the computer program/instructions are executed by a processor, the subtitle display method in the above embodiments is implemented.
- Figure 17 is a schematic structural diagram of an electronic device provided by an embodiment of the present disclosure.
- the electronic device 1700 in the embodiment of the present disclosure may include, but is not limited to, mobile phones, laptops, digital broadcast receivers, PDAs (personal digital assistants), PADs (tablets), PMPs (portable multimedia players), vehicle-mounted terminals ( Mobile terminals such as car navigation terminals) and fixed terminals such as digital TVs, desktop computers, etc.
- the electronic device shown in FIG. 17 is only an example and should not bring any limitations to the functions and scope of use of the embodiments of the present disclosure.
- electronic device 1700 may include a processor (eg, central processing unit, graphics processor, etc.) 1701 that may be loaded into random access memory according to a program stored in read-only memory (ROM) 1702 or from memory 1708 (RAM) 1703 to perform various appropriate actions and processes.
- ROM read-only memory
- RAM memory 1708
- various programs and data required for the operation of the electronic device 1700 are also stored.
- the processor 1701, ROM 1702 and RAM 1703 are connected to each other through a bus 1704.
- An input/output (I/O) interface 1705 is also connected to bus 1704.
- the following devices may be connected to the I/O interface 1705: input devices 1706 including, for example, a touch screen, touch pad, keyboard, mouse, camera, microphone, accelerometer, gyroscope, etc.; including, for example, a liquid crystal display (LCD), speakers, vibration An output device 1707 such as a computer; a memory 1708 including a magnetic tape, a hard disk, etc.; and a communication device 1709. Communication device 1709 may allow electronic device 1700 to communicate wirelessly or wiredly with other devices to exchange data.
- FIG. 17 illustrates electronic device 1700 with various means, it should be understood that implementation or availability of all illustrated means is not required. More or fewer means may alternatively be implemented or provided.
- embodiments of the present disclosure include a computer program product including a computer program carried on a non-transitory computer-readable medium, the computer program containing program code for performing the method illustrated in the flowchart.
- the computer program may be downloaded and installed from the network via communication device 1709, or from memory 1708, or from ROM 1702. In this calculation program When the program is executed by the processor 1701, the above functions defined in the subtitle display method of the embodiment of the present disclosure are performed.
- the computer-readable medium mentioned above in the present disclosure may be a computer-readable signal medium or a computer-readable storage medium, or any combination of the above two.
- the computer-readable storage medium may be, for example, but is not limited to, an electrical, magnetic, optical, electromagnetic, infrared, or semiconductor system, apparatus or device, or any combination thereof. More specific examples of computer readable storage media may include, but are not limited to: an electrical connection having one or more wires, a portable computer disk, a hard drive, random access memory (RAM), read only memory (ROM), removable Programmd read-only memory (EPROM or flash memory), fiber optics, portable compact disk read-only memory (CD-ROM), optical storage device, magnetic storage device, or any suitable combination of the above.
- a computer-readable storage medium may be any tangible medium that contains or stores a program for use by or in connection with an instruction execution system, apparatus, or device.
- a computer-readable signal medium may include a data signal propagated in baseband or as part of a carrier wave, carrying computer-readable program code therein. Such propagated data signals may take many forms, including but not limited to electromagnetic signals, optical signals, or any suitable combination of the above.
- a computer-readable signal medium may also be any computer-readable medium other than a computer-readable storage medium that can send, propagate, or transmit a program for use by or in connection with an instruction execution system, apparatus, or device .
- Program code embodied on a computer-readable medium may be transmitted using any suitable medium, including but not limited to: wire, optical cable, RF (radio frequency), etc., or any suitable combination of the above.
- the client and server can communicate using any currently known or future developed network protocol such as HTTP (HyperText Transfer Protocol), and can communicate with digital data in any form or medium.
- Communications e.g., communications network
- Examples of communication networks include local area networks (“LAN”), wide area networks (“WAN”), the Internet (e.g., the Internet), and end-to-end networks (e.g., ad hoc end-to-end networks), as well as any currently known or developed in the future network of.
- LAN local area networks
- WAN wide area networks
- the Internet e.g., the Internet
- end-to-end networks e.g., ad hoc end-to-end networks
- the above-mentioned computer-readable medium may be included in the above-mentioned electronic device; it may also exist independently without being assembled into the electronic device.
- the computer-readable medium carries one or more programs.
- the electronic device obtains the subtitle content corresponding to the currently played virtual reality video frame, and obtains the subtitle content corresponding to the currently played virtual reality video frame.
- the target space position is determined in the virtual reality panoramic space
- the subtitle layer is rendered based on the subtitle content at the target space position
- the subtitle content is simultaneously rendered in the subtitle layer.
- follow the user's line of sight direction to determine the position of the subtitle content rendered in the virtual reality space.
- the subtitle layer that is independent of the virtual reality video frame serves as a carrier for displaying subtitle content, which avoids display distortion of the subtitle content and improves the display effect of the subtitle content.
- the electronic device may have computer program code for performing operations of the present disclosure written in one or more programming languages, including but not limited to object-oriented programming languages—such as Java, Smalltalk, C++, or a combination thereof. , also includes conventional procedural programming languages—such as "C" or similar programming languages.
- the program code may execute entirely on the user's computer, partly on the user's computer, as a stand-alone software package, partly on the user's computer and partly on a remote computer or entirely on the remote computer or server.
- the remote computer can be connected to the user's computer through any kind of network, including a local area network (LAN) or a wide area network (WAN), or it can be connected to an external computer (such as an Internet service provider through Internet connection).
- LAN local area network
- WAN wide area network
- Internet service provider such as an Internet service provider through Internet connection
- each block in the flowchart or block diagram may represent a module, segment, or portion of code that contains one or more logic functions that implement the specified executable instructions.
- the functions noted in the block may occur out of the order noted in the figures. For example, two blocks shown one after another may actually execute substantially in parallel, or they may sometimes execute in the reverse order, depending on the functionality involved.
- each block of the block diagram and/or flowchart illustration, and combinations of blocks in the block diagram and/or flowchart illustration can be implemented by special purpose hardware-based systems that perform the specified functions or operations. , or can be implemented using a combination of specialized hardware and computer instructions.
- the units involved in the embodiments of the present disclosure can be implemented in software or hardware. Among them, the name of a unit does not constitute a limitation on the unit itself under certain circumstances.
- FPGAs Field Programmable Gate Arrays
- ASICs Application Specific Integrated Circuits
- ASSPs Application Specific Standard Products
- SOCs Systems on Chips
- CPLD Complex Programmable Logical device
- a machine-readable medium may be a tangible medium that may contain or store a program for use by or in connection with an instruction execution system, apparatus, or device.
- the machine-readable medium may be a machine-readable signal medium or a machine-readable storage medium.
- Machine-readable media may include, but are not limited to, electronic, magnetic, optical, electromagnetic, infrared, or semiconductor systems, devices or devices, or any suitable combination of the foregoing.
- machine-readable storage media would include one or more wire-based electrical connections, laptop disks, hard drives, random access memory (RAM), read only memory (ROM), erasable programmable read only memory (EPROM or flash memory), optical fiber, portable compact disk read-only memory (CD-ROM), optical storage device, magnetic storage device, or any suitable combination of the above.
- RAM random access memory
- ROM read only memory
- EPROM or flash memory erasable programmable read only memory
- CD-ROM portable compact disk read-only memory
- magnetic storage device or any suitable combination of the above.
Landscapes
- Engineering & Computer Science (AREA)
- Theoretical Computer Science (AREA)
- General Engineering & Computer Science (AREA)
- Physics & Mathematics (AREA)
- General Physics & Mathematics (AREA)
- Multimedia (AREA)
- Signal Processing (AREA)
- Human Computer Interaction (AREA)
- Computational Linguistics (AREA)
- Databases & Information Systems (AREA)
- Data Mining & Analysis (AREA)
- Business, Economics & Management (AREA)
- Marketing (AREA)
- User Interface Of Digital Computer (AREA)
- Studio Circuits (AREA)
Abstract
Description
Claims (21)
- 一种字幕的显示方法,其特征在于,包括以下步骤:获取与当前播放的虚拟现实视频帧对应的字幕内容;根据用户当前的视线方向,在虚拟现实全景空间中确定目标空间位置;在所述目标空间位置上根据所述字幕内容渲染字幕图层,并在所述字幕图层中同步渲染所述字幕内容。
- 如权利要求1所述的方法,其特征在于,所述获取与当前播放的虚拟现实视频帧对应的字幕内容,包括:对所述当前播放的虚拟现实视频帧对应的音频流进行语音识别处理以获取所述字幕内容;或者,查询预设数据库以获取与所述当前播放的虚拟现实视频帧对应的字幕内容。
- 如权利要求1所述的方法,其特征在于,所述根据用户当前的视线方向,在虚拟现实全景空间中确定目标空间位置,包括:确定所述虚拟现实全景空间的中心点位置,以及获取预设的半径距离;从所述中心点位置开始,按照所述用户当前的视线方向延伸到所述预设的半径距离的位置作为所述目标空间位置。
- 如权利要求1所述的方法,其特征在于,所述根据用户当前的视线方向,在虚拟现实全景空间中确定目标空间位置,包括:获取在所述虚拟现实全景空间中显示上一帧的字幕内容对应的历史空间位置;获取所述用户当前的视线方向相对于观看上一帧视线方向之间的视线变化信息;根据所述视线变化信息以及所述历史空间位置确定所述目标空间位置。
- 如权利要求4所述的方法,其特征在于,所述获取所述用户当前的视线方向相对于观看上一帧视线方向之间的视线变化信息,包括:获取用户穿戴的虚拟现实设备中的相机在水平方向上相对于上一帧的水平轴旋转角度,其中,所述水平轴旋转角度为所述用户从观看上一帧的水平视线方向到观看当前帧的水平视线方向的变化信息。
- 如权利要求1所述的方法,其特征在于,所述在所述目标空间位置上根据所述字幕内容渲染字幕图层,包括:获取字幕内容的显示数量;渲染与所述显示数量匹配的字幕图层。
- 如权利要求6所述的方法,其特征在于,所述渲染与所述显示数量匹配的字幕图层,包括:根据所述显示数量、预设的单位字幕宽度和预设的单位字幕高度,确定字幕实时宽度和字幕实时高度;响应于所述字幕实时宽度的宽度变化,根据单位字幕的图层宽度和所述字幕实时宽度,渲染与所述字幕内容匹配的实时字幕图层宽度;和/或,响应于所述字幕实时高度的高度变化,根据预设的单位字幕的图层高度和所述字幕实时高度,渲染与所述字幕内容匹配的实时字幕图层高度。
- 如权利要求7所述的方法,其特征在于,所述根据所述显示数量、预设的单位字幕宽度和预设的单位字幕高度,确定字幕实时宽度和字幕实时高度,包括:确定所述显示数量是否大于宽度方向上的预设字幕数量阈值;若是大于所述预设字幕数量阈值,则根据所述预设字幕数量阈值和所述单位字幕宽度确定所述字幕实时宽度;根据所述预设字幕数量阈值和所述显示数量确定字幕行数,并根据所述字幕行数和所述单位字幕高度确定所述字幕实时高度。
- 如权利要求8所述的方法,其特征在于,还包括:若是不大于所述预设字幕数量阈值,则根据所述单位字幕宽度和所述显示数量确定所述字幕实时宽度;确定所述单位字幕高度为所述字幕实时高度。
- 如权利要求1-9任一所述的方法,其特征在于,还包括:若是监测到在所述虚拟现实全景空间中显示其他图层,则识别所述其他图层的显示状态信息;根据所述其他图层的显示状态信息调整所述字幕图层的显示状态信息。
- 如权利要求10所述的方法,其特征在于,所述显示状态信息包括显示的空间位置,所述根据所述其他图层的显示状态信息调整所述字幕图层的显示状态信息,包括:确定所述其他图层所在的参考空间位置与所述目标空间位置是否满足预设的遮挡条件;若是满足所述遮挡条件,则确定所述字幕图层的目标移动位置和/或目标图层显示尺寸,其中,所述目标移动位置和/或目标图层显示尺寸对应的所述字幕图层与所述其他图层不满足所述遮挡条件;根据所述目标移动位置和/或目标图层显示尺寸显示所述字幕图层。
- 如权利要求10所述的方法,其特征在于,在所述根据所述其他图层的显示状态信息调整所述字幕图层的显示状态信息之前,还包括:确定所述其他图层的图层等级,并确定所述图层等级高于预设等级阈值。
- 如权利要求11所述的方法,其特征在于,所述确定所述其他图层所在的参考空间位置与所述目标空间位置是否满足预设的遮挡条件,包括:根据所述参考空间位置,识别所述其他图层在垂直所述视线方向的平面上的第一中心点位置;根据所述目标空间位置,识别所述字幕图层在垂直所述视线方向的平面上的第二中心点位置;确定所述第一中心点位置与所述第二中心点位置的位置差值是否小于预设距离阈值,其中,若是小于所述预设距离阈值,则确定满足所述预设的遮挡条件。
- 如权利要求11所述的方法,其特征在于,所述确定所述其他图层所在的参考空间位置与所述目标空间位置是否满足预设的遮挡条件,包括:根据所述参考空间位置和所述目标空间位置,确定所述字幕图层与所述其他图层在垂直所述视线方向的平面上的重叠区域面积;计算所述重叠区域面积与所述其他图层的图层面积的面积比值;确定所述面积比值是否大于预设面积比值阈值,其中,若是大于所述预设面积比值阈值,则确定满足所述预设的遮挡条件。
- 如权利要求11所述的方法,其特征在于,所述确定所述字幕图层的目标移动位置和/或目标图层显示尺寸,包括:根据所述参考空间位置,确定所述其他图层的上边缘线的第一高度信息,根据所述第一高度信息确定所述字幕图层的下边缘线的第二高度信息,其中,所述第二高度信息大于等于所述第一高度信息,根据所述第二高度信息确定所述目标移动位置;和/或,根据所述参考空间位置,确定所述其他图层的参考显示尺寸,根据所述参考显示尺寸确定所述字幕图层的目标图层显示尺寸。
- 如权利要求11所述的方法,其特征在于,还包括:若是监测到所述其他图层的关闭显示指令,则控制所述字幕图层移动到所述目标空间位置上显示。
- 如权利要求1-9任一所述的方法,其特征在于,还包括:对所述字幕图层进行背景添加显示处理。
- 如权利要求17所述的方法,其特征在于,所述对所述字幕图 层进行背景添加显示处理,包括:在所述字幕图层下添加背光子图层和量子点阵子图层;和/或,在所述字幕图层上渲染灯光动画。
- 一种字幕的显示装置,其特征在于,包括:获取模块,用于获取与当前播放的虚拟现实视频帧对应的字幕内容;位置确定模块,用于根据用户当前的视线方向,在虚拟现实全景空间中确定目标空间位置;渲染显示模块,用于在所述目标空间位置上根据所述字幕内容渲染字幕图层,并在所述字幕图层中同步渲染所述字幕内容。
- 一种电子设备,其特征在于,所述电子设备包括:处理器;用于存储所述处理器可执行指令的存储器;所述处理器,用于从所述存储器中读取所述可执行指令,并执行所述可执行指令以实现上述权利要求1-18中任一所述的字幕的显示方法。
- 一种计算机可读存储介质,其特征在于,所述计算机可读存储介质存储有计算机程序,所述计算机程序用于执行上述权利要求1-18中任一所述的字幕的显示方法。
Priority Applications (2)
| Application Number | Priority Date | Filing Date | Title |
|---|---|---|---|
| EP23825955.0A EP4543018A4 (en) | 2022-06-20 | 2023-04-27 | METHOD AND APPARATUS FOR DISPLAYING SUBTITLES, DEVICE AND SUPPORT |
| US18/729,349 US20250095249A1 (en) | 2022-06-20 | 2023-04-27 | Method, apparatus, device and medium for subtitle displaying |
Applications Claiming Priority (2)
| Application Number | Priority Date | Filing Date | Title |
|---|---|---|---|
| CN202210698095.3 | 2022-06-20 | ||
| CN202210698095.3A CN117319725A (zh) | 2022-06-20 | 2022-06-20 | 字幕的显示方法、装置、设备及介质 |
Publications (2)
| Publication Number | Publication Date |
|---|---|
| WO2023246302A1 true WO2023246302A1 (zh) | 2023-12-28 |
| WO2023246302A9 WO2023246302A9 (zh) | 2024-06-20 |
Family
ID=89259027
Family Applications (1)
| Application Number | Title | Priority Date | Filing Date |
|---|---|---|---|
| PCT/CN2023/091203 Ceased WO2023246302A1 (zh) | 2022-06-20 | 2023-04-27 | 字幕的显示方法、装置、设备及介质 |
Country Status (4)
| Country | Link |
|---|---|
| US (1) | US20250095249A1 (zh) |
| EP (1) | EP4543018A4 (zh) |
| CN (1) | CN117319725A (zh) |
| WO (1) | WO2023246302A1 (zh) |
Cited By (2)
| Publication number | Priority date | Publication date | Assignee | Title |
|---|---|---|---|---|
| CN117676053A (zh) * | 2024-01-31 | 2024-03-08 | 成都华栖云科技有限公司 | 一种动态字幕渲染方法及系统 |
| CN118567524A (zh) * | 2024-08-01 | 2024-08-30 | 北京集度科技有限公司 | 一种信息展示方法、车辆、设备及产品 |
Citations (5)
| Publication number | Priority date | Publication date | Assignee | Title |
|---|---|---|---|---|
| CN104918097A (zh) * | 2015-06-01 | 2015-09-16 | 无锡天脉聚源传媒科技有限公司 | 一种字幕生成方法及装置 |
| CN106412718A (zh) * | 2016-09-18 | 2017-02-15 | 乐视控股(北京)有限公司 | 一种字幕在3d空间中的渲染方法及其装置 |
| CN107613405A (zh) * | 2017-09-30 | 2018-01-19 | 福州瑞芯微电子股份有限公司 | 一种vr视频字幕显示方法和装置 |
| EP3493028A1 (en) * | 2017-12-04 | 2019-06-05 | Thomson Licensing | Devices, systems and methods for enhancing content viewer experience using augmented reality |
| CN112019772A (zh) * | 2020-09-07 | 2020-12-01 | 中图云创智能科技(北京)有限公司 | 一种全景视频中纠正字幕桶状变形的方法 |
Family Cites Families (8)
| Publication number | Priority date | Publication date | Assignee | Title |
|---|---|---|---|---|
| WO2018207045A1 (en) * | 2017-05-10 | 2018-11-15 | Within Unlimited, Inc. | Placement and dynamic rendering of caption information in virtual reality video |
| US10375375B2 (en) * | 2017-05-15 | 2019-08-06 | Lg Electronics Inc. | Method of providing fixed region information or offset region information for subtitle in virtual reality system and device for controlling the same |
| KR101965404B1 (ko) * | 2017-11-09 | 2019-04-03 | 부경대학교 산학협력단 | Vr 영상 콘텐츠를 위한 사용자 시점 중심의 자막 지원 장치 및 방법 |
| CN110095867B (zh) * | 2018-01-31 | 2021-01-22 | 京东方科技集团股份有限公司 | 显示装置及方法、平视显示系统、交通工具和存储介质 |
| CN110620946B (zh) * | 2018-06-20 | 2022-03-18 | 阿里巴巴(中国)有限公司 | 字幕显示方法及装置 |
| CN112532962A (zh) * | 2020-11-24 | 2021-03-19 | 聚好看科技股份有限公司 | 一种全景视频字幕显示方法及显示设备 |
| US20220174367A1 (en) * | 2020-11-30 | 2022-06-02 | Sony Interactive Entertainment LLC | Stream producer filter video compositing |
| CN114690889A (zh) * | 2020-12-30 | 2022-07-01 | 华为技术有限公司 | 一种虚拟键盘的处理方法以及相关设备 |
-
2022
- 2022-06-20 CN CN202210698095.3A patent/CN117319725A/zh active Pending
-
2023
- 2023-04-27 US US18/729,349 patent/US20250095249A1/en active Pending
- 2023-04-27 WO PCT/CN2023/091203 patent/WO2023246302A1/zh not_active Ceased
- 2023-04-27 EP EP23825955.0A patent/EP4543018A4/en active Pending
Patent Citations (5)
| Publication number | Priority date | Publication date | Assignee | Title |
|---|---|---|---|---|
| CN104918097A (zh) * | 2015-06-01 | 2015-09-16 | 无锡天脉聚源传媒科技有限公司 | 一种字幕生成方法及装置 |
| CN106412718A (zh) * | 2016-09-18 | 2017-02-15 | 乐视控股(北京)有限公司 | 一种字幕在3d空间中的渲染方法及其装置 |
| CN107613405A (zh) * | 2017-09-30 | 2018-01-19 | 福州瑞芯微电子股份有限公司 | 一种vr视频字幕显示方法和装置 |
| EP3493028A1 (en) * | 2017-12-04 | 2019-06-05 | Thomson Licensing | Devices, systems and methods for enhancing content viewer experience using augmented reality |
| CN112019772A (zh) * | 2020-09-07 | 2020-12-01 | 中图云创智能科技(北京)有限公司 | 一种全景视频中纠正字幕桶状变形的方法 |
Non-Patent Citations (1)
| Title |
|---|
| See also references of EP4543018A4 * |
Cited By (3)
| Publication number | Priority date | Publication date | Assignee | Title |
|---|---|---|---|---|
| CN117676053A (zh) * | 2024-01-31 | 2024-03-08 | 成都华栖云科技有限公司 | 一种动态字幕渲染方法及系统 |
| CN117676053B (zh) * | 2024-01-31 | 2024-04-16 | 成都华栖云科技有限公司 | 一种动态字幕渲染方法及系统 |
| CN118567524A (zh) * | 2024-08-01 | 2024-08-30 | 北京集度科技有限公司 | 一种信息展示方法、车辆、设备及产品 |
Also Published As
| Publication number | Publication date |
|---|---|
| WO2023246302A9 (zh) | 2024-06-20 |
| EP4543018A4 (en) | 2026-04-08 |
| EP4543018A1 (en) | 2025-04-23 |
| US20250095249A1 (en) | 2025-03-20 |
| CN117319725A (zh) | 2023-12-29 |
Similar Documents
| Publication | Publication Date | Title |
|---|---|---|
| JP7604669B2 (ja) | 特殊効果展示方法、装置、機器および媒体 | |
| US10962780B2 (en) | Remote rendering for virtual images | |
| WO2023221409A1 (zh) | 虚拟现实空间的字幕渲染方法、装置、设备及介质 | |
| CN114461064B (zh) | 虚拟现实交互方法、装置、设备和存储介质 | |
| WO2021204296A1 (zh) | 三维模型远程展示方法、第一终端、电子设备及存储介质 | |
| CN113747227B (zh) | 视频播放方法、装置、存储介质以及电子设备 | |
| US20230405475A1 (en) | Shooting method, apparatus, device and medium based on virtual reality space | |
| WO2021254502A1 (zh) | 目标对象显示方法、装置及电子设备 | |
| WO2021139382A1 (zh) | 人脸图像的处理方法、装置、可读介质和电子设备 | |
| CN113589926B (zh) | 虚拟界面操作方法、头戴式显示设备和计算机可读介质 | |
| WO2021244651A1 (zh) | 信息显示方法、装置、终端及存储介质 | |
| WO2023151524A1 (zh) | 图像显示方法、装置、电子设备及存储介质 | |
| WO2023246302A9 (zh) | 字幕的显示方法、装置、设备及介质 | |
| WO2023025085A1 (zh) | 视频处理方法、装置、设备、介质及程序产品 | |
| US20240377939A1 (en) | Split-screen effect generating method and apparatus, device, and medium | |
| WO2024199393A1 (zh) | 用于待显示对象的显示方法、装置、电子设备和介质 | |
| KR20250149645A (ko) | Ar 장치에 기초한 사용자 행위 기록 방법 및 ar 장치 | |
| CN117608396A (zh) | 基于混合现实的处理方法、装置、终端和存储介质 | |
| CN117132741A (zh) | 基于混合现实的控制方法、装置、电子设备和存储介质 | |
| CN113703704A (zh) | 界面显示方法、头戴式显示设备和计算机可读介质 | |
| CN114385062A (zh) | 展示方案的切换方法、装置、可读存储介质和电子设备 | |
| CN114638917A (zh) | 动画制作方法、装置、电子设备及计算机可读介质 | |
| US20250029216A1 (en) | Method, apparatus, electronic devices, and storage medium of image processing | |
| CN117354484A (zh) | 基于虚拟现实的拍摄处理方法、装置、设备及介质 | |
| CN117765207A (zh) | 虚拟界面的显示方法、装置、设备及介质 |
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: 23825955 Country of ref document: EP Kind code of ref document: A1 |
|
| WWE | Wipo information: entry into national phase |
Ref document number: 18729349 Country of ref document: US |
|
| WWE | Wipo information: entry into national phase |
Ref document number: 2023825955 Country of ref document: EP |
|
| NENP | Non-entry into the national phase |
Ref country code: DE |
|
| ENP | Entry into the national phase |
Ref document number: 2023825955 Country of ref document: EP Effective date: 20250120 |
|
| WWP | Wipo information: published in national office |
Ref document number: 18729349 Country of ref document: US |
|
| WWP | Wipo information: published in national office |
Ref document number: 2023825955 Country of ref document: EP |