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

    Voxl-streamer x264enc with gpu

    FAQs
    3
    8
    494
    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.
    • P
      Philemon Benner
      last edited by 13 Jun 2022, 14:48

      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.

      E 1 Reply Last reply 13 Jun 2022, 17:58 Reply Quote 0
      • E
        Eric Katzfey ModalAI Team @Philemon Benner
        last edited by 13 Jun 2022, 17:58

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

        P 1 Reply Last reply 14 Jun 2022, 08:34 Reply Quote 0
        • P
          Philemon Benner @Eric Katzfey
          last edited by 14 Jun 2022, 08:34

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

          1 Reply Last reply Reply Quote 0
          • P
            Philemon Benner
            last edited by Philemon Benner 14 Jun 2022, 10:25 14 Jun 2022, 10:24

            @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
            • C
              Chad Sweet ModalAI Team
              last edited by 14 Jun 2022, 15:34

              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

              P 1 Reply Last reply 14 Jun 2022, 16:04 Reply Quote 0
              • P
                Philemon Benner @Chad Sweet
                last edited by 14 Jun 2022, 16:04

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

                E 1 Reply Last reply 14 Jun 2022, 16:17 Reply Quote 0
                • E
                  Eric Katzfey ModalAI Team @Philemon Benner
                  last edited by 14 Jun 2022, 16:17

                  @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.

                  P 1 Reply Last reply 14 Jun 2022, 16:56 Reply Quote 0
                  • P
                    Philemon Benner @Eric Katzfey
                    last edited by Philemon Benner 14 Jun 2022, 17:02 14 Jun 2022, 16:56

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