CN106470147B - Video sharing method and device and video playing method and device - Google Patents
Video sharing method and device and video playing method and device Download PDFInfo
- Publication number
- CN106470147B CN106470147B CN201510507128.1A CN201510507128A CN106470147B CN 106470147 B CN106470147 B CN 106470147B CN 201510507128 A CN201510507128 A CN 201510507128A CN 106470147 B CN106470147 B CN 106470147B
- Authority
- CN
- China
- Prior art keywords
- remark
- content
- video data
- playing
- remark content
- 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 55
- 230000000007 visual effect Effects 0.000 claims description 47
- 230000009471 action Effects 0.000 claims description 17
- 230000007613 environmental effect Effects 0.000 claims description 5
- 238000004590 computer program Methods 0.000 claims description 3
- 238000010586 diagram Methods 0.000 description 7
- 230000003993 interaction Effects 0.000 description 7
- 230000000694 effects Effects 0.000 description 5
- 230000006870 function Effects 0.000 description 4
- 230000003068 static effect Effects 0.000 description 4
- 230000006855 networking Effects 0.000 description 3
- 238000013481 data capture Methods 0.000 description 2
- 230000003287 optical effect Effects 0.000 description 2
- 230000008569 process Effects 0.000 description 2
- 238000012546 transfer Methods 0.000 description 2
- 230000001960 triggered effect Effects 0.000 description 2
- 230000008859 change Effects 0.000 description 1
- 239000003086 colorant Substances 0.000 description 1
- 238000004891 communication Methods 0.000 description 1
- 239000004973 liquid crystal related substance Substances 0.000 description 1
- 238000012986 modification Methods 0.000 description 1
- 230000004048 modification Effects 0.000 description 1
- 238000012545 processing Methods 0.000 description 1
Images
Landscapes
- Information Transfer Between Computers (AREA)
Abstract
The invention relates to a video sharing method and device and a video playing method and device, wherein the video sharing method comprises the following steps: acquiring video data; acquiring a remark triggering position corresponding to the playing progress of the video data; acquiring remark content corresponding to the remark trigger position; the video data, the remark triggering position and the remark content are shared to a terminal of a network social contact person through a social application, so that the remark content is displayed on a playing picture of the video data or played in a voice mode when the video data is played to the remark triggering position by the terminal. According to the video sharing method and device and the video playing method and device, the user can transmit the information attached to the video in a remark mode, and the remark trigger position is accurately combined with the playing progress of the video so as to be combined with the specific content of the video, so that the information can be transmitted more effectively.
Description
Technical Field
The invention relates to the technical field of video processing, in particular to a video sharing method and device and a video playing method and device.
Background
The social application is an application based on a social network, and a user can establish a social relationship with strangers or acquaintances through the social application to become a network social contact person, so that the user can directly send messages to the network social contact person and directly communicate and interact with the network social contact person. The user can also share interesting videos through a content sharing page of the social application, so that the network social contact person having a network social relationship with the user can watch the videos shared by the user when accessing the content sharing page, and asynchronous interaction between the user and the network social contact person can be realized.
However, the video usually includes a large number of frames, and the amount of information carried by the video is large, for example, the duration of a movie is usually more than 90 minutes, so that after a user shares the video with a social networking contact person, the social networking contact person has difficulty in knowing, from the large number of frames of the video, an idea to be conveyed by the user who shares the video, and effective transfer of information is difficult to achieve.
Disclosure of Invention
Based on this, it is necessary to provide a video sharing method and apparatus, and a video playing method and apparatus, for solving the technical problem that it is difficult to realize effective transfer of information by sharing videos through social applications at present.
A method of video sharing, the method comprising:
acquiring video data;
acquiring a remark triggering position corresponding to the playing progress of the video data;
acquiring remark content corresponding to the remark trigger position;
the video data, the remark triggering position and the remark content are shared to a terminal of a network social contact person through a social application, so that the remark content is displayed on a playing picture of the video data or played in a voice mode when the video data is played to the remark triggering position by the terminal.
A video sharing apparatus, the apparatus comprising:
the video data acquisition module is used for acquiring video data;
the first acquisition module is used for acquiring a remark triggering position corresponding to the playing progress of the video data;
the second acquisition module is used for acquiring the remark content corresponding to the remark trigger position;
the sharing module is used for sharing the video data, the remark triggering position and the remark content to a terminal of a network social contact person through a social application, so that the terminal displays the remark content on a playing picture of the video data or plays the remark content in a sound mode when the video data is played to the remark triggering position.
According to the video sharing method and device, the video data are obtained, and the remark triggering position and the remark content corresponding to the video data are obtained. Therefore, when the video data, the remark triggering position and the remark content are shared to the terminal of the network social contact person, the terminal can play the remark content when the playing progress of the video data reaches the remark triggering position. Therefore, the user can transmit the information attached to the video in a remark mode, and the remark trigger position is accurately combined with the playing progress of the video so as to be combined with the specific content of the video, so that the information can be transmitted more effectively.
A video playback method, the method comprising:
acquiring video data shared by network social contacts through a social application and corresponding remark triggering positions and remark contents;
playing the video data in a content sharing page of the social application;
if the playing progress of the video data reaches the remark triggering position, the video data is played
And displaying the remark content on a playing picture of the video data or playing the remark content in a sound mode.
A video playback device, the device comprising:
the acquisition module is used for acquiring video data shared by network social contacts through a social application and corresponding remark triggering positions and remark contents;
the video data playing module is used for playing the video data in a content sharing page of the social application;
and the remark content output module is used for displaying the remark content on a playing picture of the video data or playing the remark content in a sound mode if the playing progress of the video data reaches the remark triggering position.
According to the video playing method and device, the social network contact person shares the video data and the corresponding remark triggering position and remark content through the social application, and when the video data is played in the content sharing page of the social application, the remark content can be played when the playing progress of the video data reaches the remark triggering position. Therefore, the social network contact person can transmit information attached to the video in a remark mode, and the remark trigger position is accurately combined with the playing progress of the video so as to be combined with the specific content of the video, so that the information can be transmitted more effectively.
Drawings
FIG. 1 is a diagram of an application environment of a social network based video interaction system in one embodiment;
FIG. 2 is an internal block diagram of a terminal in one embodiment;
FIG. 3 is a flowchart illustrating a video sharing method according to an embodiment;
fig. 4 is a schematic flowchart illustrating a video sharing method according to another embodiment;
FIG. 5 is one of the content sharing pages of a social application in one embodiment;
FIG. 6 is a schematic diagram of a video data capture page for a social application in one embodiment;
FIG. 7 is one of the video remarks pages of the social application in one embodiment;
FIG. 8 is a second video remarks page for a social application in one embodiment;
FIG. 9 is a third video remarks page of the social application in one embodiment;
FIG. 10 is a flowchart illustrating steps for locally outputting remark content in one embodiment;
FIG. 11 is a second content sharing page of the social application in one embodiment;
FIG. 12 is a third content sharing page of a social application, under an embodiment;
FIG. 13 is a fourth content sharing page of the social application, under an embodiment;
FIG. 14 is a fifth content sharing page of a social application, under an embodiment;
FIG. 15 is a flowchart illustrating steps of a user performing a video annotation editing operation in an application scenario;
FIG. 16 is a flowchart illustrating a video playback method according to an embodiment;
FIG. 17 is a block diagram of a video sharing apparatus according to an embodiment;
fig. 18 is a block diagram of a video playback device according to an embodiment.
Detailed Description
As shown in fig. 1, in one embodiment, a social network-based video interaction system is provided, which includes at least two terminals 102 (e.g., a terminal 102a and a terminal 102b in fig. 1) and a server 104, wherein the terminals 102 are connected to the server 104 through a network. The terminal 102 may be a desktop computer, or may be a mobile terminal, and the mobile terminal includes at least one of a mobile phone, a tablet computer, and a PDA (personal digital assistant). The server 104 may be an independent physical server or a server cluster including a plurality of physical servers.
As shown in fig. 2, in one embodiment, the terminal 102 includes a processor, a non-volatile storage medium, an internal memory, a network interface, a display screen, an input device, and an image collector connected by a system bus. Wherein the processor has a computing function and a function of controlling the operation of the terminal 102, and is configured to execute a video sharing method and/or a video playing method. The nonvolatile storage medium comprises at least one of a magnetic storage medium, an optical storage medium and a flash memory type storage medium, and the nonvolatile storage medium stores an operating system and also stores a video sharing device and/or a video playing device. The video sharing device is used for realizing a video sharing method, and the video playing device is used for realizing a video playing method. The network interface is for connecting to a network for communication with the server 104. The display screen comprises at least one of a liquid crystal display screen, a flexible display screen and an electronic ink display screen. The input device comprises at least one of a physical button, a track ball, a touch pad and a touch layer overlapped with the display screen, wherein the touch layer and the display screen are combined to form the touch screen. The image collector is used for collecting real-time images.
As shown in fig. 3, in an embodiment, a video sharing method is provided, and this embodiment is exemplified by applying the method to the terminal 102a in the social network based video interaction system in fig. 1. The method specifically comprises the following steps:
In particular, the mobile terminal 102a may obtain video data through a social application. The social application may be a standalone application running on the mobile terminal 102a, or may be a web application or a light application accessed through an application having a web browsing function. An application having a web browsing function therein, such as a web browser.
A social application refers to an application that can provide a user with a real-time or asynchronous social network-based way of information interaction. Real-time information interaction modes such as instant messaging and asynchronous information interaction modes such as content sharing. The video data may be in a variety of video formats, including: at least one of AVI, RMVB, 3GP, MKV, MPEG, MPG, DAT, and MP 4.
And step 304, acquiring a remark triggering position corresponding to the playing progress of the video data.
Specifically, the terminal 102a may provide a memo trigger position input box corresponding to the video data through the social application, and acquire information input in the memo trigger position input box as a memo trigger position.
The remark triggering position is a position for triggering presentation of the corresponding remark content. The remark trigger position corresponds to the playing progress of the video data, which means that the remark trigger position can be positioned to the progress of the video data, and specifically can be positioned to a specific one or more video frames.
The remark trigger position may be represented as a time length from a play start point of the video data to the remark trigger position, or may be represented as a ratio of the time length from the play start point of the video data to the remark trigger position to a total play time of the video data.
In one embodiment, the remark trigger position may also be represented as a sequence number of a play time section into which the video data is divided according to a preset time length. Specifically, the video data may be divided into a plurality of playing time segments according to a preset time length and assigned with sequence numbers, for example, a playing time segment is divided every 2 seconds, the sequence numbers are numbered from 0, and if the remark trigger position is 2, the playing time segment of 4 seconds to 6 seconds from the playing start point of the video data is represented.
And step 306, obtaining the remark content corresponding to the remark trigger position.
The remark content refers to information attached to video data generated by the user. In one embodiment, the remark content includes at least one of a visual element and audio data. Wherein the visual elements include at least one of graphical indicia, text, and icons. The visual element refers to an element that can be observed by human eyes, and the graphic mark is a mark made in a playing picture of video data with graphics. The icons include static icons, such as static emoticons, and dynamic icons, such as emoticons.
Specifically, the terminal 102a may provide a remark content input box corresponding to the remark trigger position, acquire a text input in the remark content input box as the remark content corresponding to the remark trigger position, or acquire an icon identifier input in the remark content input box to acquire an icon corresponding to the icon identifier as the remark content corresponding to the remark trigger position.
In one embodiment, the terminal 102a may provide an audio data acquisition control corresponding to the remark triggering position, and when an operation on the audio data acquisition control is detected, the audio data acquisition control triggers the acquisition of the audio data corresponding to the remark triggering position. The audio data may be formed by collecting ambient sounds in real time or may be selected from a file directory. Thus, the remark triggering position can be used for limiting the display duration of the remark content.
And 308, sharing the video data, the remark triggering position and the remark content to a terminal of the social network contact person through the social application, so that the terminal displays the remark content on a playing picture of the video data or plays the remark content in a voice mode when the terminal plays the video data to the remark triggering position.
Specifically, a network social contact refers to a user who has a social relationship with the user of the terminal 102a based on a social network, such as a friend relationship, a colleague relationship, a classmate relationship, or a group membership relationship.
The terminal 102a uploads the video data and the remark triggering position and the remark content corresponding to the video data to the server 104 through the social application, so that the server 104 sends the video data and the remark triggering position and the remark content corresponding to the video data to the terminal 102b automatically or when receiving a pull request of the terminal 102 b. Terminal 102b is a terminal of a network social contact having a social relationship based on a social network with a user of terminal 102 a.
After receiving the video data, the terminal 102b may automatically or under the trigger of the user play the video data in the content sharing page of the terminal 102 b. When the playing progress of the video data reaches the remark triggering position, the terminal 102b displays the remark content corresponding to the remark triggering position on the playing picture of the video data, and specifically displays the remark content of the visual element corresponding to the remark triggering position on the playing picture of the video data. Or, when the playing progress of playing the video data reaches the remark trigger position, the terminal 102b plays the remark content corresponding to the remark trigger position in a sound form, and specifically plays the remark content of the audio data corresponding to the remark trigger position in a sound form.
According to the video sharing method, the video data are obtained, and the remark triggering position and the remark content corresponding to the video data are obtained. Therefore, when the video data, the remark triggering position and the remark content are shared to the terminal of the network social contact person, the terminal can play the remark content when the playing progress of the video data reaches the remark triggering position. Therefore, the user can transmit the information attached to the video in a remark mode, and the remark trigger position is accurately combined with the playing progress of the video so as to be combined with the specific content of the video, so that the information can be transmitted more effectively.
As shown in fig. 4, in one embodiment, a video sharing method includes the following steps:
at step 402, video data is obtained.
In one embodiment, step 402 includes: and acquiring a video recording instruction, and acquiring an image according to the video recording instruction to form video data. Specifically, the mobile terminal 102a may provide a video recording trigger control through a social application, and when an operation on the video recording trigger control is detected, a video recording instruction is triggered. The operation may be at least one of clicking, double clicking, long pressing, and sliding along a preset trajectory, for example. The mobile terminal 102a may call a system camera application to capture an image through an image collector to form video data according to the video recording instruction.
For example, the mobile terminal 102a may display a content sharing page as shown in fig. 5 through a social application, and detect an operation of a content publishing control in the content sharing page to display a publishing toolbar 502, where a video publishing control 503 is displayed in the publishing toolbar 502. The mobile terminal 102a may detect operation of the video posting control 503 to enter a video data acquisition page as shown in fig. 6. The mobile terminal 102a may detect an operation of the video recording trigger control 601 in the video data acquisition page, and trigger a video recording instruction, so as to acquire an image according to the video recording instruction to form video data. The mobile terminal 102a may present the captured image in real-time in the preview area 602 of the video data capture page.
In one embodiment, step 402 includes: and acquiring a video data selection instruction, and selecting and acquiring video data from the local file directory according to the video data selection instruction. Specifically, the mobile terminal 102a may provide a video data selection trigger control, such as the video data selection trigger control 603 in the video data acquisition page in fig. 6, through the social application, and trigger the video data selection instruction when detecting an operation on the video data selection trigger control. The operation may be at least one of clicking, double clicking, long pressing, and sliding along a preset trajectory, for example.
Specifically, referring to fig. 6, after detecting the operation of the memo trigger control 604 in the video data acquisition page, the terminal 102a triggers entering into the video memo page as shown in fig. 7. The playing time axis corresponds to the playing progress of the video data and can be used for controlling the playing progress of the video data. Referring specifically to the play time axis 701 in the video note page in fig. 7, the play time axis 701 has a time scale bar 701a and a play time mark 701b, the time scale bar 701a has a play start point scale 701a1 and a play end point scale 701a2, the play time mark 701b is movable along the time scale bar 701a, and the play time mark 701b is used for marking the current play progress of the video data. The playing time axis in fig. 7 is a straight line segment, and in other embodiments, the playing time axis may also be a curved line segment or a broken line segment, and the accuracy of the curved line segment or the broken line segment may be increased. The play timeline may also be displayed as a straight line segment by default and change to a curved or broken line segment when operated.
In step 406, the action point acting on the play timeline is detected.
Specifically, when the terminal 102a has a touch screen, the action point acting on the play time axis may be a touch point acting on the play time axis. When the input device of the terminal 102a is a mouse, the terminal 102a may set a click point of the cursor of the mouse on the playback time axis as an action point acting on the playback time axis. The terminal 102a may also acquire a direction instruction to move the position of the action point on the playback time axis 701, thereby detecting the action point whose position has been moved. The play time stamp 701b is displayed at the action point after the action point is detected, and the position of the action point may be determined according to the position of the play time stamp 701 b.
And step 408, acquiring a remark triggering position according to the position of the action point relative to the playing time axis.
Specifically, after detecting an action point acting on the playback time axis 701, the terminal 102a acquires the memo trigger position according to the position of the detected action point relative to the playback time axis 701.
In one embodiment, when the time scale bar 701a of the play time axis 701 is a straight line segment, the terminal 102a may obtain the remark trigger position by multiplying the total play time length of the video data by the ratio of the length of the action point relative to the play start point scale 701a1 to the total length of the play start point scale 701a1 and the play end point scale 701a 2.
In an embodiment, when the time scale bar 701a of the play time axis 701 is a curve segment, the remark trigger position may also be obtained by a ratio of a curve length of the action point relative to the play start point scale 701a1 to a total curve length of the play start point scale 701a1 and the play end point scale 701a2, and then multiplying the total play time length of the video data.
The steps 404 to 408 are specific steps of the step 304.
And step 410, obtaining the remark content corresponding to the remark trigger position.
In an embodiment, after step 402, the terminal 102a may obtain a remark mode selection instruction, so as to select a corresponding remark mode according to the remark mode selection instruction, and obtain the remark content corresponding to the remark trigger position according to the selected remark mode. The remark mode comprises a graphic mark remark mode, a text remark mode and a recording remark mode. The figure mark remark mode comprises a circle drawing remark mode, wherein the circle drawing remark mode is a remark mode for marking in an image by utilizing a closed figure, the closed figure is circular, elliptical and polygonal, and the polygonal comprises triangle, rectangle, pentagon and the like. The circled image mark can be selected from vivid colors, such as red, and the color of the circled image mark can be automatically adapted according to the color of the playing picture.
Specifically, referring to fig. 7, the terminal 102a provides a remark mode selection control 702 in the video remark page, and detects an operation on the remark mode selection control 702 to determine a corresponding remark mode. When the remark manner is a circle drawing remark manner, the terminal 102a detects an operation on a play picture of the video data to generate a circle drawing mark.
Referring to fig. 8, when the memo mode is the text memo mode, the terminal 102a determines a text input area by detecting an operation on the play screen of the video data, thereby acquiring a text input in the text input area as memo content. Referring to fig. 9, when the memo mode is the recording memo mode, the terminal 102a acquires memo content of the audio data by collecting the environmental sound.
In an embodiment, the terminal 102a may show the correspondence between the memo trigger position and the memo content in the video memo page, and may also show the correspondence between the memo trigger position, the memo mode, and the memo content.
Specifically, the output means displaying or playing in the form of sound, and the remark content output configuration information is configuration information for configuring how to display the remark content or how to play the remark content in the form of sound. Step 412 may be performed before step 410.
In one embodiment, when the memo content includes a visual element, the memo content output configuration information includes a display position of the visual element in a play screen of the video data. The display position may be represented as a coordinate in a coordinate axis of a playing picture of the video data, or may be represented as a distance between two adjacent sides of the playing picture of the video data. When the remark method is the circle drawing remark method, the terminal 102a detects an operation on the play screen of the video data to generate a circle drawing mark, and acquires the position of the operation as the display position of the circle drawing mark. When the remark mode is the text remark mode, the terminal 102a detects an operation on a playing picture of the video data to determine a text input area, determines a display position of remark content of the text according to the position of the operation, and acquires the text input in the text input area as the remark content.
In one embodiment, the memo content output configuration information may further include a memo content output time length that defines an elapsed time since the memo content was displayed on the play screen or since being played in the form of sound. When the remark content comprises a visual element, the visual element displays the time of the output time length of the remark content in the playing picture; when the memo content includes audio data, the audio data is played for the length of time that the memo content is output.
Specifically, the terminal 102a uploads the video data and the memo trigger position, the memo content and the memo content output configuration information corresponding to the video data to the server 104 through the social application, so that the server 104 sends the video data and the memo trigger position, the memo content and the memo content output configuration information corresponding to the video data to the terminal 102b automatically or when receiving a pull request of the terminal 102 b. Terminal 102b is a terminal of a network social contact having a social relationship based on a social network with a user of terminal 102 a.
The terminal 102b plays the video data, and displays the visual elements on the play screen of the video data according to the display positions of the visual elements included in the remark content output configuration information. And controlling the display duration of the visual elements included in the remark content or controlling the playing duration of the audio data included in the remark content according to the output time length of the remark content included in the remark content output configuration information.
In this embodiment, the remark trigger position can be accurately acquired by playing the time axis, so that accurate control of the remark trigger position can be realized. And the output mode of the remark content can be controlled through the remark content output configuration information, so that the output form of the remark content is diversified. And by controlling the display position of the remark content, the remark content can be deeply combined with the content of the video data, and information can be more effectively transmitted.
As shown in fig. 10, in an embodiment, the video sharing method further includes a step of locally outputting the remark content, and specifically includes the following steps:
Specifically, after the user publishes the video, the user can view the shared video data in the content sharing page. The terminal 102a may automatically or when detecting a playing instruction for the video data, play the video data in the content sharing page of the social application. Referring to the content sharing page shown in fig. 11, the content shared by the user is displayed in the content sharing page, and when the user clicks the shared video data, the terminal 102a starts playing the video data.
And 1004, when the playing progress of the played video data reaches the remark triggering position, displaying the remark content or playing the remark content in a sound mode according to the remark content output configuration information.
Specifically, the terminal 102a displays the visual elements in accordance with the display positions of the visual elements included in the memo content output configuration information. And controlling the display duration of the visual elements included in the remark content or controlling the playing duration of the audio data included in the remark content according to the output time length of the remark content included in the remark content output configuration information.
And step 1008, when the timing reaches the output time length of the remark content included in the remark content output configuration information, stopping displaying the remark content or stopping playing the remark content in a sound mode.
Specifically referring to fig. 12, when the comment trigger position of the circle mark in fig. 12 is 6 seconds from the playback start point 0 of the video data, the circle mark is displayed at the display position of the circle mark at 6 seconds and starts to count the time, and the comment content output time length of the circle mark is 2 seconds. Referring to fig. 13, when the video data is played for 7 seconds and the timer does not reach 2 seconds, the circled chart mark is still displayed and the memo content of the text at 7 seconds, whose memo content output time length is 2 seconds, is displayed. Referring to fig. 14, when the video is played for 10 seconds, the circled chart mark and the text have been stopped being displayed at 8 seconds and 9 seconds, respectively, and the content of the memo at 10 seconds is started to be played as audio data.
In this embodiment, by controlling the output time length of the remark content, the display time of each remark content can be controlled, so that the display time of each remark content is coordinated, and the display effect or the playing effect of the remark content is prevented from being influenced by the overlapping display of the remark content.
The principle of the video sharing method is described below with a specific application scenario, referring to fig. 15, after a user records a video through a social application to obtain video data, a video remark editing operation is triggered, at least one of a text remark mode, a circle diagram mark remark mode and a recording remark mode is selected to perform the remark editing operation, remark content at a remark triggering position is set, display positions of a text and a circle diagram mark are set, then output length of the remark content is set, the setting is completed, and the remark editing operation is enabled to take effect. Therefore, after the video is shared with the terminal of the network social contact person, the terminal can display the remark content on the playing picture of the video data or play the remark content in a sound mode when the video data is played to the remark triggering position.
As shown in fig. 16, in an embodiment, a video playing method is provided, which is exemplified by applying the method to the mobile terminal 102b in fig. 1, and specifically includes the following steps:
Specifically, a network social contact refers to a user who has a social relationship with the user of the terminal 102b based on a social network, such as a friend relationship, a colleague relationship, a classmate relationship, or a group membership relationship.
The terminal 102a uploads the video data and the remark triggering position and the remark content corresponding to the video data to the server 104 through the social application, so that the server 104 sends the video data and the remark triggering position and the remark content corresponding to the video data to the terminal 102b automatically or when receiving a pull request of the terminal 102 b. Terminal 102b is a terminal of a network social contact having a social relationship based on a social network with a user of terminal 102 a.
In step 1604, video data is played in the content sharing page of the social application.
Specifically, the terminal 102b may automatically or when detecting a playing instruction for the video data, play the video data in a content sharing page of the social application.
In step 1606, if the playing progress of the played video data reaches the remark triggering position, the remark content is displayed on the playing picture of the video data or played in a voice mode.
When the playing progress of the video data reaches the remark triggering position, the terminal 102b displays the remark content corresponding to the remark triggering position on the playing picture of the video data, and specifically displays the remark content of the visual element corresponding to the remark triggering position on the playing picture of the video data. Or, when the playing progress of playing the video data reaches the remark trigger position, the terminal 102b plays the remark content corresponding to the remark trigger position in a sound form, and specifically plays the remark content of the audio data corresponding to the remark trigger position in a sound form.
According to the video playing method, the social network contact person shares the video data and the corresponding remark triggering position and remark content through the social application, and when the video data is played in the content sharing page of the social application, the remark content can be played when the playing progress of the video data reaches the remark triggering position. Therefore, the social network contact person can transmit information attached to the video in a remark mode, and the remark trigger position is accurately combined with the playing progress of the video so as to be combined with the specific content of the video, so that the information can be transmitted more effectively.
In one embodiment, step 1602 includes: video data shared by network social contacts through a social application and corresponding remark triggering positions, remark contents and remark content output configuration information are obtained. The step 1606 of displaying the remark contents on the playing screen of the video data or playing the remark contents in the form of sound includes: and displaying the remark content on a playing picture of the video data according to the remark content output configuration information or playing the remark content in a voice form according to the remark content output configuration information.
Specifically, the output means displaying or playing in the form of sound, and the remark content output configuration information is configuration information for configuring how to display the remark content or how to play the remark content in the form of sound.
In one embodiment, when the memo content includes a visual element, the memo content output configuration information includes a display position of the visual element in a play screen of the video data. The display position may be represented as a coordinate in a coordinate axis of a playing picture of the video data, or may be represented as a distance between two adjacent sides of the playing picture of the video data.
The terminal 102b plays the video data, and displays the visual elements on the play screen of the video data according to the display positions of the visual elements included in the remark content output configuration information. And controlling the display duration of the visual elements included in the remark content or controlling the playing duration of the audio data included in the remark content according to the output time length of the remark content included in the remark content output configuration information.
In this embodiment, the output mode of the remark content can be controlled by the remark content output configuration information, so that the output form of the remark content is diversified. And by controlling the display position of the remark content, the remark content can be deeply combined with the content of the video data, and information can be more effectively transmitted.
In one embodiment, the memo content output configuration information includes a memo content output time length; the video playing method further comprises the following steps: and starting timing from displaying the remark content or playing the remark content in a sound form, and stopping displaying the remark content or playing the remark content in the sound form when the timing reaches the output time length of the remark content.
In this embodiment, the memo content output configuration information may further include a memo content output time length that defines an elapsed time since the memo content was displayed on the play screen or since being played in the form of sound. When the remark content comprises a visual element, the visual element displays the time of the output time length of the remark content in the playing picture; when the memo content includes audio data, the audio data is played for the length of time that the memo content is output. By controlling the output time length of the remark contents, the display time of each remark content can be controlled, so that the display time of each remark content is coordinated, and the display effect or the playing effect of the remark content is prevented from being influenced by the overlapping display of the remark contents.
In one embodiment, the remark content includes at least one of a visual element and audio data. Wherein the visual elements include at least one of graphical indicia, text, and icons. The visual element refers to an element that can be observed by human eyes, and the graphic mark is a mark made in a playing picture of video data with graphics. The icons include static icons, such as static emoticons, and dynamic icons, such as emoticons.
In one embodiment, when the memo content includes a visual element, the memo content output configuration information includes a display position of the visual element in a play screen of the video data. The display position may be represented as a coordinate in a coordinate axis of a playing picture of the video data, or may be represented as a distance between two adjacent sides of the playing picture of the video data.
As shown in fig. 17, in an embodiment, a video sharing apparatus 1700 is provided, which has functional modules for implementing the video sharing methods of the foregoing embodiments. The device includes: a video data acquisition module 1701, a first acquisition module 1702, a second acquisition module 1703, and a sharing module 1704.
The video data acquiring module 1701 is configured to acquire video data.
A first obtaining module 1702, configured to obtain a remark trigger position corresponding to a playing progress of the video data.
A second obtaining module 1703, configured to obtain a note content corresponding to the note triggering position.
The sharing module 1704 is configured to share the video data, the remark triggering position, and the remark content with a terminal of the social network contact through the social application, so that the terminal displays the remark content on a playing screen of the video data or plays the remark content in a sound form when the terminal plays the video data to the remark triggering position.
In one embodiment, the first obtaining module 1702 is further configured to display a playing time axis corresponding to the playing progress of the video data; detecting an action point acting on a play time axis; and acquiring a remark triggering position according to the position of the action point relative to the playing time axis.
In an embodiment, the video sharing apparatus 1700 further includes a third obtaining module 1705, configured to obtain the remark content output configuration information corresponding to the remark trigger position.
The sharing module 1704 is further configured to share the video data, the remark trigger position, the remark content, and the remark content output configuration information to a terminal of the social networking contact through the social application, so that when the terminal plays the video data to the remark trigger position, the remark content is displayed on a playing screen of the video data according to the remark content output configuration information or the remark content is played in a sound form according to the remark content output configuration information.
In one embodiment, the remark content includes at least one of a visual element and audio data; when the remark content comprises a visual element, the remark content output configuration information comprises a display position of the visual element in a playing picture of the video data; the visual elements include at least one of graphical indicia, text, and icons.
In one embodiment, the video sharing apparatus 1700 further includes a playing module 1706, a remark content output module 1707 and a timing module 1708.
The playing module 1706 is configured to play video data in a content sharing page of the social application.
The remark content output module 1707 is configured to, when the playing progress of the video data reaches the remark trigger position, output configuration information according to the remark content to display the remark content or play the remark content in a sound form.
The timing module 1708 is configured to start timing from displaying the memo content or playing the memo content in a sound form; and when the timing reaches the output time length of the remark content included in the remark content output configuration information, stopping displaying the remark content or stopping playing the remark content in a sound form.
The video sharing apparatus 1700 obtains video data and obtains a remark triggering position and remark content corresponding to the video data. Therefore, when the video data, the remark triggering position and the remark content are shared to the terminal of the network social contact person, the terminal can play the remark content when the playing progress of the video data reaches the remark triggering position. Therefore, the user can transmit the information attached to the video in a remark mode, and the remark trigger position is accurately combined with the playing progress of the video so as to be combined with the specific content of the video, so that the information can be transmitted more effectively.
As shown in fig. 18, in one embodiment, a video playback device 1800 having functional modules for implementing the video playback methods of the various embodiments described above is provided. The video playback apparatus 1800 includes: an acquisition module 1801, a video data playing module 1802, and a remark content output module 1803.
An obtaining module 1801, configured to obtain video data shared by network social contacts through a social application and corresponding remark triggering positions and remark contents.
And a video data playing module 1802, configured to play video data in a content sharing page of the social application.
A remark content output module 1803, configured to display remark content on a playing screen of the video data or play the remark content in a sound form if the playing progress of the video data reaches the remark trigger position.
In an embodiment, the obtaining module 1801 is further configured to obtain video data shared by the network social contacts through the social application, and corresponding remark triggering positions, remark contents, and remark content output configuration information.
The remark content output module 1803 is further configured to display the remark content on the playing screen of the video data according to the remark content output configuration information, or play the remark content in a voice form according to the remark content output configuration information.
In one embodiment, the memo content output configuration information includes a memo content output time length; the video playing apparatus 1800 further includes a timing module 1804, configured to start timing from displaying the memo content or playing the memo content in an audio form, and stop displaying the memo content or stop playing the memo content in an audio form when the timing reaches the output time length of the memo content.
In one embodiment, the remark content includes at least one of a visual element and audio data; when the remark content comprises a visual element, the remark content output configuration information comprises a display position of the visual element in a playing picture of the video data; the visual elements include at least one of graphical indicia, text, and icons.
According to the video playing device 1800, the social network contacts share the video data and the corresponding remark triggering position and remark content through the social application, and when the video data is played in the content sharing page of the social application, the remark content can be played when the playing progress of the video data reaches the remark triggering position. Therefore, the social network contact person can transmit information attached to the video in a remark mode, and the remark trigger position is accurately combined with the playing progress of the video so as to be combined with the specific content of the video, so that the information can be transmitted more effectively.
It will be understood by those skilled in the art that all or part of the processes of the methods of the embodiments described above can be implemented by a computer program, which can be stored in a computer-readable storage medium, and when executed, can include the processes of the embodiments of the methods described above. The storage medium may be a non-volatile storage medium such as a magnetic disk, an optical disk, a Read-Only Memory (ROM), or a Random Access Memory (RAM).
The technical features of the embodiments described above may be arbitrarily combined, and for the sake of brevity, all possible combinations of the technical features in the embodiments described above are not described, but should be considered as being within the scope of the present specification as long as there is no contradiction between the combinations of the technical features.
The above-mentioned embodiments only express several embodiments of the present invention, and the description thereof is more specific and detailed, but not construed as limiting the scope of the invention. It should be noted that, for a person skilled in the art, several variations and modifications can be made without departing from the inventive concept, which falls within the scope of the present invention. Therefore, the protection scope of the present patent shall be subject to the appended claims.
Claims (11)
1. A video sharing method is applied to social applications and comprises the following steps:
obtaining video data through the social application; the video data comprises video data recorded by the social application;
acquiring a remark triggering position corresponding to the playing progress of the video data;
obtaining remark content corresponding to the remark trigger position and remark content output configuration information, wherein the remark content comprises at least one of a visual element and audio data; the visual element comprises at least one of a graphic mark, a text input into a remark content input box corresponding to the remark triggering position and an icon corresponding to an icon identification input into the remark content input box; the audio data comprises recorded sound data formed by collecting environmental sounds through the social application; the remark content output configuration information comprises the output time length of the remark content;
the video data, the remark triggering position, the remark content and the remark content output configuration information are shared to a terminal of a network social contact person through a social application, so that when the terminal plays the video data to the remark triggering position, the remark content is displayed on a playing picture of the video data or played in a voice mode according to the remark content output configuration information, wherein the time for displaying or playing the remark content is the content output time length.
2. The method according to claim 1, wherein the obtaining of the remark trigger position corresponding to the playing progress of the video data comprises:
displaying a playing time axis corresponding to the playing progress of the video data;
detecting an action point acting on the playing time axis;
and acquiring a remark triggering position according to the position of the action point relative to the playing time axis.
3. The method according to claim 1, wherein when the memo content includes a visual element, the memo content output configuration information includes a display position of the visual element in a play screen of the video data.
4. The method of claim 1, further comprising:
playing the video data in a content sharing page of the social application;
when the playing progress of the video data reaches the remark triggering position, displaying the remark content or playing the remark content in a sound mode according to the remark content output configuration information;
starting timing from the display of the remark content or the playing of the remark content in a sound form;
and when the timing reaches the output time length of the remark content included in the remark content output configuration information, stopping displaying the remark content or stopping playing the remark content in a sound form.
5. A video playing method is applied to social applications, and comprises the following steps:
the method comprises the steps of obtaining video data shared by network social contacts through a social application and corresponding remark triggering positions, remark contents and remark content output configuration information, wherein the remark contents comprise at least one of visual elements and audio data; the visual element comprises at least one of a graphic mark, a text input into a remark content input box corresponding to the remark triggering position and an icon corresponding to an icon identification input into the remark content input box; the audio data comprises recorded sound data formed by collecting environmental sounds through the social application; the remark content output configuration information comprises the output time length of the remark content;
playing the video data in a content sharing page of the social application;
if the playing progress of the video data reaches the remark triggering position, the video data is played
Outputting configuration information according to the remark content, and displaying the remark content on a playing picture of the video data or playing the remark content in a sound mode; and the time for displaying or playing the remark content is the content output time length.
6. The method of claim 5, further comprising:
and starting timing from the display of the remark content or the playing of the remark content in a sound form, and stopping displaying the remark content or stopping playing the remark content in the sound form when the timing reaches the output time length of the remark content.
7. The method according to claim 5, wherein when the memo content includes a visual element, the memo content output configuration information includes a display position of the visual element in a play screen of the video data.
8. A video sharing apparatus applied to a social application, the apparatus comprising:
the video data acquisition module is used for acquiring video data through the social application; the video data comprises video data recorded by the social application;
the first acquisition module is used for acquiring a remark triggering position corresponding to the playing progress of the video data;
a second obtaining module, configured to obtain remark content and remark content output configuration information corresponding to the remark trigger position, where the remark content includes at least one of a visual element and audio data; the visual element comprises at least one of a graphic mark, a text input into a remark content input box corresponding to the remark triggering position and an icon corresponding to an icon identification input into the remark content input box; the audio data comprises recorded sound data formed by collecting environmental sounds through the social application; the remark content output configuration information comprises the output time length of the remark content;
the sharing module is used for sharing the video data, the remark triggering position, the remark content and the remark content output configuration information to a terminal of a network social contact person through a social application, so that when the terminal plays the video data to the remark triggering position, the remark content is displayed on a playing picture of the video data or played in a voice mode according to the remark content output configuration information, wherein the time for displaying or playing the remark content is the content output time length.
9. A video playing device applied to social applications, the device comprising:
the system comprises an acquisition module, a display module and a display module, wherein the acquisition module is used for acquiring video data shared by network social contacts through a social application and corresponding remark triggering positions, remark contents and remark content output configuration information, and the remark contents comprise at least one of visual elements and audio data; the visual element comprises at least one of a graphic mark, a text input into a remark content input box corresponding to the remark triggering position and an icon corresponding to an icon identification input into the remark content input box; the audio data comprises recorded sound data formed by collecting environmental sounds through the social application; the remark content output configuration information comprises the output time length of the remark content;
the video data playing module is used for playing the video data in a content sharing page of the social application;
a remark content output module, configured to output configuration information according to the remark content if the playing progress of the video data reaches the remark trigger position, and display the remark content on a playing picture of the video data or play the remark content in a sound form; and the time for displaying or playing the remark content is the content output time length.
10. A computer-readable storage medium, storing a computer program which, when executed by a processor, causes the processor to carry out the steps of the method according to any one of claims 1 to 7.
11. A terminal comprising a memory and a processor, the memory storing a computer program that, when executed by the processor, causes the processor to perform the steps of the method according to any one of claims 1 to 7.
Priority Applications (4)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
CN201510507128.1A CN106470147B (en) | 2015-08-18 | 2015-08-18 | Video sharing method and device and video playing method and device |
PCT/CN2016/085994 WO2017016339A1 (en) | 2015-07-27 | 2016-06-16 | Video sharing method and device, and video playing method and device |
MYPI2017704144A MY190923A (en) | 2015-07-27 | 2016-06-16 | Video sharing method and device, and video playing method and device |
US15/729,439 US10638166B2 (en) | 2015-07-27 | 2017-10-10 | Video sharing method and device, and video playing method and device |
Applications Claiming Priority (1)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
CN201510507128.1A CN106470147B (en) | 2015-08-18 | 2015-08-18 | Video sharing method and device and video playing method and device |
Publications (2)
Publication Number | Publication Date |
---|---|
CN106470147A CN106470147A (en) | 2017-03-01 |
CN106470147B true CN106470147B (en) | 2020-09-08 |
Family
ID=58214599
Family Applications (1)
Application Number | Title | Priority Date | Filing Date |
---|---|---|---|
CN201510507128.1A Active CN106470147B (en) | 2015-07-27 | 2015-08-18 | Video sharing method and device and video playing method and device |
Country Status (1)
Country | Link |
---|---|
CN (1) | CN106470147B (en) |
Families Citing this family (8)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN107221209A (en) * | 2017-07-21 | 2017-09-29 | 杭州学天教育科技有限公司 | Resources material push, storage method and tutoring system based on video progress of giving lessons |
CN107577489A (en) * | 2017-08-03 | 2018-01-12 | 捷开通讯(深圳)有限公司 | Method, mobile terminal and the storage device of remote assistance |
CN107509111A (en) * | 2017-08-16 | 2017-12-22 | 北京微影时代科技有限公司 | A kind of film information methods of exhibiting, device and electronic equipment |
WO2019090479A1 (en) * | 2017-11-07 | 2019-05-16 | 郑永利 | Interactive video teaching method and system |
CN109461462B (en) * | 2018-11-02 | 2021-12-17 | 王佳一 | Audio sharing method and device |
CN110087149A (en) * | 2019-05-30 | 2019-08-02 | 维沃移动通信有限公司 | A kind of video image sharing method, device and mobile terminal |
CN110572709B (en) * | 2019-08-30 | 2022-01-25 | 杭州影笑科技有限责任公司 | Quick sticker positioning method |
CN111327855B (en) * | 2020-03-10 | 2022-08-05 | 网易(杭州)网络有限公司 | Video recording method and device and video positioning method and device |
Citations (3)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
WO2011079477A1 (en) * | 2010-01-04 | 2011-07-07 | Thomson Licensing | Method and device for providing comments on multimedia contents |
CN102905056A (en) * | 2012-10-18 | 2013-01-30 | 利亚德光电股份有限公司 | Method and device for processing video image |
WO2015071490A1 (en) * | 2013-11-18 | 2015-05-21 | Helen Bradley Lennon | A video broadcast system and a method of disseminating video content |
Family Cites Families (8)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
US20020056123A1 (en) * | 2000-03-09 | 2002-05-09 | Gad Liwerant | Sharing a streaming video |
US7355530B2 (en) * | 2001-11-21 | 2008-04-08 | Canon Kabushiki Kaisha | Method and device for determining at least one multimedia data encoding parameter |
US7673064B2 (en) * | 2004-11-23 | 2010-03-02 | Palo Alto Research Center Incorporated | Methods, apparatus, and program products for presenting commentary audio with recorded content |
CN101646076A (en) * | 2008-08-08 | 2010-02-10 | 厦门时迅信息科技有限公司 | Video transmission method in wireless network |
US9197593B2 (en) * | 2011-05-03 | 2015-11-24 | Vmtv, Inc. | Social data associated with bookmarks to multimedia content |
US8818339B2 (en) * | 2011-10-10 | 2014-08-26 | Blackberry Limited | Capturing and processing multi-media information using mobile communication devices |
CN104159151B (en) * | 2014-08-06 | 2017-12-05 | 哈尔滨工业大学深圳研究生院 | A kind of device and method for carrying out video intercepting on OTT boxes and handling |
CN107484008A (en) * | 2017-09-07 | 2017-12-15 | 北京奇虎科技有限公司 | A video editing and sharing method, device, electronic equipment and medium |
-
2015
- 2015-08-18 CN CN201510507128.1A patent/CN106470147B/en active Active
Patent Citations (3)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
WO2011079477A1 (en) * | 2010-01-04 | 2011-07-07 | Thomson Licensing | Method and device for providing comments on multimedia contents |
CN102905056A (en) * | 2012-10-18 | 2013-01-30 | 利亚德光电股份有限公司 | Method and device for processing video image |
WO2015071490A1 (en) * | 2013-11-18 | 2015-05-21 | Helen Bradley Lennon | A video broadcast system and a method of disseminating video content |
Also Published As
Publication number | Publication date |
---|---|
CN106470147A (en) | 2017-03-01 |
Similar Documents
Publication | Publication Date | Title |
---|---|---|
CN106470147B (en) | Video sharing method and device and video playing method and device | |
US10514876B2 (en) | Gallery of messages from individuals with a shared interest | |
US20220200938A1 (en) | Methods and systems for providing virtual collaboration via network | |
US10311916B2 (en) | Gallery of videos set to an audio time line | |
CN113194351A (en) | Video display method and device, electronic equipment and storage medium | |
CN113163230A (en) | Video message generation method and device, electronic equipment and storage medium | |
CN110069738B (en) | Information processing method and device, terminal equipment and server | |
US20160150281A1 (en) | Video-based user indicia on social media and communication services | |
CN107733769B (en) | Method and device for displaying user information | |
WO2023092993A1 (en) | Service processing method and electronic device | |
CN115563320A (en) | Information reply method, device, electronic equipment, computer storage medium and product | |
CN109660854A (en) | Video recommendation method, device, equipment and storage medium | |
CN112667118A (en) | Method, apparatus and computer readable medium for displaying historical chat messages | |
CN113553472B (en) | Information display method and device, electronic equipment and storage medium | |
CN109521938B (en) | Method and device for determining data evaluation information, electronic device and storage medium | |
JP2019047500A (en) | Animation image generation method based on key input and user terminal performing the method | |
CN107122456A (en) | The method and apparatus for showing video search result | |
CN115734035B (en) | Video interaction method, device, equipment, storage medium and computer program product | |
US20220317867A1 (en) | System and method for creating and progressing visual interactive stories on computing devices | |
CN116744065A (en) | Video playing method and device | |
CN105843529A (en) | Method and device for sharing content through touch screen | |
CN113709565B (en) | Method and device for recording facial expression of watching video | |
CN115857767A (en) | Screenshot interaction method and device and electronic equipment | |
CN115858077A (en) | Method, apparatus, device and medium for creating special effects | |
KR20140089069A (en) | user terminal device for generating playable object and 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 |