CN110234033A - A kind of barrage rendering method and equipment - Google Patents
A kind of barrage rendering method and equipment Download PDFInfo
- Publication number
- CN110234033A CN110234033A CN201910470175.1A CN201910470175A CN110234033A CN 110234033 A CN110234033 A CN 110234033A CN 201910470175 A CN201910470175 A CN 201910470175A CN 110234033 A CN110234033 A CN 110234033A
- Authority
- CN
- China
- Prior art keywords
- barrage
- initial position
- barrage information
- content
- left eye
- Prior art date
- Legal status (The legal status is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the status listed.)
- Pending
Links
Classifications
-
- H—ELECTRICITY
- H04—ELECTRIC COMMUNICATION TECHNIQUE
- H04N—PICTORIAL COMMUNICATION, e.g. TELEVISION
- H04N13/00—Stereoscopic video systems; Multi-view video systems; Details thereof
- H04N13/30—Image reproducers
- H04N13/332—Displays for viewing with the aid of special glasses or head-mounted displays [HMD]
- H04N13/344—Displays for viewing with the aid of special glasses or head-mounted displays [HMD] with head-mounted left-right displays
-
- 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/41—Structure of client; Structure of client peripherals
- H04N21/4104—Peripherals receiving signals from specially adapted client devices
- H04N21/4122—Peripherals receiving signals from specially adapted client devices additional display device, e.g. video projector
-
- 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
-
- 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/472—End-user interface for requesting content, additional data or services; End-user interface for interacting with content, e.g. for content reservation or setting reminders, for requesting event notification, for manipulating displayed content
-
- 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/475—End-user interface for inputting end-user data, e.g. personal identification number [PIN], preference data
- H04N21/4756—End-user interface for inputting end-user data, e.g. personal identification number [PIN], preference data for rating content, e.g. scoring a recommended movie
-
- 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/478—Supplemental services, e.g. displaying phone caller identification, shopping application
- H04N21/4788—Supplemental services, e.g. displaying phone caller identification, shopping application communicating with other users, e.g. chatting
-
- H—ELECTRICITY
- H04—ELECTRIC COMMUNICATION TECHNIQUE
- H04N—PICTORIAL COMMUNICATION, e.g. TELEVISION
- H04N21/00—Selective content distribution, e.g. interactive television or video on demand [VOD]
- H04N21/80—Generation or processing of content or additional data by content creator independently of the distribution process; Content per se
- H04N21/81—Monomedia components thereof
- H04N21/816—Monomedia components thereof involving special video data, e.g 3D video
Abstract
The purpose of the application is to provide a kind of barrage rendering method and equipment, and the application determines the initial position of the left eye of barrage information and the initial position of right eye based on horizontal relative displacement by the horizontal relative displacement of every barrage information of setting;While the content display area displaying target of screen shows content, since the initial position of the initial position of the left eye of barrage information and right eye, by barrage information respectively in the barrage viewing area of left eye, the corresponding screen of right eye, barrage presentation is carried out according to default moving parameter since the initial position of the left eye of barrage information and the initial position of right eye, realize the stereovision that barrage shows depth, barrage and display content avoid barrage from generating apparent interference to display content not in the same display area simultaneously.
Description
Technical field
This application involves computer field more particularly to the implementation methods and equipment of a kind of barrage.
Background technique
In the prior art, barrage refers to the comment subtitle popped up when watching video.It largely sails above video
Comment as intensive shell, therefore barrage of gaining the name.Barrage can be presented on video in real time with the broadcasting of video, such user
When watching the video it can be seen that other users and the barrage oneself sent.
Current barrage is essentially all to be moved to other end from one end of on-screen display (osd) area, on the whole, almost
All barrages are all the not no stereovision of depth in the same plane, and effect is more flat, lack aesthetic feeling, while again
Meeting generates apparent interference to the display content of display area, is simply shut off barrage so as to cause many users.
Summary of the invention
The purpose of the application is to provide a kind of barrage rendering method and equipment, is lacked with solving the presentation of barrage in the prior art
The stereovision of weary depth and to display content lead to the problem of interference.
According to the one aspect of the application, a kind of barrage rendering method is provided, comprising:
It obtains target and shows content and its corresponding at least one barrage information;
The horizontal relative displacement of every barrage information is respectively set, and is determined based on the horizontal relative displacement
The initial position of the left eye of the barrage information and the initial position of right eye;
While the content display area of screen shows that the target shows content, by the barrage information respectively on a left side
The barrage viewing area of eye, the corresponding screen of right eye, from the initial of the initial position of the left eye of the barrage information and right eye
Position starts to carry out barrage presentation according to default moving parameter;
Wherein, the content display area and the barrage viewing area are not overlapped.
Further, in above-mentioned barrage rendering method, the level that every barrage information is respectively set is relatively inclined
Shifting amount, and the initial position of the left eye of the barrage information and the initial bit of right eye are determined based on the horizontal relative displacement
It sets, comprising:
The horizontal relative displacement and vertical initial positions of every barrage information is respectively set;
Based on the barrage information horizontal relative displacement determine the barrage information left eye horizontal initial position and
Right eye horizontal initial position;
According to the left eye horizontal initial position, right eye horizontal initial position and vertical initial positions of the barrage information, really
The initial position of the left eye of the fixed barrage information and the initial position of right eye.
Further, in above-mentioned barrage rendering method, in the content display area in screen shows that the target is shown
Hold, comprising:
Content, which is zoomed in and out to be adapted to the content display area of the screen, to be shown to the target;
Target after the content display area of screen display scaling shows content.
Further, in above-mentioned barrage rendering method, further includes:
The effective display area of the screen is divided into the content display area and the barrage viewing area.
Further, in above-mentioned barrage rendering method, the initial position of the left eye of the barrage information and right eye it is initial
Position is respectively positioned on the barrage viewing area.
Further, in above-mentioned barrage rendering method, the default moving parameter includes movement speed, moving direction and shifting
Dynamic rail mark.
According to the another aspect of the application, a kind of barrage display device is additionally provided, which includes:
Acquisition device shows content and its corresponding at least one barrage information for obtaining target;
Determining device for the horizontal relative displacement of every barrage information to be respectively set, and is based on the level
Relative displacement determines the initial position of the left eye of the barrage information and the initial position of right eye;
Display device, for inciting somebody to action while the content display area of the display device shows that the target shows content
The barrage information is respectively in the barrage viewing area of left eye, the corresponding screen of right eye, from the left eye of the barrage information
The initial position of initial position and right eye starts to carry out barrage presentation according to default moving parameter;Wherein, the content display area
It is not overlapped with the barrage viewing area.
Further, in the above-mentioned equipment presented for barrage, the determining device is used for:
The horizontal relative displacement and vertical initial positions of every barrage information is respectively set;
Based on the barrage information horizontal relative displacement determine the barrage information left eye horizontal initial position and
Right eye horizontal initial position;
According to the left eye horizontal initial position, right eye horizontal initial position and vertical initial positions of the barrage information, really
The initial position of the left eye of the fixed barrage information and the initial position of right eye.
Further, in the above-mentioned equipment presented for barrage, the display device is used for:
Content, which is zoomed in and out to be adapted to the content display area of the screen, to be shown to the target;
Target after the content display area of screen display scaling shows content.
Further, in the above-mentioned equipment presented for barrage, the equipment further include:
Dividing device, for the display device effective display area being divided into the content display area and the barrage is shown
Show area.
Further, in the above-mentioned equipment presented for barrage, the initial position and right eye of the left eye of the barrage information
Initial position be respectively positioned on the barrage viewing area.
Further, in the above-mentioned equipment presented for barrage, the default moving parameter includes movement speed, movement side
To and motion track.
Compared with prior art, the application shows content and its corresponding at least one barrage information by obtaining target,
And the horizontal relative displacement of every barrage information is respectively set, the barrage is determined based on the horizontal relative displacement
The initial position of the left eye of information and the initial position of right eye;Show that the target shows content in the content display area of screen
Meanwhile since the initial position of left eye of the barrage information and the initial position of right eye, the barrage information is existed respectively
The barrage viewing area of the corresponding screen of left eye, right eye, from the initial position of the left eye of the barrage information and right eye just
Beginning position starts to carry out barrage presentation according to default moving parameter.It is relatively inclined by the way that different levels is arranged to different barrage information
Shifting amount, so that every barrage information with different level relative displacement allows users to visually feel when presenting
It presents from different distances to every barrage information, so that the depth visual impression different to user, further increases
Interest when barrage information is presented;Meanwhile target is shown that content, will while the content display area of screen is shown
The target shows that the corresponding at least one barrage information of content is shown with the nonoverlapping barrage viewing area in the content display area
Show, avoids and content interference is shown to the target of display when barrage information is presented, to effectively improve the viewing of user
Experience.
Detailed description of the invention
By reading a detailed description of non-restrictive embodiments in the light of the attached drawings below, the application's is other
Feature, objects and advantages will become more apparent upon:
Fig. 1 shows a kind of flow diagram of barrage rendering method according to the application one aspect;
Fig. 2 shows effective display area schematic diagrames in a kind of barrage rendering method according to the application one aspect.
Fig. 3 shows effective display area in a kind of barrage rendering method according to the application one aspect and divides schematic diagram;
It is from a left side that Fig. 4, which shows two display screen moving directions in a kind of barrage rendering method according to the application one aspect,
To the initial position schematic diagram of right barrage information;
It is from upper that Fig. 5, which shows two display screen moving directions in a kind of barrage rendering method according to the application one aspect,
The initial position schematic diagram of barrage information under;
Fig. 6 is shown;According to a kind of practical application scene schematic diagram of barrage rendering method of the application one aspect;
Fig. 7 shows single display screen schematic diagram in a kind of barrage rendering method according to the application one aspect;
It is from a left side that Fig. 8, which shows single display screen moving direction in a kind of barrage rendering method according to the application one aspect,
To the initial position schematic diagram of right barrage information;
It is from upper that Fig. 9, which shows single display screen moving direction in a kind of barrage rendering method according to the application one aspect,
The initial position schematic diagram of barrage information under;
Figure 10 shows a kind of structural schematic diagram of barrage display device according to the application other side.
The same or similar appended drawing reference represents the same or similar component in attached drawing.
Specific embodiment
The application is described in further detail with reference to the accompanying drawing.
In a typical configuration of this application, terminal, the equipment of service network and trusted party include one or more
Processor (CPU), input/output interface, network interface and memory.
Memory may include the non-volatile memory in computer-readable medium, random access memory (RAM) and/or
The forms such as Nonvolatile memory, such as read-only memory (ROM) or flash memory (flash RAM).Memory is computer-readable medium
Example.
Computer-readable medium includes permanent and non-permanent, removable and non-removable media can be by any method
Or technology come realize information store.Information can be computer readable instructions, data structure, the module of program or other data.
The example of the storage medium of computer includes, but are not limited to phase change memory (PRAM), static random access memory (SRAM), moves
State random access memory (DRAM), other kinds of random access memory (RAM), read-only memory (ROM), electric erasable
Programmable read only memory (EEPROM), flash memory or other memory techniques, read-only disc read only memory (CD-ROM) (CD-ROM),
Digital versatile disc (DVD) or other optical storage, magnetic cassettes, magnetic tape disk storage or other magnetic storage devices or
Any other non-transmission medium, can be used for storage can be accessed by a computing device information.As defined in this article, computer
Readable medium does not include non-temporary computer readable media (transitory media), such as the data-signal and carrier wave of modulation.
Fig. 1 shows a kind of flow diagram of barrage rendering method according to the application one aspect, and this method is suitable for
Product is worn, this, which wears product, can use two small displays to meet left eye and right eye corresponding display screen when user watches
Viewing demand, and/or, this wears product can be using a big display screen, so that the left eye and right eye of the user are corresponding
Display screen is distributed in the screen in the big display screen and dividing equally the big display screen.This method comprises: step S1, step S2 and step
S3, wherein specifically include:
Step S1 obtains target and shows content and its corresponding at least one barrage information.Here, in the target shows
Appearance can be include but is not limited to be video, picture, music, game and 3D scene etc.;The barrage information may include but not
It is limited to text information and pictorial information etc..
Step S2 is respectively set the horizontal relative displacement of every barrage information, and is determined based on horizontal relative displacement
The initial position of the left eye of barrage information and the initial position of right eye.Here, every bullet in at least one barrage information
The horizontal relative displacement of curtain information can part barrage information in the mutually different or at least one barrage information
Horizontal relative displacement can be mutually different.Since the horizontal relative displacement of different barrage information is different, so that having not
Every barrage information of same level relative displacement present when, allow user visually experience every barrage information from
It is showed at different distances, so that the depth visual impression different to user, not only increases the viewing experience of user, also increase
Interest when barrage information having been added to present.
Step S3, screen content display area displaying target show content while, by barrage information respectively left eye,
The barrage viewing area of the corresponding screen of right eye, since the initial position of the left eye of barrage information and the initial position of right eye according to
Default moving parameter carries out barrage presentation.Here, the mobile parameter preset can include but is not limited to movement speed, movement side
To and motion track, wherein the movement speed includes rate travel and translational acceleration.The content display area and the bullet
Curtain viewing area be not overlapped, realize content display area to user present target show content while, barrage viewing area to
User is presented the target and shows the corresponding one or more barrage information of content, ensure that target shows content and barrage information
Presentation is not interfere with each other.
S1 to step S3 through the above steps is made by the way that different barrage information are arranged with different horizontal relative displacements
There must be every barrage information of different level relative displacement when presenting, allow users to visually feel every bullet
Curtain information presents from different distances, so that the depth visual impression different to user, further increases barrage information
Interest when presentation;Meanwhile target is shown that while the content display area of screen is shown, which is shown for content
Show that the corresponding at least one barrage information of content is shown with the nonoverlapping barrage viewing area in the content display area, avoids
Content interference is shown to the target of display when barrage information is presented, to effectively improve the viewing experience of user.
In one embodiment of the application, before carrying out the presentation of target display content and corresponding barrage information, the bullet
Curtain rendering method further include:
The effective display area of the screen is divided into the content display area and the barrage viewing area.
For example, the effective display area AA of the screen is as shown in Fig. 2, showing content and corresponding barrage information to target
Presentation before, the effective district AA of the screen is divided into content display area VA and barrage viewing area BA as shown in figure 3, i.e. AA
=VA+BA realizes the division to the effective display area of screen.The divided content display area VA and the barrage are shown
Area BA is mutually indepedent and is not overlapped, and can show that content is Chong Die with the presentation of barrage information to avoid target, not only can be to avoid aobvious
The barrage information shown shows the interference of the presentation of content to target, can also be while target display content is presented, and presenting should
Target shows the corresponding one or more barrage information of content;Certainly, in order to guarantee to show barrage information, the content is aobvious
Show that area VA should be less than the effective display area AA equal to the screen, with ensure barrage viewing area BA can have effective display area come into
The row target shows the display of the corresponding one or more barrage information of content, i.e. BA > 0.In one preferred embodiment of the application, if
The pixel quantity of the screen is 1920 × 1080, then region shared by entire 1920 × 1080 pixel is exactly the effective aobvious of the screen
Show area AA.
Then the opposite offset of level of every barrage information is respectively set in above-described embodiment of the application, the step S2
Amount, and the initial position of the left eye of barrage information and the initial position of right eye are determined based on horizontal relative displacement, it specifically includes:
The horizontal relative displacement and vertical initial positions of every barrage information is respectively set;
Determine that the left eye horizontal initial position of barrage information and right eye are horizontal based on the horizontal relative displacement of barrage information
Initial position;
According to the left eye horizontal initial position, right eye horizontal initial position and vertical initial positions of barrage information, bullet is determined
The initial position of the left eye of curtain information and the initial position of right eye.
For example, after at least one barrage information for obtaining target display content, first respectively to every barrage information x:
Corresponding horizontal relative displacement OffsetNum_x and vertical initial positions IniNum_y is arranged in Barrage_x, so that for same
For one barrage information, the left eye of the same barrage information and the vertical initial positions of right eye be it is identical, ensure that bullet
In same level when curtain information is shown on the screen, it is conducive to user and watches barrage information, bring good viewing to user
Experience;Then, when the left eye horizontal initial position if every barrage information x:Barrage_x setting is IniNum_x, then root
According to the corresponding horizontal relative displacement OffsetNum_x of barrage information x:Barrage_x and left eye horizontal initial position
IniNum_x calculates the right eye horizontal initial position of barrage information x:Barrage_x: IniNum_x+OffsetNum_x, thus
Obtain left eye horizontal initial position IniNum_x and right eye horizontal initial position: the IniNum_ of barrage information x:Barrage_x
x+OffsetNum_x;Later, according to left eye horizontal initial position IniNum_x, the right eye of the barrage information x:Barrage_x
Horizontal initial position IniNum_x+OffsetNum_x and vertical initial positions IniNum_y determines a left side of the barrage information x
The initial position (IniNum_x, IniNum_y) of eye and initial position (IniNum_x+OffsetNum_x, the IniNum_ of right eye
Y), to realize the initial of the left eye for showing every barrage information in the corresponding at least one barrage information of content to the target
The calculating and determination of the initial position of position and right eye;Finally, showing that the target is aobvious in the content display area VA of the screen
While showing content, which is shown that the corresponding at least one barrage information of content is corresponding described in left eye, right eye respectively
The barrage viewing area BA of screen, from the initial position (IniNum_x, IniNum_y) of the left eye of the barrage information and right eye
Initial position (IniNum_x+OffsetNum_x, IniNum_y) starts to carry out barrage presentation according to default moving parameter, thus
Realize the presentation that content and corresponding at least one barrage information are shown to target.
Further, it is aobvious to be respectively positioned on the barrage for the initial position of left eye and the initial position of right eye of the barrage information
Show area.For example, the initial position Barrage_x (left side) of the left eye of the barrage information x:Barrage_x: (IniNum_x,
IniNum_y) and the initial position Barrage_x (right side) (IniNum_x+OffsetNum_x, IniNum_y) of right eye is in barrage
In viewing area, as shown in Figure 4,5, wherein in Fig. 4 the moving direction of Barrage_x (left side) and Barrage_x (right side) be from a left side to
The right side, the moving direction of Barrage_x (left side) and Barrage_x (right side) are from top to bottom in Fig. 5.
Then above-described embodiment of the application, step S3 container in the content display area displaying target of screen is shown
Body includes:
Content, which is zoomed in and out to be adapted to the content display area of the screen, to be shown to target;
Target after the content display area of screen display scaling shows content.
For example, showing that content can be adapted to the content display area in screen to meet target, content is being shown to target
Before being presented, need to show that content is zoomed in and out to be adapted for showing that the content of content is shown in screen to the target
Area, and then guarantee that the target after scaling shows that content can just can be presented completely in the content display area of screen, without
It will appear target and show that content excessively reduces or excessively amplifies, to realize the content display area based on screen to show to target
Content carries out corresponding scaling to reach adaptation effect.
In a kind of practical application scene of barrage rendering method provided by the present application, as shown in Figure 6.
Video content display area VA is arranged in step S101.The effective display area AA of screen is as shown in Fig. 2, aobvious to target
Before the presentation for showing content and corresponding barrage information, video content display area VA is set, shows content for displaying target.
Dedicated barrage viewing area BA is arranged in step S102.The effective district AA of the screen is divided into content display area VA
With barrage viewing area BA as shown in figure 3, i.e. AA=VA+BA, realizes the division to the effective display area of screen.The division of screen
Including two kinds of situations, situation one: as shown in figure 4, including two sseparated small displays, the corresponding display screen of left eye, right eye
A corresponding display screen;Situation two: as shown in fig. 7, right and left eyes screen is the display screen of an entirety.The divided content
The viewing area VA and barrage viewing area BA is mutually indepedent and is not overlapped, and content and barrage information can be shown to avoid target is in
It is now overlapped, can not only show the interference of the presentation of content to target to avoid the barrage information of display, target can also be presented
While showing content, the target is presented and shows the corresponding one or more barrage information of content.
Step S103 shows that content reduces to target, it is made to be adapted to the video content display area VA of all settings.It is right
The display content is zoomed in and out to be adapted for showing the content display area of content in screen, and then guarantees the display after scaling
Content can just can be presented completely in the content display area of screen, without target show content excessively reduce or
Excessively amplification, to realize the content display area based on screen to show that content carries out corresponding scaling to reach suitable to target
With effect.
Step S104, normal play target shows content (for example, video etc.) in VA.User can choose oneself and want
The video seen plays out.
Step S105, judges whether there is and exits play instruction, if so, exiting playing flow;If it is not, thening follow the steps
S106.Play instruction is exited when user wants to exit out viewing video sending, and playback equipment exits play instruction for receive user
Afterwards, broadcasting is exited;Step S106 is gone successively to if user does not issue and exits play instruction.
Step S106 judges whether the target display screen is corresponding with new bullet when playing the target display content
Curtain message, if so, thening follow the steps S107;If it is not, then returning to step S104.It is new when occurring when playing the content of video
Barrage message after, execute step S107, the barrage message received is handled.Do not go out when playing video content
When now new barrage message, in video content display area domain, VA continues to play the content for the video that user is watching.
Step S107, horizontal relative displacement OffsetNum_x when setting barrage information x:Barrage_x is shown;If
The left eye horizontal initial position for setting the barrage information is IniNum_x;It is by the horizontal initial position of left eye of the barrage information
IniNum_x adds the horizontal relative displacement OffsetNum_x, obtains the right eye horizontal initial position of the barrage information:
IniNum_x+OffsetNum_x;Meanwhile the left eye of the barrage information and the vertical initial positions of right eye are consistent, i.e.,
IniNum_y.It is corresponding to every barrage information x setting respectively after there is new barrage message when playing the content of video
Horizontal relative displacement OffsetNum_x and vertical initial positions IniNum_y, so that for same barrage information, it should
The left eye of same barrage information and the vertical initial positions of right eye be it is identical, when ensure that barrage information is shown on the screen
In same level, it is conducive to user and watches barrage information, bring good viewing experience to user;Then, if every bullet
When the left eye horizontal initial position of curtain information x:Barrage_x setting is IniNum_x, then according to barrage information x:
Barrage_x corresponding horizontal relative displacement OffsetNum_x and left eye horizontal initial position IniNum_x calculates the barrage
The right eye horizontal initial position of information x: IniNum_x+OffsetNum_x, so that the left eye for obtaining barrage information x is horizontal just
Beginning position: IniNum_x and right eye horizontal initial position: IniNum_x+OffsetNum_x;Later, according to the barrage information x
Left eye horizontal initial position IniNum_x, right eye horizontal initial position IniNum_x+OffsetNum_x and vertical initial positions
IniNum_y determines the initial position of initial position (IniNum_x, the IniNum_y) and right eye of the left eye of the barrage information x
(IniNum_x+OffsetNum_x, IniNum_y) shows that corresponding at least one barrage of content is believed to the target to realize
The calculating and determination of the initial position of the initial position and right eye of the left eye of every barrage information in breath;Finally, in the screen
It is while the content display area VA of curtain shows that the target shows content (for example, content of the video), the video is corresponding
One or more barrage information shown respectively in the barrage viewing area BA of left eye, the corresponding screen of right eye, meanwhile,
The initial position of the left eye of every barrage information and the initial position of right eye are respectively positioned on the barrage viewing area BA, to ensure the bullet
Curtain information is shown in left eye and the corresponding barrage viewing area of right eye.
Step S108, allow the left and right screen content of the barrage information according to setting parameter preset (for example, movement speed and
Direction etc.) it is moved in BA.Here, the mobile parameter preset can include but is not limited to movement speed, moving direction and shifting
Dynamic rail mark, wherein movement speed includes rate travel and translational acceleration.It allows users to visually feel every barrage
Information presents from different distances, thus the depth visual impression different to user, further increasing barrage information is in
Current interest.The initial position Barrage_x (left side) of the left eye of barrage information x:Barrage_x: (IniNum_x,
IniNum_y) and the initial position Barrage_x (right side) (IniNum_x+OffsetNum_x, IniNum_y) of right eye is in barrage
In viewing area, when screen is an entire display screen, as shown in Figure 8,9, wherein Barrage_x (left side) and Barrage_x in Fig. 8
The moving direction on (right side) be from left to right, in Fig. 9 the moving direction of Barrage_x (left side) and Barrage_x (right side) on to
Under;When screen is two individual small displays, as shown in Figure 4,5, wherein Barrage_x (left side) and Barrage_x in Fig. 4
The moving direction on (right side) be from left to right, in Fig. 5 the moving direction of Barrage_x (left side) and Barrage_x (right side) on to
Under.After executing step S108, continue to return to step S104 normal play video in the VA of content display area.
Figure 10 shows a kind of structural schematic diagram of barrage display device according to the application one aspect, which can wrap
It includes with playing and viewing function is worn in product, so that this of the application wears product and realize that the barrage with depth feelings is believed
It ceases to improve the viewing experience of user.Here, this, which wears product, can use two small displays to meet left side when user watches
The viewing demand of eye display screen corresponding with right eye, and/or, this wears product can be using a big display screen, so that the use
The corresponding display screen of left eye and right eye at family is distributed in the screen in the big display screen and dividing equally the big display screen.The equipment packet
It includes: acquisition device 11, determining device 12 and display device 13, wherein specifically include:
The acquisition device 11 shows content and its corresponding at least one barrage information for obtaining target.Here, institute
State target show content can be include but is not limited to be video, picture, music, game and 3D scene etc.;The barrage information
It can include but is not limited to text information and pictorial information etc..
Determining device 12, for the horizontal relative displacement of every barrage information to be respectively set, and based on horizontal relatively inclined
Shifting amount determines the initial position of the left eye of barrage information and the initial position of right eye.Here, in at least one barrage information
The horizontal relative displacement of every barrage information can part bullet in the mutually different or at least one barrage information
The horizontal relative displacement of curtain information can be mutually different.Since the horizontal relative displacement of different barrage information is different, make
There must be every barrage information of different level relative displacement when presenting, user is allow visually to experience every bullet
Curtain information shows from different distances, so that the depth visual impression different to user, not only increases the viewing of user
Experience also adds interest when barrage information is presented.
Display device 13, for while the content display area displaying target of screen shows content, barrage information to be divided
Not in the barrage viewing area of left eye, the corresponding screen of right eye, from the initial position of the left eye of barrage information and the initial bit of right eye
It sets beginning and carries out barrage presentation according to default moving parameter.Here, the mobile parameter preset can include but is not limited to move
Speed, moving direction and motion track, wherein the movement speed includes rate travel and translational acceleration.The content is aobvious
Show that area and the barrage viewing area be not be overlapped, realizes while content display area is presented target to user and shows content,
Barrage viewing area is presented the target to user and shows the corresponding one or more barrage information of content, ensure that target shows content
Presentation with barrage information is not interfere with each other.
It is different by the way that different barrage information are arranged by above-mentioned acquisition device 11, determining device 12 and display device 13
Horizontal relative displacement so that with different level relative displacement every barrage information present when, allow users to
Visually feel that every barrage information presents from different distances, thus the depth visual impression different to user,
Further increase interest when barrage information is presented;Meanwhile target is shown that content is carried out in the content display area of screen
While display, by the target show the corresponding at least one barrage information of content with the nonoverlapping barrage in the content display area
Viewing area is shown, is avoided and is shown content interference to the target of display when barrage information is presented, to effectively improve
The viewing experience of user.
In one embodiment of the application, the barrage display device further include: dividing device is used for:
The effective display area of the screen is divided into the content display area and the barrage viewing area.
For example, the effective display area AA of the screen is as shown in Fig. 2, showing content and corresponding barrage information to target
Presentation before, the effective district AA of the screen is divided into content display area VA and barrage viewing area BA as shown in figure 3, i.e. AA
=VA+BA realizes the division to the effective display area of screen.The divided content display area VA and the barrage are shown
Area BA is mutually indepedent and is not overlapped, and can show that content is Chong Die with the presentation of barrage information to avoid target, not only can be to avoid aobvious
The barrage information shown shows the interference of the presentation of content to target, can also be while target display content is presented, and presenting should
Target shows the corresponding one or more barrage information of content;Certainly, in order to guarantee to show barrage information, the content is aobvious
Show that area VA should be less than the effective display area AA equal to the screen, with ensure barrage viewing area BA can have effective display area come into
The row target shows the display of the corresponding one or more barrage information of content, i.e. BA > 0.In one preferred embodiment of the application, if
The pixel quantity of the screen is 1920 × 1080, then region shared by entire 1920 × 1080 pixel is exactly the effective aobvious of the screen
Show area AA.
Then above-described embodiment of the application, the determining device 12 are specifically used for:
The horizontal relative displacement and vertical initial positions of every barrage information is respectively set;
Determine that the left eye horizontal initial position of barrage information and right eye are horizontal based on the horizontal relative displacement of barrage information
Initial position;
According to the left eye horizontal initial position, right eye horizontal initial position and vertical initial positions of barrage information, bullet is determined
The initial position of the left eye of curtain information and the initial position of right eye.
For example, after at least one barrage information for obtaining target display content, first respectively to every barrage information x:
Corresponding horizontal relative displacement OffsetNum_x and vertical initial positions IniNum_y is arranged in Barrage_x, so that for same
For one barrage information, the left eye of the same barrage information and the vertical initial positions of right eye be it is identical, ensure that bullet
In same level when curtain information is shown on the screen, it is conducive to user and watches barrage information, bring good viewing to user
Experience;Then, when the left eye horizontal initial position if every barrage information x:Barrage_x setting is IniNum_x, then root
According to the corresponding horizontal relative displacement OffsetNum_x of barrage information x:Barrage_x and left eye horizontal initial position
IniNum_x calculates the right eye horizontal initial position of barrage information x:Barrage_x: IniNum_x+OffsetNum_x, thus
Obtain left eye horizontal initial position IniNum_x and right eye horizontal initial position: the IniNum_ of barrage information x:Barrage_x
x+OffsetNum_x;Later, according to the left eye horizontal initial position IniNum_x of the barrage information x, the horizontal initial bit of right eye
IniNum_x+OffsetNum_x and vertical initial positions IniNum_y are set, determines the initial bit of the left eye of the barrage information x
The initial position (IniNum_x+OffsetNum_x, IniNum_y) for setting (IniNum_x, IniNum_y) and right eye, to realize
The initial position and right eye of the left eye of every barrage information in the corresponding at least one barrage information of content are shown to the target
Initial position calculating and determination;Finally, showing that the target shows the same of content in the content display area VA of the screen
When, show the corresponding at least one barrage information of content respectively in left eye, the barrage of the corresponding screen of right eye the target
Viewing area BA, from the initial position of initial position (IniNum_x, the IniNum_y) and right eye of the left eye of the barrage information
(IniNum_x+OffsetNum_x, IniNum_y) starts to carry out barrage presentation according to default moving parameter, to realize to mesh
The presentation of mark display content and corresponding at least one barrage information.
Further, it is aobvious to be respectively positioned on the barrage for the initial position of left eye and the initial position of right eye of the barrage information
Show area.For example, the initial position Barrage_x (left side) of the left eye of the barrage information x:Barrage_x: (IniNum_x,
IniNum_y) and the initial position Barrage_x (right side) (IniNum_x+OffsetNum_x, IniNum_y) of right eye is in barrage
In viewing area, as shown in Figure 4,5, wherein in Fig. 4 the moving direction of Barrage_x (left side) and Barrage_x (right side) be from a left side to
The right side, the moving direction of Barrage_x (left side) and Barrage_x (right side) are from top to bottom in Fig. 5.
Then above-described embodiment of the application, the display device 13 are specifically used for:
Content, which is zoomed in and out to be adapted to the content display area of the screen, to be shown to target;
Target after the content display area of screen display scaling shows content.
Here, what this function was realized by the chip being arranged in display device, the zoom function module of built-in chip type is general
It is all a functional module under chip display subsystem.The functional module can zoom in or out display content, real
The presentation of existing depth feelings barrage.Target after the content display area of screen display scaling shows content.Default moving parameter packet
Include movement speed, moving direction and motion track.
For example, showing that content can be adapted to the content display area in screen to meet target, content is being shown to target
Before being presented, need to show that content is zoomed in and out to be adapted for showing that the content of content is shown in screen to the target
Area, and then guarantee that the target after scaling shows that content can just can be presented completely in the content display area of screen, without
It will appear target and show that content excessively reduces or excessively amplifies, to realize the content display area based on screen to show to target
Content carries out corresponding scaling to reach adaptation effect.
In conclusion the application shows content and its corresponding at least one barrage information by obtaining target, and respectively
The horizontal relative displacement of every barrage information is set, the barrage information is determined based on the horizontal relative displacement
The initial position of left eye and the initial position of right eye;While the content display area of screen shows that the target shows content,
Since the initial position of left eye of the barrage information and the initial position of right eye, by the barrage information respectively left eye,
The barrage viewing area of the corresponding screen of right eye, from the initial position of the left eye of the barrage information and the initial position of right eye
Start to carry out barrage presentation according to default moving parameter.By the way that different barrage information are arranged with different horizontal relative displacements,
So that every barrage information with different level relative displacement allows users to visually feel every when presenting
Barrage information presents from different distances, so that the depth visual impression different to user, further increases barrage letter
Interest when breath is presented;Meanwhile target is shown into content while the content display area of screen is shown, by the target
The corresponding at least one barrage information of display content is shown with the nonoverlapping barrage viewing area in the content display area, is avoided
Content interference is shown to the target of display when barrage information is presented, to effectively improve the viewing experience of user.
It should be noted that the application can be carried out in the assembly of software and/or software and hardware, for example, can adopt
With specific integrated circuit (ASIC), general purpose computer or any other realized similar to hardware device.In one embodiment
In, the software program of the application can be executed to implement the above steps or functions by processor.Similarly, the application
Software program (including relevant data structure) can be stored in computer readable recording medium, for example, RAM memory,
Magnetic or optical driver or floppy disc and similar devices.In addition, hardware can be used to realize in some steps or function of the application, example
Such as, as the circuit cooperated with processor thereby executing each step or function.
In addition, a part of the application can be applied to computer program product, such as computer program instructions, when its quilt
When computer executes, by the operation of the computer, it can call or provide according to the present processes and/or technical solution.
And the program instruction of the present processes is called, it is possibly stored in fixed or moveable recording medium, and/or pass through
Broadcast or the data flow in other signal-bearing mediums and transmitted, and/or be stored according to described program instruction operation
In the working storage of computer equipment.Here, including a device according to one embodiment of the application, which includes using
Memory in storage computer program instructions and processor for executing program instructions, wherein when the computer program refers to
When enabling by processor execution, method and/or skill of the device operation based on aforementioned multiple embodiments according to the application are triggered
Art scheme.
It is obvious to a person skilled in the art that the application is not limited to the details of above-mentioned exemplary embodiment, Er Qie
In the case where without departing substantially from spirit herein or essential characteristic, the application can be realized in other specific forms.Therefore, no matter
From the point of view of which point, the present embodiments are to be considered as illustrative and not restrictive, and scope of the present application is by appended power
Benefit requires rather than above description limits, it is intended that all by what is fallen within the meaning and scope of the equivalent elements of the claims
Variation is included in the application.Any reference signs in the claims should not be construed as limiting the involved claims.This
Outside, it is clear that one word of " comprising " does not exclude other units or steps, and odd number is not excluded for plural number.That states in device claim is multiple
Unit or device can also be implemented through software or hardware by a unit or device.The first, the second equal words are used to table
Show title, and does not indicate any particular order.
Claims (12)
1. a kind of barrage rendering method, which is characterized in that the described method includes:
It obtains target and shows content and its corresponding at least one barrage information;
The horizontal relative displacement of every barrage information is respectively set, and based on described in the horizontal relative displacement determination
The initial position of the left eye of barrage information and the initial position of right eye;
While the content display area of screen shows that the target shows content, by the barrage information respectively in left eye, the right side
The barrage viewing area of the corresponding screen of eye, is opened from the initial position of left eye and the initial position of right eye of the barrage information
Begin to carry out barrage presentation according to default moving parameter;
Wherein, the content display area and the barrage viewing area are not overlapped.
2. according to the method described in claim 1, wherein, the horizontal relative displacement of every barrage information is respectively set,
And the initial position of left eye of the barrage information is determined based on the horizontal relative displacement and the initial position of right eye includes:
The horizontal relative displacement and vertical initial positions of every barrage information is respectively set;
The left eye horizontal initial position and right eye of the barrage information are determined based on the horizontal relative displacement of the barrage information
Horizontal initial position;
According to the left eye horizontal initial position, right eye horizontal initial position and vertical initial positions of the barrage information, institute is determined
State the initial position of the left eye of barrage information and the initial position of right eye.
3. according to the method described in claim 2, wherein, in the content display area in screen shows that the target is shown
Hold, comprising:
Content, which is zoomed in and out to be adapted to the content display area of the screen, to be shown to the target;
Target after the content display area of screen display scaling shows content.
4. according to the method in any one of claims 1 to 3, wherein the method also includes:
The effective display area of the screen is divided into the content display area and the barrage viewing area.
5. according to the method in any one of claims 1 to 3, wherein the initial position of the left eye of the barrage information and
The initial position of right eye is respectively positioned on the barrage viewing area.
6. according to the method in any one of claims 1 to 3, wherein the default moving parameter includes movement speed, moves
Dynamic direction and motion track.
7. a kind of equipment presented for barrage, wherein the equipment includes;
Acquisition device shows content and its corresponding at least one barrage information for obtaining target;
Determining device, for the horizontal relative displacement of every barrage information to be respectively set, and based on described horizontal opposite
Offset determines the initial position of the left eye of the barrage information and the initial position of right eye;
Display device will be described for while the content display area of the display device shows that the target shows content
Barrage information is respectively in the barrage viewing area of left eye, the corresponding screen of right eye, from the initial of the left eye of the barrage information
The initial position of position and right eye starts to carry out barrage presentation according to default moving parameter;Wherein, the content display area and institute
Barrage viewing area is stated not to be overlapped.
8. equipment according to claim 7, wherein the determining device is used for:
The horizontal relative displacement and vertical initial positions of every barrage information is respectively set;
The left eye horizontal initial position and right eye of the barrage information are determined based on the horizontal relative displacement of the barrage information
Horizontal initial position;
According to the left eye horizontal initial position, right eye horizontal initial position and vertical initial positions of the barrage information, institute is determined
State the initial position of the left eye of barrage information and the initial position of right eye.
9. equipment according to claim 8, wherein the display device is used for:
Content, which is zoomed in and out to be adapted to the content display area of the screen, to be shown to the target;
Target after the content display area of screen display scaling shows content.
10. the equipment according to any one of claim 7 to 8, wherein the equipment further include:
Dividing device, for the display device effective display area being divided into the content display area and the barrage is shown
Area.
11. equipment according to any one of claims 7 to 9, wherein the initial position of the left eye of the barrage information and
The initial position of right eye is respectively positioned on the barrage viewing area.
12. equipment according to any one of claims 7 to 9, wherein the default moving parameter include movement speed,
Moving direction and motion track.
Priority Applications (1)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
CN201910470175.1A CN110234033A (en) | 2019-05-31 | 2019-05-31 | A kind of barrage rendering method and equipment |
Applications Claiming Priority (1)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
CN201910470175.1A CN110234033A (en) | 2019-05-31 | 2019-05-31 | A kind of barrage rendering method and equipment |
Publications (1)
Publication Number | Publication Date |
---|---|
CN110234033A true CN110234033A (en) | 2019-09-13 |
Family
ID=67858302
Family Applications (1)
Application Number | Title | Priority Date | Filing Date |
---|---|---|---|
CN201910470175.1A Pending CN110234033A (en) | 2019-05-31 | 2019-05-31 | A kind of barrage rendering method and equipment |
Country Status (1)
Country | Link |
---|---|
CN (1) | CN110234033A (en) |
Citations (11)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN104935997A (en) * | 2015-06-01 | 2015-09-23 | 上海幻电信息科技有限公司 | Method and device for customizing high-level barrage for a viewer |
CN105357587A (en) * | 2015-10-28 | 2016-02-24 | 广州华多网络科技有限公司 | Method and system for realizing music barrage |
CN105812885A (en) * | 2016-03-11 | 2016-07-27 | 武汉斗鱼网络科技有限公司 | Bullet screen display method and system in live video |
CN106156237A (en) * | 2015-04-27 | 2016-11-23 | 北京智谷睿拓技术服务有限公司 | Information processing method, information processor and subscriber equipment |
CN106454485A (en) * | 2016-10-25 | 2017-02-22 | 华中科技大学 | Live commenting path allocating method for variable-speed live commenting |
CN106792087A (en) * | 2016-12-14 | 2017-05-31 | 上海青声网络科技有限公司 | The method and device that a kind of barrage shows |
CN107645684A (en) * | 2017-09-30 | 2018-01-30 | 咪咕动漫有限公司 | A kind of barrage adjusting method, device and storage medium |
CN108600852A (en) * | 2018-04-28 | 2018-09-28 | 北京酷我科技有限公司 | A kind of implementation method of barrage effect |
CN108989870A (en) * | 2017-06-02 | 2018-12-11 | 中国电信股份有限公司 | Control the method and system in barrage region |
CN109121015A (en) * | 2018-10-17 | 2019-01-01 | 武汉斗鱼网络科技有限公司 | A kind of method and relevant apparatus for converting barrage format |
US10708649B2 (en) * | 2015-04-22 | 2020-07-07 | Tencent Technology (Shenzhen) Company Limited | Method, apparatus and system for displaying bullet screen information |
-
2019
- 2019-05-31 CN CN201910470175.1A patent/CN110234033A/en active Pending
Patent Citations (11)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
US10708649B2 (en) * | 2015-04-22 | 2020-07-07 | Tencent Technology (Shenzhen) Company Limited | Method, apparatus and system for displaying bullet screen information |
CN106156237A (en) * | 2015-04-27 | 2016-11-23 | 北京智谷睿拓技术服务有限公司 | Information processing method, information processor and subscriber equipment |
CN104935997A (en) * | 2015-06-01 | 2015-09-23 | 上海幻电信息科技有限公司 | Method and device for customizing high-level barrage for a viewer |
CN105357587A (en) * | 2015-10-28 | 2016-02-24 | 广州华多网络科技有限公司 | Method and system for realizing music barrage |
CN105812885A (en) * | 2016-03-11 | 2016-07-27 | 武汉斗鱼网络科技有限公司 | Bullet screen display method and system in live video |
CN106454485A (en) * | 2016-10-25 | 2017-02-22 | 华中科技大学 | Live commenting path allocating method for variable-speed live commenting |
CN106792087A (en) * | 2016-12-14 | 2017-05-31 | 上海青声网络科技有限公司 | The method and device that a kind of barrage shows |
CN108989870A (en) * | 2017-06-02 | 2018-12-11 | 中国电信股份有限公司 | Control the method and system in barrage region |
CN107645684A (en) * | 2017-09-30 | 2018-01-30 | 咪咕动漫有限公司 | A kind of barrage adjusting method, device and storage medium |
CN108600852A (en) * | 2018-04-28 | 2018-09-28 | 北京酷我科技有限公司 | A kind of implementation method of barrage effect |
CN109121015A (en) * | 2018-10-17 | 2019-01-01 | 武汉斗鱼网络科技有限公司 | A kind of method and relevant apparatus for converting barrage format |
Similar Documents
Publication | Publication Date | Title |
---|---|---|
CN106331877B (en) | Barrage playback method and device | |
CN102905170B (en) | Screen popping method and system for video | |
EP3606082A1 (en) | Panoramic video playback method and client terminal | |
CN104469179B (en) | A kind of method being attached to dynamic picture in mobile video | |
CN101902582B (en) | Method and device for adding stereoscopic video subtitle | |
CN106792087A (en) | The method and device that a kind of barrage shows | |
JP6450064B2 (en) | Information processing apparatus, data structure of moving image data, information processing system, moving image reproducing program, and moving image reproducing method | |
JP2011244175A (en) | Electronic apparatus, video processing method and program | |
CN105959666A (en) | Method and device for sharing 3d image in virtual reality system | |
JP2006003871A (en) | Image frame processing method and device, rendering processor and moving image display method | |
WO2022062903A1 (en) | On-screen comment playing method, related device, and storage medium | |
US8619198B1 (en) | Adjusting frame rates for video applications | |
JP2014220723A (en) | Display controller, display control method and program | |
US11194391B2 (en) | Visual artifact mitigation of dynamic foveated displays | |
CN105430471B (en) | The display methods and device of barrage in a kind of video | |
CN109126131B (en) | Game picture display method, storage medium and terminal | |
US20180102082A1 (en) | Apparatus, system, and method for video creation, transmission and display to reduce latency and enhance video quality | |
US9247243B1 (en) | Interpolated video error concealment | |
JP2009110536A (en) | Image frame processing method and device, rendering processor and moving image display method | |
US11825170B2 (en) | Apparatus and associated methods for presentation of comments | |
KR20200001750A (en) | Apparaturs for playing vr video to improve quality of specific area | |
CN110234033A (en) | A kind of barrage rendering method and equipment | |
CN109104627B (en) | Focus background generation method, storage medium, device and system of android television | |
CN112653931B (en) | Control method and device for resource information playing, storage medium and electronic equipment | |
CN107330960A (en) | Generation, the method and device for playing image |
Legal Events
Date | Code | Title | Description |
---|---|---|---|
PB01 | Publication | ||
PB01 | Publication | ||
SE01 | Entry into force of request for substantive examination | ||
SE01 | Entry into force of request for substantive examination | ||
RJ01 | Rejection of invention patent application after publication |
Application publication date: 20190913 |
|
RJ01 | Rejection of invention patent application after publication |