I'm using non-OSE VirtualBox which seems to support recording the VM screen to a file.

VBoxHeadless -c -f record.avi -s myvm

But somehow it complains with the following message:

Failed to load the video capture extension

Any idea how to enforce it?

  • What operating system? Aug 14 '11 at 19:21
  • It is ubuntu linux.
    – igorp1024
    Aug 17 '11 at 9:11
  • Have you installed VirtulBox Guest Additions? Aug 29 '11 at 0:01
  • @Sandeep Bansal: sure
    – igorp1024
    Sep 12 '11 at 15:14

The problem is in the VirtualBox distribution itself, which now lacks the required modules.

If you took a look in the module VBoxHeadless.cpp, you would see that for this to function, the following conditions must be fulfilled :

  1. VBOX_FFMPEG must be defined
  2. The VBoxFFmpegFB shared library must be available with entry-point VBoxRegisterFFmpegFB

In the thread VBoxHeadless "Failed to load the video capture extension" from 2009, someone named xantus has tried to create the required conditions by modifying the sources accordingly, but this didn't work.

I suggest that the proper way to go about it, is to address the developers on the VirtualBox forums and convince them to get it working again, although this option seems to have been abandoned since at least 2009.

Your Answer

By clicking “Post Your Answer”, you agree to our terms of service, privacy policy and cookie policy

Not the answer you're looking for? Browse other questions tagged or ask your own question.