Certain language fonts doesn't appear correct when trying to hardcode subtitle into video

classic Classic list List threaded Threaded
1 message Options
Reply | Threaded
Open this post in threaded view
|

Certain language fonts doesn't appear correct when trying to hardcode subtitle into video

prem pattnaik
I am using this ffmpeg command

ffmpeg -y -i RAMSIDA.mp4 -ss 34 -vf "subtitles=RAMSIDA.ass" -pix_fmt
yuvj422p -vframes 1 -f mjpeg dolo.jpg

but these thai characters dont render correctly. The 2nd level thai
character tone is getting hidden behind the main character, instead it
should be on top of that character. I have attached 2 images and .ass
and also .srt subtitle file.

One image shows how its wrongly rendered in ffmpeg and other image
shows correct way of rendering. Please help

This image is from the below subtitle line

00:00:29,767 --> 00:00:36,028
และไม่มีคำสัญญาที่คงอยู่เนิ่นนาน

_______________________________________________
ffmpeg-user mailing list
[hidden email]
https://ffmpeg.org/mailman/listinfo/ffmpeg-user

To unsubscribe, visit link above, or email
[hidden email] with subject "unsubscribe".

dolo_wrong.jpg (138K) Download Attachment
dolo_correct.png (798K) Download Attachment
RAMSIDA.ass (4K) Download Attachment
RAMSIDA.srt (3K) Download Attachment