Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Directly recording mp4, mpeg, etc video without having to record bag #6841

Closed
matthewha123 opened this issue Jul 15, 2020 · 3 comments
Closed

Comments

@matthewha123
Copy link


Required Info
Camera Model D435
Firmware Version (Open RealSense Viewer --> Click info)
Operating System & Version {Win (8.1/10) / Linux (Ubuntu 14/16/17) / MacOS
Kernel Version (Linux Only) (e.g. 4.14.13)
Platform Jetson Nano
SDK Version { legacy / 2.. }
Language {C/C#/labview/nodejs/opencv/pcl/python/unity }
Segment {Robot/Smartphone/VR/AR/others }

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.

@MartyG-RealSense
Copy link
Collaborator

MartyG-RealSense commented Jul 15, 2020

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.

image

image

@dorodnic
Copy link
Contributor

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.

@matthewha123
Copy link
Author

Thank you for the suggestions @dorodnic and @MartyG-RealSense

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

No branches or pull requests

3 participants