CN106534748A - Media file recording and playing method and terminal - Google Patents

Media file recording and playing method and terminal Download PDF

Info

Publication number
CN106534748A
CN106534748A CN201611086333.6A CN201611086333A CN106534748A CN 106534748 A CN106534748 A CN 106534748A CN 201611086333 A CN201611086333 A CN 201611086333A CN 106534748 A CN106534748 A CN 106534748A
Authority
CN
China
Prior art keywords
file
clear stream
video
audio frequency
attribute information
Prior art date
Legal status (The legal status is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the status listed.)
Granted
Application number
CN201611086333.6A
Other languages
Chinese (zh)
Other versions
CN106534748B (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.)
Hisense Mobile Communications Technology Co Ltd
Original Assignee
Hisense Mobile Communications 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 Hisense Mobile Communications Technology Co Ltd filed Critical Hisense Mobile Communications Technology Co Ltd
Priority to CN201611086333.6A priority Critical patent/CN106534748B/en
Publication of CN106534748A publication Critical patent/CN106534748A/en
Application granted granted Critical
Publication of CN106534748B publication Critical patent/CN106534748B/en
Active legal-status Critical Current
Anticipated expiration legal-status Critical

Links

Classifications

    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04NPICTORIAL COMMUNICATION, e.g. TELEVISION
    • H04N21/00Selective content distribution, e.g. interactive television or video on demand [VOD]
    • H04N21/40Client devices specifically adapted for the reception of or interaction with content, e.g. set-top-box [STB]; Operations thereof
    • H04N21/43Processing of content or additional data, e.g. demultiplexing additional data from a digital video stream; Elementary client operations, e.g. monitoring of home network or synchronising decoder's clock; Client middleware
    • H04N21/433Content storage operation, e.g. storage operation in response to a pause request, caching operations
    • H04N21/4334Recording operations
    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04NPICTORIAL COMMUNICATION, e.g. TELEVISION
    • H04N21/00Selective content distribution, e.g. interactive television or video on demand [VOD]
    • H04N21/40Client devices specifically adapted for the reception of or interaction with content, e.g. set-top-box [STB]; Operations thereof
    • H04N21/43Processing of content or additional data, e.g. demultiplexing additional data from a digital video stream; Elementary client operations, e.g. monitoring of home network or synchronising decoder's clock; Client middleware
    • H04N21/433Content storage operation, e.g. storage operation in response to a pause request, caching operations
    • H04N21/4333Processing operations in response to a pause request
    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04NPICTORIAL COMMUNICATION, e.g. TELEVISION
    • H04N21/00Selective content distribution, e.g. interactive television or video on demand [VOD]
    • H04N21/40Client devices specifically adapted for the reception of or interaction with content, e.g. set-top-box [STB]; Operations thereof
    • H04N21/43Processing of content or additional data, e.g. demultiplexing additional data from a digital video stream; Elementary client operations, e.g. monitoring of home network or synchronising decoder's clock; Client middleware
    • H04N21/433Content storage operation, e.g. storage operation in response to a pause request, caching operations
    • H04N21/4335Housekeeping operations, e.g. prioritizing content for deletion because of storage space restrictions
    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04NPICTORIAL COMMUNICATION, e.g. TELEVISION
    • H04N5/00Details of television systems
    • H04N5/76Television signal recording

Landscapes

  • Engineering & Computer Science (AREA)
  • Multimedia (AREA)
  • Signal Processing (AREA)
  • Management Or Editing Of Information On Record Carriers (AREA)
  • Signal Processing For Digital Recording And Reproducing (AREA)

Abstract

The invention provides a media file recording and playing method and terminal, wherein the media file recording and playing method comprises the following steps of: when video clear data and audio clear data are encapsulated and stored as a multi-media file, storing the video clear data as a video clear file and/or storing the audio clear data as an audio clear file; if an abnormal instruction is received, selecting the video clear file and/or the audio clear file as a target file; and, if a recording stopping instruction is received, generating media attribute information according to the video clear data and the audio clear data encapsulated and stored in the multi-media file, and taking the multi-media file including the media attribute information as the target file. By means of the method, when an unexpected condition occurs, the media attribute information is not stored in the multi-media file, and the multi-media file cannot be played according to the media attribute information, a scene can be rapidly restored by playing the backup stored video clear file and/or the audio clear file.

