# Video Encoding for Telegram with FFMPEG

A short summary of commands to convert Telegram-Messenger compatible videos with FFMPEG.

## 1080p
### With Audio
`ffmpeg.exe -i in -vf scale=1080:-1 -c:v libx264 -f mp4 -acodec aac out.mp4`

### Hardcode Subs
```
ffmpeg -i Dark.S01E08.As.You.Sow.So.You.Shall.Reap.DUAL-AUDIO.GER-ENG.720p.10bit.WEBRip.2CH.x265.HEVC-PSA.mkv -map 0:0 -map 0:1 -pix_fmt yuv420p -vf subtitles=8.srt:force_style='Fontsize=24' -c:v libx264 -f mp4 -acodec aac -metadata title="DarkS01E08" dark-s01e08.mp4
```