ekisu / mpv-webm

Simple WebM maker for mpv, with no external dependencies.
MIT License
554 stars 32 forks source link

There are no subtitles in the generated GIF #172

Open dubhater opened 1 year ago

dubhater commented 1 year ago

mpv version and platform

Arch Linux x86_64

mpv 0.35.1-dirty Copyright © 2000-2023 mpv/MPlayer/mplayer2 projects
 built on Fri Apr 21 07:11:25 2023
FFmpeg library versions:
   libavutil       58.2.100
   libavcodec      60.3.100
   libavformat     60.3.100
   libswscale      7.1.100
   libavfilter     9.3.100
   libswresample   4.10.100
FFmpeg version: n6.0

Description

I created a GIF from a portion of an MKV which has SRT subtitles, but the subtitles don't show up in the GIF. I thought it's supposed to burn in the subtitles. The preview shows them.

I temporarily got rid of ~/.mpv/config in case one of the options in it caused the problem, but the subtitles still didn't show up in the GIF.

I also tried to remove --sub-ass-override=yes --sub-ass-vsfilter-aspect-compat=yes --sub-auto=exact --sub-pos=100 --sub-delay=0.000000 from the encoding command. It didn't help.

Log file

log.txt