fukoy
V2EX  ›  FFmpeg

ffmpeg 添加 ass 字幕 边框很粗

  •  
  •   fukoy · Apr 9, 2021 · 3076 views
    This topic created in 1873 days ago, the information mentioned may be changed or developed.

    ffmpeg 添加 ass 字幕 边框很粗 请问有什么办法解决

    ( ffmpeg 添加字幕的效果) https://ftp.bmp.ovh/imgs/2021/04/7df2aafa01ef748c.png

    (视频外挂字幕的效果) https://i.bmp.ovh/imgs/2021/04/699b275055b3b19b.png

    代码:ffmpeg -i 01.mkv -vf subtitles=01.ass 01_out.mkv

    5 replies    2021-04-09 09:55:47 +08:00
    JustinMsc
        1
    JustinMsc  
       Apr 9, 2021
    ffmpeg 是支持 ASS 字幕特效的啊,先用字幕编辑器设置好再添加字幕进去啊.
    mclxly
        2
    mclxly  
       Apr 9, 2021
    可以设置边框厚度 Outline
    icreeper
        3
    icreeper  
       Apr 9, 2021 via iPhone
    试试-vf “ass=subtitle.ass”?
    icreeper
        4
    icreeper  
       Apr 9, 2021 via iPhone
    不好意思看错了😂用的命令是一样的,那就不清楚了,可能是字母本身的问题吧,可以用 aegisub 看一下
    doyel
        5
    doyel  
       Apr 9, 2021
    @icreeper 需要额外编译 libass 进去才能用
    About   ·   Help   ·   Advertise   ·   Blog   ·   API   ·   FAQ   ·   Solana   ·   5777 Online   Highest 6679   ·     Select Language
    创意工作者们的社区
    World is powered by solitude
    VERSION: 466ea39e · 82ms · UTC 06:21 · PVG 14:21 · LAX 23:21 · JFK 02:21
    ♥ Do have faith in what you're doing.