jrottenberg / ffmpeg

Docker build for FFmpeg on Ubuntu / Alpine / Centos / Scratch / nvidia / vaapi
https://hub.docker.com/r/jrottenberg/ffmpeg/
Apache License 2.0
1.42k stars 455 forks source link

How to copy files out to Windows Host #288

Closed f135ta closed 3 years ago

f135ta commented 3 years ago

I'm pretty new to Docker; but i've managed to get your container running and produce an output (see image) in the container.

I'm running your container on a Windows Host, and want to be able to output the files directly into a Windows directory as it produces them. Is that possible? If so, can you let me know how please?

image

f135ta commented 3 years ago

No worries - i've solved it.. I was missing the following from the Docker Run command:

-v d:\streams:/tmp/workdir

I'll post it here incase anyone else has the same question ;-)

jrottenberg commented 3 years ago

Thank you for posting the command that worked for you. Yeah mounting the volume is necessary, but never done it on windows , nice to see how it works.