← 返回命令列表

Linux command

peerflix 命令

文本

复制后可按需替换文件名、目录或参数。

常用示例

Stream a torrent to the default player

peerflix "[magnet_link]"

Stream to VLC

peerflix "[torrent_file]" --vlc

Stream to mpv

peerflix "[magnet_link]" --mpv

Select a specific file by index

peerflix "[magnet_link]" -i [1]

List files in the torrent

peerflix "[magnet_link]" -l

Stream with subtitles

peerflix "[magnet_link]" --vlc -t [subtitles.srt]

说明

peerflix is a streaming torrent client for Node.js that enables instant playback without waiting for the full download. It prioritizes downloading the initial parts of the file first to allow immediate streaming. The tool starts a local HTTP server and can pipe the stream to media players like VLC, mpv, or MPlayer. It supports multi-file torrents with file selection and subtitle loading.

参数

--vlc
Open stream in VLC.
--mplayer
Open stream in MPlayer.
--mpv
Open stream in mpv.
-i _INDEX_, --index _INDEX_
File index to stream.
-l, --list
List available files in the torrent.
-t _FILE_, --subtitles _FILE_
Load subtitles file.
-a
Play all files in the torrent.
-c _NUM_, --connections _NUM_
Maximum connected peers (default: 100).
-p _PORT_, --port _PORT_
HTTP streaming port (default: 8888).
--remove
Delete files after streaming.
--help
Display help information.

FAQ

What is the peerflix command used for?

peerflix is a streaming torrent client for Node.js that enables instant playback without waiting for the full download. It prioritizes downloading the initial parts of the file first to allow immediate streaming. The tool starts a local HTTP server and can pipe the stream to media players like VLC, mpv, or MPlayer. It supports multi-file torrents with file selection and subtitle loading.

How do I run a basic peerflix example?

Run `peerflix "[magnet_link]"` in a terminal, then adjust file names, paths, flags, or remote targets for your system.

What does --vlc do in peerflix?

Open stream in VLC.