CN106899880A - The method and system that multi-medium data segmentation is preserved - Google Patents
The method and system that multi-medium data segmentation is preserved Download PDFInfo
- Publication number
- CN106899880A CN106899880A CN201510962962.XA CN201510962962A CN106899880A CN 106899880 A CN106899880 A CN 106899880A CN 201510962962 A CN201510962962 A CN 201510962962A CN 106899880 A CN106899880 A CN 106899880A
- Authority
- CN
- China
- Prior art keywords
- medium data
- encoder
- data
- queue
- preserving
- 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.)
- Granted
Links
Classifications
-
- H—ELECTRICITY
- H04—ELECTRIC COMMUNICATION TECHNIQUE
- H04N—PICTORIAL COMMUNICATION, e.g. TELEVISION
- H04N21/00—Selective content distribution, e.g. interactive television or video on demand [VOD]
- H04N21/40—Client devices specifically adapted for the reception of or interaction with content, e.g. set-top-box [STB]; Operations thereof
- H04N21/43—Processing 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/433—Content storage operation, e.g. storage operation in response to a pause request, caching operations
- H04N21/4334—Recording operations
-
- H—ELECTRICITY
- H04—ELECTRIC COMMUNICATION TECHNIQUE
- H04N—PICTORIAL COMMUNICATION, e.g. TELEVISION
- H04N21/00—Selective content distribution, e.g. interactive television or video on demand [VOD]
- H04N21/40—Client devices specifically adapted for the reception of or interaction with content, e.g. set-top-box [STB]; Operations thereof
- H04N21/43—Processing 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/433—Content storage operation, e.g. storage operation in response to a pause request, caching operations
- H04N21/4331—Caching operations, e.g. of an advertisement for later insertion during playback
-
- H—ELECTRICITY
- H04—ELECTRIC COMMUNICATION TECHNIQUE
- H04N—PICTORIAL COMMUNICATION, e.g. TELEVISION
- H04N21/00—Selective content distribution, e.g. interactive television or video on demand [VOD]
- H04N21/40—Client devices specifically adapted for the reception of or interaction with content, e.g. set-top-box [STB]; Operations thereof
- H04N21/43—Processing 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/433—Content storage operation, e.g. storage operation in response to a pause request, caching operations
- H04N21/4335—Housekeeping operations, e.g. prioritizing content for deletion because of storage space restrictions
-
- H—ELECTRICITY
- H04—ELECTRIC COMMUNICATION TECHNIQUE
- H04N—PICTORIAL COMMUNICATION, e.g. TELEVISION
- H04N21/00—Selective content distribution, e.g. interactive television or video on demand [VOD]
- H04N21/80—Generation or processing of content or additional data by content creator independently of the distribution process; Content per se
- H04N21/83—Generation or processing of protective or descriptive data associated with content; Content structuring
- H04N21/845—Structuring of content, e.g. decomposing content into time segments
- H04N21/8456—Structuring of content, e.g. decomposing content into time segments by decomposing the content in the time domain, e.g. in time segments
-
- H—ELECTRICITY
- H04—ELECTRIC COMMUNICATION TECHNIQUE
- H04N—PICTORIAL COMMUNICATION, e.g. TELEVISION
- H04N5/00—Details of television systems
- H04N5/76—Television signal recording
Abstract
The invention provides a kind of method and system for preserving multi-medium data segmentation.According to methods described, the system obtains multi-medium data and is buffered in pre-assigned queue;Multi-medium data feeding encoder in the queue is encoded;When the multi-medium data after coding meets default preservation condition or receives preservation instruction, continue to obtain multi-medium data and suspend that the multi-medium data in the queue is sent into encoder;Multi-medium data coded by the encoder after pause is preserved into multimedia file according to preset format;Convey the multi-medium data in the queue to the encoder again again.When the present invention effectively solves the problems, such as to be segmented leakage when preserving multi-medium data, leak frame.
Description
Technical field
The present invention relates to computer realm, multi-medium data is more particularly to segmented the method for preservation and is
System.
Background technology
In the product with video record function, such as drive recorder, ATM in bank, security protection is supervised
Control product etc., due to some limitations of file system, the video file of storage has size to limit, such as
The file of the maximum only support 4G Bytes sizes of FAT32 file system.In addition, in user is actually used,
Check for convenience, manage video file, will also tend to the size or duration to recording video file out
Require, these are required for during continuously recording, intermittently to change video file and go to preserve.
In current many technic relization schemes, although file preservation can be changed in video process, but
It is much to take first to stop the mode that and then Camera video recordings start Camera video recordings again, this is resulted in
Video pictures between stopping and starting next time are not recorded, and often have 1 second or so or several seconds
Picture lose, i.e. " leakage second " problem.In order to solve the above problems, also a kind of mode is in segmentation
The process for preserving file does not stop Camera video recordings, but causes certain during front and rear file switches
A little video LOFs, cause " leakage frame " problem.Or, because the opportunity for switching is present in any time,
First frame of video of the new file of write-in is not synchronization frame, beginning wink when causing the file under record to play
Between occur flower screen.
Therefore, prior art need to be improved.
The content of the invention
It is an object of the invention to provide a kind of method and system for preserving multi-medium data segmentation, it is used for
Solve the handing-over picture frame interval preserved in segmentation of the prior art, it is impossible to obtain clear audio, video data
Problem.
In order to solve the above technical problems, embodiments of the present invention provide one kind multi-medium data is segmented
The method of preservation, comprising:Obtain multi-medium data and be buffered in pre-assigned queue;By the team
Multi-medium data feeding encoder in row is encoded;Multi-medium data after coding meets default
Preservation condition or when receiving preservation instruction, continues to obtain multi-medium data and simultaneously suspends the queue
In multi-medium data feeding encoder;Multi-medium data coded by the encoder after pause is pressed
Multimedia file is preserved into according to preset format, the multimedia in the queue is conveyed to the encoder again
Data.
Based on above-mentioned purpose, the present invention also provides a kind of system for preserving multi-medium data segmentation, comprising:
Acquisition module, for obtaining multi-medium data and being buffered in pre-assigned queue;Output module, uses
Encoded in by the multi-medium data feeding encoder in the queue;Segmentation preserving module, for working as
When multi-medium data after coding meets default preservation condition or receives preservation instruction, continue to obtain
Multi-medium data simultaneously suspends the multi-medium data feeding encoder in the queue;Institute after suspending
State the multi-medium data coded by encoder and preserve into multimedia file according to preset format, re-execute institute
Output module is stated, with to the multi-medium data in the encoder conveying queue.
Embodiment of the present invention is in terms of existing technologies, more using acquisition is not interrupted when preservation is segmented
Media data, and to front end data encode the mode of preservation so that in the handoff procedure of video recording,
Collection is kept, is changed and is encoded each link and do not restart, simply (i.e. segmentation is preserved) does on Document encapsulation
Restart replacing, the time of switching can be shortened, effectively solves the problems, such as when leakage caused by restarting, leak frame.
In addition, the segmentation especially for video data is preserved, when video data is exported to encoder again,
Also output synchronization frame instruction so that the first frame of segmental file is synchronization frame, is so able to ensure that segmentation is protected
Former seconds image clearlies depositing, shield without flower.
In addition, when stopping, being encoded using all multi-medium datas that will be cached, being preserved, have
Effect prevents the loss of the multi-medium data of stop timing.
In addition, the audio-visual data in multi-medium data is separately cached, audio can be configured to, regarded
Frequency single bit stream is recorded a video or the video recording of audio frequency and video mixed code stream, moreover it is possible to realize multichannel glitch-free continuous record simultaneously
Picture.
Brief description of the drawings
Fig. 1 is a kind of flow of implementation method in the method for preserving multi-medium data segmentation of the invention
Figure;
Fig. 2 is a kind of stream of preferred embodiment in the method for preserving multi-medium data segmentation of the invention
Cheng Tu;
Fig. 3 be it is of the invention by multi-medium data segmentation preserve system in a kind of structure of implementation method show
It is intended to.
Specific embodiment
To make the object, technical solutions and advantages of the present invention clearer, below in conjunction with accompanying drawing to this hair
Bright each implementation method is explained in detail.However, it will be understood by those skilled in the art that
In each implementation method of the invention, in order that reader more fully understands the application and to propose many technologies thin
Section.But, even if many variations and modification without these ins and outs and based on following implementation method,
The application each claim technical scheme required for protection can also be realized.
As shown in figure 1, the present invention provides a kind of method for preserving multi-medium data segmentation.The preservation
Method is mainly performed by preservation system.The preservation system is arranged in computer equipment.Wherein, institute
Computer equipment is stated to include but is not limited to:Streaming media server, video monitoring center etc..It is described to preserve system
System performs following steps:
In step sl, the preservation system obtains multi-medium data and is buffered in pre-assigned queue
In.Wherein, the multi-medium data includes but is not limited to following at least one:Voice data, video counts
According to.The multi-medium data can be uncompressed data flow.When the multi-medium data includes audio
When data and video data, be stored in for the voice data obtained from voice data circuit by the preservation system
In the default queue for being exclusively used in deposit voice data.Equally, the preservation system will be from video data line
The video data that road obtains is stored in the default queue for being exclusively used in and deposit video data.Each queue
Big I be redefined for fixed value.The fixed value should be greater than the buffer memory capacity of encoder.
Here, the preservation system can the multi-medium data that is provided of direct access camera head, and from obtaining
Get multi-medium data to start, the total amount or downloading duration to acquired multi-medium data are monitored.
In step s 2, the preservation system enters the multi-medium data feeding encoder in the queue
Row coding.
Specifically, when the preservation system gets multi-medium data, execution data transfer is started the cycle over
Thread, by the multi-medium data feeding encoder in the queue.
When the multi-medium data is voice data, the preservation system starts encoder and directly will be many
Media data is delivered to the encoder.
When the multi-medium data is video data, the preservation system is sent comprising synchronous to encoder
The instruction of frame treatment, and multi-medium data is delivered to the encoder.In this way, the encoder is with institute
The the first frame multi-medium data for obtaining proceeds by coding as synchronization frame.
In step s3, the multi-medium data after preservation system monitoring is to coding meets default
During preservation condition, continue to obtain multi-medium data and suspend the multi-medium data feeding in the queue
Encoder;Multi-medium data coded by the encoder after pause is preserved into according to preset format many
Media file, conveys the multi-medium data in the queue to the encoder again.
Wherein, the preservation condition is included but is not limited to:The correspondence multimedia data type to be preserved
Total amount reaches predetermined number threshold value.For example, many matchmakers after being encoded in the preservation system accumulating step S2
The total amount of volume data.If the preservation system multimedia data type to be preserved is single audio frequency type,
Then the preservation condition is that the total amount of the voice data after coding reaches and default preserves amount threshold.And for example,
The total amount of the multi-medium data after being encoded in the preservation system accumulating step S2.If the preservation system
The multimedia data type to be preserved is Voice & Video type, then the preservation condition is after encoding
The total amount of voice data and video data reaches default preservation amount threshold.
When the preservation system meets default preservation condition, continue to obtain multi-medium data and suspend by
Multi-medium data feeding encoder in the queue;Simultaneously wait encoder by its own cache in it is many
Media data is encoded, and by coding after each multi-medium data preserve into multimedia according to preset format
File, then again to the multi-medium data in the encoder conveying queue.
Specifically, when the preservation system is according to default preservation condition is every fixed duration or often fixes
When file size carries out segmentation preservation to received data stream, not pause receives camera head and is transmitted
Multi-medium data.The preservation system continues to be saved in acquired multi-medium data in respective queue,
Pause simultaneously exports multi-medium data from the queue.At the same time, the preservation system indicates described
Encoder continues to complete the multi-medium data coding in own cache, and the encoder after pause is compiled
All multi-medium datas of code are stored under default file with default form and naming rule.
Here, the form is included but is not limited to:Rmvb forms, mp4 forms etc..The naming rule
Including but not limited to:It is named according to current time, is named according to default coded sequence.
When the preservation system completes to preserve operation, again in the encoder conveying queue
Multi-medium data.
Specifically, multi-medium data is transported to the encoder by the preservation system from queue again.If
What the preservation system was preserved is voice data, then the voice data directly is transported into the encoder.
If the preservation system to be preserved comprising video data, when conveying multi-medium data again, can manage it
The encoder sends synchronization frame instruction.In this way, the multi-medium data that the encoder will be regained is made
It is synchronization frame.In this way, not only data will not be lost because preserving interval, more will not be because again to encoder
The video data Non-alignment Frame of conveying, and cause the former seconds situations of flower screen.
Interchangeable, the preservation system can also continue to obtain multimedia when preservation instruction is received
Data are simultaneously suspended the multi-medium data feeding encoder in the queue;The coding after suspending
Multi-medium data coded by device preserves into multimedia file according to preset format, again to the encoder
Convey the multi-medium data in the queue.
For example, technical staff needs individually to preserve current multimedia data, then by operating computer equipment
In human-computer interaction device (such as keyboard, mouse, touch screen) to the preservation system send preservation instruction,
Then the preservation system continues to obtain multi-medium data and the multi-medium data in the queue is sent in pause
Enter encoder;Wait encoder to be encoded its own multi-medium data in caching simultaneously, and will compile
Each multi-medium data after code preserves into multimedia file according to preset format;Again again to the encoder
Convey the multi-medium data in the queue.
Here, the preservation system continues to obtain multi-medium data and suspend many matchmakers in the queue
Volume data sends into encoder;By the multi-medium data coded by the encoder after pause according to default lattice
Formula preserves into multimedia file;And again to the multi-medium data in the encoder conveying queue
Mode as before, will not be described in detail herein.
Used as a kind of preferred embodiment, the preservation system is also possible to receive halt instruction.Specifically, when
User clicks on stop button or the preservation system monitoring closes on when completely depositing to the memory space for being preserved,
Then the preservation system receives halt instruction.Now, step such as Fig. 2 performed by the preservation system
It is shown.
The preservation system stops performing step S1.
Specifically, the preservation system stops continuing to obtain and delaying from camera head based on the halt instruction
New multi-medium data is deposited, and continues executing with step S2, by the remaining multi-medium data in the queue
Feeding encoder is encoded, until the queue is cleared.
After the preservation system is encoded all remaining multi-medium datas using the encoder, will
Coded multi-medium data preserves into multimedia file according to preset format.
In this way, the preservation system preserves hereof acquired all multi-medium datas.It is so real
The purpose for all being preserved all multi-medium datas before receiving halt instruction is showed.
As shown in figure 3, the present invention provides a kind of system for preserving multi-medium data segmentation.The preservation
System is arranged in computer equipment.Wherein, the computer equipment is included but is not limited to:Streaming Media takes
Business device, video monitoring center etc..The preservation system 1 includes:Acquisition module 11, output module 12,
Segmentation preserving module 13.
The acquisition module 11 is used to obtain multi-medium data and be buffered in pre-assigned queue.Its
In, the multi-medium data includes but is not limited to following at least one:Voice data, video data.Institute
It can be uncompressed data flow to state multi-medium data.When the multi-medium data comprising voice data and
During video data, be stored in for the voice data obtained from voice data circuit default by the acquisition module 11
Be exclusively used in deposit voice data queue in.Equally, the acquisition module 11 will be from video data circuit
The video data of acquisition is stored in the default queue for being exclusively used in and deposit video data.Each queue
Big I is redefined for fixed value.The fixed value should be greater than the buffer memory capacity of encoder.
Here, the acquisition module 11 can the multi-medium data that is provided of direct access camera head, and
Since multi-medium data is got, total amount or downloading duration to acquired multi-medium data are carried out
Monitoring.
The output module 12 is used to be encoded the multi-medium data feeding encoder in the queue.
Specifically, when the output module 12 gets multi-medium data, execution data are started the cycle over
Transmission thread, by the multi-medium data feeding encoder in the queue.
When the multi-medium data is voice data, the output module 12 starts encoder simultaneously directly
Multi-medium data is delivered to the encoder.
When the multi-medium data is video data, the output module 12 sends to encoder and includes
The instruction of synchronization frame treatment, and multi-medium data is delivered to the encoder.In this way, the encoder
Using the first acquired frame multi-medium data as synchronization frame, and proceed by coding.
The multi-medium data that the segmentation preserving module 13 is used for after coding is monitored meets default guarantor
When depositing condition, continue to obtain multi-medium data and suspend to send into the multi-medium data in the queue to compile
Code device;Multi-medium data coded by the encoder after pause is preserved into many matchmakers according to preset format
Body file, conveys the multi-medium data in the queue to the encoder again.
Wherein, the preservation condition is included but is not limited to:The correspondence multimedia data type to be preserved
Total amount reaches predetermined number threshold value.For example, the multimedia number after the segmentation cumulative encoder of preserving module 13
According to total amount.If segmentation preserving module 13 multimedia data type to be preserved is single audio frequency class
Type, then the preservation condition is that the total amount of the voice data after coding reaches and default preserves amount threshold.Again
Such as, the total amount of the multi-medium data after the segmentation cumulative encoder of preserving module 13.If the segmentation is preserved
The multimedia data type to be preserved of module 13 is Voice & Video type, then the preservation condition is volume
The total amount of voice data and video data after code reaches default preservation amount threshold.
When the segmentation preserving module 13 meets default preservation condition, continuation acquisition multi-medium data,
And suspend the multi-medium data feeding encoder in the queue;Encoder is waited to delay its own simultaneously
Multi-medium data in depositing is encoded, and by coding after each multi-medium data according to preset format preserve
Into multimedia file, then again to the multi-medium data in the encoder conveying queue.
Specifically, when the segmentation preserving module 13 according to default preservation condition every fixed duration,
Or every glue file size to received data stream be segmented when preserving, not pause is received to image and filled
Put transmitted multi-medium data.The segmentation preserving module 13 continues to protect acquired multi-medium data
It is stored in respective queue, while pause exports multi-medium data from the queue.At the same time, it is described
Output module 12 is indicated to indicate the encoder to continue its own multi-medium data coding in caching is complete
Into, and by all multi-medium datas of the encoder coding after pause with default form and naming rule
It is stored under default file.
Here, the form is included but is not limited to:Rmvb forms, mp4 forms etc..The naming rule
Including but not limited to:It is named according to current time, is named according to default coded sequence.
When the segmentation preserving module 13 completes to preserve operation, output module 12 is indicated again to described
Encoder conveys the multi-medium data in the queue.
Specifically, multi-medium data is transported to the volume by the segmentation preserving module 13 from queue again
Code device.If what the segmentation preserving module 13 was preserved is voice data, directly that the voice data is defeated
To the encoder.If it is described segmentation preserving module 13 to be preserved comprising video data, it is again defeated
When sending multi-medium data, the encoder that can manage it sends synchronization frame instruction.In this way, the encoder will weight
The new multi-medium data for obtaining is used as synchronization frame.In this way, not only data will not be lost because preserving interval,
More because of the video data Non-alignment Frame for being conveyed to encoder again, and the former seconds situations of flower screen will not be caused.
Interchangeable, the segmentation preserving module 13 can also continue to obtain when preservation instruction is received
Take multi-medium data and suspend and the multi-medium data in the queue is sent into encoder;After suspending
Multi-medium data coded by the encoder preserves into multimedia file according to preset format, again to institute
State the multi-medium data during encoder conveys the queue.
For example, technical staff needs individually to preserve current multimedia data, then by operating computer equipment
In human-computer interaction device (such as keyboard, mouse, touch screen) to it is described segmentation preserving module 13 send guarantor
Instruction is deposited, then the segmentation preserving module 13 continues to obtain multi-medium data and suspend in the queue
Multi-medium data feeding encoder;Encoder is waited to enter its own multi-medium data in caching simultaneously
Row coding, and by coding after each multi-medium data preserve into multimedia file according to preset format;Refer to again
Show that output module 12 conveys the multi-medium data in the queue to the encoder again.
Here, the segmentation preserving module 13 continues to obtain multi-medium data and suspend the queue
In multi-medium data feeding encoder;Multi-medium data coded by the encoder after pause is pressed
Multimedia file is preserved into according to preset format;And indicate output module 12 to be conveyed to the encoder again
The mode of the multi-medium data in the queue as before, will not be described in detail herein.
Used as a kind of preferred embodiment, the acquisition module 11 is also possible to receive halt instruction.Specifically,
When user clicks on stop button, the acquisition module 11 gets halt instruction.Or, when described point
Section preserving module 13 monitors that preserved memory space is closed on when completely depositing, and the acquisition module 11 is received
To halt instruction.
The acquisition module 11 is used to stop continuing to obtain new multi-medium data based on the halt instruction.
Specifically, the acquisition module 11 is based on halt instruction stopping from camera head continuation acquisition
And new multi-medium data is cached, the output module 12 is continued executing with, by the residue in the queue
Multi-medium data feeding encoder is encoded, until the queue is cleared.
When the segmentation preserving module 13 is compiled all remaining multi-medium datas using the encoder
After code, coded multi-medium data is preserved into multimedia file according to preset format.
In this way, the preservation system 1 preserves hereof acquired all multi-medium datas.So
Realize the purpose for all being preserved all multi-medium datas before receiving halt instruction.
It is noted that each module involved in present embodiment and unit be logic module and
Logic unit, in actual applications, a logic unit can be a physical location, or one
A part for individual physical location, can also be realized with the combination of multiple physical locations.Additionally, for protrusion
Innovative part of the invention, not by the technical problem proposed by the invention with solution in present embodiment
The less close unit of relation is introduced, but this is not intended that in present embodiment do not exist other units.
It will be understood by those skilled in the art that the respective embodiments described above be realize it is of the invention specific
Embodiment, and in actual applications, can to it, various changes can be made in the form and details, without inclined
From the spirit and scope of the present invention.
Claims (12)
1. it is a kind of that multi-medium data is segmented the method for preserving, it is characterised in that to include:
Obtain multi-medium data and be buffered in pre-assigned queue;
Multi-medium data feeding encoder in the queue is encoded;
When the multi-medium data after coding meets default preservation condition or receives preservation instruction, after
It is continuous to obtain multi-medium data and suspend the multi-medium data feeding encoder in the queue;Will pause
The multi-medium data coded by the encoder preserves into multimedia file according to preset format afterwards;
Convey the multi-medium data in the queue to the encoder again again.
It is 2. according to claim 1 that multi-medium data is segmented the method for preserving, it is characterised in that
When halt instruction is received, also include:
Stop performing the step for obtaining multi-medium data and being buffered in pre-assigned queue;
Remaining multi-medium data feeding encoder in the queue is encoded, until the queue is clear
It is empty;
After the encoder is encoded all remaining multi-medium datas, by coded multimedia number
Multimedia file is preserved into according to according to preset format.
It is 3. according to claim 1 that multi-medium data is segmented the method for preserving, it is characterised in that
When the multi-medium data includes:When voice data and video data, the acquisition multi-medium data is simultaneously
The mode being buffered in pre-assigned queue includes:
Acquired voice data and video data are buffered in different queues respectively.
It is 4. according to claim 1 that multi-medium data is segmented the method for preserving, it is characterised in that
When the multi-medium data includes:It is described again in the encoder conveying queue during video data
The mode of multi-medium data includes:
Synchronization frame is sent to the encoder to instruct, and the multi-medium data in the queue is sent into coding
Device is encoded.
It is 5. according to claim 1 that multi-medium data is segmented the method for preserving, it is characterised in that
The preservation condition is included:The total amount of the correspondence multimedia data type to be preserved reaches predetermined number threshold
Value.
It is 6. according to claim 5 that multi-medium data is segmented the method for preserving, it is characterised in that
When the multi-medium data includes:When voice data and video data, by the encoder institute after pause
The multi-medium data of coding includes according to the mode that preset format preserves into multimedia file:
According to the default multimedia data type to be preserved in the preservation condition, by respective type
, multi-medium data after pause coded by the encoder, preserve into multimedia according to preset format
File.
7. it is a kind of that multi-medium data is segmented the system for preserving, it is characterised in that to include:
Acquisition module, for obtaining multi-medium data and being buffered in pre-assigned queue;
Output module, for the multi-medium data feeding encoder in the queue to be encoded;
Segmentation preserving module, meets default preservation condition or connects for multi-medium data after encoding
When receiving preservation instruction, continue to obtain multi-medium data and suspend the multi-medium data in the queue
Feeding encoder;Multi-medium data coded by the encoder after pause is preserved according to preset format
Into multimedia file;The output module is re-executed, with the encoder conveying queue
Multi-medium data.
It is 8. according to claim 7 that multi-medium data is segmented the system for preserving, it is characterised in that
The acquisition module is additionally operable to, when halt instruction is received, stop performing the acquisition module;
The output module is additionally operable to carry out the remaining multi-medium data feeding encoder in the queue
Coding, until the queue is emptied;
The segmentation preserving module is additionally operable to be compiled all remaining multi-medium datas in the encoder
After code, coded multi-medium data is preserved into multimedia file according to preset format.
It is 9. according to claim 7 that multi-medium data is segmented the system for preserving, it is characterised in that
When the multi-medium data includes:When voice data and video data, the acquisition module is used for institute
The voice data and video data of acquisition are buffered in different queues respectively.
It is 10. according to claim 7 that multi-medium data is segmented the system for preserving, it is characterised in that
When the multi-medium data includes:During video data, the output module is additionally operable to again to encoder
When conveying the multi-medium data in the queue, send synchronization frame to the encoder and instruct, and will be described
Multi-medium data feeding encoder in queue is encoded.
11. systems for preserving multi-medium data segmentation according to claim 7, it is characterised in that
The preservation condition is included:The total amount of the correspondence multimedia data type to be preserved reaches predetermined number threshold
Value.
12. systems for preserving multi-medium data segmentation according to claim 11, its feature exists
In when the multi-medium data includes:When voice data and video data, the segmentation preserving module
For according to the default multimedia data type to be preserved in the preservation condition, by respective type
, multi-medium data after pause coded by the encoder, preserve into multimedia according to preset format
File.
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 true CN106899880A (en) | 2017-06-27 |
CN106899880B 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) |
Cited By (2)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
US11114133B2 (en) | 2018-08-01 | 2021-09-07 | Beijing Microlive Vision Technology Co., Ltd. | Video recording method and device |
CN113766160A (en) * | 2020-04-24 | 2021-12-07 | 华为技术有限公司 | Video processing method and device |
Citations (6)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN102098423A (en) * | 2009-12-10 | 2011-06-15 | 北大方正集团有限公司 | Seamless file collection method and system |
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 |
-
2015
- 2015-12-19 CN CN201510962962.XA patent/CN106899880B/en active Active
Patent Citations (6)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN102098423A (en) * | 2009-12-10 | 2011-06-15 | 北大方正集团有限公司 | Seamless file collection method and system |
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 |
Cited By (2)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
US11114133B2 (en) | 2018-08-01 | 2021-09-07 | Beijing Microlive Vision Technology Co., Ltd. | Video recording method and device |
CN113766160A (en) * | 2020-04-24 | 2021-12-07 | 华为技术有限公司 | Video processing method and device |
Also Published As
Publication number | Publication date |
---|---|
CN106899880B (en) | 2020-02-18 |
Similar Documents
Publication | Publication Date | Title |
---|---|---|
CN107223316B (en) | System and method for supporting selective backtracking data recording | |
US10212440B2 (en) | Virtual frame buffer system and method | |
CN110636346B (en) | Code rate self-adaptive switching method and device, electronic equipment and storage medium | |
CN109076025B (en) | Method and apparatus for managing data removal | |
US20150036695A1 (en) | Real time network adaptive low latency transport stream muxing of audio/video streams for miracast | |
CN1125491A (en) | Video peripheral for a computer | |
CN104837052A (en) | Playing method of multimedia data and device | |
CN104869461A (en) | Video data processing system and method | |
CN104850456A (en) | Multi-process decoding method and multi-process decoding system | |
CN114640886B (en) | Self-adaptive bandwidth audio/video transmission method, device, computer equipment and medium | |
CN101340590B (en) | Multiplex apparatus and multiplex method | |
CN110446062A (en) | Receiving handling method, electronic device and the storage medium of large data files transmission | |
JP2011029936A (en) | File transfer system and file transfer method | |
CN112637144B (en) | Apparatus and method for transmitting information related to media data according to MMT protocol | |
CN106899880A (en) | The method and system that multi-medium data segmentation is preserved | |
CN102098423B (en) | Seamless file collection method and system | |
US20150201253A1 (en) | Methods and apparatus for universal presentation timeline alignment | |
CN107911729A (en) | Internet video playback method and terminal | |
CN106494466B (en) | The data apparatus for changing and its data costume changing method of train operation monitoring | |
CN112543374A (en) | Transcoding control method and device and electronic equipment | |
CN202210851U (en) | Control device for standard-definition/ high-definition audio video coder and decoder | |
US10728161B2 (en) | Method and apparatus for transmitting and receiving packet in communication system | |
CN105187688A (en) | Method and system for carrying out synchronization on real-time video and audio collected by mobile phone | |
CN112911390B (en) | Video data playing method and terminal equipment | |
KR101231009B1 (en) | Network video server and video control method thereof |
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 |
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 |
|
EE01 | Entry into force of recordation of patent licensing contract | ||
GR01 | Patent grant | ||
GR01 | Patent grant |