Hacker Guide/Demux

From VideoLAN Wiki
Revision as of 00:06, 12 November 2010 by J-b (talk | contribs) (Created page with "== Description == The modules of ''''demux'''' capability are designed to handle the different "file" formats. They usually come after the access in the modules chain. Example…")
(diff) ← Older revision | Latest revision (diff) | Newer revision → (diff)
Jump to navigation Jump to search

Description

The modules of 'demux' capability are designed to handle the different "file" formats. They usually come after the access in the modules chain.

Examples of demuxers are WMV/ASF, Ogg or Mkv.

Write an demuxer module

To write an demuxer module, read the introduction to module writing.

Then, you should specify your module of being of demux type:

set_capability( "demux", 60 )  
set_category( CAT_INPUT )                                                                                                                                                                                  
set_subcategory( SUBCAT_INPUT_DEMUX )