[go: up one dir, main page]

CN106028058A - Method and device for recording multimedia data - Google Patents

Method and device for recording multimedia data Download PDF

Info

Publication number
CN106028058A
CN106028058A CN201610321032.0A CN201610321032A CN106028058A CN 106028058 A CN106028058 A CN 106028058A CN 201610321032 A CN201610321032 A CN 201610321032A CN 106028058 A CN106028058 A CN 106028058A
Authority
CN
China
Prior art keywords
resolution
multimedia data
recording
preview
data
Prior art date
Legal status (The legal status is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the status listed.)
Pending
Application number
CN201610321032.0A
Other languages
Chinese (zh)
Inventor
王宏斌
孙磊
Current Assignee (The listed assignees may be inaccurate. Google has not performed a legal analysis and makes no representation or warranty as to the accuracy of the list.)
Hisense Mobile Communications Technology Co Ltd
Original Assignee
Hisense Mobile Communications 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 Hisense Mobile Communications Technology Co Ltd filed Critical Hisense Mobile Communications Technology Co Ltd
Priority to CN201610321032.0A priority Critical patent/CN106028058A/en
Publication of CN106028058A publication Critical patent/CN106028058A/en
Pending legal-status Critical Current

Links

Classifications

    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04NPICTORIAL COMMUNICATION, e.g. TELEVISION
    • H04N21/00Selective content distribution, e.g. interactive television or video on demand [VOD]
    • H04N21/40Client devices specifically adapted for the reception of or interaction with content, e.g. set-top-box [STB]; Operations thereof
    • H04N21/43Processing of content or additional data, e.g. demultiplexing additional data from a digital video stream; Elementary client operations, e.g. monitoring of home network or synchronising decoder's clock; Client middleware
    • H04N21/433Content storage operation, e.g. storage operation in response to a pause request, caching operations
    • H04N21/4334Recording operations
    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04NPICTORIAL COMMUNICATION, e.g. TELEVISION
    • H04N21/00Selective content distribution, e.g. interactive television or video on demand [VOD]
    • H04N21/20Servers specifically adapted for the distribution of content, e.g. VOD servers; Operations thereof
    • H04N21/23Processing of content or additional data; Elementary server operations; Server middleware
    • H04N21/234Processing of video elementary streams, e.g. splicing of video streams or manipulating encoded video stream scene graphs
    • H04N21/2343Processing of video elementary streams, e.g. splicing of video streams or manipulating encoded video stream scene graphs involving reformatting operations of video signals for distribution or compliance with end-user requests or end-user device requirements
    • H04N21/234363Processing of video elementary streams, e.g. splicing of video streams or manipulating encoded video stream scene graphs involving reformatting operations of video signals for distribution or compliance with end-user requests or end-user device requirements by altering the spatial resolution, e.g. for clients with a lower screen resolution
    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04NPICTORIAL COMMUNICATION, e.g. TELEVISION
    • H04N21/00Selective content distribution, e.g. interactive television or video on demand [VOD]
    • H04N21/40Client devices specifically adapted for the reception of or interaction with content, e.g. set-top-box [STB]; Operations thereof
    • H04N21/43Processing of content or additional data, e.g. demultiplexing additional data from a digital video stream; Elementary client operations, e.g. monitoring of home network or synchronising decoder's clock; Client middleware
    • H04N21/433Content storage operation, e.g. storage operation in response to a pause request, caching operations
    • H04N21/4333Processing operations in response to a pause request
    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04NPICTORIAL COMMUNICATION, e.g. TELEVISION
    • H04N21/00Selective content distribution, e.g. interactive television or video on demand [VOD]
    • H04N21/40Client devices specifically adapted for the reception of or interaction with content, e.g. set-top-box [STB]; Operations thereof
    • H04N21/45Management operations performed by the client for facilitating the reception of or the interaction with the content or administrating data related to the end-user or to the client device itself, e.g. learning user preferences for recommending movies, resolving scheduling conflicts
    • H04N21/462Content or additional data management, e.g. creating a master electronic program guide from data received from the Internet and a Head-end, controlling the complexity of a video stream by scaling the resolution or bit-rate based on the client capabilities
    • H04N21/4621Controlling the complexity of the content stream or additional data, e.g. lowering the resolution or bit-rate of the video stream for a mobile client with a small screen

Landscapes

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

Abstract

本发明公开了一种多媒体数据录制方法及装置,属于终端技术领域。该方法包括:接收到录制指令;同时获取第一分辨率的多媒体数据和第二分辨率的多媒体数据,所述第一分辨率与所述第二分辨率不相同。通过本发明,移动终端可以同时录制不同分辨率的多媒体数据,并将分辨率较低的多媒体数据上传到预设服务器时,不仅可以保证多媒体数据上传的实时性,还可以保证录制多媒体数据的质量。

