Reputation: 63
I used the command prompt command
vlc --longhelp
Which generates a long text file, but it's missing a bunch of options like
network-caching
, or any caching.
Anyone have any insight into a complete list of options for the Media object in libvlc?
Upvotes: 2
Views: 7851
Reputation: 106
I know I am late to the party, but since it is 2024 ,and I stil needed this list and couldn't find it anywhere, I looked in all documentation and created this list bellow.
Hope it helps. Happy codding!
Caching Options
--network-caching=<milliseconds>: Sets caching for network resources.
--file-caching=<milliseconds>: Sets caching for local files.
--live-caching=<milliseconds>: Sets caching for live sources (e.g., streaming).
--disc-caching=<milliseconds>: Sets caching for disc media (DVD, VCD).
Network Options
--rtsp-tcp: Forces RTSP streaming over TCP instead of UDP.
--rtsp-frame-buffer-size=<bytes>: Sets the frame buffer size for RTSP streams.
--http-referrer=<URL>: Sets the HTTP referrer header.
--http-user-agent=<agent>: Sets the HTTP user-agent header.
--http-reconnect: Enables HTTP reconnection on disconnect.
--sout-rtsp-user=<username>: Sets RTSP streaming username.
--sout-rtsp-pwd=<password>: Sets RTSP streaming password.
--http-user=<username>: Sets HTTP authentication username.
--http-pwd=<password>: Sets HTTP authentication password.
Codec and Format Options
--avcodec-hw=<method>: Sets hardware acceleration for decoding (dxva2, d3d11va, vaapi, none).
--no-avcodec-hw: Disables hardware acceleration.
--demux=<module>: Forces a specific demuxer module (e.g., h264, mp4, mkv).
--codec=<module>: Forces a specific codec module.
Video Output Options
--no-video: Disables video output.
--video-filter=<filter>: Applies a video filter (e.g., deinterlace, transform).
--deinterlace=<mode>: Sets deinterlacing mode (auto, on, off).
--deinterlace-mode=<mode>: Sets deinterlacing method (bob, blend, linear).
--aspect-ratio=<ratio>: Forces a specific aspect ratio (16:9, 4:3).
Audio Output Options
--no-audio: Disables audio output.
--volume=<value>: Sets initial volume level (0 to 512).
--audio-filter=<filter>: Applies an audio filter (e.g., equalizer).
--aout=<module>: Forces a specific audio output module.
Subtitle Options
--sub-file=<file>: Specifies an external subtitle file.
--sub-language=<language>: Sets subtitle language (e.g., eng, fre).
--sub-track=<track_id>: Selects a specific subtitle track. Logging and Debugging Options
--verbose=<level>: Sets verbosity level (0: silent, 1: error, 2: warning, 3: info, 4: debug).
--file-logging: Enables logging to a file.
--logfile=<file>: Specifies the log file path.
--no-stats: Disables statistics collection.
--extraintf=logger: Enables the logger interface.
Playback Options
--start-time=<seconds>: Starts playback at a specific time.
--stop-time=<seconds>: Stops playback at a specific time.
--no-loop: Disables looping of the media.
--repeat: Enables repeating of the media.
--rate=<value>: Sets playback rate (speed).
Stream Output Options
--sout=<stream output>: Sets stream output chain.
--sout-keep: Keeps the stream output open (useful for dynamic changes).
Advanced Network Options
--network-synchronisation: Synchronizes multiple instances over the network.
--sdp-file=<file>: Specifies an SDP file for streaming.
--mtu=<value>: Sets the network MTU size.
MPEG-TS (Transport Stream) Options
--ts-out-mtu=<value>: Sets the MTU for TS output.
--sout-ts-dts-delay=<milliseconds>: Sets the DTS delay for TS streams.
RTMP (Real-Time Messaging Protocol) Options
--rtmp-caching=<milliseconds>: Sets caching for RTMP streams.
HTTP Options
--http-caching=<milliseconds>: Sets caching for HTTP streams.
Proxy Options
--http-proxy=<proxy_url>: Sets the HTTP proxy URL.
--no-http-proxy: Disables the use of HTTP proxy.
Playlist Options
--no-playlist-autostart: Prevents automatic playback of the playlist.
--random: Enables random playback of the playlist.
Miscellaneous Options
--input-slave=<url>: Adds an additional input (e.g., for separate audio or subtitles).
--input-repeat=<count>: Repeats input playback a specified number of times.
--disable-screensaver: Prevents the screensaver from activating during playback.
--video-title-show: Displays the video title on playback start.
--snapshot-path=<path>: Sets the path for saving snapshots.
Upvotes: 1
Reputation: 22433
vlc -H
vlc -H | grep caching
VLC media player 3.0.8 Vetinari (revision 3.0.8-0-gf350b6b5a7)
--sout-livehttp-caching, --no-sout-livehttp-caching
--sout-udp-caching <integer>
Default caching value for outbound UDP streams. This value should be
high values, you will need to raise caching values.
--sout-rtp-caching <integer>
Default caching value for outbound RTP streams. This value should be
caching at input.
--file-caching <integer [0 .. 60000]>
File caching (ms)
--live-caching <integer [0 .. 60000]>
Live capture caching (ms)
--disc-caching <integer [0 .. 60000]>
Disc caching (ms)
--network-caching <integer [0 .. 60000]>
Network caching (ms)
--sout-mux-caching <integer>
Stream output muxer caching (ms)
This allow you to configure the initial caching amount for stream
Upvotes: 4
Reputation: 2159
not sure this wiki page is versioned to the libvlc version, but here you go https://wiki.videolan.org/VLC_command-line_help/
Upvotes: 2