Items with no label
3335 Discussions

depth frames and color frames in long-term video

fwang22
Beginner
1,132 Views

When I use the viewer to record long pieces of video, I have found the number of depth frames in .bag file is different with the number of color frames, I use the tool is MATLAB,and when I use the rs-convert.exe to converts the .bag file to depth or color image ,there has the same result.So how can i deal with it?

The long-term video lasts for 2 minutes.

Viewer: 60FPS

848*480

0 Kudos
3 Replies
idata
Employee
196 Views

Hello Nevyn,

 

 

Thank you for your interest in the Intel RealSense Technology.

 

 

Can you please tell me if you are using the same resolution and FPS values?

 

Also could you tell me how many frames you have identified as lost?

 

 

Thank you very much in advance for your answer.

 

 

Best regards,

 

Casandra

 

 

 

0 Kudos
fwang22
Beginner
196 Views

Hello Casandra,

I use the same resolution and FPS.(848*480resolution, 60FPS) In MATLAB, the code is as follows:

and the depth and color is :

and I use rs-convert.exe to convert .bag file to depth frame or color depth or point clouds, I found many frames lost.

Same as the above .bag file, there are 2970 point clouds,but the depth frames and color frames are also different and lost frames.

Best Regrads,

Nevyn

0 Kudos
fwang22
Beginner
196 Views

Hello Casandra,

I want to know if I can obtain the depth frames and color frames through rosbag_example in Intel RealSense SDK 2.0\matlab.

Thank you,

Nevyn

0 Kudos
Reply