[libav-bugs] [Bug 1160] New: Error in subtitle burn-in using subtitles=name.srt

bugzilla at libav.org bugzilla at libav.org
Fri Jun 28 09:57:35 CEST 2019


https://bugzilla.libav.org/show_bug.cgi?id=1160

            Bug ID: 1160
           Summary: Error in subtitle burn-in using subtitles=name.srt
           Product: Libav
           Version: git HEAD
          Hardware: All
                OS: Linux
            Status: NEW
          Severity: critical
          Priority: ---
         Component: general
          Assignee: bugzilla at libav.org
          Reporter: daniel.grip at undertext.se

Created attachment 743
  --> https://bugzilla.libav.org/attachment.cgi?id=743&action=edit
End result hardcoding subs

I recently found a possible bug in the "subtitles=" filter.

When using the subtitles= filter to hardcode a subtitle file (.srt) in some
Indian languages (Hindi and Bengali) some characters in the hardcoded result is
changing places. This makes the end result look weird and in some form
un-readable.
If I use the same .srt as a softsub in VLC everything is correct.

Tried:

- Force character encoding
- Different fonts

If I convert the .srt to .ass and use the "ass=" filter instead, the hardcoded
end result is correct, but with ass= I cannot use "force_style" for positioning
and styling.

ffmpeg -i input.mp4 -vf"subtitles=sub.srt:force_style='MarginV=24'" -c:v
libx264 -preset fast -crf 23 -c:a aac -b:a 320k -y output.mp4

-- 
You are receiving this mail because:
You are watching all bug changes.
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.libav.org/pipermail/libav-bugs/attachments/20190628/4fefb73f/attachment.html>


More information about the libav-bugs mailing list