Skip to content

avdevice

WangBin edited this page Apr 12, 2016 · 1 revision

The protocol avdevice: lets you read streams that supported by libavdevice. If ffmpeg command is ffmpeg -f video4linux2 -i /dev/video0 ..., then QtAV url is avdevice:video4linux2:/dev/video0. You can call AVPlayer.setFile(url) to play the stream.

TODO:

  • avdevice options
  • multiple devices, e.g. ffmpeg -f dshow -i video="WEB_CAM_DEVICE" -f dshow -i audio="MicroPhone Realtek High Defini" ...
Clone this wiki locally