WO2020228538A1 - 截图的方法和移动终端 - Google Patents

截图的方法和移动终端 Download PDF

Info

Publication number
WO2020228538A1
WO2020228538A1 PCT/CN2020/087824 CN2020087824W WO2020228538A1 WO 2020228538 A1 WO2020228538 A1 WO 2020228538A1 CN 2020087824 W CN2020087824 W CN 2020087824W WO 2020228538 A1 WO2020228538 A1 WO 2020228538A1
Authority
WO
WIPO (PCT)
Prior art keywords
screenshot
playback
video
pictures
progress time
Prior art date
Application number
PCT/CN2020/087824
Other languages
English (en)
French (fr)
Inventor
李万兵
Original Assignee
维沃移动通信有限公司
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 维沃移动通信有限公司 filed Critical 维沃移动通信有限公司
Publication of WO2020228538A1 publication Critical patent/WO2020228538A1/zh

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/433Content storage operation, e.g. storage operation in response to a pause request, caching operations
    • H04N21/4334Recording operations
    • 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/47205End-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 manipulating displayed content, e.g. interacting with MPEG-4 objects, editing locally
    • 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

Definitions

  • the present disclosure relates to the field of terminal technology, and more specifically to a method for screenshots and a mobile terminal.
  • the video player usually provides the double-speed playback function.
  • the video screen changes quickly at the time when the user wants to take the screenshot, the user retreats the video one by one, and then manually adjusts the multiple speed to reduce the video playback speed. , And then wait until the expected screen appears before taking a screenshot. After the screenshot is completed, you need to adjust the speed again to adjust the playback speed to the normal playback speed, which results in a very cumbersome process for the entire video screenshot.
  • the purpose of the embodiments of the present disclosure is to provide a screenshot method to solve the cumbersome operation process of video screenshot in the related art.
  • a screenshot method which includes:
  • the first playback moment of the image frame corresponding to the second playback progress time is before the target moment, and N is an integer greater than or equal to 2;
  • the screenshot picture selected by the user among the N screenshot pictures is saved, and the other screenshot pictures among the N screenshot pictures are deleted.
  • a mobile terminal in a second aspect, includes:
  • a processing unit configured to determine the first playback progress time of the target video at a target moment, where the target moment is the moment when the screenshot operation is monitored;
  • the playback unit is configured to play the first played video between the first playback progress time and the second playback progress time in the target video, and take a screenshot during the playback of the first played video, Obtain N screenshot pictures, the first playback moment of the image frame corresponding to the second playback progress time is before the target moment, and N is an integer greater than or equal to 2;
  • the processing unit is further configured to, if the playback unit finishes playing the first played video, pause the playback of the target video, and monitor the first save operation;
  • the processing unit is further configured to, if the first saving operation is monitored, save the screenshot pictures selected by the user among the N screenshot pictures, and delete other screenshot pictures in the N screenshot pictures.
  • a mobile terminal in a third aspect, includes a memory, a processor, and a program stored in the memory and running on the processor, and the program is implemented when the processor is executed.
  • a computer-readable medium having a program stored on the computer-readable storage medium, and when the program is executed by a processor, the steps of the screenshot method described in the first aspect are realized.
  • the mobile terminal monitors the target moment of the screenshot operation, determines the first playback progress time of the target video at the target moment, and plays the target video again in the first playback time progress and the second playback time progress. And take a screenshot during the playback of the first played video. After playing the first played video, pause the played video and monitor the first save operation. After the save operation, save the screenshot pictures selected by the user among the obtained screenshot pictures, and delete the unsaved screenshot pictures.
  • the method of the embodiment of the present disclosure can automatically play back the played video within a period of time after monitoring the user's screenshot operation, and automatically take screenshots during the playback of the played video, so that the user can obtain screenshot pictures from the automatic screenshot Select the screenshot image that meets the expectations and save it. There is no need for the user to adjust the video playback speed to achieve manual screenshots, which greatly simplifies the screenshot operation process.
  • Fig. 1 is a schematic flowchart of a screenshot method according to an embodiment of the present disclosure.
  • Fig. 2 is another schematic flowchart of a screenshot method according to an embodiment of the present disclosure.
  • Fig. 3 is a schematic flowchart of a screenshot method according to a specific embodiment of the present disclosure.
  • Fig. 4 is a schematic structural diagram of a mobile terminal according to an embodiment of the present disclosure.
  • Fig. 5 is another schematic structural diagram of a mobile terminal according to an embodiment of the present disclosure.
  • Fig. 6 is a schematic structural diagram of a mobile terminal according to another embodiment of the present disclosure.
  • Fig. 1 is a schematic flowchart of a screenshot method according to an embodiment of the present disclosure.
  • the method shown in Figure 1 can be executed by a mobile terminal.
  • the method includes:
  • S110 Determine the first playback progress time of the target video at the target moment, where the target moment is the moment when the screenshot operation is monitored.
  • the first playback progress time of the target video at the target moment in S110 can be understood as the current playback progress time at the moment when the mobile terminal monitors the user's screenshot operation.
  • the first playback progress time may be used to characterize the duration of the target video that has been played, that is, the duration of the target video that has been played until the target moment.
  • the target time is 10:00
  • the first playback progress time is 40 minutes.
  • the screenshot operation in S110 may be an operation in which the user presses a screenshot shortcut key.
  • S120 Play the first played video in the target video that is between the first play progress time and the second play progress time, and take a screenshot during the playback of the first played video to obtain N screenshot pictures, and the second play The first playback time of the image frame corresponding to the progress time is before the target time, and N is an integer greater than or equal to 2.
  • the target video is automatically rolled back for a period of time, or understood as rolling back the target video to the image frame corresponding to the second playback progress time.
  • the target video is automatically rolled back for 2 minutes, and the video between 38 minutes and 40 minutes is played again.
  • N is 10. Since, usually, the screenshot picture that the user wants to capture through the screenshot operation is the screenshot picture of the image frame whose playback time is close to the moment when the user performs the screenshot operation. According to the rule that the closer the playback progress time is to the first playback progress time, the smaller the screenshot time interval. It is helpful to take screenshots to the screenshot pictures expected by users.
  • N and the time interval between the first play progress time and the second play progress time are determined by themselves, which is not limited in the embodiment of the present disclosure.
  • the video playback progress time corresponding to each screenshot is recorded at the same time.
  • the first playback progress time is 43 minutes
  • the second playback progress time is 42 minutes
  • the value of N is 6
  • the video playback progress time corresponding to the first screenshot picture is 42 minutes
  • the second screenshot picture corresponds to the video playback
  • the progress time is 42 minutes and 30 seconds
  • the video playback progress time corresponding to the third screenshot picture is 42 minutes 50 seconds
  • the video playback progress time corresponding to the fourth screenshot picture is 42 minutes and 55 seconds
  • the fifth screenshot picture corresponds to the video
  • the playback progress time is 42 minutes and 58 seconds
  • the video playback progress time corresponding to the sixth screenshot picture is 43 minutes.
  • S140 If the first saving operation is monitored, the screenshot picture selected by the user among the N screenshot pictures is saved, and other screenshot pictures among the N screenshot pictures are deleted.
  • the user is only allowed to select one expected screenshot picture, if it is detected that the user has only selected one screenshot picture within a certain period of time, it is determined that the first save operation is monitored. If the user is allowed to select multiple expected screenshot pictures, and it is detected that the user has selected more than 2 screenshot pictures within a certain period of time, it is determined that the first save operation is monitored. If the user is allowed to select at most 2 screenshot pictures, and it is detected that the user has selected two screenshot pictures within a certain period of time, the save button and the continue screenshot button will be presented to the user. If it is detected that the user has selected the save button, it is determined that the second screenshot has been monitored. One save operation.
  • the N screenshot pictures are displayed to the user in the order of the screenshot time from morning to night, so that the user can select the desired one from the N screenshot pictures Screenshot image. For example, you can display N screenshot pictures to the user through a list of pictures that slide left and right.
  • the method described in FIG. 1 further includes:
  • the user is only allowed to select one expected screenshot image, if it is detected that the user has selected 2 screenshot images within a certain period of time, it is determined that the continuous screenshot operation is monitored. If the user is allowed to select multiple expected screenshot pictures, or if the user is allowed to select at most 2 screenshot pictures, if it is detected that the user has selected two screenshot pictures within a certain period of time, the user will be presented with the save button and the continue screenshot button. If it is detected that the user has selected the Continue Screenshot button, it is determined that the Continue Screenshot operation is monitored.
  • S160 Play the second played video between the third play progress time and the fourth play progress time in the target video, and take screenshots during the playback of the second played video to obtain M screenshot pictures, where M is greater than Or an integer equal to 2.
  • first screenshot image and the second screenshot image are not the screenshot images expected by the user, but the playback progress time corresponding to the screenshot image expected by the user is within the third playback progress time and the fourth playback progress time, so the user
  • the first screenshot picture and the second screenshot picture can be selected by continuing the screenshot operation, so that the mobile terminal will play the played video between the third play progress time and the fourth play progress time again, and take screenshots again during the playback process to get more A screenshot picture, so that if the result of a screenshot does not meet the expectations, the user does not need to go through complicated steps to take a screenshot again to obtain a satisfactory screenshot picture.
  • taking a screenshot during the playing of the second played video includes: taking a screenshot during the playing of the second played video according to the target screenshot time interval.
  • the target screenshot time interval here can be set by the user or determined by the mobile terminal itself.
  • M is a preset value, and the mobile terminal may determine the target screenshot time interval based on M, the time interval between the third playback progress time and the fourth playback progress time.
  • the target screenshot time interval is 1 second.
  • the playback speed of the second played video in S160 is lower than the playback speed of the first played video in S120, so that the playback speed of the video that is replayed for the second time can be automatically reduced to increase the speed of the video that meets user expectations. Probability of screenshot picture.
  • the method for judging whether the second save operation is monitored is similar to the aforementioned method for judging whether the first save operation is monitored, and to avoid repetition, it will not be repeated here.
  • the M screenshot pictures are displayed to the user in the order of the moment of the screenshot from morning to night, so that the user can select a screenshot that meets the expectations from the M screenshot pictures. image. For example, you can display N screenshot pictures to the user through a list of pictures that slide left and right.
  • the target video when the second played video is played, the target video may be fast forwarded to the corresponding image frame whose playback progress time is the first playback progress time, or understood as fast forwarding the target video The playback progress time when the user performs the screenshot operation.
  • the screenshot method according to a specific embodiment of the present disclosure will be described in detail below in conjunction with FIG. 3.
  • the method shown in FIG. 3 can be executed by a mobile terminal. As shown in Figure 3, the method includes:
  • S302 Monitor the screenshot operation of the user.
  • S306 Rewind the video for a period of time and reach the playback progress time T0.
  • S308 Automatically replay the video from T0 and perform automatic screenshots at the same time to obtain M screenshot pictures.
  • the video is played to the playback progress time T1, and the screenshot is stopped.
  • the screenshots in the interval T0-T1 are displayed to the user in the form of a list that can slide left and right according to the sequence of the screenshots.
  • S314 Determine whether there is a screenshot picture satisfactory to the user in the list.
  • S320 Determine the playback progress time interval [T2, T3] according to the playback progress time corresponding to the two screenshot pictures.
  • S322 Rewind the video to the playback progress time T2, replay the video, and take an automatic screenshot.
  • the screenshot pictures in the playback progress time interval [T2, T3] are displayed to the user in the form of a list that can slide left and right according to the sequence of the screenshots.
  • S326 Determine a satisfactory screenshot picture selected by the user, and perform the operation in S316.
  • the screenshot method according to the embodiment of the present disclosure is described in detail above with reference to FIGS. 1 to 3.
  • the mobile terminal according to the embodiment of the present disclosure will be described in detail below with reference to FIG. 4.
  • Fig. 4 is a schematic structural diagram of a mobile terminal according to an embodiment of the present disclosure. As shown in FIG. 4, the mobile terminal 40 includes:
  • the processing unit 41 is configured to determine the first playback progress time of the target video at a target moment, where the target moment is the moment when the screenshot operation is monitored;
  • the playing unit 42 is configured to play the first played video in the target video between the first play progress time and the second play progress time, and take a screenshot during the playback of the first played video , Obtain N screenshot pictures, the first playback moment of the image frame corresponding to the second playback progress time is before the target moment, and N is an integer greater than or equal to 2;
  • the processing unit 41 is further configured to, if the playback unit finishes playing the first played video, pause the playback of the target video, and monitor the first save operation;
  • the processing unit 41 is further configured to, if the first saving operation is monitored, save the screenshot pictures selected by the user among the N screenshot pictures, and delete other screenshot pictures in the N screenshot pictures.
  • N is a preset value
  • the playing unit 42 is specifically configured to:
  • processing unit 41 is further configured to:
  • the first save operation is not monitored and the continued screenshot operation is monitored, it is determined that the first screenshot picture and the second screenshot picture related to the continued screenshot operation among the N screenshot pictures, the first screenshot picture Corresponding to the third playback progress time, the second screenshot picture corresponds to the fourth playback progress time;
  • the playing unit 42 is further configured to play a second played video between the third play progress time and the fourth play progress time in the target video, and to play the second played video in the target video. Take screenshots during playback and get M screenshot pictures, where M is an integer greater than or equal to 2;
  • the processing unit 41 is further configured to monitor the second saving operation if the playback unit finishes playing the second played video;
  • the processing unit 41 is further configured to, if the second saving operation is monitored, save the screenshot pictures selected by the user among the M screenshot pictures, and delete other screenshot pictures in the M screenshot pictures .
  • the playing unit 42 is specifically configured to:
  • a screenshot is taken during the playback of the second played video.
  • M is a preset value
  • the processing unit 41 is further configured to:
  • the mobile terminal further includes a display unit 43;
  • the display unit 43 is configured to display the N screenshot pictures to the user in the order of the screenshot time from morning to evening before Anyuan monitors the first save operation, so that the user can view Choosing a screenshot picture that meets expectations among the N screenshot pictures;
  • the M screenshot pictures are displayed to the user in the order of the screenshot time from morning to night, so that the user chooses from the M screenshot pictures to meet expectations Screenshot image of.
  • the playback speed of the second played video is lower than the playback speed of the first played video.
  • the mobile terminal provided by the embodiment of the present disclosure can implement each process implemented by the mobile terminal in the method embodiments of FIGS. 1 to 3, and to avoid repetition, details are not described herein again.
  • the mobile terminal 600 includes but is not limited to: a radio frequency unit 601, a network module 602, an audio output unit 603, an input unit 604, a sensor 605, and a display unit 606, a user input unit 607, an interface unit 608, a memory 609, a processor 610, a power supply 611 and other components.
  • a radio frequency unit 601 for example, a radio frequency unit 601
  • a network module 602 for example, a Wi-Fi Protected Access (WMA)
  • an audio output unit 603 an input unit 604
  • a sensor 605 a sensor
  • a display unit 606 a user input unit 607
  • an interface unit 608 a memory 609
  • a processor 610 a power supply 611 and other components.
  • the mobile terminal may include more or fewer components than those shown in the figure, or combine certain components, or different components. Layout.
  • mobile terminals include, but are not limited to, mobile phones, tablet computers, notebook computers, palmtop computers, vehicle-mounted terminals
  • the processor 610 determines the first playback progress time of the target video at the target moment, where the target moment is the moment when the screenshot operation is monitored; and the target video is played during the first playback progress time and the second playback progress The first played video between the time and the screenshot is taken during the playback of the first played video to obtain N screenshot pictures.
  • the first play time of the image frame corresponding to the second play progress time is in the Before the target time, N is an integer greater than or equal to 2; if the first played video is played, the playback of the target video is paused, and the first save operation is monitored; if the first save operation is monitored, then Save the screenshot pictures selected by the user among the N screenshot pictures, and delete other screenshot pictures in the N screenshot pictures.
  • the radio frequency unit 601 can be used for receiving and sending signals in the process of sending and receiving information or talking. Specifically, after receiving downlink data from the base station, it is processed by the processor 610; Uplink data is sent to the base station.
  • the radio frequency unit 601 includes, but is not limited to, an antenna, at least one amplifier, a transceiver, a coupler, a low noise amplifier, a duplexer, and the like.
  • the radio frequency unit 601 can also communicate with the network and other devices through a wireless communication system.
  • the mobile terminal provides users with wireless broadband Internet access through the network module 602, such as helping users to send and receive emails, browse web pages, and access streaming media.
  • the audio output unit 603 can convert the audio data received by the radio frequency unit 601 or the network module 602 or stored in the memory 609 into audio signals and output them as sounds. Moreover, the audio output unit 603 may also provide audio output related to a specific function performed by the mobile terminal 600 (for example, call signal reception sound, message reception sound, etc.).
  • the audio output unit 603 includes a speaker, a buzzer, a receiver, and the like.
  • the input unit 604 is used to receive audio or video signals.
  • the input unit 604 may include a graphics processing unit (GPU) 6041 and a microphone 6042.
  • the graphics processor 6041 is configured to monitor images of still pictures or videos obtained by an image capture device (such as a camera) in a video capture mode or an image capture mode. Data is processed.
  • the processed image frame can be displayed on the display unit 106.
  • the image frame processed by the graphics processor 6041 may be stored in the memory 609 (or other storage medium) or sent via the radio frequency unit 601 or the network module 602.
  • the microphone 6042 can receive sound, and can process such sound into audio data.
  • the processed audio data can be converted into a format that can be sent to the mobile communication base station via the radio frequency unit 601 for output in the case of a telephone call mode.
  • the mobile terminal 600 also includes at least one sensor 605, such as a light sensor, a motion sensor, and other sensors.
  • the light sensor includes an ambient light sensor and a proximity sensor.
  • the ambient light sensor can adjust the brightness of the display panel 6061 according to the brightness of the ambient light.
  • the proximity sensor can close the display panel 6061 and the display panel when the mobile terminal 600 is moved to the ear. / Or backlight.
  • the accelerometer sensor can detect the magnitude of acceleration in various directions (usually three-axis), and can detect the magnitude and direction of gravity when stationary, and can be used to identify the posture of the mobile terminal (such as horizontal and vertical screen switching, related games , Magnetometer attitude calibration), vibration recognition related functions (such as pedometer, percussion), etc.; sensor 605 can also include fingerprint sensor, pressure sensor, iris sensor, molecular sensor, gyroscope, barometer, hygrometer, thermometer, Infrared sensors, etc., will not be repeated here.
  • the display unit 606 is used to display information input by the user or information provided to the user.
  • the display unit 606 may include a display panel 6061, and the display panel 6061 may be configured in the form of a liquid crystal display (LCD), an organic light-emitting diode (OLED), etc.
  • LCD liquid crystal display
  • OLED organic light-emitting diode
  • the user input unit 607 can be used to receive inputted number or character information, and generate key signal input related to user settings and function control of the mobile terminal.
  • the user input unit 607 includes a touch panel 6071 and other input devices 6072.
  • the touch panel 6071 also called a touch screen, can collect user touch operations on or near it (for example, the user uses any suitable objects or accessories such as fingers, stylus, etc.) on the touch panel 6071 or near the touch panel 6071. operating).
  • the touch panel 6071 may include two parts: a touch detection device and a touch controller.
  • the touch detection device detects the user's touch position, detects the signal brought by the touch operation, and transmits the signal to the touch controller; the touch controller receives the touch information from the touch detection device, converts it into contact coordinates, and then sends it To the processor 410, the command sent by the processor 610 is received and executed.
  • the touch panel 6071 can be implemented in multiple types such as resistive, capacitive, infrared, and surface acoustic wave.
  • the user input unit 607 may also include other input devices 6072.
  • other input devices 6072 may include, but are not limited to, a physical keyboard, function keys (such as volume control buttons, switch buttons, etc.), trackball, mouse, and joystick, which will not be repeated here.
  • the touch panel 6071 may cover the display panel 6061.
  • the touch panel 6071 detects a touch operation on or near it, it is transmitted to the processor 610 to determine the type of the touch event, and then the processor 610 performs The type of touch event provides corresponding visual output on the display panel 6061.
  • the touch panel 6071 and the display panel 6061 are used as two independent components to implement the input and output functions of the mobile terminal, in some embodiments, the touch panel 6071 and the display panel 6061 can be integrated
  • the implementation of the input and output functions of the mobile terminal is not specifically limited here.
  • the interface unit 608 is an interface for connecting an external device with the mobile terminal 600.
  • the external device may include a wired or wireless headset port, an external power source (or battery charger) port, a wired or wireless data port, a memory card port, a port for connecting a device with an identification module, audio input/output (I/O) port, video I/O port, headphone port, etc.
  • the interface unit 408 can be used to receive input (for example, data information, power, etc.) from an external device and transmit the received input to one or more elements in the mobile terminal 400 or can be used to connect to the mobile terminal 600 and external Transfer data between devices.
  • the memory 609 can be used to store software programs and various data.
  • the memory 609 may mainly include a storage program area and a storage data area.
  • the storage program area may store an operating system, an application program required by at least one function (such as a sound playback function, an image playback function, etc.), etc.; Data (such as audio data, phone book, etc.) created by the use of mobile phones.
  • the memory 409 may include a high-speed random access memory, and may also include a non-volatile memory, such as at least one magnetic disk storage device, a flash memory device, or other volatile solid-state storage devices.
  • the processor 610 is the control center of the mobile terminal. It uses various interfaces and lines to connect various parts of the entire mobile terminal. It runs or executes software programs and/or modules stored in the memory 609, and calls data stored in the memory 609. , Perform various functions of the mobile terminal and process data, so as to monitor the mobile terminal as a whole.
  • the processor 610 may include one or more processing units; optionally, the processor 610 may integrate an application processor and a modem processor, where the application processor mainly processes the operating system, user interface, and application programs, etc.
  • the adjustment processor mainly deals with wireless communication. It can be understood that the foregoing modem processor may not be integrated into the processor 610.
  • the mobile terminal 600 may also include a power supply 611 (such as a battery) for supplying power to various components.
  • a power supply 611 such as a battery
  • the power supply 611 may be logically connected to the processor 610 through a power management system, so as to manage charging, discharging, and power consumption through the power management system. Management and other functions.
  • the mobile terminal 600 includes some functional modules not shown, which will not be repeated here.
  • an embodiment of the present disclosure further provides a mobile terminal, including a processor 610, a memory 609, a computer program stored in the memory 609 and running on the processor 610, the computer program being executed by the processor 610
  • a mobile terminal including a processor 610, a memory 609, a computer program stored in the memory 609 and running on the processor 610, the computer program being executed by the processor 610
  • the embodiments of the present disclosure also provide a computer-readable storage medium on which a computer program is stored.
  • a computer program is stored.
  • the computer program is executed by a processor, each process of the foregoing method embodiment is implemented, and the same technical effect can be achieved. To avoid repetition, I won’t repeat them here.
  • the computer-readable storage medium such as read-only memory (Read-Only Memory, ROM), random access memory (Random Access Memory, RAM), magnetic disk or optical disk, etc.
  • the technical solution of the present disclosure essentially or the part that contributes to the existing technology can be embodied in the form of a software product, and the computer software product is stored in a storage medium (such as ROM/RAM, magnetic disk, The optical disc) includes several instructions to make a terminal (which can be a mobile phone, a computer, a server, an air conditioner, or a network device, etc.) execute the methods described in the various embodiments of the present disclosure.
  • a terminal which can be a mobile phone, a computer, a server, an air conditioner, or a network device, etc.

