| | 1 | Simply like this: |
| | 2 | {{{ |
| | 3 | ffmpeg -i input.srt output.ass |
| | 4 | }}} |
| | 5 | |
| | 6 | To list all the subtitle codecs that FFmpeg supports, you can type: |
| | 7 | {{{ |
| | 8 | fmpeg -codecs | grep "^...S" |
| | 9 | }}} |
| | 10 | |
| | 11 | The output should look like something like this: |
| | 12 | {{{ |
| | 13 | ..S... = Subtitle codec |
| | 14 | DES ass Advanced SubStation Alpha subtitle |
| | 15 | DES dvbsub DVB subtitles |
| | 16 | DES dvdsub DVD subtitles |
| | 17 | D S microdvd MicroDVD subtitle |
| | 18 | D S pgssub HDMV Presentation Graphic Stream subtitles |
| | 19 | DES srt SubRip subtitle |
| | 20 | DES xsub DivX subtitles (XSUB) |
| | 21 | }}} |