CN106921883B - Video playing processing method and device - Google Patents

Video playing processing method and device Download PDF

Info

Publication number
CN106921883B
CN106921883B CN201710278711.9A CN201710278711A CN106921883B CN 106921883 B CN106921883 B CN 106921883B CN 201710278711 A CN201710278711 A CN 201710278711A CN 106921883 B CN106921883 B CN 106921883B
Authority
CN
China
Prior art keywords
floating window
playing
preset
video file
video
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
CN201710278711.9A
Other languages
Chinese (zh)
Other versions
CN106921883A (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.)
Meizu Telecom Equipment Co ltd
Original Assignee
Meizu Technology 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 Meizu Technology Co Ltd filed Critical Meizu Technology Co Ltd
Priority to CN201710278711.9A priority Critical patent/CN106921883B/en
Publication of CN106921883A publication Critical patent/CN106921883A/en
Application granted granted Critical
Publication of CN106921883B publication Critical patent/CN106921883B/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/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
    • H04N21/4312Generation of visual interfaces for content selection or interaction; Content or additional data rendering involving specific graphical features, e.g. screen layout, special fonts or colors, blinking icons, highlights or animations
    • H04N21/4316Generation of visual interfaces for content selection or interaction; Content or additional data rendering involving specific graphical features, e.g. screen layout, special fonts or colors, blinking icons, highlights or animations for displaying supplemental content in a region of the screen, e.g. an advertisement in a separate window
    • 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/41Structure of client; Structure of client peripherals
    • H04N21/414Specialised client platforms, e.g. receiver in car or embedded in a mobile appliance
    • H04N21/41407Specialised client platforms, e.g. receiver in car or embedded in a mobile appliance embedded in a portable device, e.g. video client on a mobile phone, PDA, laptop
    • 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
    • H04N21/4312Generation of visual interfaces for content selection or interaction; Content or additional data rendering involving specific graphical features, e.g. screen layout, special fonts or colors, blinking icons, highlights or animations
    • 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
    • H04N21/4318Generation of visual interfaces for content selection or interaction; Content or additional data rendering by altering the content in the rendering process, e.g. blanking, blurring or masking an image 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/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/435Processing of additional data, e.g. decrypting of additional data, reconstructing software from modules extracted from the transport stream
    • 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/45Management operations performed by the client for facilitating the reception of or the interaction with the content or administrating data related to the end-user or to the client device itself, e.g. learning user preferences for recommending movies, resolving scheduling conflicts
    • H04N21/462Content or additional data management, e.g. creating a master electronic program guide from data received from the Internet and a Head-end, controlling the complexity of a video stream by scaling the resolution or bit-rate based on the client capabilities

Abstract

The application relates to the technical field of software, in particular to a method and a device for video playing processing, which are used for solving the problems of poor watching experience of a user and waste of network and processing resources. The embodiment of the application provides a method for video playing processing, which comprises the following steps: when a video file is played, determining the initial playing time of the video content preset in the video file; and when the initial playing time is reached, reducing the display interface of the application program playing the video file into a floating window until the preset video content is played.

Description

