CN107786905B - Video sharing method and device - Google Patents
Video sharing method and device Download PDFInfo
- Publication number
- CN107786905B CN107786905B CN201710995830.6A CN201710995830A CN107786905B CN 107786905 B CN107786905 B CN 107786905B CN 201710995830 A CN201710995830 A CN 201710995830A CN 107786905 B CN107786905 B CN 107786905B
- Authority
- CN
- China
- Prior art keywords
- bullet screen
- video
- sharing
- barrage
- image
- Prior art date
- Legal status (The legal status is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the status listed.)
- Active
Links
- 238000000034 method Methods 0.000 title claims abstract description 72
- 238000004590 computer program Methods 0.000 claims description 24
- 238000004891 communication Methods 0.000 claims description 15
- 238000010586 diagram Methods 0.000 description 7
- 230000001360 synchronised effect Effects 0.000 description 6
- 230000003287 optical effect Effects 0.000 description 3
- 238000005516 engineering process Methods 0.000 description 2
- 230000003993 interaction Effects 0.000 description 2
- 230000002093 peripheral effect Effects 0.000 description 2
- 230000003068 static effect Effects 0.000 description 2
- 241000699670 Mus sp. Species 0.000 description 1
- 230000010365 information processing Effects 0.000 description 1
- 239000004973 liquid crystal related substance Substances 0.000 description 1
- 230000001960 triggered effect Effects 0.000 description 1
Images
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/47—End-user applications
- H04N21/488—Data services, e.g. news ticker
- H04N21/4884—Data services, e.g. news ticker for displaying subtitles
-
- 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/4755—End-user interface for inputting end-user data, e.g. personal identification number [PIN], preference data for defining user preferences, e.g. favourite actors or genre
Landscapes
- Engineering & Computer Science (AREA)
- Multimedia (AREA)
- Signal Processing (AREA)
- Human Computer Interaction (AREA)
- Information Transfer Between Computers (AREA)
- Two-Way Televisions, Distribution Of Moving Picture Or The Like (AREA)
Abstract
The invention discloses a video sharing method, which comprises the following steps: determining a first bullet screen to be shared on an image frame according to a selection instruction of the bullet screen; hiding a second bullet screen except the first bullet screen; acquiring a shared image and video information of the image frame; wherein the sharing the image comprises: the currently displayed image frame and the first barrage remained to be displayed on the image frame; and sharing the shared image and the video information.
Description
Technical Field
The invention relates to an information processing technology in the field of communication, in particular to a method and a device for video sharing.
Background
With the development of internet technology, people's daily entertainment modes are becoming more and more abundant. The method for watching the movies or the television shows through the terminal is a common leisure and entertainment mode in the life of people. When watching a movie or a television play, people often communicate with other film viewers and exchange film watching feelings in a bullet screen sending mode. When a user watches videos or movies, when watching favorite video pictures or favorite video situations, the user often expects to share the video pictures or wonderful video clips to friends of the user, so that the friends of the user can enjoy the video pictures or the wonderful video clips.
However, in the prior art, when video sharing is performed, sharing of the barrage cannot be controlled. The users sharing the video can not mark several favorite barrages on the barrages. The user who receives the video also can't find in the barrage and share the several barrages that the user expects to share, it is thus clear that because of the particularity of video barrage, when carrying out video sharing or video picture sharing among the prior art, often can't share the barrage that the user likes together.
Disclosure of Invention
In order to solve the existing technical problem, embodiments of the present invention mainly provide a method and an apparatus for video sharing, which can solve the problem that specific barrages cannot be shared together during video sharing.
The technical scheme of the embodiment of the invention is realized as follows:
the embodiment of the invention provides a video sharing method, which comprises the following steps:
determining a first bullet screen to be shared on an image frame of a video display according to a selection instruction of the bullet screen;
hiding a second bullet screen except the first bullet screen;
acquiring a shared image and video information related to the image frame; wherein the sharing the image comprises: the method comprises the steps of displaying an image frame of a current video and reserving the first barrage displayed on the image frame;
and sharing the shared image and the video information.
In the above technical solution, the method further includes:
and entering a bullet screen selection interface according to the trigger instruction of the bullet screen, wherein the bullet screen selection interface is used for receiving selection operation of selecting the first bullet screen.
In the above technical solution, the method further includes:
marking the first bullet screen;
hide second bullet curtain outside the first bullet curtain includes:
hiding the unmarked second bullet screen.
In the technical proposal, the device comprises a base,
the marking of the first bullet screen comprises:
setting a bullet screen sharing identifier for the first bullet screen;
the method further comprises the following steps:
and sending the bullet screen sharing identification and the corresponding relation of the first bullet screen to a server.
The embodiment of the invention also provides a video sharing method, which is characterized by comprising the following steps:
receiving shared image and video information; wherein the sharing the image comprises: the method comprises the following steps of (1) image frames and a first bullet screen which is kept to be displayed on the image frames;
determining the playing progress of the image frames in the corresponding video according to the video information;
and starting to play the video from the playing progress.
In the technical proposal, the device comprises a base,
the video information includes: the barrage sharing identification of the first barrage and the link address of the video;
the determining the playing progress of the image frames in the corresponding video according to the video information includes:
sending the video information to a background server;
receiving the first barrage returned by the background server according to a barrage sharing identifier and the video returned according to the link address;
and playing the video according to the link address, and displaying the first barrage when the video plays the image frame.
The embodiment of the present invention further provides a video sharing end, where the video sharing end includes: the device comprises a determining module, a hiding module, an obtaining module and a sharing module; wherein,
the determining module is used for determining a first bullet screen to be shared on an image frame of the video display according to a selection instruction of the bullet screen;
the hiding module is used for hiding a second bullet screen except the first bullet screen;
the acquisition module is used for acquiring a shared image and video information related to the image frame; wherein the sharing the image comprises: the currently displayed image frame and the first barrage remained to be displayed on the image frame;
the sharing module is used for sharing the shared image and the video information.
In the above technical solution, the sharing end further includes: a control module and a bullet screen selection interface;
the control module is used for entering a selection interface of the bullet screen according to the trigger instruction of the bullet screen;
and the bullet screen selection interface is used for receiving the operation acted on the bullet screen and responding to the operation instruction for selecting the bullet screen generated according to the operation.
In the above technical solution, the sharing end further includes:
the marking module is used for marking the first bullet screen;
the hiding module is specifically used for hiding the second unmarked bullet screen.
In the technical proposal, the device comprises a base,
the marking module is further used for setting a bullet screen sharing identifier for the first bullet screen:
the sharing module is further used for sending the bullet screen sharing identification and the corresponding relation of the first bullet screen to a server.
The embodiment of the present invention further provides a receiving end for video sharing, where the receiving end includes: the device comprises a receiving module, a playing progress determining module and a playing module; wherein,
the receiving module is used for receiving the shared image and video information; wherein the sharing the image comprises: the method comprises the following steps of (1) image frames and a first bullet screen which is kept to be displayed on the image frames;
the playing progress determining module is used for determining the playing progress of the image frames in the corresponding video according to the video information;
and the playing module is used for starting to play the video from the playing progress.
In the above technical solution, the play progress determining module is further configured to send the video information to a background server; the video information includes: the barrage sharing identification of the first barrage and the link address of the video;
receiving the first barrage returned by the background server according to a barrage sharing identifier and the video returned according to the link address;
and playing the video according to the link address, and displaying the first barrage when the video plays the image frame.
The embodiment of the invention also provides a video sharing device,
a communication interface for communicating with other devices;
a memory for storing a computer program capable of running on the processor;
a processor, connected to the communication interface and the storage medium, respectively, for executing at least the steps of the method of claim:
determining a first bullet screen to be shared on an image frame of a video display according to a selection instruction of the bullet screen;
hiding a second bullet screen except the first bullet screen;
acquiring a shared image and video information related to the image frame; wherein the sharing the image comprises: the method comprises the steps of displaying an image frame of a current video and reserving the first barrage displayed on the image frame;
and sharing the shared image and the video information.
The embodiment of the present invention further provides a computer-readable storage medium, on which a computer program is stored, where the computer program is executed by a processor to implement the steps in the above technical solutions.
The embodiment of the invention also provides a video sharing device,
a communication interface for communicating with other devices;
a memory for storing a computer program capable of running on the processor;
a processor, connected to the communication interface and the storage medium, respectively, for executing at least the following method steps by the computer program:
receiving shared image and video information; wherein the sharing the image comprises: the method comprises the following steps of (1) image frames and a first bullet screen which is kept to be displayed on the image frames;
determining the playing progress of the image frames in the corresponding video according to the video information;
and starting to play the video from the playing progress.
Embodiments of the present invention also provide a computer-readable storage medium, on which a computer program is stored, which, when being executed by a processor, performs the steps of the method described above.
According to the video sharing method, the sharing end and the receiving end provided by the embodiment of the invention, when video sharing is carried out, the second barrage except the first barrage to be shared can be hidden, and only the first barrage to be shared selected by a user is displayed on the image frame of the currently played video display. When video sharing is carried out, the current image frame and the displayed first barrage are shared to the receiving end together. The receiving end can find the playing progress of the image frames in the shared pictures in the corresponding video according to the received shared images and the video information related to the shared images, and then the video is played at the found playing progress, and the video can show the shared first bullet screen in the playing process. Therefore, the aim of flexibly sharing the video and the barrage of the video can be fulfilled.
Drawings
Fig. 1 is a schematic basic flow chart of a video sharing method of a sharing end according to an embodiment of the present invention;
FIG. 2 is a schematic diagram of a video playback interface according to an embodiment of the present invention;
FIG. 3 is a diagram illustrating a bullet screen selection interface in an embodiment of the present invention;
FIG. 4 is a schematic diagram of a video sharing interface according to an embodiment of the present disclosure;
fig. 5 is a schematic basic flow chart of a video sharing method at a receiving end according to an embodiment of the present invention;
fig. 6 is a schematic flowchart illustrating a video sharing method according to an embodiment of the present invention;
fig. 7 is a schematic diagram illustrating a basic structure of a sharing end for video sharing according to an embodiment of the present invention;
fig. 8 is a schematic diagram of a basic structure of a receiving end for video sharing according to an embodiment of the present invention;
fig. 9 is a schematic structural diagram of a video sharing apparatus according to an embodiment of the present invention;
fig. 10 is a schematic structural diagram of another video sharing apparatus according to an embodiment of the present invention.
Detailed Description
When a user finds some video pictures or video clips worth sharing in the movie or video during watching the movie or the television play, not only the video clip or the video picture is preferred, but also several bullet screens which are preferred by the user or similar to the user's intention may be found in the video clip or the video picture. Therefore, when video sharing is performed, it is often desired to share a favorite barrage with a video.
The embodiment of the invention provides a video sharing scheme, when a user account shares a certain video with other user accounts through a playing address link, after receiving equipment of other user accounts detects that a user clicks the link, the video is downloaded from the link and played, and the user can watch the video and all barrages in the video. However, in the process of watching the video, a plurality of barrages may be published for the video by different user accounts, which results in that a user who receives the video cannot find the barrages which the sharing user desires to share in the barrages when watching the video.
The embodiment of the invention provides a sharing scheme of a video screenshot, wherein a sharing end can display a selected bullet screen according to selection operation of the bullet screen during screenshot, and then the bullet screen is intercepted together in the screenshot process. However, this is problematic in that, when there are many bullet screens, on one side, the dense bullet screen may cover the bullet screen shared by the sharing end; on the other hand, the user at the receiving end cannot mark the favorite bullet screens on the bullet screens.
It can be seen that due to the particularity of the video barrage, the two schemes often cannot share the favorite barrage of the user when video sharing or video picture sharing is performed.
In addition, when a video is shared, only the whole video can be shared, and after the receiving end receives the video, the content which the sharing end wants to share can be watched only by manually adjusting the position where the sharing end expects to share according to the playing progress of the video clip given by the sharing end in the video.
The embodiment of the invention provides a video sharing method, wherein in the process of playing a video, when a video clip, a picture or a bullet screen needing to be shared is played, a sharing end can determine the bullet screen to be shared on an image frame according to a received selection instruction of the bullet screen, simultaneously pause playing the video and hide other bullet screens except the bullet screen to be shared. And acquiring the image frame corresponding to the current playing progress and the sharing image of the bullet screen to be shared, and sharing the sharing image. When the image is shared, the sharing end shares the video information related to the image frame together. Furthermore, the receiving end receiving the shared image can obtain the shared bullet screen and the shared image frame, and can find the playing progress of the corresponding video according to the video information of the image frame, and play the video at the playing progress.
So that the manner in which the features and aspects of the present invention can be understood in detail, a more particular description of the invention, briefly summarized above, may be had by reference to embodiments, some of which are illustrated in the appended drawings.
Fig. 1 is a basic flowchart of video sharing provided in an embodiment of the present invention, and as shown in fig. 1, the method mainly includes the following steps:
103, acquiring a shared image and video information related to the image frame; wherein the sharing the image comprises: the currently displayed image frame and the first barrage remained to be displayed on the image frame;
and step 104, sharing the shared image and the video information.
The selection instruction of the bullet screen can be an instruction which is generated according to specific operation and indicates the bullet screen to be shared. The specific operation may be a touch operation, a click operation, or the like.
The first bullet screen can be a bullet screen needing sharing; the second barrage can be a barrage that does not need to be shared.
The video information may include: the method comprises the following steps of playing video information related to the playing progress of the video, the link address of the video, the name of the video and the like, and bullet screen sharing identification or mark of the first bullet screen.
The playing progress can indicate the played part and/or the unplayed part of the video in the sharing end device.
The link address of the video may be a storage address of the video, such as a Uniform Resource Locator (URL) of the video.
The bullet screen can be generated according to user feedback information input by a watching user when watching a video, and the user can be overlaid and displayed on the image frame when playing the video subsequently and moves according to a certain track. For example, the bullet screen may directly include the content of the user feedback information. However, the bullet screen is information which is set by the service platform and can be dynamically displayed in the first client according to a preset strategy. The bullet screen can include characters bullet screen and picture bullet screen. The text bullet screen comprises information in a text format; the picture bullet screen comprises a picture bullet screen. The picture bullet screen can comprise characters and images.
Before the step 101, the method further includes: and entering a bullet screen selection interface according to the trigger instruction of the bullet screen, wherein the bullet screen selection interface is used for receiving the operation acted on the bullet screen and responding to the operation instruction for selecting the bullet screen generated according to the operation.
The bullet screen triggering instruction can be an instruction which is generated by the sharing end according to specified operation and can trigger the bullet screen selection interface. The specified operation can be a gesture operation, such as a sliding gesture operation, a long-press operation and the like; the method may also be a click operation on a specific key on the video playing interface of the sharing end, for example, a "barrage selection" virtual key for triggering a barrage adjustment interface is arranged on the video playing interface of the video player of the sharing end. As shown in fig. 2, the user may generate a bullet screen selection instruction by clicking a virtual key of "bullet screen selection" to enter a bullet screen selection interface.
It should be noted that, besides the foregoing several ways, the bullet screen selection instruction may be generated, and according to corresponding requirements, different gesture operations may be flexibly set as operations for generating the bullet screen selection instruction, for example, a double-click operation may be bound to the "bullet screen selection instruction", and then the sharing end may generate the bullet screen selection instruction according to the double-click operation in the designated area, and then enter the bullet screen selection interface.
The bullet screen selection interface can be independent of the video playing interface. And when the sharing end enters the bullet screen selection interface according to the trigger instruction of the bullet screen, the bullet screen in the video is still normally played in the bullet screen selection interface. When the bullet screen selection interface receives the operation instruction, the video content being played in the video playing interface can not be influenced. For example, when the bullet screen selection interface receives a click operation for selecting one bullet screen in the bullet screen selection interface, the click operation does not affect the currently playing video, such as pausing the currently playing video. The video playing interface may be an interface capable of operating playing of a video, for example, when an instruction of a user acting on the video playing interface is detected, playing of the video is paused, resumed or terminated, and the like.
In step 101, the selection instruction according to the bullet screen may be a selection instruction of the bullet screen generated according to an operation on the bullet screen received by the bullet screen selection interface. The operation acting on the bullet screen may be an operation of selecting the bullet screen, for example, a click operation, a long-press operation, or the like on the bullet screen to be shared. The operation applied to the bullet screen may also be an operation of canceling the selection, for example, a click operation or a long-press operation is performed on the bullet screen that has already been selected, so as to cancel the selection of the bullet screen.
After the step 101, the method further comprises: and marking the first bullet screen.
The marking of the first bullet screen may be: and adding an easily-identified mark on the first bullet screen. When first bullet curtain is many bullet curtains, the mark that adds can be the same, also can set up different marks according to different bullet curtains.
The marking of the first bullet screen may further comprise:
and adding identification positions and the like for the corresponding barrages in the storage equipment of the sharing end so as to distinguish the first barrage from the second barrage.
Correspondingly, in step 102, hiding the second bullet screen other than the first bullet screen may include: hiding the unmarked second bullet screen.
The hidden unmarked second bullet screen comprises:
and shielding the display of the second bullet screen which is not marked, namely not displaying the second bullet screen which is not marked.
Further, the marking the first bullet screen comprises: and setting a bullet screen sharing identification for the first bullet screen. Correspondingly, the method further comprises the following steps: and sending the bullet screen sharing identification and the corresponding relation of the first bullet screen to a server.
Specifically, after a user triggers a bullet screen selection instruction through a specific operation, the sharing end can determine a bullet screen needing to be shared according to the selection instruction of the bullet screen, namely, determine a first bullet screen to be shared on an image frame. The sharing end can add an easily-identified mark on the selected first bullet screen, and then can hide the second bullet screen for adding the mark according to the identification of the mark, so that only the selected bullet screen is displayed on the display interface of the current video playing. The sharing end can also add a bullet screen sharing identifier for the selected first bullet screen, and upload the corresponding relation between the first bullet screen and the added bullet screen sharing identifier to a background server for video playing. The receiving end of the video can share the corresponding relation of the identification according to the first barrage and the barrage sent by the server, and only displays the first barrage in the played video when the corresponding video is displayed.
The bullet screen sharing identification can be used for marking a first bullet screen and a second bullet screen, and the bullet screen sharing identification can also be used for distinguishing different first bullet screens. For example, the barrage sharing identifier is a barrage sharing serial number. Different barrage sharing sequence numbers correspond to different first barrages.
In step 103, the obtaining of the shared image and the video information of the image frame may include: capturing the image frame hiding the second bullet screen to obtain a shared image needing to be shared; and generating video information of the image frame according to the playing progress of the current video and related information such as the name, the address and the like of the video.
It should be noted that, in order to facilitate the user to share the image frames and to facilitate the screenshot of the specified image frame in the video, after the sharing end receives the selection instruction of the bullet screen, the sharing end may pause the video currently being played when responding to the selection instruction, so as to facilitate the screenshot tool to capture the current image frame, so as to obtain the image frame only including the selected bullet screen.
For example, in fig. 3, the sharing end enters the bullet screen selection interface according to the operation of clicking the "bullet screen selection" button. The area surrounded by the white line frame in fig. 3 is the bullet screen selection interface. And the bullet screen selection interface receives the operation of clicking the bullet screen, triggers a bullet screen selection instruction and further selects the bullet screen c. And hiding other barrages except the barrage c in the barrage selection interface by the sharing end of the video, and pausing the video at the video playing progress of 00:00: 08. In this case, the sharing end of the video may capture the paused video through the capture tool to capture the "00: 00:08 "image frame at playing time. The image frame at this time carries a bullet screen, namely the selected bullet screen c. Thus, the sharing image to be shared can be obtained.
And after the shared image and the video information of the image frame are obtained, the shared image and the video information related to the image frame are shared to a receiving end.
For example, when image sharing is performed, the video sharing terminal may display a video sharing interface as shown in fig. 4 to inquire whether to share the currently obtained image frame. When receiving the operation of "yes" acting on the area, the sharing end may send the background server for playing the video through the sharing picture determined in step 103, so as to share the shared image frame and the video information to the receiving end of the image frame through the background server.
In the embodiment of the present invention, a basic flow of a video sharing method received by a receiving end is shown in fig. 5. The method mainly comprises the following steps:
and 503, starting to play the video from the playing progress.
The receiving end receives the shared image and the video information, and the first barrage in the shared image can be a barrage shared by the video sharing end.
The video information may include: the method comprises the following steps of playing video information related to the playing progress of the video, the link address of the video, the name of the video and the like, and a bullet screen sharing identifier of a first bullet screen. The video information can be carried in a shared image and received by a receiving end together.
The determining the playing progress of the image frames in the corresponding video according to the video information includes: sending the video information to a background server; receiving the first barrage returned by the background server according to a barrage sharing identifier and the video returned according to the link address; and playing the video according to the link address, and displaying the first barrage when the video plays the image frame.
And the receiving end receives the operation of clicking the shared image, sends a video request to a background server and sends video information to the background server. The server finds a corresponding video according to a link address of the video in the video information, determines a first bullet screen in the video according to a bullet screen sharing identifier in the video information and a corresponding relation between the bullet screen sharing identifier sent by a sharing end and the first bullet screen, and then returns the found corresponding video and the first bullet screen to a receiving end. And the receiving end finds the playing progress of the image frames in the shared image in the video according to the playing progress of the video in the video information, and then the receiving end can play the video at the corresponding playing progress.
The barrage sharing identifier can be a serial number which is used for distinguishing different barrages and is set by the first barrage for sharing. The server can find the first bullet screen according to the corresponding relation between the bullet screen sharing identification and the first bullet screen, and returns the first bullet screen to the receiving end.
After receiving the shared image, the receiving end can enter an operation interface for playing the video according to the operation of clicking the shared image. The background server of the receiving end can search the shared video according to the video name in the video information or the link address of the video, and then the receiving end can skip to play the video according to the playing progress of the video carried in the shared image, and display the bullet screen corresponding to the bullet screen sharing identification in the playing process.
It should be noted that the server may find the first bullet screen according to the correspondence between the bullet screen sharing identifier and the first bullet screen, hide the second bullet screen other than the first bullet screen by the server, and send only the video with the first bullet screen to the receiving end; the method comprises the steps that a first bullet screen can be found according to the corresponding relation between bullet screen sharing identification and the first bullet screen, obvious marks are added to the first bullet screen, and the marked first bullet screen and an unmarked second bullet screen are returned to a receiving end. The receiving end can hide the bullet screen that does not have the mark.
A specific flowchart of the video sharing method provided in the embodiment of the present invention is shown in fig. 6, and mainly includes the following steps:
601, enabling a video sharing end to enter a bullet screen selection interface according to a bullet screen triggering instruction;
the bullet screen selection interface can be independent of the video playing interface. And when the sharing end enters the bullet screen selection interface according to the trigger instruction of the bullet screen, the bullet screen in the video is still normally played in the bullet screen selection interface. When the bullet screen selection interface receives the operation instruction, the video content being played in the video playing interface can not be influenced.
and the bullet screen selection interface receives the operation acting on the bullet screen and generates a selection instruction of the bullet screen. The operation acting on the bullet screen may be an operation of selecting the bullet screen, for example, a click operation, a long-press operation, or the like on the bullet screen to be shared. First bullet curtain can be for needing to carry out the bullet curtain shared.
the sharing end can hide the bullet screen which does not carry the bullet screen sharing identification according to the bullet screen sharing identification in the bullet screen, and the bullet screen sharing identification reaches the corresponding relation of the first bullet screen is sent to the server.
The sharing end can also mark the first bullet screen, and then hide the unmarked bullet screen.
the image frame of the current video display is intercepted by the sharing end, a sharing image can be obtained, and a first bullet screen is displayed on the sharing image. Meanwhile, the sharing end acquires related video information, and the video information may include: the method comprises the following steps of playing video information related to the playing progress of the video, the address of the video, the name of the video and the like, and a bullet screen sharing identifier of a first bullet screen.
605, sharing the shared image and the video information by the sharing end;
and the sharing terminal shares the acquired sharing image and video information to the receiving terminal.
the receiving end receives a shared image and video information shared by the sharing end, wherein the shared image comprises: the method comprises an image frame and a first bullet screen which is displayed on the image frame in a reserved mode.
In step 607, the receiving end displays the corresponding video with the first barrage at the playing progress of the shared video according to the operation of clicking the shared image.
And when the receiving end receives the operation of clicking the shared image, sending the video information to a background server. The background server can search the shared video according to the link address in the video information, and determine the first bullet screen according to the corresponding relation between the bullet screen sharing identification sent by the receiving end and the bullet screen. And then the receiving end receives the corresponding video with the first barrage, skips and plays the video according to the playing progress of the video carried in the shared image, and displays the first barrage corresponding to the barrage sharing identification in the playing process.
According to the video sharing method provided by the embodiment of the invention, when a user watches a video by using video playing software and sees a favorite video clip, picture or bullet screen, the user can pause the video by clicking or long-pressing the favorite bullet screen, shield other bullet screens except the selected bullet screen, capture the video picture corresponding to the current playing progress and the bullet screen selected by the user, and further share the captured picture. The shared picture can contain the bullet screen and the corresponding video progress, so that a user receiving the picture can see the bullet screen and the video picture shared by the user, and can start video playing software by clicking the picture, so that the video playing software can search the video and play the video according to the video name and the video playing progress carried in the picture. Therefore, the aim of flexibly sharing videos and barrages of the videos can be achieved.
An embodiment of the present invention further provides a video sharing end, where a basic structure of the sharing end 700 is shown in fig. 7, and the video sharing end includes: a determining module 701, a hiding module 702, an obtaining module 703 and a sharing module 704; wherein,
the determining module 701 is configured to determine a first bullet screen to be shared on an image frame according to a selection instruction of the bullet screen;
the hiding module 702 is configured to hide a second bullet screen other than the first bullet screen;
the obtaining module 703 is configured to obtain a shared image and video information of the image frame; wherein the sharing the image comprises: the currently displayed image frame and the first barrage remained to be displayed on the image frame;
the sharing module 704 is configured to share the shared image and the video information.
Further, the sharing end 700 further includes: a control module 705 and a bullet screen selection interface 706;
the control module 705 is configured to enter a selection interface of a bullet screen according to a trigger instruction of the bullet screen;
the bullet screen selecting interface 706 is configured to receive an operation applied to a bullet screen, and respond to an operation instruction for selecting the bullet screen generated according to the operation.
Further, the sharing end further includes:
a marking module 707, configured to mark the first bullet screen;
the hiding module 702 is further configured to hide the second bullet screen that is not marked.
Further, the marking module 707 is further configured to set a bullet screen sharing identifier for the first bullet screen:
the sharing module 704 is further configured to send the bullet screen sharing identifier and the corresponding relationship between the first bullet screen to a server.
The embodiment of the present invention further provides a receiving end 800 for video sharing, where a basic structure of the receiving end 800 is as shown in fig. 8, and the receiving end includes a receiving module 801, a playing progress determining module 802, and a playing module 803; wherein,
the receiving module 801 is configured to receive shared image and video information; wherein the sharing the image comprises: the method comprises the following steps of (1) image frames and a first bullet screen which is kept to be displayed on the image frames;
the playing progress determining module 802 is configured to determine, according to the video information, a playing progress of the image frame in a corresponding video;
the playing module 803 is configured to start playing the video from the playing progress.
Further, the playing progress determining module 802 is further configured to send the video information to a background server; the video information includes: the barrage sharing identification of the first barrage and the link address of the video; receiving the first barrage returned by the background server according to a barrage sharing identifier and the video returned according to the link address; and playing the video according to the link address, and displaying the first barrage when the video plays the image frame.
An embodiment of the present invention further provides a video sharing device 900, where a structure of the video sharing device 900 is shown in fig. 9, and the video sharing device 900 includes:
a communication interface 901 for communicating with other devices;
a memory 902 for storing a computer program capable of running on the processor;
a processor 903, connected to the communication interface and the storage medium respectively, for executing at least the following method steps by the computer program:
determining a first bullet screen to be shared on an image frame of a video display according to a selection instruction of the bullet screen; hiding a second bullet screen except the first bullet screen; acquiring a shared image and video information related to the image frame; wherein the sharing the image comprises: the method comprises the steps of displaying an image frame of a current video and reserving the first barrage displayed on the image frame; and sharing the shared image and the video information.
The video sharing apparatus 900 further includes: a multimedia component 904, coupled to the processor 903, includes a screen provided as an output interface between the video sharing device 900 and the user.
An embodiment of the present invention further provides a computer-readable storage medium, on which a computer program is stored, where the computer program, when executed by a processor, implements the following method steps:
determining a first bullet screen to be shared on an image frame of a video display according to a selection instruction of the bullet screen; hiding a second bullet screen except the first bullet screen; acquiring a shared image and video information related to the image frame; wherein the sharing the image comprises: the method comprises the steps of displaying an image frame of a current video and reserving the first barrage displayed on the image frame; and sharing the shared image and the video information.
The computer program, when executed by the processor, further performs:
and entering a bullet screen selection interface according to the trigger instruction of the bullet screen, wherein the bullet screen selection interface is used for receiving selection operation of selecting the first bullet screen.
The computer program, when executed by the processor, further performs:
marking the first bullet screen; hide second bullet curtain outside the first bullet curtain includes: hiding the unmarked second bullet screen.
The computer program, when executed by the processor, further performs:
the marking of the first bullet screen comprises: setting a bullet screen sharing identifier for the first bullet screen;
and sending the bullet screen sharing identification and the corresponding relation of the first bullet screen to a server.
An embodiment of the present invention further provides a video sharing device 1000, where a structure of the video sharing device 1000 is shown in fig. 10, and the video sharing device includes:
a communication interface 1001 for communicating with other devices;
a memory 1002 for storing a computer program capable of running on the processor;
a processor 1003, connected to the communication interface and the storage medium, respectively, and configured to perform at least the following method steps by the computer program:
receiving shared image and video information; wherein the sharing the image comprises: the method comprises the following steps of (1) image frames and a first bullet screen which is kept to be displayed on the image frames; determining the playing progress of the image frames in the corresponding video according to the video information; and starting to play the video from the playing progress.
The video sharing apparatus 1000 further includes: the multimedia component 1004, connected to the processor 1003, includes a screen provided as an output interface between the video sharing apparatus 1000 and the user.
An embodiment of the present invention further provides a computer-readable storage medium, on which a computer program is stored, where the computer program, when executed by a processor, implements the following method steps:
receiving shared image and video information; wherein the sharing the image comprises: the method comprises the following steps of (1) image frames and a first bullet screen which is kept to be displayed on the image frames; determining the playing progress of the image frames in the corresponding video according to the video information; and starting to play the video from the playing progress.
The computer program, when executed by the processor, further performs:
the barrage sharing identification of the first barrage and the link address of the video; sending the video information to a background server; receiving the first barrage returned by the background server according to a barrage sharing identifier and the video returned according to the link address; and playing the video according to the link address, and displaying the first barrage when the video plays the image frame.
It will be appreciated that the processor 903 and the processor 1003 may be an integrated circuit chip having signal processing capabilities. In implementation, the steps of the above method may be performed by integrated logic circuits of hardware or instructions in the form of software in the processor 903 and the processor 1003. The Processor 903 and the Processor 1003 may be general-purpose processors, Digital Signal Processors (DSPs), or other programmable logic devices, discrete gate or transistor logic devices, discrete hardware components, or the like. The processor 903 and the processor 1003 may implement or execute the methods, steps and logic blocks disclosed in the embodiments of the present invention. A general purpose processor may be a microprocessor or any conventional processor or the like. The steps of the method disclosed by the embodiment of the invention can be directly implemented by a hardware decoding processor, or can be implemented by combining hardware and software modules in the decoding processor. The software modules may be located in a storage medium located in both the memory 902 and the memory 1002, with the processor 903 reading the information in the memory 902 and the processor 1003 reading the information in the memory 1002, in combination with its hardware, to perform the steps of the method described above.
The memory 902 and the memory 1002 may be either volatile memory or nonvolatile memory, and may also include both volatile and nonvolatile memory. Among them, the nonvolatile Memory may be a Read Only Memory (ROM), a Programmable Read Only Memory (PROM), an Erasable Programmable Read Only Memory (EPROM), an Electrically Erasable Programmable Read Only Memory (EEPROM), a magnetic random access Memory (FRAM), a Flash Memory (Flash Memory), a magnetic surface Memory, an optical Disc, or a Compact Disc Read Only Memory (CD-ROM); the magnetic surface storage may be disk storage or tape storage. Volatile Memory can be Random Access Memory (RAM), which acts as external cache Memory. By way of illustration and not limitation, many forms of RAM are available, such as Static Random Access Memory (SRAM), Synchronous Static Random Access Memory (SSRAM), Dynamic Random Access Memory (DRAM), Synchronous Dynamic Random Access Memory (SDRAM), Double Data Rate Synchronous Dynamic Random Access Memory (DDRSDRAM), Enhanced Synchronous Dynamic Random Access Memory (Enhanced Synchronous Dynamic Random Access Memory, ESRAM), Synchronous linked Dynamic Random Access Memory (Sync Dynamic Random Access RAM), Direct Memory Random Access Memory (DRDRM). The depicted memory 902 and memory 1002 for embodiments of the present invention are intended to comprise, without being limited to, these and any other suitable types of memory.
The multimedia component 904 includes a screen provided as an output interface between the video sharing device 900 and the user. The multimedia component 1004 includes a screen provided as an output interface between the video sharing device 1000 and the user. In some embodiments, the screen may include a Liquid Crystal Display (LCD) and a Touch Panel (TP). If the screen includes a touch panel, the screen may be implemented by a touch screen to receive an input signal from a user. The touch panel includes one or more touch sensors to sense touches, swipes, and gestures on the touch panel. The touch sensor can not only sense the boundary of the touch or slide operation but also detect the duration and pressure associated with the touch or slide operation. In some embodiments, the multimedia component 904 and the multimedia component 1004 may each include a front facing camera and/or a rear facing camera. When the video sharing apparatus 900 or the video sharing apparatus 1000 is in an operation mode, such as a shooting mode or a video mode, the front camera and/or the rear camera may receive external multimedia data. Each front or rear camera may be a fixed optical lens system, or have a focal length and optical zoom capability.
The above description is only a preferred embodiment of the present invention, and is not intended to limit the scope of the present invention.
Claims (16)
1. A method of video sharing, the method comprising:
under the condition that a video clip, a picture or a barrage needing to be shared is played, determining a first barrage to be shared on an image frame of a video display according to a selection instruction of the barrage;
hiding a second bullet screen except the first bullet screen;
acquiring a shared image and video information related to the image frame; wherein the sharing the image comprises: the method comprises the steps of displaying an image frame of a current video and reserving the first barrage displayed on the image frame;
sharing the shared image and the video information;
the video information includes: the barrage sharing identification of the first barrage and the link address of the video;
finding a first bullet screen according to the corresponding relation between the bullet screen sharing identification and the first bullet screen, and returning the first bullet screen to a receiving end;
the selection instruction of the bullet screen comprises the following steps: a sliding gesture operation, a long-time pressing operation, a double-click operation or a clicking operation of a specific key on a video playing interface.
2. The method of claim 1, further comprising:
and entering a bullet screen selection interface according to the trigger instruction of the bullet screen, wherein the bullet screen selection interface is used for receiving selection operation of selecting the first bullet screen.
3. The method of claim 1, further comprising:
marking the first bullet screen;
hide second bullet curtain outside the first bullet curtain includes:
hiding the unmarked second bullet screen.
4. The method of claim 3,
the marking of the first bullet screen comprises:
setting a bullet screen sharing identifier for the first bullet screen;
the method further comprises the following steps:
and sending the bullet screen sharing identification and the corresponding relation of the first bullet screen to a server.
5. A method of video sharing, the method comprising:
receiving shared image and video information; wherein the sharing the image comprises: under the condition that a video clip, a picture or a barrage needing sharing is played, according to a selection instruction of the barrage, an image frame displayed by a current video and a first barrage displayed on the image frame are reserved;
determining the playing progress of the image frames in the corresponding video according to the video information;
starting to play the video from the playing progress;
wherein the video information comprises: the barrage sharing identification of the first barrage and the link address of the video;
finding a first bullet screen according to the corresponding relation between the bullet screen sharing identification and the first bullet screen;
the selection instruction of the bullet screen comprises the following steps: a sliding gesture operation, a long-time pressing operation, a double-click operation or a clicking operation of a specific key on a video playing interface.
6. The method of claim 5,
the determining the playing progress of the image frames in the corresponding video according to the video information includes:
sending the video information to a background server;
receiving the first barrage returned by the background server according to a barrage sharing identifier and the video returned according to the link address;
and playing the video according to the link address, and displaying the first barrage when the video plays the image frame.
7. A sharing end for video sharing, the sharing end comprising: the device comprises a determining module, a hiding module, an obtaining module and a sharing module; wherein,
the determining module is used for determining a first bullet screen to be shared on an image frame of a video display according to a selection instruction of the bullet screen under the condition that a video clip, a picture or the bullet screen needing to be shared is played;
the hiding module is used for hiding a second bullet screen except the first bullet screen;
the acquisition module is used for acquiring a shared image and video information related to the image frame; wherein the sharing the image comprises: the currently displayed image frame and the first barrage remained to be displayed on the image frame;
the sharing module is used for sharing the shared image and the video information;
the video information includes: the barrage sharing identification of the first barrage and the link address of the video;
finding a first bullet screen according to the corresponding relation between the bullet screen sharing identification and the first bullet screen;
the selection instruction of the bullet screen comprises the following steps: a sliding gesture operation, a long-time pressing operation, a double-click operation or a clicking operation of a specific key on a video playing interface.
8. The sharing peer of claim 7, further comprising: a control module and a bullet screen selection interface;
the control module is used for entering a selection interface of the bullet screen according to the trigger instruction of the bullet screen;
and the bullet screen selection interface is used for receiving the operation acted on the bullet screen and responding to the operation instruction for selecting the bullet screen generated according to the operation.
9. The sharing peer of claim 7, further comprising:
the marking module is used for marking the first bullet screen;
the hiding module is specifically used for hiding the second unmarked bullet screen.
10. The sharing endpoint of claim 9,
the marking module is further used for setting a bullet screen sharing identifier for the first bullet screen:
the sharing module is further used for sending the bullet screen sharing identification and the corresponding relation of the first bullet screen to a server.
11. A receiving end for video sharing, the receiving end comprising: the device comprises a receiving module, a playing progress determining module and a playing module; wherein,
the receiving module is used for receiving the shared image and video information; wherein the sharing the image comprises: under the condition that a video clip, a picture or a barrage which needs to be shared is played, an image frame of a current video display determined according to a selection instruction of the barrage and a first barrage displayed on the image frame are reserved;
the playing progress determining module is used for determining the playing progress of the image frames in the corresponding video according to the video information;
the playing module is used for starting to play the video from the playing progress;
wherein the video information comprises: the barrage sharing identification of the first barrage and the link address of the video;
finding a first bullet screen according to the corresponding relation between the bullet screen sharing identification and the first bullet screen, and returning the first bullet screen to a receiving end;
the selection instruction of the bullet screen comprises the following steps: a sliding gesture operation, a long-time pressing operation, a double-click operation or a clicking operation of a specific key on a video playing interface.
12. The receiving end according to claim 11, wherein the playing progress determining module is further configured to send the video information to a background server;
receiving the first barrage returned by the background server according to a barrage sharing identifier and the video returned according to the link address;
and playing the video according to the link address, and displaying the first barrage when the video plays the image frame.
13. A video sharing apparatus, characterized in that,
a communication interface for communicating with other devices;
a memory for storing a computer program capable of running on the processor;
a processor, connected to the communication interface and the storage medium, respectively, for executing at least the steps of the method of any one of claims 1 to 4 by means of the computer program.
14. A computer-readable storage medium, on which a computer program is stored which, when being executed by a processor, carries out the steps of the method of any one of claims 1 to 4.
15. A video sharing apparatus, characterized in that,
a communication interface for communicating with other devices;
a memory for storing a computer program capable of running on the processor;
a processor, connected to the communication interface and the storage medium, respectively, for executing at least the steps of the method of any one of claims 5 to 6 by means of the computer program.
16. A computer-readable storage medium, on which a computer program is stored which, when being executed by a processor, carries out the steps of the method of any one of claims 5 to 6.
Priority Applications (1)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
CN201710995830.6A CN107786905B (en) | 2017-10-23 | 2017-10-23 | Video sharing method and device |
Applications Claiming Priority (1)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
CN201710995830.6A CN107786905B (en) | 2017-10-23 | 2017-10-23 | Video sharing method and device |
Publications (2)
Publication Number | Publication Date |
---|---|
CN107786905A CN107786905A (en) | 2018-03-09 |
CN107786905B true CN107786905B (en) | 2020-06-26 |
Family
ID=61434825
Family Applications (1)
Application Number | Title | Priority Date | Filing Date |
---|---|---|---|
CN201710995830.6A Active CN107786905B (en) | 2017-10-23 | 2017-10-23 | Video sharing method and device |
Country Status (1)
Country | Link |
---|---|
CN (1) | CN107786905B (en) |
Families Citing this family (6)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN110691281B (en) | 2018-07-04 | 2022-04-01 | 北京字节跳动网络技术有限公司 | Video playing processing method, terminal device, server and storage medium |
CN109547835B (en) * | 2018-11-26 | 2022-11-29 | 北京字节跳动网络技术有限公司 | Video playing method and device |
CN113163230B (en) * | 2020-01-22 | 2023-09-15 | 腾讯科技(深圳)有限公司 | Video message generation method and device, electronic equipment and storage medium |
CN111405344B (en) * | 2020-03-18 | 2022-01-07 | 腾讯科技(深圳)有限公司 | Bullet screen processing method and device |
CN112165646B (en) * | 2020-09-28 | 2022-02-18 | 腾讯科技(深圳)有限公司 | Video sharing method and device based on barrage message and computer equipment |
CN115086742B (en) * | 2022-06-13 | 2024-05-14 | 北京达佳互联信息技术有限公司 | Audio and video generation method and device |
Citations (3)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN105898522A (en) * | 2016-05-11 | 2016-08-24 | 乐视控股(北京)有限公司 | Method, device and system for processing barrage information |
CN105979382A (en) * | 2016-06-01 | 2016-09-28 | 乐视控股(北京)有限公司 | Method and device for sharing video through capturing image |
CN105979288A (en) * | 2016-06-17 | 2016-09-28 | 乐视控股(北京)有限公司 | Video interception method and device |
Family Cites Families (3)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN105898600A (en) * | 2015-12-10 | 2016-08-24 | 乐视网信息技术(北京)股份有限公司 | Processing method of bullet screen data and terminal equipment |
JP6310109B2 (en) * | 2016-03-31 | 2018-04-11 | 株式会社インフォシティ | Broadcast service retransmission system and portable terminal for viewing |
CN106604132B (en) * | 2016-12-09 | 2019-05-17 | 武汉斗鱼网络科技有限公司 | The method and device of Extracting Information in a kind of live streaming |
-
2017
- 2017-10-23 CN CN201710995830.6A patent/CN107786905B/en active Active
Patent Citations (3)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN105898522A (en) * | 2016-05-11 | 2016-08-24 | 乐视控股(北京)有限公司 | Method, device and system for processing barrage information |
CN105979382A (en) * | 2016-06-01 | 2016-09-28 | 乐视控股(北京)有限公司 | Method and device for sharing video through capturing image |
CN105979288A (en) * | 2016-06-17 | 2016-09-28 | 乐视控股(北京)有限公司 | Video interception method and device |
Also Published As
Publication number | Publication date |
---|---|
CN107786905A (en) | 2018-03-09 |
Similar Documents
Publication | Publication Date | Title |
---|---|---|
CN107786905B (en) | Video sharing method and device | |
US11109117B2 (en) | Unobtrusively enhancing video content with extrinsic data | |
CN108024079B (en) | Screen recording method, device, terminal and storage medium | |
WO2020007009A1 (en) | Method and apparatus for determining background music of video, terminal device and storage medium | |
US10020025B2 (en) | Methods and systems for customizing immersive media content | |
CN107979772B (en) | Method and apparatus for providing personalized user functionality in collaboration with shared and personal devices | |
CN107592577B (en) | Method and system for displaying bullet screen information, mobile terminal and smart television | |
US11545188B2 (en) | Video processing method, video playing method, devices and storage medium | |
CN107509116A (en) | A kind of information-pushing method, device and storage medium | |
CN106604147A (en) | Video processing method and apparatus | |
CN107682650A (en) | A kind of image processing method and device and storage medium | |
CA3001480C (en) | Video-production system with dve feature | |
CN109511010B (en) | Video processing method, video processing device, electronic device, and storage medium | |
CN112511779B (en) | Video data processing method and device, computer storage medium and electronic equipment | |
CN115379105A (en) | Video shooting method and device, electronic equipment and storage medium | |
WO2024153191A1 (en) | Video generation method and apparatus, electronic device, and medium | |
CN114666648B (en) | Video playing method and electronic equipment | |
CN112188269B (en) | Video playing method and device and video generating method and device | |
CN116489438A (en) | Display device and mirror image screen-throwing data display method | |
CN114205666B (en) | Video image processing method, device, terminal and storage medium | |
CN115174812B (en) | Video generation method, video generation device and electronic equipment | |
CN114979746B (en) | Video processing method, device, equipment and storage medium | |
CN113569066B (en) | Multimedia display method, device, electronic equipment, server and storage medium | |
CN117608459A (en) | Screenshot method, screenshot device, screenshot equipment and screenshot medium | |
CN118675217A (en) | Electronic device and attendee attention analysis method thereof |
Legal Events
Date | Code | Title | Description |
---|---|---|---|
PB01 | Publication | ||
PB01 | Publication | ||
SE01 | Entry into force of request for substantive examination | ||
SE01 | Entry into force of request for substantive examination | ||
GR01 | Patent grant | ||
GR01 | Patent grant |