Opened 10 years ago

Closed 10 years ago

Last modified 10 years ago

#4470 closed defect (invalid)

AVFoundation capture_cursor error

Reported by: LordHDL Owned by:
Priority: normal Component: avdevice
Version: git-master Keywords: avfoundation
Cc: Blocked By:
Blocking: Reproduced by developer: no
Analyzed by developer: no

Description

Summary of the bug: Using -capture_cursor results in an error. Video does not record.
How to reproduce: Attempt an AVFoundation recording with the -capture_cursor option.

Last login: Thu Apr  9 19:54:42 on ttys000
HDLs-MacBook-Pro:~ HDL$ ffmpeg -f avfoundation -capture_cursor -i "3:none" ~/Desktop/avtest.mkv
ffmpeg version N-71282-g0968180-HDL Copyright (c) 2000-2015 the FFmpeg developers
  built with Apple LLVM version 6.0 (clang-600.0.57) (based on LLVM 3.5svn)
  configuration: --as=yasm --extra-version=HDL --disable-shared --enable-static --enable-gpl --enable-nonfree --enable-pthreads --enable-postproc --enable-libmp3lame --enable-libx264 --enable-bzlib --enable-zlib --enable-version3 --enable-libfdk-aac --enable-filters --enable-runtime-cpudetect
  libavutil      54. 22.100 / 54. 22.100
  libavcodec     56. 34.100 / 56. 34.100
  libavformat    56. 29.100 / 56. 29.100
  libavdevice    56.  4.100 / 56.  4.100
  libavfilter     5. 13.101 /  5. 13.101
  libswscale      3.  1.101 /  3.  1.101
  libswresample   1.  1.100 /  1.  1.100
  libpostproc    53.  3.100 / 53.  3.100
[NULL @ 0x7fc4f382bc00] Requested output format 'avfoundation' is not a suitable output format
3:none: Invalid argument
HDLs-MacBook-Pro:~ HDL$ 

Change History (3)

comment:1 by Thilo Borgmann, 10 years ago

I think you might just have forgotten that -capture_cursor needs an argument.

comment:2 by LordHDL, 10 years ago

Resolution: invalid
Status: newclosed

You're right, sorry about that. Setting it to 1 works.

comment:3 by Thilo Borgmann, 10 years ago

Fine, thanks!

Note: See TracTickets for help on using tickets.