View my account

Is it possible to stream the .bag format?

Comments

3 comments

  • MartyG

    Hi Jack Jansen  When recording a bag file, the pipeline should be closed at the end of recording to complete the creation of the file.   Not closing the recording could lead to an incomplete recording that cannot be played back.  So this would make simultaneous recording and playback impractical, as the recording should be finished before playback is initiated.

    0
    Comment actions Permalink
  • Jack Jansen

    Ah, I see. That's too bad, then this idea won't fly.

    In the documentation there is an obscure mention about the ability to have different serializers (for enable_record_to_file()) but the only serialised currently implemented being for the bag format.

    Any hints on where I should look to see if it is feasible to write my own serializer?

    0
    Comment actions Permalink
  • MartyG

    I am not familiar with that serializer reference.  However, if you want to perform two different activities simultaneously without one activity interfering with the other then the Python language's multiprocessing may be worth investigating.

    https://github.com/IntelRealSense/librealsense/issues/10126#issuecomment-1004740043

     

    The Multi-Streaming Model rules of the RealSense SDK also explain the rules for accessing the same camera from different applications.

    https://github.com/IntelRealSense/librealsense/blob/master/doc/rs400_support.md#multi-streaming-model

    0
    Comment actions Permalink

Please sign in to leave a comment.