Extracting a specific frame from several bag files
I have several hundred video .bag files, each containing depth, colour, infrared etc. Instead of extracting the entire bag file by using ".\rs-convert.exe -i .\file.bag -p .\target\path -c" and then picking one coloured image, I like to pull only one frame (e.g. 15) of the colour image (.png) from each bag file into a new directory by looping over all the bag files. Can you please tell me how I can go about this?
-
Hi 90reza The links below that relate to looping through multiple bag files will hopefully be of use to you.
https://github.com/IntelRealSense/librealsense/issues/6340
https://github.com/IntelRealSense/librealsense/issues/9180#issuecomment-859677422
There are a number of references about seeking a specific bag file frame. One of the best discussions about the subject is at the link below.
Please sign in to leave a comment.
Comments
1 comment