Video playing processing method and device
Technical Field
The present application relates to the field of software technologies, and in particular, to a method and an apparatus for video playback processing.
Background
With the popularization of internet multimedia technology, watching online video content on a mobile terminal has become an activity that is not negligible in people's daily life. Accordingly, the advertisement insertion in the video playing process also becomes a common advertisement playing mode.
At present, the advertisement inserted in the video is generally set to be not skipped, and the advertisement playing time is long, so that even if the user is not interested in the currently played advertisement, the user needs to stay at the interface of the video playing software currently playing the advertisement, and can continue to watch the video feature after the advertisement is played. In addition, if the user does not want to continue watching the video advertisement, the operation of exiting the video playing software which is currently playing the advertisement is executed, the advertisement will be paused, and when the user opens the video playing software again, the advertisement will continue playing even starting playing from the beginning. The playing mode of the video advertisement often wastes time of the user, so that the watching experience of the user is poor. Playing advertisements from scratch after the user exits can also result in wasted network and processing resources. Based on this, a new advertisement handling scheme is needed.
Disclosure of Invention
The application relates to the technical field of software, in particular to a method and a device for video playing processing, which are used for solving the problems of poor watching experience of a user and waste of network and processing resources.
The embodiment of the application provides a method for video playing processing, which comprises the following steps:
when a video file is played, determining the initial playing time of the video content preset in the video file;
and when the initial playing time is reached, reducing the display interface of the application program playing the video file into a floating window until the preset video content is played.
Optionally, after reducing a display interface of an application program playing the video file to a floating window, the method further includes:
reducing the playing volume of the video file from the current volume to a preset volume;
and after the preset video content is determined to be played, restoring the playing volume of the video file to the current volume.
Optionally, after reducing a display interface of an application program playing the video file to a floating window, the method further includes:
and if a first specified operation for opening other applications except the application is detected, opening the other applications, and floating the floating window in front of display interfaces of the other applications.
Optionally, when the starting playing time is reached, reducing a display interface of an application program that plays the video file to a floating window, including:
when the initial playing time is reached, starting a camera to capture a picture in front of a display screen for playing the video file;
if the fact that the plurality of pictures captured by the camera within the preset time threshold value all contain the specified user characteristics is detected, reducing a display interface of an application program playing the video file into a floating window; wherein the specified user characteristic is a characteristic that characterizes that the user is not looking at the display interface.
Optionally, the method further comprises:
and when preset video content is played in the floating window, if a second specified operation for enlarging the display interface of the floating window is detected, restoring the floating window to the size before reduction.
Optionally, detecting whether there is the second specified operation for the floating window according to:
if preset sliding gesture information for the floating window is acquired, determining that the second specified operation is detected; alternatively, the first and second electrodes may be,
and if the selected operation aiming at the preset button in the floating window is detected, determining that the second specified operation is detected.
The embodiment of the application provides a video playing processing device, which comprises:
the device comprises a determining module, a judging module and a playing module, wherein the determining module is used for determining the initial playing time of the preset video content in the video file when the video file is played;
and the processing module is used for reducing the display interface of the application program playing the video file into a floating window when the initial playing time is reached until the preset video content is played.
Optionally, the processing module is further configured to:
reducing the playing volume of the video file from the current volume to a preset volume after reducing a display interface of an application program playing the video file into a floating window;
and after the preset video content is determined to be played, restoring the playing volume of the video file to the current volume.
Optionally, the processing module is further configured to:
after a display interface of an application program playing the video file is reduced to a floating window, if a first specified operation for opening other application programs except the application program is detected, the other application programs are opened, and the floating window floats in front of the display interfaces of the other application programs.
Optionally, the processing module is specifically configured to:
when the initial playing time is reached, starting a camera to capture a picture in front of a display screen for playing the video file;
if the fact that the plurality of pictures captured by the camera within the preset time threshold value all contain the specified user characteristics is detected, reducing a display interface of an application program playing the video file into a floating window; wherein the specified user characteristic is a characteristic that characterizes that the user is not looking at the display interface.
Optionally, the processing module is further configured to:
and when preset video content is played in the floating window, if a second specified operation for enlarging the display interface of the floating window is detected, restoring the floating window to the size before reduction.
Optionally, the processing module is specifically configured to:
detecting whether there is the second specified operation for the floating window according to: if preset sliding gesture information for the floating window is acquired, determining that the second specified operation is detected; alternatively, the first and second electrodes may be,
and if the selected operation aiming at the preset button in the floating window is detected, determining that the second specified operation is detected.
In the embodiment of the application, when the video file is played, the initial playing time of the preset video content in the video file is determined, and when the initial playing time is reached, the display interface of the application program playing the video file is reduced to the floating window until the preset video content is played. Based on the above manner, when playing the preset video content in the video file, such as the preset advertisement content, the display interface for playing the preset advertisement content can be automatically reduced to the floating window, so that the user can go to other things, such as operating other applications in the terminal, while playing the preset advertisement content in the floating window, without watching the preset advertisement content all the time, thereby improving the watching experience of the user, and playing the preset advertisement content in the floating window until the preset video content is played, thereby effectively avoiding the problem of waste of network and processing resources caused by playing the advertisement from the beginning after the user exits.
Drawings
Fig. 1 is a flowchart of a video playing processing method according to an embodiment of the present application;
fig. 2 is a playing effect diagram before the video playing processing method provided by the embodiment of the present application is adopted;
fig. 3 is a playing effect diagram after the video playing processing method provided by the embodiment of the present application is adopted;
FIG. 4(a) is a schematic view of a first specific operation for starting an application other than an application that is playing a video file according to an embodiment of the present application;
fig. 4(b) is a schematic view of a scene in which another application is started and the floating window is floated before a display interface of the other application according to an embodiment of the present application;
fig. 5 is a schematic view of preset sliding gesture information for a floating window according to an embodiment of the present disclosure;
fig. 6 is a flowchart of a video playing processing method according to a second embodiment of the present application;
fig. 7 is a schematic structural diagram of a video playing processing device according to a third embodiment of the present application.
Detailed Description
In the embodiment of the application, when the video file is played, the initial playing time of the preset video content in the video file is determined, and when the initial playing time is reached, the display interface of the application program playing the video file is reduced to the floating window until the preset video content is played. Based on the above manner, when playing the preset video content in the video file, such as the preset advertisement content, the display interface for playing the preset advertisement content can be automatically reduced to the floating window, so that the user can go to other things, such as operating other applications in the terminal, while playing the preset advertisement content in the floating window, without watching the preset advertisement content all the time, thereby improving the watching experience of the user, and playing the preset advertisement content in the floating window until the preset video content is played, thereby effectively avoiding the problem of waste of network and processing resources caused by playing the advertisement from the beginning after the user exits.
The embodiments of the present application will be described in further detail with reference to the drawings attached hereto.
Example one
As shown in fig. 1, a flowchart of a method for video playing processing provided in an embodiment of the present application includes the following steps:
step 101: when the video file is played, the initial playing time of the video content preset in the video file is determined.
Here, the preset video content may be at least one advertisement content preset in the video file and needing insertion. Moreover, since the video operator sets the time when each advertisement content starts to be played according to the needs of the video operator, the starting playing time of the advertisement content can be determined for each preset advertisement content.
Step 102: and when the initial playing time is reached, reducing the display interface of the application program playing the video file into a floating window until the preset video content is played.
Here, the floating window may refer to a window floating in the terminal screen. The size of the suspension window can be set according to user requirements. Specifically, before performing step 101, the method may further include: displaying a floating window configuration interface; and configuring the size of the floating window according to the received operation instruction of the user on the parameter of the size of the floating window in the floating window configuration interface. Step 102 may be performed as: and when the initial playing time is reached, reducing the display interface of the application program playing the video file to the configured size of the floating window until the preset video content is played. Therefore, the size of the floating window can be configured according to the preference and the requirement of the user, and the application experience of the user is improved.
Of course, in specific implementation, the size of the floating window may also be determined according to the size of the display screen, for example, the size of the floating window may be set as a specified multiple of the size of the display screen by default, where the multiple is smaller than 1.
Here, when the preset video content is at least one preset advertisement content, for each preset advertisement content, when the initial playing time of the advertisement content is reached, the display interface of the application program playing the video file is reduced to a floating window until the preset advertisement content is played completely.
For convenience of understanding, fig. 2 and fig. 3 are used as examples to describe the playing effect diagrams before and after the video playing processing method provided by the embodiment of the present application is adopted.
The display interface 200 is an effect diagram of a display interface of an application program of the video file before the video playing processing method provided by the embodiment of the present application is adopted, and specifically, the display interface 200 of the application program of the video file is displayed in a full screen mode in a screen of the terminal when the preset video content is played.
The floating window 300 is an effect diagram of a display interface of an application program of the video file after the video playing processing method provided by the embodiment of the present application is adopted, and specifically, when a preset video content is played, a display interface displayed in a full screen is reduced to the floating window 300 shown in fig. 3 in a screen of a terminal, and the preset video content is played in the floating window 300. All of 310, 320, and 330 in fig. 3 are buttons, the functions of which will be described later, and are not described again.
Further, in a specific implementation, after the display interface of the application program that plays the video file is reduced to the floating window, the playing volume of the video file may be reduced from the current volume to a preset volume, and after it is determined that the preset video content is completely played, the playing volume of the video file is restored to the current volume. Specifically, the preset volume may be pre-configured according to the actual listening requirement of the user. For example, the preset volume may be set to zero to prevent the playing volume when playing the preset video content from interfering with the user's use of other applications. Of course, after the playing volume of the video file is reduced from the current volume to the preset volume, if an instruction for adjusting the playing volume in the floating window is received in the process of playing the preset video content, the playing volume of the video file may be adjusted from the preset volume to the specified volume indicated in the instruction for adjusting the playing volume in the floating window.
For example, as shown in fig. 3, the user may trigger an instruction for adjusting the volume of the playback in the floating window through buttons 310 and 320 for adjusting the volume preset in the floating window. Wherein button 310 is used to turn up the volume and button 320 is used to turn down the volume. Accordingly, the terminal can adjust the volume of the playing sound in the floating window according to the instruction. Of course, other gesture operations, such as sliding, may be used to adjust the volume. During implementation, the method can be determined according to actual requirements and is suitable for the embodiment of the application.
Further, after the display interface of the application program playing the video file is reduced to the floating window, or after the display interface of the application program playing the video file is reduced to the floating window and the playing volume of the video file is reduced from the current volume to the preset volume, if a first specified operation for opening other application programs except the application program playing the video file is detected, the other application programs are opened, and the floating window is floated in front of the display interfaces of the other application programs. Wherein the first specifying operation of the other application except the application that is playing the video file may be an operation of clicking an icon displayed in the terminal screen by the other application.
For example, as shown in fig. 4(a), after the display interface of the application program of the video playback file is reduced to the floating window, if it is detected that the user clicks an icon corresponding to the "microblog" application program in the screen, the "microblog" application program is opened. Further, as shown in fig. 4(b), the display interface of the "microblog" application program is displayed in a full screen in the screen. Meanwhile, the reduced floating window 300 is placed in front of the display interface of the microblog application program.
In a specific implementation, when the preset video content is played in the floating window, if a second specified operation for enlarging the display interface for the floating window is detected, the floating window is restored to the size before being reduced.
Wherein, whether there is a second specified operation for the floating window can be detected according to the following operations:
the first method is as follows: and detecting whether preset sliding gesture information for the floating window is acquired, and if so, determining that a second specified operation for amplifying the display interface is detected.
Here, the preset sliding gesture information may be gesture motions of two fingers respectively sliding in opposite directions with respect to the floating window. See the schematic diagram of the gesture motion as shown in fig. 5, where the arrow indicates the sliding direction. If the initial state of the display interface of the application program for playing the video file is full-screen display, the display interface is reduced to the floating window, and when preset video content is played in the floating window, if gesture actions that a user slides two fingers in opposite directions respectively for the floating window are detected, preset sliding gesture information for the floating window can be determined to be acquired, and then the floating window is restored to the previous full-screen display interface.
The second method comprises the following steps: and detecting whether a selected operation aiming at a preset button in the floating window exists, and if so, determining that a second specified operation for amplifying the display interface is detected.
Here, referring to the floating window 300 shown in fig. 3, a preset button 330 is pre-configured in the display interface of the floating window, and if the user clicks the preset button 330, it may be determined that a selection operation for the preset button in the floating window is detected, and the floating window is restored to the size before the size reduction, that is, the floating window 300 shown in fig. 3 is restored to the display interface 200 shown in fig. 2.
In a specific implementation, when the preset video content is played in the floating window, for the reduced floating window, after a third specified operation for moving the position of the floating window is detected, the position of the floating window on the terminal screen may be adjusted. Here, the third specifying operation for moving the position of the floating window may be an operation of long-pressing the floating window and dragging the floating window to any position of the terminal screen. For example, if the initial position of the floating window on the terminal screen is the upper right corner after the display interface of the application program for playing the video file is reduced to the floating window, if the operation that the user presses the floating window for a long time and drags the floating window to the lower right corner of the terminal screen is detected, the position of the floating window on the terminal screen is adjusted to the lower right corner. Therefore, the user can adjust the position of the floating window according to the requirement of the user so as to operate or view the content of other application programs.
Further, it is contemplated that video content may be partially of interest to the user and partially of no interest to the user. Therefore, in the implementation, in order to further improve the application experience of the user, only the video content which is not interested by the user is displayed in the floating window. When the starting playing time is reached, reducing a display interface of an application program playing the video file into a floating window, which specifically comprises: when the preset initial playing time of the video content is reached, a camera (such as a front camera) is started to capture a picture in front of a display screen for playing the video file. Here, a time threshold may be preset within which a picture before a display screen on which the video file is played is captured by a camera; then detecting whether a plurality of pictures captured by the camera in the time threshold all contain specified user characteristics or detecting whether the number of the pictures containing the specified user characteristics exceeds a preset number threshold; if so, reducing a display interface of the application program playing the video file into a floating window; and if not, not reducing the display interface of the application program playing the video file into a floating window. The specified user characteristic may be a characteristic that characterizes that the user does not watch the display interface of the application program playing the video file, that is, a characteristic that characterizes that the user does not have an interest in the video content. .
Specifically, the characteristic information of the end user may be recorded in the terminal device in advance, such as a face image of the end user and an eye image of the end user may be captured in advance through a camera. When analyzing whether a plurality of pictures captured by the camera contain characteristics representing that the user does not watch on a display interface of an application program playing the video file, whether a face image of the terminal user exists in the pictures can be detected through a face recognition technology, after the face image of the terminal device user is recognized, whether an eye image of the terminal user exists in the pictures can be further detected, and particularly, whether eyes of the terminal device user in the pictures watch on the terminal device can be detected through an iris recognition technology. If the fact that the user does not watch the terminal equipment is detected, the fact that the picture contains the specified user characteristics can be determined; if it is detected that the user is looking at the terminal device, it may be determined that the screen does not include the specified user feature. In addition, an eyeball tracking technology based on images can be adopted to determine the focus of the eyeballs of the user in front of the display screen, if the focus is on the display screen, it is determined that the picture does not contain the specified user characteristics, and if not, it is determined that the picture contains the specified user characteristics.
Based on this, when playing the preset video content in the video file, such as the preset advertisement content, the display interface for playing the preset advertisement content can be automatically reduced to the floating window, so that the user can do other things while playing the preset advertisement content in the floating window, such as operating other application programs in the terminal, without watching the preset advertisement content all the time, thereby improving the watching experience of the user, and the preset advertisement content is played in the floating window until the preset video content is played, thereby effectively avoiding the problem of waste of network and processing resources caused by playing the advertisement from the beginning after the user exits.
Example two
As shown in fig. 6, a flowchart of a method for processing video playing provided in the second embodiment of the present application includes the following steps:
step 601: and displaying a floating window configuration interface.
Step 602: and configuring the size of the floating window according to the received operation instruction of the user on the parameter of the size of the floating window in the floating window configuration interface.
Step 603: when the video file is played, the initial playing time of the appointed plot section in the video file is determined.
Here, the preset video content may be a corresponding advertisement content, a designated scenario segment in one video file. Before the video file is played, the scenario introduction of each scenario segment contained in the video file can be displayed to the user, the uninterested scenario segment selected by the user is used as the designated scenario segment, and the initial playing time of the designated scenario segment is further determined.
Step 604: and after the initial playing time is reached, reducing the display interface of the application program playing the video file to the configured size of the floating window, and reducing the playing volume of the video file from the current volume to the preset volume.
Step 605: when playing the appointed plot segments in the floating window, judging whether the appointed operation of the display interface of the application program for amplifying the video file aiming at the floating window is detected, if so, executing a step 606; otherwise, step 607 is performed.
Step 606: the floating window is restored to the size before the reduction. And after the display interface of the application program of the video file is restored, automatically restoring the playing volume of the video file from the preset volume to the current volume.
Step 607: and restoring the floating window to the size before reduction until the appointed plot segments are played, and restoring the playing volume of the video file to the current volume from the preset volume after the display interface of the application program of the video file is restored.
When the designated scenario segment is played in the floating window, the other application programs can be started when the designated operation for starting the other application programs except the application program of the video file is detected, and the floating window is floated in front of the display interfaces of the other application programs. Then, in the process of executing step 605 to step 606 or step 605 to step 607, if the screen of the terminal includes the display interfaces of the other applications in addition to the floating window, the display interfaces of the other applications are closed while the floating window is restored to the size before the size reduction, and the other applications are adjusted to the background running state.
If an instruction for adjusting the playing volume in the floating window is received when the specified scenario segment is played in the floating window, and the playing volume of the video file is adjusted from the preset volume to the specified volume indicated in the instruction for adjusting the playing volume in the floating window, then in the process of executing step 605 to step 606 or step 605 to step 607, after the display interface of the application program of the video file is restored, the playing volume of the video file is restored from the specified volume to the current volume.
Based on this, when playing preset video content in a video file, such as preset advertisement content or a specified scenario segment which is not interested by a user, a display interface for playing the advertisement content or the specified scenario segment can be automatically reduced to a floating window, so that the user can do other things, such as operating other application programs in a terminal, while playing the advertisement content or the specified scenario segment in the floating window, without watching the advertisement content or the specified scenario segment all the time, thereby further improving the watching experience of the user.
Based on the same application concept, the embodiment of the present application further provides a video playing processing apparatus corresponding to the video playing processing method, and as the principle of the apparatus for solving the problem is similar to the video playing processing method in the embodiment of the present application, the implementation of the apparatus may refer to the implementation of the method, and repeated details are not repeated.
EXAMPLE III
As shown in fig. 7, a schematic structural diagram of a video playing processing apparatus according to a second embodiment of the present application includes:
a determining module 71, configured to determine, when a video file is played, an initial playing time of video content preset in the video file;
and the processing module 72 is configured to, when the initial playing time is reached, reduce the display interface of the application program that plays the video file to a floating window until the preset video content is played.
Optionally, the processing module 72 is further configured to:
reducing the playing volume of the video file from the current volume to a preset volume after reducing a display interface of an application program playing the video file into a floating window;
and after the preset video content is determined to be played, restoring the playing volume of the video file to the current volume.
Optionally, the processing module 72 is further configured to:
after a display interface of an application program playing the video file is reduced to a floating window, if a first specified operation for opening other application programs except the application program is detected, the other application programs are opened, and the floating window floats in front of the display interfaces of the other application programs.
Optionally, the processing module 72 is specifically configured to:
when the initial playing time is reached, starting a camera to capture a picture in front of a display screen for playing the video file;
if the fact that the plurality of pictures captured by the camera within the preset time threshold value all contain the specified user characteristics is detected, reducing a display interface of an application program playing the video file into a floating window; wherein the specified user characteristic is a characteristic that characterizes that the user is not looking at the display interface.
Optionally, the processing module 72 is further configured to:
and when preset video content is played in the floating window, if a second specified operation for enlarging the display interface of the floating window is detected, restoring the floating window to the size before reduction.
Optionally, the processing module 72 is specifically configured to:
detecting whether there is the second specified operation for the floating window according to: if preset sliding gesture information for the floating window is acquired, determining that the second specified operation is detected; alternatively, the first and second electrodes may be,
and if the selected operation aiming at the preset button in the floating window is detected, determining that the second specified operation is detected.
As will be appreciated by one skilled in the art, embodiments of the present application may be provided as a method, system, or computer program product. Accordingly, the present application may take the form of an entirely hardware embodiment, an entirely software embodiment or an embodiment combining software and hardware aspects. Furthermore, the present application may take the form of a computer program product embodied on one or more computer-usable storage media (including, but not limited to, disk storage, CD-ROM, optical storage, and the like) having computer-usable program code embodied therein.
The present application is described with reference to flowchart illustrations and/or block diagrams of methods, apparatus (systems), and computer program products according to embodiments of the application. It will be understood that each flow and/or block of the flow diagrams and/or block diagrams, and combinations of flows and/or blocks in the flow diagrams and/or block diagrams, can be implemented by computer program instructions. These computer program instructions may be provided to a processor of a general purpose computer, special purpose computer, embedded processor, or other programmable data processing apparatus to produce a machine, such that the instructions, which execute via the processor of the computer or other programmable data processing apparatus, create means for implementing the functions specified in the flowchart flow or flows and/or block diagram block or blocks.
These computer program instructions may also be stored in a computer-readable memory that can direct a computer or other programmable data processing apparatus to function in a particular manner, such that the instructions stored in the computer-readable memory produce an article of manufacture including instruction means which implement the function specified in the flowchart flow or flows and/or block diagram block or blocks.
These computer program instructions may also be loaded onto a computer or other programmable data processing apparatus to cause a series of operational steps to be performed on the computer or other programmable apparatus to produce a computer implemented process such that the instructions which execute on the computer or other programmable apparatus provide steps for implementing the functions specified in the flowchart flow or flows and/or block diagram block or blocks.
While the preferred embodiments of the present application have been described, additional variations and modifications in those embodiments may occur to those skilled in the art once they learn of the basic inventive concepts. Therefore, it is intended that the appended claims be interpreted as including preferred embodiments and all alterations and modifications as fall within the scope of the application.
It will be apparent to those skilled in the art that various changes and modifications may be made in the present application without departing from the spirit and scope of the application. Thus, if such modifications and variations of the present application fall within the scope of the claims of the present application and their equivalents, the present application is intended to include such modifications and variations as well.

