[FFmpeg-user] how do I list the devices?

Ricardo Kleemann ricardo at americasnet.com
Sat Jun 20 03:52:02 CEST 2015


Hi,

I just built ffmpeg from snapshot. I am on a MacBook Pro, OS X 10.10.3

I tried using the -list_devices command but get an error:

$ /usr/local/bin/ffmpeg -f avfoundation -list_devices true -i ""
ffmpeg version N-73015-g8edc17b Copyright (c) 2000-2015 the FFmpeg developers
  built with Apple LLVM version 6.1.0 (clang-602.0.53) (based on LLVM 3.6.0svn)
  configuration: --enable-nonfree --enable-gpl --enable-version3 --enable-postproc --enable-swscale --enable-avfilter --enable-libmp3lame --enable-libvorbis --enable-libtheora --enable-libfaac --enable-libxvid --enable-libx264 --enable-libvpx --enable-hardcoded-tables --enable-shared --enable-pthreads --disable-indevs
  libavutil      54. 27.100 / 54. 27.100
  libavcodec     56. 41.100 / 56. 41.100
  libavformat    56. 37.100 / 56. 37.100
  libavdevice    56.  4.100 / 56.  4.100
  libavfilter     5. 17.100 /  5. 17.100
  libswscale      3.  1.101 /  3.  1.101
  libswresample   1.  2.100 /  1.  2.100
  libpostproc    53.  3.100 / 53.  3.100
Unrecognized option 'list_devices'.
Error splitting the argument list: Option not found


And tried the command -devices and I don’t understand the output. I’m trying to see which devices are available

$ /usr/local/bin/ffmpeg -devices
ffmpeg version N-73015-g8edc17b Copyright (c) 2000-2015 the FFmpeg developers
  built with Apple LLVM version 6.1.0 (clang-602.0.53) (based on LLVM 3.6.0svn)
  configuration: --enable-nonfree --enable-gpl --enable-version3 --enable-postproc --enable-swscale --enable-avfilter --enable-libmp3lame --enable-libvorbis --enable-libtheora --enable-libfaac --enable-libxvid --enable-libx264 --enable-libvpx --enable-hardcoded-tables --enable-shared --enable-pthreads --disable-indevs
  libavutil      54. 27.100 / 54. 27.100
  libavcodec     56. 41.100 / 56. 41.100
  libavformat    56. 37.100 / 56. 37.100
  libavdevice    56.  4.100 / 56.  4.100
  libavfilter     5. 17.100 /  5. 17.100
  libswscale      3.  1.101 /  3.  1.101
  libswresample   1.  2.100 /  1.  2.100
  libpostproc    53.  3.100 / 53.  3.100
Devices:
 D. = Demuxing supported
 .E = Muxing supported
 --
  E sdl             SDL output device

I don’t even see the standard webcam device from the mac

I have an A/V capture device connected to the thunderbolt port (Blackmagic Design UltraStudio Mini Recorder) and I wanted to see which device to use with ffmpeg 

thanks
Ricardo



More information about the ffmpeg-user mailing list