0
0

Delete article

Deleted articles cannot be recovered.

Draft of this article would be also deleted.

Are you sure you want to delete this article?

More than 3 years have passed since last update.

VLCでフォルダ内動画をコマンドラインで全画面ランダム再生

Posted at

やりたいこと

まあ、例えばPVとか、CMとか。
フォルダに突っ込んであるものを。
コマンド一発でランダム再生してくれるのが欲しいなって。
で、まあVLCのコマンドラインオプションで実現出来たので、メモ。

完成形

こんなかんじになりました。

"C:\Program Files\VideoLAN\VLC\vlc.exe" --fullscreen --no-osd  --no-qt-fs-controller --qt-fs-sensitivity=0 --mmdevice-volume=1.00 --playlist-autostart --random --loop --playlist-tree c:\videodata\

Windows系で書いてますけれども、まあLinux系でもオプションは流用可能かと。

解説

各オプションは、こんな感じです。

オプション記述 意味
--fullscreen 全画面で起動
--no-osd OSDを非表示
--no-qt-fs-controller 全画面用コントローラー非表示
--qt-fs-sensitivity=0 マウスカーソル表示時間を「0」
--mmdevice-volume=1.00 音量を「1(100%)」
--playlist-autostart プレイリストを自動再生
--random プレイリストをランダム再生
--loop プレイリストをループ
--playlist-tree [dir] ディレクトリ内ファイルをプレイリスト化

ま、これで

余ったPCだのラズパイだのを、電源入れたら再生する系の動画プレイヤーとして使えるかもね!。

以上です。

0
0
0

Register as a new user and use Qiita more conveniently

  1. You get articles that match your needs
  2. You can efficiently read back useful information
  3. You can use dark theme
What you can do with signing up
0
0

Delete article

Deleted articles cannot be recovered.

Draft of this article would be also deleted.

Are you sure you want to delete this article?