Abstract

本公开提供了一种截图的方法和移动终端,该方法包括:确定目标视频在目标时刻的第一播放进度时间,目标时刻为监听到截图操作的时刻;播放目标视频中处于第一播放进度时间与第二播放进度时间之间的第一已播放视频,并在第一已播放视频的播放过程中进行截图,得到N张截图图片,第二播放进度时间对应的图像帧的首次播放时刻在目标时刻之前,N为大于或等于2的整数;若播放完第一已播放视频,则暂停播放目标视频,并监听第一保存操作;若监听到第一保存操作,则保存N张截图图片中由用户选择的截图图片,并删除N张截图图片中的其他截图图片。

Description

截图的方法和移动终端
相关申请的交叉引用
本申请主张在2019年5月14日在中国提交的中国专利申请号No.201910398199.0的优先权,其全部内容通过引用包含于此。
技术领域
本公开涉及终端技术领域,更具体地涉及截图的方法和移动终端。
背景技术
在日常生活中,用户在观看视频的时候,有时候会希望对视频的画面进行截图。但是因为视频图像变化比较快,在看到某个画面时,再进行截图,往往很难截取到想要的画面。
目前为了提高视频截图的准确率,通常通过视频播放器提供倍速播放功能,当在用户希望截图的时间点视频画面变化较快时,用户先后退视频,再手动进行倍速调整以降低视频的播放速度,然后等到预期画面出现后,再进行截图。截图完成后,需要再次进行倍速调整以将播放速度调整到正常播放速度,导致整个视频截图的过程非常繁琐。
发明内容
本公开实施例的目的是提供一种截图的方法,以解决相关技术中的视频截图的操作过程繁琐的问题。
为解决上述技术问题,本公开实施例是这样实现的:
第一方面,提供了一种截图的方法,该方法包括:
确定目标视频在目标时刻的第一播放进度时间,所述目标时刻为监听到截图操作的时刻;
播放所述目标视频中处于所述第一播放进度时间与第二播放进度时间之间的第一已播放视频,并在所述第一已播放视频的播放过程中进行截图,得到N张截图图片,所述第二播放进度时间对应的图像帧的首次播放时刻在所 述目标时刻之前,N为大于或等于2的整数;
若播放完所述第一已播放视频,则暂停播放所述目标视频,并监听第一保存操作;
若监听到所述第一保存操作,则保存所述N张截图图片中由用户选择的截图图片,并删除所述N张截图图片中的其他截图图片。
第二方面,提供了一种移动终端,该移动终端包括:
处理单元,用于确定目标视频在目标时刻的第一播放进度时间,所述目标时刻为监听到截图操作的时刻;
播放单元,用于播放所述目标视频中处于所述第一播放进度时间与第二播放进度时间之间的第一已播放视频,并在所述第一已播放视频的播放过程中进行截图,得到N张截图图片,所述第二播放进度时间对应的图像帧的首次播放时刻在所述目标时刻之前,N为大于或等于2的整数;
所述处理单元,还用于若所述播放单元播放完所述第一已播放视频,则暂停播放所述目标视频,并监听第一保存操作;
所述处理单元,还用于若监听到所述第一保存操作,则保存所述N张截图图片中由用户选择的截图图片,并删除所述N张截图图片中的其他截图图片。
第三方面,提供了一种移动终端,该移动终端包括:存储器、处理器及存储在所述存储器上并可在所述处理器上运行的程序,所述程序被所述处理器执行时实现如第一方面所述的截图的方法的步骤。
第四方面,提供了一种计算机可读介质,所述计算机可读存储介质上存储有程序,所述程序被处理器执行时实现如第一方面所述的截图的方法的步骤。
在本公开实施例中,移动终端在监听到截图操作的目标时刻,确定目标视频在目标时刻的第一播放进度时间,并且再次播放目标视频中处于第一播放时间进度与第二播放时间进度之间的第一已播放视频,并在第一已播放视频的播放过程中进行截图,在播放完第一已播放视频之后,暂停播放已播放视频,并监听第一保存操作,在监听到第一保存操作之后,保存已获得的截图图片中由用户选择的截图图片,并删除未被保存的截图图片。本公开实施 例的方法,在监听到用户的截图操作后,能够自动回放一段时间内的已播放视频,并在已播放视频的播放过程中自动进行截图,使得用户可以从自动截图获得的截图图片中选择符合预期的截图图片并保存,无需用户通过调整视频播放的倍速实现手动截图,大大简化了截图的操作过程。
附图说明
此处所说明的附图用来提供对本公开的进一步理解,构成本公开的一部分,本公开的示意性实施例及其说明用于解释本公开,并不构成对本公开的不当限定。在附图中:
图1是根据本公开的一个实施例的截图的方法的示意性流程图。
图2是根据本公开的一个实施例的截图的方法的另一示意性流程图。
图3是根据本公开的一个具体实施例的截图的方法的示意性流程图。
图4是根据本公开的一个实施例的移动终端的结构示意图。
图5是根据本公开的一个实施例的移动终端的另一结构示意图。
图6是根据本公开的另一个实施例的移动终端的结构示意图。
具体实施方式
下面将结合本公开实施例中的附图,对本公开实施例中的技术方案进行清楚、完整地描述,显然,所描述的实施例是本公开一部分实施例,而不是全部的实施例。基于本公开中的实施例,本领域普通技术人员在没有作出创造性劳动前提下所获得的所有其他实施例,都属于本公开保护的范围。
图1是根据本公开一个实施例的截图的方法的示意性流程图。图1所示的方法可以由移动终端执行。如图1所示出的,方法包括:
S110,确定目标视频在目标时刻的第一播放进度时间,目标时刻为监听到截图操作的时刻。
可以理解的是,S110中目标视频在目标时刻的第一播放进度时间,可以理解为移动终端在监听到用户的截图操作的时刻的当前播放进度时间。第一播放进度时间可以用于表征目标视频已被播放的时长,即截止到目标时刻,目标视频已被播放的时长。
例如,目标时刻为10:00,第一播放进度时间为40分钟。
S110中的截图操作可以是用户按下截图快捷键的操作。
S120,播放目标视频中处于第一播放进度时间与第二播放进度时间之间的第一已播放视频,并在第一已播放视频的播放过程中进行截图,得到N张截图图片,第二播放进度时间对应的图像帧的首次播放时刻在目标时刻之前,N为大于或等于2的整数。
作为一个例子,在播放第一已播放视频之前,将目标视频自动回滚一段时间,或者理解为,将目标视频回滚到第二播放进度时间对应的图像帧。
例如,第一播放进度时间为40分钟,第二播放进度时间为38分钟,则将目标视频自动回滚2分钟,并再次播放38分钟至40分钟之间的视频。
可选地,N为预设值,S120中的在第一已播放视频的播放过程中进行截图,包括:基于N,按照播放进度时间越接近第一播放进度时间截图时间间隔越小的规则,在第一已播放视频的播放过程中进行截图。例如,N为10。由于,通常用户通过截图操作想要截取到的截图图片是播放时刻接近用户执行截图操作的时刻的图像帧的截图图片,按照播放进度时间越接近第一播放进度时间截图时间间隔越小的规则,有利于截图到用户预期的截图图片。
但可以理解的是,在第一已播放视频的播放过程中进行自动截图时,可以按照固定的截图时间间隔进行截图,这个固定的截图时间间隔可以是用户自行设置的,也可以是移动终端基于N和第一播放进度时间与第二播放进度时间之间的时间间隔自行确定的,本公开实施例对此不作限定。
可选地,在第一已播放视频的播放过程中进行截图时,同时记录每张截图对应的视频播放进度时间。例如,第一播放进度时间为43分钟,第二播放进度时间为42分钟,N的值为6,第一张截图图片对应的视频播放进度时间为42分钟,第二张截图图片对应的视频播放进度时间为42分钟30秒,第三张截图图片对应的视频播放进度时间为42分钟50秒,第四张截图图片对应的视频播放进度时间为42分钟55秒,第五张截图图片对应的视频播放进度时间为42分钟58秒,第六张截图图片对应的视频播放进度时间为43分钟。
S130,若播放完第一已播放视频,则暂停播放目标视频,并监听第一保存操作。
S140,若监听到第一保存操作,则保存N张截图图片中由用户选择的截图图片,并删除N张截图图片中的其他截图图片。
如果只允许用户选择一张预期的截图图片,则如果监测到用户在一定时长内仅选择了一张截图图片,则确定监听到了第一保存操作。如果允许用户选择多张预期的截图图片,且监测到用户在一定时长内选择了大于2张截图图片,则确定监听到了第一保存操作。如果最多允许用户选择2张截图图片,且监测到用户在一定时长内选择了两张截图图片,则向用户呈现保存按键和继续截图按键,若监测到用户选择了保存按键,则确定监听到了第一保存操作。
可选地,在一些实施例中,在监听第一保存操作之前,将N张截图图片按照截图时刻由早到晚的顺序,展示给用户,以便于用户从N张截图图片中选择符合预期的截图图片。例如,可以通过左右滑动的图片列表向用户展示N张截图图片。
在上述所有实施例的基础上,如图2所示出的,图1所述的方法还包括:
S150,若未监听到第一保存操作且监听到继续截图操作,则确定N张截图图片中与继续截图操作相关的第一截图图片和第二截图图片,第一截图图片对应第三播放进度时间,第二截图图片对应第四播放进度时间。
若只允许用户选择一张预期的截图图片,则若监测到用户在一定时长内选择了2张截图图片,则确定监听到了继续截图操作。若允许用户选择多张预期的截图图片,或若最多允许用户选择2张截图图片,则若监测到用户在一定时长内选择了两张截图图片,则向用户呈现保存按键和继续截图按键,若监测到用户选择了继续截图按键,则确定监听到了继续截图操作。
S160,播放目标视频中位于第三播放进度时间和第四播放进度时间之间的第二已播放视频,并在第二已播放视频的播放过程中进行截图,得到M张截图图片,M为大于或等于2的整数。
可以理解的是,第一截图图片和第二截图图片不是用户期望的截图图片,但是用户期望的截图图片对应的播放进度时间在第三播放进度时间和第四播放进度时间之内,由此用户可以通过接续截图操作选择第一截图图片和第二截图图片,使得移动终端再次播放位于第三播放进度时间和第四播放进度时 间之间的已播放视频,并在播放过程中再次截图,得到多张截图图片,从而使得用户在一次截图结果不符合预期的情况下,不需要通过繁杂的步骤重新截图即可以获取到满意的截图图片。
可选地,在S160中,在第二已播放视频的播放过程中进行截图,包括:按照目标截图时间间隔,在第二已播放视频的播放过程中进行截图。通过按照固定的截图时间间隔进行截图,能够提高获取满足用户期望的截图图片的可能性。
这里的目标截图时间间隔可以是用户设置的,也可以是移动终端自己确定的。在一些实施例中,M为预设值,移动终端可以基于M、第三播放进度时间与第四播放进度时间之间的时间间隔,确定目标截图时间间隔。
举例来说,第三播放进度时间与第四播放进度时间之间的时间间隔为4秒,M为3,则可以确定目标截图时间间隔为1秒。
可选地,S160中第二已播放视频的播放速度小于S120中的第一已播放视频的播放速度,由此可以通过自动降低第二次重新播放的视频的播放速度,提高获取满足用户期望的截图图片的概率。
S170,若播放完第二已播放视频,则监听第二保存操作。
需要说明的是,判断是否监听到第二保存操作的方法与前述判断是否监听到第一保存操作的方法类似,为避免重复,在此不再赘述。
可选地,在一些实施例中,在监听第二保存操作之前,将M张截图图片按照截图时刻由早到晚的顺序,展示给用户,以便用户从M张截图图片中选择符合预期的截图图片。例如,可以通过左右滑动的图片列表向用户展示N张截图图片。
可选地,在一些实施例中,在播放完第二已播放视频时,可以将目标视频快进到对应的播放进度时间为第一播放进度时间的图像帧,或者理解为,将目标视频快进到用户执行截图操作的时刻时的播放进度时间。
S180,若监听到第二保存操作,则保存M张截图图片中由用户选择的截图图片,并删除M张截图图片中的其他截图图片。
下面将结合图3详细描述根据本公开一个具体实施例的截图的方法。图3所示的方法可以由移动终端执行。如图3所示出的,方法包括:
S302,监听到用户的截图操作。
S304,停止播放视频,并记录当前的播放进度时间T1。
S306,后退视频一段时间,到达播放进度时间T0。
S308,从T0处开始自动重新播放视频,同时进行自动截图,得到M张截图图片。
在S308中自动截图的方法可参照图1所示的方法中的S120中的截图方法,为避免重复,在此不再赘述。
S310,视频播放到播放进度时间T1,停止截图。
S312,将T0-T1区间内的截图按照截图先后顺序,以可左右滑动的列表的形式展现给用户。
S314,判断列表中是否存在用户满意的截图图片。
S316,若存在,则保存用户满意的截图图片,并删除其他截图图片。
S318,若不存在,则确定用户选择的2张截图图片。
可以理解的是,在S318中,用户认为想要获取到的截图图片介于选择的这2张截图图片之间。
S320,根据这2张截图图片对应的播放进度时间确定播放进度时间区间[T2,T3]。
S322,将视频回退到播放进度时间T2,重新播放视频,并进行自动截图。
在S322中自动截图的方法可参照图1所示的方法中的S160中的截图方法,为避免重复,在此不再赘述。
S324,将播放进度时间区间[T2,T3]内的截图图片按照截图先后顺序,以可左右滑动的列表的形式展现给用户。
S326,确定用户选择的满意的截图图片,并执行S316中的操作。
以上结合图1至图3详细描述了根据本公开实施例的截图的方法。下面将结合图4详细描述根据本公开实施例的移动终端。
图4是根据本公开的一个实施例的移动终端的结构示意图。如图4所示的,移动终端40包括:
处理单元41,用于确定目标视频在目标时刻的第一播放进度时间,所述目标时刻为监听到截图操作的时刻;
播放单元42,用于播放所述目标视频中处于所述第一播放进度时间与第二播放进度时间之间的第一已播放视频,并在所述第一已播放视频的播放过程中进行截图,得到N张截图图片,所述第二播放进度时间对应的图像帧的首次播放时刻在所述目标时刻之前,N为大于或等于2的整数;
所述处理单元41,还用于若所述播放单元播放完所述第一已播放视频,则暂停播放所述目标视频,并监听第一保存操作;
所述处理单元41,还用于若监听到所述第一保存操作,则保存所述N张截图图片中由用户选择的截图图片,并删除所述N张截图图片中的其他截图图片。
在本公开实施例中,可选地,N为预设值;
其中,所述播放单元42具体用于:
基于所述N,按照播放进度时间越接近所述第一已播放时间进度截图时间间隔越小的规则,在所述第一已播放视频的播放过程中进行截图。
可选地,作为一个实施例,所述处理单元41还用于:
若未监听到所述第一保存操作且监听到继续截图操作,则确定所述N张截图图片中与所述继续截图操作相关的第一截图图片和第二截图图片,所述第一截图图片对应第三播放进度时间,所述第二截图图片对应第四播放进度时间;
所述播放单元42,还用于播放所述目标视频中位于所述第三播放进度时间和所述第四播放进度时间之间的第二已播放视频,并在所述第二已播放视频的播放过程中进行截图,得到M张截图图片,M为大于或等于2的整数;
所述处理单元41,还用于若所述播放单元播放完所述第二已播放视频,则监听第二保存操作;
所述处理单元41,还用于若监听到所述第二保存操作,则保存所述M张截图图片中由所述用户选择的截图图片,并删除所述M张截图图片中的其他截图图片。
可选地,作为一个实施例,所述播放单元42具体用于:
按照目标截图时间间隔,在所述第二已播放视频的播放过程中进行截图。
可选地,作为一个实施例,M为预设值,所述处理单元41还用于:
基于所述M、所述第三播放进度时间与所述第四播放进度时间之间的时间间隔,确定所述目标截图时间间隔。
可选地,作为一个实施例,如图5所示出的,所述移动终端还包括显示单元43;
所述显示单元43,用于在所述处理的安远监听第一保存操作之前,将所述N张截图图片按照截图时刻由早到晚的顺序,展示给所述用户,以便所述用户从所述N张截图图片中选择符合预期的截图图片;以及,
在所述处理单元监听第二保存操作之前,将所述M张截图图片按照截图时刻由早到晚的顺序,展示给所述用户,以便所述用户从所述M张截图图片中选择符合预期的截图图片。
可选地,作为一个实施例,所述第二已播放视频的播放速度小于所述第一已播放视频的播放速度。
本公开实施例提供的移动终端能够实现图1至图3的方法实施例中移动终端实现的各个过程,为避免重复,这里不再赘述。
图6为实现本公开各个实施例的一种移动终端的硬件结构示意图,该移动终端600包括但不限于:射频单元601、网络模块602、音频输出单元603、输入单元604、传感器605、显示单元606、用户输入单元607、接口单元608、存储器609、处理器610、以及电源611等部件。本领域技术人员可以理解,图6中示出的移动终端结构并不构成对移动终端的限定,移动终端可以包括比图示更多或更少的部件,或者组合某些部件,或者不同的部件布置。在本公开实施例中,移动终端包括但不限于手机、平板电脑、笔记本电脑、掌上电脑、车载终端、可穿戴设备、以及计步器等。
其中,处理器610,确定目标视频在目标时刻的第一播放进度时间,所述目标时刻为监听到截图操作的时刻;播放所述目标视频中处于所述第一播放进度时间与第二播放进度时间之间的第一已播放视频,并在所述第一已播放视频的播放过程中进行截图,得到N张截图图片,所述第二播放进度时间对应的图像帧的首次播放时刻在所述目标时刻之前,N为大于或等于2的整数;若播放完所述第一已播放视频,则暂停播放所述目标视频,并监听第一保存操作;若监听到所述第一保存操作,则保存所述N张截图图片中由用户 选择的截图图片,并删除所述N张截图图片中的其他截图图片。
应理解的是,本公开实施例中,射频单元601可用于收发信息或通话过程中,信号的接收和发送,具体的,将来自基站的下行数据接收后,给处理器610处理;另外,将上行的数据发送给基站。通常,射频单元601包括但不限于天线、至少一个放大器、收发信机、耦合器、低噪声放大器、双工器等。此外,射频单元601还可以通过无线通信系统与网络和其他设备通信。
移动终端通过网络模块602为用户提供了无线的宽带互联网访问,如帮助用户收发电子邮件、浏览网页和访问流式媒体等。
音频输出单元603可以将射频单元601或网络模块602接收的或者在存储器609中存储的音频数据转换成音频信号并且输出为声音。而且,音频输出单元603还可以提供与移动终端600执行的特定功能相关的音频输出(例如,呼叫信号接收声音、消息接收声音等等)。音频输出单元603包括扬声器、蜂鸣器以及受话器等。
输入单元604用于接收音频或视频信号。输入单元604可以包括图形处理器(Graphics Processing Unit,GPU)6041和麦克风6042,图形处理器6041对在视频捕获模式或图像捕获模式中由图像捕获装置(如摄像头)获得的静态图片或视频的图像数据进行处理。处理后的图像帧可以显示在显示单元106上。经图形处理器6041处理后的图像帧可以存储在存储器609(或其它存储介质)中或者经由射频单元601或网络模块602进行发送。麦克风6042可以接收声音,并且能够将这样的声音处理为音频数据。处理后的音频数据可以在电话通话模式的情况下转换为可经由射频单元601发送到移动通信基站的格式输出。
移动终端600还包括至少一种传感器605,比如光传感器、运动传感器以及其他传感器。具体地,光传感器包括环境光传感器及接近传感器,其中,环境光传感器可根据环境光线的明暗来调节显示面板6061的亮度,接近传感器可在移动终端600移动到耳边时,关闭显示面板6061和/或背光。作为运动传感器的一种,加速计传感器可检测各个方向上(一般为三轴)加速度的大小,静止时可检测出重力的大小及方向,可用于识别移动终端姿态(比如横竖屏切换、相关游戏、磁力计姿态校准)、振动识别相关功能(比如计步 器、敲击)等;传感器605还可以包括指纹传感器、压力传感器、虹膜传感器、分子传感器、陀螺仪、气压计、湿度计、温度计、红外线传感器等,在此不再赘述。
显示单元606用于显示由用户输入的信息或提供给用户的信息。显示单元606可包括显示面板6061,可以采用液晶显示器(Liquid Crystal Display,LCD)、有机发光二极管(Organic Light-Emitting Diode,OLED)等形式来配置显示面板6061。
用户输入单元607可用于接收输入的数字或字符信息,以及产生与移动终端的用户设置以及功能控制有关的键信号输入。具体地,用户输入单元607包括触控面板6071以及其他输入设备6072。触控面板6071,也称为触摸屏,可收集用户在其上或附近的触摸操作(比如用户使用手指、触笔等任何适合的物体或附件在触控面板6071上或在触控面板6071附近的操作)。触控面板6071可包括触摸检测装置和触摸控制器两个部分。其中,触摸检测装置检测用户的触摸方位,并检测触摸操作带来的信号,将信号传送给触摸控制器;触摸控制器从触摸检测装置上接收触摸信息,并将它转换成触点坐标,再送给处理器410,接收处理器610发来的命令并加以执行。此外,可以采用电阻式、电容式、红外线以及表面声波等多种类型实现触控面板6071。除了触控面板6071,用户输入单元607还可以包括其他输入设备6072。具体地,其他输入设备6072可以包括但不限于物理键盘、功能键(比如音量控制按键、开关按键等)、轨迹球、鼠标、操作杆,在此不再赘述。
可选的,触控面板6071可覆盖在显示面板6061上,当触控面板6071检测到在其上或附近的触摸操作后,传送给处理器610以确定触摸事件的类型,随后处理器610根据触摸事件的类型在显示面板6061上提供相应的视觉输出。虽然在图6中,触控面板6071与显示面板6061是作为两个独立的部件来实现移动终端的输入和输出功能,但是在某些实施例中,可以将触控面板6071与显示面板6061集成而实现移动终端的输入和输出功能,具体此处不做限定。
接口单元608为外部装置与移动终端600连接的接口。例如,外部装置可以包括有线或无线头戴式耳机端口、外部电源(或电池充电器)端口、有线或无线数据端口、存储卡端口、用于连接具有识别模块的装置的端口、音频输 入/输出(I/O)端口、视频I/O端口、耳机端口等等。接口单元408可以用于接收来自外部装置的输入(例如,数据信息、电力等等)并且将接收到的输入传输到移动终端400内的一个或多个元件或者可以用于在移动终端600和外部装置之间传输数据。
存储器609可用于存储软件程序以及各种数据。存储器609可主要包括存储程序区和存储数据区,其中,存储程序区可存储操作系统、至少一个功能所需的应用程序(比如声音播放功能、图像播放功能等)等;存储数据区可存储根据手机的使用所创建的数据(比如音频数据、电话本等)等。此外,存储器409可以包括高速随机存取存储器,还可以包括非易失性存储器,例如至少一个磁盘存储器件、闪存器件、或其他易失性固态存储器件。
处理器610是移动终端的控制中心,利用各种接口和线路连接整个移动终端的各个部分,通过运行或执行存储在存储器609内的软件程序和/或模块,以及调用存储在存储器609内的数据,执行移动终端的各种功能和处理数据,从而对移动终端进行整体监控。处理器610可包括一个或多个处理单元;可选的,处理器610可集成应用处理器和调制解调处理器,其中,应用处理器主要处理操作系统、用户界面和应用程序等,调制解调处理器主要处理无线通信。可以理解的是,上述调制解调处理器也可以不集成到处理器610中。
移动终端600还可以包括给各个部件供电的电源611(比如电池),可选的,电源611可以通过电源管理系统与处理器610逻辑相连,从而通过电源管理系统实现管理充电、放电、以及功耗管理等功能。
另外,移动终端600包括一些未示出的功能模块,在此不再赘述。
可选的,本公开实施例还提供一种移动终端,包括处理器610,存储器609,存储在存储器609上并可在所述处理器610上运行的计算机程序,该计算机程序被处理器610执行时实现上述方法实施例的各个过程,且能达到相同的技术效果,为避免重复,这里不再赘述。
本公开实施例还提供一种计算机可读存储介质,计算机可读存储介质上存储有计算机程序,该计算机程序被处理器执行时实现上述方法实施例的各个过程,且能达到相同的技术效果,为避免重复,这里不再赘述。其中,所述的计算机可读存储介质,如只读存储器(Read-Only Memory,ROM)、随 机存取存储器(Random Access Memory,RAM)、磁碟或者光盘等。
需要说明的是,在本文中,术语“包括”、“包含”或者其任何其他变体意在涵盖非排他性的包含,从而使得包括一系列要素的过程、方法、物品或者装置不仅包括那些要素,而且还包括没有明确列出的其他要素,或者是还包括为这种过程、方法、物品或者装置所固有的要素。在没有更多限制的情况下,由语句“包括一个……”限定的要素,并不排除在包括该要素的过程、方法、物品或者装置中还存在另外的相同要素。
通过以上的实施方式的描述,本领域的技术人员可以清楚地了解到上述实施例方法可借助软件加必需的通用硬件平台的方式来实现,也可以通过硬件,但很多情况下前者是更佳的实施方式。基于这样的理解,本公开的技术方案本质上或者说对现有技术做出贡献的部分可以以软件产品的形式体现出来,该计算机软件产品存储在一个存储介质(如ROM/RAM、磁碟、光盘)中,包括若干指令用以使得一台终端(可以是手机,计算机,服务器,空调器,或者网络设备等)执行本公开各个实施例所述的方法。
上面结合附图对本公开的实施例进行了描述,但是本公开并不局限于上述的具体实施方式,上述的具体实施方式仅仅是示意性的,而不是限制性的,本领域的普通技术人员在本公开的启示下,在不脱离本公开宗旨和权利要求所保护的范围情况下,还可做出很多形式,均属于本公开的保护之内。

