Skip to content
a container to convert swf files to mp4 (video)
Dockerfile Shell
Branch: master
Clone or download
vsoch Merge pull request #3 from vsoch/update/readme
Fixing up readme instructions to close issue #2
Latest commit 81a2c28 Dec 6, 2019
Type Name Latest commit message Commit time
Failed to load latest commit information.
Dockerfile adding core files Jan 25, 2018
LICENSE Initial commit Jan 25, 2018 fixing up readme instructions to close issue #2 Dec 5, 2019 adding core files Jan 25, 2018

swf to mp4

This is a tiny Docker container to convert an old compressed flash (swf) to mp4. To build, you can do the following:

docker build -t vanessa/convert-swf .

And then to run, the container expects an input swf file as first argument, and will generate an mp4 file named equivalently with a different extension. We do everything in a /data directory that we map on the host.

docker run -v ${PWD}/:/data vanessa/convert-swf filename.swf

If you have a folder of old swf, here is how you might convert them!

for swfile in $(ls *.swf)
    echo "Converting $swfile!"
    docker run -v $PWD:/data vanessa/convert-swf /data/$swfile

Happy converting!

You can’t perform that action at this time.