CN106341729A - Audio/video data processing method and device - Google Patents

Audio/video data processing method and device Download PDF

Info

Publication number
CN106341729A
CN106341729A CN201610741862.9A CN201610741862A CN106341729A CN 106341729 A CN106341729 A CN 106341729A CN 201610741862 A CN201610741862 A CN 201610741862A CN 106341729 A CN106341729 A CN 106341729A
Authority
CN
China
Prior art keywords
played
engine
audio
playback engine
file format
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
Application number
CN201610741862.9A
Other languages
Chinese (zh)
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.)
LeTV Holding Beijing Co Ltd
LeTV Mobile Intelligent Information Technology Beijing Co Ltd
Original Assignee
LeTV Holding Beijing Co Ltd
LeTV Mobile Intelligent Information Technology Beijing 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 LeTV Holding Beijing Co Ltd, LeTV Mobile Intelligent Information Technology Beijing Co Ltd filed Critical LeTV Holding Beijing Co Ltd
Priority to CN201610741862.9A priority Critical patent/CN106341729A/en
Publication of CN106341729A publication Critical patent/CN106341729A/en
Pending legal-status Critical Current

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/44Processing 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/4402Processing 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 reformatting operations of video signals for household redistribution, storage or real-time display
    • 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/439Processing of audio elementary streams
    • H04N21/4398Processing of audio elementary streams involving reformatting operations of audio signals

Abstract

An embodiment of the invention discloses an audio/video data processing method and device, and relates to the technical field of data processing. The method comprises the following steps: obtaining file format information of an audio/video file to be played; according to the file format information, determining a play engine, which is matched with the file format indicated by the file format information, from a plurality of play engines of a player; and playing the audio/video file to be played by utilizing the determined play engine. The method is characterized by selecting the matched play engine before playing the audio/video file, and then, playing the audio/video file to be played through the matched play engine, thereby preventing the case that the player cannot play the audio/video file, and improving user experience.

Description

