Items with no label
Announcements
FPGA community forums and blogs on community.intel.com are migrating to the new Altera Community and are read-only. For urgent support needs during this transition, please visit the FPGA Design Resources page or contact an Altera Authorized Distributor.
3340 Discussions

python example for record and playback

JRose14
Beginner
2,340 Views

I am trying to record a sequence and create a playback device. I have been following the c++ example here: https://github.com/IntelRealSense/librealsense/blob/master/src/media/readme.md https://github.com/IntelRealSense/librealsense/blob/master/src/media/readme.md

Is there any way to accomplish this in python? When I try and call `enable_device_from_file` on a `config` object, and then start a `pipeline` from that `config`, I get the following error: 'Failed to convert source: "" to matching rs2_camera_info'.

Any help with record and playback in python would be much appreciated. I cannot seem to find any examples of it.

Thanks.

0 Kudos
1 Reply
MartyG
Honored Contributor III
1,031 Views

Whilst I do not know specifically how to use record and playback with Python, I recalled a previous example in which somebody adapted a RealSense SDK 2.0 script (which your sample is) for use with Python and provided a script of their project. Looking at this may give you some clues about adapting the record and playback sample for Python.

0 Kudos
Reply