Claims (12)

  1. 一种截图的方法,包括:
    确定目标视频在目标时刻的第一播放进度时间,所述目标时刻为监听到截图操作的时刻;
    播放所述目标视频中处于所述第一播放进度时间与第二播放进度时间之间的第一已播放视频,并在所述第一已播放视频的播放过程中进行截图,得到N张截图图片,所述第二播放进度时间对应的图像帧的首次播放时刻在所述目标时刻之前,N为大于或等于2的整数;
    若播放完所述第一已播放视频,则暂停播放所述目标视频,并监听第一保存操作;
    若监听到所述第一保存操作,则保存所述N张截图图片中由用户选择的截图图片,并删除所述N张截图图片中的其他截图图片。
  2. 根据权利要求1所述的方法,其中,N为预设值;
    其中,所述在所述第一已播放视频的播放过程中进行截图,包括:
    基于所述N,按照播放进度时间越接近所述第一已播放时间进度截图时间间隔越小的规则,在所述第一已播放视频的播放过程中进行截图。
  3. 根据权利要求1或2所述的方法,还包括:
    若未监听到所述第一保存操作且监听到继续截图操作,则确定所述N张截图图片中与所述继续截图操作相关的第一截图图片和第二截图图片,所述第一截图图片对应第三播放进度时间,所述第二截图图片对应第四播放进度时间;
    播放所述目标视频中位于所述第三播放进度时间和所述第四播放进度时间之间的第二已播放视频,并在所述第二已播放视频的播放过程中进行截图,得到M张截图图片,M为大于或等于2的整数;
    若播放完所述第二已播放视频,则监听第二保存操作;
    若监听到所述第二保存操作,则保存所述M张截图图片中由所述用户选择的截图图片,并删除所述M张截图图片中的其他截图图片。
  4. 根据权利要求3所述的方法,其中,所述在所述第二已播放视频的播 放过程中进行自动截图,包括:
    按照目标截图时间间隔,在所述第二已播放视频的播放过程中进行自动截图。
  5. 根据权利要求3所述的方法,其中,所述第二已播放视频的播放速度小于所述第一已播放视频的播放速度。
  6. 一种移动终端,包括:
    处理单元,用于确定目标视频在目标时刻的第一播放进度时间,所述目标时刻为监听到截图操作的时刻;
    播放单元,用于播放所述目标视频中处于所述第一播放进度时间与第二播放进度时间之间的第一已播放视频,并在所述第一已播放视频的播放过程中进行截图,得到N张截图图片,所述第二播放进度时间对应的图像帧的首次播放时刻在所述目标时刻之前,N为大于或等于2的整数;
    所述处理单元,还用于若所述播放单元播放完所述第一已播放视频,则暂停播放所述目标视频,并监听第一保存操作;
    所述处理单元,还用于若监听到所述第一保存操作,则保存所述N张截图图片中由用户选择的截图图片,并删除所述N张截图图片中的其他截图图片。
  7. 根据权利要求6所述的移动终端,其中,N为预设值;
    其中,所述播放单元具体用于:
    基于所述N,按照播放进度时间越接近所述第一已播放时间进度截图时间间隔越小的规则,在所述第一已播放视频的播放过程中进行截图。
  8. 根据权利要求6或7所述的移动终端,其中,所述处理单元还用于:
    若未监听到所述第一保存操作且监听到继续截图操作,则确定所述N张截图图片中与所述继续截图操作相关的第一截图图片和第二截图图片,所述第一截图图片对应第三播放进度时间,所述第二截图图片对应第四播放进度时间;
    所述播放单元,还用于播放所述目标视频中位于所述第三播放进度时间和所述第四播放进度时间之间的第二已播放视频,并在所述第二已播放视频的播放过程中进行截图,得到M张截图图片,M为大于或等于2的整数;
    所述处理单元,还用于若所述播放单元播放完所述第二已播放视频,则监听第二保存操作;
    所述处理单元,还用于若监听到所述第二保存操作,则保存所述M张截图图片中由所述用户选择截图图片,并删除所述M张截图图片中的其他截图图片。
  9. 根据权利要求8所述的移动终端,其中,所述播放单元具体用于:
    按照目标截图时间间隔,在所述第二已播放视频的播放过程中进行自动截图。
  10. 根据权利要求8所述的移动终端,其中,所述第二已播放视频的播放速度小于所述第一已播放视频的播放速度。
  11. 一种移动终端,包括:存储器、处理器及存储在所述存储器上并可在所述处理器上运行的程序,所述程序被所述处理器执行时实现如权利要求1至5中任一项所述的截图的方法的步骤。
  12. 一种计算机可读介质,所述计算机可读介质上存储有程序,所述程序被处理器执行时实现如权利要求1至5中任一项所述的截图的方法的步骤。
