Make sure your ffmpeg build supports it though. For example, when you do: “ffmpeg -devices” on OS X, it should list: “D avfoundation AVFoundation input device” at the bottom.
I’ve done. Get an impressive result for what is free.
So I think it’d be useful to share with people here.
Please note that I’m no expert in ffmpeg. I just looking at the link Marco gave me then do a bit more explore.
Install ffmpeg, in my case, Mac OS X, I install via brew
# brew install ffmpeg
Looking for my device id, audio, video
In my case, there were [1] and [1] and it is depend on your setting.
Then compress it again from .mkv to .mp4 or any codecs you may need
This step I’m feeling it is slower than other compressor. so it may be helpful to find yourself some video converter app.
Cool that it works.
I cannot test because I don’t have an ffmpeg build that can capture here but about the last step (mkv -> mp4)… it seems to me that you can skip that.
.mkv, .mp4, .m4v and .mkv are just containers.
.mkv is most flexible but they all can contain h.264 video.
I think that the example page uses .mkv because an .mp4 container cannot contain .wav audio streams. And .wav/pcm audio is easiest to capture.
So if you don’t need audio, I think you can replace ~/Desktop/uncompressed.mkv with ~/Desktop/uncompressed.mp4. (or force it with -f mp4)
If you need audio, then aac is best for .mp4 but the encoding is quite heavy. I’m not sure about .mp3.
@Christian Schmitz I’m not take a look at it. Had seen in your MBS but can’t figure it out how to do the same as the old example screen recorder. May be you can rewrite the example for the recent Xojo with AVfoundation/DirectShow if possible.