CN106899880B - Method and system for storing multimedia data in segments - Google Patents

Method and system for storing multimedia data in segments Download PDF

Info

Publication number
CN106899880B
CN106899880B CN201510962962.XA CN201510962962A CN106899880B CN 106899880 B CN106899880 B CN 106899880B CN 201510962962 A CN201510962962 A CN 201510962962A CN 106899880 B CN106899880 B CN 106899880B
Authority
CN
China
Prior art keywords
multimedia data
queue
encoder
data
multimedia
Prior art date
Legal status (The legal status is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the status listed.)
Active
Application number
CN201510962962.XA
Other languages
Chinese (zh)
Other versions
CN106899880A (en
Inventor
余深庆
Current Assignee (The listed assignees may be inaccurate. Google has not performed a legal analysis and makes no representation or warranty as to the accuracy of the list.)
Leadcore Technology Co Ltd
Datang Semiconductor Design Co Ltd
Original Assignee
Leadcore Technology Co Ltd
Datang Semiconductor Design 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 Leadcore Technology Co Ltd, Datang Semiconductor Design Co Ltd filed Critical Leadcore Technology Co Ltd
Priority to CN201510962962.XA priority Critical patent/CN106899880B/en
Publication of CN106899880A publication Critical patent/CN106899880A/en
Application granted granted Critical
Publication of CN106899880B publication Critical patent/CN106899880B/en
Active legal-status Critical Current
Anticipated expiration legal-status Critical

Links

Images

Classifications

    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04NPICTORIAL COMMUNICATION, e.g. TELEVISION
    • H04N21/00Selective content distribution, e.g. interactive television or video on demand [VOD]
    • H04N21/40Client devices specifically adapted for the reception of or interaction with content, e.g. set-top-box [STB]; Operations thereof
    • H04N21/43Processing of content or additional data, e.g. demultiplexing additional data from a digital video stream; Elementary client operations, e.g. monitoring of home network or synchronising decoder's clock; Client middleware
    • H04N21/433Content storage operation, e.g. storage operation in response to a pause request, caching operations
    • H04N21/4334Recording operations
    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04NPICTORIAL COMMUNICATION, e.g. TELEVISION
    • H04N21/00Selective content distribution, e.g. interactive television or video on demand [VOD]
    • H04N21/40Client devices specifically adapted for the reception of or interaction with content, e.g. set-top-box [STB]; Operations thereof
    • H04N21/43Processing of content or additional data, e.g. demultiplexing additional data from a digital video stream; Elementary client operations, e.g. monitoring of home network or synchronising decoder's clock; Client middleware
    • H04N21/433Content storage operation, e.g. storage operation in response to a pause request, caching operations
    • H04N21/4331Caching operations, e.g. of an advertisement for later insertion during playback
    • 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/4335Housekeeping operations, e.g. prioritizing content for deletion because of storage space restrictions
    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04NPICTORIAL COMMUNICATION, e.g. TELEVISION
    • H04N21/00Selective content distribution, e.g. interactive television or video on demand [VOD]
    • H04N21/80Generation or processing of content or additional data by content creator independently of the distribution process; Content per se
    • H04N21/83Generation or processing of protective or descriptive data associated with content; Content structuring
    • H04N21/845Structuring of content, e.g. decomposing content into time segments
    • H04N21/8456Structuring of content, e.g. decomposing content into time segments by decomposing the content in the time domain, e.g. in time segments
    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04NPICTORIAL COMMUNICATION, e.g. TELEVISION
    • H04N5/00Details of television systems
    • H04N5/76Television signal recording

Abstract

The invention provides a method and a system for storing multimedia data in a segmented manner. According to the method, the system acquires multimedia data and caches the multimedia data in a pre-allocated queue; sending the multimedia data in the queue to an encoder for encoding; when the encoded multimedia data meet the preset storage condition or a storage instruction is received, continuing to acquire the multimedia data and suspending to send the multimedia data in the queue to the encoder; storing the multimedia data coded by the coder after the pause into a multimedia file according to a preset format; and re-transmitting the multimedia data in the queue to the encoder. The invention effectively solves the problems of time leakage and frame leakage when the multimedia data is stored in a segmented manner.

Description

Method and system for storing multimedia data in segments
Technical Field
The invention relates to the field of computers, in particular to a method and a system for storing multimedia data in a segmented mode.
Background
In products with video recording function, such as a driving recorder, a bank ATM, a security monitoring product and the like, the stored video files have size limitation due to some limitations of a file system, for example, the FAT32 file system only supports files with the size of 4GBytes at most. In addition, in actual use of a user, in order to conveniently view and manage a video file, there is often a requirement on the size or duration of a recorded video file, and the video file needs to be intermittently replaced to be stored in a continuous video recording process.
In many current technical implementation schemes, although files can be replaced and saved in the video recording process, a mode of stopping the Camera video recording first and then starting the Camera video recording next is adopted, so that a video picture between the stopping and the next starting is not recorded, and a picture of about 1 second or several seconds is lost, namely, the problem of 'missing seconds' is caused. In order to solve the above problem, there is another way to save the file in segments without stopping Camera recording, but some video frames are lost during the switching between the front and back files, resulting in the "missing frame" problem. Or, because the switching timing exists at any time, the first video frame written into the new file is not a synchronous frame, which causes screen splash at the beginning of playing the recorded file.
Therefore, improvements in the prior art are needed.
Disclosure of Invention
The invention aims to provide a method and a system for storing multimedia data in a segmented manner, which are used for solving the problem that clear audio and video data cannot be obtained in a joint image frame interval stored in a segmented manner in the prior art.
In order to solve the above technical problem, an embodiment of the present invention provides a method for storing multimedia data segments, including: acquiring multimedia data and caching the multimedia data in a pre-distributed queue; sending the multimedia data in the queue to an encoder for encoding; when the encoded multimedia data meet the preset storage condition or a storage instruction is received, continuing to acquire the multimedia data and suspending to send the multimedia data in the queue to the encoder; and storing the multimedia data coded by the coder after the pause into a multimedia file according to a preset format, and retransmitting the multimedia data in the queue to the coder.
In view of the above object, the present invention further provides a system for storing multimedia data segments, comprising: the acquisition module is used for acquiring multimedia data and caching the multimedia data in a pre-distributed queue; the output module is used for sending the multimedia data in the queue to an encoder for encoding; the segment storage module is used for continuously acquiring the multimedia data and suspending the multimedia data in the queue to be sent to the encoder when the encoded multimedia data meets the preset storage condition or a storage instruction is received; and storing the multimedia data coded by the coder after the pause into a multimedia file according to a preset format, and re-executing the output module to transmit the multimedia data in the queue to the coder.
Compared with the prior art, the embodiment of the invention adopts a mode of continuously acquiring the multimedia data and coding and storing the front-end data during the segmented storage, so that all the links of acquisition, conversion and coding are kept not to be restarted in the switching process of the video, and the restarting and the replacement are only carried out on the file package (namely the segmented storage), thereby shortening the switching time and effectively solving the problems of time leakage and frame leakage caused by restarting.
In addition, especially for the segment saving of the video data, when the video data is output to the encoder again, a synchronous frame instruction is also output, so that the first frame of the segment file is a synchronous frame, and therefore the images of the first few seconds of the segment saving can be ensured to be clear and have no screen splash.
In addition, when stopping, all the cached multimedia data are encoded and stored, thereby effectively preventing the multimedia data from being lost at the stopping time.
In addition, the audio and video data in the multimedia data are separately cached, so that the audio and video data can be configured into audio and video single-code-stream video recording or audio and video mixed-code-stream video recording, and multi-path simultaneous interference-free continuous video recording can be realized.
Drawings
FIG. 1 is a flow chart of one embodiment of a method for saving multimedia data segments according to the present invention;
FIG. 2 is a flow chart of a preferred embodiment of the method for saving multimedia data segments of the present invention;
fig. 3 is a schematic structural diagram of an embodiment of the system for storing multimedia data segments according to 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 below with reference to the accompanying drawings. However, it will be appreciated by those of ordinary skill in the art that numerous technical details are set forth in order to provide a better understanding of the present application in various embodiments of the present invention. However, the technical solutions claimed in the claims of the present application can be implemented without these technical details and with various changes and modifications based on the following embodiments.
As shown in fig. 1, the present invention provides a method for storing multimedia data segments. The saving method is mainly executed by a saving system. The saving system is installed in a computer device. Wherein the computer devices include, but are not limited to: a streaming media server, a video monitoring center, etc. The saving system performs the steps of:
in step S1, the saving system acquires multimedia data and buffers the multimedia data in a pre-allocated queue. Wherein the multimedia data includes, but is not limited to, at least one of: audio data, video data. The multimedia data may be an uncompressed data stream. When the multimedia data comprises audio data and video data, the storage system stores the audio data acquired from the audio data line in a preset queue specially used for storing the audio data. Also, the saving system saves the video data acquired from the video data line in a preset queue dedicated to storing the video data. The size of each of the queues may be preset to a fixed value. The fixed value should be greater than the buffer capacity of the encoder.
Here, the storage system may directly acquire the multimedia data provided by the camera device, and monitor the total amount of the acquired multimedia data or the download duration from the acquisition of the multimedia data.
In step S2, the saving system sends the multimedia data in the queue to an encoder for encoding.
Specifically, when the storage system acquires multimedia data, a data transmission thread is started to be executed circularly, and the multimedia data in the queue is sent to an encoder.
And when the multimedia data is audio data, the storage system starts an encoder and directly transmits the multimedia data to the encoder.
When the multimedia data is video data, the storage system sends an instruction containing synchronous frame processing to an encoder, and transmits the multimedia data to the encoder. Thus, the encoder takes the acquired first frame of multimedia data as a synchronization frame and starts encoding.
In step S3, when the storage system monitors that the encoded multimedia data meets the preset storage condition, continuing to acquire the multimedia data and suspending sending the multimedia data in the queue to the encoder; and storing the multimedia data coded by the coder after the pause into a multimedia file according to a preset format, and retransmitting the multimedia data in the queue to the coder.
Wherein the preservation conditions include, but are not limited to: the total amount of the multimedia data types to be stored reaches a preset number threshold. For example, the saving system accumulates the total amount of the multimedia data encoded in step S2. And if the type of the multimedia data to be stored by the storage system is a single audio type, the storage condition is that the total amount of the coded audio data reaches a preset storage amount threshold value. For another example, the saving system accumulates the total amount of the multimedia data encoded in step S2. And if the multimedia data types to be stored by the storage system are audio and video types, the storage condition is that the total amount of the coded audio data and video data reaches a preset storage quantity threshold value.
When the storage system meets the preset storage condition, continuing to acquire multimedia data and suspending the multimedia data in the queue to be sent to an encoder; and meanwhile, waiting for the encoder to encode the multimedia data in the buffer memory of the encoder, storing the encoded multimedia data into a multimedia file according to a preset format, and then transmitting the multimedia data in the queue to the encoder again.
Specifically, when the storage system stores the received data stream in segments at fixed time intervals or at fixed file sizes according to preset storage conditions, the reception of the multimedia data transmitted by the image pickup device is not suspended. The saving system continues to save the acquired multimedia data to the corresponding queue while suspending the output of the multimedia data from the queue. Meanwhile, the storage system instructs the encoder to continue encoding the multimedia data in the buffer memory of the encoder, and stores all the multimedia data encoded by the encoder after the pause in a preset format and naming rules in a preset folder.
Herein, the format includes, but is not limited to: rmvb format, mp4 format, and the like. The naming rules include, but are not limited to: naming according to the current time, naming according to a preset coding sequence and the like.
And when the saving system finishes the saving operation, the multimedia data in the queue is retransmitted to the encoder.
Specifically, the saving system re-transmits multimedia data from the queue to the encoder. And if the audio data is stored by the storage system, directly outputting the audio data to the encoder. And if the video data to be stored by the storage system comprises video data, the encoder sends a synchronous frame instruction when the multimedia data is retransmitted. As such, the encoder treats the retrieved multimedia data as a sync frame. Therefore, data can not be lost due to the storage interval, and the situation that the screen is lost for the first few seconds due to the asynchronous frame of the video data which is transmitted to the encoder again can not be caused.
Alternatively, the saving system may further continue to acquire the multimedia data and suspend sending the multimedia data in the queue to the encoder when receiving the saving instruction; and storing the multimedia data coded by the coder after the pause into a multimedia file according to a preset format, and retransmitting the multimedia data in the queue to the coder.
For example, if a technician needs to separately store current multimedia data, a storage instruction is sent to the storage system by operating a human-computer interaction device (such as a keyboard, a mouse, a touch screen, and the like) in the computer device, and the storage system continues to acquire the multimedia data and suspends the sending of the multimedia data in the queue to the encoder; meanwhile, waiting for the encoder to encode the multimedia data in the buffer memory of the encoder, and storing each encoded multimedia data into a multimedia file according to a preset format; and re-transmitting the multimedia data in the queue to the encoder.
The storage system continues to acquire multimedia data and stops sending the multimedia data in the queue to the encoder; storing the multimedia data coded by the coder after the pause into a multimedia file according to a preset format; and re-feeding the multimedia data in the queue to the encoder in the same manner as described above, and will not be described in detail herein.
Preferably, the saving system may also receive a stop instruction. Specifically, when the user clicks a stop button, or the storage system monitors that the storage space is close to full storage, the storage system receives a stop instruction. At this time, the steps performed by the saving system are as shown in fig. 2.
The saving system stops executing step S1.
Specifically, the saving system stops continuously acquiring and buffering new multimedia data from the camera device based on the stop instruction, and continues to execute step S2 to send the remaining multimedia data in the queue to the encoder for encoding until the queue is emptied.
And when the storage system utilizes the encoder to encode all the residual multimedia data, the encoded multimedia data is stored into a multimedia file according to a preset format.
Thus, the saving system saves all the acquired multimedia data in a file. Therefore, the aim of storing all multimedia data before the stop instruction is received is fulfilled.
As shown in fig. 3, the present invention provides a system for storing multimedia data segments. The saving system is installed in a computer device. Wherein the computer devices include, but are not limited to: a streaming media server, a video monitoring center, etc. The saving system 1 includes: the device comprises an acquisition module 11, an output module 12 and a segment storage module 13.
The obtaining module 11 is configured to obtain multimedia data and buffer the multimedia data in a pre-allocated queue. Wherein the multimedia data includes, but is not limited to, at least one of: audio data, video data. The multimedia data may be an uncompressed data stream. When the multimedia data includes audio data and video data, the obtaining module 11 stores the audio data obtained from the audio data line in a preset queue dedicated to storing audio data. Similarly, the obtaining module 11 stores the video data obtained from the video data line in a preset queue dedicated to storing video data. The size of each of the queues may be preset to a fixed value. The fixed value should be greater than the buffer capacity of the encoder.
Here, the obtaining module 11 may directly obtain the multimedia data provided by the camera device, and monitor the total amount of the obtained multimedia data or the download duration from the obtaining of the multimedia data.
The output module 12 is used for sending the multimedia data in the queue to an encoder for encoding.
Specifically, when the output module 12 acquires multimedia data, it starts to execute a data transmission thread in a loop, and sends the multimedia data in the queue to an encoder.
When the multimedia data is audio data, the output module 12 starts an encoder and directly transmits the multimedia data to the encoder.
When the multimedia data is video data, the output module 12 sends an instruction including a sync frame process to an encoder, and transmits the multimedia data to the encoder. Thus, the encoder takes the acquired first frame of multimedia data as a synchronization frame and starts encoding.
The segment storage module 13 is configured to continue to acquire multimedia data and suspend sending the multimedia data in the queue to the encoder when it is monitored that the encoded multimedia data meets a preset storage condition; and storing the multimedia data coded by the coder after the pause into a multimedia file according to a preset format, and retransmitting the multimedia data in the queue to the coder.
Wherein the preservation conditions include, but are not limited to: the total amount of the multimedia data types to be stored reaches a preset number threshold. For example, the segment saving module 13 accumulates the total amount of the encoded multimedia data. If the type of the multimedia data to be stored by the segment storing module 13 is a single audio type, the storage condition is that the total amount of the encoded audio data reaches a preset storage amount threshold. For another example, the segment saving module 13 accumulates the total amount of the encoded multimedia data. If the types of the multimedia data to be stored by the segment storing module 13 are audio and video types, the storing condition is that the total amount of the encoded audio data and video data reaches a preset storing quantity threshold.
When the segment storage module 13 meets the preset storage condition, continuing to acquire multimedia data and suspending sending the multimedia data in the queue to an encoder; and meanwhile, waiting for the encoder to encode the multimedia data in the buffer memory of the encoder, storing the encoded multimedia data into a multimedia file according to a preset format, and then transmitting the multimedia data in the queue to the encoder again.
Specifically, when the segment saving module 13 saves the received data stream in segments at fixed time intervals or at fixed file sizes according to preset saving conditions, the reception of the multimedia data transmitted by the image pickup device is not suspended. The segment saving module 13 continues to save the acquired multimedia data into the corresponding queue while suspending the output of the multimedia data from the queue. Meanwhile, the instruction output module 12 instructs the encoder to continue encoding the multimedia data in its own buffer, and stores all the multimedia data encoded by the encoder after the pause in a preset format and naming rule in a preset folder.
Herein, the format includes, but is not limited to: rmvb format, mp4 format, and the like. The naming rules include, but are not limited to: naming according to the current time, naming according to a preset coding sequence and the like.
When the segment saving module 13 completes the saving operation, the output module 12 is instructed to re-transmit the multimedia data in the queue to the encoder.
Specifically, the segment saving module 13 re-outputs the multimedia data from the queue to the encoder. If the segment storage module 13 stores the audio data, the audio data is directly input to the encoder. If the segment storing module 13 is to store the video data, the encoder sends a synchronization frame command when the multimedia data is retransmitted. As such, the encoder treats the retrieved multimedia data as a sync frame. Therefore, data can not be lost due to the storage interval, and the situation that the screen is lost for the first few seconds due to the asynchronous frame of the video data which is transmitted to the encoder again can not be caused.
Alternatively, the segment saving module 13 may further continue to acquire the multimedia data and suspend sending the multimedia data in the queue to the encoder when receiving the saving instruction; and storing the multimedia data coded by the coder after the pause into a multimedia file according to a preset format, and retransmitting the multimedia data in the queue to the coder.
For example, if a technician needs to separately store current multimedia data, a storage instruction is sent to the segment storage module 13 by operating a human-computer interaction device (such as a keyboard, a mouse, a touch screen, and the like) in the computer device, and the segment storage module 13 continues to acquire the multimedia data and suspends sending the multimedia data in the queue to the encoder; meanwhile, waiting for the encoder to encode the multimedia data in the buffer memory of the encoder, and storing each encoded multimedia data into a multimedia file according to a preset format; and instructs the output module 12 to re-deliver the multimedia data in the queue to the encoder.
Here, the segment saving module 13 continues to acquire multimedia data and suspends the sending of the multimedia data in the queue to the encoder; storing the multimedia data coded by the coder after the pause into a multimedia file according to a preset format; and instructs the output module 12 to re-feed the multimedia data in the queue to the encoder in the same manner as described above, and will not be described in detail here.
Preferably, the obtaining module 11 may also receive a stop instruction. Specifically, when the user clicks a stop button, the obtaining module 11 obtains a stop instruction. Or, when the segment storing module 13 monitors that the stored storage space is close to full storage, the obtaining module 11 receives a stop instruction.
The obtaining module 11 is configured to stop obtaining new multimedia data based on the stop instruction.
Specifically, the obtaining module 11 stops to continue obtaining and buffering new multimedia data from the camera device based on the stop instruction, and the output module 12 continues to execute the above steps to send the remaining multimedia data in the queue to the encoder for encoding until the queue is emptied.
When the segment storing module 13 encodes all the remaining multimedia data by using the encoder, the encoded multimedia data is stored as a multimedia file according to a preset format.
Thus, the saving system 1 saves all the acquired multimedia data in a file. Therefore, the aim of storing all multimedia data before the stop instruction is received is fulfilled.
It should be noted that, in the present embodiment, all the modules and units are logic modules and logic units, and in practical applications, one logic unit may be one physical unit, may be a part of one physical unit, and may be implemented by a combination of a plurality of physical units. In addition, in order to highlight the innovative part of the present invention, elements that are not so closely related to solving the technical problems proposed by the present invention are not introduced in the present embodiment, but this does not indicate that other elements are not present in the present embodiment.
It will be understood by those of ordinary skill in the art that the foregoing embodiments are specific examples for carrying out the invention, and that various changes in form and details may be made therein without departing from the spirit and scope of the invention in practice.

Claims (10)

1. A method for storing segments of multimedia data, comprising:
acquiring multimedia data and caching the multimedia data in a pre-distributed queue;
sending the multimedia data in the queue to an encoder for encoding;
when the encoded multimedia data meet the preset storage condition or a storage instruction is received, continuing to acquire the multimedia data and suspending to send the multimedia data in the queue to the encoder; storing the multimedia data coded by the coder after the pause into a multimedia file according to a preset format;
then the multimedia data in the queue is retransmitted to the encoder;
when receiving the stop instruction, the method further comprises the following steps:
stopping executing the step of acquiring the multimedia data and caching the multimedia data in a pre-allocated queue;
sending the residual multimedia data in the queue to an encoder for encoding until the queue is empty;
and after the encoder encodes all the residual multimedia data, storing the encoded multimedia data into a multimedia file according to a preset format.
2. The method of claim 1, wherein when the multimedia data comprises: when audio data and video data are received, the manner of obtaining multimedia data and buffering the multimedia data in a pre-allocated queue includes:
and buffering the acquired audio data and video data in different queues respectively.
3. The method of claim 1, wherein when the multimedia data comprises: when video data is transmitted, the mode of retransmitting the multimedia data in the queue to the encoder comprises the following steps:
and sending a synchronous frame instruction to the encoder, and sending the multimedia data in the queue to the encoder for encoding.
4. The method of claim 1, wherein the saving condition comprises: the total amount of the multimedia data types to be stored reaches a preset number threshold.
5. The method of claim 4, wherein when the multimedia data comprises: when audio data and video data are processed, the mode of storing the multimedia data coded by the coder after pause into a multimedia file according to a preset format comprises the following steps:
and according to the type of the multimedia data to be stored preset in the storage condition, storing the multimedia data of the corresponding type and coded by the coder after the pause into a multimedia file according to a preset format.
6. A system for preserving multimedia data segments, comprising:
the acquisition module is used for acquiring multimedia data and caching the multimedia data in a pre-distributed queue;
the output module is used for sending the multimedia data in the queue to an encoder for encoding;
the segment storage module is used for continuously acquiring the multimedia data and suspending the multimedia data in the queue to be sent to the encoder when the encoded multimedia data meets the preset storage condition or a storage instruction is received; storing the multimedia data coded by the coder after the pause into a multimedia file according to a preset format; re-executing the output module to deliver the multimedia data in the queue to the encoder;
the acquisition module is further used for stopping executing the acquisition module when a stop instruction is received;
the output module is also used for sending the residual multimedia data in the queue to an encoder for encoding until the queue is empty;
the segment storage module is further configured to store the encoded multimedia data into a multimedia file according to a preset format after the encoder encodes all the remaining multimedia data.
7. The system for storing multimedia data segments according to claim 6, wherein when the multimedia data comprises: and when the audio data and the video data are acquired, the acquisition module is used for respectively caching the acquired audio data and the acquired video data in different queues.
8. The system for storing multimedia data segments according to claim 6, wherein when the multimedia data comprises: and when the video data is transmitted, the output module is also used for sending a synchronous frame instruction to the encoder when the multimedia data in the queue is retransmitted to the encoder, and transmitting the multimedia data in the queue to the encoder for encoding.
9. The system for storing multimedia data segments according to claim 6, wherein said storing condition comprises: the total amount of the multimedia data types to be stored reaches a preset number threshold.
10. The system for storing multimedia data segments according to claim 9, wherein when the multimedia data comprises: and when the audio data and the video data are in use, the segment storage module is used for storing the multimedia data of corresponding type and coded by the coder after pause into multimedia files according to preset format according to the type of the multimedia data to be stored preset in the storage condition.
CN201510962962.XA 2015-12-19 2015-12-19 Method and system for storing multimedia data in segments Active CN106899880B (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN201510962962.XA CN106899880B (en) 2015-12-19 2015-12-19 Method and system for storing multimedia data in segments

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN201510962962.XA CN106899880B (en) 2015-12-19 2015-12-19 Method and system for storing multimedia data in segments

Publications (2)

Publication Number Publication Date
CN106899880A CN106899880A (en) 2017-06-27
CN106899880B true CN106899880B (en) 2020-02-18

Family

ID=59191570

Family Applications (1)

Application Number Title Priority Date Filing Date
CN201510962962.XA Active CN106899880B (en) 2015-12-19 2015-12-19 Method and system for storing multimedia data in segments

Country Status (1)

Country Link
CN (1) CN106899880B (en)

Families Citing this family (2)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
EP3833010A4 (en) 2018-08-01 2022-05-04 Beijing Microlive Vision Technology Co., Ltd Video recording method and device
CN113553467A (en) * 2020-04-24 2021-10-26 华为技术有限公司 Video processing method and device

Citations (5)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN102821308A (en) * 2012-06-04 2012-12-12 西安交通大学 Multi-scene streaming media courseware recording and direct-broadcasting method
CN103096131A (en) * 2013-02-06 2013-05-08 天脉聚源(北京)传媒科技有限公司 Processing method and processing device of live broadcast stream
KR20140134100A (en) * 2013-05-13 2014-11-21 주식회사 알티캐스트 Method for generating user video and Apparatus therefor
CN105049920A (en) * 2015-07-27 2015-11-11 青岛海信移动通信技术股份有限公司 Method and device for recording multimedia files
CN105049919A (en) * 2015-07-27 2015-11-11 青岛海信移动通信技术股份有限公司 Method and device for recording multimedia file

Family Cites Families (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN102098423B (en) * 2009-12-10 2013-03-27 北大方正集团有限公司 Seamless file collection method and system

Patent Citations (5)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN102821308A (en) * 2012-06-04 2012-12-12 西安交通大学 Multi-scene streaming media courseware recording and direct-broadcasting method
CN103096131A (en) * 2013-02-06 2013-05-08 天脉聚源(北京)传媒科技有限公司 Processing method and processing device of live broadcast stream
KR20140134100A (en) * 2013-05-13 2014-11-21 주식회사 알티캐스트 Method for generating user video and Apparatus therefor
CN105049920A (en) * 2015-07-27 2015-11-11 青岛海信移动通信技术股份有限公司 Method and device for recording multimedia files
CN105049919A (en) * 2015-07-27 2015-11-11 青岛海信移动通信技术股份有限公司 Method and device for recording multimedia file

Also Published As

Publication number Publication date
CN106899880A (en) 2017-06-27

Similar Documents

Publication Publication Date Title
CN110213598B (en) Video transcoding system and method and related product
US11165843B2 (en) Backfill of video stream
US10003811B2 (en) Parallel processing of a video frame
CN106464601B (en) Channel bundling
CN108848060B (en) Multimedia file processing method, processing system and computer readable storage medium
US8929443B2 (en) Recovering from dropped frames in real-time transmission of video over IP networks
US10057014B2 (en) System and method for streaming data
US10771821B2 (en) Overcoming lost IP packets in streaming video in IP networks
US20170105010A1 (en) Receiver-side modifications for reduced video latency
CN108965883A (en) The system and method that video content is encoded using virtual intra frame
EP3127287B1 (en) Signaling and operation of an mmtp de-capsulation buffer
US9282360B2 (en) System and method for maintaining integrity of audio data in a multiplexed audio/video stream over a low-latency network connection
WO2017007606A1 (en) Intra-refresh for video streaming
CN114640886B (en) Self-adaptive bandwidth audio/video transmission method, device, computer equipment and medium
CN106899880B (en) Method and system for storing multimedia data in segments
CN101340590A (en) Multiplex apparatus and multiplex method
US7403566B2 (en) System, computer program product, and method for transmitting compressed screen images from one computer to another or many computers
GB2515362A (en) Decoding frames
CN105187688A (en) Method and system for carrying out synchronization on real-time video and audio collected by mobile phone
CN103139188B (en) Flow-medium transmission method and system
JP2001111969A (en) Ts packet data multiplexing method and ts packet data multiplexer
US10721171B2 (en) Data transfer system and corresponding methods
CN108989767B (en) Network self-adaptive multi-channel H264 video stream storage and retransmission method and system
CN115734004A (en) Video processing method, device, system and equipment
CN110312159B (en) Signal receiving device, streaming media transmission system and streaming media transmission method

Legal Events

Date Code Title Description
PB01 Publication
PB01 Publication
SE01 Entry into force of request for substantive examination
EE01 Entry into force of recordation of patent licensing contract
EE01 Entry into force of recordation of patent licensing contract

Application publication date: 20170627

Assignee: Shanghai Li Ke Semiconductor Technology Co., Ltd.

Assignor: Leadcore Technology Co., Ltd.

Contract record no.: 2018990000159

Denomination of invention: Method and system for performing segmental storage of multimedia data

License type: Common License

Record date: 20180615

GR01 Patent grant
GR01 Patent grant