Difference between revisions of "Hacker Guide/Access Demux"

From VideoLAN Wiki
Jump to navigation Jump to search
m
Line 11: Line 11:
 
Examples of access-demuxer are DVD, Bluray, v4l2 modules.
 
Examples of access-demuxer are DVD, Bluray, v4l2 modules.
  
 +
== Write an access-demux module  ==
 +
 +
To write an access_demuxer module, start by reading the [[Documentation:Hacker's Guide/Module Writers Guide|introduction to module writing]].
 +
 +
Then, you should specify your module of being of access_demux type:
 +
 +
set_capability( "access_demux", 60 )
 +
set_category( CAT_INPUT )
 +
set_subcategory( SUBCAT_INPUT_ACCESS )
  
 
{{Documentation}}[[Category:Coding]]
 
{{Documentation}}[[Category:Coding]]

Revision as of 10:58, 12 November 2010

Description

The modules of 'access_demux' capability are designed to handle the access and part of the demux stage in the same module.

Therefore, you are required to read access and demux pages before going on.

An access-demuxer could be seen as a demuxer that handles the access at the same time.

In an access-demuxer, the stream s is null.

Examples of access-demuxer are DVD, Bluray, v4l2 modules.

Write an access-demux module

To write an access_demuxer module, start by reading the introduction to module writing.

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

set_capability( "access_demux", 60 )
set_category( CAT_INPUT )
set_subcategory( SUBCAT_INPUT_ACCESS )
This page is part of official VLC media player Documentation (User GuideStreaming HowToHacker GuideModules)
Please read the Documentation Editing Guidelines before you edit the documentation
Permission is granted to copy, distribute and/or modify this document under the terms of the GNU General Public License as published by the Free Software Foundation; either version 2 of the License, or (at your option) any later version.