Difference between revisions of "Documentation:Modules/fake"

From VideoLAN Wiki
Jump to navigation Jump to search
m (Various: add wikilinks, some of the defaults were wrong, add more data, format, -{{Stub}})
m (Add wikilink to I420)
Line 82: Line 82:
 
|name=fake-chroma
 
|name=fake-chroma
 
|value=string
 
|value=string
|default="I420"
+
|default="[[I420]]"
 
|description=Image [[chroma]]
 
|description=Image [[chroma]]
 
}}
 
}}

Revision as of 03:10, 25 March 2019

Module: fake
Type Access demux
First VLC version -
Last VLC version 0.9.0
Operating system(s) all
Description simulate a fake input
Shortcut(s) -
Module: fake
Type Codec
First VLC version -
Last VLC version 0.9.0
Operating system(s) all
Description handle a fake input stream
Shortcut(s) -

Options

Access Demux

  • fake-caching <integer> : Caching in milliseconds default value: DEFAULT_PTS_DELAY/1000
  • fake-fps <float> : Framerate e.g. 24, 25, 29.97, 30 default value: 25.0
  • fake-id <integer> : Set the ID of the fake elementary stream for use in #duplicate{} constructs default value: 0
  • fake-duration <integer> : Duration of the fake streaming (in milliseconds) before faking an end-of-file (default is 0, meaning that the stream is unlimited) default value: 0

Codec

  • fake-file <string> : Image to use as video for the fake stream default value: ""
  • fake-file-reload <integer> : Number of seconds between each reload of the image default value: 0
  • fake-width <integer> : Width default value: 0
  • fake-height <integer> : Height default value: 0
  • fake-keep-ar <boolean> : Keep aspect ratio when resizing default value: disabled
  • fake-aspect-ratio <string> : Aspect ratio of the image file (4:3, 16:9). Default is square pixels default value: ""
  • fake-deinterlace <boolean> : Deinterlace the image after loading it default value: disabled
  • fake-deinterlace-module <string> : Deinterlace module default value: "deinterlace"
  • fake-chroma <string> : Image chroma default value: "I420"

Example

$ vlc fake:// --fake-file someimage.png

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.