CN110336804B - Multimedia file recovery method, device and equipment - Google Patents

Multimedia file recovery method, device and equipment Download PDF

Info

Publication number
CN110336804B
CN110336804B CN201910556200.8A CN201910556200A CN110336804B CN 110336804 B CN110336804 B CN 110336804B CN 201910556200 A CN201910556200 A CN 201910556200A CN 110336804 B CN110336804 B CN 110336804B
Authority
CN
China
Prior art keywords
multimedia
data
file
recovery
timestamp
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
CN201910556200.8A
Other languages
Chinese (zh)
Other versions
CN110336804A (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.)
Goertek Techology Co Ltd
Original Assignee
Goertek Techology 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 Goertek Techology Co Ltd filed Critical Goertek Techology Co Ltd
Priority to CN201910556200.8A priority Critical patent/CN110336804B/en
Publication of CN110336804A publication Critical patent/CN110336804A/en
Application granted granted Critical
Publication of CN110336804B publication Critical patent/CN110336804B/en
Active legal-status Critical Current
Anticipated expiration legal-status Critical

Links

Images

Classifications

    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04LTRANSMISSION OF DIGITAL INFORMATION, e.g. TELEGRAPHIC COMMUNICATION
    • H04L65/00Network arrangements, protocols or services for supporting real-time applications in data packet communication
    • H04L65/60Network streaming of media packets
    • H04L65/65Network streaming protocols, e.g. real-time transport protocol [RTP] or real-time control protocol [RTCP]
    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04LTRANSMISSION OF DIGITAL INFORMATION, e.g. TELEGRAPHIC COMMUNICATION
    • H04L65/00Network arrangements, protocols or services for supporting real-time applications in data packet communication
    • H04L65/60Network streaming of media packets
    • H04L65/70Media network packetisation
    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04LTRANSMISSION OF DIGITAL INFORMATION, e.g. TELEGRAPHIC COMMUNICATION
    • H04L65/00Network arrangements, protocols or services for supporting real-time applications in data packet communication
    • H04L65/60Network streaming of media packets
    • H04L65/75Media network packet handling
    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04LTRANSMISSION OF DIGITAL INFORMATION, e.g. TELEGRAPHIC COMMUNICATION
    • H04L67/00Network arrangements or protocols for supporting network services or applications
    • H04L67/01Protocols
    • H04L67/06Protocols specially adapted for file transfer, e.g. file transfer protocol [FTP]
    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04LTRANSMISSION OF DIGITAL INFORMATION, e.g. TELEGRAPHIC COMMUNICATION
    • H04L67/00Network arrangements or protocols for supporting network services or applications
    • H04L67/01Protocols
    • H04L67/10Protocols in which an application is distributed across nodes in the network
    • H04L67/1095Replication or mirroring of data, e.g. scheduling or transport for data synchronisation between network nodes
    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04LTRANSMISSION OF DIGITAL INFORMATION, e.g. TELEGRAPHIC COMMUNICATION
    • H04L69/00Network arrangements, protocols or services independent of the application payload and not provided for in the other groups of this subclass
    • H04L69/22Parsing or analysis of headers

Landscapes

  • Engineering & Computer Science (AREA)
  • Multimedia (AREA)
  • Computer Networks & Wireless Communication (AREA)
  • Signal Processing (AREA)
  • Computer Security & Cryptography (AREA)
  • Compression Or Coding Systems Of Tv Signals (AREA)
  • Television Signal Processing For Recording (AREA)

Abstract

The invention discloses a method, a device and equipment for recovering a multimedia file, wherein the method comprises the following steps: when the recovery start of the multimedia equipment is detected, acquiring multimedia coding data to be recovered and a corresponding intermediate file; determining a recovery time stamp according to the multimedia coding data to be recovered; according to the recovery timestamp, multimedia data are continuously obtained through the multimedia equipment, coding processing is carried out on the multimedia data, new multimedia coding data are obtained, and data key information corresponding to the new multimedia coding data is written into an intermediate file; and after the multimedia equipment is normally stopped, according to the intermediate file, packaging the multimedia coding data to be recovered and the acquired new multimedia coding data based on a preset multimedia protocol to obtain a recovered target multimedia file.

Description

