librealsense icon indicating copy to clipboard operation
librealsense copied to clipboard

Playback the.bag file to extract the sequence of depth frames. Why do the frames look the same?

Open nevynwong opened this issue 7 years ago • 1 comments

| Camera Model | {D415 } | | Operating System & Version | Linux (Ubuntu16) | | Language |python |

When I play back the bag file, I only select a few frames to process, but find that these frames are the same?What's the reason?

I extract with this repeating statement.


pipe = rs.pipeline() config = rs.config() config.enable_device_from_file('.../plant.bag',repeat_playback=False) profile = pipe.start(config) playback = profile.get_device().as_playback() playback.set_real_time(False) start_num = 200 end_num = 205 n = 0 while (playback.current_status() == rs.playback_status.playing) and (n<(end_num+1)): n += 1 frames = pipe.wait_for_frames() if (n > start_num-1) and (n < (end_num+1)): ******

nevynwong avatar Oct 21 '19 09:10 nevynwong

Duplicate of #5107

lramati avatar Oct 28 '19 16:10 lramati