vlc - bunnyamin/bunnix GitHub Wiki

VLC media player

Command line

Command Example
Stream http vlc http://
Hardware device --aout=alsa --alsa-audio-device=hw:1

Capture video

  • Arch Linux VLC requires zvbi VBI capture and decoding library.

vlc v4l://:v4l-vdev="/dev/video0"
:v4l2-controls-reset
:v4l2-standard=SECAM
:v4l2-width=1920 :v4l2-height=1080
:v4l2-chroma=mjpeg :v4l2-fps=5 :v4l2-aspect-ratio=4:3
:v4l2-saturation=50 :v4l2-hue=0
:v4l2-brightness=32 :v4l2-contrast=0
:v4l2-white-balance-automatic=1
:v4l2-white-balance-temperature=4600
:v4l2-gamma=150
:v4l2-gain=50
:v4l2-power_line_frequency=2
:v4l2-sharpness=1
:v4l2-backlight-compensation=0
:v4l2-auto-exposure=3
:v4l2-exposure-time-absolute=312
:v4l2-exposure-dynamic-framerate=1
--video-filter "rotate{angle=180"} &

vlc v4l://:v4l-vdev="/dev/video0" :v4l2-standard=SECAM :v4l2-chroma=mjpeg
:v4l2-width=1920 :v4l2-height=1080 :v4l2-aspect-ratio=4:3 :v4l2-fps=5
:v4l2-brightness=32 :v4l2-contrast=0
:v4l2-saturation=50 :v4l2-hue=0
:v4l2-white-balance-temperature=4600 :v4l2-gamma=100
:v4l2-sharpness=3 :v4l2-power-line-frequency=2 :v4l2-backlight-compensation=1 :live-caching=300 --video-filter "rotate{angle=180"} &

qv4l2

$ vlc v4l://:v4l-vdev="/dev/video0":v4l-adev="/dev/audio2" --sout "#transcode{vcodec=mp1v,vb=1024,scale=1,acodec=mpga,ab=192,channels=2}:duplicate{dst=std{access=file,mux=mpeg1,dst=/tmp/test.mpg}}"

:sout=#transcode{vcodec=h264,vb=4096,scale=Auto,width=444,acodec=none,scodec=none}:duplicate{dst=http{mux=ffmpeg{mux=flv},dst=:12001/},dst=display} :sout-all :sout-keep

http://: http://:12001