CN102592640A - Decoding chain customizing system and method - Google Patents

Decoding chain customizing system and method Download PDF

Info

Publication number
CN102592640A
CN102592640A CN2011104450969A CN201110445096A CN102592640A CN 102592640 A CN102592640 A CN 102592640A CN 2011104450969 A CN2011104450969 A CN 2011104450969A CN 201110445096 A CN201110445096 A CN 201110445096A CN 102592640 A CN102592640 A CN 102592640A
Authority
CN
China
Prior art keywords
decoding chain
decoding
chain
module
information
Prior art date
Legal status (The legal status is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the status listed.)
Pending
Application number
CN2011104450969A
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.)
Changchun Cedar Electronics Technology Co Ltd
Original Assignee
Changchun Cedar Electronics Technology Co Ltd
Priority date (The priority date is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the date listed.)
Filing date
Publication date
Application filed by Changchun Cedar Electronics Technology Co Ltd filed Critical Changchun Cedar Electronics Technology Co Ltd
Priority to CN2011104450969A priority Critical patent/CN102592640A/en
Publication of CN102592640A publication Critical patent/CN102592640A/en
Pending legal-status Critical Current

Links

Images

Abstract

The invention relates to a decoding chain customizing system and a decoding chain customizing method. The system comprises an information configuring module, a user customizing module and a chain establishing core module, wherein the information configuring module is used for loading and storing decoder information and a decoding chain preset scheme from a configuration file; the user customizing module is used for customizing a decoding chain scheme according to different media file coding formats; and the chain establishing core module is used for constructing a decoding chain according to the customized decoding chain scheme. According to different media file encoding formats, the user can select the decoding chain preset scheme as a decoding chain customizing scheme, and can also select a decoder from the decoder information loaded by the configuration file and the decoder information loaded from the outside to form the decoding chain customizing scheme, so that different decoding requirements are met. The system and the method are free of the dependence on a Windows system; the user can find a balance point between decoding effect and decoding stability; and the flexibility is improved. The system and the method are applicable to software systems requiring construction of decoding chains.

Description