Claims (10)

1. A method of video playback processing, the method comprising:
when a video file is played, determining the initial playing time of the video content preset in the video file;
when the initial playing time is reached, starting a camera to capture a picture in front of a display screen for playing the video file;
if the fact that the plurality of pictures captured by the camera within the preset time threshold value all contain the specified user characteristics is detected, reducing a display interface of an application program playing the video file into a floating window until the preset video content is played completely;
wherein the specified user characteristic is a characteristic that characterizes that the user is not looking at the display interface.
2. The method of claim 1, wherein after reducing a display interface of an application playing the video file to a floating window, the method further comprises:
reducing the playing volume of the video file from the current volume to a preset volume;
and after the preset video content is determined to be played, restoring the playing volume of the video file to the current volume.
3. The method of claim 1 or 2, wherein after reducing a display interface of an application playing the video file to a floating window, the method further comprises:
and if a first specified operation for opening other applications except the application is detected, opening the other applications, and floating the floating window in front of display interfaces of the other applications.
4. The method of claim 1 or 2, wherein the method further comprises:
and when preset video content is played in the floating window, if a second specified operation for enlarging the display interface of the floating window is detected, restoring the floating window to the size before reduction.
5. The method of claim 4, wherein detecting whether there is the second specified operation for the floating window is based on:
if preset sliding gesture information for the floating window is acquired, determining that the second specified operation is detected; alternatively, the first and second electrodes may be,
and if the selected operation aiming at the preset button in the floating window is detected, determining that the second specified operation is detected.
6. An apparatus for video playback processing, the apparatus comprising:
the device comprises a determining module, a judging module and a playing module, wherein the determining module is used for determining the initial playing time of the preset video content in the video file when the video file is played;
the processing module is used for starting a camera to capture a picture in front of a display screen for playing the video file when the initial playing time is reached;
if the fact that the plurality of pictures captured by the camera within the preset time threshold value all contain the specified user characteristics is detected, reducing a display interface of an application program playing the video file into a floating window until the preset video content is played completely;
wherein the specified user characteristic is a characteristic that characterizes that the user is not looking at the display interface.
7. The apparatus of claim 6, wherein the processing module is further to:
reducing the playing volume of the video file from the current volume to a preset volume after reducing a display interface of an application program playing the video file into a floating window;
and after the preset video content is determined to be played, restoring the playing volume of the video file to the current volume.
8. The apparatus of claim 6 or 7, wherein the processing module is further to:
after a display interface of an application program playing the video file is reduced to a floating window, if a first specified operation for opening other application programs except the application program is detected, the other application programs are opened, and the floating window floats in front of the display interfaces of the other application programs.
9. The apparatus of claim 6 or 7, wherein the processing module is further to:
and when preset video content is played in the floating window, if a second specified operation for enlarging the display interface of the floating window is detected, restoring the floating window to the size before reduction.
10. The apparatus of claim 9, wherein the processing module is specifically configured to:
detecting whether there is the second specified operation for the floating window according to: if preset sliding gesture information for the floating window is acquired, determining that the second specified operation is detected; alternatively, the first and second electrodes may be,
and if the selected operation aiming at the preset button in the floating window is detected, determining that the second specified operation is detected.
CN201710278711.9A 2017-04-25 2017-04-25 Video playing processing method and device Active CN106921883B (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN201710278711.9A CN106921883B (en) 2017-04-25 2017-04-25 Video playing processing method and device

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN201710278711.9A CN106921883B (en) 2017-04-25 2017-04-25 Video playing processing method and device

Publications (2)

Publication Number Publication Date
CN106921883A CN106921883A (en) 2017-07-04
CN106921883B true CN106921883B (en) 2020-06-05

Family

ID=59568624

Family Applications (1)

Application Number Title Priority Date Filing Date
CN201710278711.9A Active CN106921883B (en) 2017-04-25 2017-04-25 Video playing processing method and device

Country Status (1)

Country Link
CN (1) CN106921883B (en)

Families Citing this family (6)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN107613362A (en) * 2017-10-20 2018-01-19 维沃移动通信有限公司 A kind of video display control method and mobile terminal
CN108200278A (en) * 2017-12-28 2018-06-22 维沃移动通信有限公司 A kind of application operation condition control method and mobile terminal
CN108683938A (en) * 2018-05-11 2018-10-19 Oppo(重庆)智能科技有限公司 Video playing display methods, device, storage medium and terminal device
CN109782968B (en) * 2018-12-18 2020-11-06 维沃移动通信有限公司 Interface adjusting method and terminal equipment
CN112346796A (en) * 2020-09-25 2021-02-09 北京淇瑀信息科技有限公司 Popup window storage display method and device and electronic equipment
CN113613053B (en) * 2021-07-26 2023-03-21 北京达佳互联信息技术有限公司 Video recommendation method and device, electronic equipment and storage medium

Citations (4)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN104661077A (en) * 2015-02-17 2015-05-27 北京影谱互动传媒科技有限公司 Advertisement loading method and device
CN106028124A (en) * 2016-07-04 2016-10-12 北京金山安全软件有限公司 Video playing method and device and electronic equipment
CN106303664A (en) * 2016-10-13 2017-01-04 合信息技术(北京)有限公司 Video broadcasting method and device
CN106412631A (en) * 2016-10-17 2017-02-15 合信息技术(北京)有限公司 Video playing method and device

Family Cites Families (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
US20150326921A1 (en) * 2014-05-08 2015-11-12 Comigo Ltd. System and method for providing an event-driven video/audio content platform

Patent Citations (4)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN104661077A (en) * 2015-02-17 2015-05-27 北京影谱互动传媒科技有限公司 Advertisement loading method and device
CN106028124A (en) * 2016-07-04 2016-10-12 北京金山安全软件有限公司 Video playing method and device and electronic equipment
CN106303664A (en) * 2016-10-13 2017-01-04 合信息技术(北京)有限公司 Video broadcasting method and device
CN106412631A (en) * 2016-10-17 2017-02-15 合信息技术(北京)有限公司 Video playing method and device

Also Published As

Publication number Publication date
CN106921883A (en) 2017-07-04

Similar Documents

Publication Publication Date Title
CN106921883B (en) Video playing processing method and device
US11403509B2 (en) Systems and methods for providing feedback for artificial intelligence-based image capture devices
CN108024079B (en) Screen recording method, device, terminal and storage medium
US9786326B2 (en) Method and device of playing multimedia and medium
WO2017107441A1 (en) Method and device for capturing continuous video pictures
WO2017014800A1 (en) Video editing on mobile platform
CN103747362A (en) Method and device for cutting out video clip
KR20210042952A (en) Image processing method and device, electronic device and storage medium
CN106792147A (en) A kind of image replacement method and device
CN110876079B (en) Video processing method, device and equipment
CN114697721B (en) Bullet screen display method and electronic equipment
CN110996157A (en) Video playing method and device, electronic equipment and machine-readable storage medium
CN106303655A (en) A kind of media content play cuing method and device
CN111078011A (en) Gesture control method and device, computer readable storage medium and electronic equipment
CN113709566B (en) Method, device, equipment and computer storage medium for playing multimedia content
CN111064930B (en) Split screen display method, display terminal and storage device
CN106507201A (en) A kind of video playing control method and device
CN115065874A (en) Video playing method and device, electronic equipment and readable storage medium
CN107438155A (en) Intelligent image image pickup method
CN107529095A (en) A kind of video-splicing method and device
CN111107283A (en) Information display method, electronic equipment and storage medium
CN116092449A (en) Screen brightness determining method and device and electronic equipment
CN112148113A (en) Method and device for playing eye movement multimedia information and display terminal
CN113038218B (en) Video screenshot method, device, equipment and readable storage medium
CN113157178B (en) Information processing method and device

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
TR01 Transfer of patent right

Effective date of registration: 20211119

Address after: 519085, fourth floor, No. 2 Baisha Road, Tangjia Bay, Zhuhai, Guangdong.

Patentee after: Zhuhai Meizu communication equipment Co.,Ltd.

Address before: 519085 Guangdong Zhuhai science and technology innovation coastal Meizu Technology Building

Patentee before: MEIZU TECHNOLOGY Co.,Ltd.

TR01 Transfer of patent right
CP01 Change in the name or title of a patent holder

Address after: 519085, fourth floor, No. 2 Baisha Road, Tangjia Bay, Zhuhai, Guangdong.

Patentee after: Meizu Telecom Equipment Co.,Ltd.

Address before: 519085, fourth floor, No. 2 Baisha Road, Tangjia Bay, Zhuhai, Guangdong.

Patentee before: Zhuhai Meizu communication equipment Co.,Ltd.

CP01 Change in the name or title of a patent holder