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 1 year has passed since last update.

vlc のコマンドラインでストリームを指定する

Last updated at Posted at 2022-08-10

vlc で ストリームを指定する方法です。
Ubuntu 22.04 に
内蔵カメラ
USB カメラ
がある状況でテストしました。

内蔵カメラを使う時

vlc v4l2:///dev/video0

実行結果

$ vlc v4l2:///dev/video0
VLC media player 3.0.16 Vetinari (revision 3.0.13-8-g41878ff4f2)
Warning: Ignoring XDG_SESSION_TYPE=wayland on Gnome. Use QT_QPA_PLATFORM=wayland to run on Wayland anyway.

USB カメラを使う時

vlc v4l2:///dev/video2

実行結果

$ vlc v4l2:///dev/video2
VLC media player 3.0.16 Vetinari (revision 3.0.13-8-g41878ff4f2)
Warning: Ignoring XDG_SESSION_TYPE=wayland on Gnome. Use QT_QPA_PLATFORM=wayland to run on Wayland anyway.

mp4 ファイルの再生

vlc sample-5s.mp4

実行結果

$ vlc sample-5s.mp4 
VLC media player 3.0.16 Vetinari (revision 3.0.13-8-g41878ff4f2)
Warning: Ignoring XDG_SESSION_TYPE=wayland on Gnome. Use QT_QPA_PLATFORM=wayland to run on Wayland anyway.
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?