CN107396176A - The player method and device of audio-video document - Google Patents
The player method and device of audio-video document Download PDFInfo
- Publication number
- CN107396176A CN107396176A CN201710586265.8A CN201710586265A CN107396176A CN 107396176 A CN107396176 A CN 107396176A CN 201710586265 A CN201710586265 A CN 201710586265A CN 107396176 A CN107396176 A CN 107396176A
- Authority
- CN
- China
- Prior art keywords
- audio
- video document
- video
- document
- played
- 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.)
- Pending
Links
Classifications
-
- H—ELECTRICITY
- H04—ELECTRIC COMMUNICATION TECHNIQUE
- H04N—PICTORIAL COMMUNICATION, e.g. TELEVISION
- H04N21/00—Selective content distribution, e.g. interactive television or video on demand [VOD]
- H04N21/40—Client devices specifically adapted for the reception of or interaction with content, e.g. set-top-box [STB]; Operations thereof
- H04N21/43—Processing of content or additional data, e.g. demultiplexing additional data from a digital video stream; Elementary client operations, e.g. monitoring of home network or synchronising decoder's clock; Client middleware
- H04N21/439—Processing of audio elementary streams
-
- H—ELECTRICITY
- H04—ELECTRIC COMMUNICATION TECHNIQUE
- H04N—PICTORIAL COMMUNICATION, e.g. TELEVISION
- H04N21/00—Selective content distribution, e.g. interactive television or video on demand [VOD]
- H04N21/40—Client devices specifically adapted for the reception of or interaction with content, e.g. set-top-box [STB]; Operations thereof
- H04N21/43—Processing of content or additional data, e.g. demultiplexing additional data from a digital video stream; Elementary client operations, e.g. monitoring of home network or synchronising decoder's clock; Client middleware
- H04N21/432—Content retrieval operation from a local storage medium, e.g. hard-disk
-
- H—ELECTRICITY
- H04—ELECTRIC COMMUNICATION TECHNIQUE
- H04N—PICTORIAL COMMUNICATION, e.g. TELEVISION
- H04N21/00—Selective content distribution, e.g. interactive television or video on demand [VOD]
- H04N21/40—Client devices specifically adapted for the reception of or interaction with content, e.g. set-top-box [STB]; Operations thereof
- H04N21/43—Processing of content or additional data, e.g. demultiplexing additional data from a digital video stream; Elementary client operations, e.g. monitoring of home network or synchronising decoder's clock; Client middleware
- H04N21/439—Processing of audio elementary streams
- H04N21/4394—Processing of audio elementary streams involving operations for analysing the audio stream, e.g. detecting features or characteristics in audio streams
-
- H—ELECTRICITY
- H04—ELECTRIC COMMUNICATION TECHNIQUE
- H04N—PICTORIAL COMMUNICATION, e.g. TELEVISION
- H04N21/00—Selective content distribution, e.g. interactive television or video on demand [VOD]
- H04N21/40—Client devices specifically adapted for the reception of or interaction with content, e.g. set-top-box [STB]; Operations thereof
- H04N21/43—Processing of content or additional data, e.g. demultiplexing additional data from a digital video stream; Elementary client operations, e.g. monitoring of home network or synchronising decoder's clock; Client middleware
- H04N21/44—Processing of video elementary streams, e.g. splicing a video clip retrieved from local storage with an incoming video stream, rendering scenes according to MPEG-4 scene graphs
-
- H—ELECTRICITY
- H04—ELECTRIC COMMUNICATION TECHNIQUE
- H04N—PICTORIAL COMMUNICATION, e.g. TELEVISION
- H04N21/00—Selective content distribution, e.g. interactive television or video on demand [VOD]
- H04N21/40—Client devices specifically adapted for the reception of or interaction with content, e.g. set-top-box [STB]; Operations thereof
- H04N21/43—Processing of content or additional data, e.g. demultiplexing additional data from a digital video stream; Elementary client operations, e.g. monitoring of home network or synchronising decoder's clock; Client middleware
- H04N21/44—Processing of video elementary streams, e.g. splicing a video clip retrieved from local storage with an incoming video stream, rendering scenes according to MPEG-4 scene graphs
- H04N21/44008—Processing of video elementary streams, e.g. splicing a video clip retrieved from local storage with an incoming video stream, rendering scenes according to MPEG-4 scene graphs involving operations for analysing video streams, e.g. detecting features or characteristics in the video stream
-
- G—PHYSICS
- G06—COMPUTING; CALCULATING OR COUNTING
- G06F—ELECTRIC DIGITAL DATA PROCESSING
- G06F16/00—Information retrieval; Database structures therefor; File system structures therefor
- G06F16/60—Information retrieval; Database structures therefor; File system structures therefor of audio data
-
- G—PHYSICS
- G06—COMPUTING; CALCULATING OR COUNTING
- G06F—ELECTRIC DIGITAL DATA PROCESSING
- G06F16/00—Information retrieval; Database structures therefor; File system structures therefor
- G06F16/70—Information retrieval; Database structures therefor; File system structures therefor of video data
Abstract
The application provides a kind of player method and device of audio-video document, and methods described includes:Judge whether audio-video document to be played is to play first;If so, then being parsed to the audio-video document, audio frequency and video parameter is obtained, and the audio frequency and video parameter that parsing is obtained preserves in the local database;Otherwise, the audio frequency and video parameter of the audio-video document is directly obtained in the local data base;The audio-video document is played according to the audio frequency and video parameter.Using this method, rising for audio-video document can be lifted and broadcast speed, lift Consumer's Experience.
Description
Technical field
The application is related to audio frequency and video processing technology field, more particularly to the player method and device of a kind of audio-video document.
Background technology
In correlation technique, in playing audio-video document, it is necessary first to the audio-video document is parsed, sound is obtained and regards
Frequency parameter, for example, audio coding mode, audio sample rate, video resolution, video total duration, Video coding mode, etc., it
Afterwards, just audio frequency and video separation, audio/video decoding, audio-visual synchronization, Yi Jiyin can be performed based on the audio frequency and video parameter that parsing obtains
The steps such as Video Rendering, finally realize the broadcasting of audio-video document.
It is above-mentioned it is described rise broadcast during, audio-video document is parsed, the step for obtaining audio frequency and video parameter
The whole most times for acting process of broadcasting will be taken, also, due to the encapsulation format by audio-video document, video resolution
Deng influenceing, frequently can lead to broadcast speed excessively slow, that is to say, that user generally requires after selection commences play out audio-video document
Longer time is waited just to watch audio frequency and video, so as to cause Consumer's Experience bad.Therefore, how audio-video document is lifted
Rise and broadcast speed as urgent problem to be solved during existing playing audio-video document.
The content of the invention
In view of this, the application provides a kind of player method and device of audio-video document, to lift audio-video document
Rise and broadcast speed, lift Consumer's Experience.
Specifically, the application is achieved by the following technical solution:
According to the first aspect of the embodiment of the present application, there is provided a kind of player method of audio-video document, methods described include:
Judge whether audio-video document to be played is to play first;
If so, then being parsed to the audio-video document, audio frequency and video parameter is obtained, and the sound that parsing is obtained regards
Frequency parameter preserves in the local database;Otherwise, the sound that the audio-video document is directly obtained in the local data base regards
Frequency parameter;
The audio-video document is played according to the audio frequency and video parameter.
According to the second aspect of the embodiment of the present application, there is provided a kind of playing device of audio-video document, described device include:
First judge module, for judging whether audio-video document to be played is to play first;
Parsing module, if entering for the audio-video document to be played to play first to the audio-video document
Row parsing, obtains audio frequency and video parameter;
Preserving module, preserved in the local database for the obtained audio frequency and video parameter will to be parsed;
Acquisition module, if being played first to be non-for the audio-video document to be played, directly in the local number
According to the audio frequency and video parameter that the audio-video document is obtained in storehouse;
Playing module, for playing the audio-video document according to the audio frequency and video parameter.
As seen from the above-described embodiment, by playing audio-video document, first determine whether the audio-video document whether headed by
Secondary broadcasting, if not playing first, then the audio frequency and video parameter of the audio-video document can be directly obtained from local data base, from
And audio frequency and video Parameter analysis of electrochemical this process is saved, improve rising for audio-video document and broadcast speed, improve Consumer's Experience;Together
When, if playing first, then the audio-video document is parsed, obtain audio frequency and video parameter, and the audio frequency and video parameter that will be obtained
Preserve in the local database, during so as to the follow-up play audio-video document, sound can be obtained directly from local data base and regarded
Frequency parameter, speed is broadcast so as to lift rising for audio-video document, lifts Consumer's Experience.
Brief description of the drawings
Fig. 1 is one embodiment flow chart of the player method of the application audio-video document;
Fig. 2 is a kind of example of local data base;
Fig. 3 is one embodiment flow chart of the player method of the application audio-video document;
Fig. 4 is a kind of hardware structure diagram of electronic equipment where the playing device of the application audio-video document;
Fig. 5 is one embodiment block diagram of the playing device of the application audio-video document;
Fig. 6 is another embodiment block diagram of the playing device of the application audio-video document.
Embodiment
Here exemplary embodiment will be illustrated in detail, its example is illustrated in the accompanying drawings.Following description is related to
During accompanying drawing, unless otherwise indicated, the same numbers in different accompanying drawings represent same or analogous key element.Following exemplary embodiment
Described in embodiment do not represent all embodiments consistent with the application.On the contrary, they be only with it is such as appended
The example of the consistent apparatus and method of some aspects be described in detail in claims, the application.
It is only merely for the purpose of description specific embodiment in term used in this application, and is not intended to be limiting the application.
" one kind " of singulative used in the application and appended claims, " described " and "the" are also intended to including majority
Form, unless context clearly shows that other implications.It is also understood that term "and/or" used herein refers to and wrapped
Containing the associated list items purpose of one or more, any or all may be combined.
It will be appreciated that though various information, but this may be described using term first, second, third, etc. in the application
A little information should not necessarily be limited by these terms.These terms are only used for same type of information being distinguished from each other out.For example, do not departing from
In the case of the application scope, the first information can also be referred to as the second information, and similarly, the second information can also be referred to as
One information.Depending on linguistic context, word as used in this " if " can be construed to " ... when " or " when ...
When " or " in response to determining ".
In general, the broadcasting of audio-video document includes 6 steps, and respectively audio frequency and video Parameter analysis of electrochemical is (mentioned here
" audio frequency and video parameter " include audio coding mode, audio sample rate, video resolution, video total duration, Video coding mode, etc.
Deng), audio frequency and video separation, audio/video decoding, audio-visual synchronization, audio frequency and video render, final step is only audio and video playing.In order to retouch
State conveniently, the process before audio and video playing can be referred to as broadcasting process, during this rises and broadcast, audio frequency and video Parameter analysis of electrochemical
The step for will take the whole most times for acting process of broadcasting, particularly with the audio-video document of high code check, for example, 4k is high
, it is necessary to which the data for reading up to a hundred million are only possible to complete the parsing of audio frequency and video parameter, also, due to by sound for code check TS videos
The encapsulation format of video file, video resolution etc. influence, and frequently can lead to broadcast that speed is excessively slow, and therefore, user opens in selection
After beginning playing audio-video document, generally require to wait longer time just to watch audio frequency and video.
In an exemplary application scene, by taking advertisement machine as an example, advertisement machine mainly realizes building/outdoor liquid crystal advertisement, i.e.,
In the channels such as business premises, sales field supermarket, campus, the commercial terminal ad system in the form of liquid crystal display or LCD screen, to broadcast electricity
Advertising programme and other programs are regarded as expression meanses, therefore, the program such as television advertising played in advertisement machine, which is generally circulated, to be broadcast
Put, but in playing process, even the audio-video document played before playing, still will perform a secondary noise again and regard
Frequency rises and broadcasts process, it can be seen that, advertisement machine broadcasts process by rising for multiple same audio-video document is repeatedly carried out, and rises broadcast speed every time
Degree is all excessively slow, so as to cause Consumer's Experience bad.
Based on this, the application proposes a kind of player method and device of audio-video document.
In this application, based on " same audio-video document, audio frequency and video parameter are fixed " such consideration, by being broadcast first
When putting a certain audio-video document, the audio frequency and video parameter that parsing is obtained preserves in the local database, is regarded when playing the sound again
During frequency file, then the audio frequency and video parameter of the audio-video document can be directly read from local data base, and then continued follow-up
Rise broadcast flow.Handled by this kind, for the non-audio-video document played first, can save audio frequency and video Parameter analysis of electrochemical this
Process, it is thus possible to which lifting rising for audio-video document broadcasts speed, lift Consumer's Experience.
In order that those skilled in the art clearly understand the player method for the audio-video document that the application is proposed,
Following embodiments are enumerated to illustrate the player method of the audio-video document.
Fig. 1 is referred to, is one embodiment flow chart of the player method of the application audio-video document, this method can answer
For the electronic equipment with video playback capability, such as advertisement machine, this method may comprise steps of:
Step 101:Judge whether audio-video document to be played is to play first, if so, then performing step 103;Otherwise,
Perform step 102.
Step 102:The audio frequency and video parameter of audio-video document is directly obtained in the local database;Perform step 105.
Step 103:Audio-video document is parsed, obtains audio frequency and video parameter.
Step 104:The audio frequency and video parameter that parsing is obtained preserves in the local database.
It is as follows, above-mentioned steps 101 to step 104 are illustrated:
In this application, when playing an audio-video document, it can first determine whether the audio-video document is first
Play, if playing first, then the audio frequency and video parameter of the audio-video document is not preserved in local data base, then can be to this
Audio-video document is parsed, and obtains the audio frequency and video parameter of the audio-video document, and will parse obtained audio frequency and video parameter preservation
In the local data base;If right and wrong play first, then the sound that the audio-video document can be preserved in local data base regards
Frequency parameter, then the audio frequency and video parameter of the audio-video document can be directly obtained from the local data base.
In one embodiment, above-mentioned local data base can regard specifically for preserving the fileinfo of audio-video document with sound
The corresponding relation of frequency parameter, as shown in Fig. 2 be a kind of example of local data base, wherein, fileinfo can uniquely identify
One audio-video document.So, step 101 is being performed, is judging whether audio-video document to be played is the process played first
In, then the fileinfo of audio-video document to be played can be obtained first, then according to this document information searching local data
Whether the audio frequency and video parameter of the audio-video document is preserved in storehouse, if finding this document information in the local database, you can
To determine that the audio-video document plays first to be non-, at this point it is possible to perform step 102, i.e., directly obtained from local data base
The audio frequency and video parameter of the audio-video document, regarded specifically, audio frequency and video parameter corresponding to this document information can be defined as into the sound
The audio frequency and video parameter of frequency file;If this document information is not found in the local database, you can to determine the audio-video document
To play first, at this point it is possible to perform step 103, i.e., the audio-video document is parsed, obtain the sound of the audio-video document
Video parameter, afterwards, step 104 can be continued executing with, will the obtained audio frequency and video parameter of the parsing be stored in local data base
In, based on this kind processing, when subsequently playing the audio-video document again, then the sound can be directly obtained from local data base and is regarded
The audio frequency and video parameter of frequency file, speed is broadcast so as to lift rising for audio-video document.
In one embodiment, the fileinfo of audio-video document can include the filename and Hash of the audio-video document
Value.Specifically, the process of the above-mentioned described fileinfo for obtaining audio-video document to be played can include:To be played
Audio-video document carry out Hash operation, the cryptographic Hash of the audio-video document is obtained, afterwards, by the filename of the audio-video document
It is combined with the cryptographic Hash, for example, combination obtains " filename+cryptographic Hash ", so as to obtain the fileinfo of audio-video document,
Because this document information not only carries the filename of audio-video document, the cryptographic Hash of audio-video document is also carried, so as to which file is believed
Breath can uniquely identify audio-video document.
Because whole audio-video document data volume is larger, if therefore carrying out Hash operation, computing to whole audio-video document
Efficiency, based on this, in a preferable implementation, can sample than relatively low to audio-video document, obtain wherein
A part of data volume, for convenience, a part of data volume is referred to as sampling files, afterwards, only the sampling files entered
Row Hash operation, the cryptographic Hash using obtained cryptographic Hash as the audio-video document.For example, can be from the head of audio-video document
Sampling is proceeded by, the data volume of default specification is obtained, as sampling files;In another example can be from the afterbody of audio-video document
Start, be carried forward sampling, the data volume of default specification is obtained, as sampling files;For another example a skew can be preset
Amount, sampling is proceeded by from the position that the offset is identified, and the data volume of default specification is obtained, as sampling files.
In one embodiment, the type of above-mentioned described local data base can be Sqlite3 databases, due to
Sqlite3 databases are to be directed to embedded system, and take the relatively low Lightweight Database of resource, are set so as to save electronics
Standby memory source.
Step 105:According to audio frequency and video parameter playing audio-video document.
It will be appreciated by persons skilled in the art that the step 104 described in the present embodiment, step 105, execution it is suitable
Sequence is not limited to this, in actual applications, step 105 can also be first carried out, then perform step 104;Or while perform step
Rapid 104 and step 105, the application this is not restricted.
Further, since for the audio-video document of high code check, for example, for the high code check TS videos of 4k, act that to broadcast speed slower
Performance becomes apparent, then, in this application, above-mentioned steps 101 are being performed, are judging whether audio-video document is to play first
Before, it can first determine whether down whether audio-video document to be played is 4K audio-video documents, if so, can then perform above-mentioned figure
Flow shown in 1 so that the application lifted audio-video document rise broadcast speed advantage embody become apparent.Simultaneously
It should be noted that this kind processing is only a kind of optional implementation, in actual applications, however it is not limited to only 4K sounds are regarded
Frequency file carries out the processing procedure of embodiment illustrated in fig. 1, can carry out Fig. 1 institutes to the audio-video document of any resolution sizes
Show the handling process of embodiment.
As seen from the above-described embodiment, by playing audio-video document, first determine whether the audio-video document whether headed by
Secondary broadcasting, if not playing first, then the audio frequency and video parameter of the audio-video document can be directly obtained from local data base, from
And audio frequency and video Parameter analysis of electrochemical this process is saved, improve rising for audio-video document and broadcast speed, improve Consumer's Experience;Together
When, if playing first, then the audio-video document is parsed, obtain audio frequency and video parameter, and the audio frequency and video parameter that will be obtained
Preserve in the local database, during so as to the follow-up play audio-video document, sound can be obtained directly from local data base and regarded
Frequency parameter, speed is broadcast so as to lift rising for audio-video document, lifts Consumer's Experience.
Fig. 3 is referred to, for another embodiment flow chart of the player method of the embodiment of the present application audio-video document, the figure
3 illustrated embodiments include filename and Hash on the basis of above-mentioned embodiment illustrated in fig. 1, with the fileinfo of audio-video document
Exemplified by value, describe judge whether audio-video document is to play this process first emphatically, may comprise steps of:
Step 301:The fileinfo of audio-video document to be played is obtained, this document information includes the audio-video document
Filename and cryptographic Hash.
The detailed description of this step may refer to the associated description in above-mentioned embodiment illustrated in fig. 1, will not be described in detail herein.
Step 302:According to filename lookup local data base, if finding file name, step 303 is performed;If not
File name is found, then performs step 306.
Step 303:Target cryptographic Hash corresponding with file name is obtained from local data base.
Step 304:Whether consistent compare cryptographic Hash and the target cryptographic Hash of the audio-video document, if unanimously, performing step
Rapid 305;If inconsistent, step 306 is performed.
Step 305:The audio-video document is determined not to play first, terminates flow.
Step 306:The audio-video document is determined to play first.
It is as follows, above-mentioned steps 302 to step 306 are described:
In step 302, the filename lookup local data base of audio-video document is primarily based on, if in the local data base
In do not find file name, then can directly perform step 306, that is, determine the audio-video document to play first;If at this
File name is found in local data base, then in order to ensure for same audio-video document, then step 303 can be continued executing with,
Cryptographic Hash corresponding with file name is obtained i.e. from the local data base, for convenience, by corresponding Kazakhstan in the application
Uncommon value is referred to as target cryptographic Hash, afterwards, performs step 304, that is, the audio-video document obtained by comparing in above-mentioned steps 301
Whether cryptographic Hash and the target cryptographic Hash are consistent, if unanimously, can directly perform step 305, that is, determine the audio-video document
Played first to be non-;If inconsistent, step 306 can be directly performed, that is, determines the audio-video document to play first.
As seen from the above-described embodiment, by being primarily based on the filename lookup local data base of audio-video document, searching
During to file name, the cryptographic Hash for comparing audio-video document is further continued for, it is corresponding with the file name preserved in database to breathe out
Whether uncommon value is consistent, when drawing consistent comparative result, determines that audio-video document plays first to be non-;It is inconsistent drawing
During comparative result, audio-video document is determined to play first;And when not finding file name, it can directly determine that sound regards
Frequency file, without further comparing cryptographic Hash, judges whether audio-video document plays first to play first so as to be lifted
Efficiency.
Corresponding with the embodiment of the player method of foregoing audio-video document, present invention also provides broadcasting for audio-video document
Put the embodiment of device.
The embodiment of the playing device of the application audio-video document can be applied to be set in the electronics with video playback capability
It is standby, such as in advertisement machine.Device embodiment can be realized by software, can also be by way of hardware or software and hardware combining
Realize.Exemplified by implemented in software, as the device on a logical meaning, being will be non-by the processor of electronic equipment where it
Corresponding computer program instructions read what operation in internal memory was formed in volatile memory.For hardware view, such as Fig. 4
It is shown, it is a kind of hardware structure diagram of electronic equipment where the playing device of the application audio-video document, except the place shown in Fig. 4
Manage outside device 41, internal memory 42, network interface 43 and nonvolatile memory 44, the electronic equipment in embodiment where device
Generally according to the actual functional capability of the electronic equipment, other hardware can also be included, this is repeated no more.
Fig. 5 is refer to, is one embodiment block diagram of the playing device of the application audio-video document, the device can wrap
Include:First judge module 51, parsing module 52, preserving module 53, acquisition module 54, and playing module 55.
Wherein, first judge module 51, can be used for judging whether audio-video document to be played is to play first;
The parsing module 52, if can be used for the audio-video document to be played to play first, the sound is regarded
Frequency file is parsed, and obtains audio frequency and video parameter;
The preserving module 53, the audio frequency and video parameter that can be used for obtaining parsing preserve in the local database;
The acquisition module 54, played first to be non-if can be used for the audio-video document to be played, directly in institute
State the audio frequency and video parameter that the audio-video document is obtained in local data base;
The playing module 55, it can be used for playing the audio-video document according to the audio frequency and video parameter.
In one embodiment, the device can also include (not shown in Fig. 5):
Second judge module, for judging whether audio-video document to be played is 4K audio-video documents, if so, then performing
Operation performed by first judge module.
Fig. 6 is referred to, is another embodiment block diagram of the playing device of the application audio-video document, is filled shown in the Fig. 6
Put on the basis of above-mentioned Fig. 5 shown devices, wherein, the first judge module 51 can include:Acquisition of information submodule 511, look into
Look for submodule 512, the first determination sub-module 513, the second determination sub-module 514.
Wherein, the acquisition of information submodule 511, it can be used for the fileinfo for obtaining audio-video document to be played, institute
State fileinfo and uniquely identify the audio-video document;
The lookup submodule 512, can be used for whether preserving according in fileinfo lookup local data base
The audio frequency and video parameter of audio-video document is stated, fileinfo pass corresponding with audio frequency and video parameter is preserved in the local data base
System;
First determination sub-module 513, if can be used in the local data base preserving the audio-video document
Audio frequency and video parameter, it is determined that the audio-video document plays first to be non-;
Second determination sub-module 514, if can be used for not preserving the audio-video document in the local data base
Audio frequency and video parameter, it is determined that the audio-video document is plays first.
In one embodiment, described information acquisition submodule 511 can include (not shown in Fig. 6):
Computing submodule, for carrying out Hash operation to audio-video document to be played, obtain the audio-video document
Cryptographic Hash;
Submodule is combined, for the filename of the audio-video document and the cryptographic Hash to be combined, is obtained described
The fileinfo of audio-video document.
In one embodiment, the computing submodule can include (not shown in Fig. 6):
Submodule is sampled, for being sampled to the audio-video document, obtains sampling files;
Sampled operational submodule, for carrying out Hash operation to the sampling files, using obtained cryptographic Hash as described in
The cryptographic Hash of audio-video document.
In one embodiment, the type of the local data base is Sqlite3 databases.
The function of unit and the implementation process of effect specifically refer to and step are corresponded in the above method in said apparatus
Implementation process, it will not be repeated here.
For device embodiment, because it corresponds essentially to embodiment of the method, so related part is real referring to method
Apply the part explanation of example.Device embodiment described above is only schematical, wherein described be used as separating component
The unit of explanation can be or may not be physically separate, can be as the part that unit is shown or can also
It is not physical location, you can with positioned at a place, or can also be distributed on multiple NEs.Can be according to reality
Need to select some or all of module therein to realize the purpose of application scheme.Those of ordinary skill in the art are not paying
In the case of going out creative work, you can to understand and implement.
The preferred embodiment of the application is the foregoing is only, not limiting the application, all essences in the application
God any modification, equivalent substitution and improvements done etc., should be included within the scope of the application protection with principle.
Claims (12)
1. a kind of player method of audio-video document, it is characterised in that methods described includes:
Judge whether audio-video document to be played is to play first;
If so, then being parsed to the audio-video document, audio frequency and video parameter is obtained, and obtained audio frequency and video ginseng will be parsed
Number preserves in the local database;Otherwise, the audio frequency and video ginseng of the audio-video document is directly obtained in the local data base
Number;
The audio-video document is played according to the audio frequency and video parameter.
2. according to the method for claim 1, it is characterised in that it is described judge audio-video document to be played whether headed by
Before secondary broadcasting, in addition to:
Judge whether audio-video document to be played is 4K audio-video documents;
Judge whether the audio-video document is the step of broadcasting first if so, then performing.
3. according to the method for claim 1, it is characterised in that described to judge whether audio-video document to be played is first
Play, including:
The fileinfo of audio-video document to be played is obtained, the fileinfo uniquely identifies the audio-video document;
The audio frequency and video parameter that the audio-video document whether is preserved in local data base is searched according to the fileinfo, it is described
The corresponding relation of fileinfo and audio frequency and video parameter is preserved in local data base;
If, it is determined that the audio-video document plays first to be non-;Otherwise, it determines the audio-video document is to play first.
4. according to the method for claim 3, it is characterised in that the file letter for obtaining audio-video document to be played
Breath, including:
Hash operation is carried out to audio-video document to be played, obtains the cryptographic Hash of the audio-video document;
The filename of the audio-video document and the cryptographic Hash are combined, obtain the file letter of the audio-video document
Breath.
5. according to the method for claim 4, it is characterised in that described that Hash fortune is carried out to audio-video document to be played
Calculate, obtain the cryptographic Hash of the audio-video document, including:
The audio-video document is sampled, obtains sampling files;
Hash operation, the cryptographic Hash using obtained cryptographic Hash as the audio-video document are carried out to the sampling files.
6. according to the method for claim 1, it is characterised in that the type of the local data base is Sqlite3 databases.
7. a kind of playing device of audio-video document, it is characterised in that described device includes:
First judge module, for judging whether audio-video document to be played is to play first;
Parsing module, if being solved for the audio-video document to be played to play first to the audio-video document
Analysis, obtains audio frequency and video parameter;
Preserving module, preserved in the local database for the obtained audio frequency and video parameter will to be parsed;
Acquisition module, if being played first to be non-for the audio-video document to be played, directly in the local data base
The middle audio frequency and video parameter for obtaining the audio-video document;
Playing module, for playing the audio-video document according to the audio frequency and video parameter.
8. device according to claim 7, it is characterised in that described device also includes:
Second judge module, for judging whether audio-video document to be played is 4K audio-video documents, if so, described in then performing
Operation performed by first judge module.
9. device according to claim 7, it is characterised in that first judge module includes:
Acquisition of information submodule, for obtaining the fileinfo of audio-video document to be played, the unique terrestrial reference of fileinfo
Know the audio-video document;
Submodule is searched, for searching in local data base whether preserve the audio-video document according to the fileinfo
Audio frequency and video parameter, the corresponding relation of fileinfo and audio frequency and video parameter is preserved in the local data base;
First determination sub-module, if the audio frequency and video parameter for preserving the audio-video document in the local data base,
Determine that the audio-video document plays first to be non-;
Second determination sub-module, if the audio frequency and video parameter for not preserving the audio-video document in the local data base,
The audio-video document is then determined to play first.
10. device according to claim 9, it is characterised in that described information acquisition submodule includes:
Computing submodule, for carrying out Hash operation to audio-video document to be played, obtain the Hash of the audio-video document
Value;
Submodule is combined, for the filename of the audio-video document and the cryptographic Hash to be combined, the sound is obtained and regards
The fileinfo of frequency file.
11. device according to claim 10, it is characterised in that the computing submodule includes:
Submodule is sampled, for being sampled to the audio-video document, obtains sampling files;
Sampled operational submodule, for carrying out Hash operation to the sampling files, regarded obtained cryptographic Hash as the sound
The cryptographic Hash of frequency file.
12. device according to claim 7, it is characterised in that the type of the local data base is Sqlite3 data
Storehouse.
Priority Applications (1)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
CN201710586265.8A CN107396176A (en) | 2017-07-18 | 2017-07-18 | The player method and device of audio-video document |
Applications Claiming Priority (1)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
CN201710586265.8A CN107396176A (en) | 2017-07-18 | 2017-07-18 | The player method and device of audio-video document |
Publications (1)
Publication Number | Publication Date |
---|---|
CN107396176A true CN107396176A (en) | 2017-11-24 |
Family
ID=60339880
Family Applications (1)
Application Number | Title | Priority Date | Filing Date |
---|---|---|---|
CN201710586265.8A Pending CN107396176A (en) | 2017-07-18 | 2017-07-18 | The player method and device of audio-video document |
Country Status (1)
Country | Link |
---|---|
CN (1) | CN107396176A (en) |
Cited By (1)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN110996160A (en) * | 2019-11-15 | 2020-04-10 | 广州华多网络科技有限公司 | Video processing method and device, electronic equipment and computer readable storage medium |
Citations (6)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
US20140111698A1 (en) * | 2012-10-22 | 2014-04-24 | Arbitron Inc. | Systems and Methods for Configuring Media Devices Utilizing Audio Codes or Signatures |
US20140282660A1 (en) * | 2013-03-14 | 2014-09-18 | Ant Oztaskent | Methods, systems, and media for presenting mobile content corresponding to media content |
CN106131644A (en) * | 2016-07-13 | 2016-11-16 | 青岛海信电器股份有限公司 | The player method of audio frequency and video and display device |
CN106454533A (en) * | 2016-10-25 | 2017-02-22 | Tcl集团股份有限公司 | A method and device for displaying play records |
CN106507178A (en) * | 2016-12-09 | 2017-03-15 | 北京小米移动软件有限公司 | Video broadcasting method and device |
CN106782544A (en) * | 2017-03-29 | 2017-05-31 | 联想(北京)有限公司 | Interactive voice equipment and its output intent |
-
2017
- 2017-07-18 CN CN201710586265.8A patent/CN107396176A/en active Pending
Patent Citations (6)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
US20140111698A1 (en) * | 2012-10-22 | 2014-04-24 | Arbitron Inc. | Systems and Methods for Configuring Media Devices Utilizing Audio Codes or Signatures |
US20140282660A1 (en) * | 2013-03-14 | 2014-09-18 | Ant Oztaskent | Methods, systems, and media for presenting mobile content corresponding to media content |
CN106131644A (en) * | 2016-07-13 | 2016-11-16 | 青岛海信电器股份有限公司 | The player method of audio frequency and video and display device |
CN106454533A (en) * | 2016-10-25 | 2017-02-22 | Tcl集团股份有限公司 | A method and device for displaying play records |
CN106507178A (en) * | 2016-12-09 | 2017-03-15 | 北京小米移动软件有限公司 | Video broadcasting method and device |
CN106782544A (en) * | 2017-03-29 | 2017-05-31 | 联想(北京)有限公司 | Interactive voice equipment and its output intent |
Cited By (1)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN110996160A (en) * | 2019-11-15 | 2020-04-10 | 广州华多网络科技有限公司 | Video processing method and device, electronic equipment and computer readable storage medium |
Similar Documents
Publication | Publication Date | Title |
---|---|---|
US9961398B2 (en) | Method and device for switching video streams | |
US20200322684A1 (en) | Video recommendation method and apparatus | |
US8886009B2 (en) | Creation of video bookmarks via scripted interactivity in advanced digital television | |
US9378286B2 (en) | Implicit user interest marks in media content | |
CN105721620B (en) | Video information method for pushing and device and video information exhibit method and apparatus | |
JP2021525031A (en) | Video processing for embedded information card locating and content extraction | |
US8307403B2 (en) | Triggerless interactive television | |
CN105635849A (en) | Text display method and device during playing of multi-media files | |
US10665267B2 (en) | Correlation of recorded video presentations and associated slides | |
CN106658226B (en) | Playing method and device | |
CN108509611B (en) | Method and device for pushing information | |
US10909174B1 (en) | State detection of live feed | |
CN109120949B (en) | Video message pushing method, device, equipment and storage medium for video set | |
US20170180445A1 (en) | Advertisement data acquisition method and electronic equipment | |
US20170171334A1 (en) | Single-account multiple-preference recommendation method for video website and electronic device | |
US20170187837A1 (en) | Ad download method, the client and the server | |
US20060059509A1 (en) | System and method for embedding commercial information in a video bitstream | |
KR20210091082A (en) | Image processing apparatus, control method thereof and computer readable medium having computer program recorded therefor | |
US20170272793A1 (en) | Media content recommendation method and device | |
CN110958470A (en) | Multimedia content processing method, device, medium and electronic equipment | |
CN112104909A (en) | Interactive video playing method and device, computer equipment and readable storage medium | |
WO2017000744A1 (en) | Subtitle-of-motion-picture loading method and apparatus for online playing | |
JP2014120032A (en) | Character recognition device, character recognition method and character recognition program | |
US20160026638A1 (en) | Method and apparatus for displaying video | |
US20120027380A1 (en) | Automatically bookmarking digital content |
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 | ||
RJ01 | Rejection of invention patent application after publication |
Application publication date: 20171124 |
|
RJ01 | Rejection of invention patent application after publication |