Multimedia file recovery method, device and equipment
Technical Field
The present invention relates to the field of data processing technologies, and in particular, to a method, an apparatus, and a device for recovering a multimedia file.
Background
With the rapid development of manufacturing technologies and the popularization of device intellectualization, more and more intelligent devices (mobile phones, tablet computers, smart home products, etc.) are equipped with multimedia data acquisition modules such as cameras and microphones for users to record videos or audios to obtain corresponding multimedia files, for example, a camera is configured in an intelligent doorbell to shoot a visitor, a camera is configured on an unmanned aerial vehicle to take an aerial photograph, a camera is configured in a mobile phone to realize that a user records videos at any time, or a microphone is configured in a mobile phone to record audios at any time.
However, when a user uses the device to record video or audio, the recorded video or audio cannot be played or the entire video file or audio file is lost due to abnormalities such as power failure and crash of the device.
Disclosure of Invention
It is an object of the present invention to provide a new technical solution for restoring multimedia files.
According to a first aspect of the present invention, there is provided a multimedia file recovery method, including: when the recovery start of the multimedia equipment is detected, acquiring multimedia coding data to be recovered and a corresponding intermediate file; the intermediate file comprises data key information corresponding to the multimedia coding data to be restored; determining a recovery time stamp according to the multimedia coding data to be recovered; according to the recovery timestamp, multimedia data are continuously obtained through the multimedia equipment, coding processing is carried out on the multimedia data, new multimedia coding data are obtained, and data key information corresponding to the new multimedia coding data is written into the intermediate file; and after the multimedia equipment normally stops, according to the intermediate file, packaging the multimedia coding data to be recovered and the acquired new multimedia coding data based on a preset multimedia protocol to obtain a recovered target multimedia file.
According to a second aspect of the present invention, there is provided a multimedia file restoration apparatus, comprising: the recovery data acquisition module is used for acquiring multimedia coding data to be recovered and a corresponding intermediate file when the recovery start of the multimedia equipment is detected; the intermediate file comprises data key information corresponding to the multimedia coding data to be restored; the time stamp determining module is used for determining a recovery time stamp according to the multimedia coding data to be recovered; a data continuous acquisition module, configured to continuously acquire multimedia data through the multimedia device according to the recovery timestamp, perform encoding processing on the multimedia data to obtain new multimedia encoded data, and write data key information corresponding to the new multimedia encoded data into the intermediate file; and the file recovery module is used for encapsulating the multimedia coding data to be recovered and the acquired new multimedia coding data based on a preset multimedia protocol according to the intermediate file after the multimedia equipment is normally stopped, so as to obtain a recovered target multimedia file.
According to a third aspect of the present invention, there is provided a multimedia file restoration apparatus comprising: a memory for storing executable instructions; a processor, configured to execute the method for acquiring a multimedia file according to any one of the first aspect, according to the control of the executable instruction.
According to a fourth aspect of the present invention, there is provided a multimedia file restoration apparatus comprising: the multimedia equipment is used for acquiring multimedia data; a multimedia file restoration apparatus according to the third aspect.
According to one embodiment of the disclosure, when it is detected that the multimedia device is restarted, multimedia coding data and an intermediate file are acquired, a recovery timestamp is determined according to multimedia coding data to be recovered in the intermediate file, multimedia data are continuously acquired through the multimedia device according to the recovery timestamp, the newly acquired multimedia data are written into the intermediate file, after the multimedia device is normally stopped, the multimedia coding data to be recovered and the acquired new multimedia coding data are encapsulated according to the intermediate file, a target multimedia file which is recovered and can be completely played is obtained, and the situation that the multimedia file cannot be played or lost due to the abnormity of power failure, crash and the like of the device is avoided.
Other features of the present invention and advantages thereof will become apparent from the following detailed description of exemplary embodiments thereof, which proceeds with reference to the accompanying drawings.
Drawings
The accompanying drawings, which are incorporated in and constitute a part of this specification, illustrate embodiments of the invention and together with the description, serve to explain the principles of the invention.
Fig. 1 is a block diagram showing an example of a hardware configuration of a multimedia file restoration apparatus that can be used to implement an embodiment of the present invention.
Fig. 2 is a flowchart of a multimedia file recovery method according to an embodiment of the present invention.
Fig. 3 is another flowchart of a multimedia file recovery method according to an embodiment of the present invention.
Fig. 4 is a block diagram of a multimedia file recovery apparatus according to an embodiment of the present invention.
Fig. 5 is another block diagram of a multimedia file recovery apparatus according to an embodiment of the present invention.
Detailed Description
Various exemplary embodiments of the present invention will now be described in detail with reference to the accompanying drawings. It should be noted that: the relative arrangement of the components and steps, the numerical expressions and numerical values set forth in these embodiments do not limit the scope of the present invention unless specifically stated otherwise.
The following description of at least one exemplary embodiment is merely illustrative in nature and is in no way intended to limit the invention, its application, or uses.
Techniques, methods, and apparatus known to those of ordinary skill in the relevant art may not be discussed in detail but are intended to be part of the specification where appropriate.
In all examples shown and discussed herein, any particular value should be construed as merely illustrative, and not limiting. Thus, other examples of the exemplary embodiments may have different values.
It should be noted that: like reference numbers and letters refer to like items in the following figures, and thus, once an item is defined in one figure, further discussion thereof is not required in subsequent figures.
Fig. 1 is a block diagram showing a hardware configuration of a multimedia file restoration apparatus 1000 that can implement an embodiment of the present invention.
The multimedia file restoration apparatus 1000 may be a video camera, a recording apparatus, or the like, and may also be a laptop, a desktop computer, a mobile phone, a tablet computer, or the like. As shown in fig. 1, the multimedia file restoring apparatus 1000 may include a processor 1100, a memory 1200, an interface device 1300, a communication device 1400, a display device 1500, an input device 1600, a speaker 1700, a microphone 1800, and the like. The processor 1100 may be a central processing unit CPU, a microprocessor MCU, or the like. The memory 1200 includes, for example, a ROM (read only memory), a RAM (random access memory), a nonvolatile memory such as a hard disk, and the like. The interface device 1300 includes, for example, a USB interface, a headphone interface, and the like. The communication device 1400 is capable of wired or wireless communication, for example, and may specifically include Wifi communication, bluetooth communication, 2G/3G/4G/5G communication, and the like. The display device 1500 is, for example, a liquid crystal display panel, a touch panel, or the like. The input device 1600 may include, for example, a touch screen, a keyboard, a somatosensory input, and the like. A user can input/output voice information through the speaker 1700 and the microphone 1800.
The multimedia file restoration device 1000 shown in fig. 1 is merely illustrative and is in no way meant to limit the invention, its applications, or uses. In an embodiment of the present invention, the memory 1200 of the multimedia file restoration device 1000 is configured to store instructions for controlling the processor 1100 to operate to execute any one of the multimedia file restoration methods provided by the embodiment of the present invention. It will be appreciated by those skilled in the art that although a plurality of means are shown for the electronic device 1000 in fig. 1, the present invention may relate to only some of the means therein, e.g. the electronic device 1000 relates to only the processor 1100 and the storage means 1200. The skilled person can design the instructions according to the disclosed solution. How the instructions control the operation of the processor is well known in the art and will not be described in detail herein.
Fig. 2 shows a flowchart of a multimedia file restoration method provided in an embodiment of the present invention. A multimedia file is a file that stores encoded data of various media such as sound, image, animation, and video. In the present embodiment, the multimedia file may include an audio file, a video file, and the like.
As shown in fig. 2, the method comprises the steps of: steps S2100-S2400.
Step S2100, when detecting that the multimedia device is resumed, obtains the multimedia encoded data to be resumed and the corresponding intermediate file.
A multimedia device is a device for acquiring multimedia data. For example, the multimedia device may be a camera device for acquiring video data, or the multimedia device may be a recording device or the like for acquiring audio data.
After the multimedia device is abnormal, such as power failure, crash and the like, the multimedia device can be triggered to be restarted by a starting and recovering mechanism of the multimedia device, or the multimedia device can be restarted by external operation implemented by a person monitoring the work of the multimedia device.
The multimedia coding data to be restored is the multimedia data which is obtained by the multimedia device in the working process and is coded according to the preset multimedia coding protocol before the multimedia device is restored and started. The preset multimedia coding protocol can be set for the data type of the multimedia data according to the specific application requirements. For example, when the multimedia data is video data acquired by an image capturing device, the preset multimedia coding protocol may be any video coding protocol, or when the multimedia data is audio data acquired by an audio recording device, the preset multimedia coding protocol may be any audio coding protocol.
When a user acquires multimedia data through the multimedia device, codes, packages and stores the multimedia data into a playable multimedia file, the multimedia device fails to work normally due to power failure, crash and other abnormalities, and after the multimedia device is restarted, the multimedia data acquired by the multimedia device before the abnormality is generated may be lost or become an incomplete file which is incomplete and cannot be decoded and played by a corresponding player because the whole coding, packaging and storing processes are not completed, and finally the multimedia data acquired by the multimedia device before the abnormality is generated cannot be recovered. Taking the example that the multimedia device is a camera device, in the process of acquiring video data, i.e. recording, by the camera device, once the camera device is powered off or crashed, the camera device records the video data encoded into video frames before the power off or the crash, and because the whole encoding, packaging and storing process is not completed, the video frame data may be directly lost, or the video data is retained as an unfinished video file that cannot be decoded and played by a video player, and finally the video data recorded before the crash or the power off of the camera device cannot be recovered.
In this embodiment, the intermediate file may include therein data key information corresponding to the multimedia encoded data to be restored. The data key information is important information related to the multimedia coding data to be restored and is used for restoring the multimedia coding data to be restored. The specific content of the data key information can be set according to the specific multimedia coding data type.
For example, the multimedia device includes a camera device, the multimedia encoded data correspondingly includes video encoded data, specifically, encoded video frame data, and the data key information includes key information of the video frame data, specifically, SPS (sequence parameter set) information, PPS (picture parameter set) information, information of a video key frame (for example, an offset of the key frame, a size of the key frame, and the like), and the like.
For another example, the multimedia device includes a recording device, and the multimedia encoded data correspondingly includes audio encoded data, specifically, encoded audio frame data; the data key information includes key information of the audio frame data, and specifically may include audio coding key parameters, information of audio key frames (e.g., offset of key frames, size of key frames, etc.), and so on.
The file format of the intermediate file may be selected according to a specific application scenario or an application requirement, and is not specifically limited herein.
In this embodiment, the intermediate file is used to store the data key information corresponding to the multimedia encoded data to be restored, and subsequent steps may be combined, so that after the multimedia device is restarted and multimedia data continues to be acquired, the multimedia data to be restored can be restored according to the intermediate file, a restored and complete multimedia file that can be played is obtained, and the multimedia file cannot be played or lost due to abnormalities such as power failure and crash of the multimedia device is avoided.
The multimedia encoded data to be restored and the corresponding intermediate file may be requested to be acquired from an external device storing the multimedia encoded data to be restored and the corresponding intermediate file when the multimedia device is started to restore, or may be queried in a local storage (including a local memory, a local cache, a local hard disk, or an external storage device directly accessible by the multimedia device, etc.) for whether the multimedia encoded data to be restored and the corresponding intermediate file exist, and read from the local storage when the multimedia encoded data and the corresponding intermediate file exist.
In an example, the method for restoring a multimedia file provided in this embodiment further includes:
step S2500, in the process of acquiring multimedia data through a normally started multimedia device, storing multimedia encoded data obtained by encoding the acquired multimedia data, and storing data key information corresponding to the multimedia encoded data in an intermediate file.
After detecting that the multimedia device is normally started every time, in the process of acquiring the multimedia data through the multimedia device, the multimedia coding data obtained after the acquired multimedia data are coded are stored, the key data information corresponding to the multimedia coding data are stored in the intermediate file, and when the multimedia device is abnormally restarted due to power failure and power outage, the multimedia coding data to be restored and the corresponding intermediate file are provided to implement corresponding multimedia file restoration, so that the multimedia file cannot be played or lost due to the power failure, the power outage and other abnormalities of the multimedia device is avoided.
After step S2100, the flow proceeds to:
step S2200, according to the multimedia coding data to be restored, the restoring time stamp is determined.
The recovery time stamp is used for representing the latest time point corresponding to the multimedia coding data to be recovered.
Multimedia encoded data to be recovered typically has corresponding encoding time information. For example, the multimedia encoded data to be restored is encoded video frame data to be restored, each frame of video frame data has a corresponding video frame timestamp, and the timestamp corresponding to the latest frame of video frame in the video frame data to be restored can be determined as the restoration timestamp. The multimedia encoded data to be restored is the encoded audio frame data to be restored, and can be processed similarly, which is not described herein again.
And step S2300, continuously acquiring multimedia data through the multimedia equipment according to the recovery timestamp, coding the multimedia data to obtain new multimedia coding data, and writing the data key information corresponding to the new multimedia coding data into an intermediate file.
The specific contents of the multimedia encoding data and the data key information are described in detail above, and are not described herein again. It should be understood that the new multimedia encoded data is distinguished from the multimedia encoded data to be restored and the multimedia encoded data that is continuously obtained after the multimedia device is started to restore, but the specific data type is not different from the multimedia encoded data to be restored, the corresponding data key information specifically includes no information type, and only the specific information content may change due to the specific data content change of the multimedia encoded data.
And according to the recovery timestamp, acquiring new multimedia coding data, writing data key information corresponding to the new multimedia coding data into an intermediate file, and by combining subsequent steps, packaging the multimedia coding data to be recovered and the new multimedia coding data according to the intermediate file to obtain a complete target multimedia file capable of being played, so that the recovery of the multimedia coding data to be recovered is realized, and the multimedia file cannot be played or lost due to the abnormality of power failure, crash and the like of equipment is avoided.
In a specific example, step S2300 may include the steps of: steps S2310-S2320.
And 2310, according to the recovery timestamp, correcting the starting timestamp of the multimedia data which is continuously acquired by the multimedia device.
And the multimedia equipment continuously acquires the starting time stamp of the multimedia data, and the starting time stamp corresponds to the starting time stamp of the multimedia data which is continuously acquired by the multimedia equipment and is coded to obtain new multimedia coding data. For example, when the multimedia encoded data is encoded video frame data, the start time stamp may be a time stamp corresponding to a start video frame in the new encoded video frame data. When the multimedia encoded data is encoded audio frame data, similar processing can be performed, which is not described herein.
And the recovery time stamp corresponds to the last time point of the multimedia coding data to be recovered. According to the recovery time error, the initial timestamp is corrected, so that the time sequence of new multimedia coding data obtained based on the initial timestamp is normal in the subsequent steps, the target multimedia file obtained according to the multimedia coding data to be recovered and the new multimedia coding data and recovered correspondingly is not abnormal, and the reliability of file recovery is ensured.
In this example, the step S2310 of performing the correction process for the start timestamp of the multimedia device continuing to acquire the multimedia data according to the recovery timestamp may include: step S2311-step S2312.
At step 2311, a timestamp comparison is performed between the recovery timestamp and the start timestamp.
The recovery timestamp is compared with the start timestamp, and the corresponding result may include that the recovery timestamp is before the start timestamp and the recovery timestamp is after the start timestamp. The recovery timestamp is before the starting timestamp, which means that the multimedia coding data to be recovered corresponding to the recovery timestamp are obtained, and the time sequence between the two is not abnormal before the new multimedia coding data corresponding to the starting timestamp, otherwise, the time sequence between the two is abnormal.
At step 2312, when the recovery timestamp is after the start timestamp, correction processing is performed on the start timestamp so that the corrected start timestamp is after the recovery timestamp.
The recovery timestamp is after the initial timestamp, mean the multimedia coding data of waiting to recover, and the chronogenesis is unusual between the new multimedia coding data, can be through the outside accurate time information who obtains, use the recovery timestamp as the benchmark, carry out correction processing to the initial timestamp, make the initial timestamp after correction processing after the recovery timestamp, obtain based on the initial timestamp after correction processing, the chronogenesis between new multimedia coding data and the multimedia coding data of waiting to recover resumes normally, correspond and obtain according to the multimedia coding data of waiting to recover and new multimedia coding data, the target multimedia file after the recovery can not appear unusually, guarantee the reliability of file recovery.
After step S2310, the process proceeds to:
step 2320, based on the corrected start timestamp, encoding the acquired multimedia data to obtain new multimedia encoded data, and writing the data key information corresponding to the new multimedia encoded data into an intermediate file.
The new multimedia coding data are obtained based on the corrected initial timestamp, so that the new multimedia coding data have a normal time sequence relative to the multimedia coding data to be restored, the restored target multimedia file obtained correspondingly according to the multimedia coding data to be restored and the new multimedia coding data cannot be abnormal, and the reliability of file restoration is ensured.
In a more specific example, step S2320 may include: steps S2321-S2323.
Step 2321, according to the time length between the recovery timestamp and the corrected start timestamp, a default data length is determined.
The processed start timestamp is corrected after the recovery timestamp. The recovery time stamp corresponds to the last time point of the multimedia coding data to be recovered and the corrected starting time stamp of the multimedia coding data before the multimedia equipment is abnormal, and corresponds to the latest time point of the new multimedia coding data after the multimedia equipment is recovered and started. The recovery timestamp and the corrected start timestamp have a corresponding duration, which can be considered as the length of time from the time when the multimedia device is abnormal to the time when the multimedia device is recovered and started, and within the duration, the multimedia device cannot acquire multimedia data.
In this example, the time length between the recovery time stamp and the start time stamp after the correction process may be determined as the corresponding default data length. By determining the default data length, the default multimedia coding data with the default data length can be inserted into the time length corresponding to the default data length and in which the multimedia device cannot acquire the multimedia data, as a part of the new multimedia coding data acquired after the multimedia device is recovered and started, so that the data time sequence between the multimedia coding data to be recovered and the new multimedia coding data is continuous, the target multimedia file obtained by corresponding recovery is decoded and played by a corresponding multimedia player, the played content can be ensured to be continuous and complete, and the file quality of the recovered target multimedia file is improved.
Step 2322, according to the default data length and the acquired default data content, generating default multimedia coding data as new multimedia coding data acquired before the corrected start timestamp, and writing the data key information corresponding to the default multimedia coding data into an intermediate file.
The default data content is multimedia data content with fixed content. The default data content may be stored locally in the multimedia device in a solidified manner, or may be set according to a specific application scenario or application requirements, for example, when the multimedia encoded data is encoded video frame data, the default data content may be video frame content displaying a black picture, or may be blank frame content; for another example, when the encoded multimedia data is encoded audio frame data, the default data content may be silent audio frame content, or may be audio frame content with default sound content.
According to the default data content, default multimedia coding data can be generated by corresponding coding and used as new multimedia coding data acquired after the time stamp is recovered and before the corrected initial time stamp, so that the data time sequence between the multimedia coding data to be recovered and the new multimedia coding data is continuous, a target multimedia file obtained by corresponding recovery can be decoded and played by a corresponding multimedia player, the played content can be ensured to be continuous and complete, and the file quality of the recovered target multimedia file is improved.
In a more specific example, the method for restoring a multimedia file provided in this embodiment may include:
default data content is configured in response to a first external configuration operation.
The first external configuration operation may be a user-implemented text input, voice data, or a human-machine interaction operation such as clicking, checking, etc. on a specific data item. By responding to the first external configuration operation, default data content can be dynamically configured according to the personalized display requirement of the user, so that the target multimedia file is finally recovered, the playable and complete and continuous content can be realized, the personalized display for the user can be realized, and the user experience is improved.
Step 2323, the multimedia data continuously acquired by the multimedia device is encoded to obtain the new multimedia encoded data acquired from the corrected start timestamp, and the data key information corresponding to the new multimedia encoded data is written into the intermediate file.
And after the multimedia recovery is started, the actually obtained new multimedia coding data is used as the new multimedia coding data which is obtained from the corrected initial timestamp, so that the continuity of the whole time sequence of the new multimedia coding data can be ensured after the default multimedia coding data is inserted into the multimedia recovery and started and before the actually obtained new multimedia coding data, the target multimedia file which is obtained by corresponding recovery can be ensured, the target multimedia file which is obtained by corresponding recovery can be decoded and played by a corresponding multimedia player, the played content can be ensured to be continuous and complete, and the file quality of the recovered target multimedia file can be improved.
It should be understood that, in practical applications, according to a specific application scenario or application requirements, the above steps of generating default multimedia encoding data and writing the data key information corresponding to the default multimedia encoding data into the intermediate file are not performed, that is, before the multimedia device is recovered and started after the multimedia device is abnormal, the default multimedia encoding data is inserted into a time period during which the multimedia device cannot acquire multimedia data, and only the target multimedia file finally recovered correspondingly can be decoded and played by a corresponding multimedia player, so as to improve the processing efficiency.
In a more specific example, the method for restoring a multimedia file provided in this embodiment may include:
and responding to a second external configuration operation, and configuring whether to execute the steps of generating default multimedia coding data and writing data key information corresponding to the default multimedia coding data into the intermediate file.
The second externally configured operation may be a user-implemented human-machine interaction operation such as text input, voice data, or clicking, clicking on, etc. a particular data item. By responding to the second external configuration operation, whether corresponding default multimedia coding data is inserted or not can be dynamically configured in an abnormal time period when the multimedia device cannot acquire multimedia data according to the personalized application requirements of the user, so that personalized multimedia file recovery for the user is realized, and the user experience is improved.
After step S2300, the process proceeds to:
and step S2400, after the multimedia device is normally stopped, according to the intermediate file, encapsulating the multimedia coding data to be restored and the acquired new multimedia coding data based on a preset multimedia protocol to obtain a restored target multimedia file.
The normal stop of the multimedia device may be an automatic stop triggered by the multimedia device based on a preset timing mechanism or a termination mechanism, or may be a normal stop based on an external operation performed by a user. For example, when the multimedia device is an image pickup device, the user may operate the image pickup device to stop recording; when the multimedia device is a recording device, the user may operate the recording device to stop recording.
The preset multimedia protocol can be selected according to specific application requirements or application scenes for specific data types of multimedia data.
In this embodiment, after the multimedia device normally stops, the intermediate file has recorded therein data key information corresponding to the multimedia encoded data to be restored and the new multimedia encoded data, and the multimedia encoded data to be restored and the obtained new multimedia encoded data are encapsulated based on a preset multimedia protocol according to the intermediate file to obtain a restored target multimedia file, so that the target multimedia file can be decoded and played by a corresponding multimedia player, thereby realizing the restoration of the multimedia encoded data to be restored and avoiding the loss or the inability to play the multimedia file caused by the abnormality of the multimedia device.
< example >
The method for restoring a multimedia file provided in the present embodiment will be further illustrated with reference to fig. 3. In this example, the multimedia file is a video file, the multimedia device for acquiring the multimedia data is an image capturing device, for example, the image capturing device may be an electronic device such as a camera, a digital camera, or a mobile phone with an image capturing function, and the multimedia encoded data is encoded video frame data.
As shown in fig. 3, the method for restoring a multimedia file includes: steps S201-S211.
In step S201, the image pickup apparatus is normally started to start recording a video.
In step S202, the image capturing apparatus acquires video data and encodes the video data to obtain encoded video frame data.
Step S203 stores the data key information corresponding to the encoded video frame data in an intermediate file.
The data key information may include SPS (sequence parameter set) information, PPS (picture parameter set) information, information of video key frames (e.g., offset of key frames, size of key frames, etc.), and so on. The intermediate file may be saved in a local cache of the camera device.
And step S204, writing the encoded video frame data into a corresponding video data file.
In this example, the video data file may be in a file format selected according to a particular application scenario or application requirements. The encoded video frame data is saved through the data file, and the data storage reliability can be ensured. The video data file may be saved in a local cache of the camera device.
In step S205, the image pickup apparatus is abnormally powered off.
And step S206, the camera equipment is restarted and continues to record the video.
Step S207, the video data file before abnormal power failure and the corresponding intermediate file are read locally.
And storing the video frame data to be recovered and coded in the video data file before abnormal power failure.
Step S208, determining a recovery timestamp according to the latest video frame in the video data file.
Step S209 is to insert the encoded video frame data corresponding to the black frame between the recovery timestamp and the start timestamp of the recovery start of the image capturing apparatus, write the video frame data into the video data file, and write the corresponding key data information into the intermediate file.
And step S210, continuously acquiring video data, coding to obtain new video frame data, writing the new video frame data into a video data file, and writing corresponding key data information into an intermediate file.
Step S211, the image capturing apparatus normally stops, and the encoded video frame data in the video data file is encapsulated into a target multimedia file that can be decoded and played based on a preset multimedia protocol according to the data key information in the intermediate file.
In this example, by setting the video data file to record the encoded video frame data and setting the intermediate file to record the data key information corresponding to the encoded video frame data in the process of recording the video by the image pickup device, the encoded video frame data to be restored recorded in the video data file can be restored according to the intermediate file after the abnormal power failure of the image pickup device, thereby avoiding the loss or the incapability of playing the multimedia file caused by the abnormal image pickup device.
< multimedia File retrieval apparatus >
Fig. 4 shows a block diagram of a multimedia file recovery apparatus according to an embodiment of the present invention. The multimedia file restoration apparatus 4000 includes: the recovery data obtaining module 4100, the timestamp determining module 4200, the data continuing obtaining module 4300, and the file recovery module 4400 are configured to implement the method for recovering a multimedia file provided in this embodiment.
A recovery data obtaining module 4100, configured to obtain multimedia encoded data to be recovered and a corresponding intermediate file when it is detected that the multimedia device is started to recover. The intermediate file comprises data key information corresponding to the multimedia coding data to be restored.
A timestamp determining module 4200, configured to determine a recovery timestamp according to multimedia encoding data to be recovered.
And a data continuous acquisition module 4300, configured to continuously acquire multimedia data through the multimedia device according to the recovery timestamp, perform encoding processing on the multimedia data to obtain new multimedia encoded data, and write data key information corresponding to the new multimedia encoded data into the intermediate file.
The file recovery module 4400 is configured to, after the multimedia device normally stops, package, based on a preset multimedia protocol, the multimedia coding data to be recovered and the acquired new multimedia coding data according to the intermediate file, and obtain a recovered target multimedia file.
Optionally, the apparatus 4000 for restoring a multimedia file further includes:
the data saving module 4500 is configured to, in the process of acquiring multimedia data through a normally started multimedia device, save multimedia encoded data obtained after encoding processing is performed on the acquired multimedia data, and save data key information corresponding to the multimedia encoded data in an intermediate file.
Optionally, the data continuous acquiring module 4300 may include:
and a correction processing unit 4310, configured to perform correction processing on the start timestamp of the multimedia device continuing to acquire the multimedia data according to the recovery timestamp.
A data writing unit 4320, configured to perform encoding processing on the acquired multimedia data based on the corrected start timestamp to obtain new multimedia encoded data, and write data key information corresponding to the new multimedia encoded data into the intermediate file.
Optionally, the data writing unit 4320 may include:
a length determining subunit 4321, configured to determine a default data length according to a time length between the recovery timestamp and the corrected start timestamp.
A first information writing subunit 4322 is configured to generate default multimedia encoded data as new multimedia encoded data acquired before the corrected start timestamp, according to the default data length and the acquired default data content, and write data key information corresponding to the default multimedia encoded data into the intermediate file.
A second information writing subunit 4323, configured to perform encoding processing on the multimedia data that is continuously acquired by the multimedia device, to obtain new multimedia encoded data that is acquired from the corrected start timestamp, and write the data key information corresponding to the new multimedia encoded data into the intermediate file.
Optionally, the data writing unit 4320 may further include:
a first configuration subunit 4324, configured to configure default data content in response to a first external configuration operation. And/or the presence of a gas in the gas,
a second configuring subunit 4325, configured, in response to the second external configuring operation, whether to perform generating default multimedia encoding data, writing data key information corresponding to the default multimedia encoding data into the intermediate file.
Alternatively, the correction processing unit 4310 may include:
a comparison sub-unit 4311 for comparing the recovery timestamp with the start timestamp.
A syndrome unit 4312 configured to perform correction processing on the start time error when the recovery time stamp is after the start time stamp, so that the corrected start time error is after the recovery time stamp.
In this embodiment, the multimedia device may include an image pickup device; the multimedia encoding data may include encoded video frame data; the data key information may include key information of the video frame data. And/or, the multimedia device may comprise a sound recording device; the multimedia encoded data may include encoded audio frame data; the data key information may include key information of the audio frame data.
It will be understood by those skilled in the art that the multimedia file restoration apparatus 4000 may be implemented in various ways. For example, the recovery apparatus 4000 for multimedia files may be implemented by an instruction configuration processor. For example, the instructions may be stored in ROM and read from ROM into a programmable device when the device is started to implement the multimedia file recovery apparatus 4000. For example, the multimedia file restoration apparatus 4000 may be solidified into a dedicated device (e.g., ASIC). The restoring apparatus 4000 for multimedia files may be divided into units independent of each other or may be implemented by combining them together. The multimedia file restoration apparatus 4000 may be implemented by one of the various implementations described above, or may be implemented by a combination of two or more of the various implementations described above.
In this embodiment, the multimedia file restoration apparatus 4000 may have various embodiments. For example, the restoring means 4000 for multimedia files may be a software means or a functional module provided in the multimedia device, or the restoring means 4000 for multimedia files may be a patch, a plug-in, an insert, or the like, which may be loaded or embedded in the multimedia device. The multimedia device may be a sound recording device, an image pickup device, or an electronic device having both a sound recording function and an image pickup function. The recording device may include a microphone, a recording pen, etc. The image pickup apparatus may include a video camera, a digital camera, a camera, and the like.
Fig. 5 shows another block diagram of a multimedia file recovery apparatus according to an embodiment of the present invention. As shown in fig. 5, the multimedia file restoration apparatus 5000 includes:
memory 5010 is used to store executable instructions.
The processor 5020 is configured to execute any one of the above methods for acquiring a multimedia file according to the control of the executable instructions.
In the present embodiment, the multimedia file restoration apparatus 5000 may be a device having at least one of an image pickup device and a sound recording device. The recording device may include a microphone, a recording pen, etc. The image pickup apparatus may include a video camera, a digital camera, a camera, and the like. The multimedia file restoration apparatus 5000 may further include other apparatuses, for example, as shown in fig. 1.
The embodiment of the present invention further provides a multimedia file recovery device 6000, including:
and the multimedia device 6010 is configured to acquire multimedia data.
A multimedia file restoring apparatus 4000 as shown in fig. 4, or a multimedia file restoring apparatus 5000 as shown in fig. 5.
In this embodiment, the multimedia device may be a sound recording device, an image pickup device, or an electronic device having both a sound recording function and an image pickup function. The recording device may include a microphone, a recording pen, etc. The image pickup apparatus may include a video camera, a digital camera, a camera, and the like.
The invention also provides a readable storage medium, which stores a computer program that can be read and run by a computer, and the computer program is used for executing the multimedia file recovery method provided by the embodiment of the invention when the computer program is read and run by the computer.
The readable storage medium may be a tangible device that can hold and store instructions for use by an instruction execution device. The readable storage medium may be, for example, but not limited to, an electronic memory device, a magnetic memory device, an optical memory device, an electromagnetic memory device, a semiconductor memory device, or any suitable combination of the foregoing. More specific examples (a non-exhaustive list) of the readable storage medium include: a portable computer diskette, a hard disk, a Random Access Memory (RAM), a read-only memory (ROM), an erasable programmable read-only memory (EPROM or flash memory), a Static Random Access Memory (SRAM), a portable compact disc read-only memory (CD-ROM), a Digital Versatile Disc (DVD), a memory stick, a floppy disk, a mechanical coding device, such as punch cards or in-groove projection structures having instructions stored thereon, and any suitable combination of the foregoing. A readable storage medium as used herein is not to be construed as a transitory signal per se, such as a radio wave or other freely propagating electromagnetic wave, an electromagnetic wave propagating through a waveguide or other transmission medium (e.g., a light pulse through a fiber optic cable), or an electrical signal transmitted through an electrical wire.
The method, the apparatus, and the device for recovering a multimedia file provided in this embodiment have been described with reference to the accompanying drawings and examples, where when it is detected that a multimedia device is started to recover, multimedia encoded data and an intermediate file are obtained, a recovery timestamp is determined according to multimedia encoded data to be recovered in the intermediate file, multimedia data is continuously obtained by the multimedia device according to the recovery timestamp, the newly obtained multimedia data is written into the intermediate file, and after the multimedia device is normally stopped, the multimedia encoded data to be recovered and the obtained new multimedia encoded data are encapsulated according to the intermediate file, so as to obtain a target multimedia file that is recovered and can be completely played, thereby preventing the multimedia file from being unable to be played or lost due to abnormalities such as power failure and crash of the device.
It will be appreciated by those skilled in the art that the recovery data acquisition module 4100, and/or the timestamp determination module 4200, and/or the data continue acquisition module 4300, and/or the file recovery module 4400 may be implemented in a variety of ways. For example, the recovery data acquisition module 4100, and/or the timestamp determination module 4200, and/or the data resume acquisition module 4300, and/or the file recovery module 4400 may be implemented by an instruction configuration processor. For example, instructions may be stored in ROM and read from ROM into a programmable device to implement the recovery data acquisition module 4100, and/or the timestamp determination module 4200, and/or the data resume acquisition module 4300, and/or the file recovery module 4400 when the device is started. For example, the recovery data acquisition module 4100, and/or the timestamp determination module 4200, and/or the data resume acquisition module 4300, and/or the file recovery module 4400 may be incorporated into a dedicated device (e.g., an ASIC). The recovery data retrieving module 4100, and/or the timestamp determining module 4200, and/or the data continue retrieving module 4300, and/or the file recovering module 4400 may be separated into separate modules or may be implemented in combination. The recovery data acquisition module 4100, and/or the timestamp determination module 4200, and/or the data continuation acquisition module 4300, and/or the file recovery module 4400 may be implemented by one of the various implementations described above, or may be implemented by a combination of two or more of the various implementations described above.
The present invention may be a system, method and/or computer program product. The computer program product may include a computer-readable storage medium having computer-readable program instructions embodied therewith for causing a processor to implement various aspects of the present invention.
The computer readable storage medium may be a tangible device that can hold and store the instructions for use by the instruction execution device. The computer readable storage medium may be, for example, but not limited to, an electronic memory device, a magnetic memory device, an optical memory device, an electromagnetic memory device, a semiconductor memory device, or any suitable combination of the foregoing. More specific examples (a non-exhaustive list) of the computer readable storage medium would include the following: a portable computer diskette, a hard disk, a Random Access Memory (RAM), a read-only memory (ROM), an erasable programmable read-only memory (EPROM or flash memory), a Static Random Access Memory (SRAM), a portable compact disc read-only memory (CD-ROM), a Digital Versatile Disc (DVD), a memory stick, a floppy disk, a mechanical coding device, such as punch cards or in-groove projection structures having instructions stored thereon, and any suitable combination of the foregoing. Computer-readable storage media as used herein is not to be construed as transitory signals per se, such as radio waves or other freely propagating electromagnetic waves, electromagnetic waves propagating through a waveguide or other transmission medium (e.g., optical pulses through a fiber optic cable), or electrical signals transmitted through electrical wires.
The computer-readable program instructions described herein may be downloaded from a computer-readable storage medium to a respective computing/processing device, or to an external computer or external storage device via a network, such as the internet, a local area network, a wide area network, and/or a wireless network. The network may include copper transmission cables, fiber optic transmission, wireless transmission, routers, firewalls, switches, gateway computers and/or edge servers. The network adapter card or network interface in each computing/processing device receives computer-readable program instructions from the network and forwards the computer-readable program instructions for storage in a computer-readable storage medium in the respective computing/processing device.
The computer program instructions for carrying out operations of the present invention may be assembler instructions, Instruction Set Architecture (ISA) instructions, machine-related instructions, microcode, firmware instructions, state setting data, or source or object code written in any combination of one or more programming languages, including an object oriented programming language such as Smalltalk, C + + or the like and conventional procedural programming languages, such as the "C" programming language or similar programming languages. The computer-readable program instructions may execute entirely on the user's computer, partly on the user's computer, as a stand-alone software package, partly on the user's computer and partly on a remote computer or entirely on the remote computer or server. In the case of a remote computer, the remote computer may be connected to the user's computer through any type of network, including a Local Area Network (LAN) or a Wide Area Network (WAN), or the connection may be made to an external computer (for example, through the Internet using an Internet service provider). In some embodiments, aspects of the present invention are implemented by personalizing an electronic circuit, such as a programmable logic circuit, a Field Programmable Gate Array (FPGA), or a Programmable Logic Array (PLA), with state information of computer-readable program instructions, which can execute the computer-readable program instructions.
Aspects of the present invention are described herein with reference to flowchart illustrations and/or block diagrams of methods, apparatus (systems) and computer program products according to embodiments of the invention. It will be understood that each block of the flowchart illustrations and/or block diagrams, and combinations of blocks in the flowchart illustrations and/or block diagrams, can be implemented by computer-readable program instructions.
These computer-readable program instructions may be provided to a processor of a general purpose computer, special purpose computer, or other programmable data processing apparatus to produce a machine, such that the instructions, which execute via the processor of the computer or other programmable data processing apparatus, create means for implementing the functions/acts specified in the flowchart and/or block diagram block or blocks. These computer-readable program instructions may also be stored in a computer-readable storage medium that can direct a computer, programmable data processing apparatus, and/or other devices to function in a particular manner, such that the computer-readable medium storing the instructions comprises an article of manufacture including instructions which implement the function/act specified in the flowchart and/or block diagram block or blocks.
The computer readable program instructions may also be loaded onto a computer, other programmable data processing apparatus, or other devices to cause a series of operational steps to be performed on the computer, other programmable apparatus or other devices to produce a computer implemented process such that the instructions which execute on the computer, other programmable apparatus or other devices implement the functions/acts specified in the flowchart and/or block diagram block or blocks.
The flowchart and block diagrams in the figures illustrate the architecture, functionality, and operation of possible implementations of systems, methods and computer program products according to various embodiments of the present invention. In this regard, each block in the flowchart or block diagrams may represent a module, segment, or portion of instructions, which comprises one or more executable instructions for implementing the specified logical function(s). In some alternative implementations, the functions noted in the block may occur out of the order noted in the figures. For example, two blocks shown in succession may, in fact, be executed substantially concurrently, or the blocks may sometimes be executed in the reverse order, depending upon the functionality involved. It will also be noted that each block of the block diagrams and/or flowchart illustration, and combinations of blocks in the block diagrams and/or flowchart illustration, can be implemented by special purpose hardware-based systems which perform the specified functions or acts, or combinations of special purpose hardware and computer instructions. It is well known to those skilled in the art that implementation by hardware, by software, and by a combination of software and hardware are equivalent.
Having described embodiments of the present invention, the foregoing description is intended to be exemplary, not exhaustive, and not limited to the embodiments disclosed. Many modifications and variations will be apparent to those of ordinary skill in the art without departing from the scope and spirit of the described embodiments. The terminology used herein is chosen in order to best explain the principles of the embodiments, the practical application, or improvements made to the technology in the marketplace, or to enable others of ordinary skill in the art to understand the embodiments disclosed herein. The scope of the invention is defined by the appended claims.

