我使用了命令提示符命令
vlc --longhelp
这会生成一个长文本文件,但它缺少一些选项,例如
network-caching
,或任何缓存。
有人了解 libvlc 中媒体对象的完整选项列表吗?
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
不确定此 wiki 页面的版本是否为 libvlc 版本,但在这里 https://wiki.videolan.org/VLC_command-line_help/
我知道我参加聚会迟到了,但由于已经是 2024 年了,我仍然需要这个列表,但在任何地方都找不到它,我查看了所有文档并创建了下面的列表。
希望有帮助。快乐编码!
缓存选项
--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).
网络选项
--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.
编解码器和格式选项
--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.
视频输出选项
--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).
音频输出选项
--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.
字幕选项
--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.
播放选项
--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).
流输出选项
--sout=<stream output>: Sets stream output chain.
--sout-keep: Keeps the stream output open (useful for dynamic changes).
高级网络选项
--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(传输流)选项
--ts-out-mtu=<value>: Sets the MTU for TS output.
--sout-ts-dts-delay=<milliseconds>: Sets the DTS delay for TS streams.
RTMP(实时消息协议)选项
--rtmp-caching=<milliseconds>: Sets caching for RTMP streams.
HTTP 选项
--http-caching=<milliseconds>: Sets caching for HTTP streams.
代理选项
--http-proxy=<proxy_url>: Sets the HTTP proxy URL.
--no-http-proxy: Disables the use of HTTP proxy.
播放列表选项
--no-playlist-autostart: Prevents automatic playback of the playlist.
--random: Enables random playback of the playlist.
其他选项
--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.