PCT/CN2020/087824 2019-05-14 2020-04-29 截图的方法和移动终端 WO2020228538A1 (zh)

Applications Claiming Priority (2)

Application Number Priority Date Filing Date Title
CN201910398199.0 2019-05-14
CN201910398199.0A CN110062273B (zh) 2019-05-14 2019-05-14 截图的方法和移动终端

Publications (1)

Publication Number Publication Date
WO2020228538A1 true WO2020228538A1 (zh) 2020-11-19

Family

ID=67323122

Family Applications (1)

Application Number Title Priority Date Filing Date
PCT/CN2020/087824 WO2020228538A1 (zh) 2019-05-14 2020-04-29 截图的方法和移动终端

Country Status (2)

Country Link
CN (1) CN110062273B (zh)
WO (1) WO2020228538A1 (zh)

Families Citing this family (4)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN110062273B (zh) * 2019-05-14 2021-08-10 维沃移动通信有限公司 截图的方法和移动终端
CN112243086A (zh) * 2020-10-15 2021-01-19 惠州Tcl移动通信有限公司 视频画面截取方法、装置、存储介质及移动终端
CN113038218B (zh) * 2021-03-19 2022-06-10 厦门理工学院 一种视频的截图方法、装置、设备及可读存储介质
CN115185714B (zh) * 2022-09-13 2023-01-31 天津联想协同科技有限公司 截图分享方法、装置、终端及存储介质

