CN111372118A - Screen capturing method, intelligent terminal and storage medium - Google Patents

Screen capturing method, intelligent terminal and storage medium Download PDF

Info

Publication number
CN111372118A
CN111372118A CN201811593556.0A CN201811593556A CN111372118A CN 111372118 A CN111372118 A CN 111372118A CN 201811593556 A CN201811593556 A CN 201811593556A CN 111372118 A CN111372118 A CN 111372118A
Authority
CN
China
Prior art keywords
picture
playing
video
screen
pictures
Prior art date
Legal status (The legal status is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the status listed.)
Pending
Application number
CN201811593556.0A
Other languages
Chinese (zh)
Inventor
张志标
Current Assignee (The listed assignees may be inaccurate. Google has not performed a legal analysis and makes no representation or warranty as to the accuracy of the list.)
Shenzhen TCL New Technology Co Ltd
Original Assignee
Shenzhen TCL New 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 Shenzhen TCL New Technology Co Ltd filed Critical Shenzhen TCL New Technology Co Ltd
Priority to CN201811593556.0A priority Critical patent/CN111372118A/en
Publication of CN111372118A publication Critical patent/CN111372118A/en
Pending legal-status Critical Current

Links

Images

Classifications

    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04NPICTORIAL COMMUNICATION, e.g. TELEVISION
    • H04N21/00Selective content distribution, e.g. interactive television or video on demand [VOD]
    • H04N21/40Client devices specifically adapted for the reception of or interaction with content, e.g. set-top-box [STB]; Operations thereof
    • H04N21/43Processing of content or additional data, e.g. demultiplexing additional data from a digital video stream; Elementary client operations, e.g. monitoring of home network or synchronising decoder's clock; Client middleware
    • H04N21/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/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
    • 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/4333Processing operations in response to a pause request
    • 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/482End-user interface for program selection
    • H04N21/4825End-user interface for program selection using a list of items to be played back in a given order, e.g. playlists

Landscapes

  • Engineering & Computer Science (AREA)
  • Multimedia (AREA)
  • Signal Processing (AREA)
  • Human Computer Interaction (AREA)
  • Two-Way Televisions, Distribution Of Moving Picture Or The Like (AREA)

Abstract

The invention discloses a screen capture method, an intelligent terminal and a storage medium, wherein the method comprises the following steps: receiving a screen capture instruction, and caching a video with a preset time length before the current playing position; the picture sequence ordered according to the video playing time is decomposed from the cache video, and the picture sequence is reversely ordered to generate a reverse playing sequence number; and playing the pictures according to a preset playing speed through the reverse playing sequence number, and selecting the pictures needing screen capturing based on the currently played pictures for storing and sharing. The invention can easily select the picture which the user wants to intercept by adopting the method of caching the video forward, decoding the video into the picture and playing the picture reversely at a low speed, gets rid of the problem that the user needs to pause and start the video to find the picture which wants to intercept in the traditional screen-capturing method, and provides convenience for the user to use.

Description

Screen capturing method, intelligent terminal and storage medium
Technical Field
The invention relates to the technical field of internet interaction, in particular to a screen capturing method, an intelligent terminal and a storage medium.
Background
With the vigorous development of the internet era, users like to capture the interested pictures when watching television/mobile phone videos and share the pictures on the internet. However, when a video is viewed and a screen is captured in the prior art, a time difference exists between the view of the picture desired to be captured and the pressing of the screen capture key and the completion of the screen capture, and the time difference is delayed by hundreds of milliseconds or even seconds. Therefore, the picture to be shot can be found for shooting the screen only by performing reverse playback frequently; and because the video playing speed is high, the precision is difficult to ensure if the video is played and the screen is captured, even if the picture to be captured is searched by continuously pausing and starting the video, the picture to be captured which is the most desired by the user cannot be accurately found, and the operation process is complicated and inconvenient for the user to use.
Accordingly, the prior art is yet to be improved and developed.
Disclosure of Invention
The technical problem to be solved by the present invention is to provide a screen capture method, an intelligent terminal and a storage medium for solving the above-mentioned defects in the prior art, and to solve the problem that an accurate picture cannot be obtained due to a time delay when a user views a video for screen capture in the prior art.
The technical scheme adopted by the invention for solving the technical problem is as follows:
a screen capture method, wherein the method comprises:
receiving a screen capture instruction, and caching a video with a preset time length before the current playing position;
the picture sequence ordered according to the video playing time is decomposed from the cache video, and the picture sequence is reversely ordered to generate a reverse playing sequence number;
and playing the pictures according to a preset playing speed through the reverse playing sequence number, and selecting the pictures needing screen capturing based on the currently played pictures for storing and sharing, wherein the preset playing speed is less than the playing speed before receiving the screen capturing instruction.
The screen capture method comprises the following steps of receiving a screen capture instruction and caching a video with a preset time length before a current playing position, wherein the step of receiving the screen capture instruction comprises the following steps:
receiving a screen capture instruction, stopping playing the current video, and recording the current playing position of the video;
and downloading the video with the preset time before the current playing position, and storing the video into a memory buffer area.
The screen capture method comprises, before the step of receiving a screen capture instruction and caching a video of a predetermined duration before a current play position, the following steps:
presetting the time length of the buffered video and the playing speed of the picture when the picture is subsequently selected after the screen capture instruction is received.
The screen capturing method includes the steps of separating picture sequences ordered according to video playing time from the cached video, reversely ordering the picture sequences and generating reverse playing sequence numbers, and specifically includes:
decoding the buffered video clips, decomposing the video clips into more than two frames of pictures, and carrying out initial sequencing according to the video playing time sequence;
and reversely sorting the initially sorted pictures and generating a reverse play sequence number.
The screen capturing method comprises the steps of playing the picture according to the reverse playing sequence number at a preset playing speed, and selecting the picture to be captured for storage and sharing based on the currently played picture, and comprises the following steps:
playing the pictures according to the reverse playing sequence number, wherein the playing speed is the picture playing speed preset by a user;
and when the picture needing screen capture is seen, stopping the playing process, and selecting the currently played picture as the screen capture picture for storage and sharing.
The screen capturing method, wherein the step of playing the picture at a preset playing speed according to the reverse playing sequence number, further comprises:
when each segment of picture is played, the next segment of picture to be played is prepared in advance.
The screen capturing method comprises the step of preparing a next picture to be played in advance while each picture is played, and is realized by double-thread parallel execution of a main thread and a sub-thread in a local cache.
The screen capture method, wherein the next picture to be played continues to be played from the end position of the currently played picture.
An intelligent terminal, comprising: a processor, a storage medium communicatively coupled to the processor, the storage medium adapted to store a plurality of instructions; the processor is adapted to call instructions in the storage medium to perform the steps of implementing the screen capturing method of any one of the above.
A storage medium having stored thereon a plurality of instructions adapted to be loaded and executed by a processor to perform the steps of implementing the screen capturing method of any of the above.
The invention has the beneficial effects that: the invention can easily select the picture which the user wants to capture by adopting the method of caching the video forward, decoding the video into the picture and playing the picture at a low speed reversely, gets rid of the problem that the accurate picture cannot be obtained due to the time delay in the traditional screen capturing method and provides convenience for the use of the user.
Drawings
FIG. 1 is a flow chart of a preferred embodiment of a screen capture method of the present invention.
Fig. 2 is a flowchart of an embodiment of a screen capture method according to the present invention.
Fig. 3 is a functional schematic diagram of the intelligent terminal of the present invention.
Detailed Description
In order to make the objects, technical solutions and advantages of the present invention clearer and clearer, the present invention is further described in detail below with reference to the accompanying drawings and examples. It should be understood that the specific embodiments described herein are merely illustrative of the invention and are not intended to limit the invention.
The technical solutions in the embodiments of the present invention will be clearly and completely described below with reference to the drawings in the embodiments of the present invention, and it is obvious that the described embodiments are only a part of the embodiments of the present invention, and not all of the embodiments. The following description of at least one exemplary embodiment is merely illustrative in nature and is in no way intended to limit the invention, its application, or uses. All other embodiments, which can be derived by a person skilled in the art from the embodiments given herein without making any creative effort, shall fall within the protection scope of the present invention.
The screen capture method provided by the invention can be applied to a terminal. The terminal may be, but is not limited to, various personal computers, notebook computers, mobile phones, tablet computers, vehicle-mounted computers, and portable wearable devices. The terminal of the invention adopts a multi-core processor. The processor of the terminal may be at least one of a Central Processing Unit (CPU), a Graphics Processing Unit (GPU), a Video Processing Unit (VPU), and the like.
The invention provides a screen capture method, which is specifically shown in figure 1 and comprises the following steps:
and S100, caching the video with the preset time length before the current playing position after receiving a screen capture starting instruction of a user.
And S200, decomposing the pictures sequenced according to the video playing time from the cache video, and reversely sequencing the picture sequence to generate a reverse playing sequence number.
And step S300, playing the pictures according to a preset playing speed through the reverse playing sequence number, and selecting the pictures needing screen capturing based on the currently played pictures for storing and sharing.
In the current mode of watching video and carrying out screen capture, a certain time difference exists between the time when a picture needing to be captured is seen and a screen capture button is pressed to issue a screen capture instruction and the time when the screen capture is carried out, so that the captured picture is not a picture required by a user. In order to solve the above problems, this embodiment provides a screen capture method, which mainly uses a method of caching a video forward, decoding the video into a picture, and playing the picture in a slow speed in a reverse direction, so that a picture that a user wants to capture the screen can be easily selected.
Specifically, in this embodiment, whether a user sends a screen capture instruction is monitored in real time, and when it is monitored that the user sends the screen capture instruction, whether the video screen capture is performed is judged, and if not, the video screen capture is performed normally; if so, stopping playing the current video and recording the current playing position of the video; the screen capturing instruction comprises a clicking operation, a sliding operation or other gestures on the touch screen, and can be set according to the needs of a user, and the setting is not limited here. The method includes the steps that when a user plays a video and performs screen capture, due to the fact that the video playing speed is high, the picture of the user needing screen capture lags behind the current video playing position, and when the video is cached and downloaded, if the cached and downloaded video is long, after the user sends a screen capture instruction, the user needs to wait for the video clip cache to finish downloading, the cached video needs to occupy a large memory, and if the cached and downloaded video is short, the user can find the picture of the user needing screen capture after downloading a plurality of video clips. Therefore, in this embodiment, the duration of the video to be downloaded is preset, after an instruction that the user needs to capture a screen is received, the current playing position is recorded, the video with the preset duration is downloaded forward with the recorded current playing position as a starting point, and the downloaded video is stored in the buffer area. If the current playing position of the video recorded by the intelligent terminal is 10min38s and the preset duration of video downloading is 3s, downloading the video cached in the storage area into a video clip of 10min35 s-10 min38 s.
Further, when a video is captured in the prior art, because the video is always in a dynamic playing state, if a capture instruction is issued again after the picture needing to be captured completely appears, the captured picture may be a picture which is transited from the current picture to the next frame picture; if the screen capture picture appears soon, a screen capture instruction is sent, the captured picture may be a picture which is transited from a previous frame picture to a current picture, and finally the captured picture is not clear enough, or other unnecessary contents such as advertisements or player borders are captured due to the fact that the video picture cannot be played in the whole screen. Therefore, in this embodiment, after the cached video with the predetermined duration is obtained, the cached video segment is decoded, and each frame of video data of the video segment is converted into each corresponding frame of picture data, so that a user can directly obtain a clear picture to be captured, for example, a 3-second video segment can be decoded each time, and each second video segment is composed of 2 frames of pictures, so that 6 frames of picture data can be obtained and collocated each time of decoding, and the conversion of the video data into the picture data in the prior art is not repeated here.
Further, after the video clip is divided into a series of pictures, in order to combine the video pictures into a complete video clip, in this embodiment, the divided pictures are initially sorted according to the sequence of the video playing time to generate a picture sequence, and if the video clip of 10min35s to 10min38s is intercepted by the intelligent terminal, the pictures of the frame corresponding to the video at the position of 10min35s are sequentially sorted, so that the sequence of each frame of picture is consistent with the sequence of the video clip, and a user plays the pictures just like playing the video.
Preferably, when the video is played and the screen is captured, the picture desired to be captured is generally not far around the currently played picture, and the picture desired to be captured can be obtained faster if the reverse search is started from the currently played position. Therefore, in this embodiment, the pictures are subjected to reverse sequencing according to the picture sequence generated after the pictures are subjected to the initialization sequencing according to the playing time sequence, and a reverse playing sequence number is generated, that is, the pictures are sequenced from the recorded current playing position, and are sequentially played according to the reverse playing sequence number. In addition, the playing speed of the picture when the picture is selected subsequently can be preset, the user only needs to send a screen capture instruction, the subsequent video can be automatically played according to the speed preset by the user after being decoded into the picture, and the video picture can be browsed in a manual mode if the user is unsatisfied with the preset playing speed, so that the use of the user is facilitated.
Further, if the picture playing speed is fast during screen capture when the picture is selected, after the user sees that the picture needing screen capture issues the screen capture instruction, the currently played picture is not the picture that the user needs screen capture, so in order to balance the speed of cache downloading and guarantee the fluency of playing, the playing speed of the picture is controlled during subsequent picture selection in the embodiment, and the playing speed of the picture during subsequent screen capture is lower than the playing speed of the video before the screen capture instruction is received. For example, assuming that the playing speed of the network video is N frames/second (preferably 24 frames/second), and the picture playing speed is set to M frames/second (preferably 2 frames/second) when the user selects a picture, since the video is decomposed into multiple frames of pictures, and the picture that the user wants to capture may exist in two adjacent frames of pictures at the same time, the user needs to further determine which frame of picture is the most suitable, so that the playing speed of the picture in this embodiment is slow and at least should be smaller than the playing speed of the video before receiving the capture instruction, so that the user can be provided with sufficient time to determine which picture is the most desirable content of the user, so as to more accurately locate the picture that wants to capture.
Further, when the intelligent terminal monitors that the user stops playing the video picture and selects the currently played picture, the intelligent terminal judges that the user finds the picture which the user wants to capture the screen, and the whole screen capture process is finished. Because the playing speed of the video pictures is less than that before the screen capture instruction is received, when a user sees a picture to be captured and issues the screen capture instruction, sufficient time can be provided for judging that the picture is the most suitable picture, and because each picture generates a reverse playing sequence number in advance, when the user sees the picture to be captured, the currently played picture can be directly selected as the screen capture picture to be stored and shared according to the playing sequence number of the currently played picture.
Further, since the time lag time is generally related to the hardware configuration of the system and the design of the capture logic in the system software, if a picture to be captured is captured by a relatively fixed download duration video, sometimes the current cached picture is played completely and the picture to be captured cannot be found yet, so that it is necessary to download the cached next video segment forward to continue searching, but if the previous cached video is played and the next video segment is decoded, the play waiting time between the two video segments is long, which results in a picture playing process that is not smooth. Therefore, in this embodiment, a dual-thread manner is adopted, that is, a main thread and a sub-thread are set, the main thread is used for playing the picture with the reverse play sequence number according to a preset speed, while the main thread plays the picture, the sub-thread is used for preparing a next segment of picture to be played in advance, and when it is detected that the picture playing of the main thread is finished, the prepared picture with the next reverse play sequence number is transmitted to the main thread to be played continuously, and the sub-thread continues to perform buffering and decoding on a next segment of video until a user finds a picture to be captured, so that the whole screen capturing process is finished. The specific step of preparing the next segment of picture to be played by the sub-thread is as described above, and is not described herein again.
Preferably, in this embodiment, in order to implement seamless connection of video picture playing, the next picture to be played is played continuously from the end position of the currently played picture. Specifically, after caching the video with the preset time before the current playing position, the mobile terminal records the end position of the current cached video, after the cached video picture starts playing, the mobile terminal continues to cache the video with the preset time forward from the recorded end position of the last cached video and codes the video to prepare the next picture to be played, and records the end position of the current cached video again until the user stops playing the picture and selects the picture to be captured, and the whole screen capturing process is ended, so that the next picture to be played and the current picture to be played are seamlessly connected. If the video clips from 10min38s to 10min35s are cached currently, the intelligent terminal records the ending position of the currently cached video clip at 10min35s, and the caching is continued from 10min35s when the video is cached next time.
In order to better understand the technology of the present invention, the present invention further provides a specific application example, as shown in fig. 2, which specifically includes the following steps.
Step 201, receiving a screen capture starting instruction of a user.
Step 202, recording the current playing position, and pausing the video playing.
And step 203, caching the video with the preset time length before the current playing position.
And step 204, decoding the cached video and decomposing the video into a series of pictures which are sequenced according to the video playing time.
And step 205, reversely ordering the picture sequence and generating a reverse play sequence number.
And step 206, playing the pictures in sequence according to the reverse playing sequence number.
Step 207, judging whether the user selects the screen capture picture, if not, executing step 206, and if so, executing step 208.
And step 208, ending.
Based on the above embodiment, the present invention further provides an intelligent terminal, and a schematic block diagram thereof may be as shown in fig. 3. The intelligent terminal comprises a processor, a memory, a network interface, a display screen and a temperature sensor which are connected through a system bus. Wherein, the processor of the intelligent terminal is used for providing calculation and control capability. The memory of the intelligent terminal comprises a nonvolatile storage medium and an internal memory. The non-volatile storage medium stores an operating system and a computer program. The internal memory provides an environment for the operation of an operating system and computer programs in the non-volatile storage medium. The network interface of the intelligent terminal is used for being connected and communicated with an external terminal through a network. The computer program is executed by a processor to implement a screen capture method. The display screen of the intelligent terminal can be a liquid crystal display screen or an electronic ink display screen, and the temperature sensor of the intelligent terminal is arranged inside the intelligent terminal in advance and used for detecting the current operating temperature of internal equipment.
It will be understood by those skilled in the art that the block diagram shown in fig. 3 is only a block diagram of a part of the structure related to the solution of the present invention, and does not constitute a limitation to the intelligent terminal to which the solution of the present invention is applied, and a specific intelligent terminal may include more or less components than those shown in the figure, or combine some components, or have a different arrangement of components.
In one embodiment, an intelligent terminal is provided, which includes a memory and a processor, the memory stores a computer program, and the processor can realize at least the following steps when executing the computer program:
receiving a screen capture instruction, and caching a video with a preset time length before the current playing position;
the picture sequence ordered according to the video playing time is decomposed from the cache video, and the picture sequence is reversely ordered to generate a reverse playing sequence number;
and playing the pictures according to a preset playing speed through the reverse playing sequence number, and selecting the pictures needing screen capturing based on the currently played pictures for storing and sharing.
In one embodiment, the processor, when executing the computer program, may further implement: presetting the duration of a cache video and the playing speed of a picture when the picture is selected subsequently; monitoring whether a user sends a screen capture instruction in real time, judging whether the video screen capture is performed when the screen capture instruction sent by the user is monitored, and if not, performing normal screen capture; if so, stopping playing the current video and recording the current playing position of the video. And downloading the video with the recorded current playing position as a starting point forward for a preset time, and storing the downloaded video into a buffer area. Specifically, after an instruction that a user needs to capture a screen is received, the current playing position is recorded, a preset video with a preset duration is downloaded forwards by taking the recorded current playing position as a starting point, and the downloaded video is stored in the buffer area. If the current playing position of the video recorded by the intelligent terminal is 10min38s and the preset duration of video downloading is 3s, downloading the video cached in the storage area into a video clip of 10min35 s-10 min38 s.
In one embodiment, the processor, when executing the computer program, may further implement: after the buffered video with the preset duration is obtained, decoding the buffered video segment, and converting each frame of video data of the video segment into each corresponding frame of picture data; carrying out initial sequencing on the decomposed pictures according to the sequence of video playing time; the pictures with the initial sequence numbers are reversely sequenced to generate reverse playing sequence numbers, and the pictures are sequentially played according to the reverse playing sequence numbers; and monitoring the playing condition of the video picture and the operation of the user in real time, judging that the user finds the video picture to be intercepted when the video picture is monitored to stop playing and the user selects the currently played picture, and ending the whole screen intercepting process. Specifically, in this embodiment, after the pictures are initially sorted according to the playing time sequence, the initially sorted pictures are reversely sorted, so as to generate a reverse playing sequence number, that is, the pictures are sorted from the recorded current playing position, and are sequentially played according to the reverse playing sequence number. In addition, the playing speed of the picture when the picture is selected subsequently can be preset, the user only needs to send a screen capture instruction, the subsequent video can be automatically played according to the speed preset by the user after being decoded into the picture, and the video picture can be browsed in a manual mode if the user is unsatisfied with the preset playing speed, so that the use of the user is facilitated.
If the picture playing speed is high during screen capture when the picture is selected, after the user sees the picture to be captured and issues a screen capture instruction, the currently played picture is not the picture to be captured by the user, so that in order to balance the speed of cache downloading and guarantee the fluency of playing, the playing speed of the picture is controlled during subsequent picture selection in the embodiment, and the playing speed of the picture during subsequent screen capture is lower than the playing speed of the video before the screen capture instruction is received. For example, assuming that the playing speed of the network video is N frames/second (preferably 24 frames/second), and the picture playing speed is set to M frames/second (preferably 2 frames/second) when the user selects a picture, since the video is decomposed into multiple frames of pictures, and the picture that the user wants to capture may exist in two adjacent frames of pictures at the same time, the user needs to further determine which frame of picture is the most suitable, so that the playing speed of the picture in this embodiment is slow and at least should be smaller than the playing speed of the video before receiving the capture instruction, so that the user can be provided with sufficient time to determine which picture is the most desirable content of the user, so as to more accurately locate the picture that wants to capture.
In one embodiment, the processor, when executing the computer program, may further implement: presetting a main thread and a sub-thread, playing and downloading a video picture in a double-thread mode, wherein the main thread is used for playing a picture with a reverse playing sequence number according to a preset speed, the sub-thread is used for preparing a next picture to be played while the main thread plays each picture, and when the main thread detects that the picture playing of the main thread is finished, the prepared picture with the next reverse playing sequence number is transmitted to the main thread to be played continuously, and the sub-thread starts to buffer and decode the next video from the end position of the last cached video until a user finds the picture to be intercepted, so that the whole screen capturing process is finished.
It will be understood by those skilled in the art that all or part of the processes of the methods of the embodiments described above can be implemented by hardware instructions of a computer program, which can be stored in a non-volatile computer-readable storage medium, and when executed, can include the processes of the embodiments of the methods described above. Any reference to memory, storage, databases, or other media used in embodiments provided herein may include non-volatile and/or volatile memory. Non-volatile memory can include read-only memory (ROM), Programmable ROM (PROM), Electrically Programmable ROM (EPROM), Electrically Erasable Programmable ROM (EEPROM), or flash memory. Volatile memory can include Random Access Memory (RAM) or external cache memory. By way of illustration and not limitation, RAM is available in a variety of forms such as Static RAM (SRAM), Dynamic RAM (DRAM), Synchronous DRAM (SDRAM), Double Data Rate SDRAM (DDRSDRAM), Enhanced SDRAM (ESDRAM), Synchronous Link DRAM (SLDRAM), Rambus Direct RAM (RDRAM), direct bus dynamic RAM (DRDRAM), and memory bus dynamic RAM (RDRAM).
In summary, the present invention discloses a screen capture method, a storage medium and an intelligent terminal, wherein the method comprises: after receiving a screen capture starting instruction of a user, caching a video with a preset time length before the current playing position; pictures sorted according to the video playing time are separated from the cache video, and the picture sequence is reversely sorted to generate a reverse playing sequence number; and playing the pictures according to a preset playing speed through the reverse playing sequence number, and selecting the pictures needing screen capturing based on the currently played pictures for storing and sharing. The invention can easily select the picture which the user wants to intercept by adopting the method of caching the video forward, decoding the video into the picture and playing the picture reversely at a low speed, gets rid of the problem that the user needs to pause and start the video to find the picture which wants to intercept in the traditional screen-capturing method, and provides convenience for the user to use.
It is to be understood that the invention is not limited to the examples described above, but that modifications and variations may be effected thereto by those of ordinary skill in the art in light of the foregoing description, and that all such modifications and variations are intended to be within the scope of the invention as defined by the appended claims.

Claims (10)

1. A method of screen capture, the method comprising:
receiving a screen capture instruction, and caching a video with a preset time length before the current playing position;
the picture sequence ordered according to the video playing time is decomposed from the cache video, and the picture sequence is reversely ordered to generate a reverse playing sequence number;
and playing the pictures according to a preset playing speed through the reverse playing sequence number, and selecting the pictures needing screen capturing based on the currently played pictures for storing and sharing, wherein the preset playing speed is less than the playing speed before receiving the screen capturing instruction.
2. The screen capturing method according to claim 1, wherein the step of receiving the screen capturing command and buffering the video that is a predetermined time before the current playing position comprises:
receiving a screen capture instruction, stopping playing the current video, and recording the current playing position of the video;
and downloading the video with the preset time before the current playing position, and storing the video into a memory buffer area.
3. The screen capturing method according to claim 2, wherein before the step of receiving the screen capturing instruction and buffering the video of the predetermined time length before the current playing position, the method further comprises:
presetting the time length of the buffered video and the playing speed of the picture when the picture is subsequently selected after the screen capture instruction is received.
4. The screen capturing method according to claim 1, wherein the step of separating the picture sequence sorted according to the video playing time from the buffered video and reversely sorting the picture sequence to generate a reverse playing sequence number specifically comprises:
decoding the buffered video clips, decomposing the video clips into more than two frames of pictures, and carrying out initial sequencing according to the video playing time sequence;
and reversely sorting the initially sorted pictures and generating a reverse play sequence number.
5. The screen capturing method according to claim 1, wherein the step of playing the picture at a preset playing speed according to the reverse playing sequence number, and selecting the picture to be captured for storage and sharing based on the currently played picture comprises:
playing the pictures according to the reverse playing sequence number, wherein the playing speed is the picture playing speed preset by a user;
and when the picture needing screen capture is seen, stopping the playing process, and selecting the currently played picture as the screen capture picture for storage and sharing.
6. The screen capturing method according to claim 5, wherein the step of playing the picture at a preset playing speed according to the reverse playing sequence number, and selecting the picture to be captured for storage and sharing based on the currently played picture further comprises:
when each segment of picture is played, the next segment of picture to be played is prepared in advance.
7. The screen capturing method of claim 6, wherein the step of preparing a next picture to be played in advance while playing each picture is implemented by a dual thread parallel execution of a main thread and a sub thread in a local cache.
8. The screen capturing method of claim 7, wherein the next picture to be played is played from the end position of the currently played picture.
9. An intelligent terminal, comprising: a processor, a storage medium communicatively coupled to the processor, the storage medium adapted to store a plurality of instructions; the processor is adapted to call instructions in the storage medium to perform the steps of implementing the screen capturing method of any of the preceding claims 1-8.
10. A storage medium having stored thereon a plurality of instructions adapted to be loaded and executed by a processor to perform the steps of implementing the screen capturing method of any of claims 1-8.
CN201811593556.0A 2018-12-25 2018-12-25 Screen capturing method, intelligent terminal and storage medium Pending CN111372118A (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN201811593556.0A CN111372118A (en) 2018-12-25 2018-12-25 Screen capturing method, intelligent terminal and storage medium

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN201811593556.0A CN111372118A (en) 2018-12-25 2018-12-25 Screen capturing method, intelligent terminal and storage medium

Publications (1)

Publication Number Publication Date
CN111372118A true CN111372118A (en) 2020-07-03

Family

ID=71209823

Family Applications (1)

Application Number Title Priority Date Filing Date
CN201811593556.0A Pending CN111372118A (en) 2018-12-25 2018-12-25 Screen capturing method, intelligent terminal and storage medium

Country Status (1)

Country Link
CN (1) CN111372118A (en)

Cited By (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN113709574A (en) * 2021-03-17 2021-11-26 腾讯科技(北京)有限公司 Video screenshot method and device, electronic equipment and computer-readable storage medium

Citations (8)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN1674656A (en) * 2004-03-23 2005-09-28 联想(北京)有限公司 Method for realizing digital video frequency cut-off screen
CN101815199A (en) * 2010-04-07 2010-08-25 中兴通讯股份有限公司 Video processing method and terminal
CN104144318A (en) * 2013-05-08 2014-11-12 北京航天长峰科技工业集团有限公司 Video inverted-order playback and rapid positioning method based on HIKVISION DVR
CN104639954A (en) * 2013-11-06 2015-05-20 北京航天长峰科技工业集团有限公司 Video reverse back checking method based on digital video recorder
CN107222779A (en) * 2017-06-08 2017-09-29 浙江大华技术股份有限公司 A kind of method and device of video play-reverse
CN107566891A (en) * 2017-08-11 2018-01-09 中广热点云科技有限公司 The method and system of the real-time screenshotss of intelligent television
CN108712667A (en) * 2018-05-17 2018-10-26 聚好看科技股份有限公司 A kind of smart television, its screenshotss application process, device and readable storage medium
CN109005447A (en) * 2018-08-10 2018-12-14 高新兴科技集团股份有限公司 A kind of video recording of security protection high definition falls broadcasting method and device

Patent Citations (8)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN1674656A (en) * 2004-03-23 2005-09-28 联想(北京)有限公司 Method for realizing digital video frequency cut-off screen
CN101815199A (en) * 2010-04-07 2010-08-25 中兴通讯股份有限公司 Video processing method and terminal
CN104144318A (en) * 2013-05-08 2014-11-12 北京航天长峰科技工业集团有限公司 Video inverted-order playback and rapid positioning method based on HIKVISION DVR
CN104639954A (en) * 2013-11-06 2015-05-20 北京航天长峰科技工业集团有限公司 Video reverse back checking method based on digital video recorder
CN107222779A (en) * 2017-06-08 2017-09-29 浙江大华技术股份有限公司 A kind of method and device of video play-reverse
CN107566891A (en) * 2017-08-11 2018-01-09 中广热点云科技有限公司 The method and system of the real-time screenshotss of intelligent television
CN108712667A (en) * 2018-05-17 2018-10-26 聚好看科技股份有限公司 A kind of smart television, its screenshotss application process, device and readable storage medium
CN109005447A (en) * 2018-08-10 2018-12-14 高新兴科技集团股份有限公司 A kind of video recording of security protection high definition falls broadcasting method and device

Cited By (2)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN113709574A (en) * 2021-03-17 2021-11-26 腾讯科技(北京)有限公司 Video screenshot method and device, electronic equipment and computer-readable storage medium
CN113709574B (en) * 2021-03-17 2024-03-19 腾讯科技(北京)有限公司 Video screenshot method and device, electronic equipment and computer readable storage medium

Similar Documents

Publication Publication Date Title
US10225613B2 (en) Method and apparatus for video playing processing and television
CN108900902B (en) Method, device, terminal equipment and storage medium for determining video background music
WO2017107441A1 (en) Method and device for capturing continuous video pictures
US10261999B2 (en) Searching multimedia based on trigger events
WO2020015333A1 (en) Video shooting method and apparatus, terminal device, and storage medium
US20160342319A1 (en) Method and device for previewing and displaying multimedia streaming data
WO2020015334A1 (en) Video processing method and apparatus, terminal device, and storage medium
CN109766457B (en) Media content searching method, device and storage medium
CN108566561B (en) Video playing method, device and storage medium
US20200412952A1 (en) Method and apparatus for capturing a video, terminal device and storage medium
CN111246302B (en) Method, device and terminal for downloading data by browser
US10515476B2 (en) Image fetching for timeline scrubbing of digital media
CN107454475A (en) Control method and device, computer installation and the readable storage medium storing program for executing of video playback
US20170153774A1 (en) Method and device for displaying program information and terminal apparatus
US11895424B2 (en) Video shooting method and apparatus, electronic device and storage medium
CN108712667B (en) Smart television, screen capture application method and device thereof, and readable storage medium
WO2017101393A1 (en) Method and device for continuously playing video
CN112887802A (en) Video access method and device
CN104616241A (en) Video screen-shot method and device
CN111372118A (en) Screen capturing method, intelligent terminal and storage medium
US9628833B2 (en) Media requests for trickplay
CN116095365A (en) Special effect processing method, device, electronic equipment and storage medium
US10992901B2 (en) Method, apparatus, device and storage medium for controlling video playback speed
CN112511909B (en) Boot push processing method, system, electronic device and medium
WO2014106851A1 (en) Determining start and end points of a video clip based on a single click

Legal Events

Date Code Title Description
PB01 Publication
PB01 Publication
SE01 Entry into force of request for substantive examination
SE01 Entry into force of request for substantive examination
RJ01 Rejection of invention patent application after publication
RJ01 Rejection of invention patent application after publication

Application publication date: 20200703