A kind of audio and video data processing method and device
Technical field
The present embodiments relate to technical field of data processing, more particularly, to a kind of audio and video data processing method and dress Put.
Background technology
With the development of audio and video playing technology, user can be by client (as player client) to audio frequency and video literary composition Part plays out, but most of player acquiescence is played out using single playback engine, and this results in audio-video document The limitation play.
, due to the disunity of coded format, the type causing audio-video document is varied, existing for audio-video document In player, single playback engine is limited only to play certain types of audio-video document, and the sound for some specific types regards Frequency file player cannot be play.
During realizing the embodiment of the present invention, inventor finds that prior art at least has a following defect: existing broadcasts Put playback engine in device single it is impossible to play out to the audio-video document of multiple format.
Content of the invention
The purpose of the embodiment of the present invention is to provide a kind of audio/video processing method and device, to solve in existing player Playback engine single it is impossible to problem that the audio-video document of multiple format is played out.
In a first aspect, a possible embodiment of the embodiment of the present invention provides a kind of audio/video processing method, comprising: Obtain the file format information of audio-video document to be played;According to file format information, from multiple playback engine of player The playback engine that middle determination is matched with the file format indicated by file format information;Treated using the playback engine determining and broadcast The audio-video document put plays out.
Second aspect, a possible embodiment of the embodiment of the present invention provides a kind of audio frequency and video processing meanss, comprising: Acquisition module, for obtaining the file format information of audio-video document to be played;Matching module, for believing according to file format Breath, determines that from multiple playback engine of player the broadcasting being matched with the file format indicated by file format information is drawn Hold up;Playing module, for being played out to audio-video document to be played using the playback engine determining.
Audio and video data processing method provided in an embodiment of the present invention, by obtaining the file of audio-video document to be played Format information, according to file format information, from multiple playback engine of player determine with file format information indicated by The playback engine that file format matches, is played out to audio-video document to be played using the playback engine determining.Right Audio-video document first selects the playback engine mated before playing out, then by the playback engine of coupling to audio frequency and video to be played File plays out, effectively avoid player cannot audio-video document situation, improve the experience of user.
Brief description
Fig. 1 is a kind of flow chart of steps of audio and video data processing method that the embodiment of the present invention one provides;
Fig. 2 is a kind of flow chart of steps of audio and video data processing method that the embodiment of the present invention two provides;
Fig. 3 is a kind of flow chart of steps of audio and video data processing method that the embodiment of the present invention three provides;
Fig. 4 is a kind of structured flowchart of audio, video data processing meanss that the embodiment of the present invention four provides;
Fig. 5 is a kind of structured flowchart of audio, video data processing meanss that the embodiment of the present invention five provides;
Fig. 6 is a kind of structured flowchart of audio, video data processing equipment that the embodiment of the present invention six provides.
Specific embodiment
(in some accompanying drawings, identical label represents identical element) and embodiment below in conjunction with the accompanying drawings, implements to the present invention The specific embodiment of example is described in further detail.Following examples are used for the embodiment of the present invention is described, but are not limited to The scope of the embodiment of the present invention.
It will be understood by those skilled in the art that the term such as " first ", " second " in the embodiment of the present invention is only used for distinguishing Different step, equipment or module etc., neither represent any particular technology implication, also do not indicate that the inevitable logic between them is suitable Sequence.
Embodiment one
With reference to Fig. 1, show a kind of flow chart of steps of audio and video data processing method that the embodiment of the present invention one provides, Specifically may include steps of:
The file format information of step 102, acquisition audio-video document to be played.
The embodiment of the present invention, by the way of arranging multiple playback engine in player, is drawn by the broadcasting selecting to mate Hold up and guarantee audio-video document normal play.
Before player plays out to audio-video document, audio-video document to be played is analyzed process, obtains Take the file format information of audio-video document to be played, this document format information can reflect audio frequency and video number to a certain extent According to coding form, can be used to the playback engine of this audio-video document form of Matching supporting.
Step 104, according to file format information, from multiple playback engine of player determine with file format information institute The playback engine that the file format indicating matches.
In the embodiment of the present invention, player prestores multiple playback engine, wherein, each playback engine is all permissible Play the audio-video document of specific format, and each playback engine is stored with corresponding playback engine information.
According to the file format information of the audio-video document to be played obtaining, search multiple playback engine in player Information, determines the playback engine information matching with audio-video document format information to be played;Determined according to playback engine information Corresponding playback engine.
Step 106, using determine playback engine audio-video document to be played is played out.
Call, in multiple playback engine of storage, the playback engine mated with audio-video document to be played from player, By the playback engine of coupling, audio-video document to be played is played out.
In embodiments of the present invention, a kind of playback engine can play the audio-video document of multiple format, can select The optimum playback engine of degree of joining plays out to audio-video document to be played.
Audio and video data processing method provided in an embodiment of the present invention, by obtaining the file of audio-video document to be played Format information, according to file format information, from multiple playback engine of player determine with file format information indicated by The playback engine that file format matches, is played out to audio-video document to be played using the playback engine determining.Right Audio-video document first selects the playback engine mated before playing out, then by the playback engine of coupling to audio frequency and video to be played File plays out, effectively avoid player cannot audio-video document situation, improve the experience of user.
Embodiment two
With reference to Fig. 2, show a kind of flow chart of steps of audio and video data processing method that the embodiment of the present invention two provides, Specifically may include steps of:
Step 202, when player initializes, send playback engine version obtain information.
After user enters player application, player auto-initiation, now player is to server transmission playback engine Version obtains information, obtains up-to-date playback engine version information in server, the such as quantity information of playback engine, playback engine Version information etc..
Step 204, receive feedback playback engine version information, and the playback engine version current with player carry out Relatively.
If the current playback engine version of step 206 player is less than the playback engine version receiving, download reception The corresponding configuration file of playback engine version and engine library file.
Step 208, the configuration file according to download and engine library file, update the playback engine of player.
Player the reception server feedback playback engine version information, and with current playback engine version in player Originally it is compared, such as determines whether that new playback engine updates, and for example whether currently playing engine is latest edition shape State.
By comparing, when determining that current playback engine version is less than the playback engine version receiving, e.g., go out in server Now new playback engine or server are updated to some or multiple playback engine;Then player obtains to server The playback engine of redaction, that is, download the corresponding configuration file of playback engine version and the engine library file of reception, player root According to the configuration file downloaded and engine library file, update the playback engine of player, such as update the version or more of player engine The quantity of new playback engine.
By said process it is achieved that the renewal of playback engine, to ensure that the player after updating can be more effectively Support the audio-video document of multiple different-formats, be prevented effectively from the situation that audio-video document plays failure.But people in the art Member, it should be understood that said process is only optional process, also need not player all be carried out when initializing every time.
Step 210, before audio-video document to be played commences play out, obtain audio-video document format information.
After the play instruction of player receive user triggering, audio-video document to be played is added to player list In, before audio-video document to be played commences play out, audio-video document to be played is analyzed, obtains audio-video document Format information, including but not limited to: the file format of audio-video document, the coding information of audio-video document, audio-video document With the presence or absence of multiple format etc..
Step 212, according to file format information generate engine matching instruction.
Step 214, according to engine matching instruction from player storage multiple playback engine engine library determine with literary composition The playback engine that file format indicated by part format information matches.
After player determines the file format information of audio-video document to be played, engine is generated according to file format information Join instruction, wherein, engine matching instruction carries the file format information of audio-video document to be played, engine matching instruction due to Broadcasting of matching with the file format information of audio-video document to be played is matched from multiple playback engine of player storage Put engine.
One of implement alternative in the present invention to include, engine library is set in player, deposits in engine library Store up multiple playback engine for playing audio-video document, when playback engine receives engine matching instruction, analytics engine Join the file format information that instruction obtains corresponding audio-video document to be played, and determine the file with audio-video document to be played The playback engine that format information matches, returns corresponding playback engine information to player, wherein, playback engine information is permissible The including but not limited to numbering of playback engine, storage address of playback engine etc..
Step 216, using determine playback engine audio-video document to be played is played out.
The playback engine information that player returns according to playback engine storehouse, calls corresponding broadcasting to draw from playback engine storehouse Hold up, and by this playback engine, audio-video document to be played is played out.
The present invention implements the audio and video data processing method of offer, is drawn by when player initializes, sending broadcasting Hold up version and obtain information, receive the information of the playback engine version of feedback, and the playback engine version current with player is carried out Relatively, if the current playback engine version of player is less than the playback engine version receiving, download the playback engine version of reception This corresponding configuration file and engine library file, according to the configuration file downloaded and engine library file, update the broadcasting of player Engine, before audio-video document to be played commences play out, obtains the format information of audio-video document, according to file format information Generate engine matching instruction, determined and literary composition from the engine library of the multiple playback engine of storage of player according to engine matching instruction The playback engine that file format indicated by part format information matches.The embodiment of the present invention is passed through to start in each player Before, automatically carry out version updating, can effectively obtain the playback engine of the latest edition of server issue, to audio frequency and video literary composition Part first selects the playback engine mated before playing out, then by the playback engine of coupling, audio-video document to be played is carried out Play, effectively avoid player cannot audio-video document situation, improve the experience of user.
Embodiment three
With reference to Fig. 3, show a kind of flow chart of steps of audio and video data processing method that the embodiment of the present invention three provides,
The audio and video data processing method of the embodiment of the present invention, is not only applicable to a certain audio-video document form single Situation, applies also for the situation that a certain audio-video document includes the subfile of two different file formats, below with audio frequency and video literary composition Part is introduced in case of including the subfile of two different file formats.
The embodiment of the present invention, specifically may include steps of:
The file format information of subfile to be played in step 302, acquisition audio-video document to be played.
Before player plays audio-video document to be played, first obtain first to be played in audio-video document to be played The file format information of subfile, the such as coding information of first subfile to be played.For example, user is from multiple different servers Multiple subfiles of an audio-video document are downloaded, each subfile employs different file formats.When playing out, Player can be play successively according to the order of subfile, and this is accomplished by the file format information of each subfile is obtained And judgement.Specifically, e.g., audio-video document a includes tri- subfiles of a1, a2 and a3, and wherein, a1 is mp4 form, and a2 is avi Form, a3 is wmv form, then in this step, because a1 is the subfile of first broadcasting, need first to obtain the file format letter of a1 Breath.
Step 304, according to file format information, from multiple playback engine of player determine with file format information institute The first playback engine that the file format indicating matches.
According to the file format information of first subfile to be played, generate the first engine matching instruction, draw according to first Hold up matching instruction and determine the matching with the file format information of first subfile to be played from the engine library of player One playback engine information, wherein, the first playback engine information is used for instruction and calls the first playback engine from playback engine storehouse, its In the first playback engine include the first decoder.
Step 306, subfile to be played is decoded play.
Player calls the first playback engine by the first playback engine information from playback engine storehouse, plays by first The first decoder in engine is decoded to the coding file of first subfile to be played playing.
If step 308 decodes unsuccessfully it is determined that the file format of subfile to be played is drawn with the currently playing of player Hold up mismatch, then execution obtains the file format information of subfile to be played in audio-video document to be played.
In embodiments of the present invention, the state of the subfile to be played to decoder is needed to be monitored, if monitoring to solve When code device decodes certain subfile failure to be played, determine working as of the file format of subfile currently to be played and player The first front playback engine mismatches, and obtains the file format information decoding unsuccessfully corresponding subfile to be played.
Step 310, according to file format information, from multiple playback engine of player determine with file format information institute The second playback engine that the file format indicating matches.
File format information according to decoding unsuccessfully corresponding subfile to be played generates the second engine matching instruction, root Determine and decode the file format of subfile to be played unsuccessfully from the engine library of player according to the second engine matching instruction Second playback engine information of information match, wherein, the second playback engine information is used for instruction and calls from playback engine storehouse Second playback engine, the wherein second playback engine includes the second decoder.
Step 312, using determine the second playback engine audio-video document to be played is played out.
Player calls the second playback engine by the second playback engine information from playback engine storehouse, plays by second The second decoder in engine is decoded to the coding file of the subfile to be played decoding unsuccessfully playing.
In embodiments of the present invention, the secondary of playback engine switching can be determined according to the quantity of audio-video document Format Type Number, such as certain audio-video document form includes three kinds of coded systems, then need switching playback engine twice.This present invention is not made have Body limits.
The embodiment of the present invention is passed through to obtain the file format information of subfile to be played in audio-video document to be played, According to file format information, determine and the file format phase indicated by file format information from multiple playback engine of player First playback engine of coupling, is decoded to subfile to be played playing by the first playback engine, if decoding unsuccessfully, Determine that the file format of subfile to be played is mismatched with the currently playing engine of player, then execution obtains sound to be played The file format information of subfile to be played in video file, according to file format information, draws from multiple broadcastings of player Hold up and determine the second playback engine matching with the file format indicated by file format information, using the second broadcasting determining Engine plays out to audio-video document to be played.Same audio-video document can not be play when running into a certain playback engine completely When, player can automatically switch playback engine to determine the normal play of current audio-video document, effectively avoids broadcasting Device cannot audio-video document situation, improve the experience of user.
It will be understood by those skilled in the art that in the said method of embodiment of the present invention specific embodiment, each step Sequence number size be not meant to the priority of execution sequence, the execution sequence of each step should be determined with its function and internal logic, And should not constitute any restriction to the implementation process of embodiment of the present invention specific embodiment.
Example IV
With reference to Fig. 4, show a kind of structured flowchart of audio, video data processing meanss that the embodiment of the present invention four provides;Tool Body can be included as lower module:
Acquisition module 402, for obtaining the file format information of audio-video document to be played.
Matching module 404, for according to file format information, determining and tray from multiple playback engine of player The playback engine that file format indicated by formula information matches.
Playing module 406, for being played out to audio-video document to be played using the playback engine determining.
Audio, video data processing meanss provided in an embodiment of the present invention, by obtaining the file of audio-video document to be played Format information, according to file format information, from multiple playback engine of player determine with file format information indicated by The playback engine that file format matches, is played out to audio-video document to be played using the playback engine determining.Right Audio-video document first selects the playback engine mated before playing out, then by the playback engine of coupling to audio frequency and video to be played File plays out, effectively avoid player cannot audio-video document situation, improve the experience of user.
Embodiment five
With reference to Fig. 5, show a kind of structured flowchart of audio, video data processing meanss that the embodiment of the present invention five provides, tool Body can be included as lower module:
Update module 408, obtains information for when player initializes, sending playback engine version;Receive feedback The information of playback engine version, and the playback engine version current with player be compared;If the current broadcasting of player is drawn Hold up version and be less than the playback engine version receiving, then download the corresponding configuration file of playback engine version and the engine library text of reception Part;According to the configuration file downloaded and engine library file, update the playback engine of player.
Acquisition module 402, for before audio-video document to be played commences play out, obtaining the form letter of audio-video document Breath.
Matching module 404, for according to file format information, determining and tray from multiple playback engine of player The playback engine that file format indicated by formula information matches.
Playing module 406, for being played out to audio-video document to be played using the playback engine determining.
As improvement, when audio-video document to be played includes the subfile of at least two different file formats, decoding Module 410, for being decoded to subfile to be played.
Judge module 412, if be additionally operable to decode unsuccessfully it is determined that the file format of subfile to be played and player Currently playing engine mismatches, then execution obtains the file format letter of subfile to be played in audio-video document to be played Breath.
Matching module 404, comprising: instruction generates submodule 4042, for generating engine coupling according to file format information Instruction;Engine determination sub-module 4044, for the engine of the multiple playback engine of storage from player according to engine matching instruction The playback engine matching with the file format indicated by file format information is determined in storehouse.
Playing module 406, for being played out to audio-video document to be played using the playback engine determining.
The present invention implements the audio, video data processing meanss of offer, is drawn by when player initializes, sending broadcasting Hold up version and obtain information, receive the information of the playback engine version of feedback, and the playback engine version current with player is carried out Relatively, if the current playback engine version of player is less than the playback engine version receiving, download the playback engine version of reception This corresponding configuration file and engine library file, according to the configuration file downloaded and engine library file, update the broadcasting of player Engine, before audio-video document to be played commences play out, obtains the format information of audio-video document, according to file format information Generate engine matching instruction, determined and literary composition from the engine library of the multiple playback engine of storage of player according to engine matching instruction The playback engine that file format indicated by part format information matches.The embodiment of the present invention is passed through to start in each player Before, automatically carry out version updating, can effectively obtain the playback engine of the latest edition of server issue, to audio frequency and video literary composition Part first selects the playback engine mated before playing out, then by the playback engine of coupling, audio-video document to be played is carried out Play, effectively avoid player cannot audio-video document situation, improve the experience of user.
Embodiment six
The embodiment of the present invention five additionally provides a kind of audio, video data processing equipment 600, and the embodiment of the present invention is not to sound Implementing of video processing equipment 600 limits.As shown in fig. 6, this audio frequency and video processing equipment 600 may include that
Processor (processor) 602, communication interface (communications interface) 604, memorizer (memory) 606 and communication bus 608.Wherein:
Processor 602, communication interface 604 and memorizer 606 complete mutual communication by communication bus 608.
Communication interface 604, for the communication between player server.
Processor 602, for configuration processor 610, specifically can execute the correlation step in said method embodiment.
Specifically, program 610 can include program code, and program code includes computer-managed instruction.
Processor 602 is probably a central processing unit cpu, or specific integrated circuit asic (application Specific integrated circuit), or be arranged to implement the one or more integrated electricity of the embodiment of the present invention Road.
Memorizer 606, is used for depositing program 610.Memorizer 606 may comprise high speed ram memorizer it is also possible to also include Nonvolatile memory (non-volatile memory), for example, at least one disk memory.Program 610 specifically can be used Execute following operation in making processor 602: obtain the file format information of audio-video document to be played;According to file format Information, determines that from multiple playback engine of player the broadcasting being matched with the file format indicated by file format information is drawn Hold up;Using the playback engine determining, audio-video document to be played is played out.
In a kind of optional embodiment, program 610 is additionally operable to so that processor 602 obtains audio frequency and video literary composition to be played The file format information of subfile to be played in part.
In a kind of optional embodiment, program 610 is additionally operable to so that processor 602 is carried out to subfile to be played Decoding;If decoding unsuccessfully it is determined that the file format of subfile to be played is mismatched with the currently playing engine of player, Execution obtains the file format information of subfile to be played in audio-video document to be played.
In a kind of optional embodiment, program 610 is additionally operable to so that processor 602 generates according to file format information Engine matching instruction;Determined and tray from the engine library of the multiple playback engine of storage of player according to engine matching instruction The playback engine that file format indicated by formula information matches.
In a kind of optional embodiment, program 610 is additionally operable to so that processor 602 is when player initializes, and sends out Playback engine version is sent to obtain information;Receive the information of the playback engine version of feedback, and the playback engine current with player Version is compared;If the current playback engine version of player is less than the playback engine version receiving, download broadcasting of reception Put the corresponding configuration file of Engine Version and engine library file;According to the configuration file downloaded and engine library file, update and play The playback engine of device.
It should be understood that the equipment 600 providing according to embodiments of the present invention can achieve the corresponding of each method in Fig. 1 to Fig. 2 Flow process, for sake of simplicity, will not be described here, the associated description in said method embodiment is also applied for the present embodiment.
In program 610 each step implement corresponding in the corresponding steps that may refer in above-described embodiment and module Description, will not be described here.Those skilled in the art can be understood that, for convenience and simplicity of description, above-mentioned retouches The equipment stated and the specific work process of module, may be referred to the corresponding process description in preceding method embodiment, here is no longer Repeat.
The present invention implements the audio, video data processing equipment of offer, is drawn by when player initializes, sending broadcasting Hold up version and obtain information, receive the information of the playback engine version of feedback, and the playback engine version current with player is carried out Relatively, if the current playback engine version of player is less than the playback engine version receiving, download the playback engine version of reception This corresponding configuration file and engine library file, according to the configuration file downloaded and engine library file, update the broadcasting of player Engine, before audio-video document to be played commences play out, obtains the format information of audio-video document, according to file format information Generate engine matching instruction, determined and literary composition from the engine library of the multiple playback engine of storage of player according to engine matching instruction The playback engine that file format indicated by part format information matches.The embodiment of the present invention is passed through to start in each player Before, automatically carry out version updating, can effectively obtain the playback engine of the latest edition of server issue, to audio frequency and video literary composition Part first selects the playback engine mated before playing out, then by the playback engine of coupling, audio-video document to be played is carried out Play, effectively avoid player cannot audio-video document situation, improve the experience of user.
It may be noted that according to the needs implemented, all parts/step described in the embodiment of the present invention can be split as more The part operation of two or more components/steps or components/steps also can be combined into new part/step by multi-part/step Suddenly, to realize the purpose of the embodiment of the present invention.
Above-mentioned method according to embodiments of the present invention can be realized in hardware, firmware, or is implemented as being storable in remembering Software in recording medium (such as cd rom, ram, floppy disk, hard disk or magneto-optic disk) or computer code, or it is implemented through net The original storage that network is downloaded and will be stored in local recording medium in long-range recording medium or nonvolatile machine readable media In computer code, thus method described here can be stored in using general purpose computer, application specific processor or can compile Such software processes in the recording medium of journey or specialized hardware (such as asic or fpga).It is appreciated that computer, process (for example, device, microprocessor controller or programmable hardware include can storing or receive the storage assembly of software or computer code Ram, rom, flash memory etc.), when software or computer code are by computer, processor or hardware access and when executing, realize here The audio and video data processing method of description.Additionally, when general purpose computer accesses for realizing at the audio, video data being shown in which During the code of reason, the execution of code is converted to general purpose computer for executing the special of the audio, video data process being shown in which Computer.
Those of ordinary skill in the art are it is to be appreciated that combine the list of each example of the embodiments described herein description Unit and method and step, being capable of being implemented in combination in electronic hardware or computer software and electronic hardware.These functions are actually To be executed with hardware or software mode, the application-specific depending on technical scheme and design constraint.Professional and technical personnel Each specific application can be used different methods to realize described function, but this realization is it is not considered that exceed The scope of the embodiment of the present invention.
Embodiment of above is merely to illustrate the embodiment of the present invention, and the not restriction to the embodiment of the present invention, relevant skill The those of ordinary skill in art field, in the case of the spirit and scope without departing from the embodiment of the present invention, can also make various Change and modification, therefore all equivalent technical schemes fall within the category of the embodiment of the present invention, the patent of the embodiment of the present invention Protection domain should be defined by the claims.

