Podman wrapper
almereyda opened this issue · 0 comments
almereyda commented
Thank you for this marvelous build! It helps a lot in getting started with libafk_aac
on the ffmpeg
platform.
As a side note, the command that the wrapper script executes can also be used with Podman. Then, it does not need the --user
flag, since Podman brings its own subuid/-gid mapping:
podman run --rm -it -v /etc/localtime:/etc/localtime:ro -v ${PWD}:/data --entrypoint /usr/bin/ffmpeg --workdir /data docker.io/outlyernet/ffmpeg-nonfree
This command works on the local directory mounted to /data
within the container. If SELinux is present, you may want to add :Z
or :z
here. Command line arguments can be passed to that command directly.
This also works as an alias:
alias ffmpeg='podman run --rm -it -v /etc/localtime:/etc/localtime:ro -v ${PWD}:/data --entrypoint /usr/bin/ffmpeg --workdir /data docker.io/outlyernet/ffmpeg-nonfree'
type ffmpeg
ffmpeg -version