CN110798728B - Video playing method, device and storage medium - Google Patents

Video playing method, device and storage medium Download PDF

Info

Publication number
CN110798728B
CN110798728B CN201911078440.8A CN201911078440A CN110798728B CN 110798728 B CN110798728 B CN 110798728B CN 201911078440 A CN201911078440 A CN 201911078440A CN 110798728 B CN110798728 B CN 110798728B
Authority
CN
China
Prior art keywords
video
playing
videos
automatically
area
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
Application number
CN201911078440.8A
Other languages
Chinese (zh)
Other versions
CN110798728A (en
Inventor
李高媛
Current Assignee (The listed assignees may be inaccurate. Google has not performed a legal analysis and makes no representation or warranty as to the accuracy of the list.)
Beijing Xiaomi Mobile Software Co Ltd
Original Assignee
Beijing Xiaomi Mobile Software Co Ltd
Priority date (The priority date 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 date listed.)
Filing date
Publication date
Application filed by Beijing Xiaomi Mobile Software Co Ltd filed Critical Beijing Xiaomi Mobile Software Co Ltd
Priority to CN201911078440.8A priority Critical patent/CN110798728B/en
Publication of CN110798728A publication Critical patent/CN110798728A/en
Application granted granted Critical
Publication of CN110798728B publication Critical patent/CN110798728B/en
Active legal-status Critical Current
Anticipated expiration legal-status Critical

Links

Images

Classifications

    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04NPICTORIAL COMMUNICATION, e.g. TELEVISION
    • H04N21/00Selective content distribution, e.g. interactive television or video on demand [VOD]
    • H04N21/40Client devices specifically adapted for the reception of or interaction with content, e.g. set-top-box [STB]; Operations thereof
    • H04N21/47End-user applications
    • H04N21/472End-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
    • H04N21/47217End-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 for controlling playback functions for recorded or on-demand content, e.g. using progress bars, mode or play-point indicators or bookmarks
    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04NPICTORIAL COMMUNICATION, e.g. TELEVISION
    • H04N21/00Selective content distribution, e.g. interactive television or video on demand [VOD]
    • H04N21/40Client devices specifically adapted for the reception of or interaction with content, e.g. set-top-box [STB]; Operations thereof
    • H04N21/43Processing 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/431Generation of visual interfaces for content selection or interaction; Content or additional data rendering
    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04NPICTORIAL COMMUNICATION, e.g. TELEVISION
    • H04N21/00Selective content distribution, e.g. interactive television or video on demand [VOD]
    • H04N21/40Client devices specifically adapted for the reception of or interaction with content, e.g. set-top-box [STB]; Operations thereof
    • H04N21/43Processing 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/439Processing of audio elementary streams
    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04NPICTORIAL COMMUNICATION, e.g. TELEVISION
    • H04N21/00Selective content distribution, e.g. interactive television or video on demand [VOD]
    • H04N21/40Client devices specifically adapted for the reception of or interaction with content, e.g. set-top-box [STB]; Operations thereof
    • H04N21/47End-user applications
    • H04N21/472End-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
    • H04N21/4728End-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 for selecting a Region Of Interest [ROI], e.g. for requesting a higher resolution version of a selected region
    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04NPICTORIAL COMMUNICATION, e.g. TELEVISION
    • H04N21/00Selective content distribution, e.g. interactive television or video on demand [VOD]
    • H04N21/40Client devices specifically adapted for the reception of or interaction with content, e.g. set-top-box [STB]; Operations thereof
    • H04N21/47End-user applications
    • H04N21/485End-user interface for client configuration

Landscapes

  • Engineering & Computer Science (AREA)
  • Multimedia (AREA)
  • Signal Processing (AREA)
  • Human Computer Interaction (AREA)
  • Databases & Information Systems (AREA)
  • User Interface Of Digital Computer (AREA)

Abstract

The present disclosure relates to a video playback method, a video playback apparatus, and a storage medium. The video playing method comprises the following steps: extracting a local video; sequentially arranging the extracted local videos on a preset video display interface for display; the preset video display interface comprises an automatic playing hot area for automatically playing videos; and automatically playing videos falling into the automatically played hot area videos in the videos which are sequentially arranged in a mute mode. The integration of searching and playing the local video is realized through the method and the device.

Description

Video playing method, device and storage medium
Technical Field
The present disclosure relates to the field of video technologies, and in particular, to a video playing method, apparatus, and storage medium.
Background
With the increasing change in the shooting performance of mobile terminals such as smart phones. More and more users use smartphones to capture and store videos locally. The number of videos stored in the smart phone is increased in a blowout manner, but the interaction mode of local video playing is almost the same as that of stepping on the spot, and the requirement of a user for easily and quickly browsing the local videos cannot be perfectly met.
Disclosure of Invention
To overcome the problems in the related art, the present disclosure provides a video playing method, apparatus, and storage medium.
According to a first aspect of the embodiments of the present disclosure, there is provided a video playing method, including:
extracting a local video; sequentially arranging the extracted local videos on a preset video display interface and displaying the videos; the preset video display interface comprises an automatic playing hot area for automatically playing videos; and automatically playing videos falling into the automatically played hot area videos in the videos which are sequentially arranged in a mute mode.
In one embodiment, the preset video display interface includes a scrolling operation component, which is used to control page scrolling according to a user corresponding operation to update a video displayed on a current page.
The video playing method related to the embodiment of the present disclosure further includes: and monitoring the page scrolling state.
The automatic mute playing of the videos falling into the automatic playing hotspot videos in the videos sequentially arranged comprises the following steps:
and in response to the detection that the page rolling state is rolling stopping, automatically and silently playing the videos falling into the automatically played hot area video in the videos which are sequentially arranged.
In another embodiment, the automatic playing hot zone includes a partial area of an area for presenting videos in the preset video display interface.
The automatic mute playing of the videos falling into the automatic playing hotspot videos in the videos sequentially arranged comprises the following steps:
responding to the video falling into the automatic playing hot area as the first or the last video in the sequentially arranged videos, and correspondingly and automatically playing the first or the last video in a mute manner; or responding to the number of the videos falling into the automatic playing hot area to automatically play the video with the largest area ratio of the video window in the videos in the automatic playing hot area in a mute mode.
In yet another embodiment, the auto-play hotspot includes the entire area of the preset video display interface used for presenting videos.
The automatic mute playing of the videos falling into the automatic playing hotspot videos in the videos sequentially arranged comprises the following steps:
determining that all video windows in the videos which are sequentially arranged fall into the videos in the automatic playing hot area, and automatically playing in a mute mode; and determining the video which finally enters the automatic playing hot area in the at least two videos in response to the fact that at least two videos exist in the videos of which all the video windows fall into the automatic playing hot area, and automatically playing in a mute mode.
In another embodiment, a sound switching control is arranged on a preset video playing interface, and the sound switching control is used for switching between mute and sound playing in response to a user click operation; switching the automatically played video between mute and sound playing in response to detecting the operation of the user for clicking the sound switching control; and/or
The preset video display interface further comprises a click hot area; and when the user clicking operation is detected in response to the user clicking the hot area, displaying and playing the video detail page.
In yet another embodiment, extracting the local video includes:
extracting a local video in a designated folder, and naming the video display interface as the name of the folder;
the designated folder comprises one or a combination of the following folders:
the user uses the folder with the frequency exceeding the set frequency threshold;
the file folder comprises the video files of which the number exceeds a set number threshold; and
and (4) self-defining a folder.
According to a second aspect of the embodiments of the present disclosure, there is provided a video playback apparatus including:
an extraction unit for extracting a local video; the display unit is used for sequentially arranging the extracted local videos on a preset video display interface and displaying the videos; the preset video display interface comprises an automatic playing hot area for automatically playing videos; and the playing unit is used for automatically playing the videos falling into the automatically played hot area video in the videos which are sequentially arranged in a mute manner.
In one embodiment, the preset video display interface includes a scrolling operation component, which is used to control page scrolling according to a user corresponding operation to update a video displayed on a current page.
The video playing device further comprises a monitoring unit, and the monitoring unit is used for monitoring the page rolling state.
The playing unit automatically plays videos falling into the automatically played hot-area video in a mute way in the following modes:
and in response to the detection that the page rolling state is rolling stopping, automatically and silently playing the videos falling into the automatically played hot area video in the videos which are sequentially arranged.
In another embodiment, the automatic playing hot zone includes a partial area of an area for presenting videos in the preset video display interface.
The playing unit automatically plays videos falling into the automatically played hot-area video in a mute way in the following modes:
responding to the video falling into the automatic playing hot area as the first or the last video in the sequentially arranged videos, and correspondingly and automatically playing the first or the last video in a mute manner; or responding to the number of the videos falling into the automatic playing hot area to automatically play the video with the largest area ratio of the video window in the videos in the automatic playing hot area in a mute mode.
In yet another embodiment, the auto-play hotspot includes the entire area of the preset video display interface used for presenting videos.
The playing unit automatically plays videos falling into the automatically played hot-area video in a mute way in the following modes:
determining that all video windows in the videos which are sequentially arranged fall into the videos in the automatic playing hot area, and automatically playing in a mute mode; and determining the video which finally enters the automatic playing hot area in the at least two videos in response to the fact that at least two videos exist in the videos of which all the video windows fall into the automatic playing hot area, and automatically playing in a mute mode.
In another embodiment, a sound switching control is arranged on a preset video playing interface, and the sound switching control is used for switching between mute and sound playing in response to a user click operation; and/or the preset video display interface further comprises a click hot area;
the playing unit is further used for responding to the detected operation of the user on the sound switching control, and switching the automatically played video between mute and sound playing; and/or displaying and playing a video detail page when the operation of the user on the click hot zone is detected.
In another embodiment, the extracting unit extracts the local video by:
extracting a local video in a designated folder, and naming the video display interface as the name of the folder;
the designated folder comprises one or a combination of the following folders: the user uses the folder with the frequency exceeding the set frequency threshold; the file folder comprises the video files of which the number exceeds a set number threshold; and custom folders.
According to a third aspect of the embodiments of the present disclosure, there is provided a video playback apparatus including:
a processor; a memory for storing processor-executable instructions; wherein the processor is configured to execute the first aspect or the video playing method described in any implementation manner of the first aspect.
According to a fourth aspect of the embodiments of the present disclosure, 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 the video playing method of the first aspect or any one of the implementation manners of the first aspect.
The technical scheme provided by the embodiment of the disclosure can have the following beneficial effects: the extracted local videos are sequentially arranged on a preset video display interface to be displayed, and are automatically played in an automatic playing hot area, so that the integration of searching and playing the local videos is realized.
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 disclosure.
Drawings
The accompanying drawings, which are incorporated in and constitute a part of this specification, illustrate embodiments consistent with the present disclosure and together with the description, serve to explain the principles of the disclosure.
FIG. 1 is a schematic diagram illustrating a video seek play interaction, according to an example embodiment.
Fig. 2 is a flow chart illustrating a video playback method according to an example embodiment.
Fig. 3 is a schematic diagram of a video display according to an example embodiment.
Fig. 4 is a schematic diagram illustrating automatic video playback according to an exemplary embodiment.
Fig. 5 is a schematic diagram illustrating a video detail page play according to an example embodiment.
FIG. 6 is a schematic diagram illustrating hot zone disassembly of a page according to an example embodiment.
Fig. 7 is a schematic diagram illustrating codec encoding according to an example embodiment.
Fig. 8 is a block diagram illustrating a video playback device in accordance with an exemplary embodiment.
Fig. 9 is a block diagram illustrating a video playback device in accordance with 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 implementations described in the exemplary embodiments below are not intended to represent all implementations consistent with the present disclosure. Rather, they are merely examples of apparatus and methods consistent with certain aspects of the present disclosure, as detailed in the appended claims.
The video playing method provided by the embodiment of the disclosure is applied to a scene for local video playing on a terminal.
In the related art, a process of playing a local video on a terminal may be as shown in fig. 1. In fig. 1, when local video playing is performed, the following process is adopted: 1. entering a local video stream to search for a target video and clicking, and a user needs to click a video thumbnail on an interface on which the video thumbnail is displayed. 2. And entering a local video preview page. And displaying a play button on the local video preview page, and clicking the play button by a user. 3. And clicking a play button by the user, and pulling up the player to play the local video.
In the process of playing the local video by adopting the interaction mode of clicking the thumbnail and pulling up the player, the following defects exist:
(1) when a user has a demand for continuously playing a plurality of local videos, the use experience is poor, and the operation cost is high.
(2) Due to the small size of the thumbnail, when a plurality of local videos similar to the cover page are available, it is difficult to quickly identify the target video, and the user needs to repeatedly click-play-exit-click-play-exit, so that the operation cost and the time cost are high.
In view of this, the present disclosure provides a video playing method, in which a local video to be played is displayed on a video display interface dedicated to displaying videos in a video queue. The video display interface comprises an automatic playing hotspot for automatically playing the video. When the video falling into the automatic playing hot area exists in the video queue, one video falling into the automatic playing hot area in the automatic playing video queue.
Fig. 2 is a flowchart illustrating a video playing method according to an exemplary embodiment, where the video playing method is used in a terminal, as shown in fig. 2, and includes the following steps.
In step S11, a local video is extracted.
The local video extracted in the present disclosure is the local video in the designated folder. Wherein, the designated folder comprises one or a combination of the following folders: the user uses the folder with the frequency exceeding the set frequency threshold; the file folder comprises the video files of which the number exceeds a set number threshold; and custom folders.
In an example, in the present disclosure, when a folder containing a video to be played by a user is operated by a user with an operation instruction, such as clicking, touching, sliding, and the like, extraction of a local video may be triggered.
In step S12, the extracted local videos are sequentially arranged on a preset video display interface for display.
The video display interface in the present disclosure is an interface that is preset and dedicated to displaying the extracted local video. In one example, a video display interface in the present disclosure displays a name of the video display interface. The name of the video display interface may be the name of a folder from which the local video is extracted.
In the disclosure, the extracted local videos are sequentially arranged and displayed on a video display interface. In an exemplary embodiment, the extracted local videos may be arranged in a reverse order according to the generation time of the extracted local videos and displayed on the video display interface in the present disclosure. Further, when the extracted local videos are sequentially arranged and displayed on the video display interface, shooting places of the local videos can be extracted, the shooting places are displayed on the video display interface, and the extracted local videos are sequentially arranged and displayed according to the shooting places and the generation time. For example, after the local videos of one shooting place are arranged and displayed in the reverse order of the generation time, the local videos of another shooting place are sequentially arranged and displayed in the reverse order of the generation time.
For example, as shown in fig. 3, the name of the video display interface dedicated to displaying the extracted local video is "video", the video generation time is "7 months and 31 days", the shooting location is "guangxi zhuang municipality and sunny city", and the like are displayed on the video display interface in the form of a video queue for the local video shot by the guangxi municipality and sunny city.
Further, in the present disclosure, an auto-play hot area for automatically playing a video is included in the video display interface. The automatic playing hot area has the function of automatically playing the video falling into the area range. The automatic playing hot area comprises a partial area of an area used for presenting videos in a preset video display interface.
When the local video is displayed or played, the size of the display and/or the playing can be adapted according to the length and the width of the local video.
In step S13, one of the auto-play video falling in the auto-play hot video queue is automatically played.
In the present disclosure, an auto-play hotspot is set in the video display interface. If the local videos sequentially arranged and displayed in the video display interface fall into the automatic playing hot area, videos falling into the automatic playing hot area videos in the sequentially arranged videos can be automatically played.
In order to obtain a better human-computer interaction effect, the video display interface is designed to have only one video which is being played. In other words, according to the present disclosure, one of the videos sequentially arranged in the auto play hot zone, which falls into the auto play hot zone video, is automatically played.
Furthermore, in order to further improve the human-computer interaction effect, one of the videos sequentially arranged in the automatic mute playing hot area and the videos falling into the automatic playing hot area can be automatically played.
In this disclosure, the automatic playing hot area may include a partial area of an area for presenting videos in the preset video display interface, where the first video or the last video in the sequentially arranged videos is one, so that when the video falling into the automatic playing hot area is the first video or the last video in the sequentially arranged videos, the first video or the last video is correspondingly played in a mute manner in response to that the video falling into the automatic playing hot area is the first video or the last video in the sequentially arranged videos.
Further, in the present disclosure, for a video located in the middle of the sequentially arranged videos, a situation that the number of videos falling into the automatic playing hot zone is plural may occur. In order to ensure that only one video is played on the video display interface, the video with the largest area ratio of the video window in the plurality of videos in the automatic playing hot area is played in a mute mode automatically in response to the fact that the number of videos falling into the automatic playing hot area is multiple.
For example, as shown in fig. 4, after the user triggers the "record" folder, one of the videos arranged in sequence is automatically played on the video display interface named "record" of the terminal.
In an exemplary embodiment of the present disclosure, a sound switching control is disposed on a video playing interface, and the sound switching control is configured to switch between mute and audio playing in response to a user click operation. As shown in fig. 4. When the fact that a user clicks the sound switching control is detected, in response to the fact that the user clicks the sound switching control, switching between mute and sound playing of the automatically played video is conducted.
Further, in an exemplary embodiment of the present disclosure, a click hot zone is further disposed on the video display interface. And the click hot area is used for responding to the click operation of the user and executing the function corresponding to the click operation. For example, when a user's click operation is detected in response to detecting the user's click on the click hotspot, a video detail page is displayed and played. A schematic diagram of a playing video detail page is shown in fig. 5. In fig. 5, the video detail page includes a video shooting location, "sunny and Shu prefecture of Guilin City", shooting time, video playing progress, and the like. For another example, the sound switching icon corresponding to the sound switching control is set in the click zone. And switching the mute and sound playing of the automatically played video when detecting that the user clicks the sound switching icon in the hot area.
Furthermore, in the exemplary embodiment of the present disclosure, a sliding hot area is further disposed on the video display interface. The sliding hot area is used for responding to the sliding operation of the user and executing the function corresponding to the sliding operation. In an example of the present disclosure, the function corresponding to the sliding operation may be to update the video displayed on the video display interface and the video played in the hot zone automatically. In one implementation, when the sliding hot zone detects a user sliding operation, sequentially arranged videos are displayed in a sliding mode on the video display interface so as to update the currently displayed video on the video display interface.
In an exemplary embodiment of the present disclosure, when a user slides a video display interface, if a video currently being played slides out of an automatic playing hot area, the playing of the video may be stopped and a position where the video is played, that is, a time (hour, minute, second) when the playing is stopped may be recorded. And when the subsequent replay is carried out, continuing the replay from the replay stop time.
The disassembly schematic diagram of the automatic playing hot area, the clicking hot area and the sliding hot area included in the video display page related to the above embodiment of the present disclosure is shown in fig. 6. Referring to FIG. 6, the click hotspot and the auto play hotspot may have overlapping regions. The sliding hot area can be arranged in the frame area of the video display page, so that the sliding operation is convenient.
Further, in an exemplary embodiment of the present disclosure, a scroll operation component is included in the video display interface. The scrolling operation component is used for controlling the page scrolling according to the corresponding operation of the user so as to update the video displayed on the current page. The terminal monitors the page scrolling state. And in response to the detection that the page rolling state is rolling stopping, automatically and silently playing the videos falling into the automatically played hot area video in the videos which are sequentially arranged.
And in response to the fact that the video meets the automatic playing condition and in the video playing process, detecting that the rolling operation is performed on the rolling assembly, so that the currently played video is changed to be not met with the automatic playing condition, and stopping playing the current video. Aiming at the condition that the automatic playing hot area comprises a part of area of the area for presenting the video in the preset video display interface, the automatic playing condition can comprise that the video falls into the automatic playing hot area, and the occupied area of the video in the automatic playing hot area is the largest compared with other videos falling into the automatic playing hot area; for the situation that the automatic playing hot area includes the whole area of the area for presenting the video in the preset video display interface, the automatic playing condition may include that all video windows fall into the automatic playing hot area, and the video entering the automatic playing hot area is the last video to enter the automatic playing hot area compared with other videos falling into the automatic playing hot area.
In another exemplary embodiment of the present disclosure, the auto-play hot zone includes an entire area of an area for presenting a video in the preset video display interface. And when the videos which fall into the videos in the automatic playing hot area in the videos which are sequentially arranged are automatically subjected to mute playing, determining that all video windows fall into the videos in the automatic playing hot area in the videos which are sequentially arranged, and automatically performing mute playing. And determining the video which finally enters the automatic playing hotspot in the at least two videos in response to the existence of at least two videos of which the video windows all fall into the automatic playing hotspot, and automatically playing in a mute mode.
In order to implement the above-mentioned video playing method, the embodiment of the present disclosure may be implemented by using the following upper layer technology logic: a corresponding ItemView component is created for each local video. And acquiring ItemView at a specified position (a local video storage position) through a bearing component Android RecycleView to realize automatic playing of a local video. And judging whether the ItemView is completely visible or not to realize the playing/pausing of the local video in the automatic playing process of the ItemView aiming at the condition that the automatic playing hot area comprises the whole area of the area used for presenting the video in the preset video display interface. For example, if the ItemView is completely visible, the local video corresponding to the ItemView is completely visible. Under the condition that the ItemView part is invisible (some parts exceed the screen), calling a program interface for stopping video playing of a media player installed on the terminal, and pausing playing of a local video corresponding to the invisible ItemView; and aiming at the condition that the automatic playing hot area comprises a partial area of an area used for presenting the video in the preset video display interface, judging whether the ItemView falls into the automatic playing hot area or not in the automatic playing process of the ItemView, and compared with other videos falling into the automatic playing hot area, realizing the playing/pausing of the local video by taking the largest area in the automatic playing hot area.
Further, in the embodiment of the present disclosure, in the local video playing process corresponding to ItemView, the scrolling state of the list reccycloview may be monitored, and the control of local video playing/pausing is realized by monitoring whether the scrolling state of the list reccycloview is in an idle state. If the monitoring shows that the scrolling state of the RecycleView is in a non-idle state, the behavior of starting playing is not called, namely, the local video is paused to be played. Aiming at the condition that an automatic playing hot area comprises the whole area of an area used for presenting videos in a preset video display interface, circularly acquiring all visible ItemView components when the condition that the rolling state of the RecycleView is in an idle state is monitored, and automatically playing local videos; and aiming at the condition that the automatic playing hot area comprises a department area of an area used for presenting videos in a preset video display interface, when the monitored cycleView rolling state is in an idle state, determining the video which falls into the automatic playing hot area and occupies the largest area in the automatic playing hot area to be automatically played.
Further, the codec shown in fig. 7 may be used for local video audio and video coding and decoding in the embodiments of the present disclosure. Referring to fig. 7, the local video file is demultiplexed to obtain video data and audio data. The video data and the audio data are decoded, synchronized and displayed respectively, and the local video can be played finally.
According to the video playing method provided by the embodiment of the disclosure, the extracted local video is displayed on the video display interface in the video queue and automatically played in the automatic playing hot area, so that integration of searching and playing of the local video is realized, the traditional operation experience of separating searching and playing interactively is broken, the user experience is improved, the product interestingness is improved, and the operation cost is reduced. And moreover, by performing sliding operation on the video display page, an interactive mode of automatically playing the target local video after being pulled into the automatic playing hot area is realized, and the user experience is enhanced. The switching between mute and sound playing can be realized, the user requirements under different scenes can be met, and further, the video playing interaction of the folder can be realized by extracting the local files of the folder.
Based on the same conception, the embodiment of the disclosure also provides a video playing device.
It is understood that, in order to implement the above functions, the video playing apparatus provided in the embodiments of the present disclosure includes a hardware structure and/or a software module corresponding to the execution of each function. The disclosed embodiments can be implemented in hardware or a combination of hardware and computer software, in combination with the exemplary elements and algorithm steps disclosed in the disclosed embodiments. Whether a function is performed as hardware or computer software drives hardware depends upon the particular application and design constraints imposed on the solution. Skilled artisans may implement the described functionality in varying ways for each particular application, but such implementation decisions should not be interpreted as causing a departure from the scope of the present disclosure.
Fig. 8 is a block diagram of a video playback device according to an example embodiment. Referring to fig. 8, the video playback apparatus 100 includes an extraction unit 101, a display unit 102, and a playback unit 103.
And the prompting unit 101 is used for extracting the local video. The display unit 102 is configured to sequentially arrange the extracted local videos on a preset video display interface and display the local videos; the preset video display interface comprises an automatic playing hot area for automatically playing videos. And the playing unit 103 is configured to play videos falling into the automatically played hot-area video in the sequentially arranged videos in a mute manner.
In one embodiment, the preset video display interface comprises a scrolling operation component, which is used for controlling page scrolling according to the corresponding operation of the user so as to update the video displayed on the current page. The video playback device 100 further comprises a monitoring unit 104, wherein the monitoring unit 104 is configured to monitor the page scrolling status. The playing unit 103 automatically mute-plays videos falling into the automatically played hot-zone video from among the sequentially arranged videos in response to detecting that the page scrolling state is stop scrolling.
In another embodiment, the automatic playing hot zone includes a partial area of the area for presenting the video in the preset video display interface. The playing unit 103 responds to that the video falling into the automatic playing hot area is the first or the last video in the sequentially arranged videos, and correspondingly automatically plays the first or the last video in a mute manner; or responding to the number of the videos falling into the automatic playing hot area to automatically play the video with the largest area ratio of the video window in the videos in the automatic playing hot area in a mute mode.
In yet another embodiment, the auto-play hotspot includes the entire area of the preset video display interface used for presenting the video. The playing unit 103 determines that all video windows in the sequentially arranged videos fall into the video in the automatic playing hot area, and automatically performs mute playing; and determining the video which finally enters the automatic playing hot area in the at least two videos in response to the fact that at least two videos exist in the videos of which all the video windows fall into the automatic playing hot area, and automatically playing in a mute mode.
In another embodiment, a sound switching control is arranged on the video playing interface, and the sound switching control is used for switching between mute and sound playing in response to a user click operation.
The playing unit 103 is further configured to switch the automatically played video between mute and audio playing in response to detecting an operation of the sound switching control by the user.
In yet another embodiment, a click hot zone is further included on the video display interface.
And the playing unit 103 is further configured to display and play the video detail page in response to detecting the operation of the user on the click hot zone.
In another embodiment, a shooting location and a shooting time of the currently played video are also displayed on the video display interface.
In another embodiment, the extracting unit 101 extracts the local video as follows: the local video in the designated folder is extracted and the video display interface is named as the name of the folder.
The designated folder comprises one or a combination of the following folders: the user uses the folder with the frequency exceeding the set frequency threshold; the file folder comprises the video files of which the number exceeds a set number threshold; and custom folders.
With regard to the apparatus in the above-described embodiment, the specific manner in which each module performs the operation has been described in detail in the embodiment related to the method, and will not be elaborated here.
Fig. 9 is a block diagram illustrating a video playback device 200 according to an example embodiment. For example, the video playback device 200 may be a mobile phone, a computer, a digital broadcast terminal, a messaging device, a game console, a tablet device, a medical device, an exercise device, a personal digital assistant, and the like.
Referring to fig. 9, the video playback device 200 may include one or more of the following components: a processing component 202, a memory 204, a power component 206, a multimedia component 208, an audio component 210, an input/output (I/O) interface 212, a sensor component 214, and a communication component 216.
The processing component 202 generally controls overall operations of the video playback device 200, such as operations associated with display, telephone calls, data communications, camera operations, and recording operations. The processing components 202 may include one or more processors 220 to execute instructions to perform all or a portion of the steps of the methods described above. Further, the processing component 202 can include one or more modules that facilitate interaction between the processing component 202 and other components. For example, the processing component 202 can include a multimedia module to facilitate interaction between the multimedia component 208 and the processing component 202.
Memory 204 is configured to store various types of data to support operation at device 200. Examples of such data include instructions for any application or method operating on the video playback device 200, contact data, phonebook data, messages, pictures, videos, and so forth. The memory 204 may be implemented by any type or combination of volatile or non-volatile memory devices, such as Static Random Access Memory (SRAM), electrically erasable programmable read-only memory (EEPROM), erasable programmable read-only memory (EPROM), programmable read-only memory (PROM), read-only memory (ROM), magnetic memory, flash memory, magnetic or optical disks.
The power component 206 provides power to the various components of the video playback device 200. Power components 206 may include a power management system, one or more power sources, and other components associated with generating, managing, and distributing power for video playback device 200.
The multimedia component 208 includes a screen that provides an output interface between the video playback device 200 and a user. In some embodiments, the screen may include a Liquid Crystal Display (LCD) and a Touch Panel (TP). If the screen includes a touch panel, the screen may be implemented as a touch screen to receive an input signal from a user. The touch panel includes one or more touch sensors to sense touch, slide, and gestures on the touch panel. The touch sensor may not only sense the boundary of a touch or slide action, but also detect the duration and pressure associated with the touch or slide operation. In some embodiments, the multimedia component 208 includes a front facing camera and/or a rear facing camera. The front camera and/or the rear camera may receive external multimedia data when the device 200 is in an operating mode, such as a shooting mode or a video mode. Each front camera and rear camera may be a fixed optical lens system or have a focal length and optical zoom capability.
The audio component 210 is configured to output and/or input audio signals. For example, the audio component 210 includes a Microphone (MIC) configured to receive an external audio signal when the video playback device 200 is in an operating mode, such as a call mode, a recording mode, and a voice recognition mode. The received audio signals may further be stored in the memory 204 or transmitted via the communication component 216. In some embodiments, audio component 210 also includes a speaker for outputting audio signals.
The I/O interface 212 provides an interface between the processing component 202 and peripheral interface modules, which may be keyboards, click wheels, buttons, etc. These buttons may include, but are not limited to: a home button, a volume button, a start button, and a lock button.
The sensor component 214 includes one or more sensors for providing various aspects of status assessment for the video playback device 200. For example, the sensor component 214 may detect an open/closed state of the device 200, a relative positioning of components, such as a display and a keypad of the video playback device 200, a change in position of the video playback device 200 or a component of the video playback device 200, the presence or absence of user contact with the video playback device 200, an orientation or acceleration/deceleration of the video playback device 200, and a change in temperature of the video playback device 200. The sensor assembly 214 may include a proximity sensor configured to detect the presence of a nearby object without any physical contact. The sensor assembly 214 may also include a light sensor, such as a CMOS or CCD image sensor, for use in imaging applications. In some embodiments, the sensor assembly 214 may also include an acceleration sensor, a gyroscope sensor, a magnetic sensor, a pressure sensor, or a temperature sensor.
The communication component 216 is configured to facilitate wired or wireless communication between the video playback device 200 and other devices. The video playback device 200 may access a wireless network based on a communication standard, such as WiFi, 2G or 3G, or a combination thereof. In an exemplary embodiment, the communication component 216 receives a broadcast signal or broadcast related information from an external broadcast management system via a broadcast channel. In an exemplary embodiment, the communication component 216 further includes a Near Field Communication (NFC) module to facilitate short-range communications. For example, the NFC module may be implemented based on Radio Frequency Identification (RFID) technology, infrared data association (IrDA) technology, Ultra Wideband (UWB) technology, Bluetooth (BT) technology, and other technologies.
In an exemplary embodiment, the video playback device 200 may be implemented by one or more Application Specific Integrated Circuits (ASICs), Digital Signal Processors (DSPs), Digital Signal Processing Devices (DSPDs), Programmable Logic Devices (PLDs), Field Programmable Gate Arrays (FPGAs), controllers, micro-controllers, microprocessors, or other electronic components for performing the above-described methods.
In an exemplary embodiment, a non-transitory computer-readable storage medium comprising instructions, such as memory 204 comprising instructions, executable by processor 220 of video playback device 200 to perform the above-described method is also provided. For example, the non-transitory computer readable storage medium may be a ROM, a Random Access Memory (RAM), a CD-ROM, a magnetic tape, a floppy disk, an optical data storage device, and the like.
It is understood that the singular forms "a", "an", and "the" in this disclosure are intended to include the plural forms as well, unless the context clearly indicates otherwise.
It is further to be understood that while operations are depicted in the drawings in a particular order, this is not to be understood as requiring that such operations be performed in the particular order shown or in serial order, or that all illustrated operations be performed, to achieve desirable results. In certain environments, multitasking and parallel processing may be advantageous.
Other embodiments of the disclosure will be apparent to those skilled in the art from consideration of the specification and practice of the disclosure disclosed herein. This application is intended to cover any variations, uses, or adaptations of the disclosure following, in general, the principles of the disclosure and including such departures from the present disclosure as come within known or customary practice within the art to which the disclosure pertains. It is intended that the specification and examples be considered as exemplary only, with a true scope and spirit of the disclosure being indicated by the following claims.
It will be understood that the present disclosure 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 present disclosure is limited only by the appended claims.

Claims (14)

1. A video playback method, comprising:
extracting a local video;
sequentially arranging the extracted local videos on a preset video display interface for display; the preset video display interface comprises an automatic playing hot area for automatically playing videos;
automatically playing videos falling into the automatically played hot area videos in the videos which are sequentially arranged in a mute mode;
when the operation of a user on a click hot area is detected, displaying and playing a video detail page, wherein the click hot area is arranged on the preset video display interface;
the extracting the local video comprises the following steps:
and extracting the local video in the specified folder, and naming the video display interface as the name of the folder.
2. The video playing method according to claim 1, wherein the preset video display interface includes a scrolling operation component for controlling page scrolling according to a corresponding operation of a user to update a video displayed on a current page;
the method further comprises the following steps:
monitoring a page rolling state;
the automatic mute playing of the videos falling into the automatic playing hotspot videos in the videos sequentially arranged comprises the following steps:
and in response to the detection that the page rolling state is rolling stopping, automatically and silently playing the videos falling into the automatically played hot area video in the videos which are sequentially arranged.
3. The video playing method according to claim 1 or 2, wherein the automatic playing hot zone comprises a partial area of an area for presenting videos in the preset video display interface;
the automatic mute playing of the videos falling into the automatic playing hotspot videos in the videos sequentially arranged comprises the following steps:
responding to the video falling into the automatic playing hot area as the first or the last video in the sequentially arranged videos, and correspondingly and automatically playing the first or the last video in a mute manner; or
And responding to the number of the videos falling into the automatic playing hot area to be a plurality of videos, and automatically and silently playing the video with the largest area ratio of the video windows in the plurality of videos in the automatic playing hot area.
4. The video playing method according to claim 1 or 2, wherein the automatic playing hotspot comprises the whole area of the area for presenting the video in the preset video display interface;
the automatic mute playing of the videos falling into the automatic playing hotspot videos in the videos sequentially arranged comprises the following steps:
determining that all video windows in the videos which are sequentially arranged fall into the videos in the automatic playing hot area, and automatically playing in a mute mode;
and determining the video which finally enters the automatic playing hot area in the at least two videos in response to the fact that at least two videos exist in the videos of which all the video windows fall into the automatic playing hot area, and automatically playing in a mute mode.
5. The video playing method according to claim 1 or 2, wherein a sound switching control is provided on the preset video playing interface, and the sound switching control is used for switching between mute and sound playing in response to a user click operation; and switching the mute and sound playing of the automatically played video in response to the detection of the operation of the user for clicking the sound switching control.
6. The video playback method of claim 1, wherein the designated folder comprises one or a combination of the following folders:
the user uses the folder with the frequency exceeding the set frequency threshold;
the file folder comprises the video files of which the number exceeds a set number threshold; and
and (4) self-defining a folder.
7. A video playback apparatus, comprising:
an extraction unit for extracting a local video;
the display unit is used for sequentially arranging the extracted local videos on a preset video display interface and displaying the videos; the preset video display interface comprises an automatic playing hot area for automatically playing videos;
the playing unit is used for automatically playing videos falling into the automatically played hot area videos in the videos which are sequentially arranged in a mute mode, and is also used for displaying and playing a video detail page when the operation of a user on a click hot area is detected, wherein the click hot area is arranged on the preset video display interface;
the extraction unit extracts the local video in the following way:
and extracting the local video in the specified folder, and naming the video display interface as the name of the folder.
8. The video playing device according to claim 7, wherein the preset video display interface includes a scrolling operation component for controlling page scrolling according to a user corresponding operation to update the video displayed on the current page;
the video playing device also comprises a monitoring unit, wherein the monitoring unit is used for monitoring the page rolling state;
the playing unit automatically plays videos falling into the automatically played hot-area video in a mute way in the following modes:
and in response to the detection that the page rolling state is rolling stopping, automatically and silently playing the videos falling into the automatically played hot area video in the videos which are sequentially arranged.
9. The video playback device according to claim 7 or 8, wherein the auto-playback hotspot comprises a partial area of an area of the preset video display interface for presenting video;
the playing unit automatically plays videos falling into the automatically played hot-area video in a mute way in the following modes:
responding to the video falling into the automatic playing hot area as the first or the last video in the sequentially arranged videos, and correspondingly and automatically playing the first or the last video in a mute manner; or
And responding to the number of the videos falling into the automatic playing hot area to be a plurality of videos, and automatically and silently playing the video with the largest area ratio of the video windows in the plurality of videos in the automatic playing hot area.
10. The video playback device according to claim 7 or 8, wherein the auto-playback hotspot includes an entire area of an area for presenting video in the preset video display interface;
the playing unit automatically plays videos falling into the automatically played hot-area video in a mute way in the following modes:
determining that all video windows in the videos which are sequentially arranged fall into the videos in the automatic playing hot area, and automatically playing in a mute mode;
and determining the video which finally enters the automatic playing hot area in the at least two videos in response to the fact that at least two videos exist in the videos of which all the video windows fall into the automatic playing hot area, and automatically playing in a mute mode.
11. The video playing device according to claim 7 or 8, wherein a sound switching control is disposed on the preset video playing interface, and the sound switching control is configured to switch between mute and sound playing in response to a user click operation;
the playing unit is further configured to switch the automatically played video between mute and audio playing in response to detecting that the user operates the sound switching control.
12. The video playback device of claim 7,
the designated folder comprises one or a combination of the following folders:
the user uses the folder with the frequency exceeding the set frequency threshold;
the file folder comprises the video files of which the number exceeds a set number threshold; and
and (4) self-defining a folder.
13. A video playback apparatus, comprising:
a processor;
a memory for storing processor-executable instructions;
wherein the processor is configured to: the video playback method of any of claims 1 to 6 is performed.
14. A non-transitory computer readable storage medium having instructions therein which, when executed by a processor of a mobile terminal, enable the mobile terminal to perform the video playback method of any one of claims 1 to 6.
CN201911078440.8A 2019-11-06 2019-11-06 Video playing method, device and storage medium Active CN110798728B (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN201911078440.8A CN110798728B (en) 2019-11-06 2019-11-06 Video playing method, device and storage medium

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN201911078440.8A CN110798728B (en) 2019-11-06 2019-11-06 Video playing method, device and storage medium

Publications (2)

Publication Number Publication Date
CN110798728A CN110798728A (en) 2020-02-14
CN110798728B true CN110798728B (en) 2022-04-01

Family

ID=69442975

Family Applications (1)

Application Number Title Priority Date Filing Date
CN201911078440.8A Active CN110798728B (en) 2019-11-06 2019-11-06 Video playing method, device and storage medium

Country Status (1)

Country Link
CN (1) CN110798728B (en)

Families Citing this family (4)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN112399238B (en) * 2020-10-28 2023-01-31 维沃移动通信有限公司 Video playing method and device and electronic equipment
CN115079906A (en) * 2021-03-01 2022-09-20 北京字跳网络技术有限公司 Application page display method and device
CN113873320A (en) * 2021-09-28 2021-12-31 北京奇艺世纪科技有限公司 Video playing method and device, terminal equipment and readable storage medium
CN116506695B (en) * 2023-06-26 2023-09-08 北京搜狐新动力信息技术有限公司 Video stream playing method and device

Citations (4)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN105898610A (en) * 2015-10-15 2016-08-24 乐视网信息技术(北京)股份有限公司 Automatic video list playing method and device
CN108712676A (en) * 2018-05-30 2018-10-26 浙江口碑网络技术有限公司 The video automatic broadcasting method and device realized based on React frames
CN108737897A (en) * 2018-05-22 2018-11-02 腾讯科技(深圳)有限公司 Video broadcasting method, device, equipment and storage medium
CN108881998A (en) * 2018-08-13 2018-11-23 北京搜狐新动力信息技术有限公司 A kind of video broadcasting method and device

Family Cites Families (3)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
US20120084105A1 (en) * 2009-06-02 2012-04-05 Boeing Netflyer Information Services Method for selecting a round trip transport service in one click
CN105100897B (en) * 2015-07-23 2018-07-06 小米科技有限责任公司 The control method and device fast played
US20180260481A1 (en) * 2018-04-01 2018-09-13 Yogesh Rathod Displaying search result associated identified or extracted unique identity associated structured contents or structured website

Patent Citations (4)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN105898610A (en) * 2015-10-15 2016-08-24 乐视网信息技术(北京)股份有限公司 Automatic video list playing method and device
CN108737897A (en) * 2018-05-22 2018-11-02 腾讯科技(深圳)有限公司 Video broadcasting method, device, equipment and storage medium
CN108712676A (en) * 2018-05-30 2018-10-26 浙江口碑网络技术有限公司 The video automatic broadcasting method and device realized based on React frames
CN108881998A (en) * 2018-08-13 2018-11-23 北京搜狐新动力信息技术有限公司 A kind of video broadcasting method and device

Also Published As

Publication number Publication date
CN110798728A (en) 2020-02-14

Similar Documents

Publication Publication Date Title
CN110798728B (en) Video playing method, device and storage medium
CN106911961B (en) Multimedia data playing method and device
WO2020057327A1 (en) Information list display method and apparatus, and storage medium
US20170344192A1 (en) Method and device for playing live videos
US20170178289A1 (en) Method, device and computer-readable storage medium for video display
CN106469054B (en) Notification message control method and device and terminal
US20210405952A1 (en) Screen projection method, screen projection device, and storage medium
US10509540B2 (en) Method and device for displaying a message
CN106559712B (en) Video playing processing method and device and terminal equipment
CN110602394A (en) Video shooting method and device and electronic equipment
CN105786507B (en) Display interface switching method and device
EP3136391A1 (en) Method, device and terminal device for video effect processing
US20210258619A1 (en) Method for processing live streaming clips and apparatus, electronic device and computer storage medium
US11545188B2 (en) Video processing method, video playing method, devices and storage medium
CN113065008A (en) Information recommendation method and device, electronic equipment and storage medium
US20220007074A1 (en) Method and apparatus for playing videos, and electronic device and storage medium thereof
CN113382270B (en) Virtual resource processing method and device, electronic equipment and storage medium
CN110392304A (en) A kind of video display method, apparatus, electronic equipment and storage medium
CN108028951A (en) Control the method and device played
CN110636383A (en) Video playing method and device, electronic equipment and storage medium
CN112764636A (en) Video processing method, video processing device, electronic equipment and computer-readable storage medium
CN106919302B (en) Operation control method and device of mobile terminal
CN106303635B (en) Video clip methods of exhibiting and device
CN111381906B (en) Method, device, terminal and storage medium for displaying information in application
CN114356476A (en) Content display method and device, electronic equipment and storage 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