Skip to content

Instantly share code, notes, and snippets.

@zeqk
Last active August 9, 2019 14:45
Show Gist options
  • Save zeqk/f3ccfb9ebd566b01ba541039468466b6 to your computer and use it in GitHub Desktop.
Save zeqk/f3ccfb9ebd566b01ba541039468466b6 to your computer and use it in GitHub Desktop.
## Convertir FLV en MP4
```bash
$ ffmpeg -i video.flv -vcodec copy -strict -2 video.mp4
```
Batch
```bash
for i in *.flv;
do name=`echo $i | cut -d'.' -f1`;
echo $name;
ffmpeg -i $i -vcodec copy -strict -2 "${name}.mp4"
done
```
## Convertir MP4 en GIF
```bash
ffmpeg -i video.mp4 video.gif -hide_banner
```
[Referencia](https://www.bugcodemaster.com/article/convert-video-animated-gif-using-ffmpeg)
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment