[Solved] Video capture fails after update

Discussions related to using VirtualBox on Linux hosts.

[Solved] Video capture fails after update

Postby sertys » 28. Jun 2017, 02:14

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.
Last edited by socratis on 23. Nov 2017, 17:54, edited 1 time in total.
Reason: Marked as [Solved].
sertys
 
Posts: 3
Joined: 28. Jun 2017, 02:00

Re: Video capture fails after update

Postby socratis » 28. Jun 2017, 02:18

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.
If you obfuscate any information requested, I will obfuscate my response. These are virtual UUIDs, not real ones.
Do NOT reply with the "QUOTE" button, please use the "POST REPLY", at the bottom of the form.
socratis
Site Moderator
 
Posts: 12705
Joined: 22. Oct 2010, 11:03
Location: Greece
Primary OS: Mac OS X other
VBox Version: PUEL
Guest OSses: Win(*>98), Linux*, OSX>10.5

Re: Video capture fails after update

Postby sertys » 23. Nov 2017, 17:28

I'm to report that the issue has been fixed with the latest stable 5.1.22.
Thanks to the developers and the community.
sertys
 
Posts: 3
Joined: 28. Jun 2017, 02:00

Re: Video capture fails after update

Postby socratis » 23. Nov 2017, 17:53

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.
If you obfuscate any information requested, I will obfuscate my response. These are virtual UUIDs, not real ones.
Do NOT reply with the "QUOTE" button, please use the "POST REPLY", at the bottom of the form.
socratis
Site Moderator
 
Posts: 12705
Joined: 22. Oct 2010, 11:03
Location: Greece
Primary OS: Mac OS X other
VBox Version: PUEL
Guest OSses: Win(*>98), Linux*, OSX>10.5


Return to VirtualBox on Linux Hosts

Who is online

Users browsing this forum: No registered users and 13 guests