CN106034214A - Video data recording method and apparatus thereof - Google Patents
Video data recording method and apparatus thereof Download PDFInfo
- Publication number
- CN106034214A CN106034214A CN201510115609.8A CN201510115609A CN106034214A CN 106034214 A CN106034214 A CN 106034214A CN 201510115609 A CN201510115609 A CN 201510115609A CN 106034214 A CN106034214 A CN 106034214A
- Authority
- CN
- China
- Prior art keywords
- recording
- video
- video data
- target terminal
- terminal
- 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
- 238000000034 method Methods 0.000 title claims abstract description 81
- 230000008569 process Effects 0.000 claims abstract description 38
- 238000005516 engineering process Methods 0.000 abstract description 8
- 238000012545 processing Methods 0.000 description 12
- 238000004891 communication Methods 0.000 description 11
- 238000010586 diagram Methods 0.000 description 8
- 230000001960 triggered effect Effects 0.000 description 5
- 230000003287 optical effect Effects 0.000 description 4
- 230000005236 sound signal Effects 0.000 description 4
- 230000001360 synchronised effect Effects 0.000 description 3
- 230000001133 acceleration Effects 0.000 description 2
- 230000008859 change Effects 0.000 description 2
- 238000012790 confirmation Methods 0.000 description 2
- 238000011161 development Methods 0.000 description 2
- 230000006870 function Effects 0.000 description 2
- 230000003993 interaction Effects 0.000 description 2
- 238000007726 management method Methods 0.000 description 2
- 238000004806 packaging method and process Methods 0.000 description 2
- 238000001454 recorded image Methods 0.000 description 2
- 230000009471 action Effects 0.000 description 1
- 230000006978 adaptation Effects 0.000 description 1
- 238000003491 array Methods 0.000 description 1
- 230000009286 beneficial effect Effects 0.000 description 1
- 238000013500 data storage Methods 0.000 description 1
- 238000003384 imaging method Methods 0.000 description 1
- 239000004973 liquid crystal related substance Substances 0.000 description 1
- 238000012986 modification Methods 0.000 description 1
- 230000004048 modification Effects 0.000 description 1
- 230000002093 peripheral effect Effects 0.000 description 1
- 230000003068 static effect Effects 0.000 description 1
Landscapes
- Information Transfer Between Computers (AREA)
Abstract
The invention discloses a video data recording method and an apparatus thereof and belongs to the terminal technology field. The method comprises the following steps of during a process of carrying out video session with a target terminal through an instant messaging application, receiving a recording instruction, wherein the recording instruction is used for indicating to record video data sent by the target terminal; acquiring the video data sent by the target terminal, wherein the video data includes image data and audio data; based on the image data and audio data, carrying out recording; and according to the recorded video data, generating a video file. By using the method and the apparatus of the invention, a problem that target terminal video data can not be recorded is solved, an application scope is expanded and flexibility is increased.
Description
Technical Field
The present disclosure relates to the field of terminal technologies, and in particular, to a method and an apparatus for recording video data.
Background
With the development of internet technology and the popularization of intelligent terminals, communication between users is not limited to text and voice forms any more, video conversation starts to appear, and the video conversation enables the users to communicate intuitively, so that the distance between the users is shortened.
Taking the example that the first user and the second user perform a video session, a first terminal used by the first user obtains image data of the first user through a camera, obtains audio data of the first user through a microphone, performs synchronous processing on the obtained image data and the audio data to obtain video data of the first user, and sends the video data to a second terminal used by the second user, so that the second user can view the video data of the first user. Similarly, the first user may also view video data of the second user. In the process of performing the video session, the first user may trigger a recording instruction for the video data of the first user, and the first terminal records the video data of the first user according to the recording instruction, generates a video file according to the recorded video data, and can store the video data of the first user in the form of the video file for subsequent viewing at any time.
In implementing the present disclosure, the inventors found that there are drawbacks in the related art, such as: the first terminal can only record the video data of the first user, but cannot record the video data of the second user, and the application range is narrow and the limitation is strong.
Disclosure of Invention
In order to solve the problems in the related art, the present disclosure provides a video data recording method and apparatus. The technical scheme is as follows:
according to a first aspect of the embodiments of the present disclosure, there is provided a video data recording method, including:
receiving a recording instruction in the process of carrying out video session with a target terminal through instant messaging application, wherein the recording instruction is used for instructing to record video data sent by the target terminal;
acquiring video data sent by the target terminal, wherein the video data comprises image data and audio data;
recording based on the image data and the audio data;
and generating a video file according to the recorded video data.
In another embodiment, the method further comprises:
displaying a video session window with the target terminal in the process of carrying out video session with the target terminal through the instant messaging application, wherein the video session window at least comprises a first key, and the first key is used for indicating to record video data sent by the target terminal;
and when the clicking operation on the first key is detected, determining that the recording instruction is received.
In another embodiment, after the recording based on the image data and the audio data, the method further comprises:
receiving a recording stopping instruction, wherein the recording stopping instruction is used for indicating that the recording of the video data sent by the target terminal is stopped;
and stopping the recording operation of the video data sent by the target terminal.
In another embodiment, the method further comprises:
displaying a video session window with the target terminal in the process of carrying out video session with the target terminal through the instant messaging application, wherein the video session window further comprises a second key, the second key is used for indicating to stop recording video data sent by the target terminal, and when the click operation of the second key is detected, the recording stop instruction is determined to be received; or,
and when the closing operation of the video session window is detected, determining that the recording stopping instruction is received.
According to a second aspect of the embodiments of the present disclosure, there is provided a video data recording apparatus, the apparatus including:
the recording instruction receiving module is used for receiving a recording instruction in the process of carrying out video session with a target terminal through instant messaging application, wherein the recording instruction is used for instructing to record video data sent by the target terminal;
the data acquisition module is used for acquiring video data sent by the target terminal, wherein the video data comprises image data and audio data;
the recording module is used for recording based on the image data and the audio data;
and the file generation module is used for generating a video file according to the recorded video data.
In another embodiment, the apparatus further comprises:
the display module is used for displaying a video session window with the target terminal in the process of carrying out video session with the target terminal through the instant messaging application, wherein the video session window at least comprises a first key, and the first key is used for indicating to record video data sent by the target terminal;
the recording instruction receiving module is further configured to determine that the recording instruction is received when the click operation on the first key is detected.
In another embodiment, the apparatus further comprises:
the recording stopping instruction receiving module is used for receiving a recording stopping instruction, and the recording stopping instruction is used for instructing to stop recording the video data sent by the target terminal;
the recording module is further configured to stop recording operation performed on the video data sent by the target terminal.
In another embodiment, the apparatus further comprises:
the display module is used for displaying a video session window of the target terminal in the process of carrying out video session with the target terminal through the instant messaging application, and the video session window further comprises a second key used for indicating to stop recording video data sent by the target terminal; the recording stopping instruction receiving module is further used for determining to receive the recording stopping instruction when the clicking operation on the second key is detected; or,
the stop instruction receiving module is further configured to determine that the recording stop instruction is received when the closing operation of the video session window is detected.
According to a third aspect of the embodiments of the present disclosure, there is provided a video data recording apparatus, the apparatus including:
a processor;
a memory for storing processor-executable instructions;
wherein the processor is configured to:
receiving a recording instruction in the process of carrying out video session with a target terminal through instant messaging application, wherein the recording instruction is used for instructing to record video data sent by the target terminal;
acquiring video data sent by the target terminal, wherein the video data comprises image data and audio data;
recording based on the image data and the audio data;
and generating a video file according to the recorded video data.
The technical scheme provided by the embodiment of the disclosure can have the following beneficial effects:
according to the method and the device provided by the embodiment, the video data sent to the terminal by the target terminal is obtained by receiving the recording instruction in the process of carrying out the video session with the target terminal through the instant messaging application, the video file is generated according to the recorded video data based on the image data and the audio data contained in the video data, the problem that the video data of the target terminal cannot be recorded is solved, the application range is expanded, and the flexibility 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.
Fig. 1 is a flow chart illustrating a method of video data recording according to an exemplary embodiment;
FIG. 2 is a flow chart illustrating a method of video data recording according to an exemplary embodiment;
FIG. 3A is a diagram illustrating a video session window in accordance with an illustrative embodiment;
FIG. 3B is a schematic diagram illustrating another video session window in accordance with an illustrative embodiment;
FIG. 3C is a schematic diagram illustrating yet another video session window in accordance with an illustrative embodiment;
FIG. 4 is a flow diagram illustrating a recording of video data according to an example embodiment;
fig. 5 is a block diagram illustrating a video data recording apparatus according to an exemplary embodiment;
fig. 6 is a block diagram illustrating an apparatus for video data recording according to an example embodiment.
Detailed Description
To make the objects, technical solutions and advantages of the present disclosure more apparent, the present disclosure is described in further detail below with reference to the embodiments and the accompanying drawings. The exemplary embodiments and descriptions of the present disclosure are provided herein for illustration of the present disclosure, but not for limitation of the present disclosure.
The embodiments of the present disclosure provide a method and an apparatus for recording video data, and the following describes the present disclosure in detail with reference to the accompanying drawings.
Fig. 1 is a flowchart illustrating a video data recording method according to an exemplary embodiment, where the video data recording method is used in a terminal, as shown in fig. 1, and includes the following steps:
in step 101, during a video session with a target terminal through an instant messaging application, a recording instruction is received, where the recording instruction is used to instruct to record video data sent by the target terminal.
In step 102, video data sent by the target terminal is acquired, wherein the video data comprises image data and audio data.
In step 103, recording is performed based on the image data and the audio data.
In step 104, a video file is generated from the recorded video data.
In the method provided by the embodiment, the recording instruction is received in the process of performing the video session with the target terminal through the instant messaging application, the video data sent to the terminal by the target terminal is obtained, the recording is performed based on the image data and the audio data contained in the video data, and the video file is generated according to the recorded video data, so that the problem that the video data of the target terminal cannot be recorded is solved, the application range is expanded, and the flexibility is improved.
In another embodiment, the method further comprises:
displaying a video session window with the target terminal in the process of carrying out video session with the target terminal through the instant messaging application, wherein the video session window at least comprises a first key, and the first key is used for indicating and recording video data sent by the target terminal;
and when the clicking operation on the first key is detected, determining that the recording instruction is received.
In another embodiment, after the recording based on the image data and the audio data, the method further comprises:
receiving a recording stopping instruction, wherein the recording stopping instruction is used for instructing to stop recording the video data sent by the target terminal;
and stopping the recording operation of the video data sent by the target terminal.
In another embodiment, the method further comprises:
displaying a video session window with the target terminal in the process of carrying out video session with the target terminal through the instant messaging application, wherein the video session window also comprises a second key, the second key is used for indicating to stop recording video data sent by the target terminal, and when the click operation of the second key is detected, the recording stop instruction is determined to be received; or,
and when the closing operation of the video session window is detected, determining that the recording stopping instruction is received.
All the above optional technical solutions may be combined arbitrarily to form the optional embodiments of the present disclosure, and are not described herein again.
Fig. 2 is a flowchart illustrating a video data recording method according to an exemplary embodiment, where the video data recording method is used in a first terminal, as shown in fig. 2, and includes the following steps:
in step 201, a first terminal receives a recording instruction during a video session with a second terminal through an instant messaging application.
The first terminal and the second terminal may be a computer, a mobile phone, a tablet computer, and the like, which is not limited in this embodiment. The first terminal and the second terminal are both provided with instant messaging applications, the first terminal is connected with the instant messaging server through a network, and the second terminal is connected with the instant messaging server through a network. The first terminal and the second terminal can perform video session through the instant messaging application, that is, the first terminal can send video data to the instant messaging server through the instant messaging application, and the instant messaging server forwards the video data of the first terminal to the second terminal, or the second terminal can send the video data to the instant messaging server through the instant messaging application, and the instant messaging server forwards the video data of the second terminal to the first terminal.
The user of the first terminal is referred to as a first user, the user of the second terminal is referred to as a second user, during a video session between the first user and the second user via the instant messaging application, the second terminal acquires the image data of the second user through the camera and acquires the audio data of the second user through the microphone, synchronously encoding the image data and the audio data to obtain a video data stream, sending the video data stream to the first terminal through the instant messaging application, when the first terminal receives the video data stream sent by the second terminal, the first terminal decodes the video data stream to obtain video data, the video data comprises image data and audio data, and the first terminal can play the image data in a video session window with the second terminal and play the audio data through a loudspeaker of the first terminal.
It should be noted that, in this embodiment, only the second terminal sends video data to the first terminal in the video session is taken as an example for description, in this process, the first terminal may send video data to the second terminal, or may send audio data only to the second terminal without sending video data, which is not limited in this embodiment.
In this embodiment, the recording instruction is used to instruct the first terminal to record the video data sent by the second terminal, and when the first terminal receives the recording instruction, the first terminal starts to record the video data sent by the second terminal to the first terminal.
The first terminal may display a video session window with the second terminal in a process of performing a video session with the second terminal through an instant messaging application, where the video session window may include a first key, where the first key is used to instruct to record video data sent by the second terminal, and the recording instruction may be triggered by a click operation on the first key. And when the first terminal detects the click operation of the first user on the first key, determining that the recording instruction is received. In addition, the recording instruction can be automatically triggered when the first terminal and the second terminal start a video session, and when the first terminal and the second terminal start a video session, the first terminal defaults to receive the recording instruction and starts to record the video data sent by the second terminal to the first terminal. The triggering method of the recording command is not limited in this embodiment.
In step 202, the first terminal acquires image data and audio data included in the video data sent by the second terminal, records the image data, and synchronously records the audio data.
In the process of performing a video session through the instant messaging application, when the first terminal receives a video data stream sent by the second terminal, the video data stream is decoded to obtain video data of the second terminal, where the video data includes image data and audio data, and at this time, in order to record the video data of the second terminal while performing the video session, the first terminal not only needs to play the image data and the audio data, but also needs to record the image data and the audio data synchronously.
In the process that the first terminal and the second terminal carry out video session through the instant messaging application, the first terminal can continuously receive the video data stream sent by the second terminal, and then the first terminal continuously decodes the video data stream, obtains the image data and the audio data of the second terminal, and continuously synchronously records the image data and the audio data.
In step 203, when the first terminal receives the recording stop instruction, stopping recording the video data sent by the second terminal, packaging the recorded image data and audio data into a video file, and saving the video file.
The recording stopping instruction is used for indicating the first terminal to stop recording the video data sent by the second terminal when the first terminal records the video data sent by the second terminal.
The video session window may further include a second key, where the second key is used to instruct to stop recording the video data sent by the second terminal, and the instruction to stop recording may be triggered by clicking the second key. And when the first terminal detects the click operation of the second key in the process of recording the video data sent by the second terminal, determining that the recording stopping instruction is received.
When the first terminal opens the video session window and does not start recording the video data sent by the second terminal, the first terminal can display the first key in the video session window without displaying the second key, when the first terminal detects the click operation on the first key, the first terminal starts recording the video data sent by the second terminal, at the moment, the first terminal cancels the display on the first key in the video session window and displays the second key, and when the first terminal detects the click operation on the second key, the recording of the video data sent by the second terminal is stopped. The first key and the second key may be displayed in the same display area in the video session window, which is not limited in this embodiment.
Referring to fig. 3A, when the first terminal and the second terminal perform a video session through the instant messaging application, the first terminal displays a first image data playing window and a second image data playing window in a video session window, where the first image data playing window is used for playing image data of the second terminal, and the second image data playing window is used for playing image data of the first terminal. The first terminal may further display a toolbar in the video session window, where the toolbar includes a "record the video of the other party" key, and when the user clicks the "record the video of the other party" key, the first terminal starts to record the video data sent by the second terminal, and displays a "stop recording the video of the other party" key at a position where the "record the video of the other party" key is displayed in the video session window, as shown in fig. 3B. And when the user clicks a 'stop recording the video of the other party' key, the first terminal stops recording the video data sent by the second terminal.
Or, when the first terminal opens the video session window and does not start recording the video data sent by the second terminal, the first terminal may display the first button and the second button in the video session window, and set the first button to a clickable state, set the second button to a non-clickable state, when the first terminal detects the click operation of the first key, the first terminal starts to record the video data sent by the second terminal, at the moment, the first terminal sets the first key to be in a non-click state and sets the second key to be in a click state, and when the first terminal detects the click operation of the second key, stopping recording the video data sent by the second terminal, and setting the first key to be in a clickable state and the second key to be in a non-clickable state again by the first terminal.
Referring to fig. 3C, the first terminal displays a "record the video of the other party" button and a "stop recording the video of the other party" button in the video session window, when the first terminal does not record the video data sent by the second terminal, the "record the video of the other party" button is set to be clickable, the "stop recording the video of the other party" button is set to be non-clickable, and when the first terminal records the video data sent by the second terminal, the "stop recording the video of the other party" button is set to be clickable, and the "record the video of the other party" button is set to be non-clickable.
In addition, the recording stopping instruction may also be triggered by a closing operation of the first terminal on the video session window, and when the first terminal detects the closing operation on the video session window in a process of recording video data sent by the second terminal, the first terminal closes the video session with the second terminal, and then the first terminal determines to receive the recording stopping instruction.
And when the first terminal receives the recording stopping instruction in the process of recording the video data sent by the second terminal, stopping recording the video data sent by the second terminal, generating a video file according to the recorded video data sent by the second terminal, and storing the video file in the first terminal. The first terminal records the image data and synchronously records the audio data, when receiving the recording stopping instruction, the first terminal stops recording the image data and the audio data of the second terminal, synchronously packages the recorded image data and audio data into a video file, and stores the video file in the first terminal.
The first terminal can acquire the time stamp of each image data and each audio data obtained by recording when packaging, for each image data, the audio data with the time stamp being the same as that of the image data is embedded into the image data, and then the plurality of image data embedded with the audio data are packaged according to the sequence of the time stamps to obtain the video file.
When the first terminal stops recording the image data and the audio data of the second terminal, a confirmation window can be popped up, whether the recorded video data of the second terminal is saved or not is confirmed by the first user, when the first terminal detects the confirmation operation of the first user, a file path directory is displayed, a file path selected by the user under the file path directory is obtained, the image data and the audio data obtained by recording are packaged into a video file by the first terminal, and the video file is saved under the file path selected by the user. In addition, the first terminal may also preset a file path, and when the first terminal records a video file, the video file is saved in the file path by default. The file path may be set by a technician during development, or may be preset by a user before a video session is performed, which is not limited in this embodiment. In the subsequent process, the first terminal may open the file path according to the operation of the first user, find the video file in the file path, open the video file, and play the video data of the second terminal.
It should be noted that, in the above steps, after the first terminal obtains the image data and the audio data, an image recording module may be started, the image data is recorded through the image recording module, an audio recording module is started, the audio data is recorded through the audio recording module, and in the recording process, the first terminal performs synchronous processing on the image data recorded by the image recording module and the audio data recorded by the audio recording module to obtain video data, and packages the video data into a video file.
In the process that the first terminal and the second terminal carry out video session through the instant messaging application, if the second terminal is shooting a picture which is interesting to the first user, such as a picture played by a child or a picture of courseware in an online course, the first user can trigger the recording instruction, and the first terminal records video data sent by the second terminal, so that the first user can watch the video data at any time later.
Taking user a and user B as an example of video chat, a flowchart for recording video data may be as shown in fig. 4. The user A and the user B start video chatting, when the user A wants to record the video of the user B, a recording instruction is triggered, the terminal of the user A starts the image recording module and the audio recording module, starts to record the image data and the audio data of the user B, carries out synchronous processing, packs the recorded data into a video file, the user A finishes video recording, and then the user A and the user B can finish the video chatting and the process is finished.
In the method provided by this embodiment, a recording instruction is received in a process that a first terminal and a second terminal perform a video session through the instant messaging application, video data sent to the first terminal by the second terminal is obtained, recording is performed based on image data and audio data included in the video data, and a video file is generated according to the recorded video data, so that the problem that the video data of the second terminal cannot be recorded is solved, the application range is expanded, the flexibility is improved, and the user can watch the recorded video data at any time.
Fig. 5 is a block diagram illustrating a video data recording apparatus according to an example embodiment. Referring to fig. 5, the apparatus includes a recording instruction receiving module 501, a data obtaining module 502, a recording module 503, and a file generating module 504.
The recording instruction receiving module 501 is configured to receive a recording instruction during a video session with a target terminal through an instant messaging application, where the recording instruction is used to instruct to record video data sent by the target terminal;
the data obtaining module 502 is configured to obtain video data sent by the target terminal, where the video data includes image data and audio data;
the recording module 503 is configured to record based on the image data and the audio data;
the file generation module 503 is configured to generate a video file from the recorded video data.
The device provided by this embodiment receives the recording instruction in the process of performing a video session with the target terminal through the instant messaging application, obtains the video data sent to the device by the target terminal, records based on the image data and the audio data included in the video data, and generates a video file according to the recorded video data, thereby solving the problem that the video data of the target terminal cannot be recorded, expanding the application range, and improving the flexibility.
In another embodiment, the apparatus further comprises:
the display module is configured to display a video session window with the target terminal in the process of carrying out a video session with the target terminal through the instant messaging application, wherein the video session window at least comprises a first key, and the first key is used for indicating to record video data sent by the target terminal;
the recording instruction receiving module 501 is further configured to determine that the recording instruction is received when the click operation on the first key is detected.
In another embodiment, the apparatus further comprises:
the recording stopping instruction receiving module is configured to receive a recording stopping instruction, wherein the recording stopping instruction is used for instructing to stop recording the video data sent by the target terminal;
the recording module 503 is further configured to stop the recording operation of the video data transmitted by the target terminal.
In another embodiment, the apparatus further comprises:
the display module is configured to display a video session window with the target terminal during a video session with the target terminal through the instant messaging application, wherein the video session window further comprises a second key, and the second key is used for indicating to stop recording video data sent by the target terminal; the stop instruction receiving module is further used for determining to receive the recording stop instruction when the click operation on the second key is detected; or,
the stop instruction receiving module is further configured to determine that the stop recording instruction is received when a closing operation of the video session window is detected.
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.
It should be noted that: in the video data recording apparatus provided in the foregoing embodiment, when recording video data, only the division of the functional modules is illustrated, and in practical applications, the functions may be distributed by different functional modules according to needs, that is, the internal structure of the terminal is divided into different functional modules to complete all or part of the functions described above. In addition, the video data recording apparatus and the video data recording method provided by the above embodiments belong to the same concept, and specific implementation processes thereof are described in the method embodiments and are not described herein again.
Fig. 6 is a block diagram illustrating an apparatus 600 for video data recording according to an example embodiment. For example, the apparatus 600 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. 6, apparatus 600 may include one or more of the following components: processing component 602, memory 604, power component 606, multimedia component 608, audio component 610, input/output (I/O) interface 612, sensor component 614, and communication component 616.
The processing component 602 generally controls overall operation of the device 600, such as operations associated with display, telephone calls, data communications, camera operations, and recording operations. The processing elements 602 may include one or more processors 620 to execute instructions to perform all or a portion of the steps of the methods described above. Further, the processing component 602 can include one or more modules that facilitate interaction between the processing component 602 and other components. For example, the processing component 602 can include a multimedia module to facilitate interaction between the multimedia component 608 and the processing component 602.
The memory 604 is configured to store various types of data to support operations at the apparatus 600. Examples of such data include instructions for any application or method operating on device 600, contact data, phonebook data, messages, pictures, videos, and so forth. The memory 604 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 component 606 provides power to the various components of device 600. Power components 606 may include a power management system, one or more power sources, and other components associated with generating, managing, and distributing power for device 600.
The multimedia component 608 includes a screen that provides an output interface between the device 600 and a user. 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 a touch or slide action, but also detect the duration and pressure associated with the touch or slide operation. In some embodiments, the multimedia component 608 includes a front facing camera and/or a rear facing camera. The front camera and/or the rear camera may receive external multimedia data when the device 600 is in an operating mode, such as a shooting mode or a video mode. 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 610 is configured to output and/or input audio signals. For example, audio component 610 includes a Microphone (MIC) configured to receive external audio signals when apparatus 600 is in an operational mode, such as a call mode, a recording mode, and a voice recognition mode. The received audio signal may further be stored in the memory 604 or transmitted via the communication component 616. In some embodiments, audio component 610 further includes a speaker for outputting audio signals.
The I/O interface 612 provides an interface between the processing component 602 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.
The sensor component 614 includes one or more sensors for providing status assessment of various aspects of the apparatus 600. For example, the sensor component 614 may detect an open/closed state of the device 600, the relative positioning of components, such as a display and keypad of the device 600, the sensor component 614 may also detect a change in position of the device 600 or a component of the device 600, the presence or absence of user contact with the device 600, orientation or acceleration/deceleration of the device 600, and a change in temperature of the device 600. The sensor assembly 614 may include a proximity sensor configured to detect the presence of a nearby object without any physical contact. The sensor assembly 614 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 614 may also include an acceleration sensor, a gyroscope sensor, a magnetic sensor, a pressure sensor, or a temperature sensor.
The communication component 616 is configured to facilitate communications between the apparatus 600 and other devices in a wired or wireless manner. The apparatus 600 may access a wireless network based on a communication standard, such as WiFi, 2G or 3G, or a combination thereof. In an exemplary embodiment, the communication component 616 receives broadcast signals or broadcast related information from an external broadcast management system via a broadcast channel. In an exemplary embodiment, the communication component 616 further includes a Near Field Communication (NFC) module to facilitate short-range communications. 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 apparatus 600 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 the above-described methods.
In an exemplary embodiment, a non-transitory computer readable storage medium comprising instructions, such as the memory 604 comprising instructions, executable by the processor 620 of the apparatus 600 to perform the above-described method is also provided. For example, the non-transitory computer readable storage medium may be a ROM, a Random Access Memory (RAM), a CD-ROM, a magnetic tape, a floppy disk, an optical data storage device, and the like.
A non-transitory computer-readable storage medium in which instructions, when executed by a processor of a terminal, enable the terminal to perform a video data recording method, the method comprising:
receiving a recording instruction in the process of carrying out video session with a target terminal through instant messaging application, wherein the recording instruction is used for instructing to record video data sent by the target terminal;
acquiring video data sent by the target terminal, wherein the video data comprises image data and audio data;
recording based on the image data and the audio data;
and generating a video file according to the recorded video data.
In another embodiment, the method further comprises:
displaying a video session window with the target terminal in the process of carrying out video session with the target terminal through the instant messaging application, wherein the video session window at least comprises a first key, and the first key is used for indicating to record video data sent by the target terminal;
and when the clicking operation on the first key is detected, determining that the recording instruction is received.
In another embodiment, after the recording based on the image data and the audio data, the method further comprises:
receiving a recording stopping instruction, wherein the recording stopping instruction is used for instructing to stop recording the video data sent by the target terminal;
and stopping the recording operation of the video data sent by the target terminal.
In another embodiment, the method further comprises:
displaying a video session window with the target terminal in the process of carrying out video session with the target terminal through the instant messaging application, wherein the video session window also comprises a second key, the second key is used for indicating to stop recording video data sent by the target terminal, and when the click operation of the second key is detected, the recording stop instruction is determined to be received; or,
and when the closing operation of the video session window is detected, determining that the recording stopping instruction is received.
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 (9)
1. A method for recording video data, the method comprising:
receiving a recording instruction in the process of carrying out video session with a target terminal through instant messaging application, wherein the recording instruction is used for instructing to record video data sent by the target terminal;
acquiring video data sent by the target terminal, wherein the video data comprises image data and audio data;
recording based on the image data and the audio data;
and generating a video file according to the recorded video data.
2. The method of claim 1, further comprising:
displaying a video session window with the target terminal in the process of carrying out video session with the target terminal through the instant messaging application, wherein the video session window at least comprises a first key, and the first key is used for indicating to record video data sent by the target terminal;
and when the clicking operation on the first key is detected, determining that the recording instruction is received.
3. The method of claim 1, wherein after the recording based on the image data and the audio data, the method further comprises:
receiving a recording stopping instruction, wherein the recording stopping instruction is used for indicating that the recording of the video data sent by the target terminal is stopped;
and stopping the recording operation of the video data sent by the target terminal.
4. The method of claim 3, further comprising:
displaying a video session window with the target terminal in the process of carrying out video session with the target terminal through the instant messaging application, wherein the video session window further comprises a second key, the second key is used for indicating to stop recording video data sent by the target terminal, and when the click operation of the second key is detected, the recording stop instruction is determined to be received; or,
and when the closing operation of the video session window is detected, determining that the recording stopping instruction is received.
5. An apparatus for recording video data, the apparatus comprising:
the recording instruction receiving module is used for receiving a recording instruction in the process of carrying out video session with a target terminal through instant messaging application, wherein the recording instruction is used for instructing to record video data sent by the target terminal;
the data acquisition module is used for acquiring video data sent by the target terminal, wherein the video data comprises image data and audio data;
the recording module is used for recording based on the image data and the audio data;
and the file generation module is used for generating a video file according to the recorded video data.
6. The apparatus of claim 5, further comprising:
the display module is used for displaying a video session window with the target terminal in the process of carrying out video session with the target terminal through the instant messaging application, wherein the video session window at least comprises a first key, and the first key is used for indicating to record video data sent by the target terminal;
the recording instruction receiving module is further configured to determine that the recording instruction is received when the click operation on the first key is detected.
7. The apparatus of claim 5, further comprising:
the recording stopping instruction receiving module is used for receiving a recording stopping instruction, and the recording stopping instruction is used for instructing to stop recording the video data sent by the target terminal;
the recording module is further configured to stop recording operation performed on the video data sent by the target terminal.
8. The apparatus of claim 7, further comprising:
the display module is used for displaying a video session window of the target terminal in the process of carrying out video session with the target terminal through the instant messaging application, and the video session window further comprises a second key used for indicating to stop recording video data sent by the target terminal; the recording stopping instruction receiving module is further used for determining to receive the recording stopping instruction when the clicking operation on the second key is detected; or,
the stop instruction receiving module is further configured to determine that the recording stop instruction is received when the closing operation of the video session window is detected.
9. A video data recording apparatus, comprising:
a processor;
a memory for storing processor-executable instructions;
wherein the processor is configured to:
receiving a recording instruction in the process of carrying out video session with a target terminal through instant messaging application, wherein the recording instruction is used for instructing to record video data sent by the target terminal;
acquiring video data sent by the target terminal, wherein the video data comprises image data and audio data;
recording based on the image data and the audio data;
and generating a video file according to the recorded video data.
Priority Applications (1)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
CN201510115609.8A CN106034214A (en) | 2015-03-17 | 2015-03-17 | Video data recording method and apparatus thereof |
Applications Claiming Priority (1)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
CN201510115609.8A CN106034214A (en) | 2015-03-17 | 2015-03-17 | Video data recording method and apparatus thereof |
Publications (1)
Publication Number | Publication Date |
---|---|
CN106034214A true CN106034214A (en) | 2016-10-19 |
Family
ID=57150816
Family Applications (1)
Application Number | Title | Priority Date | Filing Date |
---|---|---|---|
CN201510115609.8A Pending CN106034214A (en) | 2015-03-17 | 2015-03-17 | Video data recording method and apparatus thereof |
Country Status (1)
Country | Link |
---|---|
CN (1) | CN106034214A (en) |
Cited By (4)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN108024085A (en) * | 2016-10-31 | 2018-05-11 | 联芯科技有限公司 | The method for recording and equipment of audio and video |
CN109348281A (en) * | 2018-11-08 | 2019-02-15 | 北京微播视界科技有限公司 | Method for processing video frequency, device, computer equipment and storage medium |
CN109640016A (en) * | 2018-11-19 | 2019-04-16 | 视联动力信息技术股份有限公司 | It is a kind of to realize the method and apparatus quickly recorded in depending on networking meeting |
CN110636175A (en) * | 2019-10-18 | 2019-12-31 | 深圳传音控股股份有限公司 | Communication recording method, terminal device and computer readable storage medium |
Citations (4)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN102202207A (en) * | 2011-06-13 | 2011-09-28 | 中兴通讯股份有限公司 | Video call transmission method, system and enhanced broadcast multicast service center |
JP2012514365A (en) * | 2008-12-24 | 2012-06-21 | ノーテル ネットワークス リミテッド | Web-based access to video related to calls |
CN103095752A (en) * | 2011-10-31 | 2013-05-08 | 中兴通讯股份有限公司 | Transcribing method, device and system of voice and video |
CN104333641A (en) * | 2014-09-26 | 2015-02-04 | 小米科技有限责任公司 | Calling method and device |
-
2015
- 2015-03-17 CN CN201510115609.8A patent/CN106034214A/en active Pending
Patent Citations (4)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
JP2012514365A (en) * | 2008-12-24 | 2012-06-21 | ノーテル ネットワークス リミテッド | Web-based access to video related to calls |
CN102202207A (en) * | 2011-06-13 | 2011-09-28 | 中兴通讯股份有限公司 | Video call transmission method, system and enhanced broadcast multicast service center |
CN103095752A (en) * | 2011-10-31 | 2013-05-08 | 中兴通讯股份有限公司 | Transcribing method, device and system of voice and video |
CN104333641A (en) * | 2014-09-26 | 2015-02-04 | 小米科技有限责任公司 | Calling method and device |
Cited By (4)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN108024085A (en) * | 2016-10-31 | 2018-05-11 | 联芯科技有限公司 | The method for recording and equipment of audio and video |
CN109348281A (en) * | 2018-11-08 | 2019-02-15 | 北京微播视界科技有限公司 | Method for processing video frequency, device, computer equipment and storage medium |
CN109640016A (en) * | 2018-11-19 | 2019-04-16 | 视联动力信息技术股份有限公司 | It is a kind of to realize the method and apparatus quickly recorded in depending on networking meeting |
CN110636175A (en) * | 2019-10-18 | 2019-12-31 | 深圳传音控股股份有限公司 | Communication recording method, terminal device and computer readable storage medium |
Similar Documents
Publication | Publication Date | Title |
---|---|---|
CN106028166B (en) | Live broadcast room switching method and device in live broadcast process | |
US20170304735A1 (en) | Method and Apparatus for Performing Live Broadcast on Game | |
EP3113466A1 (en) | Method and device for warning | |
CN105100432B (en) | Call interface display methods and device | |
EP2928169A1 (en) | Method for voice calling, method for voice playing and devices thereof | |
CN105786507B (en) | Display interface switching method and device | |
CN106126025B (en) | Interactive method and device for copying and pasting | |
EP3264774A1 (en) | Live broadcasting method and device for live broadcasting | |
CN105049763B (en) | Trigger the method and device of projection | |
CN105120301A (en) | Video processing method and apparatus, and intelligent equipment | |
CN106792024B (en) | Multimedia information sharing method and device | |
CN112291631A (en) | Information acquisition method, device, terminal and storage medium | |
CN107272896B (en) | Method and device for switching between VR mode and non-VR mode | |
CN106648650A (en) | Method and device for adjusting terminal display status | |
CN106034214A (en) | Video data recording method and apparatus thereof | |
CN106506808B (en) | Method and device for prompting communication message | |
CN106447747B (en) | Image processing method and device | |
CN103973883B (en) | A kind of method and device controlling voice-input device | |
CN107948876B (en) | Method, device and medium for controlling sound box equipment | |
CN107885464B (en) | Data storage method, device and computer readable storage medium | |
CN106708930B (en) | Method and device for refreshing application page | |
CN106155485B (en) | Display method and device of interactive interface | |
CN110769282A (en) | Short video generation method, terminal and server | |
CN111246012B (en) | Application interface display method and device and storage medium | |
CN106791077B (en) | Method and device for processing multimedia messages in instant messaging software |
Legal Events
Date | Code | Title | Description |
---|---|---|---|
C06 | 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 |
Application publication date: 20161019 |
|
RJ01 | Rejection of invention patent application after publication |