CN103686312A - DVR multipath audio and video recording method - Google Patents

DVR multipath audio and video recording method Download PDF

Info

Publication number
CN103686312A
CN103686312A CN201310654102.0A CN201310654102A CN103686312A CN 103686312 A CN103686312 A CN 103686312A CN 201310654102 A CN201310654102 A CN 201310654102A CN 103686312 A CN103686312 A CN 103686312A
Authority
CN
China
Prior art keywords
data
video
audio
compression
frame
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
Application number
CN201310654102.0A
Other languages
Chinese (zh)
Other versions
CN103686312B (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.)
China Aeronautical Radio Electronics Research Institute
Original Assignee
China Aeronautical Radio Electronics Research Institute
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 China Aeronautical Radio Electronics Research Institute filed Critical China Aeronautical Radio Electronics Research Institute
Priority to CN201310654102.0A priority Critical patent/CN103686312B/en
Publication of CN103686312A publication Critical patent/CN103686312A/en
Application granted granted Critical
Publication of CN103686312B publication Critical patent/CN103686312B/en
Active legal-status Critical Current
Anticipated expiration legal-status Critical

Links

Images

Landscapes

  • Signal Processing For Digital Recording And Reproducing (AREA)
  • Television Signal Processing For Recording (AREA)

Abstract

The invention discloses a DVR multipath audio and video recording method. The method comprises the steps of collecting and buffering all the input audio data sections to an audio data buffer area, collecting and compressing a part of input video frame compression data into a video data buffer area, periodically checking whether data exist in the buffer areas in a timing mode, and reading the data of the buffer areas to a storage card. The method is quite suitable of application of DVR multipath audio and video record large in video frame rate fluctuation range, is wide in frame rate fluctuation range, and can reach 80% in fluctuation range, namely, video still can maintain a good time synchronous effect when being changed into 6frames/second from original preset 30frames/second in frame rate.

Description

The recording method of a kind of DVR multichannel audio-video frequency
Technical field:
The invention belongs to multimedia information field.
Background technology:
Along with the development of solid state storage technologies and video compression technology, DVR equipment is replaced by digital recording mode by the video-with-audio recording mode of traditional magnetic tape type, is having significant raising aspect the adaptability of volume, weight and environment.The video data of the voice data that digital DVR recorded data is mainly Yi Zhi bis-tunnels, multichannel (normally more than three tunnels).Its operation principle is roughly: the audio-video signal to input gathers, compresses after processing, by primary control program, data is carried out to specified file locally buffered and on solid-state memory and writes.As shown in Figure 1, it is comprised of more than one or one audio frequency and video compression module, a control and management module and solid-state large-capacity FLASH memory disc the main processing structure of airborne digital DVR.As shown in Figure 2, on audio frequency and video compression module, comprise a plurality of compression processing unit, each compression processing unit has a road video acquisition interface circuit, compression processor, local exterior's memory and external bus interface, the function with collection, compression, buffering and the transmission of a road video data, some compression processing unit also have audio collection interface, have the function of audio data collecting and buffering concurrently; As shown in Figure 3, control and management module is mainly comprised of general processor, chip external memory, bus interface (as CPCI etc.), storing card data interface.Control and management module is carried out data interaction by bus interface and each compression processing unit in compression processing module, employing arrange compression enabler flags mode control compression processing unit work, read voice data and compressed video frame data in compression processing unit, these data are added to the queue of storage cache management, and by storage administration process, the audio, video data in cache management queue is write to solid-state memory.
The data processing of DVR is mainly controlled process and three subprocess of data storage process of storage card is formed by the compression process of compression processing unit, data access in control and management module.Because video compression data exists the correlation of data between the condensed frame of front and back, therefore require the frame data after compression is processed arbitrarily not abandon, should be stored completely, to keep the video quality of broadcast decoder, this is the basic demand of DVR videograph.In the ideal case, compression process can be by the fixedly frame per second compressed video data of its setting, and these data all can obtain the timely processing that data access is controlled process, and write in time storage card by data storage process, can not cause delay or the loss of data.In this case, as long as realize player by the timely playback of setting frame per second, just can not produce the problem of the Time Inconsistency between each road audio frequency and video.But this ideal situation can not meet often, reality situation be, between above-mentioned three processing procedures, influence each other, cause the fluctuation of physical record video frame rate.First, in the compression process of video, the time that compression is processed is depended on the complexity of current video image, for the simple image of content, the time that compression is processed is shorter, the data volume producing is also less, and for picture frame complicated or sudden change, the time that compression is processed can extend, the data volume producing is also larger, if continue the high complexity map picture of compression, may cause the reduction of compression processing unit actual compression frame per second, may produce lower than the compression frame per second of setting frame per second; Secondly, the master processor processes ability of controlled administration module and the restriction of interface transmission rate, packed data in compression processing unit differs and is read in time surely, cause and process time delay interval lengthening, cause and control lower compression processing unit according to compressing than setting the slower actual frame per second of frame per second; Again, also may there is bottleneck problem in data writing disk manipulation, a large amount of packed datas for burst may not write storage card completely within the time of estimating, cause data buffer zone to use up, cause system congestion, can not from compression processing unit, obtain new data again, and then cause the data compression process unit compression frame per second that slows down, to adjust, adapt to current memory bandwidth.The impact that the situation of above-mentioned generation causes for each compression processing unit is independently in degree, be that they compare the data frame per second of generation variation with ideal situation is inconsistent, and inconsistent degree also respectively has difference, add up Jiu Zaoge road video compression frame number and produce deviation, and the degree Dui Ge road video of deviation is all inconsistent, in the time of many, this difference can reach the frame of video quantity of several minutes, if do not take suitable synchronisation measures, serious asynchrony phenomenon in the time of will causing multi-channel video to play on time of origin, audio, video data is mutual dislocation in time, mapping mutually, have a strong impact on the effective utilization of DVR record data.
Existing audio video transmission standard, as the TS data flow of MPEG-2 and PS stream, and Foreign Military standard IR IG106, all by the stamp of additional period on audio, video data mark, indicate corresponding player according to the time interval of its appointment audio, video data of sequentially decoding, reach the effect of audio-visual synchronization, these mechanism all can be adopted in DVR and other have the application of video-with-audio recording function, but the enforcement of these mechanism, be all the synchronous acquisition of realizing audio frequency and video be basis, the method of audio, video data synchronous acquisition is different, depend on application level, the factors such as application conditions.The video recording broadcast system of private-use class, owing to having adopted clock integrated design, and the dedicated treatment facility that matches with video formats, has guaranteed the synchronism of internal data acquisition process, focuses on the time synchronizing relation between single channel video and multichannel track.
Yet the DVR application product of amateur grade for airborne multichannel audio-video frequency, is subject to the restriction of the application conditions such as power consumption, volume and weight of equipment, should not adopt too complicated hardware to realize.The processing multi-channel video that it is faced, in the sequential of input signal, be not subject to the control of DVR, by different video input apparatus, produced respectively, independently each other, inevitably exist the deviation in sequential to each other, and these deviations are because DVR processing procedure constantly changes again the impact of frame per second fluctuation, if Dui Mei road video adopts independently timestamp information separately, it is very difficult in the process that pursuit is put in recorded broadcast, strictly reducing these video sequential, require the processor in DVR editing equipment management module clock function service function must be provided or have a considerable amount of timer functions, these are generally all difficult to meet for common flush bonding processor, because the processor of most of control and management modules lacks clock function service, and the quantity of its timer is also no more than three, moreover these resources can not be distributed to video acquisition completely and process use.In addition, in the process of playing, due to the restriction of video playback ground station to the read-write speed of disk video file data and order read-write, be also difficult to realize decoding when carrying out multi-channel video in strict accordance with each road independence multiple timings timestamp and show.
Summary of the invention
The defect existing for prior art, goal of the invention of the present invention is to provide the recording method of a kind of DVR multichannel audio-video frequency, be applicable to the disposal ability of airborne equipment hardware and ground playback process equipment multichannel audio-video frequency synchronous data sampling method less demanding, applied widely, the processing of ShiDVRGe road audio, video data is harmonious in time, thereby the joining day is stabbed mark easily, generate follow-up audio and video data streams, the record data that generation can be play for the many audio video synchronization of Multi-audio-frequency, the practical value of assurance DVR record data.
Goal of the invention of the present invention is achieved through the following technical solutions:
The recording method of DVR multichannel audio-video frequency, comprises:
1), audio compression processing procedure collection and cushion the voice data of all inputs to the audio data buffer of compression processing unit;
2), Video compression process is subject to data access control process to control the video frame compression data of collection and compression section input to the video data buffer of compression processing unit;
3), data access is controlled process and is checked according to timing cycle whether the video data buffer of each compression processing unit has the video frame compression data of having compressed, if had, the video frame compression data that read the compression processing unit of having compressed are loaded into the cushion space of control and management module and stamp time mark, if there is voice data in compression processing unit, the voice data that continues to read is above loaded into cushion space;
4), storage card reads video frame compression data according to data storage process and voice data is stored from cushion space.
According to above-mentioned feature, described audio compression processing procedure is:
1.1), for the compression processing unit that is configured to have a road voice data processing capacity, need initialization audio data buffer, it is double-damping structure that audio data buffer is set, and each buffering area has the storage needed space of voice data at least 1 second;
The time span of audio frame is set, and voice data gathers with the form of audio frame;
An audio data buffer is set to the buffering area of current collection voice data;
It is 0 that voice data length field initial value is set;
The status register bit s_S of audio data buffer is designated as to non-outside reading state;
1.2) if status register bit s_S is non-outside reading state, the voice data gathering when former frame is buffered to audio data buffer, the length of accumulative total voice data, if data access is controlled, process is also following reads the voice data in audio data buffer, the length that continues to gather next frame voice data and continue accumulative total voice data;
1.3) when, data access control process reads the audio data section of audio data buffer, first read address, current audio data buffer, and the length of voice data, and status register bit s_S is designated as to outside reading state, then read the voice data in buffering area;
1.4) if check that status register bit s_S is outside reading state, audio compression processing procedure another audio data buffer is set to current buffering area, voice data length is set to 0, and status register bit s_S is designated as to non-outside reading state;
1.5), repeat 1.2)-1.4).
According to above-mentioned feature, described Video compression process is:
2.1), video data buffer is set is double-damping structure, the length of each buffering area can be deposited the video data after a frame compression, in initialization procedure, one of them buffering area is set to current video data buffering area;
It is 0 that video data length field is set;
The status register bit v_S of video data buffer is designated as to non-outside reading state;
The video data compression gathering when former frame arrives video data buffer, and video data length field records the length of this video requency frame data;
2.2), if status register bit v_S is non-outside reading state, wait for the video frame compression data of data access control process reading video data buffering area;
2.3), when data access is controlled the video frame compression data of process reading video data buffering area, the status register bit v_S of video data buffer is designated as to outside reading state;
2.4) if status register bit v_S is outside reading state, another screen buffer of Video compression process is set to current compressed video buffering area, status register bit s_S is designated as to non-outside reading state, the video data compression gathering when former frame arrives video data buffer, and video data length field records the length of this video requency frame data;
2.5), repeat 2.2)-2.4).
According to above-mentioned feature, in described data access control process, comprise interrupt service routine, select in the compression frame per second of each video in all compression processing unit, select frame per second to require the time interval of maximum frame per second representative as timing cycle, interrupt signal when starting, each timing cycle is provided, and add fixed time interval on current timestamp, as interrupt service routine next time start-up time.
According to above-mentioned feature, described data access control process is:
3.1) according to timing cycle log-on data access control process, carry out the data access of compression processing unit
3.2), check whether current compression processing unit sound intermediate frequency data buffer zone, video data buffer have data;
3.3), if had, read the voice data length field of voice data, the length field of video frame compression data, and judge that whether the cushion space in control and management module is enough;
3.4) if had, the time that current timing cycle is started as the relevant position of timestamp data writing head, the length of video frame compression data is write to the relevant position of data head, the video frame compression data in reading video data buffering area are to cushion space; The length of voice data is write to the relevant position of data head, read voice data in audio data buffer to cushion space;
3.5) inquire about successively each compression processing unit, carry out 3.2)-3.4);
3.6) end interrupt signal, waits for that the data access of a new round is controlled process initiation.
According to above-mentioned feature, described data storage process is:
4.1) create and open audio file, video file;
4.2), whether inquiry cushion space has voice data, video data;
4.3), if there is video data, video frame compression data and data head information are write to video file; If there is voice data, audio data section and data head information are write to audio file;
4.4) buffer release space;
4.5) if the device shutdown interrupt signal of closing device detected, close audio file, video file; Otherwise repeat 4.2)-4.4).
Compared with prior art, the present invention adopts in this way, can be with minimum CPU operating cost and resource requirement, realize the synchronous recording of DVR multichannel audio-video frequency data, and the synchronization delay error of Shi Ge road video remained within the scope of the time interval of twi-read, also be convenient to realize synchronous decoding and the broadcasting of multichannel audio-video frequency, make user's subjective sensation not go out the wherein existence of free synchronous error simultaneously.
The present invention is highly suitable for the application of the larger DVR multichannel audio-video frequency record of video frame rate fluctuation range, the fluctuation range of its frame per second is wider, can reach 80%, the video that was 30 frame/seconds in former setting frame per second, when frame per second became for 6 frame/second, still can keep good time synchronized effect.
Accompanying drawing explanation
Fig. 1 is the main processing structural representation of airborne digital DVR;
Fig. 2 is the structural representation of audio frequency and video compression module;
Fig. 3 is the structural representation of control and management module;
Fig. 4 compresses processing module handling process schematic diagram;
The data access of Fig. 5 master control administration module is controlled process schematic flow sheet;
Fig. 6 is storing card data storage process schematic flow sheet.
Embodiment
Below in conjunction with accompanying drawing, the present invention being made to a step describes in detail, the present invention is based on the visual persistence effect of human eye, it is the time smoothing characteristic that human eye vision itself possesses, the concept in the moment that the frame of video of original video time stamp representative is occurred, expand the concept that goes out residing timeslice in short-term now for frame of video, with a timestamp, represent a timeslice, the length of timeslice is the time interval between two two field pictures, i.e. retentivity time of eye.For occurring Ge road frame of video in same timeslice, give identical timestamp.The present invention only need to use a timer resource, just can realize time management and the control of audio-video collection compression and data read process, reaches the object of the time synchronized between multichannel audio-video frequency data.Its main contents comprise:
A) processing of voice data;
B) processing of compressed video data;
C) based on cycle data access regularly, control process.
A) processing of voice data
Voice data gathers with the form of audio frame, and the time span of each audio frame is 20ms left and right, also can set according to actual situation.Owing to there is no the correlation of data content between audio frame and frame, if lose frame data wherein, will cause the disappearance of voice data content.Therefore, DVR must gather and record the voice data of all inputs.For achieving the above object, requirement on the memory of compression processing unit for it configures enough spatial caches, adopt double-damping structure, each buffering area at least can be more than buffer memory 1s voice data, can, when primary control program reads the voice data of one of them buffering area, with another buffering area, guarantee that the collection of voice data and buffering are not interrupted like this.Like this, even if primary control program is accessed the time interval of this compression processing unit, there is large variation, also can guarantee the integrality of voice data.
Handling process is audio collection buffering component as shown in Figure 4:
1.1), for the compression processing unit that is configured to have a road voice data processing capacity, need initialization audio data buffer, it is double-damping structure that audio data buffer is set, and each buffering area has the storage needed space of voice data at least 1 second;
The time span of audio frame is set, and voice data gathers with the form of audio frame;
An audio data buffer is set to the buffering area of current collection voice data;
It is 0 that voice data length field initial value is set;
The status register bit s_S of audio data buffer is designated as to non-outside reading state;
1.2) if status register bit s_S is non-outside reading state, the voice data gathering when former frame is buffered to audio data buffer, the length of accumulative total voice data, if data access is controlled, process is also following reads the voice data in audio data buffer, the length that continues to gather next frame voice data and continue accumulative total voice data;
1.3) when, data access control process reads the audio data section of audio data buffer, first read address, current audio data buffer, and the length of voice data, and status register bit s_S is designated as to outside reading state, then read the voice data in buffering area;
1.4) if check that status register bit s_S is outside reading state, audio compression processing procedure another audio data buffer is set to current buffering area, voice data length is set to 0, and status register bit s_S is designated as to non-outside reading state;
1.5), repeat 1.2)-1.4).
Because adopting the strict time cycle, voice data gathers, and can obtain complete maintenance, therefore possessed good time reference, in order to keep its such characteristic, simultaneously independent mutually with current compressed video again, so this method does not advise that voice data is carried out to further compression to be processed.This mode is little on total memory space and data bandwidth impact.
Select a road audio frequency as relative time reference.The initial time that the initial time of Yong Gai road audio frequency records as this DVR, and be associated with the system external clock of DVR equipment.
B) processing of compressed video data
Because the system clock information of DVR is arranged in control and management module, not free information in compression processing unit, therefore, for guaranteeing the not problem of life period and time interval aspect of video compression data in compression processing unit, require the compressing image data of each compression processing unit buffer memory one frame.Access control process on the controlled administration module of compression process is controlled, this program arranges compression enable flag position after having read current packed data, the video data of the condition lower compression next frame that compression processing unit enables in compact token position, and flag has been set, and then can send condensed frame settling signal to control and management module.This mechanism can make the access control process of control and management module carry out dynamic adjustments to current data traffic, the mode of this adjusting is actually that the mode of frame realizes by initiatively falling, owing to there being very large content relevance in video image between successive frame, therefore suitably fall the imperfect problem that frame can not produce video content, such processing is appropriate.
Concrete handling process is video acquisition buffering component as shown in Figure 4:
2.1), video data buffer is set is double-damping structure, the length of each buffering area can be deposited the video data after a frame compression, in initialization procedure, one of them buffering area is set to current video data buffering area;
It is 0 that video data length field is set;
The status register bit v_S of video data buffer is designated as to non-outside reading state;
The video data compression gathering when former frame arrives video data buffer, and video data length field records the length of this video requency frame data;
2.2), if status register bit v_S is non-outside reading state, wait for the video frame compression data of data access control process reading video data buffering area;
2.3), when data access is controlled the video frame compression data of process reading video data buffering area, the status register bit v_S of video data buffer is designated as to outside reading state;
2.4) if status register bit v_S is outside reading state, another screen buffer of Video compression process is set to current compressed video buffering area, status register bit s_S is designated as to non-outside reading state, the video data compression gathering when former frame arrives video data buffer, and video data length field records the length of this video requency frame data;
2.5), repeat 2.2)-2.4).
C) based on cycle data access regularly, control process
This process comprises the following aspects:
C1) timing cycle determines
In the compression frame per second of all videos, select frame per second to require the time interval of maximum frame per second representative as adopted timing cycle.For example, in the requirement of DVR, have the video compression frame per second of 30 frame/seconds, also have the video compression frame per second of 25 frame/seconds simultaneously, select 30 times/second of maximum wherein as timing cycle, its cycle is spaced apart a thirtieth second.Can adopt the mode that cycle timer is set, its interrupt service routine is had no progeny at every turn in receiving this, in current time stamp data, add this time interval, as the timestamp of next video data, and initiated access control process is carried out the data access of the Video compression unit of a new round;
C2) access of video compression data
In initiated access control process, carry out after the data access of Video compression unit of a new round, whether data access control process can adopt the mode of active inquiry or passive receive to obtain each Video compression unit the video requency frame data having compressed, and check current enough video data cushion spaces that whether has, if condition meets, read the video requency frame data of certain Video compression unit, by the video requency frame data reading during this period, and give current timestamp information.It is emphasized that, the video compression data access process that each is taken turns, and do not require that all Video compression unit of wait all complete compression, just read in the data in the Video compression unit that completes compression occurring in this timing cycle time slice interval phase, and the audio, video data part of control and management module accesses compression processing unit in Fig. 5.
C3) access of audio collection data
Access control process reads after the packed data of certain Video compression unit in access, if there is audio data collecting function on this unit, continues to read voice data above.After speech data reads, do not use current timestamp information to carry out time mark, but directly by the length of speech data, judge the time span of current this section of speech data, by this length information of accumulative total, determine the relative moment of current speech data.
Complete access process flow process illustrates process as shown in Figure 5:
3.1) according to timing cycle log-on data access control process, carry out the data access of compression processing unit
3.2), check whether current compression processing unit sound intermediate frequency data buffer zone, video data buffer have data;
3.3), if had, read the voice data length field of voice data, the length field of video frame compression data, and judge that whether the cushion space in control and management module is enough;
3.4) if had, the time that current timing cycle is started as the relevant position of timestamp data writing head, the length of video frame compression data is write to the relevant position of data head, the video frame compression data in reading video data buffering area are to cushion space; The length of voice data is write to the relevant position of data head, read voice data in audio data buffer to cushion space;
3.5) inquire about successively each compression processing unit, carry out 3.2)-3.4);
3.6) end interrupt signal, waits for that the data access of a new round is controlled process initiation.
Storage card storage audio, video data flow process signal process as shown in Figure 5
4.1) create and open audio file, video file;
4.2), whether inquiry cushion space has voice data, video data;
4.3), if there is video data, video frame compression data and data head information are write to video file; If there is voice data, audio data section and data head information are write to audio file;
4.4) buffer release space;
4.5) if the device shutdown interrupt signal of closing device detected, close audio file, video file; Otherwise repeat 4.2)-4.4).
The above is only preferably execution mode of the present invention, the way of example based in the present invention, and those of ordinary skills, not making all other embodiment that obtain under creative work prerequisite, all belong to protection scope of the present invention.

