ModalAI Forum
    • Categories
    • Recent
    • Tags
    • Popular
    • Users
    • Groups
    • Register
    • Login

    Voxl-streamer x264enc with gpu

    FAQs
    3
    8
    525
    Loading More Posts
    • Oldest to Newest
    • Newest to Oldest
    • Most Votes
    Reply
    • Reply as topic
    Log in to reply
    This topic has been deleted. Only users with topic management privileges can see it.
    • Philemon BennerP
      Philemon Benner
      last edited by

      Hi,
      i'm using voxl-streamer and i'm wondering if it's possible that the x264enc in voxl-streamer can use the apq8096 gpu for acceleration of the encoding. I had a look at gstreamer and x264 subproject has an opencl feature that can be enabled, but i haven't found any examples on x264 with opencl. Also is there a source for docker opencl prebuilt package ? I wanna build it with a different compiler.

      Eric KatzfeyE 1 Reply Last reply Reply Quote 0
      • Eric KatzfeyE
        Eric Katzfey ModalAI Team @Philemon Benner
        last edited by

        @Philemon-Benner x264enc runs on CPU only. But there is omxh264enc on apq8096 that uses Qualcomm HW acceleration.

        Philemon BennerP 1 Reply Last reply Reply Quote 0
        • Philemon BennerP
          Philemon Benner @Eric Katzfey
          last edited by

          @Eric-Katzfey Thanks for the answer i will have a look at it.

          1 Reply Last reply Reply Quote 0
          • Philemon BennerP
            Philemon Benner
            last edited by Philemon Benner

            @Eric-Katzfey is there a way to compile omx core with another compiler ? If so could you refer me to the site where i can build it from source, i haven't found anything yet.
            I'm getting the following exec format error:

            0:00:10.059630626  4097   0x7f88666070 ERROR                    omx gstomx.c:177:gst_omx_core_acquire: Failed to load module '/usr/lib/libmm-omxcore.so': Error loading shared library /usr/lib/libmm-omxcore.so: Exec format error
            
            1 Reply Last reply Reply Quote 0
            • Chad SweetC
              Chad Sweet ModalAI Team
              last edited by

              I believe the omxcore on APQ8096 is 32-bit. That error implies your host application does not match the omxcore ABI. You might want to try 32-bit compilation

              Philemon BennerP 1 Reply Last reply Reply Quote 0
              • Philemon BennerP
                Philemon Benner @Chad Sweet
                last edited by

                @Chad-Sweet yeah i'm actually using musl toolchain and compiling in 64-Bit. I wanna build omx core with musl from source.

                Eric KatzfeyE 1 Reply Last reply Reply Quote 0
                • Eric KatzfeyE
                  Eric Katzfey ModalAI Team @Philemon Benner
                  last edited by

                  @Philemon-Benner We build this as part of our Yocto system image build. It is 32 bit. We have not tried to build this outside of the Yocto build.

                  Philemon BennerP 1 Reply Last reply Reply Quote 0
                  • Philemon BennerP
                    Philemon Benner @Eric Katzfey
                    last edited by Philemon Benner

                    This post is deleted!
                    1 Reply Last reply Reply Quote 0
                    • First post
                      Last post
                    Powered by NodeBB | Contributors