This invention discloses a multimedia data recording method and apparatus, belonging to the field of terminal technology. The method includes: receiving a recording command; and simultaneously acquiring multimedia data at a first resolution and multimedia data at a second resolution, wherein the first resolution and the second resolution are different. Through this invention, a mobile terminal can simultaneously record multimedia data at different resolutions, and when uploading the lower-resolution multimedia data to a preset server, it can not only ensure the real-time nature of the multimedia data upload but also guarantee the quality of the recorded multimedia data.

Description

Multimedia data recording method and device
Technical Field
The present invention relates to the field of terminal technologies, and in particular, to a multimedia data recording method and apparatus.
Background
With the development of multimedia technology, the terminal has stronger and stronger capability of recording multimedia data, and a user can record the multimedia data through the terminal at any time.
Currently, the operation of recording multimedia data by a terminal may be: the terminal determines the resolution ratio for recording the multimedia data set by the user through the designated operation, and records the multimedia data through the camera of the terminal according to the resolution ratio.
Because the user can set the resolution for recording the multimedia data, the terminal can record the multimedia data with different resolutions based on different resolutions set by the user, and the user can upload the recorded multimedia data to the preset server in real time in the process of recording the multimedia data, so that the preset server can process the recorded multimedia data.
When the terminal records the multimedia data with high definition resolution and uploads the multimedia data with high definition resolution to the preset server in real time, the multimedia data with high definition resolution has high requirement on the network, so that the multimedia data with high definition resolution can be blocked in real time, and the real-time performance of uploading the multimedia data is reduced.
Disclosure of Invention
In order to solve the problems in the prior art, embodiments of the present invention provide a method and an apparatus for recording multimedia data.
In one aspect, a multimedia data recording method is provided, and the method includes:
receiving a recording instruction;
the method comprises the steps of simultaneously obtaining multimedia data of a first resolution and multimedia data of a second resolution, wherein the first resolution is different from the second resolution.
Optionally, after the simultaneously acquiring the multimedia data of the first resolution and the multimedia data of the second resolution, the method further includes:
and transmitting the multimedia data with the second resolution to a preset server in real time through a network.
Optionally, the second resolution is a preview resolution of the mobile terminal.
Optionally, the simultaneously acquiring the multimedia data of the first resolution and the multimedia data of the second resolution includes:
acquiring the first resolution and the second resolution;
recording the multimedia data based on the first resolution to obtain the multimedia data of the first resolution;
displaying preview data of the multimedia data based on the second resolution in the process of recording the multimedia data of the first resolution;
and recording the preview data of the multimedia data to obtain the multimedia data of the second resolution.
Optionally, when the recording instruction is received, after the first resolution and the second resolution are obtained, the method further includes:
setting a preview resolution of the preview data to the second resolution; or,
and when a resolution setting instruction of the preview data is received, setting the preview resolution as the second resolution carried by the resolution setting instruction.
Optionally, after the simultaneously acquiring the multimedia data of the first resolution and the multimedia data of the second resolution, the method further includes:
when a recording stopping instruction is received, stopping recording the multimedia data;
storing the multimedia data of the first resolution.
Optionally, the first resolution is greater than the second resolution.
In another aspect, there is provided a multimedia data recording apparatus, the apparatus including:
the receiving module is used for receiving a recording instruction;
the device comprises an acquisition module, a processing module and a processing module, wherein the acquisition module is used for simultaneously acquiring multimedia data of a first resolution and multimedia data of a second resolution, and the first resolution is different from the second resolution.
Optionally, the apparatus further comprises:
and the transmission module is used for transmitting the multimedia data with the second resolution to a preset server in real time through a network.
Optionally, the second resolution is a preview resolution of the mobile terminal.
Optionally, the obtaining module includes:
an acquisition unit configured to acquire the first resolution and the second resolution;
the first recording unit is used for recording the multimedia data based on the first resolution to obtain the multimedia data of the first resolution;
the display unit is used for displaying the preview data of the multimedia data based on the second resolution in the process of recording the multimedia data of the first resolution;
and the second recording unit is used for recording the preview data of the multimedia data to obtain the multimedia data with the second resolution.
Optionally, the obtaining module further includes:
a first setting unit configured to set a preview resolution of the preview data to the second resolution; or,
and the second setting unit is used for setting the preview resolution as the second resolution carried by the resolution setting instruction when the resolution setting instruction of the preview data is received.
Optionally, the apparatus further comprises:
the stopping module is used for stopping recording the multimedia data when receiving a recording stopping instruction;
and the storage module is used for storing the multimedia data with the first resolution.
Optionally, the first resolution is greater than the second resolution.
The technical scheme provided by the embodiment of the invention has the following beneficial effects: in the embodiment of the invention, when the terminal receives the recording instruction, the multimedia data with the first resolution and the multimedia data with the second resolution can be simultaneously obtained, and the first resolution is not equal to the second resolution, so that the recording of the multimedia data with a plurality of resolutions is completed, the multimedia data with different resolutions is obtained, the terminal can select the multimedia data with lower resolution to be transmitted to the preset server in real time, the real-time uploading of the multimedia data is ensured, the multimedia data with high resolution is also obtained, and the quality of the recorded multimedia data is ensured.
Drawings
In order to more clearly illustrate the technical solutions in the embodiments of the present invention, the drawings needed to be used in the description of the embodiments will be briefly introduced below, and it is obvious that the drawings in the following description are only some embodiments of the present invention, and it is obvious for those skilled in the art to obtain other drawings based on these drawings without creative efforts.
Fig. 1 is a flowchart of a multimedia data recording method according to an embodiment of the present invention.
Fig. 2 is a flowchart of another multimedia data recording method according to an embodiment of the present invention.
Fig. 3 is a schematic structural diagram of a multimedia data recording apparatus according to an embodiment of the present invention.
Fig. 4 is a schematic structural diagram of an acquisition module according to an embodiment of the present invention.
Detailed Description
In order to make the objects, technical solutions and advantages of the present invention more apparent, embodiments of the present invention will be described in detail with reference to the accompanying drawings.
Before explaining the embodiments of the present invention in detail, an application scenario of the embodiments of the present invention will be described. At present, the capability of recording multimedia data by a terminal is getting stronger, and when the terminal determines that a resolution for recording the multimedia data is set by a user through a specified operation, the multimedia data can be recorded according to the resolution. However, in some scenarios, not only the multimedia data with high resolution needs to be recorded, but also the recorded multimedia data needs to be uploaded to a preset server in real time for the preset server to process. However, the requirement of the high-definition multimedia data on the network is high, so that a pause phenomenon may occur during real-time uploading, and the real-time performance of multimedia data uploading is reduced. Recording only low definition multimedia data may not satisfy the user's demand for multimedia data, such as law enforcement scene recording. Therefore, the embodiment of the present invention provides a multimedia data recording method, which can record multimedia data with low definition resolution in a process of recording multimedia data with high definition resolution, so that the multimedia data with low definition resolution can be uploaded to a preset server in real time, thereby ensuring the real-time uploading of the multimedia data, acquiring the multimedia data with high definition resolution, and ensuring the quality of the recorded multimedia data.
Fig. 1 is a flowchart of a multimedia data recording method according to an embodiment of the present invention, and referring to fig. 1, the method includes:
step 101: and receiving a recording instruction.
Step 102: and simultaneously acquiring multimedia data with a first resolution and multimedia data with a second resolution, wherein the first resolution is different from the second resolution so as to record the multimedia data. In the embodiment of the invention, when the terminal receives the recording instruction, the multimedia data with the first resolution and the multimedia data with the second resolution can be simultaneously obtained, and the first resolution is different from the second resolution, so that the multimedia data with the multiple resolutions can be recorded, the multimedia data with different resolutions can be obtained, the terminal can select the multimedia data with lower resolution to be uploaded to the preset server in real time, the real-time uploading of the multimedia data is ensured, the multimedia data with high resolution is also obtained, and the quality of the recorded multimedia data is ensured.
Fig. 2 is a flowchart of a multimedia data recording method according to an embodiment of the present invention, and referring to fig. 2, the method includes:
step 201: and when the mobile terminal receives the recording instruction, acquiring the first resolution and the second resolution.
In order to record multimedia data of different resolutions simultaneously, the first resolution and the second resolution may be acquired when the mobile terminal receives a recording instruction.
It should be noted that the multimedia data is data acquired by the mobile terminal through the camera to the external environment.
It should be further noted that the recording instruction is used for recording the multimedia data, and the recording instruction may be triggered by a user through a specified operation, where the specified operation may be a click operation, a slide operation, a voice operation, and the like, and this is not specifically limited in this embodiment of the present invention.
The operation of the mobile terminal to acquire the first resolution and the second resolution may be: when the mobile terminal receives the first resolution setting instruction, the mobile terminal can receive the resolution carried by the first resolution setting instruction and set the received resolution as the first resolution; when the mobile terminal receives the second resolution setting instruction, the mobile terminal may receive the resolution carried by the second resolution setting instruction, and set the received resolution as the second resolution.
For example, when the mobile terminal receives a first resolution setting instruction, the mobile terminal may receive a resolution 1280 × 720 carried in the first resolution setting instruction, and set the received resolution 1280 × 720 as the first resolution setting; when the mobile terminal receives the second resolution setting instruction, the mobile terminal may receive the resolution 720 × 480 carried in the second resolution setting instruction, and set the received resolution 720 × 480 as the second resolution.
It should be noted that the first resolution setting instruction is used to set the first resolution, and the first resolution setting instruction may be triggered by a user through a specified operation, which is not specifically limited in this embodiment of the present invention. Similarly, the second resolution setting instruction is used to set the second resolution, and the second resolution setting instruction may also be triggered by a user through a specified operation, which is also not specifically limited in this embodiment of the present invention.
In addition, the mobile terminal may not only obtain the first resolution and the second resolution in the above manner, but also obtain the first resolution and the second resolution in other manners, for example, the mobile terminal may obtain the default first resolution and the default second resolution, or the mobile terminal may obtain the first resolution and the second resolution that are set when the user records the multimedia data last time, which is not specifically limited in the embodiment of the present invention.
It should be noted that, in the embodiment of the present invention, the first resolution is different from the second resolution, and the first resolution may be greater than the second resolution, and certainly, the first resolution may also be smaller than the second resolution, which is not specifically limited in the embodiment of the present invention.
Furthermore, since the mobile terminal usually displays the preview data of the multimedia data on the screen of the mobile terminal when recording the multimedia data, so that the user can view the recording effect in real time, and the preview resolution of the preview data may be the same as or different from the resolution of the recorded multimedia data. Therefore, in the embodiment of the present invention, after the mobile terminal receives the recording instruction and acquires the first resolution and the second resolution, the mobile terminal may further set the preview resolution of the preview data.
In order to record the multimedia data with the second resolution, the mobile terminal may set the preview resolution of the preview data to the second resolution, or the mobile terminal may set the preview resolution to the second resolution carried by the resolution setting instruction of the preview data when receiving the resolution setting instruction of the preview data.
For example, when the second resolution is 720 × 480, the mobile terminal may set the preview resolution of the preview data to 720 × 480; or, when the mobile terminal receives a resolution setting instruction and the second resolution carried in the resolution setting instruction is 720 × 480, the mobile terminal may set the preview resolution to 720 × 480.
It should be noted that the resolution setting instruction of the preview data is used to set the preview resolution of the preview data, and the resolution setting instruction may also be triggered by a user through a specified operation, which is not specifically limited in this embodiment of the present invention.
It should be further noted that, in the embodiment of the present invention, the preview resolution of the mobile terminal may also be a fixed value, that is, the mobile terminal cannot set the preview resolution. Therefore, the second resolution acquired by the mobile terminal is a preview resolution of the mobile terminal, which is not specifically limited in the embodiment of the present invention.
Step 202: and the mobile terminal records the multimedia data based on the first resolution to obtain the multimedia data with the first resolution.
Specifically, the mobile terminal may record the multimedia data based on the first resolution by using a recording interface of an operating system where the mobile terminal is located, so as to obtain the multimedia data with the first resolution.
It should be noted that the operating system may be an operating system used by an IOS (operating system used by an intelligent mobile terminal such as an iPhone mobile Phone introduced by the APPLE inc.), a Windows Phone system, an Android system, and the like, which is not specifically limited in this embodiment of the present invention.
It should be further noted that, based on the first resolution, the mobile terminal records the multimedia data by using the recording interface of the operating system where the mobile terminal is located, and reference may be made to related technologies for obtaining the multimedia data with the first resolution, which is not described in detail in this embodiment of the present invention.
Step 203: and displaying the preview data of the multimedia data based on the second resolution in the process of recording the multimedia data of the first resolution by the mobile terminal.
Since the mobile terminal sets the preview resolution of the preview data to the second resolution after the mobile terminal acquires the first resolution and the second resolution in order to record the multimedia data with different resolutions at the same time, the preview data of the multimedia data can be displayed based on the second resolution in the process of recording the multimedia data with the first resolution by the mobile terminal.
It should be noted that, reference may be made to related technologies for the operation of displaying the preview data of the multimedia data by the mobile terminal, and this is not specifically limited in the embodiment of the present invention.
Step 204: and the mobile terminal records the preview data of the multimedia data to obtain the multimedia data with the second resolution.
Specifically, the mobile terminal may encode the preview data into data in a specified format through a preview module; sending the encoded preview data to a recording module; and when the encoded preview data is received through the recording module, decoding the encoded preview data through the recording module so as to record the multimedia data with the second resolution.
It should be noted that the preview module and the recording module are entity modules in the mobile terminal, the preview module is used for performing operations such as encoding on the preview data, and the recording module is used for performing operations such as decoding on the encoded preview data, which is not specifically limited in this embodiment of the present invention.
It should be noted that, in the embodiment of the present invention, only the preview module and the recording module are taken as examples to describe the entity apparatus of the embodiment of the present invention, and the embodiment of the present invention is not limited.
In addition, the specified format is a format that can be encoded by an encoder in the preview module and a format that can be decoded by a decoder in the recording module, and the specified format may be a YUV422 format, a YUV420 format, or the like.
It should be further noted that the recording module decodes the encoded preview data, that is, the recording module records the multimedia data with the second resolution.
In addition, when the mobile terminal records the multimedia data at the first resolution and the second resolution simultaneously, the mobile terminal can acquire the multimedia data with the high-definition resolution as the first resolution and transmit the recorded multimedia data with the low-definition resolution as the second resolution to the preset server in real time through the network because the first resolution is higher than the second resolution, thereby ensuring the quality of recording the multimedia data and the real-time property of uploading the multimedia data.
Moreover, in the embodiment of the present invention, the first resolution may be greater than the second resolution, or the first resolution may be smaller than the second resolution, so that, in order to ensure the real-time performance of the multimedia data uploading, when the first resolution is greater than the second resolution, the multimedia data of the second resolution may be transmitted to the preset server in real time through the network; when the first resolution is smaller than the second resolution, the multimedia data of the first resolution can be transmitted to a preset server in real time through a network.
It should be further noted that, when the encoder and the decoder encode and decode data with different resolutions, the amount of calculation that the encoder needs to perform is smaller for the data with the smaller resolution, and similarly, the amount of calculation that the decoder needs to perform is also smaller when the decoder decodes, therefore, when the first resolution is greater than the second resolution, and when the mobile terminal records multimedia data, the amount of calculation that the mobile terminal performs is smaller in the process of encoding preview data by the encoder, and the amount of calculation is also smaller in the process of decoding the encoded preview data by the decoder, thereby reducing the burden of the mobile terminal in operation and improving the recording efficiency of the mobile terminal in recording multimedia data.
In addition, when the first resolution is lower than the second resolution and the preview resolution of the preview data is the second resolution of the high-definition resolution, the mobile terminal has higher requirement on the encoding technology of the encoder when the mobile terminal encodes the preview data through the encoder, and the encoder has higher precision in encoding the preview data; meanwhile, when the mobile terminal decodes the encoded preview data through the decoder, the decoding technology requirement of the decoder is higher, and the decoding precision of the decoder on the encoded preview data is also higher, so that the recording quality of the multimedia data with the second resolution is ensured.
It should be noted that, in the embodiment of the present invention, in order to improve the efficiency of recording the multimedia data, it is generally preferable that the first resolution is greater than the second resolution.
Further, when the mobile terminal receives a recording stop instruction during recording the preview data of the multimedia data, the mobile terminal may stop recording the multimedia data and store the multimedia data with the first resolution.
When the mobile terminal receives the stop instruction, the recording of the multimedia data with the first resolution can be stopped, the U-shield-european media data with the second resolution is encapsulated by a media multiplexer in the recording module, and a recording file is generated, so that the recording of the multimedia data with the second resolution is stopped.
It should be noted that, for the operation of stopping recording the multimedia data with the first resolution by the mobile terminal, encapsulating the multimedia data with the second resolution by the media multiplexer, and generating the recording file, reference may be made to related technologies, and this is not described in detail in this embodiment of the present invention.
It should be further noted that the recording stopping instruction is used to stop recording the multimedia data, and the recording stopping instruction may be triggered by a user through a specified operation, which is not specifically limited in the embodiment of the present invention.
In the embodiment of the present invention, the mobile terminal may obtain the first resolution and the second resolution, and record the multimedia data based on the first resolution to obtain the multimedia data with the first resolution. Because the mobile terminal can set the preview resolution of the preview data to the second resolution, the mobile terminal can display the preview data with the second resolution in the process of recording the multimedia data with the first resolution, and record the preview data based on the second resolution, thereby obtaining the multimedia data with the second resolution, and completing the recording of the multimedia data with a plurality of resolutions. Meanwhile, because the first resolution is greater than the second resolution, the mobile terminal can transmit the multimedia data of the second resolution to the preset server in real time in the recording process of the multimedia data of the second resolution, so that the real-time uploading of the multimedia data is ensured, the multimedia data of which the high-definition resolution is the first resolution is also acquired, and the quality of recording the multimedia data is ensured.
Referring to fig. 3, an embodiment of the present invention provides a schematic structural diagram of a multimedia data recording apparatus, where the apparatus includes: a receiving module 301 and an obtaining module 302.
A receiving module 301, configured to receive a recording instruction;
the obtaining module 302 is configured to obtain multimedia data of a first resolution and multimedia data of a second resolution at the same time, where the first resolution is different from the second resolution.
Optionally, the apparatus further comprises:
a transmission module 303, configured to transmit the multimedia data with the second resolution to a preset server in real time through a network.
Optionally, the second resolution is a preview resolution of the mobile terminal.
Optionally, referring to fig. 4, the obtaining module 302 includes:
an acquisition unit 3021 configured to acquire a first resolution and a second resolution;
a first recording unit 3022, configured to record the multimedia data based on the first resolution to obtain the multimedia data with the first resolution;
a display unit 3023, configured to display preview data of the multimedia data based on the second resolution in the process of recording the multimedia data of the first resolution;
the second recording unit 3024 is configured to record the preview data of the multimedia data to obtain the multimedia data with the second resolution.
Optionally, the obtaining module 302 further includes:
a first setting module 3025 configured to set the preview resolution of the preview data to the second resolution; or,
a second setting module 3026, configured to, when receiving the resolution setting instruction of the preview data, set the preview resolution to the second resolution carried by the resolution setting instruction.
Optionally, the apparatus further comprises:
a stopping module 304, configured to stop recording the multimedia data when receiving a recording stopping instruction;
a storage module 305, configured to store the multimedia data of the first resolution.
Optionally, the first resolution is greater than the second resolution.
In summary, in the embodiment of the present invention, the terminal may obtain the first resolution and the second resolution, and record the multimedia data based on the first resolution to obtain the multimedia data with the first resolution. Because the terminal can set the preview resolution of the preview data to the second resolution, the terminal can display the preview data with the second resolution in the process of recording the multimedia data with the first resolution, and record the preview data based on the second resolution, thereby obtaining the multimedia data with the second resolution and completing the recording of the multimedia data with a plurality of resolutions. Meanwhile, the first resolution is larger than the second resolution, and the terminal can transmit the multimedia data of the second resolution to the preset server in real time in the recording process of the multimedia data of the second resolution, so that the real-time uploading of the multimedia data is ensured, the multimedia data with the high-definition resolution as the first resolution is also acquired, and the quality of recording the multimedia data is ensured.
It should be noted that: in the multimedia data recording apparatus provided in the foregoing embodiment, only the division of the functional modules is illustrated when multimedia recording is performed, and in practical applications, the function distribution may be completed by different functional modules according to needs, that is, the internal structure of the apparatus is divided into different functional modules to complete all or part of the functions described above. In addition, the embodiments of the multimedia data recording apparatus and the multimedia data recording method provided by the above embodiments belong to the same concept, and specific implementation processes thereof are described in the embodiments of the methods for details, and are not described herein again.
It will be understood by those skilled in the art that all or part of the steps for implementing the above embodiments may be implemented by hardware, or may be implemented by a program instructing relevant hardware, where the program may be stored in a computer-readable storage medium, and the above-mentioned storage medium may be a read-only memory, a magnetic disk or an optical disk, etc.
The above description is only for the purpose of illustrating the preferred embodiments of the present invention and is not to be construed as limiting the invention, and any modifications, equivalents, improvements and the like that fall within the spirit and principle of the present invention are intended to be included therein.

