サーチ…


シンプルなデバイスリストリーム

Ffmpegはストリーミングプロジェクト用のスイスナイフです。どんな種類のデバイスストリーミングでも、デバイスの仕様を取得するだけで済みます。デバイスを一覧表示するには

ffmpeg -f dshow -list_devices true  -i dummy

コマンドプロンプトには、マシン上の使用可能なすべてのデバイスが一覧表示されます。

[dshow @ 0000000004052420] DirectShow video devices
[dshow @ 0000000004052420]  "ManyCam Virtual Webcam"
[dshow @ 0000000004052420]  "UScreenCapture"
[dshow @ 0000000004052420] DirectShow audio devices

オーディオおよびビデオデバイスを復元するために、

ffmpeg -f dshow -i video="DirectShow video devices":audio="DirectShow audio devices" 
-vcodec libx264 -acodec aac -strict experimental 2 -tune zerolatency -f flv 
rmtp://WOWZA_IP/WOWZA_APP/STREAMNAME

これは、医療機器やビデオハードウェアのようなあらゆる種類の機器に拡張することができます。



Modified text is an extract of the original Stack Overflow Documentation
ライセンスを受けた CC BY-SA 3.0
所属していない Stack Overflow