[FFmpeg-user] Certain language fonts doesn't appear correct when trying to hardcode subtitle into video
prem pattnaik
premingiet at gmail.com
Mon May 18 10:54:25 EEST 2020
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
และไม่มีคำสัญญาที่คงอยู่เนิ่นนาน
-------------- next part --------------
A non-text attachment was scrubbed...
Name: dolo_wrong.jpg
Type: image/jpeg
Size: 103452 bytes
Desc: not available
URL: <https://ffmpeg.org/pipermail/ffmpeg-user/attachments/20200518/a8e14cd8/attachment.jpg>
-------------- next part --------------
A non-text attachment was scrubbed...
Name: dolo_correct.png
Type: image/png
Size: 597882 bytes
Desc: not available
URL: <https://ffmpeg.org/pipermail/ffmpeg-user/attachments/20200518/a8e14cd8/attachment.png>
-------------- next part --------------
A non-text attachment was scrubbed...
Name: RAMSIDA.ass
Type: application/octet-stream
Size: 3091 bytes
Desc: not available
URL: <https://ffmpeg.org/pipermail/ffmpeg-user/attachments/20200518/a8e14cd8/attachment.obj>
-------------- next part --------------
A non-text attachment was scrubbed...
Name: RAMSIDA.srt
Type: application/x-subrip
Size: 2246 bytes
Desc: not available
URL: <https://ffmpeg.org/pipermail/ffmpeg-user/attachments/20200518/a8e14cd8/attachment.bin>
More information about the ffmpeg-user
mailing list