https://github.com/vsoch/convert-swf
a container to convert swf files to mp4 (video)
https://github.com/vsoch/convert-swf
audio converter docker flash mp4 swf video
Last synced: 4 months ago
JSON representation
a container to convert swf files to mp4 (video)
- Host: GitHub
- URL: https://github.com/vsoch/convert-swf
- Owner: vsoch
- License: agpl-3.0
- Created: 2018-01-25T21:17:58.000Z (over 8 years ago)
- Default Branch: master
- Last Pushed: 2019-12-05T21:43:43.000Z (over 6 years ago)
- Last Synced: 2025-04-12T12:12:03.409Z (about 1 year ago)
- Topics: audio, converter, docker, flash, mp4, swf, video
- Language: Dockerfile
- Size: 14.6 KB
- Stars: 13
- Watchers: 3
- Forks: 5
- Open Issues: 2
-
Metadata Files:
- Readme: README.md
- License: LICENSE
Awesome Lists containing this project
README
# 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:
```bash
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.
```bash
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!
```bash
for swfile in $(ls *.swf)
do
echo "Converting $swfile!"
docker run -v $PWD:/data vanessa/convert-swf /data/$swfile
done
```
Happy converting!