CN113038282A - Method, device and storage medium for controlling video playing - Google Patents

Method, device and storage medium for controlling video playing Download PDF

Info

Publication number
CN113038282A
CN113038282A CN202110233067.XA CN202110233067A CN113038282A CN 113038282 A CN113038282 A CN 113038282A CN 202110233067 A CN202110233067 A CN 202110233067A CN 113038282 A CN113038282 A CN 113038282A
Authority
CN
China
Prior art keywords
video
information
controlling
played
time
Prior art date
Legal status (The legal status is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the status listed.)
Pending
Application number
CN202110233067.XA
Other languages
Chinese (zh)
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.)
Individual
Original Assignee
Individual
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 Individual filed Critical Individual
Priority to CN202110233067.XA priority Critical patent/CN113038282A/en
Publication of CN113038282A publication Critical patent/CN113038282A/en
Pending legal-status Critical Current

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/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/442Monitoring of processes or resources, e.g. detecting the failure of a recording device, monitoring the downstream bandwidth, the number of times a movie has been viewed, the storage space available from the internal hard disk
    • H04N21/44213Monitoring of end-user related data
    • H04N21/44218Detecting physical presence or behaviour of the user, e.g. using sensors to detect if the user is leaving the room or changes his face expression during a TV program

Landscapes

  • Health & Medical Sciences (AREA)
  • General Health & Medical Sciences (AREA)
  • Social Psychology (AREA)
  • Engineering & Computer Science (AREA)
  • Computer Networks & Wireless Communication (AREA)
  • Databases & Information Systems (AREA)
  • Multimedia (AREA)
  • Signal Processing (AREA)
  • Two-Way Televisions, Distribution Of Moving Picture Or The Like (AREA)

Abstract

The invention relates to a method for controlling video playing, which is characterized in that when a video is played, first video information of a person watching the video in a real-time state in an acquisition cycle is acquired, and the video being played is controlled according to the first video information. The invention also relates to a device and a storage medium for controlling video playing.

Description

