CN111147882B - Video processing method and device, terminal equipment and storage medium - Google Patents

Video processing method and device, terminal equipment and storage medium Download PDF

Info

Publication number
CN111147882B
CN111147882B CN201911417861.9A CN201911417861A CN111147882B CN 111147882 B CN111147882 B CN 111147882B CN 201911417861 A CN201911417861 A CN 201911417861A CN 111147882 B CN111147882 B CN 111147882B
Authority
CN
China
Prior art keywords
screen recording
preset
terminal
information
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.)
Active
Application number
CN201911417861.9A
Other languages
Chinese (zh)
Other versions
CN111147882A (en
Inventor
谢纨楠
范威
李�杰
Current Assignee (The listed assignees may be inaccurate. Google has not performed a legal analysis and makes no representation or warranty as to the accuracy of the list.)
Beijing Dajia Internet Information Technology Co Ltd
Original Assignee
Beijing Dajia Internet Information 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 Beijing Dajia Internet Information Technology Co Ltd filed Critical Beijing Dajia Internet Information Technology Co Ltd
Priority to CN201911417861.9A priority Critical patent/CN111147882B/en
Publication of CN111147882A publication Critical patent/CN111147882A/en
Application granted granted Critical
Publication of CN111147882B publication Critical patent/CN111147882B/en
Active legal-status Critical Current
Anticipated expiration legal-status Critical

Links

Images

Classifications

    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04NPICTORIAL COMMUNICATION, e.g. TELEVISION
    • H04N21/00Selective content distribution, e.g. interactive television or video on demand [VOD]
    • H04N21/20Servers specifically adapted for the distribution of content, e.g. VOD servers; Operations thereof
    • H04N21/21Server components or server architectures
    • H04N21/218Source of audio or video content, e.g. local disk arrays
    • H04N21/2187Live feed
    • 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/442Monitoring of processes or resources, e.g. detecting the failure of a recording device, monitoring the downstream bandwidth, the number of times a movie has been viewed, the storage space available from the internal hard disk
    • 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/478Supplemental services, e.g. displaying phone caller identification, shopping application
    • H04N21/4788Supplemental services, e.g. displaying phone caller identification, shopping application communicating with other users, e.g. chatting

Landscapes

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

Abstract

The embodiment of the disclosure provides a video processing method, a video processing device, terminal equipment, a storage medium and a computer program product containing instructions, which relate to the technical field of computers.

Description

Video processing method and device, terminal equipment and storage medium
Technical Field
The present disclosure relates to the field of computer technologies, and in particular, to a video processing method and apparatus, a terminal device, and a storage medium.
Background
With the development of network technologies, the webcast technology for watching videos on different communication platforms through a network system at the same time is more and more popular, a anchor can release webcast data through a webcast platform in a webcast mode, and audiences can watch videos synchronously through webcast platforms such as televisions, mobile phones and tablet computers. In order to improve user experience, through a network live broadcast platform, audiences can realize interaction with a main broadcast through actions of sending barrage messages, sending gifts and the like, the audiences and the main broadcast often encounter wonderful contents worth commemorating or sharing in the interaction process, at present, the main broadcast can only manually trigger video recording to record the contents, the manual recording often causes missing of video processing time, and a method for manually recording live broadcast contents brings inconvenience to users, and the interactive experience of the main broadcast and the audiences is poor.
Disclosure of Invention
The disclosure provides a video processing method, a video processing device, a terminal device, a storage medium and a computer program product containing instructions, so that a first terminal can automatically record wonderful content in a live broadcast process, and interaction experience of a main broadcast and audiences is improved.
The technical scheme of the disclosure is as follows:
according to a first aspect of the embodiments of the present disclosure, the present disclosure provides a video processing method, applied to a first terminal, including:
receiving preset information indicating that a first preset event occurs at a second terminal, wherein the first preset event occurs in the process of playing a live video of a first terminal by the second terminal;
and when the received preset information meets a preset condition, starting screen recording.
Optionally, the preset information is screen recording information indicating that the second terminal starts screen recording;
when the received preset information meets the preset condition, starting screen recording, including:
and starting screen recording when the number of the received screen recording information reaches a preset information number threshold value within a preset time period, wherein when a plurality of screen recording information are received, different screen recording information is screen recording information representing different second terminal start screen recording.
Optionally, the preset information is gift information indicating that the second terminal sends a gift to the first terminal.
Optionally, the gift information is a gift grade; when the received preset information meets the preset condition, starting screen recording, including: when the received gift grade reaches a preset grade threshold value, starting screen recording; or
The gift information is the amount of the gift; when the received preset information meets the preset condition, starting screen recording, including: starting a screen for recording when the sum of the received gift money reaches a preset money threshold value within a preset time period; or
The gift information is the number of gifts; when the received preset information meets the preset condition, starting screen recording, including: and starting screen recording when the sum of the received gift quantity reaches a preset gift quantity threshold value within a preset time period.
Optionally, the starting screen recording includes:
starting screen recording from the moment of a first preset duration before the current moment; or
Starting screen recording from the current moment; or
And starting to record the screen from the moment of a second preset time length after the current moment.
Optionally, after the step of starting screen recording, the method further includes:
after the screen recording is carried out for a preset time, ending the screen recording; or
And when the first terminal is monitored to generate a second preset event, ending screen recording.
Optionally, when it is monitored that a second preset event occurs at the first terminal, ending screen recording, including:
when the number of times of monitoring that the preset special effect displayed on the screen of the first terminal reaches a preset number threshold value, ending screen recording; or
And when the first terminal receives the preset audio signal, ending screen recording.
According to a second aspect of the embodiments of the present disclosure, there is provided a video processing apparatus applied to a first terminal, including:
the receiving module is configured to receive preset information indicating that a first preset event occurs in a second terminal, wherein the first preset event occurs in the process of playing a live video of the first terminal by the second terminal;
and the recording module is configured to start screen recording when the received preset information meets a preset condition.
Optionally, the preset information is screen recording information indicating that the second terminal starts screen recording;
the recording module is specifically configured to:
and starting screen recording when the number of the received screen recording information reaches a preset information number threshold value within a preset time period, wherein when a plurality of screen recording information are received, different screen recording information is screen recording information representing different second terminal start screen recording.
Optionally, the preset information is gift information indicating that the second terminal sends a gift to the first terminal.
Optionally, the gift information is a gift grade; the recording module is specifically configured to: when the received gift grade reaches a preset grade threshold value, starting screen recording; or
The gift information is the amount of the gift; the recording module is specifically configured to: starting a screen for recording when the sum of the received gift money reaches a preset money threshold value within a preset time period; or
The gift information is the number of gifts; the recording module is specifically configured to: and starting screen recording when the sum of the received gift quantity reaches a preset gift quantity threshold value within a preset time period.
Optionally, the recording module is specifically configured to:
starting screen recording from the moment of a first preset duration before the current moment; or
Starting screen recording from the current moment; or
And starting to record the screen from the moment of a second preset time length after the current moment.
Optionally, the apparatus further comprises an ending module configured to:
after the screen recording is carried out for a preset time, ending the screen recording; or
And when the first terminal is monitored to generate a second preset event, ending screen recording.
Optionally, the ending module is specifically configured to:
when the number of times of monitoring that the preset special effect displayed on the screen of the first terminal reaches a preset number threshold value, ending screen recording; or
And when the first terminal receives the preset audio signal, ending screen recording.
According to a third aspect of the embodiments of the present disclosure, there is provided a terminal device, including: the system comprises a processor, a communication interface, a memory and a communication bus, wherein the processor, the communication interface and the memory are communicated with each other through the communication bus;
a memory configured to store a computer program;
a processor configured to implement the video processing method according to any one of the first aspect described above when executing the program stored in the memory.
According to a fourth aspect of the embodiments of the present disclosure, there is provided a storage medium having a computer program stored therein, the computer program, when executed by a processor, implementing the video processing method according to any one of the first aspect.
According to a fifth aspect of embodiments of the present disclosure, there is provided a computer program product containing instructions which, when run on a computer, cause the computer to perform the video processing method of any of the first aspects described above.
The video processing method, the video processing device, the terminal device, the storage medium and the computer program product containing the instructions provided by the embodiments of the disclosure at least bring the following beneficial effects:
through receiving the preset information of a first preset event which occurs in the process of playing the live video of the first terminal by the second terminal, when the preset information is received and meets the preset condition, the screen is started to record, the video is recorded, and therefore the purpose that the first terminal automatically records the wonderful content in the live broadcasting process is achieved, and the interactive experience of the anchor broadcast and audiences is improved.
It is to be understood that both the foregoing general description and the following detailed description are exemplary and explanatory only and are not restrictive of the disclosure.
Drawings
The accompanying drawings, which are incorporated in and constitute a part of this specification, illustrate embodiments consistent with the present disclosure and, together with the description, serve to explain the principles of the disclosure and are not to be construed as limiting the disclosure.
FIG. 1 is a schematic diagram illustrating a video processing method in accordance with an exemplary embodiment;
FIG. 2 is a block diagram illustrating a video processing device according to an exemplary embodiment;
FIG. 3 is a block diagram illustrating a first type of terminal device according to an example embodiment;
fig. 4 is a block diagram illustrating a second type of terminal device according to an example embodiment.
Detailed Description
In order to make the technical solutions of the present disclosure better understood by those of ordinary skill in the art, the technical solutions in the embodiments of the present disclosure will be clearly and completely described below with reference to the accompanying drawings.
It should be noted that the terms "first," "second," and the like in the description and claims of the present disclosure and in the above-described drawings are used for distinguishing between similar elements and not necessarily for describing a particular sequential or chronological order. It is to be understood that the data so used is interchangeable under appropriate circumstances such that the embodiments of the disclosure described herein are capable of operation in sequences other than those illustrated or otherwise described herein. The implementations described in the exemplary embodiments below are not intended to represent all implementations consistent with the present disclosure. Rather, they are merely examples of apparatus and methods consistent with certain aspects of the present disclosure, as detailed in the appended claims.
The disclosed embodiments disclose a video processing method, apparatus, terminal device, storage medium and computer program product containing instructions, which are described below.
Fig. 1 is a schematic diagram illustrating a video processing method according to an exemplary embodiment as shown in fig. 1, including the steps of:
in step S110, preset information indicating that a first preset event occurs at a second terminal is received, where the first preset event occurs during a process of playing a live video of the first terminal by the second terminal.
The video processing method of the embodiment of the disclosure can be implemented by a terminal device, specifically, the terminal device can be a smart phone, a computer, or the like.
Currently, a main broadcast carries out live broadcast at a first terminal, each audience user can watch live broadcast video of the main broadcast through a second terminal, the audience user can record the live broadcast video in the live broadcast process, and the audience user can record the live broadcast video in the live broadcast process to generate preset information; meanwhile, the audience user can also send gifts to the anchor broadcast to generate preset information. The first terminal may receive preset information indicating that a first preset event occurs at the second terminal, and start screen recording when the received preset information meets a preset condition, where the preset information may be sent by a server.
In step S120, when the received preset information meets a preset condition, screen recording is started.
And when the received preset information meets the preset condition, starting screen recording.
In a possible implementation manner, the preset information is screen recording information indicating that the second terminal starts screen recording;
when the received preset information meets the preset condition, the screen recording is started, and the method comprises the following steps:
and starting screen recording when the number of the received screen recording information reaches a preset information number threshold value within a preset time period, wherein when a plurality of screen recording information are received, different screen recording information is screen recording information representing different second terminals to start screen recording.
For example, the audience can record the wonderful content of the main broadcast in the live broadcast process by operating the screen recording button of the second terminal, when the audience operates the screen recording button of the second terminal, a screen recording message is generated, and the first terminal obtains the screen recording message of the second terminal through the direct or indirect communication between the second terminal and the first terminal. The mode that the second terminal records the live video in the main broadcast live process is not limited, the audience user of the second terminal can manually record the live video in the live process, the second terminal can also set an automatic mode to record the video, and the live terminal can receive the screen recording message of the second terminal as long as the second terminal carries out screen recording. And starting screen recording when the number of the received screen recording information reaches a preset information number threshold value within a preset time period. The preset time period and the preset information quantity threshold value can be set in a self-defined mode. For example, the viewer user watches the live video of the anchor through the second terminal, the anchor receives the screen recording message from the a user of the second terminal 1, and in the next 20s, the anchor receives the screen recording messages from the users of other second terminals, for example, the anchor receives the screen recording messages from 20 users of 20 second terminals, and the number of the 20 screen recording messages exceeds the preset value 15, then the screen recording is started. Furthermore, after the first terminal obtains the screen recording video, the anchor can store the screen recording video to the local, the screen recording video can be edited as required, and then the screen recording video is uploaded to a related page of an anchor live broadcast room and the like, so that audience users can watch wonderful contents in a live broadcast history live broadcast process when browsing the page of the anchor.
In one possible embodiment, the preset information is gift information indicating that the second terminal sends a gift to the first terminal.
Each audience user can watch the live broadcast video of the anchor broadcast through the second terminal, the audience user can give the gift for the anchor broadcast in the watching live broadcast process, different gift prices are different, the grade level is different, when the audience user sends the gift for the anchor broadcast, the second terminal can generate preset information, the preset information comprises the amount of the gift, the grade of the gift, the identity of the audience, therefore, the first terminal can obtain the preset information sent by the second terminal according to the gift information, according to the preset information, whether the screen is started to record can be determined.
In one possible embodiment, the gift information is a gift grade; when the received preset information meets the preset condition, the screen recording is started, and the method comprises the following steps: when the received gift grade reaches a preset grade threshold value, starting screen recording; or
The gift information is the sum of the gift; when the received preset information meets the preset condition, the screen recording is started, and the method comprises the following steps: when the sum of the received gift money reaches a preset money threshold value within a preset time period, starting screen recording; or
The gift information is the number of gifts; when the received preset information meets the preset condition, the screen recording is started, and the method comprises the following steps: and starting screen recording when the sum of the received gift quantity reaches a preset gift quantity threshold value within a preset time period.
For example, when the amount of the gift given by the user a from the second terminal 1 exceeds a preset amount threshold, screen recording is started; or the screen recording is started when the gift level of the gifted gifts given by the a user from the second terminal 1 exceeds the preset level threshold, and for example, the screen recording is started when the gift number of the gifted gifts given by the a user from the second terminal 1 exceeds the preset number threshold. Or, in a certain time period, starting screen recording when the accumulated gift sum of gifts given by the second terminal users exceeds a preset sum threshold, or, in a certain time period, starting screen recording when the gift number of the accumulated gift of gifts given by the second terminal users exceeds a preset number threshold.
In a possible implementation manner, the starting screen recording includes:
starting screen recording from the moment of a first preset duration before the current moment; or
Starting screen recording from the current moment; or
And starting to record the screen from the moment of a second preset time length after the current moment.
The screen recording is started from the time of a first preset time length before the current time, or from the time of a second preset time length after the current time. For example, in a preset time period, when the number of the received screen recording messages reaches a preset information number threshold, the screen recording is started from a time of a first preset time period before the current time, where the first preset time period may be set according to an actual situation, for example, set to 10 seconds, 15 seconds, or 20 seconds. According to the requirement, in the anchor live broadcasting process, in order to capture the wonderful moment, the cache video a period of time before the current live broadcasting time can be cached, for example, in the anchor live broadcasting process, the cache video 20s before the current live broadcasting time is always cached and recorded, for example, 19s is broadcasted in the live broadcasting process, the video of 19s is cached and recorded, 60s is broadcasted in the anchor broadcasting process, and the live broadcasting video of 40s to 60s is cached and recorded. When the anchor receives the screen recording message of the user a from the second terminal 1, within 20s thereafter, the anchor receives the screen recording messages of the users from other second terminals, the anchor receives the screen recording messages of 20 users from 20 second terminals altogether, the number of the 20 screen recording messages exceeds the preset value 15, and according to the time when the number of the received screen recording messages reaches the preset information number threshold, the cache video with the first preset time length before the time is obtained from the cache of the first terminal, for example, the cache video 20s before the time is obtained, that is, the screen recording is started from 20s before the time.
Or, if the number of the received screen recording messages exceeds a preset value threshold value within a preset time period, starting screen recording from the current moment. Or, if the number of the received screen recording messages exceeds a preset value threshold within a preset time period, starting screen recording from a second preset time after the current time.
By acquiring the second terminal screen recording instruction, when the second terminal screen recording instruction exceeds the preset value threshold value within the preset time period, the screen is started to record, so that the purpose of automatically recording wonderful content in the live broadcast process at the first terminal is realized, and the interactive experience of the anchor broadcast and audiences is improved.
In a possible implementation, after the step of starting screen recording, the method further includes:
after the screen recording is carried out for a preset time, ending the screen recording; or
And when the first terminal is monitored to generate a second preset event, ending screen recording.
After the screen recording is started, after the screen recording is performed for a preset time, ending the screen recording, that is, performing screen recording for the preset time on the screen, for example, starting the screen recording from the current moment when the number of the received screen recording messages exceeds a preset value threshold within a preset time period, and then ending the screen recording after the screen recording is performed for 20s, so as to obtain a screen recording video for 20s, wherein the preset time is set according to needs.
In addition, the screen recording may also be ended when it is monitored that a second preset event occurs at the first terminal, for example, when the number of times of monitoring the preset special effect displayed on the screen of the first terminal reaches a preset number threshold, the screen recording is ended, for example, when the time of one gift special effect is 5 seconds, and when 5 gift special effects are monitored, the screen recording is ended. Or, when it is monitored that the first terminal receives the preset audio signal, the screen recording is ended, for example, the screen recording is started from the current moment, the first terminal receives the preset audio signal including a thank you from the anchor to the current audience, the credits are given to the current audience, and when it is monitored that the anchor refers to a name other than the current audience, the screen recording is ended. The second preset time can be set according to actual needs.
Fig. 2 is a block diagram illustrating a video processing apparatus according to an exemplary embodiment, referring to fig. 2, the apparatus including: a receiving module 310 and a recording module 320.
A receiving module 310, configured to receive preset information indicating that a first preset event occurs at a second terminal, where the first preset event occurs during a process of playing a live video of the first terminal by the second terminal;
and a recording module 320 configured to start screen recording when the received preset information meets a preset condition.
In a possible implementation manner, the preset information is screen recording information indicating that the second terminal starts screen recording;
the recording module 320 is specifically configured to:
and starting screen recording when the number of the received screen recording information reaches a preset information number threshold value within a preset time period, wherein when a plurality of screen recording information are received, different screen recording information is screen recording information representing different second terminals to start screen recording.
In one possible embodiment, the preset information is gift information indicating that the second terminal sends a gift to the first terminal.
In one possible embodiment, the gift information is a gift grade; the recording module 320 is specifically configured to: when the received gift grade reaches a preset grade threshold value, starting screen recording; or
The gift information is the sum of the gift; the recording module is specifically configured to: when the sum of the received gift money reaches a preset money threshold value within a preset time period, starting screen recording; or
The gift information is the number of gifts; the recording module 320 is specifically configured to: and starting screen recording when the sum of the received gift quantity reaches a preset gift quantity threshold value within a preset time period.
In a possible implementation manner, the recording module 320 is specifically configured to:
starting screen recording from the moment of a first preset duration before the current moment; or
Starting screen recording from the current moment; or
And starting to record the screen from the moment of a second preset time length after the current moment.
In a possible implementation, the apparatus further includes an ending module configured to:
after the screen recording is carried out for a preset time, ending the screen recording; or
And when the first terminal is monitored to generate a second preset event, ending screen recording.
In a possible implementation manner, the ending module is specifically configured to:
when the number of times of monitoring that the preset special effect displayed on the screen of the first terminal reaches a preset number threshold value, ending screen recording; or
And when the first terminal receives the preset audio signal, ending screen recording.
With regard to the apparatus in the above-described embodiment, the specific manner in which each module performs the operation has been described in detail in the embodiment related to the method, and will not be elaborated here.
An embodiment of the present application further provides a terminal device, including: the system comprises a processor, a communication interface, a memory and a communication bus, wherein the processor, the communication interface and the memory are used for completing mutual communication through the communication bus, and the memory is used for storing computer programs;
the processor is configured to implement the following steps when executing the computer program stored in the memory:
receiving preset information indicating that a first preset event occurs at a second terminal, wherein the first preset event occurs during the process of playing a live video of a first terminal by the second terminal;
and when the received preset information meets the preset condition, starting screen recording.
Optionally, the processor, when being configured to execute the program stored in the memory, may further implement any of the video processing methods described above.
The communication bus mentioned in the above terminal device may be a Peripheral Component Interconnect (PCI) bus, an Extended Industry Standard Architecture (EISA) bus, or the like. The communication bus may be divided into an address bus, a data bus, a control bus, etc. For ease of illustration, only one thick line is shown, but this does not mean that there is only one bus or one type of bus.
The communication interface is used for communication between the terminal equipment and other equipment.
The Memory may include a Random Access Memory (RAM) or a Non-Volatile Memory (NVM), such as at least one disk Memory. Optionally, the memory may also be at least one memory device located remotely from the processor.
The Processor may be a general-purpose Processor, including a Central Processing Unit (CPU), a Network Processor (NP), and the like; but also Digital Signal Processors (DSPs), Application Specific Integrated Circuits (ASICs), Field Programmable Gate Arrays (FPGAs) or other Programmable logic devices, discrete Gate or transistor logic devices, discrete hardware components.
Fig. 3 is a block diagram illustrating a first type of terminal device according to an exemplary embodiment, referring to fig. 3, for example, terminal device 800 may be a mobile phone, a computer, a digital broadcast terminal, a messaging device, a game console, a tablet device, a medical device, an exercise device, a personal digital assistant, and the like.
Referring to fig. 3, terminal device 800 may include one or more of the following components: processing component 802, memory 804, power component 806, multimedia component 808, audio component 810, input/output (I/O) interface 812, sensor component 814, and communication component 816.
The processing component 802 generally controls overall operation of the terminal device 800, such as operations associated with display, telephone calls, data communications, camera operations, and recording operations. The processing components 802 may include one or more processors 820 to execute instructions to perform all or a portion of the steps of the methods described above. Further, the processing component 802 can include one or more modules that facilitate interaction between the processing component 802 and other components. For example, the processing component 802 can include a multimedia module to facilitate interaction between the multimedia component 808 and the processing component 802.
The memory 804 is configured to store various types of data to support operations at the terminal device 800. Examples of such data include instructions for any application or method operating on terminal device 800, contact data, phonebook data, messages, pictures, videos, and so forth. The memory 804 may be implemented by any type or combination of volatile or non-volatile memory devices such as Static Random Access Memory (SRAM), electrically erasable programmable read-only memory (EEPROM), erasable programmable read-only memory (EPROM), programmable read-only memory (PROM), read-only memory (ROM), magnetic memory, flash memory, magnetic or optical disks.
Power components 806 provide power to the various components of terminal device 800. Power components 806 may include a power management system, one or more power sources, and other components associated with generating, managing, and distributing power for terminal device 800.
The multimedia component 808 includes a screen providing an output interface between the terminal device 800 and the user as described above. In some embodiments, the screen may include a Liquid Crystal Display (LCD) and a Touch Panel (TP). If the screen includes a touch panel, the screen may be implemented as a touch screen to receive an input signal from a user. The touch panel includes one or more touch sensors to sense touch, slide, and gestures on the touch panel. The touch sensor may not only sense the boundary of the touch or slide action but also detect the duration and pressure associated with the touch or slide operation. In some embodiments, the multimedia component 808 includes a front facing camera and/or a rear facing camera. When the terminal device 800 is in an operation mode, such as a shooting mode or a video mode, the front camera and/or the rear camera may receive external multimedia data. Each front camera and rear camera may be a fixed optical lens system or have a focal length and optical zoom capability.
The audio component 810 is configured to output and/or input audio signals. For example, the audio component 810 includes a Microphone (MIC) configured to receive an external audio signal when the terminal device 800 is in an operation mode, such as a call mode, a recording mode, and a voice recognition mode. The received audio signals may further be stored in the memory 804 or transmitted via the communication component 816. In some embodiments, audio component 810 also includes a speaker for outputting audio signals.
The I/O interface 812 provides an interface between the processing component 802 and peripheral interface modules, which may be keyboards, click wheels, buttons, etc. These buttons may include, but are not limited to: a home button, a volume button, a start button, and a lock button.
Sensor component 814 includes one or more sensors for providing various aspects of state assessment for terminal device 800. For example, sensor assembly 814 may detect an open/closed status of terminal device 800, the relative positioning of components, such as a display and keypad of terminal device 800, sensor assembly 814 may also detect a change in the position of terminal device 800 or a component of terminal device 800, the presence or absence of user contact with terminal device 800, orientation or acceleration/deceleration of terminal device 800, and a change in the temperature of terminal device 800. Sensor assembly 814 may include a proximity sensor configured to detect the presence of a nearby object without any physical contact. The sensor assembly 814 may also include a light sensor, such as a CMOS or CCD image sensor, for use in imaging applications. In some embodiments, the sensor assembly 814 may also include an acceleration sensor, a gyroscope sensor, a magnetic sensor, a pressure sensor, or a temperature sensor.
Communication component 816 is configured to facilitate communications between terminal device 800 and other devices in a wired or wireless manner. The terminal device 800 may access a wireless network based on a communication standard, such as WiFi, an operator network (such as 2G, 3G, 4G, or 5G), or a combination thereof. In an exemplary embodiment, the communication component 816 receives a broadcast signal or broadcast related information from an external broadcast management system via a broadcast channel. In an exemplary embodiment, the above-mentioned communication component 816 further comprises a Near Field Communication (NFC) module to facilitate short-range communication. For example, the NFC module may be implemented based on Radio Frequency Identification (RFID) technology, infrared data association (IrDA) technology, Ultra Wideband (UWB) technology, Bluetooth (BT) technology, and other technologies.
In an exemplary embodiment, the terminal device 800 may be implemented by one or more Application Specific Integrated Circuits (ASICs), Digital Signal Processors (DSPs), Digital Signal Processing Devices (DSPDs), Programmable Logic Devices (PLDs), Field Programmable Gate Arrays (FPGAs), controllers, micro-controllers, microprocessors or other electronic components for performing any of the above-described video processing methods in the above-described embodiments.
Fig. 4 is a block diagram illustrating a second type of terminal device according to an example embodiment. For example, the terminal apparatus 900 may be provided as a server. Referring to fig. 4, terminal device 900 includes a processing component 922, which further includes one or more processors, and memory resources, represented by memory 932, for storing instructions, such as applications, that are executable by processing component 922. The application programs stored in memory 932 may include one or more modules that each correspond to a set of instructions. Further, the processing component 922 is configured to execute instructions to perform any of the video processing methods described above in the embodiments described above.
The terminal device 900 may also include a power component 926 configured to perform power management of the terminal device 900, a wired or wireless network interface 950 configured to connect the terminal device 900 to a network, and an input output (I/O) interface 958. Terminal device 900 may operate based on an operating system stored in memory 932, such as a Windows Server, Mac OS XTM, UnixTM, LinuxTM, FreeBSDTM, or similar operating system.
In the embodiment of the present disclosure, a storage medium is further provided, where instructions are stored, and when the storage medium runs on a computer, the storage medium causes the computer to execute any of the above-mentioned video processing methods in the above-mentioned embodiments. In an exemplary embodiment, a storage medium comprising instructions, such as the memory 804 comprising instructions, executable by the processor 820 of the terminal device 800 to perform the above-described method is also provided. Alternatively, the storage medium may be, for example, a non-transitory computer-readable storage medium, such as a ROM, a Random Access Memory (RAM), a CD-ROM, a magnetic tape, a floppy disk, an optical data storage device, and the like.
In an embodiment of the present disclosure, there is also provided a computer program product containing instructions, which when run on a computer, cause the computer to perform any of the above-mentioned video processing methods in the above-mentioned embodiments.
Other embodiments of the disclosure will be apparent to those skilled in the art from consideration of the specification and practice of the disclosure disclosed herein. This application is intended to cover any variations, uses, or adaptations of the disclosure following, in general, the principles of the disclosure and including such departures from the present disclosure as come within known or customary practice within the art to which the disclosure pertains. It is intended that the specification and examples be considered as exemplary only, with a true scope and spirit of the disclosure being indicated by the following claims.
It will be understood that the present disclosure is not limited to the precise arrangements described above and shown in the drawings and that various modifications and changes may be made without departing from the scope thereof. The scope of the present disclosure is limited only by the appended claims.

Claims (10)

1. A video processing method applied to a first terminal comprises the following steps:
receiving preset information indicating that a first preset event occurs at a second terminal, wherein the first preset event occurs in the process of playing a live video of a first terminal by the second terminal;
when the received preset information meets a preset condition, starting screen recording;
the preset information is screen recording information representing that the second terminal starts screen recording;
when the received preset information meets the preset condition, starting screen recording, including:
and starting screen recording when the number of the received screen recording information reaches a preset information number threshold value within a preset time period, wherein when a plurality of screen recording information are received, different screen recording information is screen recording information representing different second terminal start screen recording.
2. The method of claim 1, wherein the initiating screen recording comprises:
starting screen recording from the moment of a first preset duration before the current moment; or
Starting screen recording from the current moment; or
And starting to record the screen from the moment of a second preset time length after the current moment.
3. The method of claim 1, wherein after the step of initiating screen recording, the method further comprises:
after the screen recording is carried out for a preset time, ending the screen recording; or
And when the first terminal is monitored to generate a second preset event, ending screen recording.
4. The method of claim 3, wherein ending screen recording when it is monitored that a second preset event occurs at the first terminal comprises:
when the number of times of monitoring that the preset special effect displayed on the screen of the first terminal reaches a preset number threshold value, ending screen recording; or
And when the first terminal receives the preset audio signal, ending screen recording.
5. A video processing apparatus applied to a first terminal, comprising:
the receiving module is configured to receive preset information indicating that a first preset event occurs in a second terminal, wherein the first preset event occurs in the process of playing a live video of the first terminal by the second terminal;
the recording module is configured to start screen recording when the received preset information meets a preset condition;
the preset information is screen recording information representing that the second terminal starts screen recording;
the recording module is specifically configured to:
and starting screen recording when the number of the received screen recording information reaches a preset information number threshold value within a preset time period, wherein when a plurality of screen recording information are received, different screen recording information is screen recording information representing different second terminal start screen recording.
6. The apparatus of claim 5, wherein the recording module is specifically configured to:
starting screen recording from the moment of a first preset duration before the current moment; or
Starting screen recording from the current moment; or
And starting to record the screen from the moment of a second preset time length after the current moment.
7. The apparatus of claim 5, further comprising an end module configured to:
after the screen recording is carried out for a preset time, ending the screen recording; or
And when the first terminal is monitored to generate a second preset event, ending screen recording.
8. The apparatus of claim 7, wherein the end module is specifically configured to:
when the number of times of monitoring that the preset special effect displayed on the screen of the first terminal reaches a preset number threshold value, ending screen recording; or
And when the first terminal receives the preset audio signal, ending screen recording.
9. A terminal device, comprising: a processor, a communication interface, a memory, and a communication bus, wherein:
the processor, the communication interface and the memory complete mutual communication through a communication bus;
a memory configured to store a computer program;
a processor configured to implement the video processing method of any one of claims 1-4 when executing the program stored on the memory.
10. A storage medium, in which a computer program is stored, which, when executed by a processor, implements the video processing method of any one of claims 1 to 4.
CN201911417861.9A 2019-12-31 2019-12-31 Video processing method and device, terminal equipment and storage medium Active CN111147882B (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN201911417861.9A CN111147882B (en) 2019-12-31 2019-12-31 Video processing method and device, terminal equipment and storage medium

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN201911417861.9A CN111147882B (en) 2019-12-31 2019-12-31 Video processing method and device, terminal equipment and storage medium

Publications (2)

Publication Number Publication Date
CN111147882A CN111147882A (en) 2020-05-12
CN111147882B true CN111147882B (en) 2022-02-08

Family

ID=70522836

Family Applications (1)

Application Number Title Priority Date Filing Date
CN201911417861.9A Active CN111147882B (en) 2019-12-31 2019-12-31 Video processing method and device, terminal equipment and storage medium

Country Status (1)

Country Link
CN (1) CN111147882B (en)

Families Citing this family (3)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN113014948B (en) * 2021-03-08 2023-11-03 广州市网星信息技术有限公司 Video recording and synthesizing method, device, equipment and storage medium
CN113490045B (en) * 2021-06-30 2024-03-22 北京百度网讯科技有限公司 Special effect adding method, device, equipment and storage medium for live video
CN114173146B (en) * 2021-12-10 2024-01-19 北京达佳互联信息技术有限公司 Traffic configuration method, device, server and storage medium

Citations (6)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN106303331A (en) * 2016-08-18 2017-01-04 腾讯科技(深圳)有限公司 video recording method, terminal and system
CN106792122A (en) * 2017-02-20 2017-05-31 北京金山安全软件有限公司 Automatic video recording method and device and terminal
US10028004B1 (en) * 2009-11-05 2018-07-17 Cox Communications, Inc. Live television program overrun management system
CN108377396A (en) * 2018-02-13 2018-08-07 北京潘达互娱科技有限公司 A kind of live streaming method for recording, device and equipment
CN108900855A (en) * 2018-07-12 2018-11-27 腾讯科技(深圳)有限公司 live content recording method and device
CN111050205A (en) * 2019-12-13 2020-04-21 广州酷狗计算机科技有限公司 Video clip acquisition method, device, apparatus, storage medium, and program product

Patent Citations (6)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
US10028004B1 (en) * 2009-11-05 2018-07-17 Cox Communications, Inc. Live television program overrun management system
CN106303331A (en) * 2016-08-18 2017-01-04 腾讯科技(深圳)有限公司 video recording method, terminal and system
CN106792122A (en) * 2017-02-20 2017-05-31 北京金山安全软件有限公司 Automatic video recording method and device and terminal
CN108377396A (en) * 2018-02-13 2018-08-07 北京潘达互娱科技有限公司 A kind of live streaming method for recording, device and equipment
CN108900855A (en) * 2018-07-12 2018-11-27 腾讯科技(深圳)有限公司 live content recording method and device
CN111050205A (en) * 2019-12-13 2020-04-21 广州酷狗计算机科技有限公司 Video clip acquisition method, device, apparatus, storage medium, and program product

Also Published As

Publication number Publication date
CN111147882A (en) 2020-05-12

Similar Documents

Publication Publication Date Title
CN111107421B (en) Video processing method and device, terminal equipment and storage medium
CN106911961B (en) Multimedia data playing method and device
EP3276976A1 (en) Method, apparatus, host terminal, server and system for processing live broadcasting information
EP3174053A1 (en) Method, apparatus and system for playing multimedia data, computer program and recording medium
EP3188066A1 (en) A method and an apparatus for managing an application
CN106941624B (en) Processing method and device for network video trial viewing
CN111147882B (en) Video processing method and device, terminal equipment and storage medium
CN109451341B (en) Video playing method, video playing device, electronic equipment and storage medium
CN105786507B (en) Display interface switching method and device
CN107743244B (en) Video live broadcasting method and device
CN111182328B (en) Video editing method, device, server, terminal and storage medium
CN110691268B (en) Message sending method, device, server, mobile terminal and storage medium
CN107959864B (en) Screen capture control method and device
CN112291631A (en) Information acquisition method, device, terminal and storage medium
CN112188230A (en) Virtual resource processing method and device, terminal equipment and server
CN108521579B (en) Bullet screen information display method and device
CN105959928A (en) Traffic control method and device
CN104837020B (en) The method and apparatus for playing video
CN106454540B (en) Method and device for processing interactive information based on live broadcast
CN110769275B (en) Method, device and system for processing live data stream
CN109831538B (en) Message processing method, device, server, terminal and medium
CN106034214A (en) Video data recording method and apparatus thereof
CN112685599A (en) Video recommendation method and device
CN110162366B (en) Information display method and device, electronic equipment and storage medium
CN114339320B (en) Virtual resource processing method, device, equipment and storage medium

Legal Events

Date Code Title Description
PB01 Publication
PB01 Publication
SE01 Entry into force of request for substantive examination
SE01 Entry into force of request for substantive examination
GR01 Patent grant
GR01 Patent grant