A kind of decoding chain custom-built system and method
Technical field
The present invention relates to a kind of decoding chain custom-built system and method, particularly relate under a kind of Windows decoding chain custom-built system and method based on Directshow.
Background technology
At present, the audio/video coding form is more and more, and corresponding demoder also is that quantity increases suddenly, a kind of demoder multiple coded format of can decoding, and a kind of coded format also often can be by multiple decoder decode.For common entertainment applications, the user generally pursues decoding effect, and some special fields, media advertising etc. for example, the then more stability of closing comment code of user more.If it is improper that demoder is selected, not only can not reach stable and effective decoding, even the failure of might decoding.The selection of demoder when making up the decoding chain, based on the method below general employing of playout software of Directshow:
1. fully select the demoder registered in the Windows system, make up the decoding chain according to its priority according to the framework of Directshow intelligent interlinking.
2. expert's media library is provided,, provides the decoding chain scheme of an optimum, just select corresponding demoder when making up the decoding chain with reference to expert's media library to every kind of coded format.
Can see; The selection of method 1 demoder seriously relies on the Windows system, and final decoding effect is unpredictable with decoding stability, though method 2 is accomplished the Windows system independence; But expert's media library is not open to the user; If decoding problem, the user also can only make up the decoding chain according to the recommendation of expert's media library, and can not select more suitable demoder freely.
Summary of the invention
The technical matters that the present invention will solve provides a kind of user and can freely select demoder to make up the decoding chain, thereby satisfies the decoding chain custom-built system that difference is separated code requirement.
In order to solve the problems of the technologies described above, decoding chain custom-built system of the present invention comprises information collocation module, customization module and link setup nucleus module; Said information collocation module is used for loading and preserve DECODER information and the preset scheme of decoding chain from configuration file; The customization module is used for according to different media file coded format customization decoding chain schemes; The link setup nucleus module is used for the decoding chain scheme constructs decoding chain according to customization.
Said customization module can select the preset scheme of the decoding chain of information collocation module loading and preservation as decoding chain customized solution, or selects demoder in the DECODER information by information collocation module loading and preservation, thus formation decoding chain customized solution.
Said customization module can select information collocation module to load and the decoding chain of preservation is preset scheme as decoding chain customized solution; Or select demoder in the DECODER information by information collocation module loading and preservation; Thereby form decoding chain customized solution; Or by selecting demoder, chain customized solution in information collocation module loading and DECODER information of preserving and the outside demoder that is written into thereby formation is decoded.
Another technical matters that the present invention will solve provides a kind of user and can freely select demoder to make up the decoding chain, thereby satisfies the decoding chain method for customizing that difference is separated code requirement.
In order to solve the problems of the technologies described above, decoding chain method for customizing of the present invention comprises the steps:
1) from configuration file, loads and preserves DECODER information and the preset scheme of decoding chain;
2) to different media file coded format customization decoding chain schemes;
3) according to the decoding chain scheme constructs decoding chain that customizes.
Said step 2) in; To different media file coded formats; Can select from configuration file, to load and preserve the preset scheme of decoding chain as decoding chain customized solution, or from the DECODER information that configuration file loads and preserves, select demoder, thereby form decoding chain customized solution.
Said step 2) in; To different media file coded formats; The preset scheme of decoding chain that can select from configuration file, to load and preserve is perhaps selected demoder as decoding chain customized solution from the DECODER information that configuration file loads and preserves, thereby forms decoding chain customized solution; Perhaps from configuration file loading and DECODER information of preserving and the outside demoder that is written into, select demoder, thereby form decoding chain customized solution.
The present invention is directed to different media file coded formats; The preset scheme of decoding chain that the user can freely select to load in the configuration file is as decoding chain customized solution; Also can from the DECODER information that configuration file loads, select demoder; Thereby form decoding chain customized solution, satisfy the different code requirements of separating.The structure of decoding chain has been broken away from the Windows system and has been relied on, and can make the user between decoding effect and decoding stability, find equilibrium point, has improved dirigibility.Select demoder the DECODER information that particularly user can also be written into from the DECODER information and the outside of configuration file loading; Thereby form decoding chain customized solution; Further improved the dirigibility of decoding chain building, made the user between decoding effect and decoding stability, find better equilibrium point.The present invention can be common in the various software systems that need to make up the decoding chains, audio/video player for example, audio frequency and video transcoding device etc.
Description of drawings
Below in conjunction with accompanying drawing and embodiment the present invention is further specified.
Fig. 1 is a decoding chain custom-built system structured flowchart of the present invention.
Fig. 2 is a decoding chain method for customizing main flow chart of the present invention.
Fig. 3 is that customization decoding chain of the present invention is implemented illustration.
Embodiment
As shown in Figure 1, decoding chain custom-built system of the present invention comprises information collocation module 101, customization module 102, and link setup nucleus module 103, wherein information collocation module 101 is used for loading and preserve DECODER information and the preset scheme of decoding chain from configuration file; Customization module 102 can select information collocation module to load and the decoding chain of preservation is preset scheme as decoding chain customized solution; Can be by selecting demoder in information collocation module 101 loadings and the DECODER information of preserving; Thereby form decoding chain customized solution; Can also be by selecting demoder, chain customized solution in information collocation module 101 loadings and DECODER information of preserving and the outside DECODER information that is written into thereby formation is decoded.Link setup nucleus module 103 is used for making up the decoding chain according to decoding chain customized solution.
Said DECODER information can be subdivided into the medium type of CLSID, file path and the support of various filter (filter).
Said decoding chain is meant the functional module that is interlinked and constituted by a series of demoders.For example, source filter separates filter, decoding filter with play up filter, these demoders generally exist with the ax file.Possesses the loading medium file by these demoders decoding chain that constitutes that interlinks, decoding, the function of real-time rendering.
Media file has multiple different coding form; To every kind of media file coded format; The present invention preset one source filter that the group media type is corresponding with it and decoding effect is best separates filter, decoding filter with play up filter; Form the preset scheme of decoding chain, be stored in configuration file.The user can select the preset scheme of this decoding chain as decoding chain customized solution, makes up the decoding chain by link setup nucleus module 103 according to this decoding chain customized solution.
To every kind of media file coded format, storage multiple source filter, a plurality of separation filter, a plurality of decoding filter and a plurality of filter that plays up in the configuration file.If the user is dissatisfied to the decoding effect of preset decoding chain scheme; Can in multiple source filter, select the corresponding with it source filter of a kind of medium type; In a plurality of separation filter, select the corresponding with it separation of a kind of medium type filter then; In a plurality of decoding filter, select the corresponding with it decoding of a kind of medium type filter, in a plurality of filter of playing up, select the corresponding with it filter that plays up of a kind of medium type, form decoding chain customized solution at last.Link setup nucleus module 103 makes up the decoding chain according to this decoding chain customized solution.
If the demoder of storing in the configuration file can not satisfy user's the code requirement of separating; The user can also add outer decoder, and information collocation module 101 is analyzed this demoder, and preserves its information specific; Comprise CLSID, the medium type of file path and support.The user promptly can select original demoder in the configuration file when customization decoding chain scheme, also can select the demoder of external load to make up the decoding chain, has further improved the dirigibility of decoding chain building.
Link setup nucleus module 103 according to the coded format of media file, finds the corresponding with it demoder of medium type in decoding chain scheme in the process that makes up the decoding chain, according to the information of demoder, dynamically be written into its ax file, the final decoding chain that forms.
As shown in Figure 2, decoding chain method for customizing concrete steps of the present invention are following:
Step 201: program brings into operation;
Step 202: read configuration file, initializing decoder information;
Step 203: the preset scheme of initialization decoding chain;
Step 204: if the demoder that provides in the configuration file can't satisfy user's demand, the user can be written into outer decoder, reads its CLSID, information such as medium type and file path;
Step 205: if the preset scheme of decoding chain can't satisfy user's demand, the user can select the corresponding with it demoder of medium type to the different coding form, forms decoding chain customized solution;
Step 206:, make up the decoding chain according to the preset scheme and the customized solution of decoding chain;
Step 207: preserve DECODER information to configuration file;
Step 208: preserve decoding chain scheme to configuration file;
Step 209: EOP (end of program).
To be example, the present invention is elaborated below to media file Xvid_MP3.avi customization decoding chain scheme.
As shown in Figure 3, media file is Xvid_MP3.avi, and its container is avi, and video code model wherein is Xvid, and the audio coding form is MP3.Its decoding chain comprises source filter 301, and avi separates filter 302, the Xvid filter 303 that decodes, and video is played up filter 304, and MP3 decoding filter 305, audio frequency play up filter 306.For source filter, recommend to use File Source (Async) 307; Avi separates filter, recommends to use Microsoft Avi Spliter 308, and the user also can select Gabest Avi Spliter 309; The video Xvid filter that decodes recommends to use Xvid Video Decoder 310, and Divx Video Decoder 311 is provided simultaneously, Ffdshow Video Decoder 312, and Mpc Video Decoder 313 lets the user select; If the user thinks that above four Xvid demoders all can't satisfy its requirement, can be from the external load demoder, Cyberlink Video Decoder 314 for example; Video is played up filter; Based on the consideration of stability, recommend to use Video Mixing Renderer 315, if the user seeks out better rendering effect; Can select Video Mixing Renderer 7316, and Video Mixing Renderer9 317; Audio frequency MP3 decoding filter recommends to use MPA Decoder 318, and the user also can select MPEG Layer-3Decoder 319; Audio frequency is played up filter, recommends to use DirectSound Device 320.
Wherein File Source (Async) 307, Microsoft Avi Spliter 308, Xvid Video Decoder 310, Video Mixing Renderer 315 and MPA Decoder 318, DirectSound Device 320 constitute the preset scheme of decoding chain.
The above only is a preferable implementation of the present invention, should not be considered to be limitation of the scope of the invention, and the scope that the present invention requires to protect is as the criterion with claim.

