-
Notifications
You must be signed in to change notification settings - Fork 17
Window Capture Limitations
Lakshya Kapoor edited this page Jan 28, 2020
·
2 revisions
- Only available for Microsoft Windows (gdigrab). Linux (x11grab) and macOS (avfoundation) capture devices do not provide this feature. However, there is a workaround documented in the wiki.
- Always stop the recording before closing the application. Otherwise, ffmpeg will force exit as soon as the window disappears and may produce an invalid video file.
- If you're launching multiple applications or testing an application at different window sizes, recording the
desktop
is a better option. -
#fetch
only returns the title from a currently active (visible) window for the given process. -
#fetch
may returnArgumentError (invalid byte sequence in UTF-8)
for a window title with nonUTF-8
characters. See wiki for workaround. - Disable Hardware Acceleration to avoid capturing a black video. See wiki entry for this here.