Citations (7)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
US20130343720A1 (en) * 2012-03-26 2013-12-26 Customplay Llc Providing Plot Explanation Within A Video
CN106020608A (zh) * 2016-05-20 2016-10-12 北京小米移动软件有限公司 截图控制方法及装置
CN106412708A (zh) * 2016-10-21 2017-02-15 上海与德信息技术有限公司 一种视频截图方法及装置
CN106713972A (zh) * 2016-12-27 2017-05-24 Ut斯达康(深圳)技术有限公司 集成播控平台视频内容截图方法及装置
CN107682650A (zh) * 2017-09-30 2018-02-09 咪咕动漫有限公司 一种图像处理方法及装置和存储介质
CN108616775A (zh) * 2018-04-08 2018-10-02 Oppo广东移动通信有限公司 视频播放时智能截图的方法、装置、存储介质及智能终端
CN110062273A (zh) * 2019-05-14 2019-07-26 维沃移动通信有限公司 截图的方法和移动终端

Family Cites Families (9)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN101815199B (zh) * 2010-04-07 2013-08-07 中兴通讯股份有限公司 一种视频处理方法及终端
US9160960B2 (en) * 2010-12-02 2015-10-13 Microsoft Technology Licensing, Llc Video preview based browsing user interface
CN103747351A (zh) * 2013-12-02 2014-04-23 乐视致新电子科技(天津)有限公司 智能电视的截屏方法和装置
CN104080005A (zh) * 2014-07-10 2014-10-01 福州瑞芯微电子有限公司 一种截取动态图像的装置及方法
CN104616241A (zh) * 2014-07-24 2015-05-13 腾讯科技(北京)有限公司 进行视频截图的方法和装置
CN105828146A (zh) * 2016-03-21 2016-08-03 乐视网信息技术(北京)股份有限公司 一种视频图像截取方法、终端和服务器
CN106412674B (zh) * 2016-10-08 2019-04-23 广州华多网络科技有限公司 动态视频的截图方法及其装置
CN106604126A (zh) * 2016-12-20 2017-04-26 天脉聚源(北京)传媒科技有限公司 一种智能视频截图的方法及装置
CN109597556B (zh) * 2018-12-12 2020-07-31 维沃移动通信有限公司 一种截屏方法及终端

