<?xml version="1.0" encoding="utf-8" standalone="yes"?>
<rss version="2.0" xmlns:atom="http://www.w3.org/2005/Atom">
  <channel>
    <title>Lua on Ito Archives</title>
    <link>https://itoschum.me/tags/lua/</link>
    <description>Recent content in Lua on Ito Archives</description>
    <generator>Hugo</generator>
    <language>en-us</language>
    <lastBuildDate>Mon, 09 Feb 2026 22:42:00 -0500</lastBuildDate>
    <atom:link href="https://itoschum.me/tags/lua/index.xml" rel="self" type="application/rss+xml" />
    <item>
      <title>Bilibili Danmaku Integration for mpv on macOS</title>
      <link>https://itoschum.me/logs/log_17/</link>
      <pubDate>Mon, 09 Feb 2026 22:42:00 -0500</pubDate>
      <guid>https://itoschum.me/logs/log_17/</guid>
      <description>&lt;h2 id=&#34;introduction&#34;&gt;Introduction&lt;/h2&gt;&#xA;&lt;p&gt;Bilibili provides Danmaku in an XML format that mpv cannot natively render. Furthermore, Bilibili&amp;rsquo;s AI subtitles often use non-standard language tags (like ai-zh), which can lead to &amp;ldquo;null&amp;rdquo; tracks or rendering errors in older mpv kernels (like the one used in IINA).&lt;/p&gt;&#xA;&lt;p&gt;Thankfully, &lt;code&gt;yt-dlp&lt;/code&gt; allows us to extract and download these Danmaku and AI subtitles; &lt;code&gt;danmaku2ass&lt;/code&gt;(deveoped by &lt;a href=&#34;https://github.com/m13253&#34;&gt;@m13253&lt;/a&gt;) provides a brilliant solution to convert XML files to ASS subtitles.&lt;/p&gt;</description>
    </item>
  </channel>
</rss>