Description

The recording player method of media file and terminal
Technical field
The present invention relates to multimedia equipment technical field, the recording player method of more particularly to a kind of media file and end End.
Background technology
Drive recorder is the electronic equipment for recording driving road-condition, and the video-audio information that shooting is obtained can be deposited by which Store up as multimedia file.When there is traffic accident, multimedia file can be used as the evidence of the reduction scene of the accident.According to prior art Understand, when normally using, drive recorder can start the multimedia file for preserving that flow process preservation includes media attribute information, and root Multimedia file is played according to media attribute information decoding.And when there are the contingencies such as power-off, drive recorder cannot start Preserve flow process media attribute information to be preserved into multimedia file.As no corresponding media attribute information is used as reference, Drive recorder also cannot just decode broadcasting multimedia file.
Prior art provides a kind of method recovered to the multimedia file for lacking media attribute information, this method Reference paper is recorded using identical device first, recovers aforementioned multimedia file further according to the media attribute information of reference paper.And Because multimedia file recovers to need to carry out the reading of heap file information and data are calculated, aforementioned multimedia file restoration methods are only Can apply in the higher equipment of hardware configuration.When there are the accidents such as traffic accident, have using drive recorder etc. eventually End is quick to play media file, the demand of the reduction scene of the accident;And as the terminal hardwares such as drive recorder configure not high, institute Aforementioned need can not be met with aforementioned multimedia file restoration methods.
The content of the invention
There are the contingencies such as power-off to solve the relatively low terminals of hardware configuration such as drive recorder, it is impossible to quick and convenient Ground recovers multimedia file, quickly reduces then the problem at scene, and the present invention provides a kind of recording player method of media file, The another present invention also provides a kind of recording playback terminal of the media file for realizing preceding method.
The present invention provides a kind of recording player method of media file, comprises the following steps:
Collection video data, according to the first coding rule by the video data encoding be video clear stream data, gather sound Frequency according to, according to the second coding rule by the audio data coding be audio frequency clear stream data;
It is multimedia file by video clear stream data and audio frequency clear stream data sealed storage;
By the video clear stream data storage be video clear stream file and/or by the audio frequency clear stream data storage be audio frequency Clear stream file;
If receiving exceptional instructions, the video clear stream file and/or the audio frequency clear stream file are selected as target File;
The video clear stream number if receiving recording halt instruction, according to sealed storage in the multimedia file According to the audio frequency clear stream data genaration media attribute information, and by the media attribute information store to the multimedia text Part, and the multimedia file comprising the media attribute information is selected as file destination;
After receiving play instruction, the file destination is played.
Optionally, the media attribute information is stored to the multimedia file, is also included:
Delete the video clear stream file and/or the audio frequency clear stream file.
Optionally, the deletion video clear stream file and/or the audio frequency clear stream file include part:
Whether the media attribute information verified in the multimedia file correctly stores;
If the media attribute information is correctly stored, the video clear stream file and/or audio frequency clear stream text are deleted Part.
Optionally, play the file destination to be specially:
If the file destination is the video clear stream file and/or the audio frequency clear stream file, according to described the The video clear stream file is played in the corresponding decoding rule decoding of one coding rule, and/or, according to second coding rule The audio frequency clear stream file is played in corresponding decoding rule decoding;
If the file destination is the multimedia file, many matchmakers are played according to media attribute information decoding Body file.
The present invention also provides a kind of recording playback terminal of media file, including:
Video acquisition unit, for gathering video data;
Audio collection unit, for gathering voice data;
Video encoding unit, for according to the first coding rule by the video data encoding be video clear stream data;
Audio coding unit, for according to the second coding rule by the audio data coding be audio frequency clear stream data;
Multimedia file memory cell, for being many matchmakers by the video clear stream data and audio frequency clear stream data sealed storage Body file;
Clear stream memory cell, for being video clear stream file and/or by the audio frequency by the video clear stream data storage Clear stream data storage is audio frequency clear stream file;
Medium property computing unit, for literary to the multimedia according to sealed storage after recording halt instruction is received The video clear stream data and the audio frequency clear stream data genaration media attribute information in part;
Attribute information memory cell, for the media attribute information is stored to the multimedia file;
Select unit, for the video clear stream file and/or the audio frequency clear stream are selected when exceptional instructions are received File is used as file destination, and the text of the multimedia comprising the media attribute information is selected when receiving and recording halt instruction Part is used as file destination;
Broadcast unit, for playing the file destination.
Optionally, the recording playback terminal also includes:
Clear stream deletes unit, deletes the video for storing to the multimedia file in the media attribute information Clear stream file and/or the audio frequency clear stream file.
Optionally, the media attribute information that the clear stream deletes that unit is additionally operable to verify in the multimedia file is No correct storage, and the video clear stream file and/or the audio frequency clear stream file are deleted in a case of yes.
Optionally, it is if the file destination is the video clear stream file and/or the audio frequency clear stream file, described to broadcast Put unit the video clear stream file is played according to decoding rule decoding corresponding with first coding rule, and/or, according to The audio frequency clear stream file is played in decoding rule decoding corresponding with second coding rule;
If the file destination is the multimedia file, the broadcast unit is decoded according to the media attribute information Play the multimedia file.
The recording player method and terminal of the media file that the present invention is provided, by video clear stream data and audio frequency clear stream number While according to multimedia file is encapsulated as, it is independent video clear stream file by video clear stream data and audio frequency clear stream data storage With audio frequency clear stream file (one kind in video clear stream file and audio frequency clear stream file also can be only stored during certain applications occasion).Such as When fruit multi-media recording terminal the abnormal conditions such as power-off occurs, receives exceptional instructions then, in multimedia file without storage just True media attribute information, then can carry out decoding broadcasting as file destination using video clear stream file and audio frequency clear stream file;And Receive it is normal when recording halt instruction, media attribute information and storing to multimedia file, then can using multimedia file as File destination carries out decoding broadcasting.Using preceding method, by backing up storage video clear stream file and/or audio frequency clear stream file, When can avoid the occurrence of fortuitous event, it is impossible to quickly play video and/or audio, the problem at quick reduction scene.
Description of the drawings
To be illustrated more clearly that background technology or technical scheme, below to prior art or specific embodiment In the accompanying drawing that is used in combination be briefly described;It should be evident that below in conjunction with the accompanying drawing side of being only for of specific embodiment Just understand the embodiment of the present invention, for those of ordinary skill in the art, on the premise of not paying creative work, may be used also To obtain other accompanying drawings according to these accompanying drawings;
Fig. 1 is the recording player method flow chart of media file in the embodiment of the present invention;
Fig. 2 is the composition schematic diagram of the recording playback terminal of media file in the embodiment of the present invention;
Wherein:1- records playback terminal, 101- video acquisition units, 102- audio collection units, 103- Video coding lists Unit, 104- audio coding units, 105- multimedia file memory cell, 106- clear stream memory cell, 107- medium properties are calculated Unit, 108- attribute information memory cell, 109- select units, 110- broadcast units, 111- clear streams delete unit.
Specific embodiment
The present invention provides a kind of recording player method of media file, is avoided out by way of backing up storage clear stream file During existing fortuitous event, multimedia file does not have full storage, can not play video and audio frequency reduction contingency scene by quick Problem.In addition, the present invention also provides a kind of recording playback terminal for realizing aforementioned media document recording player method.
In order that those skilled in the art more fully understand the technical scheme in the present invention, below in conjunction with of the invention real The accompanying drawing in example is applied, the technical scheme in the embodiment of the present invention is clearly and completely described, it is clear that described enforcement Example is only a part of embodiment of the invention, rather than the embodiment of whole.Based on the embodiment in the present invention, this area is common The every other embodiment obtained under the premise of creative work is not made by technical staff, should all belong to protection of the present invention Scope.
Fig. 1 is the recording player method flow chart of media file in the embodiment of the present invention.Such as the matchmaker that Fig. 1, the present invention are provided The recording player method of body file is comprised the following steps.
S101:Collection video data, according to the first coding rule by video data encoding be video clear stream data, gather sound Frequency according to, according to the second coding rule by audio data coding be audio frequency clear stream data.
The purpose of video data and audio data coding is to reduce the size of two kinds of formatted files, being easy to subsequent file Storage.By taking the recording and storing method of the MP4 files of current main flow as an example, can be using H.264 Video coding rule to video counts According to being compressed coding, making the video clear stream data that video data encoding is H.264 form, Advanced Audio Coding can be adopted (Advanced Audio Coding, AAC) rule is compressed coding, makes audio data coding be AAC forms to voice data Audio frequency clear stream data.
S102:It is multimedia file by video clear stream data and audio frequency clear stream data sealed storage;And, by video clear stream Data storage is video clear stream file and is audio frequency clear stream file by audio frequency clear stream data storage.
After video data encoding is video clear stream data, after audio data coding is audio frequency clear stream data, terminal is according to pre- Set pattern then carries out hybrid package to video clear stream data and audio frequency clear stream data, forms the multimedia file of audio-visual synchronization.Together When, video clear stream data are also separately stored as video clear stream file, audio frequency clear stream data are separately stored as sound by terminal device Frequency clear stream file.
S103:Instruction to receiving judges.If instruction is exceptional instructions, S104 is performed;If instruction is recording Halt instruction, then perform S105-S107.
S104:Video clear stream file and audio frequency clear stream file are selected as file destination.
S105:According to sealed storage to the video clear stream data in the multimedia file and audio frequency clear stream data genaration matchmaker Body attribute information.
S106:Media attribute information is stored to multimedia file.
S107:The multimedia file comprising media attribute information is selected as file destination.
S108:After receiving play instruction, the file destination is played.
For ease of understanding this method, structure first to multimedia file, video clear stream file and audio frequency clear stream file herein Simple introduction is done with composition.Multimedia file is the file for encapsulating video clear stream data and audio frequency clear stream data, and sound is regarded Frequency keeps synchronous, complete multimedia file also to include the media attribute information being arranged in multimedia file head, such as code check With the parameter such as compression algorithm;Need to decode multimedia file according to media attribute information when playing multimedia file.Depending on Frequency clear stream file is the file only including video clear stream data, and audio frequency clear stream file is the file only including audio frequency clear stream data, Therefore corresponding coding rule need to only be known when playing to video clear stream file and/or audio frequency clear stream file decoding.
When terminal device receives exceptional instructions (such as because of the instruction received situations such as power-off), because multimedia is literary Media attribute information in part is not also generated and is stored in multimedia file, so subsequently cannot be believed according to medium property Breath decoding plays out video clear stream data and audio frequency clear stream data in multimedia file.Now, only included due to stored The video clear stream file of video clear stream data and only the audio frequency clear stream file comprising audio frequency clear stream data, and video clear stream file Can using it is corresponding with the first coding rule decoding rule decoding play, audio frequency clear stream file can using with the second coding rule pair The decoding rule decoding answered is played, so video clear stream file and audio frequency clear stream file may be selected as file destination.
And after receiving recording halt instruction, video clear stream data and sound that can be according to sealed storage in multimedia file Frequency clear stream data genaration media attribute information simultaneously stores media attribute information in the file header of multimedia file.Subsequently may be used The multimedia file for including video clear stream data and audio frequency clear stream data is played to decode according to media attribute information.So optional Multimedia file is selected as file destination.
File destination is had determined in S104 and S107, so after play instruction being received in S108, so that it may play Corresponding file destination.
Store to multimedia file in media attribute information, multimedia file is directly selected as file destination, now The possibility used by video clear stream file and audio frequency clear stream file is little, but video clear stream file and the storage of audio frequency clear stream file Take more memory space.To save the memory space of terminal device, the recording of the media file in the embodiment of the present invention is broadcast Method is put after by multimedia attribute information Store to multimedia file, S109 is may also include.
S109:Delete video clear stream file and audio frequency clear stream file.
In practical application, it is to ensure that the media attribute information in multimedia file correctly stores rear video clear stream file and sound Frequency clear stream file is just deleted, and S109 steps specifically include following sub-step.
S1091:Whether the media attribute information in verification multimedia file is correct;
If the media attribute information in multimedia file is correct, S1092 is performed;If the medium property in multimedia file Information is incorrect, then return and perform S106.
S1092:Delete video clear stream file and audio frequency clear stream file.
In the present embodiment, it is to judge whether media attribute information correctly stores, at most matchmaker can be stored in media attribute information Read media attribute information after body file again, and compare the media attribute information of reading and clear according to video clear stream data and audio frequency The media attribute information that flow data is generated, judges whether multimedia attribute information correctly stores.Certainly, in other embodiment In, also can add check code after media attribute information, using verification code check media attribute information each several part content whether just Really store.
It is contemplated that using the recording player method of aforementioned media file, backing up while recording and storing multimedia file Storage video clear stream file and audio frequency clear stream file, can avoid the occurrence of unexpected situation cannot playing video data and voice data Problem.Such method may be used in the Miniature Terminals such as drive recorder, and satisfaction quickly plays phase using this Terminal Type Answer media data, the demand at reduction scene.
The recording player method of the media file provided in the present embodiment, while storing video clear stream file and audio frequency is clear Stream file;Certainly, in other embodiments, the one kind in video clear stream file and audio frequency clear stream file also can only be backed up.In addition, In the present embodiment, video clear stream file and audio frequency clear stream text can successively be played using played in order form when file destination is played Part;In other embodiments, according to actual storage content and application demand, video clear stream file and audio frequency clear stream also can only be played One kind in file.
In addition to the recording player method of aforesaid media file is provided, the present invention also provides one kind and realizes aforementioned media file Recording player method media file recording playback terminal.
Fig. 2 is the composition schematic diagram of the recording playback terminal of media file in the embodiment of the present invention.Such as Fig. 2, media file Recording playback terminal 1 include video acquisition unit 101, audio collection unit 102, video encoding unit 103, audio coding list Unit 104, multimedia file memory cell 105, clear stream memory cell 106, the storage of medium property computing unit 107, attribute information Unit 108, select unit 109 and broadcast unit 110.
Wherein:Video acquisition unit 101 is used to gather video data;Audio collection unit 102 is used to gather voice data; Video encoding unit 103 for according to the first coding rule by video data encoding be video clear stream data;Audio coding unit 104 for according to the second coding rule by audio data coding be audio frequency clear stream data.
Multimedia file memory cell 105 is for being multimedia by video clear stream data and audio frequency clear stream data sealed storage File;Clear stream memory cell 106 is for being video clear stream file by video clear stream data storage and/or deposit audio frequency clear stream data Store up as audio frequency clear stream file.
By taking the recording playback terminal of the media file using android system as an example, the recording playback terminal of media file Can call the MeidaMuxer modules in Android platform video clear stream data and audio frequency clear stream data are carried out hybrid package, Encapsulation of data is formed, and calls a FileWriter interface that encapsulation of data is stored as multimedia file (many matchmakers of MP4 forms Body file storage unit 105 can be regarded as the combination of MediaMuxer modules and FileWriter interfaces);Meanwhile, media file Recording playback terminal can directly invoke other FileWriter interfaces, and (it is single that this FileWriter interface can be regarded as clear stream storage 106) video clear stream data are written as video clear stream file, audio frequency clear stream data are written as audio frequency clear stream file by unit.
Medium property computing unit 107 for receive record halt instruction after according to sealed storage to multimedia file In video clear stream data and audio frequency clear stream data genaration media attribute information;Attribute information memory cell 108 is for by media Attribute information is stored to multimedia file.
Select unit 109 is made for video clear stream file and/or audio frequency clear stream file are selected when exceptional instructions are received For file destination, and the multimedia file comprising media attribute information is selected when receiving and recording halt instruction as target File;Broadcast unit 110 is used to play file destination.
In addition, the recording playback terminal of the media file in the present embodiment may also include clear stream deletes unit 111, clear stream is deleted Except unit 111 deletes video clear stream file and audio frequency clear stream text for storing to multimedia file in media attribute information Part.
Further, it is to ensure just to delete more video clear streams after the media attribute information being stored in multimedia file is correct File and audio frequency clear stream file, the clear stream in the present embodiment are deleted unit 111 and are additionally operable to verify the media category in multimedia file Whether property information correctly stores.If the media attribute information in multimedia file is correctly stored, clear stream is deleted unit 111 and is just deleted Except video clear stream file and audio frequency clear stream file;If the media attribute information in multimedia file is not correctly stored, to category Property information memory cell 108 send feedback command, make attribute information memory cell 108 again by media attribute information store at most Media file.
It is corresponding with the recording player method of aforementioned media file, in the recording playback terminal of the present embodiment media file In, broadcast unit 110 selects different rule decodings to play file destination according to different types of file destination, specially:If File destination is video clear stream file and audio frequency clear stream file, then broadcast unit 110 is according to solution corresponding with the first coding rule Code rule decoding is played video clear stream file, plays audio frequency clear stream text according to decoding rule decoding corresponding with the second coding rule Part;If file destination is multimedia file, broadcast unit 110 plays multimedia file according to media attribute information decoding.
The recording playback terminal for recording player method and media file to the media file in the embodiment of the present invention above It is described in detail.This part is set forth to the principle and embodiment of the present invention using specific embodiment, above reality The explanation for applying example is only intended to the core concept for helping understand the present invention, without departing from the principles of the present invention, this area The every other embodiment obtained under the premise of creative work is not made by those of ordinary skill, belongs to protection of the present invention Scope.

