https://bugs.kde.org/show_bug.cgi?id=502725

--- Comment #4 from balooii <balo...@proton.me> ---
Kdenlive is using ffmpeg subtitles filter for this AFAIK. So I tried to
reproduce it via ffmpeg command line.

Create a minimal subtitle file `arabic_sub.srt` with the following content:

```
1
00:00:00,000 --> 00:00:05,000
الأسد
```

Then use a random sample video file and burn in these subs via ffmpeg subtitles
filter.

The following command gives me the same result (square box visible) as when
rendering via Kdenlive/MLT.

ffmpeg -i sample_video.mp4 -vf
subtitles=arabic_sub.srt:force_style='FontName=Arial' burned_in_subs.mp4

When using `Noto Sans Arabic` instead it works (same as it does in Kdenlive)

ffmpeg -i sample_video.mp4 -vf
subtitles=arabic_sub.srt:force_style='FontName=Noto Sans Arabic'
burned_in_subs.mp4

I don't know Arabic nor do I have these other Arabic fonts you mentioned. I'm
not really sure if this is a bug or just expected in case the specified font
does not support whatever feature is needed to correctly display these
characters. So maybe you can try some other Applications how they behave using
different fonts and compare it to what Kdenlive or ffmpeg outputs?

-- 
You are receiving this mail because:
You are watching all bug changes.

Reply via email to