-
-
Notifications
You must be signed in to change notification settings - Fork 11.3k
FFMpeg needs --enable-x11grab #17641
Comments
What does it do? |
Cool. Can you make a pull request (after checking this works without X11 on OSX)? Thanks! |
Will love to do it, after: #17699 |
After doing some research, apparently x11grab can only capture X application (like Gimp, Wireshark and other ported apps). Normal screen capturing is not possible using x11grab (bummer). Sources: |
Oh, too bad :) Thanks for looking into it anyway. |
was this ever integrated? I'm actually in need for x11grab to capture some X applications screenshot and didn't want to recompile ffmpeg just for that. |
@robertoandrade try compile ffmpeg yourself and see if it works, if so, we can add it to homebrew support... Compiling ffmpeg should be relatively easy... |
It doesn't look like a patch was ever merged for this, but we'd review one. |
I followed the compilation instructions, but it looks like that option seems to be for legacy purposes only ( According to the following instructions ffmpeg under OSX should really use |
Please add the
--enable-x11grab
option for the ffmpeg formula.See: http://ffmpeg.org/trac/ffmpeg/ticket/821
Example:
ffmpeg -f x11grab -r 25 -s 1280x720 -i :0.0+0,24 -vcodec libx264 -vpre lossless_ultrafast -threads 0 video.mkv
Thanks!
The text was updated successfully, but these errors were encountered: