CN109982129B - Short video playing control method and device and storage medium - Google Patents
Short video playing control method and device and storage medium Download PDFInfo
- Publication number
- CN109982129B CN109982129B CN201910231946.1A CN201910231946A CN109982129B CN 109982129 B CN109982129 B CN 109982129B CN 201910231946 A CN201910231946 A CN 201910231946A CN 109982129 B CN109982129 B CN 109982129B
- Authority
- CN
- China
- Prior art keywords
- video
- content
- short video
- playing
- audio
- 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 65
- 230000000007 visual effect Effects 0.000 claims abstract description 82
- 230000001960 triggered effect Effects 0.000 claims description 28
- 230000002093 peripheral effect Effects 0.000 description 10
- 238000012545 processing Methods 0.000 description 10
- 230000001133 acceleration Effects 0.000 description 9
- 230000008569 process Effects 0.000 description 9
- 238000004891 communication Methods 0.000 description 7
- 230000006870 function Effects 0.000 description 7
- 238000010586 diagram Methods 0.000 description 6
- 230000003287 optical effect Effects 0.000 description 5
- 238000005516 engineering process Methods 0.000 description 4
- 230000011218 segmentation Effects 0.000 description 4
- 238000012552 review Methods 0.000 description 3
- 230000005236 sound signal Effects 0.000 description 3
- 230000001360 synchronised effect Effects 0.000 description 3
- 238000013473 artificial intelligence Methods 0.000 description 2
- 239000000919 ceramic Substances 0.000 description 2
- 230000006835 compression Effects 0.000 description 2
- 238000007906 compression Methods 0.000 description 2
- 230000006978 adaptation Effects 0.000 description 1
- 230000009286 beneficial effect Effects 0.000 description 1
- 238000004590 computer program Methods 0.000 description 1
- 238000013480 data collection Methods 0.000 description 1
- 238000013500 data storage Methods 0.000 description 1
- 230000007423 decrease Effects 0.000 description 1
- 238000013461 design Methods 0.000 description 1
- 238000011161 development Methods 0.000 description 1
- 230000018109 developmental process Effects 0.000 description 1
- 230000000694 effects Effects 0.000 description 1
- 230000004927 fusion Effects 0.000 description 1
- 230000003993 interaction Effects 0.000 description 1
- 230000001788 irregular Effects 0.000 description 1
- 239000004973 liquid crystal related substance Substances 0.000 description 1
- 238000010801 machine learning Methods 0.000 description 1
- 239000000463 material Substances 0.000 description 1
- 230000005055 memory storage Effects 0.000 description 1
- 238000010295 mobile communication Methods 0.000 description 1
- 238000012986 modification Methods 0.000 description 1
- 230000004048 modification Effects 0.000 description 1
- 230000009467 reduction Effects 0.000 description 1
- 238000009877 rendering Methods 0.000 description 1
- 230000006641 stabilisation Effects 0.000 description 1
- 238000011105 stabilization Methods 0.000 description 1
- 230000007306 turnover Effects 0.000 description 1
Images
Classifications
-
- G—PHYSICS
- G10—MUSICAL INSTRUMENTS; ACOUSTICS
- G10L—SPEECH ANALYSIS TECHNIQUES OR SPEECH SYNTHESIS; SPEECH RECOGNITION; SPEECH OR VOICE PROCESSING TECHNIQUES; SPEECH OR AUDIO CODING OR DECODING
- G10L15/00—Speech recognition
- G10L15/22—Procedures used during a speech recognition process, e.g. man-machine dialogue
-
- H—ELECTRICITY
- H04—ELECTRIC COMMUNICATION TECHNIQUE
- H04N—PICTORIAL COMMUNICATION, e.g. TELEVISION
- H04N21/00—Selective content distribution, e.g. interactive television or video on demand [VOD]
- H04N21/40—Client devices specifically adapted for the reception of or interaction with content, e.g. set-top-box [STB]; Operations thereof
- H04N21/43—Processing of content or additional data, e.g. demultiplexing additional data from a digital video stream; Elementary client operations, e.g. monitoring of home network or synchronising decoder's clock; Client middleware
- H04N21/431—Generation of visual interfaces for content selection or interaction; Content or additional data rendering
- H04N21/4312—Generation of visual interfaces for content selection or interaction; Content or additional data rendering involving specific graphical features, e.g. screen layout, special fonts or colors, blinking icons, highlights or animations
-
- H—ELECTRICITY
- H04—ELECTRIC COMMUNICATION TECHNIQUE
- H04N—PICTORIAL COMMUNICATION, e.g. TELEVISION
- H04N21/00—Selective content distribution, e.g. interactive television or video on demand [VOD]
- H04N21/40—Client devices specifically adapted for the reception of or interaction with content, e.g. set-top-box [STB]; Operations thereof
- H04N21/43—Processing of content or additional data, e.g. demultiplexing additional data from a digital video stream; Elementary client operations, e.g. monitoring of home network or synchronising decoder's clock; Client middleware
- H04N21/439—Processing of audio elementary streams
-
- H—ELECTRICITY
- H04—ELECTRIC COMMUNICATION TECHNIQUE
- H04N—PICTORIAL COMMUNICATION, e.g. TELEVISION
- H04N21/00—Selective content distribution, e.g. interactive television or video on demand [VOD]
- H04N21/40—Client devices specifically adapted for the reception of or interaction with content, e.g. set-top-box [STB]; Operations thereof
- H04N21/43—Processing of content or additional data, e.g. demultiplexing additional data from a digital video stream; Elementary client operations, e.g. monitoring of home network or synchronising decoder's clock; Client middleware
- H04N21/443—OS processes, e.g. booting an STB, implementing a Java virtual machine in an STB or power management in an STB
- H04N21/4438—Window management, e.g. event handling following interaction with the user interface
-
- H—ELECTRICITY
- H04—ELECTRIC COMMUNICATION TECHNIQUE
- H04N—PICTORIAL COMMUNICATION, e.g. TELEVISION
- H04N21/00—Selective content distribution, e.g. interactive television or video on demand [VOD]
- H04N21/40—Client devices specifically adapted for the reception of or interaction with content, e.g. set-top-box [STB]; Operations thereof
- H04N21/47—End-user applications
- H04N21/472—End-user interface for requesting content, additional data or services; End-user interface for interacting with content, e.g. for content reservation or setting reminders, for requesting event notification, for manipulating displayed content
-
- G—PHYSICS
- G10—MUSICAL INSTRUMENTS; ACOUSTICS
- G10L—SPEECH ANALYSIS TECHNIQUES OR SPEECH SYNTHESIS; SPEECH RECOGNITION; SPEECH OR VOICE PROCESSING TECHNIQUES; SPEECH OR AUDIO CODING OR DECODING
- G10L15/00—Speech recognition
- G10L15/22—Procedures used during a speech recognition process, e.g. man-machine dialogue
- G10L2015/223—Execution procedure of a spoken command
Landscapes
- Engineering & Computer Science (AREA)
- Multimedia (AREA)
- Signal Processing (AREA)
- Human Computer Interaction (AREA)
- Databases & Information Systems (AREA)
- Software Systems (AREA)
- Computational Linguistics (AREA)
- Health & Medical Sciences (AREA)
- Audiology, Speech & Language Pathology (AREA)
- Physics & Mathematics (AREA)
- Acoustics & Sound (AREA)
- User Interface Of Digital Computer (AREA)
Abstract
The application relates to a short-sight play control method, a short-sight play control device and a storage medium, and belongs to the technical field of new media. The method comprises the following steps: playing video content and audio content of the short video on a visual interface; when a comment display instruction is detected, pausing playing of the video content of the short video; displaying the comment content of the short video on the visual interface; and if the audio playing instruction is detected, continuing to play the audio content of the short video. According to the short video playing control method and device, when the short video is played, if the comment display instruction is detected, the comment content of the short video is displayed, the audio content of the short video continues to be played, the comment content is displayed while the audio content is played, the playing control mode of the short video is more flexible, a user can check comments and listen to the audio conveniently, and therefore user experience is improved.
Description
Technical Field
The present application relates to the field of new media technologies, and in particular, to a method and an apparatus for controlling playback of a short video, and a storage medium.
Background
With the continuous development of the new media technology field, new media forms such as short video APP (Application) are popular among the users in time, quickly, with dynamic pictures and with stronger entertainment. When using APP, it is often necessary to control the playing of short videos, and the control mode is an important index for providing a user with an all-around entertainment experience.
In the related art, when a short video including an audio content and a video content is played, the audio content and the video content are controlled to be played synchronously. When entering the comment area of the short video, because the comment content is displayed on the screen, the video content cannot be seen in a shielding manner, and the playing of the audio content and the video content is automatically paused.
In the course of implementing the present application, the inventors found that the related art has at least the following problems:
for the short video comprising the audio and the video, when entering the comment area of the short video, the audio and the video are synchronously stopped to play, and the play control mode is not flexible enough, has certain limitation, poor effect and poor user experience.
Disclosure of Invention
The application provides a method, a device and a storage medium for controlling the playing of a short video, which can overcome the problems in the related art.
According to a first aspect of the embodiments of the present application, there is provided a method for controlling playback of a short video, including:
playing video content and audio content of the short video on a visual interface;
when a comment display instruction is detected, pausing playing of the video content of the short video;
displaying the comment content of the short video on the visual interface;
and if the audio playing instruction is detected, continuing to play the audio content of the short video.
Optionally, after the visual interface displays the comment content of the short video, the method further includes:
and displaying an audio playing control button on the visual interface, and acquiring an audio playing instruction if the audio playing control button is detected to be triggered.
Optionally, after the visual interface displays the comment content of the short video, the method further includes:
collecting voice data, and performing text recognition on the voice data;
and if the identification result comprises the keywords of the audio playing, acquiring an audio playing instruction.
Optionally, the detecting voice data includes:
and displaying a voice acquisition button on the visual interface, and acquiring voice data if the voice acquisition button is triggered.
Optionally, after the audio content of the short video continues to be played, the method further includes:
and if a switching instruction from the comment content to the video content is detected, displaying a picture when the video content is paused on the visual interface, and continuously playing the audio content of the short video.
Optionally, the paused video playing picture comprises a video playing control button;
after the visual interface displays the picture when the video content is paused, the method further comprises the following steps:
and if the video playing control button is detected to be triggered, starting to play the video content and the audio content of the short video from the time point when the video content is paused.
Optionally, before the displaying the comment content of the short video on the visual interface, the method further includes: and hiding the audio playing control button.
According to a second aspect of the embodiments of the present application, there is provided a playback control apparatus for short videos, including:
the playing module is configured to play the video content and the audio content of the short video on the visual interface;
the control module is configured to pause playing of the video content of the short video when a comment display instruction is detected; displaying the comment content of the short video on the visual interface;
the playing module is further configured to continue to play the audio content of the short video if an audio playing instruction is detected.
Optionally, the control module is further configured to display an audio playing control button on the visual interface after the comment content of the short video is displayed on the visual interface, and acquire an audio playing instruction if it is detected that the audio playing control button is triggered.
Optionally, the control module is further configured to, after the visual interface displays the comment content of the short video, collect voice data, and perform text recognition on the voice data; and if the identification result comprises the keywords of the audio playing, acquiring an audio playing instruction.
Optionally, the control module is configured to display a voice collecting button on the visual interface, and collect voice data if it is detected that the voice collecting button is triggered.
Optionally, the control module is further configured to, if a switching instruction from the comment content to the video content is detected, display a picture when the video content is paused on the visual interface;
the playing module is further configured to continue playing the audio content of the short video.
Optionally, the paused video playing picture comprises a video playing control button;
the playing module is further configured to start playing the video content and the audio content of the short video from a time point when the video content is paused if it is detected that the video playing control button is triggered.
Optionally, the control module is further configured to hide the audio play control button before the visual interface displays the comment content of the short video.
According to a third aspect of the embodiments of the present application, there is provided a playback control apparatus for a short video, including:
a processor;
a memory for storing processor-executable instructions;
wherein the processor is configured to execute any one of the above-mentioned short video play control methods.
According to a fourth aspect of embodiments of the present application, there is provided a non-transitory computer-readable storage medium, wherein instructions of the storage medium, when executed by a processor of a mobile terminal, enable the mobile terminal to perform any one of the above-mentioned short video play control methods.
According to a fifth aspect of embodiments of the present application, there is provided a computer program product including one or more instructions, which when executed by a processor of an electronic device, enable the electronic device to perform an operation performed to implement the play control method for short videos according to any one of the first aspects.
The technical scheme provided by the embodiment of the application at least comprises the following beneficial effects:
when the short video is played, if a comment display instruction is detected, the comment content of the short video is displayed, the audio content of the short video is continuously played, the comment content is displayed while the audio content is played, the short video playing control mode is more flexible, a user can check comments and listen to the audio conveniently, and user experience is further improved.
It is to be understood that both the foregoing general description and the following detailed description are exemplary and explanatory only and are not restrictive of the application.
Drawings
The accompanying drawings, which are incorporated in and constitute a part of this specification, illustrate embodiments consistent with the invention and together with the description, serve to explain the principles of the invention.
FIG. 1 is a schematic diagram of an implementation environment shown in accordance with an exemplary embodiment.
Fig. 2 is a flowchart illustrating a play control method of a short video according to an exemplary embodiment.
FIG. 3 is a diagram illustrating an interface displaying review content in accordance with an exemplary embodiment.
FIG. 4 is a diagram illustrating an interface displaying review content in accordance with an exemplary embodiment.
Fig. 5 is a flowchart illustrating a play control method of a short video according to an exemplary embodiment.
Fig. 6 is a flowchart illustrating a play control method of a short video according to an exemplary embodiment.
Fig. 7 is a schematic structural diagram illustrating a short-video playback control apparatus according to an exemplary embodiment.
Fig. 8 is a schematic structural diagram illustrating a short-video playback control apparatus according to an exemplary embodiment.
Detailed Description
Reference will now be made in detail to the exemplary embodiments, examples of which are illustrated in the accompanying drawings. When the following description refers to the accompanying drawings, like numbers in different drawings represent the same or similar elements unless otherwise indicated. The embodiments described in the following exemplary embodiments do not represent all embodiments consistent with the present invention. Rather, they are merely examples of apparatus and methods consistent with certain aspects of the invention, as detailed in the appended claims.
The embodiment of the invention provides a short video playing control method, which can be applied to the implementation environment shown in fig. 1. In fig. 1, at least one terminal 11 and a server 12 are included, and the terminal 11 can be connected to the server 12 in a communication manner to download short videos from the server 12.
The terminal 11 may be any electronic product that can perform human-Computer interaction with a user through one or more modes such as a mouse, a touch pad, and a touch screen, for example, a PC (Personal Computer), a smart phone, a wearable terminal, a pocket PC (pocket PC), a tablet Computer, a smart car, a smart television, and the like.
The server 12 may be a server, a server cluster composed of a plurality of servers, or a cloud computing service center.
It should be understood by those skilled in the art that the above-mentioned terminal 11 and server 12 are only examples, and other existing or future terminals or servers may be suitable for the present application and are included within the scope of the present application and are herein incorporated by reference.
Based on the above implementation environment, referring to fig. 2, the present embodiment provides a method for controlling the playing of a short video. The method can be applied to the terminal 11 in the implementation environment shown in fig. 1, and comprises the following steps:
in step 201, video content and audio content of the short video are played on the visual interface.
The visual interface is a display screen interface of the terminal, and the terminal includes but is not limited to a smart phone, a tablet computer and the like. In the implementation process, when a user uses a short video APP in a terminal, the user clicks to enter the short video APP. At this time, a plurality of short videos are displayed on the visual interface, and the user can click on the selected short video on the visual interface to start to play the video content and the audio content of the short video at the same time.
The method for selecting the short video comprises the steps of inputting short video keywords in a search box of a visual interface for searching and then selecting the short video keywords; or, inputting a voice command to search and then selecting; or, selecting through entering hot recommendation; or, the screen of the sliding terminal randomly selects a medium mode, and the mode of selecting the medium short video is not limited herein.
In step 202, upon detecting a comment display instruction, the playing of the video content of the short video is paused.
The short video is often accompanied by wonderful comment content, and the comment area can be used for displaying all comment content of the short video, so that after a user clicks to enter the short video, if the user wants to scroll the comment content corresponding to the short video, the user can enter the comment area of the short video in a certain operation mode. The operation mode of entering the comment area of the short video includes but is not limited to entering by clicking a comment control button; or, entering by inputting a voice command; alternatively, the entry may be made by sliding the display screen of the terminal in the up-down direction or the left-right direction.
In addition, besides the above-mentioned single operation mode, a combination of multiple modes may be adopted, and the operation mode of entering the comment area is not limited in the embodiment of the present application. No matter which entering method is adopted, when the user performs the above-mentioned operation method, the terminal may detect a comment display instruction, where the comment display instruction is used to trigger the display of the comment area on the visual interface, so as to switch the video content to the comment content.
In step 203, the comment content of the short video is displayed on the visual interface.
Due to the limited display area of the visual interface, when a comment display instruction is detected, the method provided by the embodiment can pause playing of the video content of the short video according to the comment display instruction, and at the moment, the video picture is paused at the time point and disappears in the visual interface. After the video picture disappears on the visual interface, the visual interface has enough display area, and at the moment, the comment content of the short video is displayed on the visual interface, so that the user can watch the wonderful comment content.
In step 204, if an audio playing command is detected, the audio content of the short video is continuously played.
In the related art, after the video content is switched to the comment content, the video content and the audio content of the short video are paused at the same time, so that the user cannot listen to the audio content in the process of viewing the comment. In contrast, in the method provided by the embodiment of the application, after the comment content of the short video is displayed on the visual interface, an audio playing instruction can be detected. If the audio playing instruction is detected, it indicates that the user wishes to continue listening to the audio, and therefore the method provided by the embodiment of the present application continues to play the audio content of the short video. For example, if an audio playing instruction is detected, the audio content of the short video is continuously played from the time point when the video content of the short video is paused, so that the continuity of the audio content is ensured, a user can listen to the audio content while watching the comment content, and the playing control mode of the short video is flexible.
Furthermore, the implementation manner of detecting the audio playing instruction includes, but is not limited to, a manner of inputting by voice, or a manner of triggering an audio control button, and the like, and is not limited herein. The following two implementation manners for detecting an audio playing instruction provided in this embodiment are illustrated with reference to fig. 3 and fig. 4, respectively:
the first method is as follows: after the comment content of the short video is displayed on the visual interface, the method further comprises the following steps: and displaying an audio playing control button on the visual interface, and acquiring an audio playing instruction if the audio playing control button is detected to be triggered.
Referring to fig. 3, in the first mode, an audio playing control button displayed on the visual interface is used to trigger playing of audio content, so that in the embodiment of the present application, a mode of setting the audio playing control button is adopted to implement continuous playing of the audio content. In the implementation process, when the user browses the comment content corresponding to the short video, the user can press or click the audio control button, so that the audio content is controlled to start playing. The display position of the audio playback control button on the visual interface is not limited, and the triggering manner includes, but is not limited to, detecting a continuous press or a short press, and the like.
It should be understood that the audio control button may or may not be present before the visual interface displays the comment content of the short video, which is not limited. For the case that the audio control button exists all the way on the visual interface, optionally before the visual interface displays the comment content of the short video, the method further comprises: the audio play control button is hidden. That is to say, before the comment content of the short video is displayed on the visual interface, the audio playing control button is in a hidden state, and when the user does not turn over the comment content, the audio playing control button does not appear on the display screen, that is, the audio playing control button is not displayed on the visual interface, so that the condition that the button is triggered by mistake is avoided.
The second method comprises the following steps: after the comment content of the short video is displayed on the visual interface, the method further comprises the following steps: collecting voice data, and performing text recognition on the voice data; and if the identification result comprises the keywords of the audio playing, acquiring an audio playing instruction.
Wherein, the voice data collection can be performed according to the detected instruction for collecting the voice data. Optionally, the collecting voice data comprises: and displaying a voice acquisition button on a visual interface, and acquiring voice data if the voice acquisition button is triggered to acquire a command for acquiring the voice data. For example, referring to fig. 4, after the comment content of the short video is displayed on the visual interface, a microphone pattern button, that is, a voice capture button, may be displayed on the visual interface. And if the button is detected to be triggered, acquiring a voice data acquisition instruction, and further triggering voice data acquisition based on the voice data acquisition instruction. The voice capture button is triggered in a manner including, but not limited to, a short time the button is pressed, a continuous pressing of the button, etc., and the triggering manner is not limited in this application. In this way, the voice capture button may or may not exist before the comment content of the short video is displayed on the visual interface, which is not limited.
Optionally, the triggering manner of the instruction for acquiring the voice data may be implemented by shaking the terminal or the like, besides being implemented by the voice acquisition button, which is not limited herein.
In the implementation process, the sound signal is detected, the sound signal is preprocessed to increase the definition, and then the voice data in the processed sound signal is collected. Thereafter, text recognition is performed on the voice data. When the voice data is subjected to text recognition, the voice data can be converted into text contents, and the text contents are recognition results. And then, performing word segmentation processing on the text content to obtain a plurality of word segmentation results. And matching the word segmentation result with the keywords played by the audio in the stored text library, and if the matching is successful, identifying the keywords played by the audio in the result and acquiring an audio playing instruction. The keywords in the text library may be set and stored in advance, for example, set according to experience, set by a user, or updated in a subsequent application process, which is not limited in the embodiment of the present application.
It should be noted that, in the process of matching the word segmentation result with the audio playing keyword in the stored text library, the identified audio playing keyword is compared with the audio playing keyword in the pre-stored text library, and the matching is considered to be successful when the contents are completely consistent, or the matching is considered to be successful when the matching degree reaches the set threshold, which is not limited in the present application.
According to the method provided by the embodiment of the application, when the short video is played, if the comment display instruction is detected, the comment content of the short video is displayed, the audio content of the short video is continuously played, the comment content is displayed while the audio content is played, so that the playing control mode of the short video is more flexible, a user can conveniently check the comment and listen to the audio, and further the user experience is improved.
Based on the above process, after the comment content is displayed and the audio content of the short video is continuously played, the user may stop reviewing the comment content corresponding to the short video and return to review the video content of the short video. In this regard, the method provided by the embodiment of the application also supports a mode of switching the comment content to the video content. Optionally, referring to fig. 5, the method further comprises:
in step 205, if a switching instruction from the comment content to the video content is detected, the image of the paused video content is displayed on the visual interface, and the audio content of the short video is continuously played.
Switching from the comment content to the video content can be achieved by clicking a video return control button, or by inputting a voice instruction, or by sliding a display screen of the terminal in the up-down direction or the left-right direction, or the like. Either way, it may be similar to the way the comment content is entered as referred to in step 202, and will not be described further herein.
When the user implements any one of the above operations, the terminal detects a switching instruction from the comment content to the video content. According to the switching instruction from the comment content to the video content, the comment content in the visual interface disappears, and the visual interface displays the picture when the video content is paused. In the implementation process, the user returns to the visual interface of the video content, at this time, the audio content of the short video is continuously played from the time point before the display content of the visual interface is switched, and the user can select to continuously listen to the audio content.
Optionally, after detecting the switching instruction from the comment content to the video content, the audio playing control button and the voice capturing button may disappear or hide or persist, which is not limited herein.
Optionally, the paused video playback screen includes a video playback control button by which playback of the video content and the audio content of the short video can be controlled. For example, if the user selects to trigger the video playing control button, video content and audio content are played; if the video playing control button is not triggered, the audio content can be continuously played, and the video content is paused to be played. In this regard, referring to fig. 6, the method further comprises:
in step 206, if it is detected that the video playing control button is triggered, the video content and the audio content of the short video are played from the time point when the video content is paused.
And continuously playing the audio content of the short video before detecting that the video playing control button is triggered. And if the video playing control button is detected to be triggered, starting to play the video content and the audio content of the short video from the time point when the video content is paused.
It should be noted that, before and after the video playing control button is triggered, the audio content of the short video is in the playing state, and here, the two playing states need to be distinguished. After the video playback control button is triggered, the audio content is played from the point in time when the video content was paused in step 202, and before the button is triggered, the audio content is continuously played from the point in time when it was just switched to the video content interface. In both cases, the time points at which the audio contents are played are different.
To further assist understanding of the technical solution, the following examples are given: the user enters the comment content when the video content is played for 1 minute, and the comment content is displayed and continuously browsed for 1 minute, and the audio content is continuously played all the time, namely, the audio content corresponds to the content of the 2 nd minute. And then, if the video content is switched to, displaying the picture when the video content is paused on the visual interface, and continuously playing the audio content of the short video. If the audio content is continuously played without triggering the video playing control button, the audio content is continuously played from the 2 nd minute. Alternatively, if the video playing control button is triggered after the video content is switched to, the audio content will be played from the time point when the video content is paused, i.e., the 1 st minute.
According to the method for controlling the playing of the short video, the audio content and the video content of the short video can be distinguished when the comment content is displayed, and the short video does not need to be paused along with the pausing of the video content. Compared with the video content and the audio content of the short video in the related technology, which are synchronous, or synchronous playing or synchronous pausing, the playing control mode of the short video provided by the embodiment of the application is very flexible, and the user experience is better.
Alternatively, in order to implement the control of distinguishing the audio content from the video content, the audio content and the video content of the short video may be stored in different files, respectively, and the playing of the audio content may be controlled individually based on the different files when the playing control is performed. For example, video content is stored in file 1 and audio content is stored in file 2. When the audio content and the video content are played simultaneously on the visual interface, the file 1 and the file 2 can be played simultaneously, and the content correspondence and the playing time synchronization of the two files are ensured. And if the comment area is entered to display the comment content, pausing the playing of the file 1 and continuing to play the file 2. At this time, the pause time of the video content may be recorded. Subsequently, if the comment content is switched to the video content and the video content is continuously played, the file 1 can be continuously played based on the recorded pause time, and the corresponding audio content needs to be played from the pause time for the file 2.
According to the method provided by the embodiment, when the short video is played, if the comment display instruction is detected, the comment content of the short video is displayed, the audio content of the short video is continuously played, the comment content is displayed while the audio content is played, so that the playing control mode of the short video is more flexible, a user can conveniently check comments and listen to the audio, and the user experience is further improved.
Based on the same technical concept, an embodiment of the present application provides a short video playing control apparatus, and referring to fig. 7, the apparatus includes:
a playing module 701 configured to play video content and audio content of the short video on a visual interface;
a control module 702 configured to pause playing of video content of the short video when the comment display instruction is detected; displaying the comment content of the short video on a visual interface;
the playing module 701 is further configured to continue to play the audio content of the short video if the audio playing instruction is detected.
Optionally, the control module 702 is further configured to display an audio playing control button on the visual interface after the comment content of the short video is displayed on the visual interface, and acquire the audio playing instruction if it is detected that the audio playing control button is triggered.
Optionally, the control module 702 is further configured to, after the comment content of the short video is displayed on the visual interface, collect voice data, and perform text recognition on the voice data; and if the identification result comprises the keywords of the audio playing, acquiring an audio playing instruction.
Optionally, the control module 702 is configured to display a voice capture button on the visual interface, and capture voice data if it is detected that the voice capture button is triggered.
Optionally, the control module 702 is further configured to, if a switching instruction from the comment content to the video content is detected, display a picture when the video content is paused on the visual interface;
the playing module 701 is further configured to continue playing the audio content of the short video.
Optionally, the paused video playing picture comprises a video playing control button;
the playing module 701 is further configured to, if it is detected that the video playing control button is triggered, start playing the video content and the audio content of the short video from a time point when the video content is paused.
Optionally, the control module 702 is further configured to hide the audio play control button before the visual interface displays the comment content of the short video.
The device that this application embodiment provided, when broadcasting the short video, if detect the comment and show the instruction, show the comment content of short video, continue to broadcast the audio content of short video, realized showing the comment content and broadcasting the audio content simultaneously for the broadcast control mode of short video is more nimble, and convenience of customers looks over the comment and listens to the audio frequency, and then promotes user experience.
It should be noted that, when the device provided in the foregoing embodiment implements the functions thereof, only the division of the functional modules is illustrated, and in practical applications, the functions may be distributed by different functional modules according to needs, that is, the internal structure of the terminal is divided into different functional modules to implement all or part of the functions described above. In addition, the apparatus and method embodiments provided by the above embodiments belong to the same concept, and specific implementation processes thereof are described in the method embodiments for details, which are not described herein again.
Fig. 8 is a block diagram illustrating a terminal 800 according to an example embodiment. The terminal 800 may be: a smart phone, a tablet computer, an MP3 player (Moving Picture Experts Group Audio Layer III, motion video Experts compression standard Audio Layer 3), an MP4 player (Moving Picture Experts Group Audio Layer IV, motion video Experts compression standard Audio Layer 4), a notebook computer, or a desktop computer. The terminal 800 may also be referred to by other names such as user equipment, portable terminal, laptop terminal, desktop terminal, etc.
In general, the terminal 800 includes: a processor 801 and a memory 802.
The processor 801 may include one or more processing cores, such as a 4-core processor, an 8-core processor, and so forth. The processor 801 may be implemented in at least one hardware form of a DSP (Digital Signal Processing), an FPGA (Field-Programmable Gate Array), and a PLA (Programmable Logic Array). The processor 801 may also include a main processor and a coprocessor, where the main processor is a processor for Processing data in an awake state, and is also called a Central Processing Unit (CPU); a coprocessor is a low power processor for processing data in a standby state. In some embodiments, the processor 801 may be integrated with a GPU (Graphics Processing Unit), which is responsible for rendering and drawing the content required to be displayed on the display screen. In some embodiments, the processor 801 may further include an AI (Artificial Intelligence) processor for processing computing operations related to machine learning.
In some embodiments, the terminal 800 may further include: a peripheral interface 803 and at least one peripheral. The processor 801, memory 802 and peripheral interface 803 may be connected by bus or signal lines. Various peripheral devices may be connected to peripheral interface 803 by a bus, signal line, or circuit board. Specifically, the peripheral device includes: at least one of a radio frequency circuit 804, a display 805, a camera 806, an audio circuit 807, a positioning component 808, and a power supply 809.
The peripheral interface 803 may be used to connect at least one peripheral related to I/O (Input/Output) to the processor 801 and the memory 802. In some embodiments, the processor 801, memory 802, and peripheral interface 803 are integrated on the same chip or circuit board; in some other embodiments, any one or two of the processor 801, the memory 802, and the peripheral interface 803 may be implemented on separate chips or circuit boards, which are not limited by this embodiment.
The Radio Frequency circuit 804 is used for receiving and transmitting RF (Radio Frequency) signals, also called electromagnetic signals. The radio frequency circuitry 804 communicates with communication networks and other communication devices via electromagnetic signals. The rf circuit 804 converts an electrical signal into an electromagnetic signal to be transmitted, or converts a received electromagnetic signal into an electrical signal. Optionally, the radio frequency circuit 804 includes: an antenna system, an RF transceiver, one or more amplifiers, a tuner, an oscillator, a digital signal processor, a codec chipset, a subscriber identity module card, and so forth. The radio frequency circuit 804 may communicate with other terminals via at least one wireless communication protocol. The wireless communication protocols include, but are not limited to: metropolitan area networks, various generation mobile communication networks (2G, 3G, 4G, and 5G), Wireless local area networks, and/or WiFi (Wireless Fidelity) networks. In some embodiments, the radio frequency circuit 804 may further include NFC (Near Field Communication) related circuits, which are not limited in this application.
The display screen 805 is used to display a UI (User Interface). The UI may include graphics, text, icons, video, and any combination thereof. When the display 805 is a touch display, the display 805 also has the ability to capture touch signals on or above the surface of the display 805. The touch signal may be input to the processor 801 as a control signal for processing. At this point, the display 805 may also be used to provide virtual buttons and/or a virtual keyboard, also referred to as soft buttons and/or a soft keyboard. In some embodiments, the display 805 may be one, providing the front panel of the terminal 800; in other embodiments, the display 805 may be at least two, respectively disposed on different surfaces of the terminal 800 or in a folded design; in still other embodiments, the display 805 may be a flexible display disposed on a curved surface or a folded surface of the terminal 800. Even further, the display 805 may be arranged in a non-rectangular irregular pattern, i.e., a shaped screen. The Display 805 can be made of LCD (Liquid Crystal Display), OLED (Organic Light-Emitting Diode), and other materials.
The camera assembly 806 is used to capture images or video. Optionally, camera assembly 806 includes a front camera and a rear camera. Generally, a front camera is disposed at a front panel of the terminal, and a rear camera is disposed at a rear surface of the terminal. In some embodiments, the number of the rear cameras is at least two, and each rear camera is any one of a main camera, a depth-of-field camera, a wide-angle camera and a telephoto camera, so that the main camera and the depth-of-field camera are fused to realize a background blurring function, and the main camera and the wide-angle camera are fused to realize panoramic shooting and VR (Virtual Reality) shooting functions or other fusion shooting functions. In some embodiments, camera assembly 806 may also include a flash. The flash lamp can be a monochrome temperature flash lamp or a bicolor temperature flash lamp. The double-color-temperature flash lamp is a combination of a warm-light flash lamp and a cold-light flash lamp, and can be used for light compensation at different color temperatures.
The audio circuit 807 may include a microphone and a speaker. The microphone is used for collecting sound waves of a user and the environment, converting the sound waves into electric signals, and inputting the electric signals to the processor 801 for processing or inputting the electric signals to the radio frequency circuit 804 to realize voice communication. For the purpose of stereo sound collection or noise reduction, a plurality of microphones may be provided at different portions of the terminal 800. The microphone may also be an array microphone or an omni-directional pick-up microphone. The speaker is used to convert electrical signals from the processor 801 or the radio frequency circuit 804 into sound waves. The loudspeaker can be a traditional film loudspeaker or a piezoelectric ceramic loudspeaker. When the speaker is a piezoelectric ceramic speaker, the speaker can be used for purposes such as converting an electric signal into a sound wave audible to a human being, or converting an electric signal into a sound wave inaudible to a human being to measure a distance. In some embodiments, the audio circuitry 807 may also include a headphone jack.
The positioning component 808 is used to locate the current geographic position of the terminal 800 for navigation or LBS (Location Based Service). The Positioning component 808 may be a Positioning component based on the GPS (Global Positioning System) in the united states, the beidou System in china, the graves System in russia, or the galileo System in the european union.
In some embodiments, terminal 800 also includes one or more sensors 810. The one or more sensors 810 include, but are not limited to: acceleration sensor 811, gyro sensor 812, pressure sensor 813, fingerprint sensor 814, optical sensor 815 and proximity sensor 816.
The acceleration sensor 811 may detect the magnitude of acceleration in three coordinate axes of the coordinate system established with the terminal 800. For example, the acceleration sensor 811 may be used to detect the components of the gravitational acceleration in three coordinate axes. The processor 801 may control the touch screen 805 to display the user interface in a landscape view or a portrait view according to the gravitational acceleration signal collected by the acceleration sensor 811. The acceleration sensor 811 may also be used for acquisition of motion data of a game or a user.
The gyro sensor 812 may detect a body direction and a rotation angle of the terminal 800, and the gyro sensor 812 may cooperate with the acceleration sensor 811 to acquire a 3D motion of the user with respect to the terminal 800. From the data collected by the gyro sensor 812, the processor 801 may implement the following functions: motion sensing (such as changing the UI according to a user's tilting operation), image stabilization at the time of photographing, game control, and inertial navigation.
Pressure sensors 813 may be disposed on the side bezel of terminal 800 and/or underneath touch display 805. When the pressure sensor 813 is disposed on the side frame of the terminal 800, the holding signal of the user to the terminal 800 can be detected, and the processor 801 performs left-right hand recognition or shortcut operation according to the holding signal collected by the pressure sensor 813. When the pressure sensor 813 is disposed at a lower layer of the touch display screen 805, the processor 801 controls the operability control on the UI interface according to the pressure operation of the user on the touch display screen 805. The operability control comprises at least one of a button control, a scroll bar control, an icon control and a menu control.
The fingerprint sensor 814 is used for collecting a fingerprint of the user, and the processor 801 identifies the identity of the user according to the fingerprint collected by the fingerprint sensor 814, or the fingerprint sensor 814 identifies the identity of the user according to the collected fingerprint. Upon identifying that the user's identity is a trusted identity, the processor 801 authorizes the user to perform relevant sensitive operations including unlocking a screen, viewing encrypted information, downloading software, paying for and changing settings, etc. Fingerprint sensor 814 may be disposed on the front, back, or side of terminal 800. When a physical button or a vendor Logo is provided on the terminal 800, the fingerprint sensor 814 may be integrated with the physical button or the vendor Logo.
The optical sensor 815 is used to collect the ambient light intensity. In one embodiment, the processor 801 may control the display brightness of the touch screen 805 based on the ambient light intensity collected by the optical sensor 815. Specifically, when the ambient light intensity is high, the display brightness of the touch display screen 805 is increased; when the ambient light intensity is low, the display brightness of the touch display 805 is turned down. In another embodiment, the processor 801 may also dynamically adjust the shooting parameters of the camera assembly 806 based on the ambient light intensity collected by the optical sensor 815.
A proximity sensor 816, also known as a distance sensor, is typically provided on the front panel of the terminal 800. The proximity sensor 816 is used to collect the distance between the user and the front surface of the terminal 800. In one embodiment, when the proximity sensor 816 detects that the distance between the user and the front surface of the terminal 800 gradually decreases, the processor 801 controls the touch display 805 to switch from the bright screen state to the dark screen state; when the proximity sensor 816 detects that the distance between the user and the front surface of the terminal 800 becomes gradually larger, the processor 801 controls the touch display 805 to switch from the screen-on state to the screen-on state.
Those skilled in the art will appreciate that the configuration shown in fig. 8 is not intended to be limiting of terminal 800 and may include more or fewer components than those shown, or some components may be combined, or a different arrangement of components may be used.
In an exemplary embodiment, there is also provided a non-transitory computer-readable storage medium having instructions therein, which when executed by a processor of a terminal, enable the terminal to perform the following short video play control method:
playing video content and audio content of the short video on a visual interface;
when a comment display instruction is detected, pausing playing of the video content of the short video;
displaying the comment content of the short video on the visual interface;
and if the audio playing instruction is detected, continuing to play the audio content of the short video.
For example, the non-transitory computer readable storage medium may be a Read-Only Memory (ROM), a Random Access Memory (RAM), a Compact Disc Read-Only Memory (CD-ROM), a magnetic tape, a floppy disk, an optical data storage device, and the like.
In an exemplary embodiment, there is also provided an application program product, in which instructions, when executed by a processor of a terminal, enable the terminal to perform the following short video play control method:
playing video content and audio content of the short video on a visual interface;
when a comment display instruction is detected, pausing playing of the video content of the short video;
displaying the comment content of the short video on the visual interface;
and if the audio playing instruction is detected, continuing to play the audio content of the short video.
Other embodiments of the present application will be apparent to those skilled in the art from consideration of the specification and practice of the invention disclosed herein. This application is intended to cover any variations, uses, or adaptations of the invention following, in general, the principles of the application and including such departures from the present disclosure as come within known or customary practice within the art to which the invention pertains.
It will be understood that the present application is not limited to the precise arrangements described above and shown in the drawings and that various modifications and changes may be made without departing from the scope thereof. The scope of the application is limited only by the appended claims.
Claims (14)
1. A method for controlling playback of a short video, the method comprising:
playing video content and audio content of the short video on a visual interface;
when a comment display instruction is detected, pausing playing of the video content of the short video, wherein the video content of the short video pauses in a video picture corresponding to the time point when the comment display instruction is detected;
displaying the comment content of the short video on the visual interface;
if an audio playing instruction is detected, continuing to play the audio content of the short video from the time point when the video content of the short video is paused;
and if a switching instruction from the comment content to the video content is detected, displaying a video picture when the video content is paused on the visual interface, and continuously playing the audio content of the short video.
2. The method of claim 1, wherein after the visual interface displays the commentary content of the short video, further comprising:
and displaying an audio playing control button on the visual interface, and acquiring an audio playing instruction if the audio playing control button is detected to be triggered.
3. The method of claim 1, wherein after the visual interface displays the commentary content of the short video, further comprising:
collecting voice data, and performing text recognition on the voice data;
and if the identification result comprises the keywords of the audio playing, acquiring an audio playing instruction.
4. The method of claim 3, wherein the collecting voice data comprises:
and displaying a voice acquisition button on the visual interface, and acquiring voice data if the voice acquisition button is triggered.
5. The method of claim 1, wherein the paused video playback screen comprises a video playback control button;
after the visual interface displays the picture when the video content is paused, the method further comprises the following steps:
and if the video playing control button is detected to be triggered, starting to play the video content and the audio content of the short video from the time point when the video content is paused.
6. The method of claim 2, wherein prior to the displaying the commentary content of the short video by the visual interface, further comprising: and hiding the audio playing control button.
7. A playback control apparatus for short video, the apparatus comprising:
the playing module is configured to play the video content and the audio content of the short video on the visual interface;
the control module is configured to pause playing of the video content of the short video when a comment display instruction is detected, and the video content of the short video pauses the video picture corresponding to the time point when the comment display instruction is detected; displaying the comment content of the short video on the visual interface;
the playing module is further configured to continue playing the audio content of the short video from a time point when the video content of the short video is paused if the audio playing instruction is detected;
the playing module is further configured to display a video picture when the video content is paused on the visual interface and continue to play the audio content of the short video if a switching instruction from the comment content to the video content is detected.
8. The apparatus of claim 7, wherein the control module is further configured to display an audio playing control button on the visual interface after the visual interface displays the comment content of the short video, and acquire an audio playing instruction if the audio playing control button is detected to be triggered.
9. The apparatus of claim 7, wherein the control module is further configured to collect voice data after the visual interface displays the comment content of the short video, and perform text recognition on the voice data; and if the identification result comprises the keywords of the audio playing, acquiring an audio playing instruction.
10. The apparatus of claim 9, wherein the control module is configured to display a voice capture button on the visual interface, and capture voice data if the voice capture button is detected to be triggered.
11. The apparatus of claim 7, wherein the paused video playback screen comprises a video playback control button;
the playing module is further configured to start playing the video content and the audio content of the short video from a time point when the video content is paused if it is detected that the video playing control button is triggered.
12. The apparatus of claim 8, wherein the control module is further configured to hide the audio playback control button before the visual interface displays the commentary content of the short video.
13. A playback control apparatus for short video, comprising:
a processor;
a memory for storing processor-executable instructions;
wherein the processor is configured to execute a play control method of short video according to any one of claims 1 to 6.
14. A non-transitory computer-readable storage medium, wherein instructions in the storage medium, when executed by a processor of a mobile terminal, enable the mobile terminal to perform a short video playback control method as claimed in any one of claims 1 to 6.
Priority Applications (1)
| Application Number | Priority Date | Filing Date | Title |
|---|---|---|---|
| CN201910231946.1A CN109982129B (en) | 2019-03-26 | 2019-03-26 | Short video playing control method and device and storage medium |
Applications Claiming Priority (1)
| Application Number | Priority Date | Filing Date | Title |
|---|---|---|---|
| CN201910231946.1A CN109982129B (en) | 2019-03-26 | 2019-03-26 | Short video playing control method and device and storage medium |
Publications (2)
| Publication Number | Publication Date |
|---|---|
| CN109982129A CN109982129A (en) | 2019-07-05 |
| CN109982129B true CN109982129B (en) | 2021-07-16 |
Family
ID=67080610
Family Applications (1)
| Application Number | Title | Priority Date | Filing Date |
|---|---|---|---|
| CN201910231946.1A Active CN109982129B (en) | 2019-03-26 | 2019-03-26 | Short video playing control method and device and storage medium |
Country Status (1)
| Country | Link |
|---|---|
| CN (1) | CN109982129B (en) |
Families Citing this family (4)
| Publication number | Priority date | Publication date | Assignee | Title |
|---|---|---|---|---|
| CN113115096A (en) * | 2021-03-18 | 2021-07-13 | 北京达佳互联信息技术有限公司 | Interface information switching method and device, electronic equipment and storage medium |
| CN113763919B (en) * | 2021-09-29 | 2023-09-05 | 北京字跳网络技术有限公司 | A video display method, device, computer equipment and storage medium |
| CN114385108B (en) * | 2021-12-23 | 2024-03-22 | 咪咕音乐有限公司 | Comment display method, device and storage medium during music playback |
| CN115314747B (en) * | 2022-08-02 | 2024-03-08 | 北京字跳网络技术有限公司 | Method and device for controlling media content, electronic equipment and storage medium |
Citations (3)
| Publication number | Priority date | Publication date | Assignee | Title |
|---|---|---|---|---|
| CN102780921A (en) * | 2011-05-10 | 2012-11-14 | 华为终端有限公司 | Method, system and device for acquiring review information during watching programs |
| CN104883622A (en) * | 2015-06-23 | 2015-09-02 | 联想(北京)有限公司 | Display processing method and electronic device |
| CN108874266A (en) * | 2018-06-27 | 2018-11-23 | 北京微播视界科技有限公司 | Text playback method, client, terminal and storage medium |
Family Cites Families (1)
| Publication number | Priority date | Publication date | Assignee | Title |
|---|---|---|---|---|
| US20140188997A1 (en) * | 2012-12-31 | 2014-07-03 | Henry Will Schneiderman | Creating and Sharing Inline Media Commentary Within a Network |
-
2019
- 2019-03-26 CN CN201910231946.1A patent/CN109982129B/en active Active
Patent Citations (3)
| Publication number | Priority date | Publication date | Assignee | Title |
|---|---|---|---|---|
| CN102780921A (en) * | 2011-05-10 | 2012-11-14 | 华为终端有限公司 | Method, system and device for acquiring review information during watching programs |
| CN104883622A (en) * | 2015-06-23 | 2015-09-02 | 联想(北京)有限公司 | Display processing method and electronic device |
| CN108874266A (en) * | 2018-06-27 | 2018-11-23 | 北京微播视界科技有限公司 | Text playback method, client, terminal and storage medium |
Also Published As
| Publication number | Publication date |
|---|---|
| CN109982129A (en) | 2019-07-05 |
Similar Documents
| Publication | Publication Date | Title |
|---|---|---|
| CN111079012B (en) | Live broadcast room recommendation method and device, storage medium and terminal | |
| CN108401124B (en) | Video recording method and device | |
| CN109348247B (en) | Method and device for determining audio and video playing time stamp and storage medium | |
| CN111065001B (en) | Video production method, device, equipment and storage medium | |
| CN109144346B (en) | Song sharing method and device and storage medium | |
| CN108391171A (en) | Control method and device, the terminal of video playing | |
| CN107908929A (en) | The method and apparatus of playing audio-fequency data | |
| CN109922356B (en) | Video recommendation method and device and computer-readable storage medium | |
| CN110868642B (en) | Video playing method, device and storage medium | |
| CN110248236B (en) | Video playing method, device, terminal and storage medium | |
| CN109982129B (en) | Short video playing control method and device and storage medium | |
| CN113204672B (en) | Resource display method, device, computer equipment and medium | |
| CN109068008B (en) | Ringtone setting method, device, terminal and storage medium | |
| CN113613053B (en) | Video recommendation method and device, electronic equipment and storage medium | |
| CN111083526B (en) | Video transition method and device, computer equipment and storage medium | |
| CN111741366A (en) | Audio playing method, device, terminal and storage medium | |
| CN111142838A (en) | Audio playing method and device, computer equipment and storage medium | |
| CN111818358A (en) | Audio file playing method and device, terminal and storage medium | |
| CN113407291A (en) | Content item display method, device, terminal and computer readable storage medium | |
| CN110996167A (en) | Method and device for adding subtitles in video | |
| CN107896337B (en) | Information popularization method and device and storage medium | |
| CN111031394A (en) | Video production method, device, equipment and storage medium | |
| CN114245218A (en) | Audio and video playing method and device, computer equipment and storage medium | |
| CN113420172B (en) | Picture sharing method and device, computer equipment and medium | |
| CN113722040A (en) | Work processing method, device, computer equipment and medium |
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 |