Ecosyste.ms: Awesome
An open API service indexing awesome lists of open source software.
https://github.com/fboucher/aciffmpeg
Wrapper around ffmpeg to generate 5 seconds preview of the video as lightweight animated GIF
https://github.com/fboucher/aciffmpeg
docker ffmpeg gif video
Last synced: about 2 months ago
JSON representation
Wrapper around ffmpeg to generate 5 seconds preview of the video as lightweight animated GIF
- Host: GitHub
- URL: https://github.com/fboucher/aciffmpeg
- Owner: FBoucher
- Created: 2022-03-26T14:02:53.000Z (almost 3 years ago)
- Default Branch: main
- Last Pushed: 2024-07-26T20:09:14.000Z (5 months ago)
- Last Synced: 2024-07-27T17:42:20.230Z (5 months ago)
- Topics: docker, ffmpeg, gif, video
- Language: Shell
- Homepage: https://hub.docker.com/r/fboucher/aciffmpeg
- Size: 50.6 MB
- Stars: 1
- Watchers: 2
- Forks: 0
- Open Issues: 2
-
Metadata Files:
- Readme: ReadMe.md
Awesome Lists containing this project
README
# aciffmpeg
## A Container Instance of FFMPEGWrapper around ffmpeg to generate 5 seconds preview of the video as lightweight animated GIF
A blog post that explains how I build it is coming soon.
## Example
To create a preview of any video you just need to map a volume and specify the file path and optionally mention if the video is vertical.On Linux/ WSL the command would look like this:
``` bash
docker run -v /mnt/c/dev/test:/video fboucher/aciffmpeg -i /video/sample.mp4 -v
```And on PowerShell like that:
``` powershell
docker run -v c/dev/test:/video fboucher/aciffmpeg -i /video/sample.mp4 -v
```## Optional Start Parameter
You can also specify an optional start parameter to set the start position of the video. The default value is `00:00:00.500`.On Linux/ WSL the command would look like this:
``` bash
docker run -v /mnt/c/dev/test:/video fboucher/aciffmpeg -i /video/sample.mp4 -s 00:00:01.000
```And on PowerShell like that:
``` powershell
docker run -v c/dev/test:/video fboucher/aciffmpeg -i /video/sample.mp4 -s 00:00:01.000
```