Converting .bag formatted videos taken by D435 into popular video formats such as .avi, mpeg
Dear Sir/Madam,
We took several depth videos by D435. What tools or ways do you suggest to convert them into other popular video formats?
I would be grateful if you can support us.
Kınd regards,
Eren
-
I don't know of a direct way to do the conversion. It is feasible as a two-step process though.
STEP ONE
Use the RealSense SDK's Convert tool to extract the frames from the bag as a set of PNG image files.
https://github.com/IntelRealSense/librealsense/tree/master/tools/convert
STEP TWO
Stitch the image set together into a video. Please google for 'stitch pngs into video' to research examples of programs that can do this..
-
Thank you for this. However, when I use RS-CONVERT it did not convert .bag file to Depth and Colour Images on same framing rate.
For example, one of my bag files was converted as follows:
PNG converter
2166 Depth frame(s) processed
2162 Color frame(s) processedWhy is not it converting on the same depth and colour framing rate? For my work, I need the same frame rate.
Can you please help me on this issue? -
It is not unusual to have variations in the number of frames in a recorded bag. The subject, and the possibility of synchronising streams during the recording process, is discussed in the link below. Please read downwards from the part of the discussion that is linked to.
https://github.com/IntelRealSense/librealsense/issues/3689#issuecomment-484756027
Please sign in to leave a comment.
Comments
3 comments