> On Dec 1, 2014, at 3:33 PM, Thilo Borgmann <thilo.borgm...@mail.de> wrote:
> 
> Am 01.12.14 um 07:51 schrieb Steven Liu:
>> [...]
>>      I’ve list_devices the devices;but there have no screen option, just only
> camera option;
>>      Perhaps i have using the wrong parameters?
>> 
>> 
>> [StevenLiu@localhost ~]$ ffmpeg -f avfoundation -list_devices 1 -i ""
>> ffmpeg version N-65018-gad91bf8 Copyright (c) 2000-2014 the FFmpeg developers
>>  built on Jul 27 2014 20:36:24 with Apple LLVM version 5.1 (clang-503.0.40)
> (based on LLVM 3.4svn)
> 
> You're just using a version too old for that purpose. Screen capturing that 
> way
> was just recently added. Update to current HEAD and you should be fine.
> 
> -Thilo
Hi Thilo,

        Thanks for your help,
        It’s OK.

        
[StevenLiu@localhost ffmpeg]$ ./ffmpeg -f avfoundation -list_devices true -i ""
ffmpeg version N-68139-g24e7e02 Copyright (c) 2000-2014 the FFmpeg developers
  built on Dec  2 2014 09:46:29 with Apple LLVM version 6.0 (clang-600.0.54) 
(based on LLVM 3.5svn)
  configuration: --enable-opengl --enable-libx265 --enable-libx264 
--enable-libmp3lame --enable-gpl --enable-libfaac --enable-nonfree 
--prefix=/usr/ --enable-libfreetype --enable-libass
  libavutil      54. 15.100 / 54. 15.100
  libavcodec     56. 13.100 / 56. 13.100
  libavformat    56. 15.101 / 56. 15.101
  libavdevice    56.  3.100 / 56.  3.100
  libavfilter     5.  2.103 /  5.  2.103
  libswscale      3.  1.101 /  3.  1.101
  libswresample   1.  1.100 /  1.  1.100
  libpostproc    53.  3.100 / 53.  3.100
[AVFoundation input device @ 0x7f85694065e0] AVFoundation video devices:
[AVFoundation input device @ 0x7f85694065e0] [0] FaceTime HD Camera (Built-in)
[AVFoundation input device @ 0x7f85694065e0] [1] Capture screen 0
[AVFoundation input device @ 0x7f85694065e0] AVFoundation audio devices:
[AVFoundation input device @ 0x7f85694065e0] [0] Built-in Microphone
: Input/output error
[StevenLiu@localhost ffmpeg]$ 



Steven
_______________________________________________
ffmpeg-user mailing list
ffmpeg-user@ffmpeg.org
http://ffmpeg.org/mailman/listinfo/ffmpeg-user

Reply via email to