Can virtualbox capture video from its screen?

Discussions related to using the OSE version of VirtualBox.
Post Reply
kiven
Posts: 5
Joined: 5. May 2013, 13:20

Can virtualbox capture video from its screen?

Post by kiven »

Creating a movie via VBox by intenal features, Is it possible?
noteirak
Site Moderator
Posts: 5229
Joined: 13. Jan 2012, 11:14
Primary OS: Debian other
VBox Version: OSE Debian
Guest OSses: Debian, Win 2k8, Win 7
Contact:

Re: Can virtualbox capture video from its screen?

Post by noteirak »

Do you mean something similar to VRDE video redirection?
Hyperbox - Virtual Infrastructure Manager - https://apps.kamax.lu/hyperbox/
Manage your VirtualBox infrastructure the free way!
kiven
Posts: 5
Joined: 5. May 2013, 13:20

Re: Can virtualbox capture video from its screen?

Post by kiven »

I read "VRDE video redirection" and I didn't understand what is it? :oops:
I'm going to record some traning video-leture about Ubuntu, Mageia, Opensuse, etc which are installed on the Vbox.
Host: Debian Weezy
Guests: Ubuntu, Mageia, Opensuse, Manjaro, PCBSD
So, can virtualbox record video on its own? Is "VRDE video redirection" aimed for this?

The following link refers to an ability for capturing video, a built-in feature of Virtual Box! So, How does it works? I couldn't find any featur into virtualbox menu to enable/use this ability!
Link: virtualbox website > ticket > 4766
noteirak
Site Moderator
Posts: 5229
Joined: 13. Jan 2012, 11:14
Primary OS: Debian other
VBox Version: OSE Debian
Guest OSses: Debian, Win 2k8, Win 7
Contact:

Re: Can virtualbox capture video from its screen?

Post by noteirak »

After some search using the ticket reference you gave, the code was actually integrated into the Headless client, so via what I linked is actually the implementation of it.
See commit at r42654.

So follow the (very limited) instruction of VRDE Video Redirection.
Hyperbox - Virtual Infrastructure Manager - https://apps.kamax.lu/hyperbox/
Manage your VirtualBox infrastructure the free way!
kiven
Posts: 5
Joined: 5. May 2013, 13:20

Re: Can virtualbox capture video from its screen?

Post by kiven »

The "VRDP Help" is incomplete and still I can not understand how I should do screen recording?
noteirak
Site Moderator
Posts: 5229
Joined: 13. Jan 2012, 11:14
Primary OS: Debian other
VBox Version: OSE Debian
Guest OSses: Debian, Win 2k8, Win 7
Contact:

Re: Can virtualbox capture video from its screen?

Post by noteirak »

well it seems it's only limited to videos playing in the guest, and not the actual full screen. So AFAIK there is no way to do what you ask directly using Virtualbox.
Hyperbox - Virtual Infrastructure Manager - https://apps.kamax.lu/hyperbox/
Manage your VirtualBox infrastructure the free way!
mcerveny
Posts: 7
Joined: 20. Feb 2010, 19:36
Primary OS: OpenSolaris 11
VBox Version: PUEL
Guest OSses: WinXP, OpenSolaris, ...

Re: Can virtualbox capture video from its screen?

Post by mcerveny »

Hello.
noteirak wrote:See commit at r42654.
So follow the (very limited) instruction of VRDE Video Redirection.
This piece of software is deadcode, uncompilable and unsupported (as many other code in VB).
VBox is looking for "VBoxVideoRecFB.so" and entry point "VBoxRegisterVideoRecFB".
VideoCapture/FFmpegFB generates different one.

Intended use:
VBoxHeadles
  ...
   -c, -capture, --capture               Record the VM screen output to a file
   -w, --width                           Frame width when recording
   -h, --height                          Frame height when recording
   -r, --bitrate                         Recording bit rate when recording
   -f, --filename                        File name when recording. The codec used
                                         will be chosen based on the file extension
You get: 'Failed to load the video capture extension' :(

M.C>
michaln
Oracle Corporation
Posts: 2973
Joined: 19. Dec 2007, 15:45
Primary OS: MS Windows 7
VBox Version: PUEL
Guest OSses: Any and all
Contact:

Re: Can virtualbox capture video from its screen?

Post by michaln »

mcerveny wrote:This piece of software is deadcode, uncompilable and unsupported (as many other code in VB).
Unsupported yes. Dead code and uncompilable, not so much. You're just assuming far more than you should.

We have been using the FFmpeg encoder internally for years, but it is unsupported because we cannot legally distribute it. In the future, there may be a supported alternative; if and when that happens, the FFmpeg support will be truly dead code and will be removed.
mcerveny
Posts: 7
Joined: 20. Feb 2010, 19:36
Primary OS: OpenSolaris 11
VBox Version: PUEL
Guest OSses: WinXP, OpenSolaris, ...

Re: Can virtualbox capture video from its screen?

Post by mcerveny »

Hello.
michaln wrote: We have been using the FFmpeg encoder internally for years, but it is unsupported because we cannot legally distribute it.
Can you disclosure how to compile, integrate and use (not distribute) FFmpeg "video recording" plugin from sources ?

Thanks, M.C>
bentito
Posts: 2
Joined: 22. May 2013, 19:49

Re: Can virtualbox capture video from its screen?

Post by bentito »

I'd like to second the request for pointers on how to compile the code with ffmpeg support so that the video capture promised by the command line args can actually work.

Or better yet just send out a package that is built, instructions for where to get the "bad" video libraries that violate legal mumbo jumbo and instructions for plugging them in.
michaln
Oracle Corporation
Posts: 2973
Joined: 19. Dec 2007, 15:45
Primary OS: MS Windows 7
VBox Version: PUEL
Guest OSses: Any and all
Contact:

Re: Can virtualbox capture video from its screen?

Post by michaln »

Sorry, you're asking at just the wrong time. If you look at the current OSE sources, you will see that FFmpeg is in the process of being replaced by WebM (libvpx). See for example https://www.virtualbox.org/changeset/46123/vbox and preceding changesets.
Post Reply