CN114173075B - MP4 file storage method and device for recording, electronic equipment and storage medium - Google Patents

MP4 file storage method and device for recording, electronic equipment and storage medium Download PDF

Info

Publication number
CN114173075B
CN114173075B CN202111235866.7A CN202111235866A CN114173075B CN 114173075 B CN114173075 B CN 114173075B CN 202111235866 A CN202111235866 A CN 202111235866A CN 114173075 B CN114173075 B CN 114173075B
Authority
CN
China
Prior art keywords
recording
file
media data
folder
container
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
CN202111235866.7A
Other languages
Chinese (zh)
Other versions
CN114173075A (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.)
Ava Electronic Technology Co Ltd
Original Assignee
Ava Electronic Technology Co Ltd
Priority date (The priority date is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the date listed.)
Filing date
Publication date
Application filed by Ava Electronic Technology Co Ltd filed Critical Ava Electronic Technology Co Ltd
Priority to CN202111235866.7A priority Critical patent/CN114173075B/en
Publication of CN114173075A publication Critical patent/CN114173075A/en
Application granted granted Critical
Publication of CN114173075B publication Critical patent/CN114173075B/en
Active legal-status Critical Current
Anticipated expiration legal-status Critical

Links

Classifications

    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04NPICTORIAL COMMUNICATION, e.g. TELEVISION
    • H04N5/00Details of television systems
    • H04N5/76Television signal recording

Abstract

The invention discloses a method and a device for storing a recorded mp4 file, electronic equipment and a storage medium. Wherein the method comprises the steps of: creating a folder associated with the mp4 file to be saved on an external memory when recording is started, and creating a media data object block, a stbl box partition and a recording process information file under the folder; when recording is performed, media data is written into the media data object block, and the stbl box segment and the recording process information file are updated periodically. The invention stores the key information needed in all MP4 encapsulation formats while recording, does not need to form a complete MP4 file, can reduce the risk of losing index information when recording equipment is powered off or interrupted accidentally, and can reduce the time and memory space when the MP4 file is generated in a sorting way and quickly release related resources.

Description