Claims (8)

1. A method for restoring a multimedia file, comprising:
when the recovery start of the multimedia equipment is detected, acquiring multimedia coding data to be recovered and a corresponding intermediate file; the intermediate file comprises data key information corresponding to the multimedia coding data to be restored;
determining a recovery time stamp according to the multimedia coding data to be recovered;
according to the recovery timestamp, multimedia data are continuously obtained through the multimedia equipment, coding processing is carried out on the multimedia data, new multimedia coding data are obtained, and data key information corresponding to the new multimedia coding data is written into the intermediate file;
after the multimedia equipment normally stops, according to the intermediate file, packaging the multimedia coding data to be recovered and the acquired new multimedia coding data based on a preset multimedia protocol to obtain a recovered target multimedia file;
the step of continuously acquiring multimedia data through the multimedia device according to the recovery timestamp, performing encoding processing on the multimedia data to obtain new multimedia encoding data, and writing data key information corresponding to the new multimedia encoding data into the intermediate file includes:
according to the recovery time stamp, correcting the starting time stamp of the multimedia data continuously acquired by the multimedia equipment;
based on the corrected starting timestamp, encoding the acquired multimedia data to obtain new multimedia encoding data, and writing data key information corresponding to the new multimedia encoding data into the intermediate file;
the encoding processing is performed on the acquired multimedia data based on the corrected start timestamp to obtain new multimedia encoding data, and data key information corresponding to the new multimedia encoding data is written into the intermediate file, including:
determining a default data length according to the time length between the recovery timestamp and the corrected starting timestamp;
generating default multimedia coding data according to the default data length and the acquired default data content, wherein the default multimedia coding data is used as the new multimedia coding data acquired before the corrected starting timestamp, and writing data key information corresponding to the default multimedia coding data into the intermediate file;
and coding the multimedia data continuously acquired by the multimedia equipment to obtain the new multimedia encoding data acquired from the corrected starting timestamp, and writing the data key information corresponding to the new multimedia encoding data into the intermediate file.
2. The method of claim 1, further comprising:
in the process of acquiring multimedia data through the normally started multimedia equipment, storing multimedia coding data obtained after the acquired multimedia data are coded, and storing data key information corresponding to the multimedia coding data in the intermediate file.
3. The method of claim 1, further comprising:
configuring the default data content in response to a first external configuration operation;
and/or the presence of a gas in the gas,
and responding to a second external configuration operation, and configuring whether to execute the steps of generating default multimedia coding data and writing data key information corresponding to the default multimedia coding data into the intermediate file.
4. The method according to claim 1, wherein said performing a correction process on the starting timestamp of the multimedia device continuing to acquire multimedia data according to the recovery timestamp comprises:
comparing the recovery timestamp with the starting timestamp;
when the recovery time stamp is after the start time stamp, correction processing is performed on the start time stamp so that the start time stamp after correction processing is after the recovery time stamp.
5. The method of claim 1,
the multimedia device comprises a camera device; the multimedia coding data comprises coded video frame data; the data key information comprises key information of video frame data;
and/or the presence of a gas in the gas,
the multimedia device comprises a recording device; the multimedia coding data comprises coded audio frame data; the data key information includes key information of audio frame data.
6. An apparatus for restoring a multimedia file, comprising:
the recovery data acquisition module is used for acquiring multimedia coding data to be recovered and a corresponding intermediate file when the recovery start of the multimedia equipment is detected; the intermediate file comprises data key information corresponding to the multimedia coding data to be restored;
the time stamp determining module is used for determining a recovery time stamp according to the multimedia coding data to be recovered;
a data continuous acquisition module, configured to continuously acquire multimedia data through the multimedia device according to the recovery timestamp, perform encoding processing on the multimedia data to obtain new multimedia encoded data, and write data key information corresponding to the new multimedia encoded data into the intermediate file;
the file recovery module is used for encapsulating the multimedia coding data to be recovered and the acquired new multimedia coding data based on a preset multimedia protocol according to the intermediate file after the multimedia equipment is normally stopped to obtain a recovered target multimedia file;
wherein, the data continuous acquisition module comprises:
the starting time stamp correcting unit is used for correcting the starting time stamp of the multimedia data continuously acquired by the multimedia equipment according to the recovery time stamp;
the encoding unit is used for encoding the acquired multimedia data based on the corrected starting timestamp to obtain new multimedia encoded data, and writing data key information corresponding to the new multimedia encoded data into the intermediate file;
wherein the encoding unit includes:
a default data length determining subunit, configured to determine a default data length according to a time length between the recovery timestamp and the corrected start timestamp;
an encoding subunit 1, configured to generate default multimedia encoded data according to the default data length and the acquired default data content, to serve as the new multimedia encoded data acquired before the corrected start timestamp, and write data key information corresponding to the default multimedia encoded data into the intermediate file;
and the encoding subunit 2 is configured to perform encoding processing on the multimedia data that is continuously acquired by the multimedia device, obtain the new multimedia encoded data that is acquired from the corrected start timestamp, and write data key information corresponding to the new multimedia encoded data into the intermediate file.
7. An apparatus for restoring a multimedia file, comprising:
a memory for storing executable instructions;
a processor for executing the method for restoring a multimedia file according to any one of claims 1 to 5, under the control of the executable instructions.
8. A multimedia file recovery apparatus, comprising:
the multimedia equipment is used for acquiring multimedia data;
a multimedia file restoration apparatus as claimed in claim 6 or 7.
CN201910556200.8A 2019-06-25 2019-06-25 Multimedia file recovery method, device and equipment Active CN110336804B (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN201910556200.8A CN110336804B (en) 2019-06-25 2019-06-25 Multimedia file recovery method, device and equipment

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN201910556200.8A CN110336804B (en) 2019-06-25 2019-06-25 Multimedia file recovery method, device and equipment

Publications (2)

Publication Number Publication Date
CN110336804A CN110336804A (en) 2019-10-15
CN110336804B true CN110336804B (en) 2021-10-08

Family

ID=68142324

Family Applications (1)

Application Number Title Priority Date Filing Date
CN201910556200.8A Active CN110336804B (en) 2019-06-25 2019-06-25 Multimedia file recovery method, device and equipment

Country Status (1)

Country Link
CN (1) CN110336804B (en)

Families Citing this family (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN113613088A (en) * 2021-08-02 2021-11-05 安徽文香科技有限公司 MP4 file repairing method and device, electronic equipment and readable storage medium

Citations (7)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN101350211A (en) * 2007-07-20 2009-01-21 蒂雅克股份有限公司 Optical disk drive
CN101909189A (en) * 2010-07-22 2010-12-08 杭州海康威视数字技术股份有限公司 File recovery method, system and DVR (Digital Video Recorder)
JP2011091723A (en) * 2009-10-26 2011-05-06 Panasonic Corp Video recording device and external terminal
CN102065372A (en) * 2009-11-16 2011-05-18 中国移动通信集团公司 Method for transmitting data in broadcast mode and related device
CN102280125A (en) * 2011-04-25 2011-12-14 杭州海康威视数字技术股份有限公司 Method for restoring lost data in abnormal shutdown and hard-disk recorder
CN108521551A (en) * 2018-05-14 2018-09-11 河北远东通信系统工程有限公司 A kind of network real-time video recording and storing method and system and file access pattern method
CN109729319A (en) * 2019-01-21 2019-05-07 山东劳动职业技术学院(山东劳动技师学院) A kind of implementation method that the video file suspension of monitoring device resumes

Patent Citations (7)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN101350211A (en) * 2007-07-20 2009-01-21 蒂雅克股份有限公司 Optical disk drive
JP2011091723A (en) * 2009-10-26 2011-05-06 Panasonic Corp Video recording device and external terminal
CN102065372A (en) * 2009-11-16 2011-05-18 中国移动通信集团公司 Method for transmitting data in broadcast mode and related device
CN101909189A (en) * 2010-07-22 2010-12-08 杭州海康威视数字技术股份有限公司 File recovery method, system and DVR (Digital Video Recorder)
CN102280125A (en) * 2011-04-25 2011-12-14 杭州海康威视数字技术股份有限公司 Method for restoring lost data in abnormal shutdown and hard-disk recorder
CN108521551A (en) * 2018-05-14 2018-09-11 河北远东通信系统工程有限公司 A kind of network real-time video recording and storing method and system and file access pattern method
CN109729319A (en) * 2019-01-21 2019-05-07 山东劳动职业技术学院(山东劳动技师学院) A kind of implementation method that the video file suspension of monitoring device resumes

Also Published As

Publication number Publication date
CN110336804A (en) 2019-10-15

Similar Documents

Publication Publication Date Title
CN107087101B (en) Apparatus and method for providing dynamic panorama function
US20170168542A1 (en) Method for playing video and electronic device
CN104869305B (en) Method and apparatus for processing image data
CN108259991B (en) Video processing method and device
CN104484200A (en) Method and device for updating firmware
JP6284931B2 (en) Multiple video playback method and apparatus
CN104169913A (en) A picture display method and device and a terminal device
CN106782576B (en) Audio mixing method and device
CN110781349A (en) Method, equipment, client device and electronic equipment for generating short video
CN113645481A (en) Video recording method, camera equipment, control terminal and video recording system
WO2016095452A1 (en) Firmware refreshing method and apparatus
CN110336804B (en) Multimedia file recovery method, device and equipment
WO2017124897A1 (en) Terminal, method for video frame positioning by terminal, and computer storage medium
EP3449636B1 (en) Display apparatus and content display method thereof
CN108469991B (en) Multimedia data processing method and device
US10133408B2 (en) Method, system and computer program product
US11049257B2 (en) Data structure, information processing apparatus, and control method thereof
CN109756783B (en) Poster generation method and device
CN105095026A (en) Superblock repair method and apparatus for EXT file system and intelligent device
CN105446835A (en) Method and device for repairing system file
CN108255917B (en) Image management method and device and electronic device
US9225931B2 (en) Moving image data recording apparatus
US11830480B2 (en) Systems and methods for accelerating automatic speech recognition based on compression and decompression
KR20190109046A (en) Method for detecting black-bar included in video content and electronic device thereof
CN204795352U (en) Video -audio recorder

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