Convert ASS to SRT: What ffmpeg and pysubs2 Keep, Drop, and Leak
We converted one 14-event ASS file to SRT with ffmpeg 9.0 and pysubs2 1.9.1. See what each kept, what leaked into the visible text, and when to translate the ASS instead.

To convert an ASS file to SRT, run ffmpeg -i input.ass output.srt or pysubs2 --to srt input.ass. Both keep the timing and the dialogue. Neither keeps what makes ASS worth using: positioned signs, colors, fades, and karaoke. The part most guides skip is that the two tools fail differently. On the same file, ffmpeg left a translator's note, a vector drawing, and a formatting code in the subtitle text, where a viewer would read them. pysubs2 removed all three, and also moved every on-screen sign to the bottom of the frame without saying so.
So the decision comes before the command. If the place your subtitles are going accepts ASS, keep the ASS and translate that file. Convert only when the destination accepts SRT and nothing richer, and then check the output for the leaks below before you translate or upload it.
Quick Answer: Convert or Keep the ASS?
| Your situation | What to do |
|---|---|
| The player or platform accepts ASS, and the file has signs, karaoke, or styled songs | Keep the ASS. Translate it as described in our ASS translation guide. |
| The destination accepts only SRT, and the file is plain dialogue | Convert, check the six items in the checklist below, then translate the SRT. |
| The destination accepts only SRT, and the file has signs or karaoke | Convert, then decide sign by sign whether the text still makes sense at the bottom of the screen. Some signs are better turned into a bracketed note or deleted. |
| You will burn the subtitles into the video | Keep the ASS. Burning in renders the styling for you; see how to burn subtitles into a video. |
What We Converted
We used the 14-event sample file from our ASS translation guide: sample-source.ass. It has 13 Dialogue lines and one Comment line, and it was built to include the things that make ASS harder than SRT:
- italics and an inline color change in ordinary dialogue;
- a translator's note written as an inline comment,
{TL note: "stacks" means the closed shelves}; - a sign placed at the top of the frame with
{\an8\pos(960,120)}, plus a vector box drawn behind it with\p1, and a second sign that fades in at a set position; - a hard space
\h, a soft line break\n, and a hard line break\N; - a line with a scrolling
Bannereffect; and - a karaoke line timed syllable by syllable with
\k.
On November 14, 2026, we converted it with two free tools and did not edit the results:
ffmpeg -i sample-source.ass ffmpeg-9.0-output.srt
pysubs2 --to srt sample-source.ass
The ffmpeg binary was the 9.0 static build for macOS on Apple silicon that ships in the imageio-ffmpeg Python package. pysubs2 was version 1.9.1, the Python subtitle library, run from its command line. Both output files are linked at the end of this article.
Results: Same Timing, Different Text
Both tools kept every start and end time and dropped the Comment line, which is correct: comments are never shown. Here is what happened to everything else.
| Feature in the ASS | ffmpeg 9.0 output | pysubs2 1.9.1 output |
|---|---|---|
| Number of SRT cues | 13 | 12 |
Italics {\i1}...{\i0} | Kept as <i>...</i> | Kept as <i>...</i> |
Inline comment {TL note: ...} | Left in the visible text | Removed |
Vector drawing \p1 | Left in as text: m 0 0 l 200 0 200 60 0 60 | Removed with its cue |
Hard space \h | Left in as the characters \h | Turned into a space |
Sign position \pos(960,120) | Removed, but {\an8} (top center) was written into the cue | Removed; the sign becomes an ordinary bottom subtitle |
| Style font, size, color, and bold | Every cue wrapped in <font face="Trebuchet MS" size="64"> or similar; the sign cues also got color="#202020" and <b> from their style | Removed |
Inline color {\c&H00FFFF&} | Kept as <font color="#ffff00">, and the line was split into two font blocks | Removed |
Fade \fad(200,200) | Removed | Removed |
Banner scrolling effect | Removed; the line is static | Removed; the line is static |
Karaoke \k timing | Removed; the line shows all at once | Removed; the line shows all at once |
| Two signs and a drawing on screen at once | Three cues with identical times | Two cues with identical times |
The three leaks in the ffmpeg output
Cue 5 of the ffmpeg file reads:
{TL note: "stacks" means the closed shelves}Check the stacks first.
In ASS, a brace block that contains no recognized tag is ignored by the renderer, which is why braces are commonly used for inline notes. Aegisub's tag reference says unrecognized text inside override blocks "is silently ignored". SRT has no such rule, so a player can show the note to the viewer. If a translation tool sees it, it may translate the note too.
Cue 7 is the vector box that sat behind the top sign. In ASS, \p1 switches the text that follows into drawing instructions. Without that switch, the instructions are just characters, and the SRT cue says m 0 0 l 200 0 200 60 0 60. It is easy to miss in a long file because it looks like noise, not like a broken subtitle.
Cue 9 reads Room\h12 is upstairs. The \h is an ASS hard space. In SRT it is two literal characters.
ffmpeg also wrote {\an8} into the three sign cues and the karaoke cue, because their styles were top-aligned, and put a <font> tag with the ASS font name and size around every cue. Those sizes are measured against the ASS script's 1920 by 1080 canvas. Whether a player reads <font> and {\an8} in an SRT file depends on the player, so check the output in the one you are delivering to before you rely on either.
What pysubs2 removes without telling you
pysubs2 produced the cleaner file: no leaked code, no font tags, and only <i> kept. That cleanliness has its own cost. The two signs, which the ASS placed at the top and the lower right of the frame, are now plain cues at the bottom, at the same time as each other. The vector box disappeared along with its cue, which is right, but you get no warning that a sign lost its background or its place. Nothing in an SRT file can say that a line used to be a sign.
Both tools turned a space into a line break
Cue 11 in the ASS is Wait\nhere. A lowercase \n is a soft break. The sample's header sets WrapStyle: 0, and Aegisub's reference says that in every wrap style except 2, \n "is replaced by a regular space". The original line displays as Wait here. on one line. Both converters wrote Wait and here. on two lines. That is minor for one cue and visible across a whole episode if a group typed \n out of habit.
Convert Before or After You Translate?
If SRT is the final delivery format, convert first, clean the SRT, then translate the SRT. A clean SRT gives a translation tool, a person, or an AI model nothing but timing and words, which removes most of the problems described in our ASS translation guide. Translating the ASS first and converting afterwards means fixing the same leaks in the translated file, where they are harder to spot.
If ASS is the final format, do not convert at all. Converting and then converting back cannot restore the positions, colors, and karaoke, because the SRT never held them.
Checklist After Any ASS to SRT Conversion
Run these checks on the SRT before translating or uploading it. Each grep command lists the lines that need a look.
- Leftover braces.
grep -n '{' output.srtfinds inline comments and ASS codes such as{\an8}. Delete notes; keep{\an8}only if your player honors it. - Leftover backslash codes.
grep -n '\\h\|\\N\|\\n' output.srtfinds hard spaces and line-break codes that were not converted. - Drawing coordinates. Look for cues made only of letters
m,l,band numbers, such asm 0 0 l 200 0. Delete the whole cue. - Font tags.
grep -c '<font' output.srttells you whether the converter wrapped cues in style fonts and sizes. Remove them unless you want the player to use them. - Signs that lost their position. Find cues that share exact start and end times with dialogue. Decide whether each sign should stay, become a short bracketed note, or go.
- Line breaks. Compare a few multi-line cues with the ASS. Anything that came from
\nin a file whose wrap style is not 2 was one line in the original.
Then check the encoding before you translate: if any non-English text looks garbled, see our guide to fixing SRT subtitle encoding. If you still need to pull the ASS out of a video file first, see how to extract subtitles from an MKV or MP4.
Where BookTranslator Fits
BookTranslator's Subtitle Translator accepts SRT, VTT, ASS, and SSA files and keeps cue order and timestamps. For a converted, cleaned SRT, the translation code sends inline tags such as <i> and <font> to the model as tags and puts their attributes back afterwards, so italics should stay on the translated words. Check a few italic lines in the result anyway.
For ASS files, we read the current code and ran this sample through BookTranslator's ASS writer on November 14, 2026, with placeholder text standing in for the translation. Each line kept its style, layer, timing, speaker name, margins, and effect field. The inline override codes did not survive: the italics, the \pos positions, the fade, the color change, and the \k karaoke timing were all missing from the translated lines, and the vector drawing's coordinates were treated as text to translate. Because the \p1 switch was removed, those coordinates would appear on screen as a line of text even if the translation left them unchanged. The {TL note: ...} comment, which has no backslash, was kept in the text sent for translation. Until that changes, BookTranslator is a good fit for ASS files whose formatting lives in the style definitions, such as plain dialogue in a Default style. For sign-heavy or karaoke files that must stay ASS, translate in an editor such as Aegisub or follow the manual workflow in our ASS translation guide. If SRT is your delivery format anyway, convert and clean first, then upload the SRT.
Get the Files
- Input: sample-source.ass
- ffmpeg-9.0-output.srt: unedited ffmpeg 9.0 output
- pysubs2-1.9.1-output.srt: unedited pysubs2 1.9.1 output
- README.txt: versions and the exact commands
These results come from one sample file and two tools on one date. Other converters, such as Subtitle Edit, may handle comments and drawings differently, and newer versions of ffmpeg or pysubs2 may change. Rerun the checklist on your own output rather than trusting any converter, including the ones we tested.
Related Posts





