Home / Media
sudo pacman -S vlc zvbi
cvlc
instead of vlc
.-I dummy --dummy-quiet
.screen
):
screen//
screen:// --screen-top=0 --screen-left=1920 --screen-width=1920 --screen-height=1080
v4l2
) (Linux):
v4l2-ctl
can be used to control video/webcamera settings. See separate section about V2L2.v4l2://<dev> [v4l2-options]
v4l2:///dev/video0:width=1920:height=1080:fps=30:chroma=mjpg
(TODO v4l2 prefix and --
instead of :
?)chroma=<format>
(e.g. mjpg
or h264
if supported) (yuyv
may be the default and gives terrible frame rate)width=1920:height=1080:fps=30
(1080p)dshow
) (Windows):
dshow:// [dshow-options]
dshow:// --dshow-vdev="Game Capture HD60 S (Video) (#01)" --dshow-adev=none --dshow-aspect-ratio=16:9 --dshow-fps=60
--sout=#module1{options}:module2{options}:module3...
standard
/std
):
--sout='#[...]:standard{access=http,mux=ts}' --http-host=localhost --http-port=5555
ts
mux is the most common one.transcode
):
vcodec=
and audio codec using acodec=
. Use none
to disable audio or video. Common video codecs include h264
(very good and very intense), mp2v
(good quality but bad/small compression) and mp4v
(better compression).vb=
and ab=
.deinterlace
when using an interlaced source to improbe the quality a little.duplicate
):
display
):
duplicate
to monitor the stream.rtp
):
rtp{mux=ts,dst=<addr>,port=<port>}
dst
must be some destination unicast or multicast address. port
may be omitted to use the default (typically UDP).rtp
):
rtp{name=yolo,mux=ts,proto=udp,sdp=rtsp://127.0.0.1:5000/}
--sub-source=<...>
.marq
):
sfilter=marq
transcode option instead of using --video-filter=logo
.--sub-source=marq --marq-marquee="%Y-%m-%d, %H:%M:%S" --marq-position=9 --marq-color=0xFFFFFF --marq-size=20
logo
):
sfilter=logo
transcode option instead of using --video-filter=logo
.--video-filter=logo --logo-file=/c/Users/1234 --logo-position=0 --logo-opacity=255
vlc <proto>://<host>[:port][/path]
vlc rtsp://<host>:554 --rtsp-user=$rtsp_username --rtsp-pwd=$rtsp_password
--network-caching=100
(milliseconds) to reduce network buffering causing delay (defaults to 1000ms).cvlc
(Linux) or specify -I dummy --dummy-quiet
(Windows) to not use the full GUI.--fullscreen
to start in full screen.mediainfo
to check the format of the source files).cvlc <input-files-ordered> --sout "#gather:std{access=file,dst=full.mp4}" --sout-keep
(TODO cvlc
doesn’t exit when done for me, maybe use vlc
and manually close the window when it’s visually done instead.)cvlc v4l2:///dev/video0:width=1920:height=1080:fps=30:chroma=mjpg --live-caching=10 --sout='#transcode{vcodec=mp4v,acodec=none}:rtp{mux=ts,dst=127.0.0.1}'
cvlc v4l2:///dev/video2:width=1920:height=1080:fps=30:chroma=mjpg --live-caching=10 --sout='#transcode{vcodec=mp4v,acodec=none}:rtp{name=yolo,mux=ts,proto=tcp,sdp=rtsp://127.0.0.1:5000/}'
cvlc v4l2:///dev/video0:width=1920:height=1080:fps=30:chroma=mjpg --live-caching=10 --sout='#transcode{vcodec=mp4v,acodec=none}:standard{access=http,mux=ts}' --http-host=127.0.0.1 --http-port=5555
./vlc -I dummy --dummy-quiet dshow:// --dshow-vdev="Game Capture HD60 S (Video) (#01)" --dshow-adev=none --dshow-size=1920x1080 --dshow-aspect-ratio=16:9 --dshow-fps=60 --live-caching=10 --sout='#transcode{vcodec=mp2v,acodec=none,sfilter=logo}:duplicate{dst=display,dst=standard{access=http,mux=ts}}' --http-host=127.0.0.1 --http-port=5555
cvlc <input> --sout='#transcode{vcodec=mp4v,acodec=none}:std{access=file,mux=ps,dst=test.mpg}'