Claims (10)

1.一种多媒体数据录制方法,应用于移动终端中,其特征在于,所述方法包括:1. A multimedia data recording method, applied in a mobile terminal, is characterized in that the method comprises: 接收录制指令;Receive recording instructions; 同时获取第一分辨率的多媒体数据和第二分辨率的多媒体数据,所述第一分辨率与所述第二分辨率不相同。At the same time, the multimedia data of the first resolution and the multimedia data of the second resolution are acquired, and the first resolution is different from the second resolution. 2.如权利要求1所述的方法,其特征在于,所述同时获取第一分辨率的多媒体数据和第二分辨率的多媒体数据之后,还包括:2. The method according to claim 1, wherein, after acquiring the multimedia data of the first resolution and the multimedia data of the second resolution simultaneously, further comprising: 将所述第二分辨率的多媒体数据通过网络实时传输至预设服务器。The multimedia data of the second resolution is transmitted to the preset server in real time through the network. 3.如权利要求1或2所述的方法,其特征在于,所述第二分辨率为所述移动终端的预览分辨率。3. The method according to claim 1 or 2, wherein the second resolution is a preview resolution of the mobile terminal. 4.如权利要求1所述的方法,其特征在于,所述同时获取第一分辨率的多媒体数据和第二分辨率的多媒体数据,包括:4. The method according to claim 1, wherein the simultaneous acquisition of the multimedia data of the first resolution and the multimedia data of the second resolution comprises: 获取所述第一分辨率和所述第二分辨率;acquiring the first resolution and the second resolution; 基于所述第一分辨率,对所述多媒体数据进行录制,得到所述第一分辨率的多媒体数据;Based on the first resolution, record the multimedia data to obtain the multimedia data of the first resolution; 在录制所述第一分辨率的多媒体数据的过程中,基于所述第二分辨率,显示所述多媒体数据的预览数据;In the process of recording the multimedia data of the first resolution, based on the second resolution, displaying the preview data of the multimedia data; 对所述多媒体数据的预览数据进行录制,得到所述第二分辨率的多媒体数据数据。Recording the preview data of the multimedia data to obtain the multimedia data of the second resolution. 5.如权利要求4所述的方法,其特征在于,所述获取所述第一分辨率和所述第二分辨率之后,还包括:5. The method according to claim 4, further comprising: after acquiring the first resolution and the second resolution: 将所述预览数据的预览分辨率设置为所述第二分辨率;或者,setting the preview resolution of the preview data to the second resolution; or, 当接收到所述预览数据的分辨率设置指令时,将所述预览分辨率设置为所述分辨率设置指令携带的所述第二分辨率。When the resolution setting instruction of the preview data is received, the preview resolution is set as the second resolution carried in the resolution setting instruction. 6.如权利要求1-5任一权利要求所述的方法,其特征在于,所述同时获取第一分辨率的多媒体数据和第二分辨率的多媒体数据之后,还包括:6. The method according to any one of claims 1-5, wherein, after simultaneously acquiring the multimedia data of the first resolution and the multimedia data of the second resolution, further comprising: 当接收到停止录制指令时,停止对所述多媒体数据的录制;When a stop recording instruction is received, stop recording the multimedia data; 存储所述第一分辨率的多媒体数据。storing the multimedia data of the first resolution. 7.如权利要求1-6任一权利要求所述的方法,其特征在于,所述第一分辨率大于所述第二分辨率。7. The method according to any one of claims 1-6, wherein the first resolution is greater than the second resolution. 8.一种多媒体数据录制装置,其特征在于,所述装置包括:8. A multimedia data recording device, characterized in that said device comprises: 接收模块,用于接收录制指令;A receiving module, configured to receive recording instructions; 获取模块,用于同时获取第一分辨率的多媒体数据和第二分辨率的多媒体数据,所述第一分辨率与所述第二分辨率不相同,以完成对所述多媒体数据的录制。An acquisition module, configured to simultaneously acquire multimedia data of a first resolution and multimedia data of a second resolution, the first resolution being different from the second resolution, so as to complete the recording of the multimedia data. 9.如权利要求8所述的装置,其特征在于,所述装置还包括:9. The device of claim 8, further comprising: 传输模块,用于将所述第二分辨率的多媒体数据通过网络实时传输至预设服务器。The transmission module is used to transmit the multimedia data of the second resolution to the preset server in real time through the network. 10.如权利要求8或9所述的装置,其特征在于,所述第二分辨率为所述移动终端的预览分辨率。10. The device according to claim 8 or 9, wherein the second resolution is a preview resolution of the mobile terminal.
CN201610321032.0A 2016-05-12 2016-05-12 Method and device for recording multimedia data Pending CN106028058A (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN201610321032.0A CN106028058A (en) 2016-05-12 2016-05-12 Method and device for recording multimedia data

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN201610321032.0A CN106028058A (en) 2016-05-12 2016-05-12 Method and device for recording multimedia data

Publications (1)

Publication Number Publication Date
CN106028058A true CN106028058A (en) 2016-10-12

Family

ID=57098020

Family Applications (1)

Application Number Title Priority Date Filing Date
CN201610321032.0A Pending CN106028058A (en) 2016-05-12 2016-05-12 Method and device for recording multimedia data

Country Status (1)

Country Link
CN (1) CN106028058A (en)

Cited By (2)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN107682672A (en) * 2017-09-30 2018-02-09 深圳市普天宜通技术股份有限公司 A kind of two-way video stream implementation method, storage medium and multimedia terminal
CN111294658A (en) * 2018-12-07 2020-06-16 北京字节跳动网络技术有限公司 Information processing method and device

Citations (9)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN1882042A (en) * 2005-06-17 2006-12-20 虹光精密工业(苏州)有限公司 Image acquisition apparatus capable of rapidly processing image and its image acquisition method
CN103607632A (en) * 2013-11-27 2014-02-26 广州华多网络科技有限公司 Previewing method and device based on desktop live broadcast
CN103905906A (en) * 2012-12-27 2014-07-02 三星电子(中国)研发中心 A data processing method and device based on smart TV
CN104410918A (en) * 2014-12-09 2015-03-11 广州华多网络科技有限公司 Method and device for adjusting parameters of live video
CN104639979A (en) * 2013-11-15 2015-05-20 深圳市快播科技有限公司 Video sharing method and system
CN104683858A (en) * 2015-02-13 2015-06-03 北京数码视讯科技股份有限公司 Preview method and device for content of stream medium
CN104780347A (en) * 2015-04-15 2015-07-15 无锡华海天和信息科技有限公司 Monitoring data transmission system and realizing method thereof
CN104869431A (en) * 2015-05-18 2015-08-26 无锡天脉聚源传媒科技有限公司 Video processing method and apparatus
CN105049918A (en) * 2015-07-08 2015-11-11 成都西可科技有限公司 Method for separating local recorded video and network live video

Patent Citations (9)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN1882042A (en) * 2005-06-17 2006-12-20 虹光精密工业(苏州)有限公司 Image acquisition apparatus capable of rapidly processing image and its image acquisition method
CN103905906A (en) * 2012-12-27 2014-07-02 三星电子(中国)研发中心 A data processing method and device based on smart TV
CN104639979A (en) * 2013-11-15 2015-05-20 深圳市快播科技有限公司 Video sharing method and system
CN103607632A (en) * 2013-11-27 2014-02-26 广州华多网络科技有限公司 Previewing method and device based on desktop live broadcast
CN104410918A (en) * 2014-12-09 2015-03-11 广州华多网络科技有限公司 Method and device for adjusting parameters of live video
CN104683858A (en) * 2015-02-13 2015-06-03 北京数码视讯科技股份有限公司 Preview method and device for content of stream medium
CN104780347A (en) * 2015-04-15 2015-07-15 无锡华海天和信息科技有限公司 Monitoring data transmission system and realizing method thereof
CN104869431A (en) * 2015-05-18 2015-08-26 无锡天脉聚源传媒科技有限公司 Video processing method and apparatus
CN105049918A (en) * 2015-07-08 2015-11-11 成都西可科技有限公司 Method for separating local recorded video and network live video

Cited By (2)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN107682672A (en) * 2017-09-30 2018-02-09 深圳市普天宜通技术股份有限公司 A kind of two-way video stream implementation method, storage medium and multimedia terminal
CN111294658A (en) * 2018-12-07 2020-06-16 北京字节跳动网络技术有限公司 Information processing method and device

Similar Documents

Publication Publication Date Title
CN110430441B (en) Cloud mobile phone video acquisition method, system, device and storage medium
CN110784718B (en) Video data encoding method, apparatus, device and storage medium
US20160142742A1 (en) Method, system, player and mobile terminal for online video playback
WO2018010662A1 (en) Video file transcoding method and device, and storage medium
US11997314B2 (en) Video stream processing method and apparatus, and electronic device and computer-readable medium
CN102811373A (en) Method for carrying out video broadcast on Internet and mobile Internet by mobile terminal
CN113938470B (en) Method and device for playing RTSP data source by browser and streaming media server
CN105791952A (en) Screen shooting method and device for streaming media video data, and electronic device
US20190191147A1 (en) Distortion of video for seek in 360 degree video
US12477099B2 (en) Video encoding method and apparatus, video decoding method and apparatus, storage medium, and electronic device
CN108401190B (en) Method and equipment for real-time labeling of video frames
CN103731672A (en) Audio and video decoding method and smart television
CN104010204B (en) Image information processing method and device
CN105681893A (en) Method and device for decoding stream media video data
CN106028058A (en) Method and device for recording multimedia data
WO2021057686A1 (en) Video decoding method and apparatus, video encoding method and apparatus, storage medium and electronic device
CN116567300A (en) Video processing method, device, system and storage medium
CN115866254A (en) Method and equipment for transmitting video frame and camera shooting parameter information
CN118632044B (en) Audio and video transcoding processing and playback method, device, storage medium and program product
CN114079823A (en) Video rendering method, device, equipment and medium based on Flutter
US9083990B2 (en) Electronic device and method for managing video snapshot
CN113596583A (en) Video stream bullet time data processing method and device
CN116916071B (en) Video screen display method, system, device, electronic device and storage medium
CN104333765A (en) Processing method and device of video live streams
CN115190359A (en) A kind of video playback format automatic conversion method and system

Legal Events

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

Application publication date: 20161012