Difference between revisions of "Documentation:Modules/dummy"

From VideoLAN Wiki
Jump to navigation Jump to search
m (Sections)
m (Tweaks)
Line 1: Line 1:
Dummy modules are the VLC equivalent of <code>/dev/null</code> on GNU/Linux: they represent doing nothing.
+
[[Dummy]] modules are the VLC equivalent of <code>/dev/null</code> on GNU/Linux: they represent doing nothing.
  
 
== List ==
 
== List ==
Line 19: Line 19:
 
| Control interface [[Category:Interfaces]] [[Category:Control VLC]] || Dummy interface || (none)
 
| Control interface [[Category:Interfaces]] [[Category:Control VLC]] || Dummy interface || (none)
 
|-
 
|-
| Muxer [[Category:Muxers]] || Dummy/Raw muxer || dummy, raw, es
+
| Muxer [[Category:Muxers]] || Dummy/[[Raw]] muxer || dummy, raw, es
 
|-
 
|-
 
| Stream output [[Category:Stream output]] || Dummy stream output || dummy, drop
 
| Stream output [[Category:Stream output]] || Dummy stream output || dummy, drop
Line 40: Line 40:
 
|value=boolean
 
|value=boolean
 
|default=disabled
 
|default=disabled
|description=Save the raw codec data if you have selected/forced the dummy decoder in the main options.
+
|description=Save the raw [[codec]] data if you have selected/forced the dummy decoder in the main options.
 
}}
 
}}
{{Clear}}
 
  
 
=== Video output ===
 
=== Video output ===
Line 51: Line 50:
 
|description=Force the dummy video output to create images using a specific [[chroma]] format instead of trying to improve performances by using the most efficient one.
 
|description=Force the dummy video output to create images using a specific [[chroma]] format instead of trying to improve performances by using the most efficient one.
 
}}
 
}}
{{Clear}}
 
  
 
== Source code ==
 
== Source code ==
{{file|modules/access/idummy.c|Access}}
+
* {{VLCSourceFile|modules/access/idummy.c|Access}}
{{file|modules/access_output/dummy.c|Access output}}
+
* {{VLCSourceFile|modules/access_output/dummy.c|Access output}}
{{file|modules/audio_output/adummy.c|Audio output}}
+
* {{VLCSourceFile|modules/audio_output/adummy.c|Audio output}}
{{file|modules/codec/ddummy.c|Decoder}}
+
* {{VLCSourceFile|modules/codec/ddummy.c|Decoder}}
{{file|modules/codec/edummy.c|Encoder}}
+
* {{VLCSourceFile|modules/codec/edummy.c|Encoder}}
{{file|modules/control/dummy.c|Interface}}
+
* {{VLCSourceFile|modules/control/dummy.c|Interface}}
{{file|modules/mux/dummy.c|Output muxer}}
+
* {{VLCSourceFile|modules/mux/dummy.c|Output muxer}}
{{file|modules/stream_out/dummy.c|Stream output}}
+
* {{VLCSourceFile|modules/stream_out/dummy.c|Stream output}}
{{file|modules/text_renderer/tdummy.c|Text rendering}}
+
* {{VLCSourceFile|modules/text_renderer/tdummy.c|Text rendering}}
{{file|modules/video_output/vdummy.c|Video output}}
+
* {{VLCSourceFile|modules/video_output/vdummy.c|Video output}}
{{file|modules/video_output/wdummy.c|Video output for legacy video plugins}}
+
* {{VLCSourceFile|modules/video_output/wdummy.c|Video output for legacy video plugins}}
  
 
{{Documentation}}
 
{{Documentation}}

Revision as of 18:54, 29 May 2019

Dummy modules are the VLC equivalent of /dev/null on GNU/Linux: they represent doing nothing.

List

Overview of dummy modules
Type Description Shortcut(s)
Access Dummy input dummy, vlc
Access output Dummy stream output dummy
Audio output Dummy audio output dummy
Decoder Dummy decoder dummy, dump
Encoder Dummy encoder dummy
Control interface Dummy interface (none)
Muxer Dummy/Raw muxer dummy, raw, es
Stream output Dummy stream output dummy, drop
Text renderer Dummy font renderer (none)
Video output Dummy video output dummy, stats
Video output (legacy video plugins) Dummy window dummy

Descriptions

Stream output

Doesn't do anything. Can be used to test other stream output chain modules without actually streaming anything.

Options

Dummy decoder

  • dummy-save-es <boolean> : Save the raw codec data if you have selected/forced the dummy decoder in the main options. default value: disabled

Video output

  • dummy-chroma <string> : Force the dummy video output to create images using a specific chroma format instead of trying to improve performances by using the most efficient one. default value: NULL

Source code

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.