Skip to content

Updates to the deb and requirements ... segfault #16

Closed

Description

@d3xt3r01

So, the current version is libMediaSDK-dev-3.0.5.1-20250618_195946-amd64.deb

It requires

apt install libvulkan1 libvulkan-dev vulkan-tools libglfw3-dev libdc1394-dev mesa-utils -y

Also, for people using docker with the nvidia-container-toolkit ( so they can use cuda ) and are in a isolated namespace by default you need --gpus '"capabilities=gpu,utility,video,compute"' --runtime=nvidia --userns=host --privileged . The capabilities are needed so you don't get the "Cannot load libnvcuvid.so.1" error messages.

But even with all this...

root@9f7d3658fba1:~# MediaSDKTest -inputs datadir/VID_20250703_190915_00_144.insv -output datadir/test.mp4 -enable_directionlock -enable_flowstate -enable_denoise
start stitch
libevent use phreads:0
progress: 0; finished: 0
[08-18 07:18:19.118]  13 50 E render_exporter2.cc:1009:   renderexporter2 color space outside bt709
vulkan runtime init success
[08-18 07:18:19.140]  13 54 E ExtraInfoAsset.cc:1551:  read frame info FrameTypeTimelapseQuat failed, data is empty
Segmentation fault

Activity

  1. syncom commented on Aug 18, 2025

    @syncom
    Owner

    Thanks for creating the issue, @d3xt3r01 . I haven't tried the latest libMediaSDK 3.0.5.1, but encountered issues with a slightly earlier version of the SDK, cf., #13. The only version of the libMediaSDK that's tested to work for me is libMediaSDK-dev_2.0-6_amd64_ubuntu18.04.deb, as described in README.md.

    I'll try libMediaSDK-dev-3.0.5.1-20250618_195946-amd64.deb when I get a chance, but there's little I can do if the released software from Insta360 is too buggy to fix.

  2. d3xt3r01 commented on Sep 6, 2025

    @d3xt3r01
    Author

    I agree. Still useful for others to see.
    It seems that the problem is for me -enable_denoise. If I remove that, it works.

    # MediaSDKTest -inputs /root/datadir/VID_20250812_184412_00_304.insv -output /root/datadir/output2.mp4 -enable_directionlock -enable_flowstate
    
    start stitch
    libevent use phreads:0
    progress: 0; finished: 0
    [09-06 16:49:51.645]  305 342 E render_exporter2.cc:1009:   renderexporter2 color space outside bt709
    [09-06 16:49:51.653]  305 346 E ExtraInfoAsset.cc:1551:  read frame info FrameTypeTimelapseQuat failed, data is empty
    vulkan runtime init success
    process = 15%
    
  3. syncom commented on Jun 6, 2026

    @syncom
    Owner

    I've added GPU support in #20. The latest media SDK libMediaSDK-dev-3.1.1.0-20250922_191110-amd64.deb has been tested to work on a PC with an NVIDIA GPU. I'm therefore closing this issue as completed.

    Thanks again for raising the issue.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions