hi, can you make a ffmpeg 6.0 arg showing for capture of xwininfo using xwininfo: Window…
- User
hi, can you make a ffmpeg 6.0 arg showing for capture of xwininfo using xwininfo: Window id to record a window on with specified id for example you can use this testing id like:xwininfo: Window id: 0x1e0901c
- Assistant
To capture a specific window using FFmpeg, first, you need to have
xwininfotool, which is commonly available on Linux distributions.xwininfoallows you to retrieve various details about windows on an X server, including their IDs. Once you have the window ID (like0x1e0901cin your example), you can use FFmpeg to capture that window by specifying the correct parameters.Since you've mentioned a specific window ID (
0x1e0901c), the FFmpeg command to capture this window would generally look like this: