We need to use docker-machine to handle USB ports inside the docker.
- Install docker-machine: https://docs.docker.com/machine/install-machine/
- Docker version: 18.09.2, build 6247962
- Install virtualbox >= 6.0
| #!/bin/bash | |
| # play YUV444 FULL HD file | |
| gst-launch-1.0 -v filesrc location=size_1920x1080.yuv ! \ | |
| videoparse width=1920 height=1080 framerate=25/1 format=GST_VIDEO_FORMAT_Y444 ! \ | |
| videoconvert ! \ | |
| autovideosink | |
| # play YUV422 FULL HD file | |
| gst-launch-1.0 -v filesrc location=size_1920x1080.yuv ! \ |
We need to use docker-machine to handle USB ports inside the docker.