#topicpath *:OpenBSDで動画・音声を扱う [#eed9227a] RIGHT:EBUG 第73回会合 ~ 2021年5月29日 ~ 川俣吉広、kaw@on.rim.or.jp *準備 [#j14ecc2b] -X11 - リリースに最初から入っている ... セキュリティが強化された xenocara -動画 -- video(4) - V4L2 (Video for Linux 2) API準拠 ---USB Camera (uvideo(4))使用についてはfirmwareが必要なものあり - インストール時に fw_update で導入される ---sysctl(8)により kern.video.record=1 として映像入力が使用可能に ---/dev/video? は root:wheel 0640 のため、wheelグループに対して g+w 必要 -音声 --ドライバレベル audio(4) --フレームワーク sndio(7) [[過去資料>EBUG勉強会/20180825_sndio]] ---sysctl(8)により kern.audio.record=1 として音声入力が使用可能に ---制御コマンド - audioctl, mixerctl, sndioctl *アプリケーション [#h4194d85] -音声 --aucat(1) PCM/WAV音声の基本的な操作、sndiodとのやりとり --xfce4mixer, pavucontrol ... ミキサー --audacious等 ... 音声再生 --audacity ... 音声編集 -映像 --video(1) /dev/video?からの映像信号をX上に表示 --mplayer, ffmpeg等 ... 表示、変換等諸々の操作 --blender, shotcut ... 動画編集 -ウェブブラウザ --Firefox, Chromium, Iridium等 ... 動作再生, WebRTC等に対応 --/etc/{firefox,chromium}/* ... pledge(2), unveil(2)によるセキュリティ機能を調整する必要があるかも ---- #topicpath