Closed Vito300187 closed 4 years ago
@Vito300187 Thanks for the bug report. I'm able to reproduce the error on macOS, but haven't had time to figure out the root cause.
I'll look into it further in the coming days.
@Vito300187 Can you give it another try? I am unable to reproduce the issue today on the same Macbook using the exact same ffmpeg version 4.2.2, and the unit tests pass as well. It's weird... I am still seeing the following warning in the log, but ffmpeg continues with the default
device, whatever that is:
Configuration of video device failed, falling back to default.
The resulting file is playable in VLC as well. This is definitely an issue with ffmpeg
and not the gem, but I'll look into it further if you're still experiencing this issue.
@kapoorlakshya I understand the problem. In the mac os catalina system, you need to play with the rights for terminals -
I fixed the problem, the gem works
@Vito300187 Ah, that's it! I am able to reproduce it using the Terminal , which doesn't have screen recording permissions, but works fine using RubyMine, which does have the permission.
Glad you figured it out! Closing ticket.
@kapoorlakshya I understand the problem. In the mac os catalina system, you need to play with the rights for terminals -
- Goto System Preferences (Apple sign on top left corner, then menu item System Preferences...), click on the
- Security & Privacy item, then on the Privacy tab.
- If the Terminal app is listed and is unchecked, click the checkbox, then restart Terminal.app. or Rubymine
I fixed the problem, the gem works
thanks, i fixed the problem use your method!
@kapoorlakshya I understand the problem. In the mac os catalina system, you need to play with the rights for terminals -
- Goto System Preferences (Apple sign on top left corner, then menu item System Preferences...), click on the
- Security & Privacy item, then on the Privacy tab.
- If the Terminal app is listed and is unchecked, click the checkbox, then restart Terminal.app. or Rubymine
I fixed the problem, the gem works
it works for me. thanks
In recent versions this has been changed, see Screen & System Audio Recording:
Summary
AVFoundation input device @ 0x7f95d350a000] Configuration of video device failed, falling back to default.
Debug Info
I am trying to run tests with notes, but as I see it, the problem is in an undefined video device. How to determine?
ScreenRecorder.logger.level = Logger::DEBUG
,Expected Behavior
Run tests and record test run video
Actual Behavior
The test passes, but the video file is empty