Patent Citations (7)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
US20130343720A1 (en) * 2012-03-26 2013-12-26 Customplay Llc Providing Plot Explanation Within A Video
CN106020608A (zh) * 2016-05-20 2016-10-12 北京小米移动软件有限公司 截图控制方法及装置
CN106412708A (zh) * 2016-10-21 2017-02-15 上海与德信息技术有限公司 一种视频截图方法及装置
CN106713972A (zh) * 2016-12-27 2017-05-24 Ut斯达康(深圳)技术有限公司 集成播控平台视频内容截图方法及装置
CN107682650A (zh) * 2017-09-30 2018-02-09 咪咕动漫有限公司 一种图像处理方法及装置和存储介质
CN108616775A (zh) * 2018-04-08 2018-10-02 Oppo广东移动通信有限公司 视频播放时智能截图的方法、装置、存储介质及智能终端
CN110062273A (zh) * 2019-05-14 2019-07-26 维沃移动通信有限公司 截图的方法和移动终端

Also Published As

Publication number Publication date
CN110062273A (zh) 2019-07-26
CN110062273B (zh) 2021-08-10

Similar Documents

Publication Publication Date Title
WO2021098678A1 (zh) 投屏控制方法及电子设备
WO2020228538A1 (zh) 截图的方法和移动终端
WO2020042785A1 (zh) 应用显示方法和移动终端
WO2019196929A1 (zh) 一种视频数据处理方法及移动终端
WO2019223494A1 (zh) 截屏方法及移动终端
US20200257433A1 (en) Display method and mobile terminal
WO2019196691A1 (zh) 一种键盘界面显示方法和移动终端
WO2021083168A1 (zh) 视频分享方法及电子设备
WO2020233323A1 (zh) 显示控制方法、终端设备及计算机可读存储介质
US20220283828A1 (en) Application sharing method, electronic device and computer readable storage medium
US20220004357A1 (en) Audio signal outputting method and terminal device
WO2019196864A1 (zh) 一种虚拟按键控制方法及移动终端
WO2019085774A1 (zh) 应用程序控制方法和移动终端
WO2020042892A1 (zh) 通话模式切换方法及终端设备
WO2019201271A1 (zh) 通话处理方法及移动终端
WO2021104230A1 (zh) 同步方法及电子设备
WO2021068885A1 (zh) 控制方法及电子设备
WO2019201146A1 (zh) 表情图像的显示方法及终端设备
WO2021129732A1 (zh) 显示处理方法及电子设备
CN110855921B (zh) 一种视频录制控制方法及电子设备
WO2020199986A1 (zh) 视频通话方法及终端设备
WO2020024770A1 (zh) 确定通讯对象的方法及移动终端
WO2019154360A1 (zh) 界面切换方法及移动终端
WO2021104251A1 (zh) 控制方法及第一电子设备
WO2021129818A1 (zh) 视频播放方法及电子设备

Legal Events

Date Code Title Description
121 Ep: the epo has been informed by wipo that ep was designated in this application

Ref document number: 20805688

Country of ref document: EP

Kind code of ref document: A1

NENP Non-entry into the national phase

Ref country code: DE

122 Ep: pct application non-entry in european phase

Ref document number: 20805688

Country of ref document: EP

Kind code of ref document: A1