Claims (8)

1. the recording player method of a kind of media file, it is characterised in that comprise the following steps:
Collection video data, according to the first coding rule by the video data encoding be video clear stream data, gather audio frequency number According to, according to the second coding rule by the audio data coding be audio frequency clear stream data;
It is multimedia file by the video clear stream data and the audio frequency clear stream data sealed storage;
By the video clear stream data storage be video clear stream file and/or by the audio frequency clear stream data storage be audio frequency clear stream File;
If receiving exceptional instructions, the video clear stream file and/or the audio frequency clear stream file are selected as file destination;
If receiving recording halt instruction, video clear stream data according to sealed storage in the multimedia file and The audio frequency clear stream data genaration media attribute information, and the media attribute information is stored to the multimedia file, with And the multimedia file comprising the media attribute information is selected as file destination;
After receiving play instruction, the file destination is played.
2. recording player method according to claim 1, it is characterised in that the media attribute information is stored to described After multimedia file, also include:
Delete the video clear stream file and/or the audio frequency clear stream file.
3. recording player method according to claim 2, it is characterised in that the deletion video clear stream file and/ Or the audio frequency clear stream file includes:
Whether the media attribute information verified in the multimedia file correctly stores;
If the media attribute information is correctly stored, the video clear stream file and/or the audio frequency clear stream file are deleted.
4. recording player method according to claim 1, it is characterised in that playing the file destination includes:
If the file destination is the video clear stream file and/or the audio frequency clear stream file, according to compiling with described first The video clear stream file is played in the corresponding decoding rule decoding of code rule, and/or, according to corresponding with second coding rule Decoding rule decoding play the audio frequency clear stream file;
If the file destination is the multimedia file, the multimedia text is played according to media attribute information decoding Part.
5. the recording playback terminal of a kind of media file, it is characterised in that include:
Video acquisition unit, for gathering video data;
Audio collection unit, for gathering voice data;
Video encoding unit, for according to the first coding rule by the video data encoding be video clear stream data;
Audio coding unit, for according to the second coding rule by the audio data coding be audio frequency clear stream data;
Multimedia file memory cell, for being multimedia text by the video clear stream data and audio frequency clear stream data sealed storage Part;
Clear stream memory cell, for being video clear stream file and/or by the audio frequency clear stream by the video clear stream data storage Data storage is audio frequency clear stream file;
Medium property computing unit, for receive record halt instruction after according to sealed storage in the multimedia file The video clear stream data and the audio frequency clear stream data genaration media attribute information;
Attribute information memory cell, for the media attribute information is stored to the multimedia file;
Select unit, for the video clear stream file and/or the audio frequency clear stream file are selected when exceptional instructions are received As file destination, and the multimedia file comprising the media attribute information is selected to make when receiving and recording halt instruction For file destination;
Broadcast unit, for playing the file destination.
6. recording playback terminal according to claim 5, it is characterised in that the recording playback terminal also includes:
Clear stream deletes unit, deletes the video clear stream for storing to the multimedia file in the media attribute information File and/or the audio frequency clear stream file.
7. recording playback terminal according to claim 6, it is characterised in that:
Whether the media attribute information that the clear stream deletion unit is additionally operable to verify in the multimedia file correctly stores, and The video clear stream file and/or the audio frequency clear stream file are deleted in the case of being.
8. recording playback terminal according to claim 5, it is characterised in that:
If the file destination is the video clear stream file and/or the audio frequency clear stream file, the broadcast unit according to The video clear stream file is played in decoding rule decoding corresponding with first coding rule, and/or, according to described second The audio frequency clear stream file is played in the corresponding decoding rule decoding of coding rule;
If the file destination is the multimedia file, the broadcast unit is played according to media attribute information decoding The multimedia file.
CN201611086333.6A 2016-11-30 2016-11-30 The recording playback method and terminal of media file Active CN106534748B (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN201611086333.6A CN106534748B (en) 2016-11-30 2016-11-30 The recording playback method and terminal of media file

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN201611086333.6A CN106534748B (en) 2016-11-30 2016-11-30 The recording playback method and terminal of media file

Publications (2)

Publication Number Publication Date
CN106534748A true CN106534748A (en) 2017-03-22
CN106534748B CN106534748B (en) 2019-06-18

Family

ID=58354246

Family Applications (1)

Application Number Title Priority Date Filing Date
CN201611086333.6A Active CN106534748B (en) 2016-11-30 2016-11-30 The recording playback method and terminal of media file

Country Status (1)

Country Link
CN (1) CN106534748B (en)

Cited By (2)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN107273244A (en) * 2017-06-08 2017-10-20 深圳市普天宜通技术股份有限公司 The fault tolerant control method and system of a kind of media file storage
CN116052701A (en) * 2022-07-07 2023-05-02 荣耀终端有限公司 Audio processing method and electronic equipment

Citations (3)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JP2005311778A (en) * 2004-04-22 2005-11-04 Denso Corp Vehicle running state memory device and program
CN102717766A (en) * 2012-07-12 2012-10-10 天瀚科技(吴江)有限公司 Vehicle-mounted information system with functions of video shooting, data interaction, projection display and navigation
CN106162061A (en) * 2015-04-08 2016-11-23 广东中星电子有限公司 A kind of vehicle mounted imaging apparatus and method

Patent Citations (3)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JP2005311778A (en) * 2004-04-22 2005-11-04 Denso Corp Vehicle running state memory device and program
CN102717766A (en) * 2012-07-12 2012-10-10 天瀚科技(吴江)有限公司 Vehicle-mounted information system with functions of video shooting, data interaction, projection display and navigation
CN106162061A (en) * 2015-04-08 2016-11-23 广东中星电子有限公司 A kind of vehicle mounted imaging apparatus and method

Cited By (3)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN107273244A (en) * 2017-06-08 2017-10-20 深圳市普天宜通技术股份有限公司 The fault tolerant control method and system of a kind of media file storage
CN116052701A (en) * 2022-07-07 2023-05-02 荣耀终端有限公司 Audio processing method and electronic equipment
CN116052701B (en) * 2022-07-07 2023-10-20 荣耀终端有限公司 Audio processing method and electronic equipment

Also Published As

Publication number Publication date
CN106534748B (en) 2019-06-18

Similar Documents

Publication Publication Date Title
CN104063447B (en) A kind of monitor video Ile repair method
WO2020215453A1 (en) Video recording method and system
CN105872484B (en) A kind of abnormal guard method of monitoring video
CN103905841B (en) The more player video broadcasting methods of multi-protocols and system of network bandwidth adaptive
CN101843099B (en) Apparatus and method of storing video data
EP1968066A1 (en) Media generation system
JP2007012112A (en) Data recording device and method thereof, program, and recording medium
KR101316579B1 (en) Mp4 file configuring device and restoring device, mp4 file configuring method and restoring method
CN110740391B (en) Method for repairing MP4 damaged file
CN107229418A (en) A kind of video file storage method and device
CN106534748B (en) The recording playback method and terminal of media file
JP3969656B2 (en) Information processing apparatus and method, program recording medium, and program
JP2006303652A (en) Information recording and reproducing system, apparatus, and method
CN101572778B (en) Method and system for broadcasting programs
CN101802803B (en) Method and apparatus for generating and reproducing media object-based metadata
CN101425310B (en) Methods for reserving index memory space in AVI recording apparatus
CN106791536A (en) The recording player method and terminal of multimedia file
CN111885331A (en) Novel mp4 packaging method for automatic storage of video interruption
CN102930875B (en) A kind of method of real-time synchronization video and audio recording
US20090060463A1 (en) Recording/reproducing apparatus, recording medium and integrated circuit
CN102646433B (en) Method, device and system for generating stream media real-time record file of digital court
CN100454225C (en) An apparatus for and a method of storing a real time stream of digital information signals
CN102231847B (en) Direct and accurate frame positioning method supporting stream media files
CN110572685A (en) 5G storage hard disk and digital movie standby playing method and system
CN112839242B (en) Method for packaging audio/video media file

Legal Events

Date Code Title Description
C06 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