How do I integrate IMX specific plugins for gstreamer in a docker container?

Hi @gabriel.ayres

I just tested it and it’s working.

Video


Run command

  1. Copy the docker-compose.yml
  2. Run this in the module
    docker compose run --service-ports --rm vpugeneric bash
    
  3. Run this in the container
    a. mkdir video
    b. vpuenc_h264
    gst-launch-1.0 videotestsrc num-buffers=300 \
        ! video/x-raw, width=640, height=480 \
        ! vpuenc_h264 \
        ! filesink location=video/test.h264
    
    c. x264enc
    gst-launch-1.0 videotestsrc num-buffers=300 \
        ! video/x-raw, width=640, height=480 \
        ! x264enc \
        ! filesink location=video/test_sw.h264
    
    d. no encoder
    gst-launch-1.0 videotestsrc num-buffers=300 \
        ! video/x-raw, width=640, height=480 \
        ! filesink location=video/test.raw
    

Reference

Run compose

Build containers