Method, device and storage medium for controlling video playing
Technical Field
The present invention relates to the field of video playing technologies, and in particular, to a method, an apparatus, and a storage medium for controlling video playing.
Background
In the prior art, when all application programs play videos, a user controls the played videos through a keyboard, a mouse or a touch screen, and when the user sleeps or leaves temporarily, the user is likely to forget to pause or close the videos due to inertia, so that the videos can be continuously played due to the fact that the videos are not closed in time.
Disclosure of Invention
The technical problem to be solved by the present invention is to provide a method, an apparatus and a storage medium for controlling video playing, aiming at the defects of the prior art.
The technical scheme for solving the technical problems is as follows:
a method of controlling video playback, the method comprising:
when a video is being played, acquiring first video information of a real-time state of a person watching the video in an acquisition cycle;
and controlling the video being played according to the first video information.
The invention has the beneficial effects that: the method for controlling video playing is provided, when a video is being played, first video information of a person watching the video in a real-time state in an acquisition cycle is acquired, the video being played is controlled according to the first video information, the video being played is controlled according to the state of a user, various operations of the user are not needed, user experience is improved, and meanwhile, when the method is used in a teaching video, the learning effect of the user can be improved.
On the basis of the technical scheme, the invention can be further improved as follows.
Further, the controlling the video being played according to the first video information specifically includes:
acquiring face state information in a frame image at a preset time point position in the first video information in an acquisition cycle;
and controlling the video being played according to the face state information in the frame images at all the preset time points in the first video information.
Further, the acquiring of the face state information in the frame image at the preset time point position in the first video information in an acquisition cycle specifically includes:
and acquiring the face position information or the eye state information in the frame image.
Further, the controlling the video being played according to the face state information in the frame images at all preset time points in the first video information specifically includes:
counting the closing time of the eyes of the person watching the video according to the eye state information in the frame images at all the preset time points;
and when the closing time is longer than the preset time, pausing the video being played.
Further, the controlling the video being played according to the face state information in the frame images at all preset time points in the first video information further includes:
counting the change times of the face position of the person watching the video according to the face position information in the frame images at all the preset time points;
and when the change times are more than the preset times, pausing the video being played. Further, the staff information management system is further configured to send the verification result to the staff to be checked.
Further, after the pausing the video being played, the method further includes:
continuously acquiring second real-time video information of the real-time state of the person watching the video;
counting the eye closing time of the person watching the video in the second real-time video information;
and when the closing time is less than the preset time length, determining the time point of the video for replaying according to the pause position of the video, and starting to play the video from the time point of the replaying.
Further, after the pausing the video being played, the method further includes:
continuously acquiring second real-time video information of the real-time state of the person watching the video;
counting the change times of the face positions of the video watching persons in the second real-time video information;
and when the change times are less than the preset times, determining the time point of the video replay according to the pause position of the video, and starting to play the video from the time point of the replay.
Further, the controlling the video being played according to the first video information further includes:
and when the face information of the person watching the video is not detected from the first video information, pausing playing the video.
Furthermore, the present invention provides a computer device, comprising a memory and a processor, wherein the memory is used for storing at least one instruction, and the processor is used for executing the at least one instruction to implement the method for controlling video playing according to any of the above technical solutions.
The present invention also provides a computer readable storage medium, on which computer instructions are stored, and when the computer instructions are executed by a processor, the method for controlling video playing according to any one of the above technical solutions is implemented.
Advantages of additional aspects of the invention will be set forth in part in the description which follows, and in part will be obvious from the description, or may be learned by practice of the invention.
Drawings
In order to more clearly illustrate the technical solutions of the embodiments of the present invention, the drawings needed to be used in the embodiments of the present invention or in the description of the prior art will be briefly described below, and it is obvious that the drawings described below are only some embodiments of the present invention, and it is obvious for those skilled in the art that other drawings can be obtained according to the drawings without creative efforts.
Fig. 1 is a flowchart illustrating a method for controlling video playback according to an embodiment of the present invention.
Detailed Description
The technical solutions in the embodiments of the present invention will be clearly and completely described below with reference to the drawings in the embodiments of the present invention, and it is obvious that the described embodiments are some, not all, embodiments of the present invention. All other embodiments, which can be obtained by a person skilled in the art without any inventive step based on the embodiments of the present invention, shall fall within the scope of protection of the present invention.
As shown in fig. 1, which is a schematic flow chart of a method for controlling video playing according to an embodiment of the present invention, a method for controlling video playing includes the following steps:
110. when a video is being played, first video information of a real-time state of a person watching the video in a collection period is acquired.
120. And controlling the video being played according to the first video information.
Based on the foregoing embodiment, further, step 120 specifically includes:
acquiring face state information in a frame image at a preset time point position in the first video information in an acquisition cycle;
and controlling the video being played according to the face state information in the frame images at all the preset time points in the first video information.
It should be understood that the video in the present invention may include video played by any application, and the present invention is not limited thereto. In the invention, the first video information of the real-time state of the person watching the video in one acquisition cycle can be acquired by turning on the camera device of the electronic equipment when the electronic equipment plays the video and acquiring the video of the user in real time through the camera device. For example, when a user watches a video by using video software installed in the electronic device, a camera device on the electronic device, such as a front camera of the electronic device, may be turned on at the same time, and a face image of the user may be obtained in real time by using the camera device. Or when the electronic equipment plays the video, the face image of the user is acquired in real time through the camera device communicated with the electronic equipment. For example, in order to obtain a better shooting effect, many users externally connect a camera device such as a sitting-standing external camera to the electronic device, and place the camera device at a position which is considered by the user to have an optimal shooting angle.
Further, the acquiring of the face state information in the frame image at the preset time point position in the first video information in an acquisition cycle specifically includes:
and acquiring the face position information or the eye state information in the frame image.
It should be understood that, in the present invention, the face image may be recognized in any one of, but not limited to: a face recognition method based on geometric features, a face recognition method based on characteristic faces, a face recognition method based on neural networks, a face recognition method based on elastic image matching, a face recognition method based on line segment distances, a face recognition method based on a support vector machine and the like.
Since face recognition is a relatively mature technology, the present invention is not limited as long as the requirements of face recognition in the present application can be met.
Specifically, the face state information refers to a real-time state during face recognition, and after the real-time state is acquired, subsequent operations can be executed according to the real-time state.
Further, the controlling the video being played according to the face state information in the frame images at all preset time points in the first video information specifically includes:
counting the closing time of the eyes of the person watching the video according to the eye state information in the frame images at all the preset time points;
and when the closing time is longer than the preset time, pausing the video being played.
Further, the controlling the video being played according to the face state information in the frame images at all preset time points in the first video information further includes:
counting the change times of the face position of the person watching the video according to the face position information in the frame images at all the preset time points;
and when the change times are more than the preset times, pausing the video being played. Further, the staff information management system is further configured to send the verification result to the staff to be checked.
Further, after the pausing the video being played, the method further includes:
continuously acquiring second real-time video information of the real-time state of the person watching the video;
counting the eye closing time of the person watching the video in the second real-time video information;
and when the closing time is less than the preset time length, determining the time point of the video for replaying according to the pause position of the video, and starting to play the video from the time point of the replaying.
Further, after the pausing the video being played, the method further includes:
continuously acquiring second real-time video information of the real-time state of the person watching the video;
counting the change times of the face positions of the video watching persons in the second real-time video information;
and when the change times are less than the preset times, determining the time point of the video replay according to the pause position of the video, and starting to play the video from the time point of the replay.
Further, the controlling the video being played according to the first video information further includes:
and when the face information of the person watching the video is not detected from the first video information, pausing playing the video.
It should be understood that the face state information includes face position information or eye state information, and the state of the viewer can be acquired through the face position information or eye state information includes: away state, return state, sleep state, etc. The video control mode comprises a pause playing state, a start playing state and the like.
Of course, in other embodiments, the video playing may be controlled in other manners, and the present invention is not limited thereto.
The preset duration may include, but is not limited to: 1 minute, 30 seconds, etc. The preset duration may be set by the user in a user-defined manner according to personal habits so as to be closer to the operation of the user, or the preset duration may be configured by the electronic device, which is not limited in the present invention.
It can be understood that many transient or transient states may occur during the process of watching the video, such as when the user takes something by side or when the user changes posture to watch the video due to fatigue, which may cause the state of the user to change, and obviously, in the above case, the video does not need to be operated accordingly. Through the embodiment, the video can be controlled only when the duration time of the state of the user reaches the preset condition, so that the situation that the electronic equipment still performs meaningless operation when the electronic equipment does not need to respond is avoided, and inconvenience is brought to the user.
Specifically, when the user leaves, the video is paused. Through the embodiment, when a user watches the video, if the user leaves suddenly, the playing of the video is paused, otherwise, the user cannot continuously watch the plot in the video, and misses part of the video, so that the watching experience is influenced.
And when the current state is the user return state, starting to play the video, calculating to obtain the time point of playing the video again according to the time point of video pause, and if the video is paused at 30 minutes, returning the video to 25 minutes for playing when the video is played again.
Through the embodiment, if the user is in the leaving state all the time, the video is paused, and at the moment, when the user is detected to be in the returning state again, the video is played, so that the user can directly watch the video without manual operation, and convenience is brought to the user. Such as: when the user goes to take the take-out, the user is in a leaving state, the video is paused, at the moment, when the electronic equipment detects that the user is in a returning state, namely the user takes the meal back, the video is played, the user does not need to click and the like, and the user can eat and watch the video at the same time.
And when the user is in a sleep state, pausing the playing of the video. When the user watches the video, if the user is in a sleep state because the user falls asleep and cannot close the video, the electronic equipment suspends the playing of the video so as to avoid the user missing the playing of the video.
Through the embodiment, the video can be continuously played at the content position missed by the user, so that the user can continuously watch the content at the interrupted position without manually rewinding, not only is the fussy operation effectively avoided, but also the time loss caused by misoperation can be avoided, and the user experience is better.
According to the method for controlling video playing provided by the embodiment, when a video is being played, the first video information of the real-time state of a person watching the video in one acquisition cycle is acquired, and the video being played is controlled according to the first video information, so that the video being played is controlled according to the state of a user, various operations of the user are not required, the user experience is improved, and meanwhile, when the method is used in a teaching video, the learning effect of the user can be improved.
Furthermore, the present invention provides a computer device, comprising a memory and a processor, wherein the memory is used for storing at least one instruction, and the processor is used for executing the at least one instruction to implement the method for controlling video playing according to any of the above technical solutions.
The present invention also provides a computer readable storage medium, on which computer instructions are stored, and when the computer instructions are executed by a processor, the method for controlling video playing according to any one of the above technical solutions is implemented.
In the above embodiments, the descriptions of the respective embodiments have respective emphasis, and reference may be made to the related descriptions of other embodiments for parts that are not described or illustrated in a certain embodiment.
Those of ordinary skill in the art will appreciate that the various illustrative elements and algorithm steps described in connection with the embodiments disclosed herein may be implemented as electronic hardware or combinations of computer software and electronic hardware. Whether such functionality is implemented as hardware or software depends upon the particular application and design constraints imposed on the implementation. 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 invention.
In the embodiments provided in the present invention, it should be understood that the disclosed apparatus/terminal device and method may be implemented in other ways. For example, the above-described embodiments of the apparatus/terminal device are merely illustrative, and for example, the division of the modules or units is only one logical division, and there may be other divisions when actually implemented, for example, a plurality of units or components may be combined or integrated into another system, or some features may be omitted, or not executed. In addition, the shown or discussed mutual coupling or direct coupling or communication connection may be an indirect coupling or communication connection through some interfaces, devices or units, and may be in an electrical, mechanical or other form.
The units described as separate parts may or may not be physically separate, and parts displayed as units may or may not be physical units, may be located in one place, or may be distributed on a plurality of network units. Some or all of the units can be selected according to actual needs to achieve the purpose of the solution of the embodiment.
In addition, functional units in the embodiments of the present invention may be integrated into one processing unit, or each unit may exist alone physically, or two or more units are integrated into one unit. The integrated unit can be realized in a form of hardware, and can also be realized in a form of a software functional unit.
The integrated modules/units, if implemented in the form of software functional units and sold or used as separate products, may be stored in a computer readable storage medium.
Based on such understanding, all or part of the flow of the method according to the embodiments of the present invention may also be implemented by a computer program, which may be stored in a computer-readable storage medium, and when the computer program is executed by a processor, the steps of the method embodiments may be implemented. Wherein the computer program comprises computer program code, which may be in the form of source code, object code, an executable file or some intermediate form, etc. The computer-readable medium may include: any entity or device capable of carrying the computer program code, recording medium, usb disk, removable hard disk, magnetic disk, optical disk, computer Memory, Read-Only Memory (ROM), Random Access Memory (RAM), electrical carrier wave signals, telecommunications signals, software distribution medium, and the like. It should be noted that the computer readable medium may contain other components which may be suitably increased or decreased as required by legislation and patent practice in jurisdictions, for example, in some jurisdictions, computer readable media which may not include electrical carrier signals and telecommunications signals in accordance with legislation and patent practice.
The above-mentioned embodiments are only used for illustrating the technical solutions of the present invention, and not for limiting the same; although the present invention has been described in detail with reference to the foregoing embodiments, it will be understood by those of ordinary skill in the art that: the technical solutions described in the foregoing embodiments may still be modified, or some technical features may be equivalently replaced; such modifications and substitutions do not substantially depart from the spirit and scope of the embodiments of the present invention, and are intended to be included within the scope of the present invention.
While the invention has been described with reference to specific embodiments, it will be understood by those skilled in the art that various changes in form and details may be made therein without departing from the spirit and scope of the invention as defined by the appended claims. Therefore, the protection scope of the present invention shall be subject to the protection scope of the claims.

Claims (10)

1. A method of controlling video playback, the method comprising:
when a video is being played, acquiring first video information of a real-time state of a person watching the video in an acquisition cycle;
and controlling the video being played according to the first video information.
2. The method for controlling video playing according to claim 1, wherein the controlling the video being played according to the first video information specifically includes:
acquiring face state information in a frame image at a preset time point position in the first video information in an acquisition cycle;
and controlling the video being played according to the face state information in the frame images at all the preset time points in the first video information.
3. The method for controlling video playing according to claim 2, wherein the obtaining of the face state information in the frame image at the preset time point in the first video information in an acquisition cycle specifically includes:
and acquiring the face position information or the eye state information in the frame image.
4. The method for controlling video playing according to claim 3, wherein the controlling the video being played according to the face state information in the frame images at all preset time points in the first video information specifically comprises:
counting the closing time of the eyes of the person watching the video according to the eye state information in the frame images at all the preset time points;
and when the closing time is longer than the preset time, pausing the video being played.
5. The method for controlling video playing according to claim 3, wherein the controlling the video being played according to the face state information in the frame images at all the preset time points in the first video information further comprises:
counting the change times of the face position of the person watching the video according to the face position information in the frame images at all the preset time points;
and when the change times are more than the preset times, pausing the video being played.
6. The method of controlling video playback according to claim 4, wherein after pausing the playing video, further comprising:
continuously acquiring second real-time video information of the real-time state of the person watching the video;
counting the eye closing time of the person watching the video in the second real-time video information;
and when the closing time is less than the preset time length, determining the time point of the video for replaying according to the pause position of the video, and starting to play the video from the time point of the replaying.
7. The method of controlling video playback of claim 5, said pausing said video being played back further comprising:
continuously acquiring second real-time video information of the real-time state of the person watching the video;
counting the change times of the face positions of the video watching persons in the second real-time video information;
and when the change times are less than the preset times, determining the time point of the video replay according to the pause position of the video, and starting to play the video from the time point of the replay.
8. The method of controlling video playback according to claim 1, said controlling the video being played back according to the first video information, further comprising:
and when the face information of the person watching the video is not detected from the first video information, pausing playing the video.
9. A computer device, comprising a memory for storing at least one instruction and a processor for executing the at least one instruction to implement the method of controlling video playback of any of claims 1-8.
10. A computer-readable storage medium having stored thereon computer instructions, characterized in that: the computer instructions, when executed by a processor, implement a method of controlling video playback as claimed in any of claims 1 to 8.
CN202110233067.XA 2021-03-01 2021-03-01 Method, device and storage medium for controlling video playing Pending CN113038282A (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN202110233067.XA CN113038282A (en) 2021-03-01 2021-03-01 Method, device and storage medium for controlling video playing

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN202110233067.XA CN113038282A (en) 2021-03-01 2021-03-01 Method, device and storage medium for controlling video playing

Publications (1)

Publication Number Publication Date
CN113038282A true CN113038282A (en) 2021-06-25

Family

ID=76465595

Family Applications (1)

Application Number Title Priority Date Filing Date
CN202110233067.XA Pending CN113038282A (en) 2021-03-01 2021-03-01 Method, device and storage medium for controlling video playing

Country Status (1)

Country Link
CN (1) CN113038282A (en)

Cited By (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN114501148A (en) * 2022-02-23 2022-05-13 北京碧云数创科技有限公司 Video information processing method and device

Citations (4)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN103297837A (en) * 2012-02-29 2013-09-11 腾讯科技(深圳)有限公司 Method and device for playing video
CN103383595A (en) * 2012-05-02 2013-11-06 三星电子株式会社 Apparatus and method of controlling mobile terminal based on analysis of user's face
CN103425247A (en) * 2013-06-04 2013-12-04 深圳市中兴移动通信有限公司 User reaction based control terminal and information processing method thereof
CN107613368A (en) * 2017-09-26 2018-01-19 珠海市魅族科技有限公司 Video pause method and apparatus, computer installation and computer-readable recording medium

Patent Citations (4)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN103297837A (en) * 2012-02-29 2013-09-11 腾讯科技(深圳)有限公司 Method and device for playing video
CN103383595A (en) * 2012-05-02 2013-11-06 三星电子株式会社 Apparatus and method of controlling mobile terminal based on analysis of user's face
CN103425247A (en) * 2013-06-04 2013-12-04 深圳市中兴移动通信有限公司 User reaction based control terminal and information processing method thereof
CN107613368A (en) * 2017-09-26 2018-01-19 珠海市魅族科技有限公司 Video pause method and apparatus, computer installation and computer-readable recording medium

Cited By (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN114501148A (en) * 2022-02-23 2022-05-13 北京碧云数创科技有限公司 Video information processing method and device

Similar Documents

Publication Publication Date Title
CN107613368A (en) Video pause method and apparatus, computer installation and computer-readable recording medium
US20170192500A1 (en) Method and electronic device for controlling terminal according to eye action
CN113422977A (en) Live broadcast method and device, computer equipment and storage medium
CN105072327A (en) Eye-closing-preventing person photographing method and device thereof
CN103093124A (en) Method for restricting the usage of electronic equipment and electronic equipment
CN104750387B (en) A kind of information processing method and electronic equipment
CN109188928A (en) Method and apparatus for controlling smart home device
CN101902602A (en) Method, device and terminal for automatically adjusting adult level of television program
US20200413138A1 (en) Adaptive Media Playback Based on User Behavior
CN108616775B (en) Method and device for intelligently capturing picture during video playing, storage medium and intelligent terminal
CN108353202A (en) The mthods, systems and devices for carrying out media content control are detected based on concern
CN108040291A (en) Display device and its standby controlling method and computer-readable recording medium
CN207399418U (en) A kind of TV based on recognition of face
CN109982124A (en) User's scene intelligent analysis method, device and storage medium
CN104007826A (en) Video control method and system based on face movement identification technology
CN105657500A (en) Video playing control method and device
CN106814838A (en) The method and apparatus of terminal auto sleep
CN112399239B (en) Video playing method and device
CN101169897A (en) Multimedia system face checking remote-control system and method, and multimedia system
CN111447497A (en) Intelligent playing device and energy-saving control method thereof
CN113038282A (en) Method, device and storage medium for controlling video playing
CN109168086A (en) A kind of control method of video playback apparatus, system and readable storage medium storing program for executing
CN111182280A (en) Projection method, projection device, sound box equipment and storage medium
US20140298374A1 (en) Video device and method for control and monitoring usage of video device
CN107592570A (en) Screen closing method, device and equipment of video playing 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
RJ01 Rejection of invention patent application after publication

Application publication date: 20210625

RJ01 Rejection of invention patent application after publication