<html>
    <head>
      <base href="https://bugzilla.libav.org/" />
    </head>
    <body><table border="1" cellspacing="0" cellpadding="8">
        <tr>
          <th>Bug ID</th>
          <td><a class="bz_bug_link 
          bz_status_NEW "
   title="NEW - Error in subtitle burn-in using subtitles=name.srt"
   href="https://bugzilla.libav.org/show_bug.cgi?id=1160">1160</a>
          </td>
        </tr>

        <tr>
          <th>Summary</th>
          <td>Error in subtitle burn-in using subtitles=name.srt
          </td>
        </tr>

        <tr>
          <th>Product</th>
          <td>Libav
          </td>
        </tr>

        <tr>
          <th>Version</th>
          <td>git HEAD
          </td>
        </tr>

        <tr>
          <th>Hardware</th>
          <td>All
          </td>
        </tr>

        <tr>
          <th>OS</th>
          <td>Linux
          </td>
        </tr>

        <tr>
          <th>Status</th>
          <td>NEW
          </td>
        </tr>

        <tr>
          <th>Severity</th>
          <td>critical
          </td>
        </tr>

        <tr>
          <th>Priority</th>
          <td>---
          </td>
        </tr>

        <tr>
          <th>Component</th>
          <td>general
          </td>
        </tr>

        <tr>
          <th>Assignee</th>
          <td>bugzilla@libav.org
          </td>
        </tr>

        <tr>
          <th>Reporter</th>
          <td>daniel.grip@undertext.se
          </td>
        </tr></table>
      <p>
        <div>
        <pre>Created <span class=""><a href="attachment.cgi?id=743" name="attach_743" title="End result hardcoding subs">attachment 743</a> <a href="attachment.cgi?id=743&action=edit" title="End result hardcoding subs">[details]</a></span>
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</pre>
        </div>
      </p>
      <hr>
      <span>You are receiving this mail because:</span>
      
      <ul>
          <li>You are watching all bug changes.</li>
      </ul>
    </body>
</html>