Claims (10)

1. a kind of audio and video data processing method, comprising:
Obtain the file format information of audio-video document to be played;
According to described file format information, from multiple playback engine of player determine with described file format information indicated by The playback engine that matches of file format;
Using the described playback engine determining, described audio-video document to be played is played out.
2. method according to claim 1, wherein, when described audio-video document to be played includes at least two not identical texts During the subfile of part form, the file format information of described acquisition audio-video document to be played, comprising:
Obtain the file format information of subfile to be played in described audio-video document to be played.
3. method according to claim 2, wherein, in the described file format information obtaining audio-video document to be played Before, methods described also includes:
Described subfile to be played is decoded;
If decode unsuccessfully it is determined that the currently playing engine of the file format of described subfile to be played and described player not Coupling, then execute the described file format information obtaining subfile to be played in audio-video document to be played.
4. method according to claim 1 and 2, wherein, described according to described file format information, multiple from player The playback engine matching with the file format indicated by described file format information is determined in playback engine, comprising:
Engine matching instruction is generated according to described file format information;
Determined and described tray from the engine library of the multiple playback engine of storage of player according to described engine matching instruction The playback engine that file format indicated by formula information matches.
5. method according to claim 1, wherein, methods described also includes:
When described player initializes, send playback engine version and obtain information;
Receive the information of the playback engine version of feedback, and the playback engine version current with described player is compared;
If the current playback engine version of described player is less than the described playback engine version receiving, download the described of reception The corresponding configuration file of playback engine version and engine library file;
According to the described configuration file downloaded and engine library file, update the playback engine of described player.
6. a kind of audio, video data processing meanss, comprising:
Acquisition module, for obtaining the file format information of audio-video document to be played;
Matching module, for according to described file format information, determining and described file from multiple playback engine of player The playback engine that file format indicated by format information matches;
Playing module, for being played out to described audio-video document to be played using the described playback engine determining.
7. device according to claim 6, wherein,
When described audio-video document to be played includes the subfile of at least two different file formats, described acquisition module, It is additionally operable to obtain the file format information of subfile to be played in described audio-video document to be played.
8. device according to claim 7, wherein, described device also includes:
Decoder module, for being decoded to described subfile to be played;
Judge module, if be additionally operable to decode unsuccessfully it is determined that the file format of described subfile to be played and described player Currently playing engine mismatch, then execute the described tray obtaining subfile to be played in audio-video document to be played Formula information.
9. the device according to claim 6 or 7, wherein, described matching module, comprising:
Instruction generates submodule, for generating engine matching instruction according to described file format information;
Engine determination sub-module, for the engine library of the multiple playback engine of storage from player according to described engine matching instruction The playback engine that middle determination is matched with the file format indicated by described file format information.
10. device according to claim 6, wherein, described device also includes:
Update module, obtains information for when described player initializes, sending playback engine version;Receive the broadcasting of feedback The information of Engine Version, and the playback engine version current with described player be compared;If current the broadcasting of described player Put Engine Version and be less than the described playback engine version receiving, then download the described playback engine version corresponding configuration literary composition of reception Part and engine library file;According to the described configuration file downloaded and engine library file, update the playback engine of described player.
CN201610741862.9A 2016-08-26 2016-08-26 Audio/video data processing method and device Pending CN106341729A (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN201610741862.9A CN106341729A (en) 2016-08-26 2016-08-26 Audio/video data processing method and device

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN201610741862.9A CN106341729A (en) 2016-08-26 2016-08-26 Audio/video data processing method and device

Publications (1)

Publication Number Publication Date
CN106341729A true CN106341729A (en) 2017-01-18

Family

ID=57822384

Family Applications (1)

Application Number Title Priority Date Filing Date
CN201610741862.9A Pending CN106341729A (en) 2016-08-26 2016-08-26 Audio/video data processing method and device

Country Status (1)

Country Link
CN (1) CN106341729A (en)

Cited By (7)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN110324670A (en) * 2019-07-30 2019-10-11 北京奇艺世纪科技有限公司 A kind of transmission method of video, device and server
CN110401852A (en) * 2019-07-17 2019-11-01 深圳育成教育科技有限公司 A kind of multimedia messages playback method, system and storage medium
CN110971760A (en) * 2019-12-04 2020-04-07 Tcl移动通信科技(宁波)有限公司 Network communication content output control method and device, storage medium and terminal equipment
CN111447499A (en) * 2020-03-30 2020-07-24 深圳巴伦如梭网络有限公司 Playing algorithm based on playing equipment and media qualification type matching optimal player
CN111797270A (en) * 2019-08-07 2020-10-20 厦门雅基软件有限公司 Audio playing method and device, electronic equipment and computer readable storage medium
CN114339325A (en) * 2021-12-30 2022-04-12 珠海豹趣科技有限公司 Multi-engine dynamic wallpaper playing method and device based on android system
CN114827680A (en) * 2022-04-21 2022-07-29 上海艺赛旗软件股份有限公司 Multi-channel video synchronous playing method, system, equipment and storage medium

Cited By (8)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN110401852A (en) * 2019-07-17 2019-11-01 深圳育成教育科技有限公司 A kind of multimedia messages playback method, system and storage medium
CN110324670A (en) * 2019-07-30 2019-10-11 北京奇艺世纪科技有限公司 A kind of transmission method of video, device and server
CN111797270A (en) * 2019-08-07 2020-10-20 厦门雅基软件有限公司 Audio playing method and device, electronic equipment and computer readable storage medium
CN110971760A (en) * 2019-12-04 2020-04-07 Tcl移动通信科技(宁波)有限公司 Network communication content output control method and device, storage medium and terminal equipment
CN111447499A (en) * 2020-03-30 2020-07-24 深圳巴伦如梭网络有限公司 Playing algorithm based on playing equipment and media qualification type matching optimal player
CN114339325A (en) * 2021-12-30 2022-04-12 珠海豹趣科技有限公司 Multi-engine dynamic wallpaper playing method and device based on android system
CN114339325B (en) * 2021-12-30 2023-12-19 珠海豹趣科技有限公司 Multi-engine dynamic wallpaper playing method and device based on android system
CN114827680A (en) * 2022-04-21 2022-07-29 上海艺赛旗软件股份有限公司 Multi-channel video synchronous playing method, system, equipment and storage medium

Similar Documents

Publication Publication Date Title
CN106341729A (en) Audio/video data processing method and device
US11531699B2 (en) Inserting information into playing content
CN103385008B (en) Content delivery method and system
US20080250080A1 (en) Annotating the dramatic content of segments in media work
CN105898362A (en) Video content retrieval method and device
CN104185996A (en) System and method for secure asynchronous event notification for adaptive streaming based on ISO base media file format
CN103179146B (en) Sharing method and relevant system for application program playing contents
CN104602138A (en) Method and device for supporting HLS protocol by streaming media server
CN103685264A (en) Method, client side and system for broadcasting media fragmentations in turn
CN101739515A (en) Game generation control method and system
US20160198232A1 (en) Method and Apparatus for Setting Language Type
CN104618418A (en) Method and device for playing multimedia file
CN105933778A (en) Live broadcast method and device based on screen contents of terminal
US11928122B2 (en) Systems and methods for creating query results displays
CN104967879B (en) Video broadcasting method and device
CN108966041B (en) Audio and video playing point burying method, device, equipment and computer readable storage medium
CN103460710A (en) Communication system, communication device, and communication method
CN102906777B (en) Information processing system, setting change method and computer program
CN105096989A (en) Method and apparatus for processing background music
CN108965923A (en) A kind of acquisition methods of video/audio
CN111049871B (en) Message pushing method, message management system, server and computer storage medium
CN106791926A (en) A kind of player method of informational video file, system and terminal
CN108521601B (en) Method and device for rapidly playing non-standard code stream
CN108564971B (en) Audio playing method and device
CN107172451B (en) Video playing control method and device

Legal Events

Date Code Title Description
C06 Publication
PB01 Publication
WD01 Invention patent application deemed withdrawn after publication
WD01 Invention patent application deemed withdrawn after publication

Application publication date: 20170118