AIStacker
Media

Overview

Danmaku(XML) to ASS Converter

High-performance XML to ASS subtitle converter. Transform Bilibili/AcFun danmaku into high-quality, collision-free subtitles for Potplayer, IINA, VLC, and Movist.

Category hub

Media

Problems

5

FAQ

3

Danmaku XML → ASS Converter

Convert Bilibili / AcFun danmaku XML to collision-free ASS subtitles for VLC, PotPlayer, IINA.

What you can solve

How to watch bilibili danmaku in IINA?

It converts the proprietary XML danmaku format used by Bilibili into the universal ASS (Advanced Substation Alpha) format, allowing you to enjoy 'scrolling comments' in professional local players like IINA, VLC, or MPV.

Online xml to ass converter for mac?

Most professional local players cannot render XML directly. ASS is a powerful subtitle format that supports the precise positioning and motion needed for scrolling danmaku.

Bilibili danmaku overlapping fix?

The tool assigns each danmaku to a specific 'track' (vertical lane). It calculates the speed and length of each string to ensure new comments don't catch up to or overlap with previous ones.

Convert dandanplay xml to ass subtitles?

Yes. This tool runs entirely in your browser using TypeScript. Your XML files are never uploaded to any server.

Best tool for local danmaku playback?

It converts the proprietary XML danmaku format used by Bilibili into the universal ASS (Advanced Substation Alpha) format, allowing you to enjoy 'scrolling comments' in professional local players like IINA, VLC, or MPV. Most professional local players cannot render XML directly. ASS is a powerful subtitle format that.

Typical workflow

Danmaku(XML) to ASS ConverterWebVTT to SRT Converter

Guides for this workflow

Supporting guides that connect this tool to the broader category workflow.

Open category hub

What is

What is Danmaku(XML) to ASS Converter?

Danmaku2ASS is an essential tool for anime fans and video enthusiasts. It converts the proprietary XML danmaku format used by Bilibili into the universal ASS (Advanced Substation Alpha) format, allowing you to enjoy 'scrolling comments' in professional local players like IINA, VLC, or MPV.

How to use

How to use Danmaku(XML) to ASS Converter

Simply paste your XML content or upload the .xml file. Adjust settings such as 'Font Size' or 'Duration' to match your video resolution, then click 'Convert'. The tool uses a specialized track-based algorithm to ensure danmaku don't overlap, creating a clean viewing experience.

Example

Example

Input (XML):
<d p="12.5,1,25,16777215,... ">Hello World</d>

Output (ASS):
Dialogue: 0,00:00:12.50,00:00:20.50,Default,,{\move(1920,50,-500,50)}Hello World

Common use cases

Common use cases

1. Watching downloaded Bilibili videos on macOS with native players like IINA.

2. Converting large danmaku files (50k+ entries) without server-side lag.

3. Customizing danmaku transparency and size for better readability on 4K displays.

4. Archiving live stream comments into permanent, searchable subtitle files.

Frequently asked questions

Frequently asked questions

Why use ASS instead of XML?v
Most professional local players cannot render XML directly. ASS is a powerful subtitle format that supports the precise positioning and motion needed for scrolling danmaku.
How does collision avoidance work?v
The tool assigns each danmaku to a specific 'track' (vertical lane). It calculates the speed and length of each string to ensure new comments don't catch up to or overlap with previous ones.
Is my data safe?v
Yes. This tool runs entirely in your browser using TypeScript. Your XML files are never uploaded to any server.