I just tested it and it’s working.
Video
Run command
- Copy the
docker-compose.yml
- Run this in the module
docker compose run --service-ports --rm vpugeneric bash
- Run this in the container
a.mkdir video
b.vpuenc_h264
c.gst-launch-1.0 videotestsrc num-buffers=300 \ ! video/x-raw, width=640, height=480 \ ! vpuenc_h264 \ ! filesink location=video/test.h264
x264enc
d. no encodergst-launch-1.0 videotestsrc num-buffers=300 \ ! video/x-raw, width=640, height=480 \ ! x264enc \ ! filesink location=video/test_sw.h264
gst-launch-1.0 videotestsrc num-buffers=300 \ ! video/x-raw, width=640, height=480 \ ! filesink location=video/test.raw
Reference
Run compose
- docker-compose.yml (1021 Bytes)
Build containers
- Dockerfile (7.8 KB)
- version-pinned-packages (2.5 KB)
- vputests.sh (5.2 KB)