Closed matthewha123 closed 4 years ago
Hi @matthewha123 In this scenario, I would personally use video screen-capture software such as XSplit Broadcaster to record the complete contents of the screen to mp4 video whilst letting the camera stream in real-time in a full-screen view but not recording to a bag.
https://www.xsplit.com/broadcaster
XSplit is for Windows though. If you are using Linux, the link below suggests some alternatives to XSplit:
https://alternativeto.net/software/xsplit-broadcaster/?platform=linux
The RealSense Viewer program can be toggled between fullscreen and windowed by pressing the F8 function key on the keyboard. You can also enable and disable fullscreen by left-clicking on the gear-wheel icon in the top corner of the Viewer, selecting the 'Settings' option from its drop down menu and going to the 'Performance' section of the Settings window.
Also, if you build the SDK with V4L2 backend (-DFORCE_LIBUVC=OFF
) you should be able to capture raw data from the camera using standard Linux tools. It would not be nicely colorised, but it should work.
Thank you for the suggestions @dorodnic and @MartyG-RealSense
I'm wondering if it is possible to record video from a realsense camera without having to record to a .bag file first. I've seen that .bag files can easily be converted to .mp4's, but, since .bag files are so large, I wanted to circumvent that intermediary step.