Claims (6)

1. a DVR multichannel audio-video frequency recording method, comprises:
1), audio compression processing procedure collection and cushion the voice data of all inputs to the audio data buffer of compression processing unit;
2), Video compression process is subject to data access control process to control the video frame compression data of collection and compression section input to the video data buffer of compression processing unit;
3), data access is controlled process and is checked according to timing cycle whether the video data buffer of each compression processing unit has the video frame compression data of having compressed, if had, the video frame compression data that read the compression processing unit of having compressed download to the cushion space of control and management module and stamp time mark, if there is voice data in compression processing unit, continue to read audio data download above to the cushion space of control and management module;
4), storage card reads video frame compression data according to data storage process and voice data is stored from cushion space.
2. a kind of DVR multichannel audio-video frequency according to claim 1 recording method, is characterized in that described audio compression processing procedure is:
1.1), for the compression processing unit that is configured to have a road voice data processing capacity, need initialization audio data buffer, it is double-damping structure that audio data buffer is set, and each buffering area has the storage needed space of voice data at least 1 second;
The time span of audio frame is set, and voice data gathers with the form of audio frame;
An audio data buffer is set to the buffering area of current collection voice data;
It is 0 that voice data length field initial value is set;
The status register bit s_S of audio data buffer is designated as to non-outside reading state;
1.2) if status register bit s_S is non-outside reading state, the voice data gathering when former frame is buffered to audio data buffer, the length of accumulative total voice data, if data access is controlled, process is also following reads the voice data in audio data buffer, the length that continues to gather next frame voice data and continue accumulative total voice data;
1.3) when, data access control process reads the voice data of audio data buffer, first read address, current audio data buffer, and the length of voice data, and status register bit s_S is designated as to outside reading state, then read the voice data in buffering area;
1.4) if check that status register bit s_S is outside reading state, audio compression processing procedure another audio data buffer is set to current buffering area, voice data length is set to 0, and status register bit s_S is designated as to non-outside reading state;
1.5), repeat 1.2)-1.4).
3. a kind of DVR multichannel audio-video frequency according to claim 1 recording method, is characterized in that described Video compression process is:
2.1), video data buffer is set is double-damping structure, the length of each buffering area can be deposited the video data after a frame compression, in initialization procedure, one of them buffering area is set to current video data buffering area;
It is 0 that video data length field is set;
The status register bit v_S of video data buffer is designated as to non-outside reading state;
The video data compression gathering when former frame arrives video data buffer, and video data length field records the length of this video requency frame data;
2.2), if status register bit v_S is non-outside reading state, wait for the video frame compression data of data access control process reading video data buffering area;
2.3), when data access is controlled the video frame compression data of process reading video data buffering area, the status register bit v_S of video data buffer is designated as to outside reading state;
2.4) if status register bit v_S is outside reading state, another screen buffer of Video compression process is set to current compressed video buffering area, status register bit s_S is designated as to non-outside reading state, the video data compression gathering when former frame arrives video data buffer, and video data length field records the length of this video requency frame data;
2.5), repeat 2.2)-2.4).
4. a kind of DVR multichannel audio-video frequency according to claim 1 recording method, it is characterized in that comprising interrupt service routine in described data access control process, select in the compression frame per second of each video in all compression processing unit, select frame per second to require the time interval of maximum frame per second representative as timing cycle, interrupt signal when starting, each timing cycle is provided, and add fixed time interval on current timestamp, as interrupt service routine next time start-up time.
5. according to a kind of DVR multichannel audio-video frequency recording method described in claim 1 or 4, it is characterized in that described data access control process is:
3.1) according to timing cycle log-on data access control process, carry out the data access of compression processing unit
3.2), check whether current compression processing unit sound intermediate frequency data buffer zone, video data buffer have data;
3.3), if had, read the voice data length field of voice data, the length field of video frame compression data, and judge that whether the cushion space in control and management module is enough;
3.4) if had, the time that current timing cycle is started as the relevant position of timestamp data writing head, the length of video frame compression data is write to the relevant position of data head, the video frame compression data in reading video data buffering area are to cushion space; The length of voice data is write to the relevant position of data head, read voice data in audio data buffer to cushion space;
3.5) inquire about successively each compression processing unit, carry out 3.2)-3.4);
3.6) end interrupt signal, waits for that the data access of a new round is controlled process initiation.
6. a kind of DVR multichannel audio-video frequency according to claim 1 recording method, is characterized in that described data storage process is:
4.1) create and open audio file, video file;
4.2), whether inquiry cushion space has voice data, video data;
4.3), if there is video data, video frame compression data and data head information are write to video file; If there is voice data, voice data and data head information are write to audio file;
4.4) buffer release space;
4.5) if the device shutdown interrupt signal of closing device detected, close audio file, video file; Otherwise repeat 4.2)-4.4).
CN201310654102.0A 2013-12-05 2013-12-05 DVR multipath audio and video recording method Active CN103686312B (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN201310654102.0A CN103686312B (en) 2013-12-05 2013-12-05 DVR multipath audio and video recording method

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN201310654102.0A CN103686312B (en) 2013-12-05 2013-12-05 DVR multipath audio and video recording method

Publications (2)

Publication Number Publication Date
CN103686312A true CN103686312A (en) 2014-03-26
CN103686312B CN103686312B (en) 2017-02-08

Family

ID=50322382

Family Applications (1)

Application Number Title Priority Date Filing Date
CN201310654102.0A Active CN103686312B (en) 2013-12-05 2013-12-05 DVR multipath audio and video recording method

Country Status (1)

Country Link
CN (1) CN103686312B (en)

Cited By (8)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN104954760A (en) * 2015-06-30 2015-09-30 西安中飞航空测试技术发展有限公司 Airborne general video acquisition system
CN105242882A (en) * 2015-10-13 2016-01-13 东方网力科技股份有限公司 Frame storage method and apparatus for timing data and query method and apparatus for timing data
CN105763926A (en) * 2014-12-18 2016-07-13 中兴通讯股份有限公司 Screen recording method and device
CN109600563A (en) * 2018-08-01 2019-04-09 北京微播视界科技有限公司 Method and apparatus for determining timestamp
CN110213635A (en) * 2018-04-08 2019-09-06 腾讯科技(深圳)有限公司 Video mixed flow method, video flow mixing device and storage medium
CN111512631A (en) * 2018-10-09 2020-08-07 深圳鲲云信息科技有限公司 Data processing method and related product
CN112203031A (en) * 2020-08-12 2021-01-08 深圳市豪恩汽车电子装备股份有限公司 Digital video caching system and method
CN115314731A (en) * 2022-06-23 2022-11-08 浙江大华技术股份有限公司 Video processing system, method, computer device and storage medium

Citations (9)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
US20030156822A1 (en) * 2002-02-14 2003-08-21 Um Soung Hyun Method for editing a multi-view stream in an optical disk apparatus
CN1477866A (en) * 1995-12-21 2004-02-25 索尼公司 Video data recording and reproducing device
CN101098472A (en) * 2006-06-26 2008-01-02 富士通株式会社 Encoded data transfer device and encoded data transferring method
CN101118776A (en) * 2007-08-21 2008-02-06 中国科学院计算技术研究所 Method, system and device for realizing audio and video data synchronizing
CN101246627A (en) * 2007-12-12 2008-08-20 广州市聚晖电子科技有限公司 Security signal alarm system
US20090150939A1 (en) * 2007-12-05 2009-06-11 Microsoft Corporation Spanning multiple mediums
CN101702760A (en) * 2009-10-30 2010-05-05 深圳市深视音电子技术有限公司 Integrated network hard disk video recorder
CN101931775A (en) * 2010-09-01 2010-12-29 中兴通讯股份有限公司 Video recording method and device
CN202738111U (en) * 2012-06-06 2013-02-13 孙绎成 Device enabling video monitoring apparatus to synchronously record information of mobile apparatus

Patent Citations (9)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN1477866A (en) * 1995-12-21 2004-02-25 索尼公司 Video data recording and reproducing device
US20030156822A1 (en) * 2002-02-14 2003-08-21 Um Soung Hyun Method for editing a multi-view stream in an optical disk apparatus
CN101098472A (en) * 2006-06-26 2008-01-02 富士通株式会社 Encoded data transfer device and encoded data transferring method
CN101118776A (en) * 2007-08-21 2008-02-06 中国科学院计算技术研究所 Method, system and device for realizing audio and video data synchronizing
US20090150939A1 (en) * 2007-12-05 2009-06-11 Microsoft Corporation Spanning multiple mediums
CN101246627A (en) * 2007-12-12 2008-08-20 广州市聚晖电子科技有限公司 Security signal alarm system
CN101702760A (en) * 2009-10-30 2010-05-05 深圳市深视音电子技术有限公司 Integrated network hard disk video recorder
CN101931775A (en) * 2010-09-01 2010-12-29 中兴通讯股份有限公司 Video recording method and device
CN202738111U (en) * 2012-06-06 2013-02-13 孙绎成 Device enabling video monitoring apparatus to synchronously record information of mobile apparatus

Non-Patent Citations (2)

* Cited by examiner, † Cited by third party
Title
姜露露: "多通道DVR系统的软件设计与实现", 《中国优秀硕士学位论文全文数据库 信息科技辑》 *
王钢等: "DVR系统中多路视频处理技术的研究与实现", 《杭州电子科技大学学报》 *

Cited By (11)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN105763926A (en) * 2014-12-18 2016-07-13 中兴通讯股份有限公司 Screen recording method and device
CN104954760A (en) * 2015-06-30 2015-09-30 西安中飞航空测试技术发展有限公司 Airborne general video acquisition system
CN104954760B (en) * 2015-06-30 2017-12-05 西安中飞航空测试技术发展有限公司 Airborne generic video acquisition system
CN105242882A (en) * 2015-10-13 2016-01-13 东方网力科技股份有限公司 Frame storage method and apparatus for timing data and query method and apparatus for timing data
CN105242882B (en) * 2015-10-13 2018-09-21 东方网力科技股份有限公司 The frame storage method and device of time series data, time series data querying method and device
CN110213635A (en) * 2018-04-08 2019-09-06 腾讯科技(深圳)有限公司 Video mixed flow method, video flow mixing device and storage medium
CN109600563A (en) * 2018-08-01 2019-04-09 北京微播视界科技有限公司 Method and apparatus for determining timestamp
CN111512631A (en) * 2018-10-09 2020-08-07 深圳鲲云信息科技有限公司 Data processing method and related product
US11677902B2 (en) 2018-10-09 2023-06-13 Shenzhen Corerain Technologies Co., Ltd. Data processing method and related product
CN112203031A (en) * 2020-08-12 2021-01-08 深圳市豪恩汽车电子装备股份有限公司 Digital video caching system and method
CN115314731A (en) * 2022-06-23 2022-11-08 浙江大华技术股份有限公司 Video processing system, method, computer device and storage medium

Also Published As

Publication number Publication date
CN103686312B (en) 2017-02-08

Similar Documents

Publication Publication Date Title
CN103686312A (en) DVR multipath audio and video recording method
CN104410807A (en) Method and device for synchronously replaying multi-channel video
RU2010106007A (en) TELEVISION RECEIVER
CN103200461A (en) Multiple-player-terminal synchronized playing system and playing method
CN106559706B (en) A kind of processing method of audio data, device and system
CN100484213C (en) More user friendly time-shift buffer
CN101778204B (en) 3G-SDI high-definition digital audio/video delay system
US20060129708A1 (en) Information processing apparatus and method and recording medium
CN103731631A (en) Method, device and system for transmitting video image
CN110581973A (en) data playback method and device, terminal equipment and storage medium
CN103747332A (en) Video smoothing method and device
WO2014144641A1 (en) System and method for replicating a media stream
CN103731625A (en) Method for simultaneously and synchronously playing multiple paths of audios and videos
CN101895736B (en) Media stream data processing method and device thereof
CN102457695B (en) Digital hard disc video recorder and digital hard disc video recorder take out frame backup method
CN103188473B (en) Video frequency collection card and processing method thereof
CN101290790A (en) Synchronous playing method and device for both audio and video
CN101296323A (en) Lossless time-delay broadcasting system
CN100498951C (en) Recording method
JP5063944B2 (en) Digital broadcast receiver with recording function
CN102215363B (en) Frame precision collecting method of video and audio materials in video tapes
CN104796728A (en) 4G-WIFI (fourth generation-wireless fidelity) high-definition network video server
CN104205860A (en) Device and method for digital data distribution, device and method for digital data reproduction, synchronized reproduction system, program, and recording medium
US20040018005A1 (en) Clock-slaving in a programmable video recorder
CN100531351C (en) Recording/reproducing device and method

Legal Events

Date Code Title Description
PB01 Publication
PB01 Publication
C10 Entry into substantive examination
SE01 Entry into force of request for substantive examination
C14 Grant of patent or utility model
GR01 Patent grant