Code snippets for basic ffmpeg usage
Examples:
- Get file info
- Fetch audio
- Cut video fragment
- Scale video
- Add blured background
- Add watermark and text
- Concat videos
- Repeat video for long audio & releat audio
- Generate mp3 from text
- Add audio
- Generate gif preview and thumbnail for video
- Create mirrored video
- Create HLS playlist
- Mp4 to webm
- Low-quality video
- HLS with different resolutions
- Optimize video loading for webapps(set faststart)
Player: https://playerjs.com/
How to:
- Add thumbnails for frame(on video scrolling): https://bitmovin.com/docs/player/articles/webvtt-based-thumbnails
- Captions: https://www.3playmedia.com/blog/how-to-create-a-webvtt-file/