MP4 file storage method and device for recording, electronic equipment and storage medium
Technical Field
The present invention relates to the field of video recording and playing technologies of cameras, and in particular, to a method and apparatus for storing an mp4 file, an electronic device, and a storage medium for recording.
Background
One of the more common ways to record video in embedded devices is to encode the video stream and encapsulate it in mp4 format. In the mp4 package structure in the prior art, the media data in the media data container mdat (media date container) can only be accessed through the index, that is, the corresponding index information in the metadata container moov (metedata container) must be read, so that the player (decoder) can play (decode) the media data in the media data container mdat only when the metadata container moov is complete. If the metadata container moov is incomplete or does not exist, the mp4 file cannot be played (decoded).
However, by default, the recording device will first store the key information to be put into moov in the memory, until the recording is finished, and then generate the metadata container moov. When the recording device is suddenly powered off or is interrupted accidentally, the mp4 video file is lost, so that the generated mp4 video file cannot be decoded and played normally, i.e. the mp4 video file is damaged. In addition, with the mp4 file storing method, after the user finishes recording, it takes a long time to arrange and generate the mp4 file, especially long-time recording, and after finishing recording, it takes a long time to arrange and generate the moov file, and occupies a considerable memory space, and when the user performs the next recording, it is necessary to wait for the release of related resources.
Disclosure of Invention
In order to overcome at least one defect in the prior art, the invention provides a method, a device, electronic equipment and a storage medium for storing a recorded mp4 file, which adopts the following technical scheme.
In a first aspect, the present invention provides a method for storing a recorded mp4 file, comprising the steps of:
creating a folder associated with the mp4 file to be saved on an external memory when recording is started, and creating a media data object block, a stbl box partition and a recording process information file under the folder;
when recording is performed, media data is written into the media data object block, and the stbl box segment and the recording process information file are updated periodically.
In one embodiment, the method further comprises the step of:
and when the recording is finished, updating the stbl box fragments and the recording process information file.
In one embodiment, the process of creating stbl box fragments under the folder includes the steps of:
for at least one set of stbl box slices, a sub-level slice under the stbl box slices is created.
In one embodiment, the method further comprises the step of:
after recording is stopped, when a first generation instruction is received, generating a corresponding mp4 container according to the information in the folder based on the first generation instruction.
In one embodiment, the process of generating the corresponding mp4 container according to the information in the folder includes the steps of:
generating a file type container ftpy;
generating a metadata container moov according to the stbl box fragments under the folder based on the first generation instruction;
and reading the media data object block with the designated length according to the recording process information file to generate a media data container mdat.
In one embodiment, the method further comprises the step of:
and when receiving a second generation instruction, obtaining the mp4 file through the mp4 container.
In one embodiment, the length of a cycle is 1-3 minutes.
In a second aspect, the present invention provides an mp4 file storing apparatus for recording, comprising:
the creating module is used for creating a folder associated with the mp4 file to be saved on the external memory when recording is started, and creating a media data object block, a stbl box partition and a recording process information file under the folder;
and the updating module is used for writing the media data into the media data object block when recording is performed, and periodically updating the stbl box fragments and the recording process information file.
In a third aspect, the present invention provides a computer device comprising a memory, a processor and a computer program stored on the memory and executable on the processor, the processor implementing the method of any of the above embodiments when executing the program.
In a fourth aspect, the present invention provides a computer readable storage medium having stored thereon a computer program, characterized in that the program when executed by a processor implements the method of any of the above embodiments.
Compared with the prior art, the invention has the beneficial effects that:
1. quickly finishing recording; the method does not need to completely form MP4 files, but simultaneously saves key information needed in all MP4 encapsulation formats. This has the advantage that a fast end of recording can be achieved. The user needs to start recording continuously or can record next time rapidly when recording is segmented.
2. Quick power-off recovery; in fact, the recovery here does not require excessive processing. Although the last time the synchronization information was in the period between the device being powered down, the device simply continues to hold data for the media data object block without synchronization of the corresponding stbl box segment. However, since the recording process information file stores the size of the media data object block file every time the index information is synchronized, mdat data can be obtained only according to the media data object block data recorded last time.
Drawings
Fig. 1 is a schematic flow chart of the first embodiment.
Fig. 2 is a schematic flow chart of an implementation manner of the first embodiment.
Fig. 3 is a schematic structural diagram of the second embodiment.
Detailed Description
Exemplary embodiments of the present disclosure will be described in more detail below with reference to the accompanying drawings. While exemplary embodiments of the present disclosure are shown in the drawings, it should be understood that the present disclosure may be embodied in various forms and should not be limited to the embodiments set forth herein. Rather, these embodiments are provided so that this disclosure will be thorough and complete, and will fully convey the scope of the disclosure to those skilled in the art.
It should be noted that, the term "first\second\ … …" related to the embodiments of the present invention is merely to distinguish similar objects, and does not represent a specific ordering for the objects, it is to be understood that "first\second\ … …" may interchange a specific order or sequence where allowed. It is to be understood that the objects identified by "first\second\ … …" may be interchanged where appropriate to enable embodiments of the invention described herein to be practiced in sequences other than those illustrated or described herein.
Example 1
Referring to fig. 1, fig. 1 is a flowchart of a method for storing a recorded mp4 file according to an embodiment of the invention, where the method includes step S110 and step S120. It should be noted that, step S110 and step S120 are only reference numerals for clearly explaining the correspondence between the embodiments and fig. 1, and do not represent a sequential limitation of the steps of the method in the present embodiment.
Step S110, when recording is started, creating a folder associated with the mp4 file to be saved on the external memory, and creating a media data object block, stbl box segment and recording process information file under the folder.
When recording is started, i.e. when a recording instruction is received, creating a folder associated with the mp4 file to be saved on the external memory, wherein the folder is used for saving relevant data finally packaged into the mp4 file. The external storage refers to storage except for computer memory and CPU cache, and such storage can still keep data after power failure. Common external memories are hard disks, floppy disks, compact disks, U disks, etc. Since the relevant material for packaging into mp4 files is placed in the folder, it is necessary to create a corresponding box according to the media file structure standard of mp 4. Thus, a media data object chunk, stbl box tile, is created under the associated folder. Wherein the media data object block records specific audio and video media data. The stbl box slices record key media information parameters of the corresponding sequence. In addition, in order to record the progress and events in the recording process, a recording process information file needs to be created.
It should be noted that, the media data generally includes audio and video data, and may include only video data or audio data according to actual needs.
stbl is the most complex box, which contains the most sub-boxes in mp4 files, and contains the necessary information to locate and decode samples. Typically recorded mp4 has two sequences of audio and video at the same time, so a set of stbl box slices needs to be created for each of the audio and video separately. Typically each set of stbl boxes is partitioned according to the respective boxes that the stbl contains, comprising 7 sub-level partitions, each sub-level partition being in fact a binary file.
stbl box contains 7 sub-level hierarchical information:
stsd: sample description box, description information of the sample.
stts: time to sample box, sample decoding time.
ctts: composition time to sample box compression table of the time difference between CTS and DTS of sample.
stss: a sync sample box, sequence number of key frames for video.
stsz/stz2: sample size box, byte size of each sample.
stsc: sample to chunk box sample-chunk mapping table.
stco/co64: the offset of the chunk in the file.
It should be noted here that there are at least two methods of creating stbl box slices, one is to create two stbl box slices for audio and video, respectively, i.e., only two stbl box slices in total; the other is to directly create 7 sub-level fragments for each set of stbl boxes, i.e. a total of 14 fragments. Of course, it is also possible to combine two ways, to create 7 sub-level fragments for one set and only stbl box fragments for the other set.
Step S120, when recording is performed, writing media data into the media data object block, and periodically updating the stbl box segment and the recording process information file.
As recording proceeds, media data is written to the media data object block and the stbl box segments are updated periodically. Since each slice under the stbl box actually records index information about each type of media data object block, but as the recording progresses, the information is growing, so that it is necessary to update the stbl box slices at regular intervals, so as to ensure that the information in the slices can be synchronously corresponding to the content in the media data object block.
At the same time, the recording process information file is updated correspondingly. Typically, the most important function of the recording process information file is to record when the content in the stbl box is updated. Because the writing of media data into a media data object block is performed at every moment during the recording process, and the updating of the content in the stbl box is performed periodically, the data of the media data object block growth in the period of time before the next update after the current update of the stbl box is not recorded with an index. At this time, it is known which part of the media data is not recorded with the index by referring to the recording process information file.
In the method, key information required in all MP4 encapsulation formats is stored while recording, and updated stbl box fragments are stored in the folder continuously, so that even if recording equipment is suddenly powered off or interrupted accidentally, the content of the stbl box fragments is stored in the folder without disappearance, after the recording equipment is restarted, when an mp4 file is to be generated, the stbl box fragments can be read into the memory from the folder to generate a metadata container moov, and then the mp4 file without damage is obtained by encapsulation according to the standard format of the mp 4.
It should be noted that the method does not need to form a complete mp4 file, but only saves the key information needed in all mp4 package formats while recording. This has the advantage that a fast end of recording can be achieved. The user needs to start recording continuously or can record next time rapidly when recording is segmented.
In one embodiment, as shown in fig. 2, the mp4 file storing method for recording further includes step S130.
And step S130, when the recording is finished, updating the stbl box fragments and the recording process information file.
In step S120, although the stbl box slice and the recording process information file are periodically updated, the time point when the user finishes recording is most likely not the updated time point, and if the stbl box slice and the recording process information file are not updated, the index information of the media data after the last update time is deleted, so that the finally obtained mp4 file does not have the content of the end portion. Therefore, when the user actively finishes recording, the stbl box fragments and the recording process information file are updated to generate a complete metadata container moov.
Here, this step is performed when the user actively ends the recording, but the case of power-off or unexpected interruption is not known, and in this case, this step is not present.
In one embodiment, the process of creating stbl box fragments under the folder includes step S210.
Step S210, for at least one group of stbl box slices, creating sub-level slices below the stbl box slices.
Since the sub-level slice under the stbl box slice is grown as the recording proceeds and periodically updated, if only one stbl box slice is created, the starting position of each sub-level slice in the stbl box slice file is changed as each sub-level slice grows, which is very inconvenient for rewriting each sub-level slice. Therefore, in the embodiment, when the sub-level fragments of the stbl box are directly created and need to be updated and rewritten, each sub-level fragment can be directly updated and rewritten, and the initial position does not need to be searched from a large file, so that the method is simpler, faster and more convenient.
In one embodiment, the mp4 file storing method for recording further includes step S140.
Step S140, after stopping recording, generating a corresponding mp4 container according to the information in the folder based on the first generation instruction when receiving the first generation instruction.
As described above, the method does not need to form a complete mp4 file, only stores the key information needed in all the mp4 package formats while recording, but generates the corresponding mp4 container according to the information in the folder in order to obtain the mp4 file smoothly. In addition, in the transmission process of the mp4 file, sometimes, not the mp4 file, but each container under the mp4 file is actually transmitted, so in the method, the set first generation instruction is only used for commanding to generate the mp4 container. In addition, in the current mp4 package format, moov is generally arranged after mdat, but sometimes for other reasons, moov is arranged before mdat, and two different setting methods can cause difference of partial information in moov, so that the first generation instruction further comprises a position relation between the two, and content of the position relation in the instruction is also needed to be based when the corresponding mp4 container is generated.
Here, the stopping recording in this step includes stopping modes in two aspects, one is stopping when the user actively ends recording, and the other is stopping when the user suddenly gets powered off or accidentally or the like.
Here, the first generation instruction may be a direct instruction or a phase-change instruction. For example, these mp4 files are all stored in the server, and when a download request is received, an mp4 container is generated, and then the download request is a phase change instruction.
In one embodiment, the process of generating the corresponding mp4 container according to the information in the folder includes: step S310, step S320, and step S330.
In step S310, a file type container ftpy is generated.
Step S320, based on the first generation instruction, generating a metadata container moov according to the stbl box fragments under the folder.
Step S330, according to the recording process information file, reads the media data object block with the specified length, and generates a media data container mdat.
Generally, mp4 files include: the three containers of the file type container ftpy, the metadata container moov and the media data container mdat are generated, and the steps S310, S320 and S330 are steps of correspondingly generating the three containers.
It should be noted here that, as described above, after the recording apparatus is suddenly stopped by a power failure or accident, it is possible to know which part of the media data is not recorded with the index by referring to the recording process information file. Since this part of the media data is not index-recorded, it should not be written into the media data container mdat, so that in step S330, a block of the media data object of a specified length is read based on the recording process information file, and only the content of the media data with the index record is put into the media data container mdat.
It should be noted that, the device for generating the media data container mdat may be a local terminal, for example, a server terminal, or may be a client terminal or a browser that requests to download.
In one embodiment, the mp4 file storing method for recording further includes step S150.
And step S150, when receiving the second generation instruction, obtaining an mp4 file through the mp4 container.
Upon receiving the second generation instruction, the mp4 file may be synthesized on the basis of the respective mp4 container.
In one embodiment, the length of a cycle is 1-3 minutes.
The setting of the period is typically a result of a combination of considerations, e.g. taking into account how long lost fragments can be tolerated after a power outage, taking into account how much resources are to be occupied for updating stbl box fragments, etc. In this embodiment, from practical point of view, it is preferable to obtain a period of 1 to 3 minutes, preferably 2 minutes.
The mp4 file storing method for recording stores key information needed in all mp4 packaging formats while recording, does not need to form a complete mp4 file, can reduce the risk of losing index information when recording equipment is powered off or interrupted accidentally, can reduce time and memory space when the mp4 file is generated in an arrangement mode, and can quickly release related resources.
Example two
Corresponding to the method of the first embodiment, as shown in fig. 3, the present invention further provides an mp4 file storing apparatus 3 for recording, including: a creation module 301 and an update module 302.
A creating module 301, configured to create a folder associated with an mp4 file to be saved on an external memory when recording is started, and create a media data object block, a stbl box partition and a recording process information file under the folder;
an updating module 302, configured to write media data into the media data object block and periodically update the stbl box segment and the recording process information file when recording is performed.
In one embodiment, the creating module 301 is further configured to update each stbl box partition and the recording process information file when recording is finished.
In one embodiment, the process of creating stbl box fragments under the folder by the creation module includes the steps of: for at least one set of stbl box slices, a sub-level slice under the stbl box slices is created.
In one embodiment, the mp4 file storing apparatus for recording further includes a generating module 303.
The generating module 303 is configured to generate, when receiving a first generating instruction after stopping recording, a corresponding mp4 container according to information in the folder based on the first generating instruction.
In one embodiment, the generating module generates the mp4 container according to the information in the folder, and the generating module includes the following steps:
generating a file type container ftpy;
generating a metadata container moov according to the stbl box fragments under the folder based on the first generation instruction;
and reading the media data object block with the designated length according to the recording process information file to generate a media data container mdat.
In one embodiment, the generating module 303 is further configured to obtain, when receiving the second generating instruction, an mp4 file through the mp4 container.
In one embodiment, the length of a cycle is 1-3 minutes.
The mp4 file storage device for recording stores key information needed in all mp4 packaging formats while recording, does not need to form a complete mp4 file, can reduce the risk of losing index information when recording equipment is powered off or interrupted accidentally, can reduce time and memory space when the mp4 file is generated in an arrangement mode, and can quickly release related resources.
Example III
The embodiment of the invention also provides a storage medium, on which computer instructions are stored, which when executed by a processor, implement the mp4 file storing method for recording of any of the above embodiments.
Those skilled in the art will appreciate that: all or part of the steps for implementing the above method embodiments may be implemented by hardware associated with program instructions, where the foregoing program may be stored in a computer readable storage medium, and when executed, the program performs steps including the above method embodiments; and the aforementioned storage medium includes: a mobile storage device, a random access Memory (RAM, random Access Memory), a Read-Only Memory (ROM), a magnetic disk or an optical disk, or the like, which can store program codes.
Alternatively, the above-described integrated units of the present invention may be stored in a computer-readable storage medium if implemented in the form of software functional modules and sold or used as separate products. Based on such understanding, the technical solution of the embodiments of the present invention may be essentially or part contributing to the related art, and the computer software product may be stored in a storage medium, and include several instructions to cause a computer device (which may be a personal computer, a terminal, or a network device) to execute all or part of the methods of the embodiments of the present invention. And the aforementioned storage medium includes: various media capable of storing program code, such as a removable storage device, RAM, ROM, magnetic or optical disk.
Corresponding to the above-mentioned computer storage medium, in one embodiment there is also provided a computer device comprising a memory, an encoder and a computer program stored on the memory and executable on the encoder, wherein the encoder implements the mp4 file storing method for recording according to any of the above-mentioned embodiments when executing the program.
The computer equipment stores the key information needed in all MP4 encapsulation formats while recording, does not need to form a complete MP4 file, can reduce the risk of losing index information when the recording equipment is powered off or interrupted accidentally, and can reduce the time and memory space when the mp4 file is generated in an arrangement mode, and quickly release related resources.
The technical features of the above-described embodiments may be arbitrarily combined, and all possible combinations of the technical features in the above-described embodiments are not described for brevity of description, however, as long as there is no contradiction between the combinations of the technical features, they should be considered as the scope of the description.
It is to be understood that the above examples of the present invention are provided by way of illustration only and not by way of limitation of the embodiments of the present invention. Other variations or modifications of the above teachings will be apparent to those of ordinary skill in the art. It is not necessary here nor is it exhaustive of all embodiments. Any modification, equivalent replacement, improvement, etc. which come within the spirit and principles of the invention are desired to be protected by the following claims.

Claims (8)

1. A method for storing a recorded mp4 file, comprising the steps of:
creating a folder associated with the mp4 file to be saved on an external memory when recording is started, and creating a media data object block, a stbl box partition and a recording process information file under the folder;
when recording, writing the media data into the media data object block, and periodically updating the stblbox segment and the recording process information file, wherein the corresponding relation between the stblbox segment and the content in the media data object block can be known through the recording process information file;
after stopping recording, when a first generation instruction is received, generating a corresponding mp4 container according to the information in the folder based on the first generation instruction;
the process of generating the corresponding mp4 container according to the information in the folder comprises the following steps:
generating a file type container ftpy;
generating a metadata container moov according to the stblbox fragments under the folder based on the first generation instruction;
and reading the media data object block with the designated length according to the recording process information file to generate a media data container mdat.
2. The mp4 file storing method for recording according to claim 1, further comprising the steps of:
and when the recording is finished, updating the stbl box fragments and the recording process information file.
3. The mp4 file saving method for recording according to claim 1, wherein the process of creating stbl box fragments under the folder includes the steps of:
for at least one set of stbl box slices, a sub-level slice under the stbl box slices is created.
4. The mp4 file storing method for recording according to claim 1, further comprising the steps of:
and when receiving a second generation instruction, obtaining the mp4 file through the mp4 container.
5. The method of storing an mp4 file for recording according to any one of claims 1 to 4, wherein a period has a length of 1 to 3 minutes.
6. An mp4 file storing apparatus for recording, comprising:
the creating module is used for creating a folder associated with the mp4 file to be saved on the external memory when recording is started, and creating a media data object block, a stbl box partition and a recording process information file under the folder;
the updating module is used for writing the media data into the media data object block and periodically updating the stblbox fragments and the recording process information file when recording is performed, wherein the corresponding relation between the stblbox fragments and the content in the media data object block can be known through the recording process information file;
the generation module is used for generating a corresponding mp4 container according to the information in the folder based on the first generation instruction when receiving the first generation instruction after stopping recording;
the generating module generates the corresponding mp4 container according to the information in the folder, and the generating module comprises the following steps:
generating a file type container ftpy;
generating a metadata container moov according to the stblbox fragments under the folder based on the first generation instruction;
and reading the media data object block with the designated length according to the recording process information file to generate a media data container mdat.
7. A computer device comprising a memory, a processor and a computer program stored on the memory and executable on the processor, wherein the processor implements the method of any of claims 1-5 when the program is executed by the processor.
8. A computer readable storage medium, on which a computer program is stored, characterized in that the program, when being executed by a processor, implements the method according to any of claims 1-5.
CN202111235866.7A 2021-10-22 2021-10-22 MP4 file storage method and device for recording, electronic equipment and storage medium Active CN114173075B (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN202111235866.7A CN114173075B (en) 2021-10-22 2021-10-22 MP4 file storage method and device for recording, electronic equipment and storage medium

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN202111235866.7A CN114173075B (en) 2021-10-22 2021-10-22 MP4 file storage method and device for recording, electronic equipment and storage medium

Publications (2)

Publication Number Publication Date
CN114173075A CN114173075A (en) 2022-03-11
CN114173075B true CN114173075B (en) 2024-01-30

Family

ID=80477198

Family Applications (1)

Application Number Title Priority Date Filing Date
CN202111235866.7A Active CN114173075B (en) 2021-10-22 2021-10-22 MP4 file storage method and device for recording, electronic equipment and storage medium

Country Status (1)

Country Link
CN (1) CN114173075B (en)

Citations (12)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN1798302A (en) * 2004-12-23 2006-07-05 普立尔科技股份有限公司 Method for storing digital video and audio data
CA2703025A1 (en) * 2007-10-29 2009-05-07 Nokia Corporation Fast and editing-friendly sample association method for multimedia file formats
CN101447207A (en) * 2008-12-30 2009-06-03 深圳华为通信技术有限公司 Media recording method and device thereof
CN102723090A (en) * 2012-07-04 2012-10-10 深圳锐取信息技术股份有限公司 Moving picture experts group 4 (MP4) file generation and reading method
CN103678026A (en) * 2012-09-18 2014-03-26 杭州海康威视系统技术有限公司 Storing and repairing method and storing and repairing device for repairable video monitoring data
CA2916892A1 (en) * 2013-07-22 2015-01-29 Sony Corporation Information processing apparatus and method
CN105872484A (en) * 2016-06-04 2016-08-17 武汉诚迈科技有限公司 Protection method of monitoring video abnormity
CN107193689A (en) * 2017-05-08 2017-09-22 北京视通科技有限公司 A kind of media file records abnormal restorative procedure and device
CN109167951A (en) * 2018-09-13 2019-01-08 深圳市信丰伟业科技有限公司 Powered-off fault based on Android framework automobile data recorder can play video method
CN110798730A (en) * 2019-11-14 2020-02-14 深圳市浪涛科技有限公司 MP4 file recording and repairing method
CN111083410A (en) * 2019-12-30 2020-04-28 珠海全志科技股份有限公司 Audio and video stream processing method and device for DVR
CN111885331A (en) * 2020-07-25 2020-11-03 徐州云创电子科技有限公司 Novel mp4 packaging method for automatic storage of video interruption

Patent Citations (12)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN1798302A (en) * 2004-12-23 2006-07-05 普立尔科技股份有限公司 Method for storing digital video and audio data
CA2703025A1 (en) * 2007-10-29 2009-05-07 Nokia Corporation Fast and editing-friendly sample association method for multimedia file formats
CN101447207A (en) * 2008-12-30 2009-06-03 深圳华为通信技术有限公司 Media recording method and device thereof
CN102723090A (en) * 2012-07-04 2012-10-10 深圳锐取信息技术股份有限公司 Moving picture experts group 4 (MP4) file generation and reading method
CN103678026A (en) * 2012-09-18 2014-03-26 杭州海康威视系统技术有限公司 Storing and repairing method and storing and repairing device for repairable video monitoring data
CA2916892A1 (en) * 2013-07-22 2015-01-29 Sony Corporation Information processing apparatus and method
CN105872484A (en) * 2016-06-04 2016-08-17 武汉诚迈科技有限公司 Protection method of monitoring video abnormity
CN107193689A (en) * 2017-05-08 2017-09-22 北京视通科技有限公司 A kind of media file records abnormal restorative procedure and device
CN109167951A (en) * 2018-09-13 2019-01-08 深圳市信丰伟业科技有限公司 Powered-off fault based on Android framework automobile data recorder can play video method
CN110798730A (en) * 2019-11-14 2020-02-14 深圳市浪涛科技有限公司 MP4 file recording and repairing method
CN111083410A (en) * 2019-12-30 2020-04-28 珠海全志科技股份有限公司 Audio and video stream processing method and device for DVR
CN111885331A (en) * 2020-07-25 2020-11-03 徐州云创电子科技有限公司 Novel mp4 packaging method for automatic storage of video interruption

Non-Patent Citations (1)

* Cited by examiner, † Cited by third party
Title
Linux下基于MPEG4IP的实时授课同步技术和实现方法;袁;吴杰;张世永;;计算机应用与软件(第10期);全文 *

Also Published As

Publication number Publication date
CN114173075A (en) 2022-03-11

Similar Documents

Publication Publication Date Title
JP4481889B2 (en) Data recording apparatus and method, program, and recording medium
US8320733B2 (en) Method of preparing DVD-video formatted data, method for reconstructing DVD-video data and DVD-video data structure
CN101842840B (en) Recording medium, playback apparatus, recording apparatus, playback method, and recording method
US20070031110A1 (en) Method of recording and of replaying and video recording and replay systems
CN111063376B (en) Method, terminal equipment and storage medium for audio and video synchronization in MP4 repairing
JP2008243367A (en) Method and device for recording broadcast data
JP2000100073A (en) Recording device and method, reproducing device and method, recording medium, and provision medium
JP2007060286A (en) Content-editing device and reproducing device thereof
JP2008305545A (en) Recording medium, recorder, reproducing device, recording method, reproducing method and program
JP2005117534A (en) File-reproducing apparatus, file-reproducing method, program for the file-reproducing method, and recording medium with the program for file reproducing method stored thereto
EP1623425A1 (en) Storage medium in which audio-visual data with event information is recorded, and reproducing apparatus and reproducing method thereof
EP1602235B1 (en) Generation of encrypted video information
US7123815B2 (en) Data playback apparatus
CN114173075B (en) MP4 file storage method and device for recording, electronic equipment and storage medium
JP2004178788A (en) Recording device and recording method
JP2006074391A (en) File recording method and recorder
US7471872B2 (en) Reproducing apparatus for data stored in disk-shape storage media
JP2004363825A (en) Recording and reproducing device, recording and reproducing method, and recording medium and program therefor
JP4072044B2 (en) Moving image recording method
KR102179384B1 (en) Information storage medium storing content, content providing method, content reproducing method and apparatus thereof
JP4255796B2 (en) DATA RECORDING DEVICE, DATA RECORDING METHOD, DATA RECORDING PROGRAM, AND RECORDING MEDIUM CONTAINING THE PROGRAM
CN112887784A (en) Method, device, equipment and system for playing encrypted video
JP6806577B2 (en) Recording device and its control method and program
KR100787748B1 (en) Apparatus for play of a divx video player
JP2004040150A (en) Apparatus, method and system for reproducing compressed data

Legal Events

Date Code Title Description
PB01 Publication
PB01 Publication
SE01 Entry into force of request for substantive examination
SE01 Entry into force of request for substantive examination
GR01 Patent grant
GR01 Patent grant