Difference between revisions of "V4l"

From VideoLAN Wiki
Jump to navigation Jump to search
m (added reset option)
m (Change template parameters (per revision 60997))
 
(6 intermediate revisions by 2 users not shown)
Line 1: Line 1:
 +
V4l is no longer current. Use v4l2 instead.
 +
 
== v4l ==
 
== v4l ==
{{protocol|id=v4l}}
+
{{protocol|V4L}}
  
=== module options ===
+
See [[Documentation:Modules/v4l]].
      --v4l-caching <integer>    Caching value in ms
 
      --v4l-vdev <string>        Video device name
 
      --v4l-adev <string>        Audio device name
 
      --v4l-chroma <string>      Video input chroma format
 
      --v4l-fps <float>          Framerate
 
      --v4l-samplerate <integer> Samplerate
 
      --v4l-channel <integer>    Channel
 
      --v4l-tuner <integer>      Tuner
 
      --v4l-norm {3 (Automatic), 2 (SECAM), 0 (PAL), 1 (NTSC)}
 
                                Norm
 
      --v4l-frequency <integer>  Frequency
 
      --v4l-audio <integer>      Audio Channel
 
      --v4l-stereo, --no-v4l-stereo
 
                                Stereo (default enabled)
 
      --v4l-width <integer>      Width
 
      --v4l-height <integer>    Height
 
      --v4l-brightness <integer> Brightness
 
      --v4l-colour <integer>    Color
 
      --v4l-hue <integer>        Hue
 
      --v4l-contrast <integer>  Contrast
 
      --v4l-mjpeg, --no-v4l-mjpeg
 
                                MJPEG (default disabled)
 
      --v4l-decimation <integer> Decimation
 
      --v4l-quality <integer>    Quality
 
  
 
== v4l2 ==
 
== v4l2 ==
{{protocol|id=v4l2}}
+
{{protocol|V4L2}}
  
=== module options ===
+
See [[Documentation:Modules/v4l2]].
      --v4l2-dev <string>        Video device name (default /dev/video0)
 
      --v4l2-adev <string>        Audio device name (default /dev/dsp)
 
      --v4l2-standard <string>    Default, SECAM, PAL, NTSC
 
      --v4l2-chroma <string>      Video input chroma format. The default is to auto detect.
 
      --v4l2-input <integer>      Input of the card to use (0 is the default).
 
                                              Usually:
 
                                              * 0=tuner
 
                                              * 1=composite
 
                                              * 2=svideo
 
      --v4l2-io <string>          Read method for the video.
 
                                              * READ = Basic read()
 
                                              * MMAP = Memory mapped buffer (the default)
 
                                              * USERPTR = User buffer pointer
 
      --v4l2-fps <float>          Frame rate per second (0 = Unrestricted - the default)
 
      --v4l2-width <integer>      Try picture width (-1 = auto detect)
 
      --v4l2-height <integer>    Try picture height (-1 = auto detect)
 
      --v4l2-brightness <integer> Brightness
 
      --v4l2-contrast <integer>  Contrast
 
      --v4l2-saturation <integer> Saturation
 
      --v4l2-hue <integer>        Hue
 
      --v4l2-gamma <integer>      Gamma
 
      --v4l2-stereo <bool>        Stereo audio (default true)
 
      --v4l2-samplerate <integer> Audio sample rate (default 48000)
 
      --v4l2-caching <integer>    Caching value in ms
 
      --v4l2-videocontrol-reset  Reset control values to the device defaults
 
  
 
== Source code ==
 
== Source code ==
 
{{file|modules/access/v4l.c|access module}}
 
{{file|modules/access/v4l.c|access module}}
{{file|modules/access/v4l2.c|access module}}
+
{{file|modules/access/v4l2/v4l2.c|access module}}

Latest revision as of 04:36, 19 April 2019

V4l is no longer current. Use v4l2 instead.

v4l

V4L
VLC uses this protocol (or access module) to read data from a device or network.
This protocol is handled by the v4l module.

See Documentation:Modules/v4l.

v4l2

V4L2
VLC uses this protocol (or access module) to read data from a device or network.
This protocol is handled by the v4l2 module.

See Documentation:Modules/v4l2.

Source code