Claims (6)

1. a decoding chain custom-built system is characterized in that comprising information collocation module, customization module and link setup nucleus module; Said information collocation module is used for loading and preserve DECODER information and the preset scheme of decoding chain from configuration file; The customization module is used for according to different media file coded format customization decoding chain schemes; The link setup nucleus module is used for the decoding chain scheme constructs decoding chain according to customization.
2. decoding chain custom-built system according to claim 1; It is characterized in that said customization module selects information collocation module to load and the decoding chain of preservation is preset scheme as decoding chain customized solution; Or select demoder in the DECODER information by information collocation module loading and preservation, thereby form decoding chain customized solution.
3. decoding chain custom-built system according to claim 1; It is characterized in that said customization module can select information collocation module to load and the decoding chain of preservation is preset scheme as decoding chain customized solution; Or select demoder in the DECODER information by information collocation module loading and preservation; The chain customized solution thereby formation is decoded, or by selecting demoder, the chain customized solution thereby formation is decoded in information collocation module loading and DECODER information of preserving and the outside demoder that is written into.
4. a decoding chain method for customizing is characterized in that comprising the steps:
1) from configuration file, loads and preserves DECODER information and the preset scheme of decoding chain;
2) to different media file coded format customization decoding chain schemes;
3) according to the decoding chain scheme constructs decoding chain that customizes.
5. decoding chain method for customizing according to claim 4; It is characterized in that said step 2) in; To different media file coded formats; Selection loads and preserves the preset scheme of decoding chain as decoding chain customized solution from configuration file, or from the DECODER information that configuration file loads and preserves, selects demoder, thereby forms decoding chain customized solution.
6. decoding chain method for customizing according to claim 4; It is characterized in that said step 2) in; To different media file coded formats; The preset scheme of decoding chain that can select from configuration file, to load and preserve is perhaps selected demoder as decoding chain customized solution from the DECODER information that configuration file loads and preserves, thereby forms decoding chain customized solution; Perhaps from configuration file loading and DECODER information of preserving and the outside demoder that is written into, select demoder, thereby form decoding chain customized solution.
CN2011104450969A 2011-12-27 2011-12-27 Decoding chain customizing system and method Pending CN102592640A (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN2011104450969A CN102592640A (en) 2011-12-27 2011-12-27 Decoding chain customizing system and method

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN2011104450969A CN102592640A (en) 2011-12-27 2011-12-27 Decoding chain customizing system and method

Publications (1)

Publication Number Publication Date
CN102592640A true CN102592640A (en) 2012-07-18

Family

ID=46481159

Family Applications (1)

Application Number Title Priority Date Filing Date
CN2011104450969A Pending CN102592640A (en) 2011-12-27 2011-12-27 Decoding chain customizing system and method

Country Status (1)

Country Link
CN (1) CN102592640A (en)

Cited By (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN104023266A (en) * 2014-05-27 2014-09-03 烽火通信科技股份有限公司 Use method of communication coding-decoding assembly of android system

Citations (3)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN101090504A (en) * 2007-07-20 2007-12-19 清华大学 Code decode apparatus for video standard application
CN101682754A (en) * 2007-04-17 2010-03-24 数码士有限公司 Bitstream decoding device and method
CN101945022A (en) * 2010-09-29 2011-01-12 珠海世纪鼎利通信科技股份有限公司 Method for decoding measurement parameter of wireless communication network efficiently and uniformly

Patent Citations (3)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN101682754A (en) * 2007-04-17 2010-03-24 数码士有限公司 Bitstream decoding device and method
CN101090504A (en) * 2007-07-20 2007-12-19 清华大学 Code decode apparatus for video standard application
CN101945022A (en) * 2010-09-29 2011-01-12 珠海世纪鼎利通信科技股份有限公司 Method for decoding measurement parameter of wireless communication network efficiently and uniformly

Cited By (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN104023266A (en) * 2014-05-27 2014-09-03 烽火通信科技股份有限公司 Use method of communication coding-decoding assembly of android system

Similar Documents

Publication Publication Date Title
US20050123055A1 (en) Method for activation and deactivation of infrequently changing sequence and picture parameter sets
US20040240559A1 (en) Context adaptive binary arithmetic code decoding engine
US20170163955A1 (en) Method and device for playing video
CN1946182B (en) Transcoder, recorder, and transcoding method
CN104575547A (en) Multi-media file making method, as well as multi-media file playing method and system
CN104159150A (en) Cloud terminal, cloud server, media data stream playing system and method
CN102780919A (en) Method for carrying out video location and displaying through key frame
US20090003456A1 (en) Device and Method for Encoding/Decoding Video Data
CN104754349A (en) Method and device for hardware decoding of audio/video
CA2452639A1 (en) Method for compressing a hierarchical tree, corresponding signal and method for decoding a signal
CN102197379A (en) Information processing device, information processing method, and program
CN101137054A (en) Embedded type stream media player implementing method
CN102648634A (en) Format conversion server, reproduction device and information reproduction system
CN102857833B (en) Audio decoding system and method adapted to android stagefright multimedia framework
CN102592640A (en) Decoding chain customizing system and method
CN101009836B (en) Embedded video playing device based on the dual processor
CN101743748B (en) Bitstream decoding device and method having decoding solution
CN103841451A (en) Multimedia playing method, device and terminal
US9183842B2 (en) Transcoder with dynamic audio channel changing
CN101778287B (en) Digital television navigation method, system and device
CN102447965A (en) Method and device supporting access of video plug-in for quickly and smoothly displaying video
CN101272390B (en) Filter link establishing method and device for media file
KR101372418B1 (en) Bitstream decoding device and method
CN102122300A (en) Method for converting video format
CN109565598A (en) System and method for dynamically splicing video flowing

Legal Events

Date Code Title Description
C06 Publication
PB01 Publication
C10 Entry into substantive examination
SE01 Entry into force of request for substantive examination
C02 Deemed withdrawal of patent application after publication (patent law 2001)
WD01 Invention patent application deemed withdrawn after publication

Application publication date: 20120718