Page 1 of 1

[Solved] Video capture fails after update

Posted: 28. Jun 2017, 02:14
by sertys
Video capture worked for a while for me with my previous setup(ver before 5.0.40). Videos were recorded automatically when VMs ran. Suddenly i needed to see a capture video for a VM and could not play it. It turned out the file was <300bytes big.
I updated to 5.1.22 to get latest, but problem persists.

This is my showvminfo output :
Video capturing: active
Capture screens: 0
Capture file: /video/0d194f1c-79b9-4709-a3f9-fd88ca668574/cap.webm
Capture dimensions: 1280x960
Capture rate: 192 kbps
Capture FPS: 3

This is my ls -al print for a sample :
-rw------- 1 sertys sertys 293 Jun 28 02:27 cap-2017-06-27T23-26-16-693330000Z.mp4

Now the funny twist - if i do "vboxmanage controlvm {uuid} videocap off" and then "vboxmanage controlvm {uuid} videocap on" it restarts the recording properly and creates a valid webm file.

Log is as clean as it can be :
00:01:10.351597 Display::VideoCaptureStop: WebM/VP8 video recording stopped
00:01:25.718657 Failed to create the video capture output file "/video/0d194f1c-79b9-4709-a3f9-fd88ca668574/cap.webm" (VERR_ALREADY_EXISTS)
00:01:25.722620 Display::VideoCaptureStart: WebM/VP8 video recording screen #0 with 1280x960 @ 192 kbps, 3 fps to '/video/0d194f1c-79b9-4709-a3f9-fd88ca668574/cap-2017-06-27T23-43-47-703299000Z.webm' enabled
00:03:30.707154 Display::VideoCaptureStop: WebM/VP8 video recording stopped

I have manually downgraded my libvpx1 version to 1.2 and virtualbox is installed from virtualbox .deb repo. Ubuntu 14.04.

Any suggestions are vastly appreciated.

Re: Video capture fails after update

Posted: 28. Jun 2017, 02:18
by socratis
Update to the latest test build. The problem should be fixed. https://www.virtualbox.org/wiki/Testbuilds

Oh, and remember that if you use the distro VirtualBox, it's not supported in these forums.

Re: Video capture fails after update

Posted: 23. Nov 2017, 17:28
by sertys
I'm to report that the issue has been fixed with the latest stable 5.1.22.
Thanks to the developers and the community.

Re: Video capture fails after update

Posted: 23. Nov 2017, 17:53
by socratis
Great, thanks for the feedback. Marking as [Solved].
BTW, the latest stable as of this writing is either 5.1.30, or 5.2.0.