CN115714878A - Screen recording method, device, equipment, medium and chip - Google Patents
Screen recording method, device, equipment, medium and chip Download PDFInfo
- Publication number
- CN115714878A CN115714878A CN202211406965.1A CN202211406965A CN115714878A CN 115714878 A CN115714878 A CN 115714878A CN 202211406965 A CN202211406965 A CN 202211406965A CN 115714878 A CN115714878 A CN 115714878A
- Authority
- CN
- China
- Prior art keywords
- audio signal
- marking
- screen recording
- recording method
- screen
- 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
Links
Images
Landscapes
- Television Signal Processing For Recording (AREA)
Abstract
The invention discloses a screen recording method, a device, equipment, a medium and a chip, wherein the screen recording method comprises the following steps: responding to a screen recording instruction, and recording the screen content; collecting audio signals in the recording process, and determining marking information of a video based on the audio signals; and marking the video according to the marking information to obtain a video file. According to the invention, the audio signal in the screen recording process is collected, and the marking information is automatically determined for the screen recording content according to the change of the audio signal and is marked into the corresponding video file, so that the screen recording process is more intelligent, the time of a user can be saved when the video file is played at the later stage, and the interactivity between the screen recording equipment and the user is improved.
Description
Technical Field
The present invention relates to the field of network information technologies, and in particular, to a screen recording method, apparatus, device, medium, and chip.
Background
With the continuous development of network information technology, people's daily life is greatly enriched, and the screen content of the screen recording device is required to be recorded frequently, such as game operation explanation, software operation and the like.
In the screen recording process of the conventional screen recording device, a mark cannot be added to a recorded video, so that after the screen recording is finished, a user needs to continuously click a progress bar or rewind the video for searching when the user wants to find a specific picture, so that the user time is greatly wasted, and the interactive experience of the screen recording device is poor.
Disclosure of Invention
The invention aims to overcome the defect that recorded screen content cannot be marked in the prior art, and provides a screen recording method, a device, equipment, a medium and a chip.
The invention solves the technical problems through the following technical scheme:
a screen recording method, comprising:
responding to a screen recording instruction, and recording screen contents;
collecting audio signals in the recording process, and determining marking information of a video based on the audio signals;
and marking the video according to the marking information to obtain a video file.
Optionally, the marking information includes a start marking time;
the determining of the mark information of the video based on the audio signal comprises:
when the audio signal meets a first preset condition, determining a corresponding time node as a start mark time, wherein the first preset condition comprises one or more of the following conditions: the amplitude of the audio signal is larger than a first amplitude threshold value, the amplitude change value of the audio signal is larger than a first amplitude change threshold value, the frequency of the audio signal is larger than a first frequency threshold value, the frequency change value of the audio signal is larger than a first frequency change threshold value, and the voice recognition result of the audio signal comprises a first preset keyword.
Optionally, the marking information further includes a termination marking time;
the determining the mark information of the video based on the audio signal comprises:
when the audio signal meets a second preset condition, determining a corresponding time node as a termination mark time, wherein the second preset condition comprises one or more of the following conditions: the amplitude of the audio signal is smaller than a second amplitude threshold, the amplitude change value of the audio signal is smaller than a second amplitude change threshold, the frequency of the audio signal is smaller than a second frequency threshold, the frequency change value of the audio signal is smaller than a second frequency change threshold, and the voice recognition result of the audio signal comprises a second preset keyword.
Optionally, the mark information further includes mark text;
the determining of the mark information of the video based on the audio signal comprises:
and performing voice recognition on the audio signal to determine the marked words.
Optionally, the marking information further comprises a marking color;
after performing speech recognition on the audio signal to determine the marked words, the method includes:
and classifying the marking information according to the marking characters, and setting the same marking color for the marking information of the same class, and/or setting different marking colors for the marking information of different classes.
Optionally, after the marking the recorded screen content according to the marking information to obtain a video file, the screen recording method further includes:
and responding to a playing instruction, playing the video file, and displaying the marking information in the playing process.
Optionally, after the playing the video file, the screen recording method further includes:
and responding to a click instruction aiming at the mark information, and controlling the video file to start playing from a position corresponding to the mark information.
A screen recording apparatus, the screen recording apparatus comprising:
the recording module is used for responding to a screen recording instruction and recording screen contents;
the determining module is used for acquiring an audio signal in the recording process and determining the marking information of the video based on the audio signal;
and the marking module is used for marking the video according to the marking information to obtain a video file.
An electronic device comprising a memory, a processor and a computer program stored on the memory and executable on the processor, wherein the processor implements the screen recording method of any one of the above items when executing the computer program.
A chip is applied to electronic equipment and used for executing the screen recording method.
A chip module is applied to electronic equipment and comprises a transceiving component and a chip, wherein the chip is used for executing the screen recording method.
A computer-readable storage medium having stored thereon a computer program which, when executed by a processor, implements the screen recording method of any one of the above.
The positive progress effects of the invention are as follows: according to the invention, the audio signal in the screen recording process is collected, and the marking information is automatically determined for the screen recording content according to the change of the audio signal and is marked into the corresponding video file, so that the screen recording process is more intelligent, the time of a user can be saved when the video file is played at a later stage, and the interactivity between the screen recording equipment and the user is improved.
Drawings
Fig. 1 is a first flowchart of a screen recording method according to an exemplary embodiment of the present invention;
fig. 2 is a second flowchart of a screen recording method according to an exemplary embodiment of the present invention;
fig. 3 is a block diagram of a screen recording apparatus according to an exemplary embodiment of the present invention;
fig. 4 is a block diagram of an electronic device according to an exemplary embodiment of the present invention.
Detailed Description
The invention is further illustrated by the following examples, which are not intended to limit the scope of the invention.
An exemplary embodiment of the present invention provides a screen recording method, which may be applied to screen recording of a mobile phone device, screen recording of a computer device, and the like, and in this embodiment, the use scenario is not limited, referring to fig. 1, where the screen recording method includes:
and S101, responding to a screen recording instruction, and recording screen contents.
S102, collecting audio signals in the recording process, and determining marking information of the video based on the audio signals.
In one embodiment, when the user starts the screen recording, it may be determined whether the user starts the tagging function. After the user starts the marking function, the marking information of the video is automatically determined according to the audio signal in the screen recording process, and the marking information of the video can also be determined according to manual clicking of the user.
In an embodiment, the marking information includes a start marking time, and step S102 may determine the start marking time of the marking information, which specifically includes:
when the audio signal meets a first preset condition, determining a corresponding time node as the start marker time, wherein the first preset condition comprises one or more of the following conditions: the amplitude of the audio signal is larger than a first amplitude threshold value, the amplitude change value of the audio signal is larger than a first amplitude change threshold value, the frequency of the audio signal is larger than a first frequency threshold value, the frequency change value of the audio signal is larger than a first frequency change threshold value, and the voice recognition result of the audio signal comprises a first preset keyword.
The first amplitude threshold, the first amplitude change threshold, the first frequency threshold and the first frequency change threshold can be set according to experience, and the first preset keywords comprise 'attention', 'emphasis', 'mark' and the like which are used for representing words needing to be marked. When the audio signal meets the first preset condition, the fact that the attention degree of the user to the screen content at the time node is high is represented, and the corresponding time position in the video needs to be marked according to the initial marking time.
In an embodiment, the marking information further includes a termination marking time, and step S102 may determine the termination marking time of the marking information, which specifically includes:
when the audio signal satisfies a second preset condition, determining the corresponding time node as the termination mark time, wherein the second preset condition comprises one or more of the following conditions: the amplitude of the audio signal is smaller than a second amplitude threshold value, the amplitude change value of the audio signal is smaller than a second amplitude change threshold value, the frequency of the audio signal is smaller than a second frequency threshold value, the frequency change value of the audio signal is smaller than a second frequency change threshold value, and the voice recognition result of the audio signal comprises a second preset keyword.
The second amplitude threshold value, the second amplitude variation threshold value, the second frequency threshold value and the second frequency variation threshold value can be set according to experience, and the second preset keywords comprise words such as 'ending' and 'stopping' which are used for representing marks needing to be ended. When the audio signal meets a second preset condition, the fact that the attention degree of the user to the screen content at the time node is low is represented, and the corresponding time position in the video needs to be marked according to the end marking time.
In one embodiment, a set of adjacent start and end marker times may characterize the beginning to end of a marker message.
In an embodiment, the mark information further includes a mark character, and step S102 may further determine the mark character of the mark information, which specifically includes:
the audio signal is subjected to speech recognition to determine the marked text.
The voice recognition can be performed on the audio signal corresponding to the time period from the start marking time to the end marking time of the audio signal, and the result of the voice recognition is determined as the marked text.
In addition, for the recognized mark characters, keywords of the mark characters can be extracted, the mark information can be classified according to the keywords, the same mark color is set for the mark information of the same type, and different mark colors are set for the mark information of different types.
In one embodiment, step S102 further comprises:
before the marking information of the videos is determined, judging whether the number of the marking information in one video reaches a number threshold value;
if not, continuing to determine the marking information of the video;
and if so, stopping determining the mark information of the video.
And S103, marking the video according to the marking information to obtain a video file.
In an embodiment, referring to fig. 2, after step S103, the playing of the recorded video file may be performed, which specifically includes:
and responding to the playing instruction, playing the video file, and displaying the marking information in the playing process. For example, the mark information may be displayed at a progress bar position of the video file according to the start mark time and the end mark time, the mark information may be displayed according to a mark color, the keyword of the mark text may be displayed at a corresponding position above the progress bar of the video file, and the like.
In response to a click instruction for the mark information, it is determined whether or not playback is required to start from a mark position, which may correspond to a start mark time of one mark information.
If so, controlling the video file to start playing from the marked position; if not, continuing to play from the current position.
An exemplary embodiment of the present invention provides a screen recording apparatus, referring to fig. 3, the screen recording apparatus including:
the recording module 21 is configured to record the screen content in response to the screen recording instruction;
a determining module 22, configured to collect an audio signal during a recording process, and determine marking information of a video based on the audio signal;
and the marking module 23 is configured to mark the video according to the marking information to obtain a video file.
The screen recording apparatus provided in this embodiment may be a separate chip, a chip module, or an electronic device, or may be a chip or a chip module integrated in an electronic device.
The modules/units included in the screen recording apparatus described in this embodiment may be software modules/units, or may also be hardware modules/units, or may also be part of software modules/units and part of hardware modules/units.
For the device embodiments, since they substantially correspond to the method embodiments, reference may be made to the partial description of the method embodiments for relevant points. The above-described embodiments of the apparatus are merely illustrative, and the units described as separate parts may or may not be physically separate, and the parts displayed as units may or may not be physical units, may be located in one place, or may be distributed on a plurality of network units. Some or all of the modules can be selected according to actual needs to achieve the purpose of the scheme of the invention. One of ordinary skill in the art can understand and implement without inventive effort.
An exemplary embodiment of an electronic device of the present invention is shown, and referring to FIG. 4, a block diagram of an exemplary electronic device 30 suitable for use in implementing embodiments of the present invention is shown. The electronic device 30 shown in fig. 4 is only an example, and should not bring any limitation to the functions and the scope of use of the embodiment of the present invention.
As shown in fig. 4, the electronic device 30 may be embodied in the form of a general purpose computing device, which may be, for example, a server device. The components of the electronic device 30 may include, but are not limited to: the at least one processor 31, the at least one memory 32, and a bus 33 that couples various device components including the memory 32 and the processor 31.
The bus 33 includes a data bus, an address bus, and a control bus.
The memory 32 may include volatile memory, such as Random Access Memory (RAM) 321 and/or cache memory 322, and may further include Read Only Memory (ROM) 323.
The processor 31 may also be referred to as a main control chip, such as a CPU, for executing various functional applications and data processing, such as the method provided in any of the above embodiments, by running a computer program stored in the memory 32.
The electronic device 30 may also communicate with one or more external devices 34. Such communication may be through an input/output (I/O) interface 35. Also, the model-generated electronic device 30 may also communicate with one or more networks (e.g., a Local Area Network (LAN), a Wide Area Network (WAN), and/or a public network, such as the Internet) via the network adapter 37. As shown, network adapter 37 communicates with the other modules of model-generated electronic device 30 via bus 33. It should be appreciated that although not shown in the figures, other hardware and/or software modules may be used in conjunction with the model-generating electronic device 30, including but not limited to: microcode, device drivers, redundant processors, external disk drive arrays, RAID (disk array) devices, tape drives, and data backup storage devices, etc.
It should be noted that although in the above detailed description several units/modules or sub-units/modules of the electronic device are mentioned, such a division is merely exemplary and not mandatory. Indeed, the features and functions of two or more of the units/modules described above may be embodied in one unit/module according to embodiments of the invention. Conversely, the features and functions of one unit/module described above may be further divided into embodiments by a plurality of units/modules.
Embodiments of the present invention further provide a computer-readable storage medium, on which a computer program is stored, where the computer program is executed by a processor to implement the method provided in any of the above embodiments.
More specific examples that may be employed by the readable storage medium include, but are not limited to: a portable disk, a hard disk, random access memory, read only memory, erasable programmable read only memory, optical storage device, magnetic storage device, or any suitable combination of the foregoing.
In a possible implementation manner, the embodiment of the present invention may also be implemented in the form of a program product, which includes program code for causing a terminal device to execute the method for implementing any of the embodiments described above when the program product runs on the terminal device.
Where program code for carrying out the invention is written in any combination of one or more programming languages, the program code may execute entirely on the user's device, partly on the user's device, as a stand-alone software package, partly on the user's device, partly on a remote device or entirely on the remote device.
While specific embodiments of the invention have been described above, it will be understood by those skilled in the art that this is by way of example only, and that the scope of the invention is defined by the appended claims. Various changes and modifications to these embodiments may be made by those skilled in the art without departing from the spirit and scope of the invention, and these changes and modifications are within the scope of the invention.
Claims (12)
1. A screen recording method, characterized in that the screen recording method comprises:
responding to a screen recording instruction, and recording screen contents;
collecting audio signals in the recording process, and determining marking information of a video based on the audio signals;
and marking the video according to the marking information to obtain a video file.
2. The screen recording method of claim 1, wherein the marking information includes a start marking time;
the determining the mark information of the video based on the audio signal comprises:
when the audio signal meets a first preset condition, determining a corresponding time node as a start mark time, wherein the first preset condition comprises one or more of the following conditions: the amplitude of the audio signal is larger than a first amplitude threshold value, the amplitude change value of the audio signal is larger than a first amplitude change threshold value, the frequency of the audio signal is larger than a first frequency threshold value, the frequency change value of the audio signal is larger than a first frequency change threshold value, and the voice recognition result of the audio signal comprises a first preset keyword.
3. The screen recording method of claim 1, wherein the marking information further includes a termination marking time;
the determining the mark information of the video based on the audio signal comprises:
determining a corresponding time node as a termination mark time when the audio signal satisfies a second preset condition, the second preset condition including one or more of the following conditions: the amplitude of the audio signal is smaller than a second amplitude threshold, the amplitude change value of the audio signal is smaller than a second amplitude change threshold, the frequency of the audio signal is smaller than a second frequency threshold, the frequency change value of the audio signal is smaller than a second frequency change threshold, and the voice recognition result of the audio signal comprises a second preset keyword.
4. The screen recording method of claim 1, wherein the marking information further includes marking text;
the determining of the mark information of the video based on the audio signal comprises:
and carrying out voice recognition on the audio signal to determine the marked words.
5. The screen recording method of claim 4, wherein the marking information further includes a marking color;
after the performing speech recognition on the audio signal to determine the marked words, the method includes:
and classifying the marking information according to the marking characters, and setting the same marking color for the marking information of the same class, and/or setting different marking colors for the marking information of different classes.
6. The screen recording method of any one of claims 1 to 5, wherein after the marking the recorded screen content according to the marking information to obtain a video file, the screen recording method further comprises:
and responding to a playing instruction, playing the video file, and displaying the marking information in the playing process.
7. The screen recording method of claim 6, wherein after the playing the video file, the screen recording method further comprises:
and responding to a click instruction aiming at the mark information, and controlling the video file to start playing from a position corresponding to the mark information.
8. A screen recording apparatus, comprising:
the recording module is used for responding to a screen recording instruction and recording screen contents;
the determining module is used for acquiring an audio signal in the recording process and determining the marking information of the video based on the audio signal;
and the marking module is used for marking the video according to the marking information to obtain a video file.
9. An electronic device comprising a memory, a processor and a computer program stored on the memory and executable on the processor, wherein the processor implements the screen recording method of any one of claims 1-7 when executing the computer program.
10. A chip applied to an electronic device, wherein the chip is configured to perform the screen recording method according to any one of claims 1 to 7.
11. A chip module applied to electronic equipment, which is characterized by comprising a transceiving component and a chip, wherein the chip is used for executing the screen recording method according to claim 1.
12. A computer-readable storage medium on which a computer program is stored, the computer program, when being executed by a processor, implementing the screen recording method according to any one of claims 1 to 7.
Priority Applications (1)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
CN202211406965.1A CN115714878A (en) | 2022-11-10 | 2022-11-10 | Screen recording method, device, equipment, medium and chip |
Applications Claiming Priority (1)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
CN202211406965.1A CN115714878A (en) | 2022-11-10 | 2022-11-10 | Screen recording method, device, equipment, medium and chip |
Publications (1)
Publication Number | Publication Date |
---|---|
CN115714878A true CN115714878A (en) | 2023-02-24 |
Family
ID=85232759
Family Applications (1)
Application Number | Title | Priority Date | Filing Date |
---|---|---|---|
CN202211406965.1A Pending CN115714878A (en) | 2022-11-10 | 2022-11-10 | Screen recording method, device, equipment, medium and chip |
Country Status (1)
Country | Link |
---|---|
CN (1) | CN115714878A (en) |
-
2022
- 2022-11-10 CN CN202211406965.1A patent/CN115714878A/en active Pending
Similar Documents
Publication | Publication Date | Title |
---|---|---|
US9438850B2 (en) | Determining importance of scenes based upon closed captioning data | |
US8909024B2 (en) | Methods and apparatus for tutorial video enhancement | |
TW202040498A (en) | Video generation method, system and equipment based on online education and storage medium | |
CN111539188B (en) | Note generation method, computing device, and computer storage medium | |
CN109218750B (en) | Video content retrieval method, device, storage medium and terminal equipment | |
US11528535B2 (en) | Video file playing method and apparatus, and storage medium | |
JP2008219920A (en) | Editing system for audiovisual work and corresponding text for television news | |
US9525896B2 (en) | Automatic summarizing of media content | |
CN112685672B (en) | Page session behavior trace backtracking method and device and electronic equipment | |
CN112987996B (en) | Information display method, information display device, electronic equipment and computer readable storage medium | |
CN104349173A (en) | Video repeating method and device | |
Imran et al. | Multimedia learning objects framework for e-learning | |
CN115714878A (en) | Screen recording method, device, equipment, medium and chip | |
CN111708912A (en) | Video conference record query processing method and device | |
CN115065871B (en) | Video playing control method and device and electronic equipment | |
CN103577035A (en) | Application interface processing device and method for electronic equipment, and electronic system | |
US20210397652A1 (en) | Method and apparatus for producing video material, electronic device and computer readable medium | |
WO2021230181A1 (en) | Information processing method, information processing device, program, and information processing system | |
WO2021142607A1 (en) | Vehicle diagnosis process playback method, apparatus, and readable storage medium | |
CN114268847A (en) | Video playing method and device, electronic equipment and storage medium | |
CN111696010A (en) | Scene-based training method, server, terminal device and storage medium | |
CN111274960A (en) | Video processing method and device, storage medium and processor | |
US20090222843A1 (en) | Automatic command statistic system and method | |
US20230098356A1 (en) | Systems and methods for identifying candidate videos for audio experiences | |
TWI775232B (en) | System and method for making audio visual teaching materials based on augmented reality |
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 |